Package com.stripe.param.tax
Class TransactionCreateReversalParams
java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.tax.TransactionCreateReversalParams
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static enum
Add all map key/value pairs to `extraParams` map.static class
Required. A custom identifier for this line item in the reversal transaction, such as 'L1-refund'.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()
Specifies which fields in the response should be expanded.Map of extra parameters for custom features not available in this client library.A flat amount to reverse across the entire transaction, in the smallest currency unit in negative.The line item amounts to reverse.Set of key-value pairs that you can attach to an object.getMode()
Required. Ifpartial
, the provided line item or shipping cost amounts are reversed.Required. The ID of the Transaction to partially or fully reverse.Required. A custom identifier for this reversal, such asmyOrder_123-refund_1
, which must be unique across all transactions.The shipping cost to reverse.Methods inherited from class com.stripe.net.ApiRequestParams
paramsToMap, toMap
-
Method Details
-
builder
-
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. -
getFlatAmount
A flat amount to reverse across the entire transaction, in the smallest currency unit in negative. This value represents the total amount to refund from the transaction, including taxes. -
getLineItems
The line item amounts to reverse. -
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
. -
getMode
Required. Ifpartial
, the provided line item or shipping cost amounts are reversed. Iffull
, the original transaction is fully reversed. -
getOriginalTransaction
Required. The ID of the Transaction to partially or fully reverse. -
getReference
Required. A custom identifier for this reversal, such asmyOrder_123-refund_1
, which must be unique across all transactions. The reference helps identify this reversal transaction in exported tax reports. -
getShippingCost
The shipping cost to reverse.
-