Class UpdateStoreRequest


  • public class UpdateStoreRequest
    extends Object
    UpdateStoreRequest
    • Constructor Detail

      • UpdateStoreRequest

        public UpdateStoreRequest()
    • Method Detail

      • getAddress

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

        public void setAddress​(UpdatableAddress address)
        address
        Parameters:
        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)
        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.
        Parameters:
        businessLineIds -
      • getDescription

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

        public void setDescription​(String description)
        The description of the store.
        Parameters:
        description -
      • getExternalReferenceId

        public String getExternalReferenceId()
        The unique identifier of the store, used by certain payment methods and tax authorities. Accepts up to 14 digits. Required for CNPJ in Brazil, in the format 00.000.000/00git00-00 separated by dots, slashes, hyphens, or without separators. Optional for Zip in Australia and SIRET in France, required except for nonprofit organizations and incorporated associations.
        Returns:
        externalReferenceId
      • setExternalReferenceId

        public void setExternalReferenceId​(String externalReferenceId)
        The unique identifier of the store, used by certain payment methods and tax authorities. Accepts up to 14 digits. Required for CNPJ in Brazil, in the format 00.000.000/00git00-00 separated by dots, slashes, hyphens, or without separators. Optional for Zip in Australia and SIRET in France, required except for nonprofit organizations and incorporated associations.
        Parameters:
        externalReferenceId -
      • 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)
        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.
        Parameters:
        phoneNumber -
      • getSplitConfiguration

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

        public void setSplitConfiguration​(StoreSplitConfiguration splitConfiguration)
        splitConfiguration
        Parameters:
        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
      • setStatus

        public void setStatus​(UpdateStoreRequest.StatusEnum status)
        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.
        Parameters:
        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