Package com.adyen.model.transferwebhooks
Class TransferNotificationMerchantData
- java.lang.Object
-
- com.adyen.model.transferwebhooks.TransferNotificationMerchantData
-
public class TransferNotificationMerchantData extends Object
TransferNotificationMerchantData
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACQUIRER_IDstatic StringJSON_PROPERTY_CITYstatic StringJSON_PROPERTY_COUNTRYstatic StringJSON_PROPERTY_COUNTRY_CODEstatic StringJSON_PROPERTY_MCCstatic StringJSON_PROPERTY_MERCHANT_IDstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_POSTAL_CODE
-
Constructor Summary
Constructors Constructor Description TransferNotificationMerchantData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransferNotificationMerchantDataacquirerId(String acquirerId)The unique identifier of the merchant's acquirer.TransferNotificationMerchantDatacity(String city)The city where the merchant is located.TransferNotificationMerchantDatacountry(String country)The country where the merchant is located.TransferNotificationMerchantDatacountryCode(String countryCode)The two-character country code of the merchant's location, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.booleanequals(Object o)Return true if this TransferNotificationMerchantData object is equal to o.static TransferNotificationMerchantDatafromJson(String jsonString)Create an instance of TransferNotificationMerchantData given an JSON stringStringgetAcquirerId()The unique identifier of the merchant's acquirer.StringgetCity()The city where the merchant is located.StringgetCountry()The country where the merchant is located.StringgetCountryCode()The two-character country code of the merchant's location, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.StringgetMcc()The merchant category code.StringgetMerchantId()The unique identifier of the merchant.StringgetName()The name of the merchant's shop or service.StringgetPostalCode()The postal code of the merchant.inthashCode()TransferNotificationMerchantDatamcc(String mcc)The merchant category code.TransferNotificationMerchantDatamerchantId(String merchantId)The unique identifier of the merchant.TransferNotificationMerchantDataname(String name)The name of the merchant's shop or service.TransferNotificationMerchantDatapostalCode(String postalCode)The postal code of the merchant.voidsetAcquirerId(String acquirerId)The unique identifier of the merchant's acquirer.voidsetCity(String city)The city where the merchant is located.voidsetCountry(String country)The country where the merchant is located.voidsetCountryCode(String countryCode)The two-character country code of the merchant's location, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.voidsetMcc(String mcc)The merchant category code.voidsetMerchantId(String merchantId)The unique identifier of the merchant.voidsetName(String name)The name of the merchant's shop or service.voidsetPostalCode(String postalCode)The postal code of the merchant.StringtoJson()Convert an instance of TransferNotificationMerchantData to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACQUIRER_ID
public static final String JSON_PROPERTY_ACQUIRER_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CITY
public static final String JSON_PROPERTY_CITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_COUNTRY
public static final String JSON_PROPERTY_COUNTRY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_COUNTRY_CODE
public static final String JSON_PROPERTY_COUNTRY_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MCC
public static final String JSON_PROPERTY_MCC
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_ID
public static final String JSON_PROPERTY_MERCHANT_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_POSTAL_CODE
public static final String JSON_PROPERTY_POSTAL_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
acquirerId
public TransferNotificationMerchantData acquirerId(String acquirerId)
The unique identifier of the merchant's acquirer.- Parameters:
acquirerId- The unique identifier of the merchant's acquirer.- Returns:
- the current
TransferNotificationMerchantDatainstance, allowing for method chaining
-
getAcquirerId
public String getAcquirerId()
The unique identifier of the merchant's acquirer.- Returns:
- acquirerId The unique identifier of the merchant's acquirer.
-
setAcquirerId
public void setAcquirerId(String acquirerId)
The unique identifier of the merchant's acquirer.- Parameters:
acquirerId- The unique identifier of the merchant's acquirer.
-
city
public TransferNotificationMerchantData city(String city)
The city where the merchant is located.- Parameters:
city- The city where the merchant is located.- Returns:
- the current
TransferNotificationMerchantDatainstance, allowing for method chaining
-
getCity
public String getCity()
The city where the merchant is located.- Returns:
- city The city where the merchant is located.
-
setCity
public void setCity(String city)
The city where the merchant is located.- Parameters:
city- The city where the merchant is located.
-
country
public TransferNotificationMerchantData country(String country)
The country where the merchant is located.- Parameters:
country- The country where the merchant is located.- Returns:
- the current
TransferNotificationMerchantDatainstance, allowing for method chaining
-
getCountry
public String getCountry()
The country where the merchant is located.- Returns:
- country The country where the merchant is located.
-
setCountry
public void setCountry(String country)
The country where the merchant is located.- Parameters:
country- The country where the merchant is located.
-
countryCode
public TransferNotificationMerchantData countryCode(String countryCode)
The two-character country code of the merchant's location, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.- Parameters:
countryCode- The two-character country code of the merchant's location, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.- Returns:
- the current
TransferNotificationMerchantDatainstance, allowing for method chaining
-
getCountryCode
public String getCountryCode()
The two-character country code of the merchant's location, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.- Returns:
- countryCode The two-character country code of the merchant's location, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
-
setCountryCode
public void setCountryCode(String countryCode)
The two-character country code of the merchant's location, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.- Parameters:
countryCode- The two-character country code of the merchant's location, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
-
mcc
public TransferNotificationMerchantData mcc(String mcc)
The merchant category code.- Parameters:
mcc- The merchant category code.- Returns:
- the current
TransferNotificationMerchantDatainstance, allowing for method chaining
-
getMcc
public String getMcc()
The merchant category code.- Returns:
- mcc The merchant category code.
-
setMcc
public void setMcc(String mcc)
The merchant category code.- Parameters:
mcc- The merchant category code.
-
merchantId
public TransferNotificationMerchantData merchantId(String merchantId)
The unique identifier of the merchant.- Parameters:
merchantId- The unique identifier of the merchant.- Returns:
- the current
TransferNotificationMerchantDatainstance, allowing for method chaining
-
getMerchantId
public String getMerchantId()
The unique identifier of the merchant.- Returns:
- merchantId The unique identifier of the merchant.
-
setMerchantId
public void setMerchantId(String merchantId)
The unique identifier of the merchant.- Parameters:
merchantId- The unique identifier of the merchant.
-
name
public TransferNotificationMerchantData name(String name)
The name of the merchant's shop or service.- Parameters:
name- The name of the merchant's shop or service.- Returns:
- the current
TransferNotificationMerchantDatainstance, allowing for method chaining
-
getName
public String getName()
The name of the merchant's shop or service.- Returns:
- name The name of the merchant's shop or service.
-
setName
public void setName(String name)
The name of the merchant's shop or service.- Parameters:
name- The name of the merchant's shop or service.
-
postalCode
public TransferNotificationMerchantData postalCode(String postalCode)
The postal code of the merchant.- Parameters:
postalCode- The postal code of the merchant.- Returns:
- the current
TransferNotificationMerchantDatainstance, allowing for method chaining
-
getPostalCode
public String getPostalCode()
The postal code of the merchant.- Returns:
- postalCode The postal code of the merchant.
-
setPostalCode
public void setPostalCode(String postalCode)
The postal code of the merchant.- Parameters:
postalCode- The postal code of the merchant.
-
equals
public boolean equals(Object o)
Return true if this TransferNotificationMerchantData object is equal to o.
-
fromJson
public static TransferNotificationMerchantData fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of TransferNotificationMerchantData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TransferNotificationMerchantData
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to TransferNotificationMerchantData
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of TransferNotificationMerchantData to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-