Package com.adyen.model.marketpayaccount
Class StoreDetail
- java.lang.Object
-
- com.adyen.model.marketpayaccount.StoreDetail
-
public class StoreDetail extends Object
StoreDetail
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStoreDetail.ShopperInteractionEnumThe sales channel.static classStoreDetail.StatusEnumThe status of the store.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ADDRESSstatic StringJSON_PROPERTY_FULL_PHONE_NUMBERstatic StringJSON_PROPERTY_LOGOstatic StringJSON_PROPERTY_MERCHANT_ACCOUNTstatic StringJSON_PROPERTY_MERCHANT_CATEGORY_CODEstatic StringJSON_PROPERTY_MERCHANT_HOUSE_NUMBERstatic StringJSON_PROPERTY_PHONE_NUMBERstatic StringJSON_PROPERTY_SHOPPER_INTERACTIONstatic StringJSON_PROPERTY_SPLIT_CONFIGURATION_U_U_I_Dstatic StringJSON_PROPERTY_STATUSstatic StringJSON_PROPERTY_STOREstatic StringJSON_PROPERTY_STORE_NAMEstatic StringJSON_PROPERTY_STORE_REFERENCEstatic StringJSON_PROPERTY_VIRTUAL_ACCOUNTstatic StringJSON_PROPERTY_WEB_ADDRESS
-
Constructor Summary
Constructors Constructor Description StoreDetail()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StoreDetailaddress(ViasAddress address)booleanequals(Object o)Return true if this StoreDetail object is equal to o.static StoreDetailfromJson(String jsonString)Create an instance of StoreDetail given an JSON stringStoreDetailfullPhoneNumber(String fullPhoneNumber)ViasAddressgetAddress()Get addressStringgetFullPhoneNumber()The phone number of the store provided as a single string.StringgetLogo()Store logo for payment method setup.StringgetMerchantAccount()The merchant account to which the store belongs.StringgetMerchantCategoryCode()The merchant category code (MCC) that classifies the business of the account holder.StringgetMerchantHouseNumber()Merchant house number for payment method setup.ViasPhoneNumbergetPhoneNumber()Get phoneNumberStoreDetail.ShopperInteractionEnumgetShopperInteraction()The sales channel.StringgetSplitConfigurationUUID()The unique reference for the split configuration, returned when you configure splits in your Customer Area.StoreDetail.StatusEnumgetStatus()The status of the store.StringgetStore()Adyen-generated unique alphanumeric identifier (UUID) for the store, returned in the response when you create a store.StringgetStoreName()The name of the account holder's store.StringgetStoreReference()Your unique identifier for the store.StringgetVirtualAccount()The account holder's `accountCode` where the split amount will be sent.StringgetWebAddress()URL of the ecommerce store.inthashCode()StoreDetaillogo(String logo)StoreDetailmerchantAccount(String merchantAccount)StoreDetailmerchantCategoryCode(String merchantCategoryCode)StoreDetailmerchantHouseNumber(String merchantHouseNumber)StoreDetailphoneNumber(ViasPhoneNumber phoneNumber)voidsetAddress(ViasAddress address)voidsetFullPhoneNumber(String fullPhoneNumber)voidsetLogo(String logo)voidsetMerchantAccount(String merchantAccount)voidsetMerchantCategoryCode(String merchantCategoryCode)voidsetMerchantHouseNumber(String merchantHouseNumber)voidsetPhoneNumber(ViasPhoneNumber phoneNumber)voidsetShopperInteraction(StoreDetail.ShopperInteractionEnum shopperInteraction)voidsetSplitConfigurationUUID(String splitConfigurationUUID)voidsetStatus(StoreDetail.StatusEnum status)voidsetStore(String store)voidsetStoreName(String storeName)voidsetStoreReference(String storeReference)voidsetVirtualAccount(String virtualAccount)voidsetWebAddress(String webAddress)StoreDetailshopperInteraction(StoreDetail.ShopperInteractionEnum shopperInteraction)StoreDetailsplitConfigurationUUID(String splitConfigurationUUID)StoreDetailstatus(StoreDetail.StatusEnum status)StoreDetailstore(String store)StoreDetailstoreName(String storeName)StoreDetailstoreReference(String storeReference)StringtoJson()Convert an instance of StoreDetail to an JSON stringStringtoString()StoreDetailvirtualAccount(String virtualAccount)StoreDetailwebAddress(String webAddress)
-
-
-
Field Detail
-
JSON_PROPERTY_ADDRESS
public static final String JSON_PROPERTY_ADDRESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FULL_PHONE_NUMBER
public static final String JSON_PROPERTY_FULL_PHONE_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LOGO
public static final String JSON_PROPERTY_LOGO
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_ACCOUNT
public static final String JSON_PROPERTY_MERCHANT_ACCOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_CATEGORY_CODE
public static final String JSON_PROPERTY_MERCHANT_CATEGORY_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_HOUSE_NUMBER
public static final String JSON_PROPERTY_MERCHANT_HOUSE_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PHONE_NUMBER
public static final String JSON_PROPERTY_PHONE_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOPPER_INTERACTION
public static final String JSON_PROPERTY_SHOPPER_INTERACTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SPLIT_CONFIGURATION_U_U_I_D
public static final String JSON_PROPERTY_SPLIT_CONFIGURATION_U_U_I_D
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_STATUS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STORE
public static final String JSON_PROPERTY_STORE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STORE_NAME
public static final String JSON_PROPERTY_STORE_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STORE_REFERENCE
public static final String JSON_PROPERTY_STORE_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VIRTUAL_ACCOUNT
public static final String JSON_PROPERTY_VIRTUAL_ACCOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WEB_ADDRESS
public static final String JSON_PROPERTY_WEB_ADDRESS
- See Also:
- Constant Field Values
-
-
Method Detail
-
address
public StoreDetail address(ViasAddress address)
-
getAddress
public ViasAddress getAddress()
Get address- Returns:
- address
-
setAddress
public void setAddress(ViasAddress address)
-
fullPhoneNumber
public StoreDetail fullPhoneNumber(String fullPhoneNumber)
-
getFullPhoneNumber
public String getFullPhoneNumber()
The phone number of the store provided as a single string. It will be handled as a landline phone. Examples: \"0031 6 11 22 33 44\", \"+316/1122-3344\", \"(0031) 611223344\"- Returns:
- fullPhoneNumber
-
setFullPhoneNumber
public void setFullPhoneNumber(String fullPhoneNumber)
-
logo
public StoreDetail logo(String logo)
-
getLogo
public String getLogo()
Store logo for payment method setup.- Returns:
- logo
-
setLogo
public void setLogo(String logo)
-
merchantAccount
public StoreDetail merchantAccount(String merchantAccount)
-
getMerchantAccount
public String getMerchantAccount()
The merchant account to which the store belongs.- Returns:
- merchantAccount
-
setMerchantAccount
public void setMerchantAccount(String merchantAccount)
-
merchantCategoryCode
public StoreDetail merchantCategoryCode(String merchantCategoryCode)
-
getMerchantCategoryCode
public String getMerchantCategoryCode()
The merchant category code (MCC) that classifies the business of the account holder.- Returns:
- merchantCategoryCode
-
setMerchantCategoryCode
public void setMerchantCategoryCode(String merchantCategoryCode)
-
merchantHouseNumber
public StoreDetail merchantHouseNumber(String merchantHouseNumber)
-
getMerchantHouseNumber
public String getMerchantHouseNumber()
Merchant house number for payment method setup.- Returns:
- merchantHouseNumber
-
setMerchantHouseNumber
public void setMerchantHouseNumber(String merchantHouseNumber)
-
phoneNumber
public StoreDetail phoneNumber(ViasPhoneNumber phoneNumber)
-
getPhoneNumber
public ViasPhoneNumber getPhoneNumber()
Get phoneNumber- Returns:
- phoneNumber
-
setPhoneNumber
public void setPhoneNumber(ViasPhoneNumber phoneNumber)
-
shopperInteraction
public StoreDetail shopperInteraction(StoreDetail.ShopperInteractionEnum shopperInteraction)
-
getShopperInteraction
public StoreDetail.ShopperInteractionEnum getShopperInteraction()
The sales channel. Possible values: **Ecommerce**, **POS**.- Returns:
- shopperInteraction
-
setShopperInteraction
public void setShopperInteraction(StoreDetail.ShopperInteractionEnum shopperInteraction)
-
splitConfigurationUUID
public StoreDetail splitConfigurationUUID(String splitConfigurationUUID)
-
getSplitConfigurationUUID
public String getSplitConfigurationUUID()
The unique reference for the split configuration, returned when you configure splits in your Customer Area. When this is provided, the `virtualAccount` is also required. Adyen uses the configuration and the `virtualAccount` to split funds between accounts in your platform.- Returns:
- splitConfigurationUUID
-
setSplitConfigurationUUID
public void setSplitConfigurationUUID(String splitConfigurationUUID)
-
status
public StoreDetail status(StoreDetail.StatusEnum status)
-
getStatus
public StoreDetail.StatusEnum getStatus()
The status of the store. Possible values: **Pending**, **Active**, **Inactive**, **InactiveWithModifications**, **Closed**.- Returns:
- status
-
setStatus
public void setStatus(StoreDetail.StatusEnum status)
-
store
public StoreDetail store(String store)
-
getStore
public String getStore()
Adyen-generated unique alphanumeric identifier (UUID) for the store, returned in the response when you create a store. Required when updating an existing store in an `/updateAccountHolder` request.- Returns:
- store
-
setStore
public void setStore(String store)
-
storeName
public StoreDetail storeName(String storeName)
-
getStoreName
public String getStoreName()
The name of the account holder's store. This value is shown in shopper statements. * Length: Between 3 to 22 characters * The following characters are *not* supported: **:;}{$#@!|<>%^*+=\\\\**- Returns:
- storeName
-
setStoreName
public void setStoreName(String storeName)
-
storeReference
public StoreDetail storeReference(String storeReference)
-
getStoreReference
public String getStoreReference()
Your unique identifier for the store. The Customer Area also uses this value for the store description. * Length: Between 3 to 128 characters * The following characters are *not* supported: **:;}{$#@!|<>%^*+=\\\\**- Returns:
- storeReference
-
setStoreReference
public void setStoreReference(String storeReference)
-
virtualAccount
public StoreDetail virtualAccount(String virtualAccount)
-
getVirtualAccount
public String getVirtualAccount()
The account holder's `accountCode` where the split amount will be sent. Required when you provide the `splitConfigurationUUID`.- Returns:
- virtualAccount
-
setVirtualAccount
public void setVirtualAccount(String virtualAccount)
-
webAddress
public StoreDetail webAddress(String webAddress)
-
getWebAddress
public String getWebAddress()
URL of the ecommerce store.- Returns:
- webAddress
-
setWebAddress
public void setWebAddress(String webAddress)
-
equals
public boolean equals(Object o)
Return true if this StoreDetail object is equal to o.
-
fromJson
public static StoreDetail fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of StoreDetail given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of StoreDetail
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to StoreDetail
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of StoreDetail to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-