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