Class UpdateStoreRequest


  • public class UpdateStoreRequest
    extends Object
    UpdateStoreRequest
    • Constructor Detail

      • UpdateStoreRequest

        public UpdateStoreRequest()
    • Method Detail

      • getAddress

        public UpdatableAddress getAddress()
        Get address
        Returns:
        address
      • 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.
        Returns:
        businessLineIds
      • setBusinessLineIds

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

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

        public void setDescription​(String description)
      • 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)
      • getSplitConfiguration

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

        public UpdateStoreRequest.StatusEnum getStatus()
        The status of the store. Possible values are: - **active**: This value is assigned automatically when a store is created. - **inactive**: The maximum [transaction limits and number of Store-and-Forward transactions](https://docs.adyen.com/point-of-sale/determine-account-structure/configure-features#payment-features) for the store are set to 0. This blocks new transactions, but captures are still possible. - **closed**: The terminals of the store are reassigned to the merchant inventory, so they can't process payments. You can change the status from **active** to **inactive**, and from **inactive** to **active** or **closed**. Once **closed**, a store can't be reopened.
        Returns:
        status
      • equals

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

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

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

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