Package com.stripe.model
Class Quote.TransferData
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Quote.TransferData
- All Implemented Interfaces:
StripeActiveObject,StripeObjectInterface
- Enclosing class:
- Quote
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 booleanbooleanThe 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 expandabledestinationobject.Get expandeddestination.inthashCode()voidThe amount in cents (or local equivalent) that will be transferred to the destination account when the invoice is paid.voidsetAmountPercent(BigDecimal amountPercent) A non-negative decimal between 0 and 100, with at most two decimal places.voidsetDestination(String id) voidsetDestinationObject(Account expandableObject) voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
TransferData
public TransferData()
-
-
Method Details
-
getDestination
Get ID of expandabledestinationobject. -
setDestination
-
getDestinationObject
Get expandeddestination. -
setDestinationObject
-
setResponseGetter
Description copied from interface:StripeActiveObjectMethod is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.- Specified by:
setResponseGetterin interfaceStripeActiveObject- Parameters:
responseGetter- theStripeResponseGetterinstance to use for making further requests.
-
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()
-