Class AccountCreateNotificationData
- java.lang.Object
-
- com.adyen.model.managementwebhooks.AccountCreateNotificationData
-
public class AccountCreateNotificationData extends Object
AccountCreateNotificationData
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CAPABILITIESstatic StringJSON_PROPERTY_COMPANY_IDstatic StringJSON_PROPERTY_LEGAL_ENTITY_IDstatic StringJSON_PROPERTY_MERCHANT_IDstatic StringJSON_PROPERTY_STATUS
-
Constructor Summary
Constructors Constructor Description AccountCreateNotificationData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountCreateNotificationDatacapabilities(Map<String,AccountCapabilityData> capabilities)AccountCreateNotificationDatacompanyId(String companyId)booleanequals(Object o)Return true if this AccountCreateNotificationData object is equal to o.static AccountCreateNotificationDatafromJson(String jsonString)Create an instance of AccountCreateNotificationData given an JSON stringMap<String,AccountCapabilityData>getCapabilities()Key-value pairs that specify the actions that the merchant account can do and its settings.StringgetCompanyId()The unique identifier of the company account.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()AccountCreateNotificationDatalegalEntityId(String legalEntityId)AccountCreateNotificationDatamerchantId(String merchantId)AccountCreateNotificationDataputCapabilitiesItem(String key, AccountCapabilityData capabilitiesItem)voidsetCapabilities(Map<String,AccountCapabilityData> capabilities)Key-value pairs that specify the actions that the merchant account can do and its settings.voidsetCompanyId(String companyId)The unique identifier of the company account.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.AccountCreateNotificationDatastatus(String status)StringtoJson()Convert an instance of AccountCreateNotificationData to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CAPABILITIES
public static final String JSON_PROPERTY_CAPABILITIES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_COMPANY_ID
public static final String JSON_PROPERTY_COMPANY_ID
- 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 AccountCreateNotificationData capabilities(Map<String,AccountCapabilityData> capabilities)
-
putCapabilitiesItem
public AccountCreateNotificationData putCapabilitiesItem(String key, AccountCapabilityData capabilitiesItem)
-
getCapabilities
public Map<String,AccountCapabilityData> getCapabilities()
Key-value pairs that specify the actions that the merchant account can do and its settings. The key is a capability. For example, the **sendToTransferInstrument** is the capability required before you can pay out funds to the bank account. 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 the actions that the merchant account can do and its settings. The key is a capability. For example, the **sendToTransferInstrument** is the capability required before you can pay out funds to the bank account. The value is an object containing the settings for the capability.- Parameters:
capabilities-
-
companyId
public AccountCreateNotificationData companyId(String companyId)
-
getCompanyId
public String getCompanyId()
The unique identifier of the company account.- Returns:
- companyId
-
setCompanyId
public void setCompanyId(String companyId)
The unique identifier of the company account.- Parameters:
companyId-
-
legalEntityId
public AccountCreateNotificationData 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 AccountCreateNotificationData 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 AccountCreateNotificationData 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 AccountCreateNotificationData object is equal to o.
-
fromJson
public static AccountCreateNotificationData fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AccountCreateNotificationData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AccountCreateNotificationData
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AccountCreateNotificationData
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AccountCreateNotificationData to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-