Constructors
SpmStaticList()
Methods
addRecipient(String,String)
Adds a recipient to the static list.You must specify the email address of the recipient (the first parameter) and optional you can specify the name of the recipient.
delete()
Deletes a static list.If the list is in use by a shipment, the list will not be deleted.
getRecipients()
Gets a map of all the recipients in this list. The first element will be the email address and the second element the name of the recipient.load(Integer)
Loads an existing static list.removeRecipient(String)
Removes a recipient from the list identified by the email address.save()
Saves the list and the recipients.setFolderId(Integer)
Sets folder ID for a static list.setName(String)
Sets the name of this list.This is only a descriptive text that will be shown in Service.