Package com.adyen.model.management
Class PayByBankPlaidInfo
- java.lang.Object
-
- com.adyen.model.management.PayByBankPlaidInfo
-
public class PayByBankPlaidInfo extends Object
PayByBankPlaidInfo
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_COUNTRY_CODEstatic StringJSON_PROPERTY_LOGOstatic StringJSON_PROPERTY_MERCHANT_CITYstatic StringJSON_PROPERTY_MERCHANT_LEGAL_NAMEstatic StringJSON_PROPERTY_MERCHANT_SHOP_URLstatic StringJSON_PROPERTY_MERCHANT_STATE_PROVINCEstatic StringJSON_PROPERTY_MERCHANT_STREET_ADDRESSstatic StringJSON_PROPERTY_TRANSACTION_DESCRIPTIONstatic StringJSON_PROPERTY_ZIP_CODE
-
Constructor Summary
Constructors Constructor Description PayByBankPlaidInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PayByBankPlaidInfocountryCode(String countryCode)Country Code.booleanequals(Object o)Return true if this PayByBankPlaidInfo object is equal to o.static PayByBankPlaidInfofromJson(String jsonString)Create an instance of PayByBankPlaidInfo given an JSON stringStringgetCountryCode()Country Code.StringgetLogo()Merchant logo (max. size 150kB).StringgetMerchantCity()The city the merchant is doing business in.StringgetMerchantLegalName()Legal Business Name of the Merchant.StringgetMerchantShopUrl()Merchant shop url.StringgetMerchantStateProvince()The state/province of the merchant.StringgetMerchantStreetAddress()The street address of the merchant.TransactionDescriptionInfogetTransactionDescription()Get transactionDescriptionStringgetZipCode()The zip code of the account.inthashCode()PayByBankPlaidInfologo(String logo)Merchant logo (max. size 150kB).PayByBankPlaidInfomerchantCity(String merchantCity)The city the merchant is doing business in.PayByBankPlaidInfomerchantLegalName(String merchantLegalName)Legal Business Name of the Merchant.PayByBankPlaidInfomerchantShopUrl(String merchantShopUrl)Merchant shop url.PayByBankPlaidInfomerchantStateProvince(String merchantStateProvince)The state/province of the merchant.PayByBankPlaidInfomerchantStreetAddress(String merchantStreetAddress)The street address of the merchant.voidsetCountryCode(String countryCode)Country Code.voidsetLogo(String logo)Merchant logo (max. size 150kB).voidsetMerchantCity(String merchantCity)The city the merchant is doing business in.voidsetMerchantLegalName(String merchantLegalName)Legal Business Name of the Merchant.voidsetMerchantShopUrl(String merchantShopUrl)Merchant shop url.voidsetMerchantStateProvince(String merchantStateProvince)The state/province of the merchant.voidsetMerchantStreetAddress(String merchantStreetAddress)The street address of the merchant.voidsetTransactionDescription(TransactionDescriptionInfo transactionDescription)transactionDescriptionvoidsetZipCode(String zipCode)The zip code of the account.StringtoJson()Convert an instance of PayByBankPlaidInfo to an JSON stringStringtoString()PayByBankPlaidInfotransactionDescription(TransactionDescriptionInfo transactionDescription)transactionDescriptionPayByBankPlaidInfozipCode(String zipCode)The zip code of the account.
-
-
-
Field Detail
-
JSON_PROPERTY_COUNTRY_CODE
public static final String JSON_PROPERTY_COUNTRY_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LOGO
public static final String JSON_PROPERTY_LOGO
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_CITY
public static final String JSON_PROPERTY_MERCHANT_CITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_LEGAL_NAME
public static final String JSON_PROPERTY_MERCHANT_LEGAL_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_SHOP_URL
public static final String JSON_PROPERTY_MERCHANT_SHOP_URL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_STATE_PROVINCE
public static final String JSON_PROPERTY_MERCHANT_STATE_PROVINCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_STREET_ADDRESS
public static final String JSON_PROPERTY_MERCHANT_STREET_ADDRESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRANSACTION_DESCRIPTION
public static final String JSON_PROPERTY_TRANSACTION_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ZIP_CODE
public static final String JSON_PROPERTY_ZIP_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
countryCode
public PayByBankPlaidInfo countryCode(String countryCode)
Country Code.- Parameters:
countryCode- Country Code.- Returns:
- the current
PayByBankPlaidInfoinstance, allowing for method chaining
-
getCountryCode
public String getCountryCode()
Country Code.- Returns:
- countryCode Country Code.
-
setCountryCode
public void setCountryCode(String countryCode)
Country Code.- Parameters:
countryCode- Country Code.
-
logo
public PayByBankPlaidInfo logo(String logo)
Merchant logo (max. size 150kB). Format: Base64-encoded string.- Parameters:
logo- Merchant logo (max. size 150kB). Format: Base64-encoded string.- Returns:
- the current
PayByBankPlaidInfoinstance, allowing for method chaining
-
getLogo
public String getLogo()
Merchant logo (max. size 150kB). Format: Base64-encoded string.- Returns:
- logo Merchant logo (max. size 150kB). Format: Base64-encoded string.
-
setLogo
public void setLogo(String logo)
Merchant logo (max. size 150kB). Format: Base64-encoded string.- Parameters:
logo- Merchant logo (max. size 150kB). Format: Base64-encoded string.
-
merchantCity
public PayByBankPlaidInfo merchantCity(String merchantCity)
The city the merchant is doing business in.- Parameters:
merchantCity- The city the merchant is doing business in.- Returns:
- the current
PayByBankPlaidInfoinstance, allowing for method chaining
-
getMerchantCity
public String getMerchantCity()
The city the merchant is doing business in.- Returns:
- merchantCity The city the merchant is doing business in.
-
setMerchantCity
public void setMerchantCity(String merchantCity)
The city the merchant is doing business in.- Parameters:
merchantCity- The city the merchant is doing business in.
-
merchantLegalName
public PayByBankPlaidInfo merchantLegalName(String merchantLegalName)
Legal Business Name of the Merchant.- Parameters:
merchantLegalName- Legal Business Name of the Merchant.- Returns:
- the current
PayByBankPlaidInfoinstance, allowing for method chaining
-
getMerchantLegalName
public String getMerchantLegalName()
Legal Business Name of the Merchant.- Returns:
- merchantLegalName Legal Business Name of the Merchant.
-
setMerchantLegalName
public void setMerchantLegalName(String merchantLegalName)
Legal Business Name of the Merchant.- Parameters:
merchantLegalName- Legal Business Name of the Merchant.
-
merchantShopUrl
public PayByBankPlaidInfo merchantShopUrl(String merchantShopUrl)
Merchant shop url.- Parameters:
merchantShopUrl- Merchant shop url.- Returns:
- the current
PayByBankPlaidInfoinstance, allowing for method chaining
-
getMerchantShopUrl
public String getMerchantShopUrl()
Merchant shop url.- Returns:
- merchantShopUrl Merchant shop url.
-
setMerchantShopUrl
public void setMerchantShopUrl(String merchantShopUrl)
Merchant shop url.- Parameters:
merchantShopUrl- Merchant shop url.
-
merchantStateProvince
public PayByBankPlaidInfo merchantStateProvince(String merchantStateProvince)
The state/province of the merchant.- Parameters:
merchantStateProvince- The state/province of the merchant.- Returns:
- the current
PayByBankPlaidInfoinstance, allowing for method chaining
-
getMerchantStateProvince
public String getMerchantStateProvince()
The state/province of the merchant.- Returns:
- merchantStateProvince The state/province of the merchant.
-
setMerchantStateProvince
public void setMerchantStateProvince(String merchantStateProvince)
The state/province of the merchant.- Parameters:
merchantStateProvince- The state/province of the merchant.
-
merchantStreetAddress
public PayByBankPlaidInfo merchantStreetAddress(String merchantStreetAddress)
The street address of the merchant.- Parameters:
merchantStreetAddress- The street address of the merchant.- Returns:
- the current
PayByBankPlaidInfoinstance, allowing for method chaining
-
getMerchantStreetAddress
public String getMerchantStreetAddress()
The street address of the merchant.- Returns:
- merchantStreetAddress The street address of the merchant.
-
setMerchantStreetAddress
public void setMerchantStreetAddress(String merchantStreetAddress)
The street address of the merchant.- Parameters:
merchantStreetAddress- The street address of the merchant.
-
transactionDescription
public PayByBankPlaidInfo transactionDescription(TransactionDescriptionInfo transactionDescription)
transactionDescription- Parameters:
transactionDescription-- Returns:
- the current
PayByBankPlaidInfoinstance, allowing for method chaining
-
getTransactionDescription
public TransactionDescriptionInfo getTransactionDescription()
Get transactionDescription- Returns:
- transactionDescription
-
setTransactionDescription
public void setTransactionDescription(TransactionDescriptionInfo transactionDescription)
transactionDescription- Parameters:
transactionDescription-
-
zipCode
public PayByBankPlaidInfo zipCode(String zipCode)
The zip code of the account.- Parameters:
zipCode- The zip code of the account.- Returns:
- the current
PayByBankPlaidInfoinstance, allowing for method chaining
-
getZipCode
public String getZipCode()
The zip code of the account.- Returns:
- zipCode The zip code of the account.
-
setZipCode
public void setZipCode(String zipCode)
The zip code of the account.- Parameters:
zipCode- The zip code of the account.
-
equals
public boolean equals(Object o)
Return true if this PayByBankPlaidInfo object is equal to o.
-
fromJson
public static PayByBankPlaidInfo fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PayByBankPlaidInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PayByBankPlaidInfo
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PayByBankPlaidInfo
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PayByBankPlaidInfo to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-