Package com.stripe.model
Class Quote.TransferData
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Quote.TransferData
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Quote
The amount on which tax is calculated, in cents (or local equivalent).
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The amount in cents (or local equivalent) that will be transferred to the destination account when the invoice is paid.A non-negative decimal between 0 and 100, with at most two decimal places.Get ID of expandabledestination
object.Get expandeddestination
.int
hashCode()
void
The amount in cents (or local equivalent) that will be transferred to the destination account when the invoice is paid.void
setAmountPercent
(BigDecimal amountPercent) A non-negative decimal between 0 and 100, with at most two decimal places.void
setDestination
(String id) void
setDestinationObject
(Account expandableObject) Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
TransferData
public TransferData()
-
-
Method Details
-
getDestination
Get ID of expandabledestination
object. -
setDestination
-
getDestinationObject
Get expandeddestination
. -
setDestinationObject
-
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
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
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
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
-
canEqual
-
hashCode
public int hashCode()
-