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