@atomixdesign/nodepay-pay-way
Version:
Nodepay strategy for the WestPac PayWay payment gateway.
42 lines (41 loc) • 1.7 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PaywayCustomer = exports.PaywayAddress = void 0;
var PaywayAddress = /** @class */ (function () {
function PaywayAddress(firstName, lastName, phoneNumber, emailAddress, address1, address2, postCode, region, country, city, sendEmailReceipts) {
this.firstName = firstName;
this.lastName = lastName;
this.phoneNumber = phoneNumber;
this.emailAddress = emailAddress;
this.address1 = address1;
this.address2 = address2;
this.postCode = postCode;
this.region = region;
this.country = country;
this.city = city;
this.sendEmailReceipts = sendEmailReceipts;
}
return PaywayAddress;
}());
exports.PaywayAddress = PaywayAddress;
var PaywayCustomer = /** @class */ (function () {
function PaywayCustomer(customerId, singleUseTokenId, merchantId, bankAccountId, firstName, lastName, phoneNumber, emailAddress, address1, address2, postCode, region, country, city, sendEmailReceipts) {
this.customerId = customerId;
this.singleUseTokenId = singleUseTokenId;
this.merchantId = merchantId;
this.bankAccountId = bankAccountId;
this.firstName = firstName;
this.lastName = lastName;
this.phoneNumber = phoneNumber;
this.emailAddress = emailAddress;
this.address1 = address1;
this.address2 = address2;
this.postCode = postCode;
this.region = region;
this.country = country;
this.city = city;
this.sendEmailReceipts = sendEmailReceipts;
}
return PaywayCustomer;
}());
exports.PaywayCustomer = PaywayCustomer;