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 |
Returns:
(inner) sendGiftCertificateEmail(giftCertificate)
Send an email to recipient of gift certificate
Parameters:
Name | Type | Description |
---|---|---|
giftCertificate |
dw.order.GiftCertificate |