Package com.stripe.param
Class PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna.Builder
java.lang.Object
com.stripe.param.PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna.Builder
public static class PaymentIntentUpdateParams.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
(EmptyParam imageUrl) URL to an image for the product.setImageUrl
(String imageUrl) URL to an image for the product.setProductUrl
(EmptyParam productUrl) URL to the product page.setProductUrl
(String productUrl) URL to the product page.setSubscriptionReference
(EmptyParam subscriptionReference) setSubscriptionReference
(String subscriptionReference) Reference for the subscription this line item is for.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public PaymentIntentUpdateParams.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. SeePaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna.extraParams
for the field documentation. -
putAllExtraParam
public PaymentIntentUpdateParams.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. SeePaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna.extraParams
for the field documentation. -
setImageUrl
public PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna.Builder setImageUrl(String imageUrl) URL to an image for the product. Max length, 4096 characters. -
setImageUrl
public PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna.Builder setImageUrl(EmptyParam imageUrl) URL to an image for the product. Max length, 4096 characters. -
setProductUrl
public PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna.Builder setProductUrl(String productUrl) URL to the product page. Max length, 4096 characters. -
setProductUrl
public PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna.Builder setProductUrl(EmptyParam productUrl) URL to the product page. Max length, 4096 characters. -
setSubscriptionReference
public PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna.Builder setSubscriptionReference(String subscriptionReference) Reference for the subscription this line item is for. -
setSubscriptionReference
public PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna.Builder setSubscriptionReference(EmptyParam subscriptionReference)
-