Package com.stripe.model
Class SubscriptionSchedule.Phase.TransferData
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.SubscriptionSchedule.Phase.TransferData
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- SubscriptionSchedule.Phase
For more details about TransferData, please refer to the API Reference.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanA non-negative decimal between 0 and 100, with at most two decimal places.Get ID of expandabledestinationobject.Get expandeddestination.inthashCode()voidsetAmountPercent(BigDecimal amountPercent) A non-negative decimal between 0 and 100, with at most two decimal places.voidsetDestination(String id) voidsetDestinationObject(Account expandableObject) Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
TransferData
public TransferData()
-
-
Method Details
-
getDestination
Get ID of expandabledestinationobject. -
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()
-