public class ShippingAddress extends Object
| Constructor and Description |
|---|
ShippingAddress() |
| Modifier and Type | Method and Description |
|---|---|
ShippingAddress |
addrLine1(String addrLine1) |
ShippingAddress |
addrLine2(String addrLine2) |
ShippingAddress |
city(String city) |
ShippingAddress |
country(String country) |
ShippingAddress |
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) |
ShippingAddress |
state(String state) |
String |
toString() |
ShippingAddress |
zip(String zip) |
public void setAddrLine1(String addrLine1)
public ShippingAddress addrLine1(String addrLine1)
addrLine1 - First line of the street address or equivalent local portion of the Cardholder shipping address associated with the card used for this purchase. Can include street and house number. *Length: 0 - 50*public void setAddrLine2(String addrLine2)
public ShippingAddress addrLine2(String addrLine2)
addrLine2 - Second line of the street address or equivalent local portion of the Cardholder shipping address associated with the card used for this purchase. *Length: 0 - 50*public void setCity(String city)
public ShippingAddress city(String city)
city - Delivery city. May include whitespaces, hyphens, apostrophes, commas and dotspublic void setCountry(String country)
public ShippingAddress country(String country)
country - [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) code of delivery country: 2 or 3 latin letters or numeric code. Required for BANKCARD payment method if 'shipping_address' is presented.public void setPhone(String phone)
public ShippingAddress phone(String phone)
phone - Valid customer phone numberpublic void setState(String state)
public ShippingAddress state(String state)
state - The state or province of the shipping address associated with the card being used for this purchase. It's recommended to send in following format: the country subdivision code defined in [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). May include whitespaces, hyphens, apostrophes, commas and dots.public void setZip(String zip)
public ShippingAddress zip(String zip)
zip - Delivery postal code. For BANKCARD payment method max length: 12 Mandatory for BOLETO and LOTERICA payment methods only.Copyright © 2024. All rights reserved.