Publication

data class Publication(val attributes: Publication.Attributes, val pages: List<Publication.Page>)

The primary Publication object It contains the Publication.Attributes and an array of Publication.Page objects, which contain the page content.

Constructors

Link copied to clipboard
constructor(attributes: Publication.Attributes, pages: List<Publication.Page>)

Types

Link copied to clipboard
data class Attributes(val id: String, val title: String, val flyerTitle: String, val startDate: LocalDate, val endDate: LocalDate, val thumbnailUrl: String, val logoUrl: String, val storeId: String, val language: Language, val jobName: String, val category: String, val filters: FilterOptions? = null, val isBlockedFlyer: Boolean? = null)

The Publication's attributes - which are effectively the metadata for the Publication

Link copied to clipboard
data class Page(val grid: Grid, val content: Publication.Page.Content, val header: Publication.Page.Header?, val footer: Publication.Page.Cell.Footer?, val pageNumber: Int?)

A page within a Publication that contains a flexible grid of items.

Properties

Link copied to clipboard
Link copied to clipboard