Package com.stripe.param.tax
Class TransactionCreateReversalParams.ShippingCost.Builder
java.lang.Object
com.stripe.param.tax.TransactionCreateReversalParams.ShippingCost.Builder
- Enclosing class:
- TransactionCreateReversalParams.ShippingCost
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.Required. The amount to reverse, in the smallest currency unit in negative.setAmountTax
(Long amountTax) Required. The amount of tax to reverse, in the smallest currency unit in negative.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
Required. The amount to reverse, in the smallest currency unit in negative. -
setAmountTax
Required. The amount of tax to reverse, in the smallest currency unit in negative. -
putExtraParam
Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeTransactionCreateReversalParams.ShippingCost.extraParams
for the field documentation. -
putAllExtraParam
public TransactionCreateReversalParams.ShippingCost.Builder putAllExtraParam(Map<String, Object> map)
-