Class ScheduledRefundsNotificationContent
- java.lang.Object
-
- com.adyen.model.marketpaywebhooks.ScheduledRefundsNotificationContent
-
public class ScheduledRefundsNotificationContent extends Object
ScheduledRefundsNotificationContent
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_CODEstatic StringJSON_PROPERTY_ACCOUNT_HOLDER_CODEstatic StringJSON_PROPERTY_INVALID_FIELDSstatic StringJSON_PROPERTY_LAST_PAYOUTstatic StringJSON_PROPERTY_REFUND_RESULTS
-
Constructor Summary
Constructors Constructor Description ScheduledRefundsNotificationContent()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_CODE
public static final String JSON_PROPERTY_ACCOUNT_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ACCOUNT_HOLDER_CODE
public static final String JSON_PROPERTY_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_LAST_PAYOUT
public static final String JSON_PROPERTY_LAST_PAYOUT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REFUND_RESULTS
public static final String JSON_PROPERTY_REFUND_RESULTS
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountCode
public ScheduledRefundsNotificationContent accountCode(String accountCode)
-
getAccountCode
public String getAccountCode()
The code of the account.- Returns:
- accountCode
-
setAccountCode
public void setAccountCode(String accountCode)
-
accountHolderCode
public ScheduledRefundsNotificationContent accountHolderCode(String accountHolderCode)
-
getAccountHolderCode
public String getAccountHolderCode()
The code of the Account Holder.- Returns:
- accountHolderCode
-
setAccountHolderCode
public void setAccountHolderCode(String accountHolderCode)
-
invalidFields
public ScheduledRefundsNotificationContent invalidFields(List<ErrorFieldType> invalidFields)
-
addInvalidFieldsItem
public ScheduledRefundsNotificationContent addInvalidFieldsItem(ErrorFieldType invalidFieldsItem)
-
getInvalidFields
public List<ErrorFieldType> getInvalidFields()
Invalid fields list.- Returns:
- invalidFields
-
setInvalidFields
public void setInvalidFields(List<ErrorFieldType> invalidFields)
-
lastPayout
public ScheduledRefundsNotificationContent lastPayout(Transaction lastPayout)
-
getLastPayout
public Transaction getLastPayout()
Get lastPayout- Returns:
- lastPayout
-
setLastPayout
public void setLastPayout(Transaction lastPayout)
-
refundResults
public ScheduledRefundsNotificationContent refundResults(List<RefundResult> refundResults)
-
addRefundResultsItem
public ScheduledRefundsNotificationContent addRefundResultsItem(RefundResult refundResultsItem)
-
getRefundResults
public List<RefundResult> getRefundResults()
A list of the refunds that have been scheduled and their results.- Returns:
- refundResults
-
setRefundResults
public void setRefundResults(List<RefundResult> refundResults)
-
equals
public boolean equals(Object o)
Return true if this ScheduledRefundsNotificationContent object is equal to o.
-
fromJson
public static ScheduledRefundsNotificationContent fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of ScheduledRefundsNotificationContent given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ScheduledRefundsNotificationContent
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to ScheduledRefundsNotificationContent
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of ScheduledRefundsNotificationContent to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-