@paddle/paddle-node-sdk
Version:
A Node.js SDK that you can use to integrate Paddle Billing with applications written in server-side JavaScript.
25 lines (24 loc) • 779 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PaymentMethodDeletedNotification = void 0;
class PaymentMethodDeletedNotification {
id;
customerId;
addressId;
deletionReason;
type;
origin;
savedAt;
updatedAt;
constructor(paymentMethod) {
this.id = paymentMethod.id;
this.customerId = paymentMethod.customer_id;
this.addressId = paymentMethod.address_id;
this.deletionReason = paymentMethod.deletion_reason;
this.type = paymentMethod.type;
this.origin = paymentMethod.origin;
this.savedAt = paymentMethod.saved_at;
this.updatedAt = paymentMethod.updated_at;
}
}
exports.PaymentMethodDeletedNotification = PaymentMethodDeletedNotification;