Package com.adyen.model.marketpayaccount
Class PayoutScheduleResponse
- java.lang.Object
-
- com.adyen.model.marketpayaccount.PayoutScheduleResponse
-
public class PayoutScheduleResponse extends Object
PayoutScheduleResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPayoutScheduleResponse.ScheduleEnumThe payout schedule of the account.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_NEXT_SCHEDULED_PAYOUTstatic StringJSON_PROPERTY_SCHEDULE
-
Constructor Summary
Constructors Constructor Description PayoutScheduleResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this PayoutScheduleResponse object is equal to o.static PayoutScheduleResponsefromJson(String jsonString)Create an instance of PayoutScheduleResponse given an JSON stringOffsetDateTimegetNextScheduledPayout()The date of the next scheduled payout.PayoutScheduleResponse.ScheduleEnumgetSchedule()The payout schedule of the account.inthashCode()PayoutScheduleResponsenextScheduledPayout(OffsetDateTime nextScheduledPayout)PayoutScheduleResponseschedule(PayoutScheduleResponse.ScheduleEnum schedule)voidsetNextScheduledPayout(OffsetDateTime nextScheduledPayout)voidsetSchedule(PayoutScheduleResponse.ScheduleEnum schedule)StringtoJson()Convert an instance of PayoutScheduleResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_NEXT_SCHEDULED_PAYOUT
public static final String JSON_PROPERTY_NEXT_SCHEDULED_PAYOUT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SCHEDULE
public static final String JSON_PROPERTY_SCHEDULE
- See Also:
- Constant Field Values
-
-
Method Detail
-
nextScheduledPayout
public PayoutScheduleResponse nextScheduledPayout(OffsetDateTime nextScheduledPayout)
-
getNextScheduledPayout
public OffsetDateTime getNextScheduledPayout()
The date of the next scheduled payout.- Returns:
- nextScheduledPayout
-
setNextScheduledPayout
public void setNextScheduledPayout(OffsetDateTime nextScheduledPayout)
-
schedule
public PayoutScheduleResponse schedule(PayoutScheduleResponse.ScheduleEnum schedule)
-
getSchedule
public PayoutScheduleResponse.ScheduleEnum getSchedule()
The payout schedule of the account. Permitted values: `DEFAULT`, `DAILY`, `DAILY_US`, `DAILY_EU`, `DAILY_AU`, `DAILY_SG`, `WEEKLY`, `WEEKLY_ON_TUE_FRI_MIDNIGHT`, `BIWEEKLY_ON_1ST_AND_15TH_AT_MIDNIGHT`, `MONTHLY`, `HOLD`.- Returns:
- schedule
-
setSchedule
public void setSchedule(PayoutScheduleResponse.ScheduleEnum schedule)
-
equals
public boolean equals(Object o)
Return true if this PayoutScheduleResponse object is equal to o.
-
fromJson
public static PayoutScheduleResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PayoutScheduleResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PayoutScheduleResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PayoutScheduleResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PayoutScheduleResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-