Package com.stripe.param
Class PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher.Builder
java.lang.Object
com.stripe.param.PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher.Builder
- Enclosing class:
- PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher
public static class PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher.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.setAffiliateName(EmptyParam affiliateName) Name of associated or partner company for this voucher.setAffiliateName(String affiliateName) Name of associated or partner company for this voucher.The voucher validity end time.setStartsAt(Long startsAt) The voucher validity start time.setVoucherCompany(EmptyParam voucherCompany) The issuer or provider of this voucher.setVoucherCompany(String voucherCompany) The issuer or provider of this voucher.setVoucherName(EmptyParam voucherName) The name or reference to identify the voucher.setVoucherName(String voucherName) The name or reference to identify the voucher.setVoucherType(PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher.VoucherType voucherType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher build()Finalize and obtain parameter instance from this builder. -
setAffiliateName
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher.Builder setAffiliateName(String affiliateName) Name of associated or partner company for this voucher. -
setAffiliateName
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher.Builder setAffiliateName(EmptyParam affiliateName) Name of associated or partner company for this voucher. -
setEndsAt
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher.Builder setEndsAt(Long endsAt) The voucher validity end time. -
putExtraParam
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher.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.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher.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.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher.extraParamsfor the field documentation. -
setStartsAt
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher.Builder setStartsAt(Long startsAt) The voucher validity start time. -
setVoucherCompany
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher.Builder setVoucherCompany(String voucherCompany) The issuer or provider of this voucher. -
setVoucherCompany
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher.Builder setVoucherCompany(EmptyParam voucherCompany) The issuer or provider of this voucher. -
setVoucherName
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher.Builder setVoucherName(String voucherName) The name or reference to identify the voucher. -
setVoucherName
public PaymentIntentUpdateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.Voucher.Builder setVoucherName(EmptyParam voucherName) The name or reference to identify the voucher. -
setVoucherType
-