Class RecipientList

java.lang.Object
com.sparkpost.model.Base
com.sparkpost.model.RecipientList

public class RecipientList
extends Base
A recipient list is a collection of recipients that can be used in a transmission. The Recipient List API provides the means to manage recipient lists. When creating a new transmission using the Transmissions API, the recipients may be submitted "inline" as part of the transmission data, or a stored recipient list id attribute can be specified.The Recipient List API operates on lists as a whole and does not currently support management of individual recipients.Recipient List Attributes
  • Constructor Details

    • RecipientList

      public RecipientList()
  • Method Details

    • asStoredRecipientList

      public StoredRecipientList asStoredRecipientList()
      Returns object that can be used to create transmission.
      Returns:
      StoredRecipientList object