Package io.moov.sdk.models.components
Class ScheduleResponse
- java.lang.Object
-
- io.moov.sdk.models.components.ScheduleResponse
-
public class ScheduleResponse extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScheduleResponse.Builder
-
Constructor Summary
Constructors Constructor Description ScheduleResponse(java.lang.String destinationAccountID, Mode mode, java.lang.String ownerAccountID, java.lang.String partnerAccountID, java.lang.String scheduleID, java.lang.String sourceAccountID, java.time.OffsetDateTime createdOn, java.time.OffsetDateTime updatedOn)ScheduleResponse(java.util.Optional<java.lang.String> description, java.lang.String destinationAccountID, Mode mode, java.util.Optional<? extends java.util.List<OccurrencesResponse>> occurrences, java.lang.String ownerAccountID, java.lang.String partnerAccountID, java.util.Optional<? extends Recur> recur, java.lang.String scheduleID, java.lang.String sourceAccountID, java.time.OffsetDateTime createdOn, java.time.OffsetDateTime updatedOn, java.util.Optional<java.time.OffsetDateTime> disabledOn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScheduleResponse.Builderbuilder()java.time.OffsetDateTimecreatedOn()java.util.Optional<java.lang.String>description()Simple description to place on the transfer.java.lang.StringdestinationAccountID()java.util.Optional<java.time.OffsetDateTime>disabledOn()booleanequals(java.lang.Object o)inthashCode()Modemode()The operating mode for an account.java.util.Optional<java.util.List<OccurrencesResponse>>occurrences()java.lang.StringownerAccountID()java.lang.StringpartnerAccountID()java.util.Optional<Recur>recur()Defines configuration for recurring transfers.java.lang.StringscheduleID()java.lang.StringsourceAccountID()java.lang.StringtoString()java.time.OffsetDateTimeupdatedOn()ScheduleResponsewithCreatedOn(java.time.OffsetDateTime createdOn)ScheduleResponsewithDescription(java.lang.String description)Simple description to place on the transfer.ScheduleResponsewithDescription(java.util.Optional<java.lang.String> description)Simple description to place on the transfer.ScheduleResponsewithDestinationAccountID(java.lang.String destinationAccountID)ScheduleResponsewithDisabledOn(java.time.OffsetDateTime disabledOn)ScheduleResponsewithDisabledOn(java.util.Optional<java.time.OffsetDateTime> disabledOn)ScheduleResponsewithMode(Mode mode)The operating mode for an account.ScheduleResponsewithOccurrences(java.util.List<OccurrencesResponse> occurrences)ScheduleResponsewithOccurrences(java.util.Optional<? extends java.util.List<OccurrencesResponse>> occurrences)ScheduleResponsewithOwnerAccountID(java.lang.String ownerAccountID)ScheduleResponsewithPartnerAccountID(java.lang.String partnerAccountID)ScheduleResponsewithRecur(Recur recur)Defines configuration for recurring transfers.ScheduleResponsewithRecur(java.util.Optional<? extends Recur> recur)Defines configuration for recurring transfers.ScheduleResponsewithScheduleID(java.lang.String scheduleID)ScheduleResponsewithSourceAccountID(java.lang.String sourceAccountID)ScheduleResponsewithUpdatedOn(java.time.OffsetDateTime updatedOn)
-
-
-
Constructor Detail
-
ScheduleResponse
public ScheduleResponse(java.util.Optional<java.lang.String> description, java.lang.String destinationAccountID, Mode mode, java.util.Optional<? extends java.util.List<OccurrencesResponse>> occurrences, java.lang.String ownerAccountID, java.lang.String partnerAccountID, java.util.Optional<? extends Recur> recur, java.lang.String scheduleID, java.lang.String sourceAccountID, java.time.OffsetDateTime createdOn, java.time.OffsetDateTime updatedOn, java.util.Optional<java.time.OffsetDateTime> disabledOn)
-
ScheduleResponse
public ScheduleResponse(java.lang.String destinationAccountID, Mode mode, java.lang.String ownerAccountID, java.lang.String partnerAccountID, java.lang.String scheduleID, java.lang.String sourceAccountID, java.time.OffsetDateTime createdOn, java.time.OffsetDateTime updatedOn)
-
-
Method Detail
-
description
public java.util.Optional<java.lang.String> description()
Simple description to place on the transfer.
-
destinationAccountID
public java.lang.String destinationAccountID()
-
mode
public Mode mode()
The operating mode for an account.
-
occurrences
public java.util.Optional<java.util.List<OccurrencesResponse>> occurrences()
-
ownerAccountID
public java.lang.String ownerAccountID()
-
partnerAccountID
public java.lang.String partnerAccountID()
-
recur
public java.util.Optional<Recur> recur()
Defines configuration for recurring transfers.
-
scheduleID
public java.lang.String scheduleID()
-
sourceAccountID
public java.lang.String sourceAccountID()
-
createdOn
public java.time.OffsetDateTime createdOn()
-
updatedOn
public java.time.OffsetDateTime updatedOn()
-
disabledOn
public java.util.Optional<java.time.OffsetDateTime> disabledOn()
-
builder
public static final ScheduleResponse.Builder builder()
-
withDescription
public ScheduleResponse withDescription(java.lang.String description)
Simple description to place on the transfer.
-
withDescription
public ScheduleResponse withDescription(java.util.Optional<java.lang.String> description)
Simple description to place on the transfer.
-
withDestinationAccountID
public ScheduleResponse withDestinationAccountID(java.lang.String destinationAccountID)
-
withMode
public ScheduleResponse withMode(Mode mode)
The operating mode for an account.
-
withOccurrences
public ScheduleResponse withOccurrences(java.util.List<OccurrencesResponse> occurrences)
-
withOccurrences
public ScheduleResponse withOccurrences(java.util.Optional<? extends java.util.List<OccurrencesResponse>> occurrences)
-
withOwnerAccountID
public ScheduleResponse withOwnerAccountID(java.lang.String ownerAccountID)
-
withPartnerAccountID
public ScheduleResponse withPartnerAccountID(java.lang.String partnerAccountID)
-
withRecur
public ScheduleResponse withRecur(Recur recur)
Defines configuration for recurring transfers.
-
withRecur
public ScheduleResponse withRecur(java.util.Optional<? extends Recur> recur)
Defines configuration for recurring transfers.
-
withScheduleID
public ScheduleResponse withScheduleID(java.lang.String scheduleID)
-
withSourceAccountID
public ScheduleResponse withSourceAccountID(java.lang.String sourceAccountID)
-
withCreatedOn
public ScheduleResponse withCreatedOn(java.time.OffsetDateTime createdOn)
-
withUpdatedOn
public ScheduleResponse withUpdatedOn(java.time.OffsetDateTime updatedOn)
-
withDisabledOn
public ScheduleResponse withDisabledOn(java.time.OffsetDateTime disabledOn)
-
withDisabledOn
public ScheduleResponse withDisabledOn(java.util.Optional<java.time.OffsetDateTime> disabledOn)
-
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
-
-