cybersource-api
Version:
Module for connect with CyberSource by soap methods.
25 lines (24 loc) • 596 B
JavaScript
module.exports = class BillTo {
constructor(firstName,lastName,street1,city,state,postalCode,country,email){
this.firstName = firstName;
this.lastName = lastName;
this.street1 = street1;
this.city = city;
this.state = state;
this.postalCode = postalCode;
this.country = country;
this.email = email;
}
getJSON(){
return {
firstName:this.firstName,
lastName:this.lastName,
street1:this.street1,
city:this.city,
state:this.state,
postalCode:this.postalCode,
country:this.country,
email:this.email
}
}
}