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