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) If a physical good is being shipped, the cost of shipping represented in the smallest currency unit.If a physical good is being shipped, the cost of shipping represented in the smallest currency unit.setFromPostalCode(EmptyParam fromPostalCode) If a physical good is being shipped, the postal code of where it is being shipped from.setFromPostalCode(String fromPostalCode) If a physical good is being shipped, the postal code of where it is being shipped from.setToPostalCode(EmptyParam toPostalCode) setToPostalCode(String toPostalCode) If a physical good is being shipped, the postal code of where it is being shipped to.
-
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) If a physical good is being shipped, the cost of shipping represented in the smallest currency unit. An integer greater than or equal to 0. -
setAmount
public PaymentIntentIncrementAuthorizationParams.AmountDetails.Shipping.Builder setAmount(EmptyParam amount) If a physical good is being shipped, the cost of shipping represented in the smallest currency unit. An integer greater than or equal to 0. -
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.extraParamsfor 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.extraParamsfor the field documentation. -
setFromPostalCode
public PaymentIntentIncrementAuthorizationParams.AmountDetails.Shipping.Builder setFromPostalCode(String fromPostalCode) If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed. -
setFromPostalCode
public PaymentIntentIncrementAuthorizationParams.AmountDetails.Shipping.Builder setFromPostalCode(EmptyParam fromPostalCode) If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed. -
setToPostalCode
public PaymentIntentIncrementAuthorizationParams.AmountDetails.Shipping.Builder setToPostalCode(String toPostalCode) If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed. -
setToPostalCode
public PaymentIntentIncrementAuthorizationParams.AmountDetails.Shipping.Builder setToPostalCode(EmptyParam toPostalCode)
-