purchase_intent library

Purchase intents, buy-page presentation, variants, and request models.

Import this library as purchase_intent alongside package:inttegro/inttegro.dart.

Classes

BuyPagePresentation
Presentation settings for the hosted Buy page.
BuyPageText
Merchant-authored copy shown on a hosted Buy page.
CancelRequest
Identifies the purchase intent to cancel and supplies any cancellation options.
CreateRequest
Parameters for creating a purchase intent.
CreateRequestPrice
Inline price selection supplied when creating a purchase intent.
CreateRequestPriceOriginal
The original price referenced by an inline purchase-intent price.
CreateRequestProduct
Product and variant-set selection for a new purchase intent.
CreateRequestQuantity
Minimum and maximum quantity for a new purchase intent.
CreateRequestUsage
Single-use or multi-use configuration for a new purchase intent.
LookupRequest
Identifies the purchase intent to retrieve.
Merchant
The merchant identity presented with a purchase intent.
OriginalPrice
The original catalog price attached to a purchase intent.
Page
A page of purchase intents returned by a list operation.
PageRequest
Pagination and filtering parameters for listing purchase intents.
Presentation
Customer-facing presentation settings for a purchase intent.
Price
The active price and optional original price for a purchase intent.
Product
The product snapshot presented by a purchase intent.
ProductAttributesItem
One product attribute embedded in a purchase intent.
PurchaseIntent
A customer-facing intent to purchase a product at a configured price and quantity.
Quantity
The permitted purchase quantity range.
Status
The current availability and usage state of a PurchaseIntent.
TextValueUpdate
One sparse text change for a hosted Buy page.
UpdateBuyPagePresentation
Hosted Buy page presentation update for a purchase intent.
UpdateBuyPageText
Sparse text update for a hosted Buy page.
UpdatePresentation
Customer-facing presentation update for a purchase intent.
UpdateRequest
Parameters for updating a purchase intent.
UpdateRequestQuantity
Replacement quantity bounds for a purchase intent.
Usage
Single-use or multi-use state for a purchase intent.
UsageOrder
An order that consumed a purchase intent.
Variant
A purchasable variant within a purchase-intent variant set.
VariantAxis
One selection axis used to distinguish purchase-intent variants.
VariantSet
The axes and variants available for a purchase intent.