Class AccountUpdateNotificationData
- java.lang.Object
-
- com.adyen.model.managementwebhooks.AccountUpdateNotificationData
-
public class AccountUpdateNotificationData extends Object
AccountUpdateNotificationData
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CAPABILITIESstatic StringJSON_PROPERTY_LEGAL_ENTITY_IDstatic StringJSON_PROPERTY_MERCHANT_IDstatic StringJSON_PROPERTY_STATUS
-
Constructor Summary
Constructors Constructor Description AccountUpdateNotificationData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountUpdateNotificationDatacapabilities(Map<String,AccountCapabilityData> capabilities)booleanequals(Object o)Return true if this AccountUpdateNotificationData object is equal to o.static AccountUpdateNotificationDatafromJson(String jsonString)Create an instance of AccountUpdateNotificationData given an JSON stringMap<String,AccountCapabilityData>getCapabilities()Key-value pairs that specify what you can do with the merchant account and its settings.StringgetLegalEntityId()The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id).StringgetMerchantId()The unique identifier of the merchant account.StringgetStatus()The status of the merchant account.inthashCode()AccountUpdateNotificationDatalegalEntityId(String legalEntityId)AccountUpdateNotificationDatamerchantId(String merchantId)AccountUpdateNotificationDataputCapabilitiesItem(String key, AccountCapabilityData capabilitiesItem)voidsetCapabilities(Map<String,AccountCapabilityData> capabilities)Key-value pairs that specify what you can do with the merchant account and its settings.voidsetLegalEntityId(String legalEntityId)The unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id).voidsetMerchantId(String merchantId)The unique identifier of the merchant account.voidsetStatus(String status)The status of the merchant account.AccountUpdateNotificationDatastatus(String status)StringtoJson()Convert an instance of AccountUpdateNotificationData to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CAPABILITIES
public static final String JSON_PROPERTY_CAPABILITIES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LEGAL_ENTITY_ID
public static final String JSON_PROPERTY_LEGAL_ENTITY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_ID
public static final String JSON_PROPERTY_MERCHANT_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_STATUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
capabilities
public AccountUpdateNotificationData capabilities(Map<String,AccountCapabilityData> capabilities)
-
putCapabilitiesItem
public AccountUpdateNotificationData putCapabilitiesItem(String key, AccountCapabilityData capabilitiesItem)
-
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-
-
legalEntityId
public AccountUpdateNotificationData legalEntityId(String legalEntityId)
-
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-
-
merchantId
public AccountUpdateNotificationData merchantId(String merchantId)
-
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-
-
status
public AccountUpdateNotificationData status(String status)
-
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.
-
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
-
-