Class PayoutStateWebhookData
- java.lang.Object
-
- com.adyen.model.configurationwebhooks.PayoutStateWebhookData
-
public class PayoutStateWebhookData extends Object
PayoutStateWebhookData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPayoutStateWebhookData.ResultEnumThe result of the execution.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BALANCE_ACCOUNT_IDstatic StringJSON_PROPERTY_BALANCE_ACCOUNT_PAYOUT_SCHEDULE_IDstatic StringJSON_PROPERTY_BALANCE_PLATFORMstatic StringJSON_PROPERTY_RESULTstatic StringJSON_PROPERTY_RESULT_DETAILSstatic StringJSON_PROPERTY_TRIGGERED_AT
-
Constructor Summary
Constructors Constructor Description PayoutStateWebhookData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PayoutStateWebhookDatabalanceAccountId(String balanceAccountId)The unique identifier of the balance account from which the payout is initiated.PayoutStateWebhookDatabalanceAccountPayoutScheduleId(String balanceAccountPayoutScheduleId)The unique identifier of the managed payout schedule.PayoutStateWebhookDatabalancePlatform(String balancePlatform)The unique identifier of the balance platform.booleanequals(Object o)Return true if this PayoutStateWebhookData object is equal to o.static PayoutStateWebhookDatafromJson(String jsonString)Create an instance of PayoutStateWebhookData given an JSON stringStringgetBalanceAccountId()The unique identifier of the balance account from which the payout is initiated.StringgetBalanceAccountPayoutScheduleId()The unique identifier of the managed payout schedule.StringgetBalancePlatform()The unique identifier of the balance platform.PayoutStateWebhookData.ResultEnumgetResult()The result of the execution.ResultDetailsgetResultDetails()Get resultDetailsOffsetDateTimegetTriggeredAt()The timestamp of the moment when the execution was triggered.inthashCode()PayoutStateWebhookDataresult(PayoutStateWebhookData.ResultEnum result)The result of the execution.PayoutStateWebhookDataresultDetails(ResultDetails resultDetails)resultDetailsvoidsetBalanceAccountId(String balanceAccountId)The unique identifier of the balance account from which the payout is initiated.voidsetBalanceAccountPayoutScheduleId(String balanceAccountPayoutScheduleId)The unique identifier of the managed payout schedule.voidsetBalancePlatform(String balancePlatform)The unique identifier of the balance platform.voidsetResult(PayoutStateWebhookData.ResultEnum result)The result of the execution.voidsetResultDetails(ResultDetails resultDetails)resultDetailsvoidsetTriggeredAt(OffsetDateTime triggeredAt)The timestamp of the moment when the execution was triggered.StringtoJson()Convert an instance of PayoutStateWebhookData to an JSON stringStringtoString()PayoutStateWebhookDatatriggeredAt(OffsetDateTime triggeredAt)The timestamp of the moment when the execution was triggered.
-
-
-
Field Detail
-
JSON_PROPERTY_BALANCE_ACCOUNT_ID
public static final String JSON_PROPERTY_BALANCE_ACCOUNT_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BALANCE_ACCOUNT_PAYOUT_SCHEDULE_ID
public static final String JSON_PROPERTY_BALANCE_ACCOUNT_PAYOUT_SCHEDULE_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BALANCE_PLATFORM
public static final String JSON_PROPERTY_BALANCE_PLATFORM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RESULT
public static final String JSON_PROPERTY_RESULT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RESULT_DETAILS
public static final String JSON_PROPERTY_RESULT_DETAILS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRIGGERED_AT
public static final String JSON_PROPERTY_TRIGGERED_AT
- See Also:
- Constant Field Values
-
-
Method Detail
-
balanceAccountId
public PayoutStateWebhookData balanceAccountId(String balanceAccountId)
The unique identifier of the balance account from which the payout is initiated.- Parameters:
balanceAccountId- The unique identifier of the balance account from which the payout is initiated.- Returns:
- the current
PayoutStateWebhookDatainstance, allowing for method chaining
-
getBalanceAccountId
public String getBalanceAccountId()
The unique identifier of the balance account from which the payout is initiated.- Returns:
- balanceAccountId The unique identifier of the balance account from which the payout is initiated.
-
setBalanceAccountId
public void setBalanceAccountId(String balanceAccountId)
The unique identifier of the balance account from which the payout is initiated.- Parameters:
balanceAccountId- The unique identifier of the balance account from which the payout is initiated.
-
balanceAccountPayoutScheduleId
public PayoutStateWebhookData balanceAccountPayoutScheduleId(String balanceAccountPayoutScheduleId)
The unique identifier of the managed payout schedule.- Parameters:
balanceAccountPayoutScheduleId- The unique identifier of the managed payout schedule.- Returns:
- the current
PayoutStateWebhookDatainstance, allowing for method chaining
-
getBalanceAccountPayoutScheduleId
public String getBalanceAccountPayoutScheduleId()
The unique identifier of the managed payout schedule.- Returns:
- balanceAccountPayoutScheduleId The unique identifier of the managed payout schedule.
-
setBalanceAccountPayoutScheduleId
public void setBalanceAccountPayoutScheduleId(String balanceAccountPayoutScheduleId)
The unique identifier of the managed payout schedule.- Parameters:
balanceAccountPayoutScheduleId- The unique identifier of the managed payout schedule.
-
balancePlatform
public PayoutStateWebhookData balancePlatform(String balancePlatform)
The unique identifier of the balance platform.- Parameters:
balancePlatform- The unique identifier of the balance platform.- Returns:
- the current
PayoutStateWebhookDatainstance, 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.
-
result
public PayoutStateWebhookData result(PayoutStateWebhookData.ResultEnum result)
The result of the execution.- Parameters:
result- The result of the execution.- Returns:
- the current
PayoutStateWebhookDatainstance, allowing for method chaining
-
getResult
public PayoutStateWebhookData.ResultEnum getResult()
The result of the execution.- Returns:
- result The result of the execution.
-
setResult
public void setResult(PayoutStateWebhookData.ResultEnum result)
The result of the execution.- Parameters:
result- The result of the execution.
-
resultDetails
public PayoutStateWebhookData resultDetails(ResultDetails resultDetails)
resultDetails- Parameters:
resultDetails-- Returns:
- the current
PayoutStateWebhookDatainstance, allowing for method chaining
-
getResultDetails
public ResultDetails getResultDetails()
Get resultDetails- Returns:
- resultDetails
-
setResultDetails
public void setResultDetails(ResultDetails resultDetails)
resultDetails- Parameters:
resultDetails-
-
triggeredAt
public PayoutStateWebhookData triggeredAt(OffsetDateTime triggeredAt)
The timestamp of the moment when the execution was triggered.- Parameters:
triggeredAt- The timestamp of the moment when the execution was triggered.- Returns:
- the current
PayoutStateWebhookDatainstance, allowing for method chaining
-
getTriggeredAt
public OffsetDateTime getTriggeredAt()
The timestamp of the moment when the execution was triggered.- Returns:
- triggeredAt The timestamp of the moment when the execution was triggered.
-
setTriggeredAt
public void setTriggeredAt(OffsetDateTime triggeredAt)
The timestamp of the moment when the execution was triggered.- Parameters:
triggeredAt- The timestamp of the moment when the execution was triggered.
-
equals
public boolean equals(Object o)
Return true if this PayoutStateWebhookData object is equal to o.
-
fromJson
public static PayoutStateWebhookData fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PayoutStateWebhookData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PayoutStateWebhookData
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PayoutStateWebhookData
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PayoutStateWebhookData to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-