Home > @poq/sdk-sfcc > ICartContractMigrator
Migrator aims to align the salesforce contracts with the Poq contracts.
Signature:
export interface ICartContractMigrator
Method | Description |
---|---|
generateCartResponse(authInfo, customerId, appIdentifier, poqUserId, basket, currencyCode, isGuest, locale) | Method transforms the salesforce basket object into Cart with Products contract of the Poq. |
generateSfccProductItem(appIdentifier, addToCartParam) | Method transform cart request into product item. |