Class ReceiptRequest.Builder

  • Enclosing class:
    ReceiptRequest

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

      • email

        public ReceiptRequest.Builder email​(java.lang.String email)
        The email address to send the receipt to. Either email or emailAccountID must be provided, but not both.
      • email

        public ReceiptRequest.Builder email​(java.util.Optional<java.lang.String> email)
        The email address to send the receipt to. Either email or emailAccountID must be provided, but not both.
      • emailAccountID

        public ReceiptRequest.Builder emailAccountID​(java.lang.String emailAccountID)
        The accountID to send the receipt to. Either email or emailAccountID must be provided, but not both.
      • emailAccountID

        public ReceiptRequest.Builder emailAccountID​(java.util.Optional<java.lang.String> emailAccountID)
        The accountID to send the receipt to. Either email or emailAccountID must be provided, but not both.
      • forTransferID

        public ReceiptRequest.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 ReceiptRequest.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 ReceiptRequest.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 ReceiptRequest.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 ReceiptRequest.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 ReceiptRequest.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.