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
public static class Quote.TransferData extends StripeObject
The aggregated line item tax amounts by rate.
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description TransferData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.Long
getAmount()
The amount in %s that will be transferred to the destination account when the invoice is paid.java.math.BigDecimal
getAmountPercent()
A non-negative decimal between 0 and 100, with at most two decimal places.java.lang.String
getDestination()
Get ID of expandabledestination
object.Account
getDestinationObject()
Get expandeddestination
.int
hashCode()
void
setAmount(java.lang.Long amount)
The amount in %s that will be transferred to the destination account when the invoice is paid.void
setAmountPercent(java.math.BigDecimal amountPercent)
A non-negative decimal between 0 and 100, with at most two decimal places.void
setDestination(java.lang.String id)
void
setDestinationObject(Account expandableObject)
-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getDestination
public java.lang.String getDestination()
Get ID of expandabledestination
object.
-
setDestination
public void setDestination(java.lang.String id)
-
getDestinationObject
public Account getDestinationObject()
Get expandeddestination
.
-
setDestinationObject
public void setDestinationObject(Account expandableObject)
-
getAmount
public java.lang.Long getAmount()
The amount in %s 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 java.math.BigDecimal getAmountPercent()
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 will be transferred to the destination.
-
setAmount
public void setAmount(java.lang.Long amount)
The amount in %s 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(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 will be transferred to the destination.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-