DocumentListItem

data class DocumentListItem(val id: String, val foreignId: String? = null, val accountMetadata: DocumentAccountMetadata? = null, val arrivalDateTime: OffsetDateTime, val lastUpdateDateTime: OffsetDateTime, val documentType: DocumentType, val description: String? = null, val status: DocumentServerStatus, val content: DocumentListItem.Content, val source: DocumentSource? = null, val userMetadata: DocumentUserMetadata? = null)

This is a subset of the properties that are available when fetching a single document. Similar to Document but containing reduced content

See also

Constructors

Link copied to clipboard
constructor(id: String, foreignId: String? = null, accountMetadata: DocumentAccountMetadata? = null, arrivalDateTime: OffsetDateTime, lastUpdateDateTime: OffsetDateTime, documentType: DocumentType, description: String? = null, status: DocumentServerStatus, content: DocumentListItem.Content, source: DocumentSource? = null, userMetadata: DocumentUserMetadata? = null)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class Content(val documentNumber: String? = null, val currencyCode: CurrencyCodeEnum? = null, val documentDate: LocalDate? = null, val documentTime: LocalTime? = null, val dueDate: LocalDate? = null, val payments: List<DocumentContent.Payment>? = null, val merchant: DocumentListItem.Content.Merchant? = null, val total: DocumentTaxableAmount? = null, val amountDue: DocumentTaxableAmount? = null)

This is a subset of the properties that are available when fetching a single document Similar to DocumentContent but containing reduced/simplified properties

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val description: String? = null
Link copied to clipboard
Link copied to clipboard
val foreignId: String? = null
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
val source: DocumentSource? = null
Link copied to clipboard
Link copied to clipboard