getMessage()
:
String
Returns the message to include in the email of the person receiving the gift certificate line item.
getSenderName()
:
String
Returns the name of the person or organization that sent the gift certificate line item or null if undefined.
setMessage(message
:
String)
:
void
Sets the message to include in the email of the person receiving the gift certificate line item.
setRecipientEmail(recipientEmail
:
String)
:
void
Sets the email address of the person receiving the gift certificate line item.
setRecipientName(recipient
:
String)
:
void
Sets the name of the person receiving the gift certificate line item.
setSenderName(sender
:
String)
:
void
Sets the name of the person or organization that sent the gift certificate line item.
setShipment(shipment
:
Shipment)
:
void
Associates the gift certificate line item with the specified shipment.
getGiftCertificateID
getGiftCertificateID()
:
String
Returns the ID of the gift certificate that this line item
was used to create. If this line item has not been used to create
a Gift Certificate, this method returns null.
Returns:
the ID of the gift certificate or null if undefined.
getMessage
Returns the message to include in the email of the person receiving
the gift certificate line item.
Returns:
the message to include in the email of the person receiving the gift certificate line item.
getProductListItem
Returns the associated ProductListItem.
getRecipientEmail
Returns the email address of the person receiving
the gift certificate line item.
Returns:
the email address of the person receiving the gift certificate line item.
getRecipientName
Returns the name of the person receiving the gift certificate line item.
Returns:
the name of the person receiving the gift certificate line item.
getSenderName
Returns the name of the person or organization that
sent the gift certificate line item or null if undefined.
Returns:
the name of the person or organization that sent the gift certificate line item or null if undefined.
getShipment
Returns the associated Shipment.
Returns:
The shipment of the gift certificate line item
setGiftCertificateID
setGiftCertificateID(id
:
String)
:
void
Sets the ID of the gift certificate associated with this line item.
Parameters:
id
-
the ID of the gift certificate associated with this line item.
setMessage
setMessage(message
:
String)
:
void
Sets the message to include in the email of the person receiving
the gift certificate line item.
Parameters:
message
-
the message to include in the email of the person receiving the gift certificate line item.
setProductListItem
Sets the associated ProductListItem.
The product list item to be set must be of type gift certificate otherwise an exception is thrown.
Parameters:
productListItem
-
the product list item to be associated
setRecipientEmail
setRecipientEmail(recipientEmail
:
String)
:
void
Sets the email address of the person receiving
the gift certificate line item.
Parameters:
recipientEmail
-
the email address of the person receiving the gift certificate line item.
setRecipientName
setRecipientName(recipient
:
String)
:
void
Sets the name of the person receiving the gift certificate line item.
Parameters:
recipient
-
the name of the person receiving the gift certificate line item.
setSenderName
setSenderName(sender
:
String)
:
void
Sets the name of the person or organization that
sent the gift certificate line item.
Parameters:
sender
-
the name of the person or organization that sent the gift certificate line item.
setShipment
Associates the gift certificate line item with the specified shipment.
Gift certificate line item and shipment must belong to the same line item ctnr.
Parameters:
shipment
-
The new shipment of the gift certificate line item