Package com.adyen.model.checkout
Class ResponseAdditionalDataBillingAddress
- java.lang.Object
-
- com.adyen.model.checkout.ResponseAdditionalDataBillingAddress
-
public class ResponseAdditionalDataBillingAddress extends Object
ResponseAdditionalDataBillingAddress
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BILLING_ADDRESS_CITYstatic StringJSON_PROPERTY_BILLING_ADDRESS_COUNTRYstatic StringJSON_PROPERTY_BILLING_ADDRESS_HOUSE_NUMBER_OR_NAMEstatic StringJSON_PROPERTY_BILLING_ADDRESS_POSTAL_CODEstatic StringJSON_PROPERTY_BILLING_ADDRESS_STATE_OR_PROVINCEstatic StringJSON_PROPERTY_BILLING_ADDRESS_STREET
-
Constructor Summary
Constructors Constructor Description ResponseAdditionalDataBillingAddress()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseAdditionalDataBillingAddressbillingAddressCity(String billingAddressCity)ResponseAdditionalDataBillingAddressbillingAddressCountry(String billingAddressCountry)ResponseAdditionalDataBillingAddressbillingAddressHouseNumberOrName(String billingAddressHouseNumberOrName)ResponseAdditionalDataBillingAddressbillingAddressPostalCode(String billingAddressPostalCode)ResponseAdditionalDataBillingAddressbillingAddressStateOrProvince(String billingAddressStateOrProvince)ResponseAdditionalDataBillingAddressbillingAddressStreet(String billingAddressStreet)booleanequals(Object o)Return true if this ResponseAdditionalDataBillingAddress object is equal to o.static ResponseAdditionalDataBillingAddressfromJson(String jsonString)Create an instance of ResponseAdditionalDataBillingAddress given an JSON stringStringgetBillingAddressCity()The billing address city passed in the payment request.StringgetBillingAddressCountry()The billing address country passed in the payment request.StringgetBillingAddressHouseNumberOrName()The billing address house number or name passed in the payment request.StringgetBillingAddressPostalCode()The billing address postal code passed in the payment request.StringgetBillingAddressStateOrProvince()The billing address state or province passed in the payment request.StringgetBillingAddressStreet()The billing address street passed in the payment request.inthashCode()voidsetBillingAddressCity(String billingAddressCity)The billing address city passed in the payment request.voidsetBillingAddressCountry(String billingAddressCountry)The billing address country passed in the payment request.voidsetBillingAddressHouseNumberOrName(String billingAddressHouseNumberOrName)The billing address house number or name passed in the payment request.voidsetBillingAddressPostalCode(String billingAddressPostalCode)The billing address postal code passed in the payment request.voidsetBillingAddressStateOrProvince(String billingAddressStateOrProvince)The billing address state or province passed in the payment request.voidsetBillingAddressStreet(String billingAddressStreet)The billing address street passed in the payment request.StringtoJson()Convert an instance of ResponseAdditionalDataBillingAddress to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_BILLING_ADDRESS_CITY
public static final String JSON_PROPERTY_BILLING_ADDRESS_CITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BILLING_ADDRESS_COUNTRY
public static final String JSON_PROPERTY_BILLING_ADDRESS_COUNTRY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BILLING_ADDRESS_HOUSE_NUMBER_OR_NAME
public static final String JSON_PROPERTY_BILLING_ADDRESS_HOUSE_NUMBER_OR_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BILLING_ADDRESS_POSTAL_CODE
public static final String JSON_PROPERTY_BILLING_ADDRESS_POSTAL_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BILLING_ADDRESS_STATE_OR_PROVINCE
public static final String JSON_PROPERTY_BILLING_ADDRESS_STATE_OR_PROVINCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BILLING_ADDRESS_STREET
public static final String JSON_PROPERTY_BILLING_ADDRESS_STREET
- See Also:
- Constant Field Values
-
-
Method Detail
-
billingAddressCity
public ResponseAdditionalDataBillingAddress billingAddressCity(String billingAddressCity)
-
getBillingAddressCity
public String getBillingAddressCity()
The billing address city passed in the payment request.- Returns:
- billingAddressCity
-
setBillingAddressCity
public void setBillingAddressCity(String billingAddressCity)
The billing address city passed in the payment request.- Parameters:
billingAddressCity-
-
billingAddressCountry
public ResponseAdditionalDataBillingAddress billingAddressCountry(String billingAddressCountry)
-
getBillingAddressCountry
public String getBillingAddressCountry()
The billing address country passed in the payment request. Example: NL- Returns:
- billingAddressCountry
-
setBillingAddressCountry
public void setBillingAddressCountry(String billingAddressCountry)
The billing address country passed in the payment request. Example: NL- Parameters:
billingAddressCountry-
-
billingAddressHouseNumberOrName
public ResponseAdditionalDataBillingAddress billingAddressHouseNumberOrName(String billingAddressHouseNumberOrName)
-
getBillingAddressHouseNumberOrName
public String getBillingAddressHouseNumberOrName()
The billing address house number or name passed in the payment request.- Returns:
- billingAddressHouseNumberOrName
-
setBillingAddressHouseNumberOrName
public void setBillingAddressHouseNumberOrName(String billingAddressHouseNumberOrName)
The billing address house number or name passed in the payment request.- Parameters:
billingAddressHouseNumberOrName-
-
billingAddressPostalCode
public ResponseAdditionalDataBillingAddress billingAddressPostalCode(String billingAddressPostalCode)
-
getBillingAddressPostalCode
public String getBillingAddressPostalCode()
The billing address postal code passed in the payment request. Example: 1011 DJ- Returns:
- billingAddressPostalCode
-
setBillingAddressPostalCode
public void setBillingAddressPostalCode(String billingAddressPostalCode)
The billing address postal code passed in the payment request. Example: 1011 DJ- Parameters:
billingAddressPostalCode-
-
billingAddressStateOrProvince
public ResponseAdditionalDataBillingAddress billingAddressStateOrProvince(String billingAddressStateOrProvince)
-
getBillingAddressStateOrProvince
public String getBillingAddressStateOrProvince()
The billing address state or province passed in the payment request. Example: NH- Returns:
- billingAddressStateOrProvince
-
setBillingAddressStateOrProvince
public void setBillingAddressStateOrProvince(String billingAddressStateOrProvince)
The billing address state or province passed in the payment request. Example: NH- Parameters:
billingAddressStateOrProvince-
-
billingAddressStreet
public ResponseAdditionalDataBillingAddress billingAddressStreet(String billingAddressStreet)
-
getBillingAddressStreet
public String getBillingAddressStreet()
The billing address street passed in the payment request.- Returns:
- billingAddressStreet
-
setBillingAddressStreet
public void setBillingAddressStreet(String billingAddressStreet)
The billing address street passed in the payment request.- Parameters:
billingAddressStreet-
-
equals
public boolean equals(Object o)
Return true if this ResponseAdditionalDataBillingAddress object is equal to o.
-
fromJson
public static ResponseAdditionalDataBillingAddress fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of ResponseAdditionalDataBillingAddress given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ResponseAdditionalDataBillingAddress
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to ResponseAdditionalDataBillingAddress
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of ResponseAdditionalDataBillingAddress to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-