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) 503 B
export class NotificationLog { id; responseCode; responseContentType; responseBody; attemptedAt; constructor(notificationLogResponse) { this.id = notificationLogResponse.id; this.responseCode = notificationLogResponse.response_code; this.responseContentType = notificationLogResponse.response_content_type ?? null; this.responseBody = notificationLogResponse.response_body; this.attemptedAt = notificationLogResponse.attempted_at; } }