Package software.xdev.brevo.model
Class OrderBilling
java.lang.Object
software.xdev.brevo.model.OrderBilling
Billing details of an order.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncountryCode(String countryCode) booleanFull billing address.getCity()Exact city of the address.Billing country name.Billing country 2-letter ISO code.How the visitor will pay for the item(s), e.g. paypal, check, etc.getPhone()Billing phone number.Postcode for delivery and billing.Exact region (state/province) for delivery and billing.inthashCode()paymentMethod(String paymentMethod) voidsetAddress(String address) voidvoidsetCountry(String country) voidsetCountryCode(String countryCode) voidsetPaymentMethod(String paymentMethod) voidvoidsetPostCode(String postCode) voidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_ADDRESS
- See Also:
-
JSON_PROPERTY_CITY
- See Also:
-
JSON_PROPERTY_COUNTRY_CODE
- See Also:
-
JSON_PROPERTY_COUNTRY
- See Also:
-
JSON_PROPERTY_PHONE
- See Also:
-
JSON_PROPERTY_POST_CODE
- See Also:
-
JSON_PROPERTY_PAYMENT_METHOD
- See Also:
-
JSON_PROPERTY_REGION
- See Also:
-
-
Constructor Details
-
OrderBilling
public OrderBilling()
-
-
Method Details
-
address
-
getAddress
Full billing address.- Returns:
- address
-
setAddress
-
city
-
getCity
Exact city of the address.- Returns:
- city
-
setCity
-
countryCode
-
getCountryCode
Billing country 2-letter ISO code.- Returns:
- countryCode
-
setCountryCode
-
country
-
getCountry
Billing country name.- Returns:
- country
-
setCountry
-
phone
-
getPhone
Billing phone number.- Returns:
- phone
-
setPhone
-
postCode
-
getPostCode
Postcode for delivery and billing.- Returns:
- postCode
-
setPostCode
-
paymentMethod
-
getPaymentMethod
How the visitor will pay for the item(s), e.g. paypal, check, etc.- Returns:
- paymentMethod
-
setPaymentMethod
-
region
-
getRegion
Exact region (state/province) for delivery and billing.- Returns:
- region
-
setRegion
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-