Class Address
- java.lang.Object
-
- com.orbipay.paymentsapi.client.wrappers.Address
-
public class Address extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Address
fromJson(java.lang.String json)
java.lang.String
getAddressCity()
City of the address.java.lang.String
getAddressCountry()
The 3 letter country code as per ISO 3166-1 (alpha-3).java.lang.String
getAddressLine1()
Line one of the address.java.lang.String
getAddressLine2()
Line two of the address.java.lang.String
getAddressState()
The state or province code as per ISO_3166-2.java.lang.String
getAddressZip1()
The first part of the postal code for the address as per the system followed in the appropriate country where it belongs.java.lang.String
getAddressZip2()
The 4 digit add-on code used, in addition to the 5 digit postal code, by the US Postal Service.java.lang.String
toJson()
-
-
-
Method Detail
-
getAddressLine1
public java.lang.String getAddressLine1()
Line one of the address.- Returns:
- addressLine1
-
getAddressLine2
public java.lang.String getAddressLine2()
Line two of the address.- Returns:
- addressLine2
-
getAddressCity
public java.lang.String getAddressCity()
City of the address.- Returns:
- addressCity
-
getAddressState
public java.lang.String getAddressState()
The state or province code as per ISO_3166-2.- Returns:
- addressState
-
getAddressCountry
public java.lang.String getAddressCountry()
The 3 letter country code as per ISO 3166-1 (alpha-3).- Returns:
- addressCountry
-
getAddressZip1
public java.lang.String getAddressZip1()
The first part of the postal code for the address as per the system followed in the appropriate country where it belongs.- Returns:
- addressZip1
-
getAddressZip2
public java.lang.String getAddressZip2()
The 4 digit add-on code used, in addition to the 5 digit postal code, by the US Postal Service.- Returns:
- addressZip2
-
fromJson
public static Address fromJson(java.lang.String json) throws OrbipayApiException
- Throws:
OrbipayApiException
-
toJson
public java.lang.String toJson() throws OrbipayApiException
- Throws:
OrbipayApiException
-
-