Package com.stripe.model
Class PaymentIntent.TransferData
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentIntent.TransferData
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- PaymentIntent
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 boolean
boolean
The amount transferred to the destination account.Get ID of expandabledestination
object.Get expandeddestination
.int
hashCode()
void
The amount transferred to the destination account.void
setDestination
(String id) void
setDestinationObject
(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 expandabledestination
object. -
setDestination
-
getDestinationObject
Get expandeddestination
. -
setDestinationObject
-
getAmount
The amount transferred to the destination account. This transfer will occur automatically after the payment succeeds. If no amount is specified, by default the entire payment amount is transferred to the destination account. The amount must be less than or equal to the amount, and must be a positive integer representing how much to transfer in the smallest currency unit (e.g., 100 cents to charge $1.00). -
setAmount
The amount transferred to the destination account. This transfer will occur automatically after the payment succeeds. If no amount is specified, by default the entire payment amount is transferred to the destination account. The amount must be less than or equal to the amount, and must be a positive integer representing how much to transfer in the smallest currency unit (e.g., 100 cents to charge $1.00). -
equals
-
canEqual
-
hashCode
public int hashCode()
-