Class CreateTransfer.Builder

  • Enclosing class:
    CreateTransfer

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

      • description

        public CreateTransfer.Builder description​(java.lang.String description)
        An optional description of the transfer that is used on receipts and for your own internal use.
      • description

        public CreateTransfer.Builder description​(java.util.Optional<java.lang.String> description)
        An optional description of the transfer that is used on receipts and for your own internal use.
      • metadata

        public CreateTransfer.Builder metadata​(java.util.Map<java.lang.String,​java.lang.String> metadata)
        Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
      • metadata

        public CreateTransfer.Builder metadata​(java.util.Optional<? extends java.util.Map<java.lang.String,​java.lang.String>> metadata)
        Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
      • salesTaxAmount

        public CreateTransfer.Builder salesTaxAmount​(Amount salesTaxAmount)
        Optional sales tax amount. `transfer.amount.value` should be inclusive of any sales tax and represents the total amount charged.
      • salesTaxAmount

        public CreateTransfer.Builder salesTaxAmount​(java.util.Optional<? extends Amount> salesTaxAmount)
        Optional sales tax amount. `transfer.amount.value` should be inclusive of any sales tax and represents the total amount charged.