Class ScheduleResponse


  • public class ScheduleResponse
    extends java.lang.Object
    • 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.
      • 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()
      • 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)
      • 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object