Poq.SDK.Node

Home > @poq/sdk-sfcc > ExpressCheckoutService

ExpressCheckoutService class

SFCC Express checkout service interface to configure shipping address, update/get shipping methods and, place order.

Signature:

export declare class ExpressCheckoutService implements IExpressCheckoutService 

Implements: IExpressCheckoutService

Constructors

Constructor Modifiers Description
(constructor)(checkoutClient, customersClient, basketClient, orderClient)   Constructs a new instance of the ExpressCheckoutService class

Methods

Method Modifiers Description
getShippingMethods(authInfo, customerId, shipmentId)   Method returns shipping methods available for customer.
placeOrder(authInfo, appIdentifier, poqUserId, platform, appId, customerId, currency, placeOrderRequest, paymentMethodId, shipmentId)   Method places order.
setShippingAddress(authInfo, customerId, shippingAddress, shipmentId)   Method helps to set shipping address.
setShippingMethod(authInfo, customerId, shippingMethodId, shipmentId)   Method helps to set shipping method.