Class Store


  • public class Store
    extends Object
    Store
    • Constructor Detail

      • Store

        public Store()
    • Method Detail

      • getLinks

        public Links getLinks()
        Get links
        Returns:
        links
      • setLinks

        public void setLinks​(Links links)
      • getAddress

        public StoreLocation getAddress()
        Get address
        Returns:
        address
      • businessLineIds

        public Store businessLineIds​(List<String> businessLineIds)
      • addBusinessLineIdsItem

        public Store addBusinessLineIdsItem​(String businessLineIdsItem)
      • getBusinessLineIds

        public List<String> getBusinessLineIds()
        The unique identifiers of the [business lines](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businesslines__resParam_id) that the store is associated with. If not specified, the business line of the merchant account is used. Required when there are multiple business lines under the merchant account.
        Returns:
        businessLineIds
      • setBusinessLineIds

        public void setBusinessLineIds​(List<String> businessLineIds)
      • description

        public Store description​(String description)
      • getDescription

        public String getDescription()
        The description of the store.
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
      • externalReferenceId

        public Store externalReferenceId​(String externalReferenceId)
      • getExternalReferenceId

        public String getExternalReferenceId()
        When using the Zip payment method: The location ID that Zip has assigned to your store.
        Returns:
        externalReferenceId
      • setExternalReferenceId

        public void setExternalReferenceId​(String externalReferenceId)
      • getId

        public String getId()
        The unique identifier of the store. This value is generated by Adyen.
        Returns:
        id
      • setId

        public void setId​(String id)
      • merchantId

        public Store merchantId​(String merchantId)
      • getMerchantId

        public String getMerchantId()
        The unique identifier of the merchant account that the store belongs to.
        Returns:
        merchantId
      • setMerchantId

        public void setMerchantId​(String merchantId)
      • phoneNumber

        public Store phoneNumber​(String phoneNumber)
      • getPhoneNumber

        public String getPhoneNumber()
        The phone number of the store, including '+' and country code in the [E.164](https://en.wikipedia.org/wiki/E.164) format. If passed in a different format, we convert and validate the phone number against E.164.
        Returns:
        phoneNumber
      • setPhoneNumber

        public void setPhoneNumber​(String phoneNumber)
      • reference

        public Store reference​(String reference)
      • getReference

        public String getReference()
        A reference to recognize the store by. Also known as the store code. Allowed characters: lowercase and uppercase letters without diacritics, numbers 0 through 9, hyphen (-), and underscore (_)
        Returns:
        reference
      • setReference

        public void setReference​(String reference)
      • shopperStatement

        public Store shopperStatement​(String shopperStatement)
      • getShopperStatement

        public String getShopperStatement()
        The store name shown on the shopper's bank or credit card statement and on the shopper receipt.
        Returns:
        shopperStatement
      • setShopperStatement

        public void setShopperStatement​(String shopperStatement)
      • getSplitConfiguration

        public StoreSplitConfiguration getSplitConfiguration()
        Get splitConfiguration
        Returns:
        splitConfiguration
      • getStatus

        public Store.StatusEnum getStatus()
        The status of the store. Possible values are: - **active**. This value is assigned automatically when a store is created. - **inactive**. The terminals under the store are blocked from accepting new transactions, but capturing outstanding transactions is still possible. - **closed**. This status is irreversible. The terminals under the store are reassigned to the merchant inventory.
        Returns:
        status
      • equals

        public boolean equals​(Object o)
        Return true if this Store object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static Store fromJson​(String jsonString)
                              throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of Store given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of Store
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to Store
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of Store to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException