Package com.stripe.param
Class PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna.Builder
java.lang.Object
com.stripe.param.PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna.Builder
public static class PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna.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.setImageUrl(String imageUrl) URL to an image for the product.setProductUrl(String productUrl) URL to the product page.setReference(String reference) Unique reference for this line item to correlate it with your system’s internal records.setSubscriptionReference(String subscriptionReference)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna.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.Klarna.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna.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. SeePaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna.extraParamsfor the field documentation. -
setImageUrl
public PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna.Builder setImageUrl(String imageUrl) URL to an image for the product. Max length, 4096 characters. -
setProductUrl
public PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna.Builder setProductUrl(String productUrl) URL to the product page. Max length, 4096 characters. -
setReference
public PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna.Builder setReference(String reference) Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed. -
setSubscriptionReference
public PaymentIntentCreateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna.Builder setSubscriptionReference(String subscriptionReference)
-