Poq.SDK.Node

Home > @poq/sdk-sfcc > ProfileConverter

ProfileConverter class

IProfileConverter defines method to convert from the poq user profile to sfcc customer model and back.

Signature:

export declare class ProfileConverter implements IProfileConverter 

Implements: IProfileConverter

Methods

Method Modifiers Description
fromSfccCustomer(customer)   Method converts sfcc customer to profile model.
toSfccCustomer(profileRequest)   Method converts profile response model to sfcc customer model.