Package com.stripe.param
Class PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent.Builder
java.lang.Object
com.stripe.param.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent.Builder
public static class PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent.Builder
extends Object
-
Constructor Summary
Constructors -
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.setCommodityCode
(String commodityCode) Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCommodityCode
public PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent.Builder setCommodityCode(String commodityCode) Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc. -
putExtraParam
public PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent.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. SeePaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent.extraParams
for the field documentation. -
putAllExtraParam
public PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.CardPresent.Builder putAllExtraParam(Map<String, Object> map)
-