Class StoreDetail


  • public class StoreDetail
    extends Object
    StoreDetail
    • Constructor Detail

      • StoreDetail

        public StoreDetail()
    • Method Detail

      • getAddress

        public ViasAddress getAddress()
        Get address
        Returns:
        address
      • setAddress

        public void setAddress​(ViasAddress address)
      • 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)
      • getLogo

        public String getLogo()
        Store logo for payment method setup.
        Returns:
        logo
      • setLogo

        public void setLogo​(String logo)
      • 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)
      • getPhoneNumber

        public ViasPhoneNumber getPhoneNumber()
        Get phoneNumber
        Returns:
        phoneNumber
      • setPhoneNumber

        public void setPhoneNumber​(ViasPhoneNumber phoneNumber)
      • getShopperInteraction

        public StoreDetail.ShopperInteractionEnum getShopperInteraction()
        The sales channel. Possible values: **Ecommerce**, **POS**.
        Returns:
        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)
      • getStatus

        public StoreDetail.StatusEnum getStatus()
        The status of the store. Possible values: **Pending**, **Active**, **Inactive**, **InactiveWithModifications**, **Closed**.
        Returns:
        status
      • 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)
      • 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)
      • 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)
      • 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)
      • 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.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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