menu

SiteGenesis / Server-side JS / Module: models/GiftCertificateModel

Methods

(inner) createGiftCertificateFromLineItem(giftCertificateLineItem, orderNo) → {dw.order.GiftCertificate}

Create a gift certificate for a gift certificate line item in the order

Parameters:
Name Type Description
giftCertificateLineItem dw.order.GiftCertificateLineItem
orderNo String

the order number of the order to associate gift certificate to

Source:
Returns:
Type
dw.order.GiftCertificate

(inner) sendGiftCertificateEmail(giftCertificate)

Send an email to recipient of gift certificate

Parameters:
Name Type Description
giftCertificate dw.order.GiftCertificate
Source:

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.