Interface: ParserHooks

connectors/interfaces.ParserHooks

ParserHooks allows user to override/customize parsers on Commerce Connector implementations, as needed.

For compatibility, the results returned from overridden methods should be valid Commerce Integrations type objects. Typically, adding new properties to returned objects is safe, which removing them is not.

Methods

parseCart()

Parse a cart

Source:

parseCartItem()

Parse a cart item

Source:

parseCategories()

Parse categories.

Source:

parseCategory()

Parse a category.

Source:

parseCouponEntry()

Parse an coupon entry.

Source:

parseCustomer()

Parse a customer.

Source:

parseCustomerInformation()

Parse customer information

Source:

parseOrder()

Parse an order.

Source:

parseOrderAddress()

Parse an order address

Source:

parsePayment()

Parse a payment.

Source:

parsePaymentMethod()

Parse a payment method.

Source:

parseProduct()

Parse a product.

Source:

parseProducts()

Parse products.

Source:

parseSearchProducts()

Parse a product search result.

Source:

parseSearchStores()

Parse a StoreSearchResult

Source:

parseShippingMethod()

Parse a shipping method

Source:

parseStore()

Parse a store.

Source: