Class AccountUpdateNotificationData


  • public class AccountUpdateNotificationData
    extends Object
    AccountUpdateNotificationData
    • Constructor Detail

      • AccountUpdateNotificationData

        public AccountUpdateNotificationData()
    • Method Detail

      • getCapabilities

        public Map<String,​AccountCapabilityData> getCapabilities()
        Key-value pairs that specify what you can do with the merchant account and its settings. The key is a capability. For example, the **sendToTransferInstrument** is the capability required before you can pay out the funds of a merchant account to a [bank account](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments). The value is an object containing the settings for the capability.
        Returns:
        capabilities
      • setCapabilities

        public void setCapabilities​(Map<String,​AccountCapabilityData> capabilities)
        Key-value pairs that specify what you can do with the merchant account and its settings. The key is a capability. For example, the **sendToTransferInstrument** is the capability required before you can pay out the funds of a merchant account to a [bank account](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments). The value is an object containing the settings for the capability.
        Parameters:
        capabilities -
      • getLegalEntityId

        public String getLegalEntityId()
        The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id).
        Returns:
        legalEntityId
      • setLegalEntityId

        public void setLegalEntityId​(String legalEntityId)
        The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id).
        Parameters:
        legalEntityId -
      • getMerchantId

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

        public void setMerchantId​(String merchantId)
        The unique identifier of the merchant account.
        Parameters:
        merchantId -
      • getStatus

        public String getStatus()
        The status of the merchant account. Possible values: * **PreActive**: The merchant account has been created. Users cannot access the merchant account in the Customer Area. The account cannot process payments. * **Active**: Users can access the merchant account in the Customer Area. If the company account is also **Active**, then payment processing and payouts are enabled. * **InactiveWithModifications**: Users can access the merchant account in the Customer Area. The account cannot process new payments but can still modify payments, for example issue refunds. The account can still receive payouts. * **Inactive**: Users can access the merchant account in the Customer Area. Payment processing and payouts are disabled. * **Closed**: The account is closed and this cannot be reversed. Users cannot log in. Payment processing and payouts are disabled.
        Returns:
        status
      • setStatus

        public void setStatus​(String status)
        The status of the merchant account. Possible values: * **PreActive**: The merchant account has been created. Users cannot access the merchant account in the Customer Area. The account cannot process payments. * **Active**: Users can access the merchant account in the Customer Area. If the company account is also **Active**, then payment processing and payouts are enabled. * **InactiveWithModifications**: Users can access the merchant account in the Customer Area. The account cannot process new payments but can still modify payments, for example issue refunds. The account can still receive payouts. * **Inactive**: Users can access the merchant account in the Customer Area. Payment processing and payouts are disabled. * **Closed**: The account is closed and this cannot be reversed. Users cannot log in. Payment processing and payouts are disabled.
        Parameters:
        status -
      • equals

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

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

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

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