Class PayoutScheduleResponse


  • public class PayoutScheduleResponse
    extends Object
    PayoutScheduleResponse
    • Constructor Detail

      • PayoutScheduleResponse

        public PayoutScheduleResponse()
    • Method Detail

      • getNextScheduledPayout

        public OffsetDateTime getNextScheduledPayout()
        The date of the next scheduled payout.
        Returns:
        nextScheduledPayout
      • setNextScheduledPayout

        public void setNextScheduledPayout​(OffsetDateTime nextScheduledPayout)
      • 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
      • equals

        public boolean equals​(Object o)
        Return true if this PayoutScheduleResponse object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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