Package com.stripe.param
Class PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder
java.lang.Object
com.stripe.param.PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder
- Enclosing class:
- PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller
public static class PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllLineItemReference(List<String> elements) Add all elements to `lineItemReferences` list.addAllShippingReference(List<String> elements) Add all elements to `shippingReferences` list.addLineItemReference(String element) Add an element to `lineItemReferences` list.addShippingReference(String element) Add an element to `shippingReferences` list.build()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.setMarketplaceSellerAddress(PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.MarketplaceSellerAddress marketplaceSellerAddress) The address of the selling or delivering merchant.setMarketplaceSellerName(String marketplaceSellerName) The name of the marketplace seller.setMarketplaceSellerReference(String marketplaceSellerReference) The unique identifier for the marketplace seller.setNumberOfTransactions(Long numberOfTransactions) The number of transactions the sub-seller completed in the last 12 months.setProductCategory(PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.ProductCategory productCategory) The category of the product.setSellerLastLoginAt(Long sellerLastLoginAt) The date when the seller's account with the marketplace was last logged in.setSellerRating(PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.SellerRating sellerRating) The current rating of the marketplace seller.setSellerRegisteredAt(Long sellerRegisteredAt) The date when the seller's account with the marketplace was created.setSellerUpdatedAt(Long sellerUpdatedAt) The date when the seller's account with the marketplace was last updated.setVolumeOfTransactions(Long volumeOfTransactions) The accumulated amount of sales transactions made by the sub-merchant or sub-seller within the past 12 months in the payment currency.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
public PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller build()Finalize and obtain parameter instance from this builder. -
putExtraParam
public PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.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.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.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.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.extraParamsfor the field documentation. -
addLineItemReference
public PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder addLineItemReference(String element) Add an element to `lineItemReferences` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.lineItemReferencesfor the field documentation. -
addAllLineItemReference
public PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder addAllLineItemReference(List<String> elements) Add all elements to `lineItemReferences` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.lineItemReferencesfor the field documentation. -
setMarketplaceSellerAddress
public PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder setMarketplaceSellerAddress(PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.MarketplaceSellerAddress marketplaceSellerAddress) The address of the selling or delivering merchant. -
setMarketplaceSellerName
public PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder setMarketplaceSellerName(String marketplaceSellerName) The name of the marketplace seller. -
setMarketplaceSellerReference
public PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder setMarketplaceSellerReference(String marketplaceSellerReference) The unique identifier for the marketplace seller. -
setNumberOfTransactions
public PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder setNumberOfTransactions(Long numberOfTransactions) The number of transactions the sub-seller completed in the last 12 months. -
setProductCategory
public PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder setProductCategory(PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.ProductCategory productCategory) The category of the product. -
setSellerLastLoginAt
public PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder setSellerLastLoginAt(Long sellerLastLoginAt) The date when the seller's account with the marketplace was last logged in. -
setSellerRating
public PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder setSellerRating(PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.SellerRating sellerRating) The current rating of the marketplace seller. If the marketplace uses numeric ranking, map these to the enum values. -
setSellerRegisteredAt
public PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder setSellerRegisteredAt(Long sellerRegisteredAt) The date when the seller's account with the marketplace was created. -
setSellerUpdatedAt
public PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder setSellerUpdatedAt(Long sellerUpdatedAt) The date when the seller's account with the marketplace was last updated. -
addShippingReference
public PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder addShippingReference(String element) Add an element to `shippingReferences` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.shippingReferencesfor the field documentation. -
addAllShippingReference
public PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder addAllShippingReference(List<String> elements) Add all elements to `shippingReferences` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeePaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.shippingReferencesfor the field documentation. -
setVolumeOfTransactions
public PaymentIntentCreateParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder setVolumeOfTransactions(Long volumeOfTransactions) The accumulated amount of sales transactions made by the sub-merchant or sub-seller within the past 12 months in the payment currency. These transactions are in minor currency units.
-