Package com.stripe.param.giftcards
Class TransactionCreateParams
java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.giftcards.TransactionCreateParams
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from class com.stripe.net.ApiRequestParams
ApiRequestParams.EnumParam
-
Field Summary
Fields inherited from class com.stripe.net.ApiRequestParams
EXTRA_PARAMS_KEY
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The amount of the transaction.Whether this is a confirmed transaction.Related objects which created this transaction.The currency of the transaction.An arbitrary string attached to the object.Specifies which fields in the response should be expanded.Map of extra parameters for custom features not available in this client library.The gift card to create a new transaction on.Set of key-value pairs that you can attach to an object.A string that identifies this transaction as part of a group.Methods inherited from class com.stripe.net.ApiRequestParams
toMap
-
Method Details
-
builder
-
getAmount
The amount of the transaction. A negative amount deducts funds, and a positive amount adds funds. -
getConfirm
Whether this is a confirmed transaction. A confirmed transaction immediately deducts from/adds to theamount_available
on the gift card. Otherwise, it creates a held transaction that increments theamount_held
on the gift card. -
getCreatedBy
Related objects which created this transaction. -
getCurrency
The currency of the transaction. This must match the currency of the gift card. -
getDescription
An arbitrary string attached to the object. Often useful for displaying to users. -
getExpand
Specifies which fields in the response should be expanded. -
getExtraParams
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedName
value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance. -
getGiftCard
The gift card to create a new transaction on. -
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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value tometadata
. -
getTransferGroup
A string that identifies this transaction as part of a group. See the Connect documentation for details.
-