CustomerListEntry object.
Constructors
new CustomerListEntryBuilder()
new CustomerListEntryBuilder(): CustomerListEntryBuilderReturns
CustomerListEntryBuilderMethods
addedTimestamp()
addedTimestamp(addedTimestamp:Date): CustomerListEntryBuilder
Sets the date when the entry was added to the list.
Parameters
addedTimestamp
Date
Date added to list.
Returns
CustomerListEntryBuilder CustomerListEntryBuilder The currentCustomerListEntryBuilder object.
build()
build():CustomerListEntry
Builds a CustomerListEntry object with the fields set on the builder.
Throws
InvalidArgumentErrorif required fields are not set.
Returns
CustomerListEntry
CustomerListEntry The CustomerListEntry object created.
contentId()
contentId(contentId: IContentId): CustomerListEntryBuilder Sets the ID, resolvable in the Amazon catalog, of the content for the list entry. This is a required field.build() will fail if this field is not set.
Parameters
contentId
IContentId ID resolvable in the Amazon catalog.Returns
CustomerListEntryBuilder CustomerListEntryBuilder The currentCustomerListEntryBuilder object.
profileId()
profileId(profileId: IProfileId): CustomerListEntryBuilder Sets the associatedprofileId of the user who’s list is changing.
Parameters
profileId
IProfileId The associatedprofileId of the user.
Returns
CustomerListEntryBuilder CustomerListEntryBuilder The currentCustomerListEntryBuilder object.

