Class Quote.TransferData

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Quote.TransferData
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Quote

public static class Quote.TransferData extends StripeObject
The amount on which tax is calculated, in cents (or local equivalent).
  • Constructor Details

    • TransferData

      public TransferData()
  • Method Details

    • getDestination

      public String getDestination()
      Get ID of expandable destination object.
    • setDestination

      public void setDestination(String id)
    • getDestinationObject

      public Account getDestinationObject()
      Get expanded destination.
    • setDestinationObject

      public void setDestinationObject(Account expandableObject)
    • getAmount

      public Long getAmount()
      The amount in cents (or local equivalent) that will be transferred to the destination account when the invoice is paid. By default, the entire amount is transferred to the destination.
    • getAmountPercent

      public BigDecimal getAmountPercent()
      A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount will be transferred to the destination.
    • setAmount

      public void setAmount(Long amount)
      The amount in cents (or local equivalent) that will be transferred to the destination account when the invoice is paid. By default, the entire amount is transferred to the destination.
    • setAmountPercent

      public void setAmountPercent(BigDecimal amountPercent)
      A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount will be transferred to the destination.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object