applyGiftCertificate
Method Signature Cart applyGiftCertificate(String giftCertificateCode);
Description
Applies a gift certficiate to the cart. A cart can only have one gift certificate on it. You should call the validateGiftCertificate method before calling this method. The global cart variable is automatically submitted with this call.
Parameters String giftCertificateCode – the gift certificate code to use.
Result Cart – the updated cart that reflects the applied gift certificate.