@atomixdesign/nodepay-paystream
Version:
Nodepay strategy for the Paystream payment gateway.
33 lines (32 loc) • 1.25 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PaystreamCustomerDetails = exports.PaystreamAddress = void 0;
var PaystreamAddress = /** @class */ (function () {
function PaystreamAddress(address, city, state, postcode, country) {
this.address = address;
this.city = city;
this.state = state;
this.postcode = postcode;
this.country = country;
}
return PaystreamAddress;
}());
exports.PaystreamAddress = PaystreamAddress;
var PaystreamCustomerDetails = /** @class */ (function () {
function PaystreamCustomerDetails(firstName, lastName, reference, emailAddress, address1, city, state, postCode, country, ipAddress, customerId, address2) {
this.firstName = firstName;
this.lastName = lastName;
this.reference = reference;
this.emailAddress = emailAddress;
this.address1 = address1;
this.city = city;
this.state = state;
this.postCode = postCode;
this.country = country;
this.ipAddress = ipAddress;
this.customerId = customerId;
this.address2 = address2;
}
return PaystreamCustomerDetails;
}());
exports.PaystreamCustomerDetails = PaystreamCustomerDetails;