public class BillingAddress extends Object
| Constructor and Description |
|---|
BillingAddress() |
| Modifier and Type | Method and Description |
|---|---|
BillingAddress |
addrLine1(String addrLine1) |
BillingAddress |
addrLine2(String addrLine2) |
BillingAddress |
city(String city) |
BillingAddress |
country(String country) |
BillingAddress |
phone(String phone) |
void |
setAddrLine1(String addrLine1) |
void |
setAddrLine2(String addrLine2) |
void |
setCity(String city) |
void |
setCountry(String country) |
void |
setPhone(String phone) |
void |
setState(String state) |
void |
setZip(String zip) |
BillingAddress |
state(String state) |
String |
toString() |
BillingAddress |
zip(String zip) |
public void setAddrLine1(String addrLine1)
public BillingAddress addrLine1(String addrLine1)
addrLine1 - First line of the street address or equivalent local portion of the Cardholder billing address associated with the card used for this purchase.public void setAddrLine2(String addrLine2)
public BillingAddress addrLine2(String addrLine2)
addrLine2 - Second line of the street address or equivalent local portion of the Cardholder billing address associated with the card used for this purchase.public void setCity(String city)
public BillingAddress city(String city)
city - Billing city. May include whitespaces, hyphens, apostrophes, commas and dotspublic void setCountry(String country)
public BillingAddress country(String country)
country - [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) code of billing country: 2 or 3 latin letters or numeric codepublic void setPhone(String phone)
public BillingAddress phone(String phone)
phone - Valid Customer phone numberpublic void setState(String state)
public BillingAddress state(String state)
state - Billing state or province. May include whitespaces, hyphens, apostrophes, commas and dotspublic void setZip(String zip)
public BillingAddress zip(String zip)
zip - Billing postal codeCopyright © 2019. All rights reserved.