Package io.moov.sdk.models.components
Class ScheduleListResponse
- java.lang.Object
-
- io.moov.sdk.models.components.ScheduleListResponse
-
public class ScheduleListResponse extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScheduleListResponse.Builder
-
Constructor Summary
Constructors Constructor Description ScheduleListResponse(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)ScheduleListResponse(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, java.util.Optional<? extends PartialScheduleAccount> sourceAccount, java.util.Optional<? extends PartialScheduleAccount> destinationAccount, java.util.Optional<? extends PartialScheduleAccount> partnerAccount)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScheduleListResponse.Builderbuilder()java.time.OffsetDateTimecreatedOn()java.util.Optional<java.lang.String>description()Simple description to place on the transfer.java.util.Optional<PartialScheduleAccount>destinationAccount()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.util.Optional<PartialScheduleAccount>partnerAccount()java.lang.StringpartnerAccountID()java.util.Optional<Recur>recur()Defines configuration for recurring transfers.java.lang.StringscheduleID()java.util.Optional<PartialScheduleAccount>sourceAccount()java.lang.StringsourceAccountID()java.lang.StringtoString()java.time.OffsetDateTimeupdatedOn()ScheduleListResponsewithCreatedOn(java.time.OffsetDateTime createdOn)ScheduleListResponsewithDescription(java.lang.String description)Simple description to place on the transfer.ScheduleListResponsewithDescription(java.util.Optional<java.lang.String> description)Simple description to place on the transfer.ScheduleListResponsewithDestinationAccount(PartialScheduleAccount destinationAccount)ScheduleListResponsewithDestinationAccount(java.util.Optional<? extends PartialScheduleAccount> destinationAccount)ScheduleListResponsewithDestinationAccountID(java.lang.String destinationAccountID)ScheduleListResponsewithDisabledOn(java.time.OffsetDateTime disabledOn)ScheduleListResponsewithDisabledOn(java.util.Optional<java.time.OffsetDateTime> disabledOn)ScheduleListResponsewithMode(Mode mode)The operating mode for an account.ScheduleListResponsewithOccurrences(java.util.List<OccurrencesResponse> occurrences)ScheduleListResponsewithOccurrences(java.util.Optional<? extends java.util.List<OccurrencesResponse>> occurrences)ScheduleListResponsewithOwnerAccountID(java.lang.String ownerAccountID)ScheduleListResponsewithPartnerAccount(PartialScheduleAccount partnerAccount)ScheduleListResponsewithPartnerAccount(java.util.Optional<? extends PartialScheduleAccount> partnerAccount)ScheduleListResponsewithPartnerAccountID(java.lang.String partnerAccountID)ScheduleListResponsewithRecur(Recur recur)Defines configuration for recurring transfers.ScheduleListResponsewithRecur(java.util.Optional<? extends Recur> recur)Defines configuration for recurring transfers.ScheduleListResponsewithScheduleID(java.lang.String scheduleID)ScheduleListResponsewithSourceAccount(PartialScheduleAccount sourceAccount)ScheduleListResponsewithSourceAccount(java.util.Optional<? extends PartialScheduleAccount> sourceAccount)ScheduleListResponsewithSourceAccountID(java.lang.String sourceAccountID)ScheduleListResponsewithUpdatedOn(java.time.OffsetDateTime updatedOn)
-
-
-
Constructor Detail
-
ScheduleListResponse
public ScheduleListResponse(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, java.util.Optional<? extends PartialScheduleAccount> sourceAccount, java.util.Optional<? extends PartialScheduleAccount> destinationAccount, java.util.Optional<? extends PartialScheduleAccount> partnerAccount)
-
ScheduleListResponse
public ScheduleListResponse(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()
-
sourceAccount
public java.util.Optional<PartialScheduleAccount> sourceAccount()
-
destinationAccount
public java.util.Optional<PartialScheduleAccount> destinationAccount()
-
partnerAccount
public java.util.Optional<PartialScheduleAccount> partnerAccount()
-
builder
public static ScheduleListResponse.Builder builder()
-
withDescription
public ScheduleListResponse withDescription(java.lang.String description)
Simple description to place on the transfer.
-
withDescription
public ScheduleListResponse withDescription(java.util.Optional<java.lang.String> description)
Simple description to place on the transfer.
-
withDestinationAccountID
public ScheduleListResponse withDestinationAccountID(java.lang.String destinationAccountID)
-
withMode
public ScheduleListResponse withMode(Mode mode)
The operating mode for an account.
-
withOccurrences
public ScheduleListResponse withOccurrences(java.util.List<OccurrencesResponse> occurrences)
-
withOccurrences
public ScheduleListResponse withOccurrences(java.util.Optional<? extends java.util.List<OccurrencesResponse>> occurrences)
-
withOwnerAccountID
public ScheduleListResponse withOwnerAccountID(java.lang.String ownerAccountID)
-
withPartnerAccountID
public ScheduleListResponse withPartnerAccountID(java.lang.String partnerAccountID)
-
withRecur
public ScheduleListResponse withRecur(Recur recur)
Defines configuration for recurring transfers.
-
withRecur
public ScheduleListResponse withRecur(java.util.Optional<? extends Recur> recur)
Defines configuration for recurring transfers.
-
withScheduleID
public ScheduleListResponse withScheduleID(java.lang.String scheduleID)
-
withSourceAccountID
public ScheduleListResponse withSourceAccountID(java.lang.String sourceAccountID)
-
withCreatedOn
public ScheduleListResponse withCreatedOn(java.time.OffsetDateTime createdOn)
-
withUpdatedOn
public ScheduleListResponse withUpdatedOn(java.time.OffsetDateTime updatedOn)
-
withDisabledOn
public ScheduleListResponse withDisabledOn(java.time.OffsetDateTime disabledOn)
-
withDisabledOn
public ScheduleListResponse withDisabledOn(java.util.Optional<java.time.OffsetDateTime> disabledOn)
-
withSourceAccount
public ScheduleListResponse withSourceAccount(PartialScheduleAccount sourceAccount)
-
withSourceAccount
public ScheduleListResponse withSourceAccount(java.util.Optional<? extends PartialScheduleAccount> sourceAccount)
-
withDestinationAccount
public ScheduleListResponse withDestinationAccount(PartialScheduleAccount destinationAccount)
-
withDestinationAccount
public ScheduleListResponse withDestinationAccount(java.util.Optional<? extends PartialScheduleAccount> destinationAccount)
-
withPartnerAccount
public ScheduleListResponse withPartnerAccount(PartialScheduleAccount partnerAccount)
-
withPartnerAccount
public ScheduleListResponse withPartnerAccount(java.util.Optional<? extends PartialScheduleAccount> partnerAccount)
-
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
-
-