Package com.stripe.param
Class PaymentIntentIncrementAuthorizationParams.AmountDetails.Shipping.Builder
java.lang.Object
com.stripe.param.PaymentIntentIncrementAuthorizationParams.AmountDetails.Shipping.Builder
- Enclosing class:
- PaymentIntentIncrementAuthorizationParams.AmountDetails.Shipping
public static class PaymentIntentIncrementAuthorizationParams.AmountDetails.Shipping.Builder
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.setAmount
(EmptyParam amount) Portion of the amount that is for shipping.Portion of the amount that is for shipping.setFromPostalCode
(EmptyParam fromPostalCode) The postal code that represents the shipping source.setFromPostalCode
(String fromPostalCode) The postal code that represents the shipping source.setToPostalCode
(EmptyParam toPostalCode) setToPostalCode
(String toPostalCode) The postal code that represents the shipping destination.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
public PaymentIntentIncrementAuthorizationParams.AmountDetails.Shipping.Builder setAmount(Long amount) Portion of the amount that is for shipping. -
setAmount
public PaymentIntentIncrementAuthorizationParams.AmountDetails.Shipping.Builder setAmount(EmptyParam amount) Portion of the amount that is for shipping. -
putExtraParam
public PaymentIntentIncrementAuthorizationParams.AmountDetails.Shipping.Builder putExtraParam(String key, Object value) 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. SeePaymentIntentIncrementAuthorizationParams.AmountDetails.Shipping.extraParams
for the field documentation. -
putAllExtraParam
public PaymentIntentIncrementAuthorizationParams.AmountDetails.Shipping.Builder putAllExtraParam(Map<String, Object> map) Add all map key/value pairs 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. SeePaymentIntentIncrementAuthorizationParams.AmountDetails.Shipping.extraParams
for the field documentation. -
setFromPostalCode
public PaymentIntentIncrementAuthorizationParams.AmountDetails.Shipping.Builder setFromPostalCode(String fromPostalCode) The postal code that represents the shipping source. -
setFromPostalCode
public PaymentIntentIncrementAuthorizationParams.AmountDetails.Shipping.Builder setFromPostalCode(EmptyParam fromPostalCode) The postal code that represents the shipping source. -
setToPostalCode
public PaymentIntentIncrementAuthorizationParams.AmountDetails.Shipping.Builder setToPostalCode(String toPostalCode) The postal code that represents the shipping destination. -
setToPostalCode
public PaymentIntentIncrementAuthorizationParams.AmountDetails.Shipping.Builder setToPostalCode(EmptyParam toPostalCode)
-