Class ReceiptResponse.Builder

  • Enclosing class:
    ReceiptResponse

    public static final class ReceiptResponse.Builder
    extends java.lang.Object
    • Method Detail

      • receiptID

        public ReceiptResponse.Builder receiptID​(java.lang.String receiptID)
        Unique identifier for the receipt request.
      • createdBy

        public ReceiptResponse.Builder createdBy​(java.lang.String createdBy)
        AccountID for which the receipt request was created.
      • disabledOn

        public ReceiptResponse.Builder disabledOn​(java.time.OffsetDateTime disabledOn)
        The date and time the receipt was disabled.
      • disabledOn

        public ReceiptResponse.Builder disabledOn​(java.util.Optional<java.time.OffsetDateTime> disabledOn)
        The date and time the receipt was disabled.
      • email

        public ReceiptResponse.Builder email​(java.lang.String email)
        The email address the receipt is sent to. Either email or emailAccountID will be in the response, but not both.
      • email

        public ReceiptResponse.Builder email​(java.util.Optional<java.lang.String> email)
        The email address the receipt is sent to. Either email or emailAccountID will be in the response, but not both.
      • emailAccountID

        public ReceiptResponse.Builder emailAccountID​(java.lang.String emailAccountID)
        The accountID the receipt is sent to. Either email or emailAccountID will be in the response, but not both.
      • emailAccountID

        public ReceiptResponse.Builder emailAccountID​(java.util.Optional<java.lang.String> emailAccountID)
        The accountID the receipt is sent to. Either email or emailAccountID will be in the response, but not both.
      • forTransferID

        public ReceiptResponse.Builder forTransferID​(java.lang.String forTransferID)
        The ID of the transfer associated with this receipt. Exactly one of forTransferID, forScheduleID, or forOccurrenceID must be provided.
      • forTransferID

        public ReceiptResponse.Builder forTransferID​(java.util.Optional<java.lang.String> forTransferID)
        The ID of the transfer associated with this receipt. Exactly one of forTransferID, forScheduleID, or forOccurrenceID must be provided.
      • forScheduleID

        public ReceiptResponse.Builder forScheduleID​(java.lang.String forScheduleID)
        The ID of the schedule associated with this receipt. Exactly one of forTransferID, forScheduleID, or forOccurrenceID must be provided.
      • forScheduleID

        public ReceiptResponse.Builder forScheduleID​(java.util.Optional<java.lang.String> forScheduleID)
        The ID of the schedule associated with this receipt. Exactly one of forTransferID, forScheduleID, or forOccurrenceID must be provided.
      • forOccurrenceID

        public ReceiptResponse.Builder forOccurrenceID​(java.lang.String forOccurrenceID)
        The ID of the schedule occurrence associated with this receipt. Exactly one of forTransferID, forScheduleID, or forOccurrenceID must be provided.
      • forOccurrenceID

        public ReceiptResponse.Builder forOccurrenceID​(java.util.Optional<java.lang.String> forOccurrenceID)
        The ID of the schedule occurrence associated with this receipt. Exactly one of forTransferID, forScheduleID, or forOccurrenceID must be provided.