Poq.SDK.Node

Home > @poq/sdk > CheckoutService

CheckoutService class

Default implementation of ICheckoutService.

Signature:

export declare class CheckoutService implements ICheckoutService 

Implements: ICheckoutService

Constructors

Constructor Modifiers Description
(constructor)(checkoutClient, productClient)   Constructs a new instance of the CheckoutService class

Methods

Method Modifiers Description
addCartItem(appIdentifier, poqUserId, cartParams, mergeByCustomData)   Adds an item to a user’s cart.
getCart(appIdentifier, poqUserId, currencyIdentifier)   Gets a user’s cart filled with productes.
updateCart(appIdentifier, poqUserId, request)   Updates a user’s cart.