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.setReference(EmptyParam reference) Unique reference for this line item to correlate it with your system’s internal records.setReference(String reference) Unique reference for this line item to correlate it with your system’s internal records.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.extraParamsfor 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.extraParamsfor 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. -
setReference
public PaymentIntentUpdateParams.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. -
setReference
public PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions.Klarna.Builder setReference(EmptyParam 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 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)
-