Package com.stripe.param
Class PaymentIntentUpdateParams.AmountDetails.Shipping.Builder
java.lang.Object
com.stripe.param.PaymentIntentUpdateParams.AmountDetails.Shipping.Builder
- Enclosing class:
- PaymentIntentUpdateParams.AmountDetails.Shipping
-
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
Portion of the amount that is for shipping. -
setAmount
Portion of the amount that is for shipping. -
putExtraParam
public PaymentIntentUpdateParams.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. SeePaymentIntentUpdateParams.AmountDetails.Shipping.extraParams
for the field documentation. -
putAllExtraParam
public PaymentIntentUpdateParams.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. SeePaymentIntentUpdateParams.AmountDetails.Shipping.extraParams
for the field documentation. -
setFromPostalCode
public PaymentIntentUpdateParams.AmountDetails.Shipping.Builder setFromPostalCode(String fromPostalCode) The postal code that represents the shipping source. -
setFromPostalCode
public PaymentIntentUpdateParams.AmountDetails.Shipping.Builder setFromPostalCode(EmptyParam fromPostalCode) The postal code that represents the shipping source. -
setToPostalCode
public PaymentIntentUpdateParams.AmountDetails.Shipping.Builder setToPostalCode(String toPostalCode) The postal code that represents the shipping destination. -
setToPostalCode
public PaymentIntentUpdateParams.AmountDetails.Shipping.Builder setToPostalCode(EmptyParam toPostalCode)
-