Class SweepSchedule


  • public class SweepSchedule
    extends Object
    SweepSchedule
    • Constructor Detail

      • SweepSchedule

        public SweepSchedule()
    • Method Detail

      • getType

        public SweepSchedule.TypeEnum getType()
        The schedule type. Possible values: * **cron**: push out funds based on a cron expression. * **daily**: push out funds daily at 07:00 AM CET. * **weekly**: push out funds every Monday at 07:00 AM CET. * **monthly**: push out funds every first of the month at 07:00 AM CET. * **balance**: pull in funds instantly if the balance is less than or equal to the `triggerAmount`. You can only use this for sweeps of `type` **pull** and when the source is a `merchantAccount` or `transferInstrument`.If the source is transferInstrument, merchant account identifier is still required, with which you want to process the transaction.
        Returns:
        type
      • equals

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

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static SweepSchedule fromJson​(String jsonString)
                                      throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of SweepSchedule given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of SweepSchedule
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to SweepSchedule
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of SweepSchedule to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException