Package com.stripe.param
Class PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder
java.lang.Object
com.stripe.param.PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder
- Enclosing class:
- PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller
public static class PaymentIntentConfirmParams.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(PaymentIntentConfirmParams.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(PaymentIntentConfirmParams.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(PaymentIntentConfirmParams.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 PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller build()Finalize and obtain parameter instance from this builder. -
putExtraParam
public PaymentIntentConfirmParams.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. SeePaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentConfirmParams.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. SeePaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.extraParamsfor the field documentation. -
addLineItemReference
public PaymentIntentConfirmParams.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. SeePaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.lineItemReferencesfor the field documentation. -
addAllLineItemReference
public PaymentIntentConfirmParams.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. SeePaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.lineItemReferencesfor the field documentation. -
setMarketplaceSellerAddress
public PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder setMarketplaceSellerAddress(PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.MarketplaceSellerAddress marketplaceSellerAddress) The address of the selling or delivering merchant. -
setMarketplaceSellerName
public PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder setMarketplaceSellerName(String marketplaceSellerName) The name of the marketplace seller. -
setMarketplaceSellerReference
public PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder setMarketplaceSellerReference(String marketplaceSellerReference) The unique identifier for the marketplace seller. -
setNumberOfTransactions
public PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder setNumberOfTransactions(Long numberOfTransactions) The number of transactions the sub-seller completed in the last 12 months. -
setProductCategory
public PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder setProductCategory(PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.ProductCategory productCategory) The category of the product. -
setSellerLastLoginAt
public PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder setSellerLastLoginAt(Long sellerLastLoginAt) The date when the seller's account with the marketplace was last logged in. -
setSellerRating
public PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder setSellerRating(PaymentIntentConfirmParams.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 PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder setSellerRegisteredAt(Long sellerRegisteredAt) The date when the seller's account with the marketplace was created. -
setSellerUpdatedAt
public PaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.Builder setSellerUpdatedAt(Long sellerUpdatedAt) The date when the seller's account with the marketplace was last updated. -
addShippingReference
public PaymentIntentConfirmParams.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. SeePaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.shippingReferencesfor the field documentation. -
addAllShippingReference
public PaymentIntentConfirmParams.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. SeePaymentIntentConfirmParams.PaymentMethodOptions.Klarna.SupplementaryPurchaseData.MarketplaceSeller.shippingReferencesfor the field documentation. -
setVolumeOfTransactions
public PaymentIntentConfirmParams.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.
-