Class QuoteUpdateParams.TransferData.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • setAmount

        public QuoteUpdateParams.TransferData.Builder setAmount​(java.lang.Long amount)
        The amount that will be transferred automatically when the invoice is paid. If no amount is set, the full amount is transferred. There cannot be any line items with recurring prices when using this field.
      • setAmountPercent

        public QuoteUpdateParams.TransferData.Builder setAmountPercent​(java.math.BigDecimal amountPercent)
        A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the destination account. By default, the entire amount is transferred to the destination. There must be at least 1 line item with a recurring price to use this field.