Class BeneficiarySetupNotificationContent
- java.lang.Object
-
- com.adyen.model.marketpaywebhooks.BeneficiarySetupNotificationContent
-
public class BeneficiarySetupNotificationContent extends Object
BeneficiarySetupNotificationContent
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DESTINATION_ACCOUNT_CODEstatic StringJSON_PROPERTY_DESTINATION_ACCOUNT_HOLDER_CODEstatic StringJSON_PROPERTY_INVALID_FIELDSstatic StringJSON_PROPERTY_MERCHANT_REFERENCEstatic StringJSON_PROPERTY_SOURCE_ACCOUNT_CODEstatic StringJSON_PROPERTY_SOURCE_ACCOUNT_HOLDER_CODEstatic StringJSON_PROPERTY_TRANSFER_DATE
-
Constructor Summary
Constructors Constructor Description BeneficiarySetupNotificationContent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BeneficiarySetupNotificationContentaddInvalidFieldsItem(ErrorFieldType invalidFieldsItem)BeneficiarySetupNotificationContentdestinationAccountCode(String destinationAccountCode)BeneficiarySetupNotificationContentdestinationAccountHolderCode(String destinationAccountHolderCode)booleanequals(Object o)Return true if this BeneficiarySetupNotificationContent object is equal to o.static BeneficiarySetupNotificationContentfromJson(String jsonString)Create an instance of BeneficiarySetupNotificationContent given an JSON stringStringgetDestinationAccountCode()The code of the beneficiary account.StringgetDestinationAccountHolderCode()The code of the beneficiary Account Holder.List<ErrorFieldType>getInvalidFields()A listing of the invalid fields which have caused the Setup Beneficiary request to fail.StringgetMerchantReference()The reference provided by the merchant.StringgetSourceAccountCode()The code of the benefactor account.StringgetSourceAccountHolderCode()The code of the benefactor Account Holder.OffsetDateTimegetTransferDate()The date on which the beneficiary was set up and funds transferred from benefactor to beneficiary.inthashCode()BeneficiarySetupNotificationContentinvalidFields(List<ErrorFieldType> invalidFields)BeneficiarySetupNotificationContentmerchantReference(String merchantReference)voidsetDestinationAccountCode(String destinationAccountCode)voidsetDestinationAccountHolderCode(String destinationAccountHolderCode)voidsetInvalidFields(List<ErrorFieldType> invalidFields)voidsetMerchantReference(String merchantReference)voidsetSourceAccountCode(String sourceAccountCode)voidsetSourceAccountHolderCode(String sourceAccountHolderCode)voidsetTransferDate(OffsetDateTime transferDate)BeneficiarySetupNotificationContentsourceAccountCode(String sourceAccountCode)BeneficiarySetupNotificationContentsourceAccountHolderCode(String sourceAccountHolderCode)StringtoJson()Convert an instance of BeneficiarySetupNotificationContent to an JSON stringStringtoString()BeneficiarySetupNotificationContenttransferDate(OffsetDateTime transferDate)
-
-
-
Field Detail
-
JSON_PROPERTY_DESTINATION_ACCOUNT_CODE
public static final String JSON_PROPERTY_DESTINATION_ACCOUNT_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DESTINATION_ACCOUNT_HOLDER_CODE
public static final String JSON_PROPERTY_DESTINATION_ACCOUNT_HOLDER_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INVALID_FIELDS
public static final String JSON_PROPERTY_INVALID_FIELDS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_REFERENCE
public static final String JSON_PROPERTY_MERCHANT_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SOURCE_ACCOUNT_CODE
public static final String JSON_PROPERTY_SOURCE_ACCOUNT_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SOURCE_ACCOUNT_HOLDER_CODE
public static final String JSON_PROPERTY_SOURCE_ACCOUNT_HOLDER_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRANSFER_DATE
public static final String JSON_PROPERTY_TRANSFER_DATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
destinationAccountCode
public BeneficiarySetupNotificationContent destinationAccountCode(String destinationAccountCode)
-
getDestinationAccountCode
public String getDestinationAccountCode()
The code of the beneficiary account.- Returns:
- destinationAccountCode
-
setDestinationAccountCode
public void setDestinationAccountCode(String destinationAccountCode)
-
destinationAccountHolderCode
public BeneficiarySetupNotificationContent destinationAccountHolderCode(String destinationAccountHolderCode)
-
getDestinationAccountHolderCode
public String getDestinationAccountHolderCode()
The code of the beneficiary Account Holder.- Returns:
- destinationAccountHolderCode
-
setDestinationAccountHolderCode
public void setDestinationAccountHolderCode(String destinationAccountHolderCode)
-
invalidFields
public BeneficiarySetupNotificationContent invalidFields(List<ErrorFieldType> invalidFields)
-
addInvalidFieldsItem
public BeneficiarySetupNotificationContent addInvalidFieldsItem(ErrorFieldType invalidFieldsItem)
-
getInvalidFields
public List<ErrorFieldType> getInvalidFields()
A listing of the invalid fields which have caused the Setup Beneficiary request to fail. If this is empty, the Setup Beneficiary request has succeeded.- Returns:
- invalidFields
-
setInvalidFields
public void setInvalidFields(List<ErrorFieldType> invalidFields)
-
merchantReference
public BeneficiarySetupNotificationContent merchantReference(String merchantReference)
-
getMerchantReference
public String getMerchantReference()
The reference provided by the merchant.- Returns:
- merchantReference
-
setMerchantReference
public void setMerchantReference(String merchantReference)
-
sourceAccountCode
public BeneficiarySetupNotificationContent sourceAccountCode(String sourceAccountCode)
-
getSourceAccountCode
public String getSourceAccountCode()
The code of the benefactor account.- Returns:
- sourceAccountCode
-
setSourceAccountCode
public void setSourceAccountCode(String sourceAccountCode)
-
sourceAccountHolderCode
public BeneficiarySetupNotificationContent sourceAccountHolderCode(String sourceAccountHolderCode)
-
getSourceAccountHolderCode
public String getSourceAccountHolderCode()
The code of the benefactor Account Holder.- Returns:
- sourceAccountHolderCode
-
setSourceAccountHolderCode
public void setSourceAccountHolderCode(String sourceAccountHolderCode)
-
transferDate
public BeneficiarySetupNotificationContent transferDate(OffsetDateTime transferDate)
-
getTransferDate
public OffsetDateTime getTransferDate()
The date on which the beneficiary was set up and funds transferred from benefactor to beneficiary.- Returns:
- transferDate
-
setTransferDate
public void setTransferDate(OffsetDateTime transferDate)
-
equals
public boolean equals(Object o)
Return true if this BeneficiarySetupNotificationContent object is equal to o.
-
fromJson
public static BeneficiarySetupNotificationContent fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of BeneficiarySetupNotificationContent given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BeneficiarySetupNotificationContent
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to BeneficiarySetupNotificationContent
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of BeneficiarySetupNotificationContent to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-