Package io.moov.sdk.models.components
Class Recur
- java.lang.Object
-
- io.moov.sdk.models.components.Recur
-
public class Recur extends java.lang.ObjectRecurDefines configuration for recurring transfers.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRecur.Builder
-
Constructor Summary
Constructors Constructor Description Recur(java.lang.String recurrenceRule, RunTransfer runTransfer)Recur(java.lang.String recurrenceRule, RunTransfer runTransfer, java.util.Optional<java.lang.Boolean> indefinite, java.util.Optional<java.time.OffsetDateTime> start)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Recur.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()java.util.Optional<java.lang.Boolean>indefinite()True if the RRule set runs indefinitely.java.lang.StringrecurrenceRule()RRule as defined by RFC 5545 (https://www.rfc-editor.org/rfc/rfc5545#section-3.3.10).RunTransferrunTransfer()Defines the attributes of a transfer.java.util.Optional<java.time.OffsetDateTime>start()java.lang.StringtoString()RecurwithIndefinite(boolean indefinite)True if the RRule set runs indefinitely.RecurwithIndefinite(java.util.Optional<java.lang.Boolean> indefinite)True if the RRule set runs indefinitely.RecurwithRecurrenceRule(java.lang.String recurrenceRule)RRule as defined by RFC 5545 (https://www.rfc-editor.org/rfc/rfc5545#section-3.3.10).RecurwithRunTransfer(RunTransfer runTransfer)Defines the attributes of a transfer.RecurwithStart(java.time.OffsetDateTime start)RecurwithStart(java.util.Optional<java.time.OffsetDateTime> start)
-
-
-
Constructor Detail
-
Recur
public Recur(java.lang.String recurrenceRule, RunTransfer runTransfer, java.util.Optional<java.lang.Boolean> indefinite, java.util.Optional<java.time.OffsetDateTime> start)
-
Recur
public Recur(java.lang.String recurrenceRule, RunTransfer runTransfer)
-
-
Method Detail
-
recurrenceRule
public java.lang.String recurrenceRule()
RRule as defined by RFC 5545 (https://www.rfc-editor.org/rfc/rfc5545#section-3.3.10). Generators available online at the following sites - https://freetools.textmagic.com/rrule-generator, https://jkbrzt.github.io/rrule/
-
runTransfer
public RunTransfer runTransfer()
Defines the attributes of a transfer.
-
indefinite
public java.util.Optional<java.lang.Boolean> indefinite()
True if the RRule set runs indefinitely.
-
start
public java.util.Optional<java.time.OffsetDateTime> start()
-
builder
public static final Recur.Builder builder()
-
withRecurrenceRule
public Recur withRecurrenceRule(java.lang.String recurrenceRule)
RRule as defined by RFC 5545 (https://www.rfc-editor.org/rfc/rfc5545#section-3.3.10). Generators available online at the following sites - https://freetools.textmagic.com/rrule-generator, https://jkbrzt.github.io/rrule/
-
withRunTransfer
public Recur withRunTransfer(RunTransfer runTransfer)
Defines the attributes of a transfer.
-
withIndefinite
public Recur withIndefinite(boolean indefinite)
True if the RRule set runs indefinitely.
-
withIndefinite
public Recur withIndefinite(java.util.Optional<java.lang.Boolean> indefinite)
True if the RRule set runs indefinitely.
-
withStart
public Recur withStart(java.time.OffsetDateTime start)
-
withStart
public Recur withStart(java.util.Optional<java.time.OffsetDateTime> start)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-