Package com.stripe.model
Class Subscription.TransferData
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Subscription.TransferData
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Subscription
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
A non-negative decimal between 0 and 100, with at most two decimal places.Get ID of expandabledestination
object.Get expandeddestination
.int
hashCode()
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
-
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 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 is transferred to the destination. -
equals
-
canEqual
-
hashCode
public int hashCode()
-