InstantPurchase Module
BackpressureTypeExtractor
This class implements backpressure control for instant purchase orders to prevent system overload from excessive order placement requests. It checks i...
BillingAddressChoose\DefaultBillingAddressChooser
This class retrieves the default billing address for a customer during the instant purchase process. Developers would use this when implementing insta...
Config
This class manages configuration settings for Magento 2's Instant Purchase feature. Developers use it to check if the instant purchase functionality i...
InstantPurchaseChooser
This class determines the complete instant purchase configuration for a customer by automatically selecting the payment method, shipping address, bill...
InstantPurchaseOption
This class represents a complete instant purchase configuration containing all required information (payment token, shipping/billing addresses, and sh...
Model\BillingAddressChoose\BillingAddressChooserInterface
This interface defines a contract for selecting an appropriate billing address for a customer during instant purchase operations. Developers implement...
Model\InstantPurchaseInterface
This interface defines a contract for detecting whether instant purchase functionality is available for a specific customer in a given store. Develope...
Model\InstantPurchaseOptionFactory
This factory class creates InstantPurchaseOption objects that encapsulate all the information needed for one-click purchases in Magento 2. Developers...
Model\InstantPurchaseOptionLoadingFactory
This factory creates InstantPurchaseOption objects by loading all necessary entities (payment tokens, addresses, shipping methods) from their respecti...
Model\PaymentMethodChoose\PaymentTokenChooserInterface
This interface defines a contract for selecting a stored payment token for instant purchase functionality. Developers implement this interface to crea...
Model\ShippingAddressChoose\ShippingAddressChooserInterface
This interface defines a contract for selecting an appropriate shipping address for a customer during the instant purchase flow. Developers implement...
Model\ShippingMethodChoose\DeferredShippingMethodChooserInterface
This interface defines a contract for choosing a shipping method for Instant Purchase orders when the quote address becomes available. Developers impl...
Model\ShippingMethodChoose\ShippingMethodChooserInterface
This interface defines the contract for selecting a shipping method during instant purchase checkout for a customer's address. Developers implement th...
PaymentMethodChoose\LastCreatedPaymentTokenChooser
This class selects the most recently created payment token for a customer when using Magento's Instant Purchase feature. It retrieves valid, non-expir...
PlaceOrder
This class orchestrates the instant purchase feature in Magento 2, allowing customers to place orders with a single click using saved payment and ship...
QuoteManagement\PaymentConfiguration
This class configures payment information for instant purchase quotes using stored vault payment tokens. Developers would use this when implementing i...
QuoteManagement\Purchase
This class handles the final step of placing an instant purchase order by collecting quote totals and submitting it for order creation. Developers wou...
QuoteManagement\QuoteCreation
This class creates and configures a new shopping cart (Quote) specifically for Magento's Instant Purchase feature. It sets up the quote with customer...
QuoteManagement\QuoteFilling
This class is responsible for adding products to a quote during the instant purchase process. Developers would use or extend this class when they need...
QuoteManagement\ShippingConfiguration
This class configures shipping methods for instant purchase orders in Magento 2. Developers use it to validate and set the appropriate shipping method...
ShippingAddressChoose\DefaultShippingAddressChooser
This class selects the default shipping address for a customer during the instant purchase process. Developers would use this when implementing instan...
ShippingMethodChoose\CarrierFinder
This class finds available shipping carriers that can deliver to a customer's address during instant purchase operations. Developers use it to filter...
ShippingMethodChoose\CheapestMethodChooser
This class creates a deferred shipping method selection that will automatically choose the cheapest available shipping option during instant purchase...
ShippingMethodChoose\CheapestMethodDeferredChooser
This class automatically selects the cheapest available shipping method for instant purchase transactions. Developers use this when implementing insta...
ShippingMethodChoose\DeferredShippingMethodChooserPool
This class serves as a registry pool for deferred shipping method choosers in the Instant Purchase module. Developers use it to retrieve the appropria...