UNPKG

@paddle/paddle-node-sdk

Version:

A Node.js SDK that you can use to integrate Paddle Billing with applications written in server-side JavaScript.

15 lines (14 loc) 617 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.NotificationLog = void 0; class NotificationLog { constructor(notificationLogResponse) { var _a; this.id = notificationLogResponse.id; this.responseCode = notificationLogResponse.response_code; this.responseContentType = (_a = notificationLogResponse.response_content_type) !== null && _a !== void 0 ? _a : null; this.responseBody = notificationLogResponse.response_body; this.attemptedAt = notificationLogResponse.attempted_at; } } exports.NotificationLog = NotificationLog;