Class CompensateNegativeBalanceNotificationRecord
- java.lang.Object
-
- com.adyen.model.marketpaywebhooks.CompensateNegativeBalanceNotificationRecord
-
public class CompensateNegativeBalanceNotificationRecord extends Object
CompensateNegativeBalanceNotificationRecord
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_CODEstatic StringJSON_PROPERTY_AMOUNTstatic StringJSON_PROPERTY_TRANSFER_DATE
-
Constructor Summary
Constructors Constructor Description CompensateNegativeBalanceNotificationRecord()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CompensateNegativeBalanceNotificationRecordaccountCode(String accountCode)CompensateNegativeBalanceNotificationRecordamount(Amount amount)booleanequals(Object o)Return true if this CompensateNegativeBalanceNotificationRecord object is equal to o.static CompensateNegativeBalanceNotificationRecordfromJson(String jsonString)Create an instance of CompensateNegativeBalanceNotificationRecord given an JSON stringStringgetAccountCode()The code of the account whose negative balance has been compensated.AmountgetAmount()Get amountOffsetDateTimegetTransferDate()The date on which the compensation took place.inthashCode()voidsetAccountCode(String accountCode)voidsetAmount(Amount amount)voidsetTransferDate(OffsetDateTime transferDate)StringtoJson()Convert an instance of CompensateNegativeBalanceNotificationRecord to an JSON stringStringtoString()CompensateNegativeBalanceNotificationRecordtransferDate(OffsetDateTime transferDate)
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_CODE
public static final String JSON_PROPERTY_ACCOUNT_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AMOUNT
public static final String JSON_PROPERTY_AMOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRANSFER_DATE
public static final String JSON_PROPERTY_TRANSFER_DATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountCode
public CompensateNegativeBalanceNotificationRecord accountCode(String accountCode)
-
getAccountCode
public String getAccountCode()
The code of the account whose negative balance has been compensated.- Returns:
- accountCode
-
setAccountCode
public void setAccountCode(String accountCode)
-
amount
public CompensateNegativeBalanceNotificationRecord amount(Amount amount)
-
getAmount
public Amount getAmount()
Get amount- Returns:
- amount
-
setAmount
public void setAmount(Amount amount)
-
transferDate
public CompensateNegativeBalanceNotificationRecord transferDate(OffsetDateTime transferDate)
-
getTransferDate
public OffsetDateTime getTransferDate()
The date on which the compensation took place.- Returns:
- transferDate
-
setTransferDate
public void setTransferDate(OffsetDateTime transferDate)
-
equals
public boolean equals(Object o)
Return true if this CompensateNegativeBalanceNotificationRecord object is equal to o.
-
fromJson
public static CompensateNegativeBalanceNotificationRecord fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of CompensateNegativeBalanceNotificationRecord given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CompensateNegativeBalanceNotificationRecord
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to CompensateNegativeBalanceNotificationRecord
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of CompensateNegativeBalanceNotificationRecord to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-