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_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.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.StringgetMcc()The merchant category code.StringgetMerchantId()The merchant identifier.StringgetName()The name of the merchant's shop or service.StringgetPostalCode()The merchant postal code.inthashCode()TransferNotificationMerchantDatamcc(String mcc)The merchant category code.TransferNotificationMerchantDatamerchantId(String merchantId)The merchant identifier.TransferNotificationMerchantDataname(String name)The name of the merchant's shop or service.TransferNotificationMerchantDatapostalCode(String postalCode)The merchant postal code.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.voidsetMcc(String mcc)The merchant category code.voidsetMerchantId(String merchantId)The merchant identifier.voidsetName(String name)The name of the merchant's shop or service.voidsetPostalCode(String postalCode)The merchant postal code.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_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-- Returns:
- the current
TransferNotificationMerchantDatainstance, allowing for method chaining
-
getAcquirerId
public String getAcquirerId()
The unique identifier of the merchant's acquirer.- Returns:
- acquirerId
-
setAcquirerId
public void setAcquirerId(String acquirerId)
The unique identifier of the merchant's acquirer.- Parameters:
acquirerId-
-
city
public TransferNotificationMerchantData city(String city)
The city where the merchant is located.- Parameters:
city-- Returns:
- the current
TransferNotificationMerchantDatainstance, allowing for method chaining
-
getCity
public String getCity()
The city where the merchant is located.- Returns:
- city
-
setCity
public void setCity(String city)
The city where the merchant is located.- Parameters:
city-
-
country
public TransferNotificationMerchantData country(String country)
The country where the merchant is located.- Parameters:
country-- Returns:
- the current
TransferNotificationMerchantDatainstance, allowing for method chaining
-
getCountry
public String getCountry()
The country where the merchant is located.- Returns:
- country
-
setCountry
public void setCountry(String country)
The country where the merchant is located.- Parameters:
country-
-
mcc
public TransferNotificationMerchantData mcc(String mcc)
The merchant category code.- Parameters:
mcc-- Returns:
- the current
TransferNotificationMerchantDatainstance, allowing for method chaining
-
getMcc
public String getMcc()
The merchant category code.- Returns:
- mcc
-
setMcc
public void setMcc(String mcc)
The merchant category code.- Parameters:
mcc-
-
merchantId
public TransferNotificationMerchantData merchantId(String merchantId)
The merchant identifier.- Parameters:
merchantId-- Returns:
- the current
TransferNotificationMerchantDatainstance, allowing for method chaining
-
getMerchantId
public String getMerchantId()
The merchant identifier.- Returns:
- merchantId
-
setMerchantId
public void setMerchantId(String merchantId)
The merchant identifier.- Parameters:
merchantId-
-
name
public TransferNotificationMerchantData name(String name)
The name of the merchant's shop or service.- Parameters:
name-- Returns:
- the current
TransferNotificationMerchantDatainstance, allowing for method chaining
-
getName
public String getName()
The name of the merchant's shop or service.- Returns:
- name
-
setName
public void setName(String name)
The name of the merchant's shop or service.- Parameters:
name-
-
postalCode
public TransferNotificationMerchantData postalCode(String postalCode)
The merchant postal code.- Parameters:
postalCode-- Returns:
- the current
TransferNotificationMerchantDatainstance, allowing for method chaining
-
getPostalCode
public String getPostalCode()
The merchant postal code.- Returns:
- postalCode
-
setPostalCode
public void setPostalCode(String postalCode)
The merchant postal code.- Parameters:
postalCode-
-
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
-
-