Package com.adyen.model.balancewebhooks
Class ReleaseBlockedBalanceNotificationData
- java.lang.Object
-
- com.adyen.model.balancewebhooks.ReleaseBlockedBalanceNotificationData
-
public class ReleaseBlockedBalanceNotificationData extends Object
ReleaseBlockedBalanceNotificationData
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_HOLDERstatic StringJSON_PROPERTY_AMOUNTstatic StringJSON_PROPERTY_BALANCE_ACCOUNTstatic StringJSON_PROPERTY_BALANCE_PLATFORMstatic StringJSON_PROPERTY_BATCH_REFERENCEstatic StringJSON_PROPERTY_BLOCKED_BALANCE_AFTERstatic StringJSON_PROPERTY_BLOCKED_BALANCE_BEFOREstatic StringJSON_PROPERTY_CREATION_DATEstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_VALUE_DATE
-
Constructor Summary
Constructors Constructor Description ReleaseBlockedBalanceNotificationData()ReleaseBlockedBalanceNotificationData(String id)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReleaseBlockedBalanceNotificationDataaccountHolder(ResourceReference accountHolder)accountHolderReleaseBlockedBalanceNotificationDataamount(Amount amount)amountReleaseBlockedBalanceNotificationDatabalanceAccount(ResourceReference balanceAccount)balanceAccountReleaseBlockedBalanceNotificationDatabalancePlatform(String balancePlatform)The unique identifier of the balance platform.ReleaseBlockedBalanceNotificationDatabatchReference(String batchReference)The reference of the batch that was released.ReleaseBlockedBalanceNotificationDatablockedBalanceAfter(Amount blockedBalanceAfter)blockedBalanceAfterReleaseBlockedBalanceNotificationDatablockedBalanceBefore(Amount blockedBalanceBefore)blockedBalanceBeforeReleaseBlockedBalanceNotificationDatacreationDate(OffsetDateTime creationDate)The date and time when the event was triggered, in ISO 8601 extended format.booleanequals(Object o)Return true if this ReleaseBlockedBalanceNotificationData object is equal to o.static ReleaseBlockedBalanceNotificationDatafromJson(String jsonString)Create an instance of ReleaseBlockedBalanceNotificationData given an JSON stringResourceReferencegetAccountHolder()Get accountHolderAmountgetAmount()Get amountResourceReferencegetBalanceAccount()Get balanceAccountStringgetBalancePlatform()The unique identifier of the balance platform.StringgetBatchReference()The reference of the batch that was released.AmountgetBlockedBalanceAfter()Get blockedBalanceAfterAmountgetBlockedBalanceBefore()Get blockedBalanceBeforeOffsetDateTimegetCreationDate()The date and time when the event was triggered, in ISO 8601 extended format.StringgetId()The ID of the resource.OffsetDateTimegetValueDate()The date and time when the amount was released, in ISO 8601 extended format.inthashCode()voidsetAccountHolder(ResourceReference accountHolder)accountHoldervoidsetAmount(Amount amount)amountvoidsetBalanceAccount(ResourceReference balanceAccount)balanceAccountvoidsetBalancePlatform(String balancePlatform)The unique identifier of the balance platform.voidsetBatchReference(String batchReference)The reference of the batch that was released.voidsetBlockedBalanceAfter(Amount blockedBalanceAfter)blockedBalanceAftervoidsetBlockedBalanceBefore(Amount blockedBalanceBefore)blockedBalanceBeforevoidsetCreationDate(OffsetDateTime creationDate)The date and time when the event was triggered, in ISO 8601 extended format.voidsetValueDate(OffsetDateTime valueDate)The date and time when the amount was released, in ISO 8601 extended format.StringtoJson()Convert an instance of ReleaseBlockedBalanceNotificationData to an JSON stringStringtoString()ReleaseBlockedBalanceNotificationDatavalueDate(OffsetDateTime valueDate)The date and time when the amount was released, in ISO 8601 extended format.
-
-
-
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_ACCOUNT
public static final String JSON_PROPERTY_BALANCE_ACCOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BALANCE_PLATFORM
public static final String JSON_PROPERTY_BALANCE_PLATFORM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BATCH_REFERENCE
public static final String JSON_PROPERTY_BATCH_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BLOCKED_BALANCE_AFTER
public static final String JSON_PROPERTY_BLOCKED_BALANCE_AFTER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BLOCKED_BALANCE_BEFORE
public static final String JSON_PROPERTY_BLOCKED_BALANCE_BEFORE
- 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_VALUE_DATE
public static final String JSON_PROPERTY_VALUE_DATE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ReleaseBlockedBalanceNotificationData
public ReleaseBlockedBalanceNotificationData()
-
ReleaseBlockedBalanceNotificationData
public ReleaseBlockedBalanceNotificationData(String id)
-
-
Method Detail
-
accountHolder
public ReleaseBlockedBalanceNotificationData accountHolder(ResourceReference accountHolder)
accountHolder- Parameters:
accountHolder-- Returns:
- the current
ReleaseBlockedBalanceNotificationDatainstance, allowing for method chaining
-
getAccountHolder
public ResourceReference getAccountHolder()
Get accountHolder- Returns:
- accountHolder
-
setAccountHolder
public void setAccountHolder(ResourceReference accountHolder)
accountHolder- Parameters:
accountHolder-
-
amount
public ReleaseBlockedBalanceNotificationData amount(Amount amount)
amount- Parameters:
amount-- Returns:
- the current
ReleaseBlockedBalanceNotificationDatainstance, allowing for method chaining
-
getAmount
public Amount getAmount()
Get amount- Returns:
- amount
-
setAmount
public void setAmount(Amount amount)
amount- Parameters:
amount-
-
balanceAccount
public ReleaseBlockedBalanceNotificationData balanceAccount(ResourceReference balanceAccount)
balanceAccount- Parameters:
balanceAccount-- Returns:
- the current
ReleaseBlockedBalanceNotificationDatainstance, allowing for method chaining
-
getBalanceAccount
public ResourceReference getBalanceAccount()
Get balanceAccount- Returns:
- balanceAccount
-
setBalanceAccount
public void setBalanceAccount(ResourceReference balanceAccount)
balanceAccount- Parameters:
balanceAccount-
-
balancePlatform
public ReleaseBlockedBalanceNotificationData balancePlatform(String balancePlatform)
The unique identifier of the balance platform.- Parameters:
balancePlatform- The unique identifier of the balance platform.- Returns:
- the current
ReleaseBlockedBalanceNotificationDatainstance, allowing for method chaining
-
getBalancePlatform
public String getBalancePlatform()
The unique identifier of the balance platform.- Returns:
- balancePlatform The unique identifier of the balance platform.
-
setBalancePlatform
public void setBalancePlatform(String balancePlatform)
The unique identifier of the balance platform.- Parameters:
balancePlatform- The unique identifier of the balance platform.
-
batchReference
public ReleaseBlockedBalanceNotificationData batchReference(String batchReference)
The reference of the batch that was released.- Parameters:
batchReference- The reference of the batch that was released.- Returns:
- the current
ReleaseBlockedBalanceNotificationDatainstance, allowing for method chaining
-
getBatchReference
public String getBatchReference()
The reference of the batch that was released.- Returns:
- batchReference The reference of the batch that was released.
-
setBatchReference
public void setBatchReference(String batchReference)
The reference of the batch that was released.- Parameters:
batchReference- The reference of the batch that was released.
-
blockedBalanceAfter
public ReleaseBlockedBalanceNotificationData blockedBalanceAfter(Amount blockedBalanceAfter)
blockedBalanceAfter- Parameters:
blockedBalanceAfter-- Returns:
- the current
ReleaseBlockedBalanceNotificationDatainstance, allowing for method chaining
-
getBlockedBalanceAfter
public Amount getBlockedBalanceAfter()
Get blockedBalanceAfter- Returns:
- blockedBalanceAfter
-
setBlockedBalanceAfter
public void setBlockedBalanceAfter(Amount blockedBalanceAfter)
blockedBalanceAfter- Parameters:
blockedBalanceAfter-
-
blockedBalanceBefore
public ReleaseBlockedBalanceNotificationData blockedBalanceBefore(Amount blockedBalanceBefore)
blockedBalanceBefore- Parameters:
blockedBalanceBefore-- Returns:
- the current
ReleaseBlockedBalanceNotificationDatainstance, allowing for method chaining
-
getBlockedBalanceBefore
public Amount getBlockedBalanceBefore()
Get blockedBalanceBefore- Returns:
- blockedBalanceBefore
-
setBlockedBalanceBefore
public void setBlockedBalanceBefore(Amount blockedBalanceBefore)
blockedBalanceBefore- Parameters:
blockedBalanceBefore-
-
creationDate
public ReleaseBlockedBalanceNotificationData creationDate(OffsetDateTime creationDate)
The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**.- Parameters:
creationDate- The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**.- Returns:
- the current
ReleaseBlockedBalanceNotificationDatainstance, allowing for method chaining
-
getCreationDate
public OffsetDateTime getCreationDate()
The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**.- Returns:
- creationDate The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**.
-
setCreationDate
public void setCreationDate(OffsetDateTime creationDate)
The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**.- Parameters:
creationDate- The date and time when the event was triggered, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**.
-
getId
public String getId()
The ID of the resource.- Returns:
- id The ID of the resource.
-
valueDate
public ReleaseBlockedBalanceNotificationData valueDate(OffsetDateTime valueDate)
The date and time when the amount was released, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**.- Parameters:
valueDate- The date and time when the amount was released, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**.- Returns:
- the current
ReleaseBlockedBalanceNotificationDatainstance, allowing for method chaining
-
getValueDate
public OffsetDateTime getValueDate()
The date and time when the amount was released, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**.- Returns:
- valueDate The date and time when the amount was released, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**.
-
setValueDate
public void setValueDate(OffsetDateTime valueDate)
The date and time when the amount was released, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**.- Parameters:
valueDate- The date and time when the amount was released, in ISO 8601 extended format. For example, **2025-03-19T10:15:30+01:00**.
-
equals
public boolean equals(Object o)
Return true if this ReleaseBlockedBalanceNotificationData object is equal to o.
-
fromJson
public static ReleaseBlockedBalanceNotificationData fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of ReleaseBlockedBalanceNotificationData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ReleaseBlockedBalanceNotificationData
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to ReleaseBlockedBalanceNotificationData
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of ReleaseBlockedBalanceNotificationData to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-