Package software.xdev.brevo.model
Class MainBillingPayload
java.lang.Object
software.xdev.brevo.model.MainBillingPayload
MainBillingPayload
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncountryCode(String countryCode) booleanAddress of the usergetCity()City of the userCountry code of the userPayment method opted by the usergetPhone()Phone number of the userPostal Code of user's locationRegion where user residesinthashCode()paymentMethod(String paymentMethod) voidsetAddress(String address) voidvoidsetCountryCode(String countryCode) voidsetPaymentMethod(String paymentMethod) voidvoidsetPostCode(Long 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_PAYMENT_METHOD
- See Also:
-
JSON_PROPERTY_PHONE
- See Also:
-
JSON_PROPERTY_POST_CODE
- See Also:
-
JSON_PROPERTY_REGION
- See Also:
-
-
Constructor Details
-
MainBillingPayload
public MainBillingPayload()
-
-
Method Details
-
address
-
getAddress
Address of the user- Returns:
- address
-
setAddress
-
city
-
getCity
City of the user- Returns:
- city
-
setCity
-
countryCode
-
getCountryCode
Country code of the user- Returns:
- countryCode
-
setCountryCode
-
paymentMethod
-
getPaymentMethod
Payment method opted by the user- Returns:
- paymentMethod
-
setPaymentMethod
-
phone
-
getPhone
Phone number of the user- Returns:
- phone
-
setPhone
-
postCode
-
getPostCode
Postal Code of user's location- Returns:
- postCode
-
setPostCode
-
region
-
getRegion
Region where user resides- 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
-