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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about PaymentData, 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 transferred to the destination account.An arbitrary string attached to the transfer.Get ID of expandabledestinationobject.Get expandeddestination.Set of key-value pairs that you can attach to an object.inthashCode()voidThe amount transferred to the destination account.voidsetDescription(String description) An arbitrary string attached to the transfer.voidsetDestination(String id) voidsetDestinationObject(Account expandableObject) voidsetMetadata(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.voidsetPaymentData(PaymentIntent.TransferData.PaymentData paymentData) 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
-
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). -
getDescription
An arbitrary string attached to the transfer. Often useful for displaying to users. -
getMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. -
getPaymentData
-
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). -
setDescription
An arbitrary string attached to the transfer. Often useful for displaying to users. -
setMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. -
setPaymentData
-
equals
-
canEqual
-
hashCode
public int hashCode()
-