Package com.adyen.model.payout
Class ResponseAdditionalDataBillingAddress
- java.lang.Object
-
- com.adyen.model.payout.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)The billing address city passed in the payment request.ResponseAdditionalDataBillingAddressbillingAddressCountry(String billingAddressCountry)The billing address country passed in the payment request.ResponseAdditionalDataBillingAddressbillingAddressHouseNumberOrName(String billingAddressHouseNumberOrName)The billing address house number or name passed in the payment request.ResponseAdditionalDataBillingAddressbillingAddressPostalCode(String billingAddressPostalCode)The billing address postal code passed in the payment request.ResponseAdditionalDataBillingAddressbillingAddressStateOrProvince(String billingAddressStateOrProvince)The billing address state or province passed in the payment request.ResponseAdditionalDataBillingAddressbillingAddressStreet(String billingAddressStreet)The billing address street passed in the payment request.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.Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.inthashCode()ResponseAdditionalDataBillingAddressincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.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.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.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)
The billing address city passed in the payment request.- Parameters:
billingAddressCity- The billing address city passed in the payment request.- Returns:
- the current
ResponseAdditionalDataBillingAddressinstance, allowing for method chaining
-
getBillingAddressCity
public String getBillingAddressCity()
The billing address city passed in the payment request.- Returns:
- billingAddressCity The billing address city passed in the payment request.
-
setBillingAddressCity
public void setBillingAddressCity(String billingAddressCity)
The billing address city passed in the payment request.- Parameters:
billingAddressCity- The billing address city passed in the payment request.
-
billingAddressCountry
public ResponseAdditionalDataBillingAddress billingAddressCountry(String billingAddressCountry)
The billing address country passed in the payment request. Example: NL- Parameters:
billingAddressCountry- The billing address country passed in the payment request. Example: NL- Returns:
- the current
ResponseAdditionalDataBillingAddressinstance, allowing for method chaining
-
getBillingAddressCountry
public String getBillingAddressCountry()
The billing address country passed in the payment request. Example: NL- Returns:
- billingAddressCountry The billing address country passed in the payment request. Example: NL
-
setBillingAddressCountry
public void setBillingAddressCountry(String billingAddressCountry)
The billing address country passed in the payment request. Example: NL- Parameters:
billingAddressCountry- The billing address country passed in the payment request. Example: NL
-
billingAddressHouseNumberOrName
public ResponseAdditionalDataBillingAddress billingAddressHouseNumberOrName(String billingAddressHouseNumberOrName)
The billing address house number or name passed in the payment request.- Parameters:
billingAddressHouseNumberOrName- The billing address house number or name passed in the payment request.- Returns:
- the current
ResponseAdditionalDataBillingAddressinstance, allowing for method chaining
-
getBillingAddressHouseNumberOrName
public String getBillingAddressHouseNumberOrName()
The billing address house number or name passed in the payment request.- Returns:
- billingAddressHouseNumberOrName The billing address house number or name passed in the payment request.
-
setBillingAddressHouseNumberOrName
public void setBillingAddressHouseNumberOrName(String billingAddressHouseNumberOrName)
The billing address house number or name passed in the payment request.- Parameters:
billingAddressHouseNumberOrName- The billing address house number or name passed in the payment request.
-
billingAddressPostalCode
public ResponseAdditionalDataBillingAddress billingAddressPostalCode(String billingAddressPostalCode)
The billing address postal code passed in the payment request. Example: 1011 DJ- Parameters:
billingAddressPostalCode- The billing address postal code passed in the payment request. Example: 1011 DJ- Returns:
- the current
ResponseAdditionalDataBillingAddressinstance, allowing for method chaining
-
getBillingAddressPostalCode
public String getBillingAddressPostalCode()
The billing address postal code passed in the payment request. Example: 1011 DJ- Returns:
- billingAddressPostalCode The billing address postal code passed in the payment request. Example: 1011 DJ
-
setBillingAddressPostalCode
public void setBillingAddressPostalCode(String billingAddressPostalCode)
The billing address postal code passed in the payment request. Example: 1011 DJ- Parameters:
billingAddressPostalCode- The billing address postal code passed in the payment request. Example: 1011 DJ
-
billingAddressStateOrProvince
public ResponseAdditionalDataBillingAddress billingAddressStateOrProvince(String billingAddressStateOrProvince)
The billing address state or province passed in the payment request. Example: NH- Parameters:
billingAddressStateOrProvince- The billing address state or province passed in the payment request. Example: NH- Returns:
- the current
ResponseAdditionalDataBillingAddressinstance, allowing for method chaining
-
getBillingAddressStateOrProvince
public String getBillingAddressStateOrProvince()
The billing address state or province passed in the payment request. Example: NH- Returns:
- billingAddressStateOrProvince The billing address state or province passed in the payment request. Example: NH
-
setBillingAddressStateOrProvince
public void setBillingAddressStateOrProvince(String billingAddressStateOrProvince)
The billing address state or province passed in the payment request. Example: NH- Parameters:
billingAddressStateOrProvince- The billing address state or province passed in the payment request. Example: NH
-
billingAddressStreet
public ResponseAdditionalDataBillingAddress billingAddressStreet(String billingAddressStreet)
The billing address street passed in the payment request.- Parameters:
billingAddressStreet- The billing address street passed in the payment request.- Returns:
- the current
ResponseAdditionalDataBillingAddressinstance, allowing for method chaining
-
getBillingAddressStreet
public String getBillingAddressStreet()
The billing address street passed in the payment request.- Returns:
- billingAddressStreet The billing address street passed in the payment request.
-
setBillingAddressStreet
public void setBillingAddressStreet(String billingAddressStreet)
The billing address street passed in the payment request.- Parameters:
billingAddressStreet- The billing address street passed in the payment request.
-
includeNullValues
public ResponseAdditionalDataBillingAddress includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this ResponseAdditionalDataBillingAddress object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
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
-
-