Class CompensateNegativeBalanceNotificationContent
- java.lang.Object
-
- com.adyen.model.marketpaywebhooks.CompensateNegativeBalanceNotificationContent
-
public class CompensateNegativeBalanceNotificationContent extends Object
CompensateNegativeBalanceNotificationContent
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_RECORDS
-
Constructor Summary
Constructors Constructor Description CompensateNegativeBalanceNotificationContent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CompensateNegativeBalanceNotificationContentaddRecordsItem(CompensateNegativeBalanceNotificationRecord recordsItem)booleanequals(Object o)Return true if this CompensateNegativeBalanceNotificationContent object is equal to o.static CompensateNegativeBalanceNotificationContentfromJson(String jsonString)Create an instance of CompensateNegativeBalanceNotificationContent given an JSON stringList<CompensateNegativeBalanceNotificationRecord>getRecords()A list of the negative balances compensated.inthashCode()CompensateNegativeBalanceNotificationContentrecords(List<CompensateNegativeBalanceNotificationRecord> records)voidsetRecords(List<CompensateNegativeBalanceNotificationRecord> records)StringtoJson()Convert an instance of CompensateNegativeBalanceNotificationContent to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_RECORDS
public static final String JSON_PROPERTY_RECORDS
- See Also:
- Constant Field Values
-
-
Method Detail
-
records
public CompensateNegativeBalanceNotificationContent records(List<CompensateNegativeBalanceNotificationRecord> records)
-
addRecordsItem
public CompensateNegativeBalanceNotificationContent addRecordsItem(CompensateNegativeBalanceNotificationRecord recordsItem)
-
getRecords
public List<CompensateNegativeBalanceNotificationRecord> getRecords()
A list of the negative balances compensated.- Returns:
- records
-
setRecords
public void setRecords(List<CompensateNegativeBalanceNotificationRecord> records)
-
equals
public boolean equals(Object o)
Return true if this CompensateNegativeBalanceNotificationContent object is equal to o.
-
fromJson
public static CompensateNegativeBalanceNotificationContent fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of CompensateNegativeBalanceNotificationContent given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CompensateNegativeBalanceNotificationContent
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to CompensateNegativeBalanceNotificationContent
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of CompensateNegativeBalanceNotificationContent to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-