Class NegativeBalanceCompensationWarningNotificationData
- java.lang.Object
-
- com.adyen.model.negativebalancewarningwebhooks.NegativeBalanceCompensationWarningNotificationData
-
public class NegativeBalanceCompensationWarningNotificationData extends Object
NegativeBalanceCompensationWarningNotificationData
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_HOLDERstatic StringJSON_PROPERTY_AMOUNTstatic StringJSON_PROPERTY_BALANCE_PLATFORMstatic StringJSON_PROPERTY_CREATION_DATEstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_LIABLE_BALANCE_ACCOUNT_IDstatic StringJSON_PROPERTY_NEGATIVE_BALANCE_SINCEstatic StringJSON_PROPERTY_SCHEDULED_COMPENSATION_AT
-
Constructor Summary
Constructors Constructor Description NegativeBalanceCompensationWarningNotificationData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NegativeBalanceCompensationWarningNotificationDataaccountHolder(ResourceReference accountHolder)accountHolderNegativeBalanceCompensationWarningNotificationDataamount(Amount amount)amountNegativeBalanceCompensationWarningNotificationDatabalancePlatform(String balancePlatform)The unique identifier of the balance platform.NegativeBalanceCompensationWarningNotificationDatacreationDate(OffsetDateTime creationDate)The date and time when the event was triggered, in ISO 8601 extended format.booleanequals(Object o)Return true if this NegativeBalanceCompensationWarningNotificationData object is equal to o.static NegativeBalanceCompensationWarningNotificationDatafromJson(String jsonString)Create an instance of NegativeBalanceCompensationWarningNotificationData given an JSON stringResourceReferencegetAccountHolder()accountHolderAmountgetAmount()amountStringgetBalancePlatform()The unique identifier of the balance platform.OffsetDateTimegetCreationDate()The date and time when the event was triggered, in ISO 8601 extended format.StringgetId()The ID of the resource.StringgetLiableBalanceAccountId()The balance account ID of the account that will be used to compensate the balance account whose balance is negative.OffsetDateTimegetNegativeBalanceSince()The date the balance for the account became negative.OffsetDateTimegetScheduledCompensationAt()The date when a compensation transfer to the account is scheduled to happen.inthashCode()NegativeBalanceCompensationWarningNotificationDataid(String id)The ID of the resource.NegativeBalanceCompensationWarningNotificationDataliableBalanceAccountId(String liableBalanceAccountId)The balance account ID of the account that will be used to compensate the balance account whose balance is negative.NegativeBalanceCompensationWarningNotificationDatanegativeBalanceSince(OffsetDateTime negativeBalanceSince)The date the balance for the account became negative.NegativeBalanceCompensationWarningNotificationDatascheduledCompensationAt(OffsetDateTime scheduledCompensationAt)The date when a compensation transfer to the account is scheduled to happen.voidsetAccountHolder(ResourceReference accountHolder)accountHoldervoidsetAmount(Amount amount)amountvoidsetBalancePlatform(String balancePlatform)The unique identifier of the balance platform.voidsetCreationDate(OffsetDateTime creationDate)The date and time when the event was triggered, in ISO 8601 extended format.voidsetId(String id)The ID of the resource.voidsetLiableBalanceAccountId(String liableBalanceAccountId)The balance account ID of the account that will be used to compensate the balance account whose balance is negative.voidsetNegativeBalanceSince(OffsetDateTime negativeBalanceSince)The date the balance for the account became negative.voidsetScheduledCompensationAt(OffsetDateTime scheduledCompensationAt)The date when a compensation transfer to the account is scheduled to happen.StringtoJson()Convert an instance of NegativeBalanceCompensationWarningNotificationData to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_HOLDER
public static final String JSON_PROPERTY_ACCOUNT_HOLDER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AMOUNT
public static final String JSON_PROPERTY_AMOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BALANCE_PLATFORM
public static final String JSON_PROPERTY_BALANCE_PLATFORM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CREATION_DATE
public static final String JSON_PROPERTY_CREATION_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LIABLE_BALANCE_ACCOUNT_ID
public static final String JSON_PROPERTY_LIABLE_BALANCE_ACCOUNT_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NEGATIVE_BALANCE_SINCE
public static final String JSON_PROPERTY_NEGATIVE_BALANCE_SINCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SCHEDULED_COMPENSATION_AT
public static final String JSON_PROPERTY_SCHEDULED_COMPENSATION_AT
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountHolder
public NegativeBalanceCompensationWarningNotificationData accountHolder(ResourceReference accountHolder)
accountHolder- Parameters:
accountHolder-- Returns:
- the current
NegativeBalanceCompensationWarningNotificationDatainstance, allowing for method chaining
-
getAccountHolder
public ResourceReference getAccountHolder()
accountHolder- Returns:
- accountHolder
-
setAccountHolder
public void setAccountHolder(ResourceReference accountHolder)
accountHolder- Parameters:
accountHolder-
-
amount
public NegativeBalanceCompensationWarningNotificationData amount(Amount amount)
amount- Parameters:
amount-- Returns:
- the current
NegativeBalanceCompensationWarningNotificationDatainstance, allowing for method chaining
-
getAmount
public Amount getAmount()
amount- Returns:
- amount
-
setAmount
public void setAmount(Amount amount)
amount- Parameters:
amount-
-
balancePlatform
public NegativeBalanceCompensationWarningNotificationData balancePlatform(String balancePlatform)
The unique identifier of the balance platform.- Parameters:
balancePlatform-- Returns:
- the current
NegativeBalanceCompensationWarningNotificationDatainstance, allowing for method chaining
-
getBalancePlatform
public String getBalancePlatform()
The unique identifier of the balance platform.- Returns:
- balancePlatform
-
setBalancePlatform
public void setBalancePlatform(String balancePlatform)
The unique identifier of the balance platform.- Parameters:
balancePlatform-
-
creationDate
public NegativeBalanceCompensationWarningNotificationData creationDate(OffsetDateTime creationDate)
The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**.- Parameters:
creationDate-- Returns:
- the current
NegativeBalanceCompensationWarningNotificationDatainstance, allowing for method chaining
-
getCreationDate
public OffsetDateTime getCreationDate()
The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**.- Returns:
- creationDate
-
setCreationDate
public void setCreationDate(OffsetDateTime creationDate)
The date and time when the event was triggered, in ISO 8601 extended format. For example, **2020-12-18T10:15:30+01:00**.- Parameters:
creationDate-
-
id
public NegativeBalanceCompensationWarningNotificationData id(String id)
The ID of the resource.- Parameters:
id-- Returns:
- the current
NegativeBalanceCompensationWarningNotificationDatainstance, allowing for method chaining
-
getId
public String getId()
The ID of the resource.- Returns:
- id
-
setId
public void setId(String id)
The ID of the resource.- Parameters:
id-
-
liableBalanceAccountId
public NegativeBalanceCompensationWarningNotificationData liableBalanceAccountId(String liableBalanceAccountId)
The balance account ID of the account that will be used to compensate the balance account whose balance is negative.- Parameters:
liableBalanceAccountId-- Returns:
- the current
NegativeBalanceCompensationWarningNotificationDatainstance, allowing for method chaining
-
getLiableBalanceAccountId
public String getLiableBalanceAccountId()
The balance account ID of the account that will be used to compensate the balance account whose balance is negative.- Returns:
- liableBalanceAccountId
-
setLiableBalanceAccountId
public void setLiableBalanceAccountId(String liableBalanceAccountId)
The balance account ID of the account that will be used to compensate the balance account whose balance is negative.- Parameters:
liableBalanceAccountId-
-
negativeBalanceSince
public NegativeBalanceCompensationWarningNotificationData negativeBalanceSince(OffsetDateTime negativeBalanceSince)
The date the balance for the account became negative.- Parameters:
negativeBalanceSince-- Returns:
- the current
NegativeBalanceCompensationWarningNotificationDatainstance, allowing for method chaining
-
getNegativeBalanceSince
public OffsetDateTime getNegativeBalanceSince()
The date the balance for the account became negative.- Returns:
- negativeBalanceSince
-
setNegativeBalanceSince
public void setNegativeBalanceSince(OffsetDateTime negativeBalanceSince)
The date the balance for the account became negative.- Parameters:
negativeBalanceSince-
-
scheduledCompensationAt
public NegativeBalanceCompensationWarningNotificationData scheduledCompensationAt(OffsetDateTime scheduledCompensationAt)
The date when a compensation transfer to the account is scheduled to happen.- Parameters:
scheduledCompensationAt-- Returns:
- the current
NegativeBalanceCompensationWarningNotificationDatainstance, allowing for method chaining
-
getScheduledCompensationAt
public OffsetDateTime getScheduledCompensationAt()
The date when a compensation transfer to the account is scheduled to happen.- Returns:
- scheduledCompensationAt
-
setScheduledCompensationAt
public void setScheduledCompensationAt(OffsetDateTime scheduledCompensationAt)
The date when a compensation transfer to the account is scheduled to happen.- Parameters:
scheduledCompensationAt-
-
equals
public boolean equals(Object o)
Return true if this NegativeBalanceCompensationWarningNotificationData object is equal to o.
-
fromJson
public static NegativeBalanceCompensationWarningNotificationData fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of NegativeBalanceCompensationWarningNotificationData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of NegativeBalanceCompensationWarningNotificationData
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to NegativeBalanceCompensationWarningNotificationData
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of NegativeBalanceCompensationWarningNotificationData to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-