Log in
Factory

InstantPurchaseOptionLoadingFactory

Magento\InstantPurchase\Model\InstantPurchaseOptionLoadingFactory

What it does

This factory creates InstantPurchaseOption objects by loading all necessary entities (payment tokens, addresses, shipping methods) from their respective repositories.

Developers use this when setting up instant purchase functionality to hydrate a complete purchase option from just IDs and codes, avoiding manual loading of related objects.

Public Methods

  • create()