DocumentItemDto

data class DocumentItemDto(val description: String? = null, val brand: String? = null, val buyLink: String? = null, val discounts: List<DocumentDiscountDto>? = null, val fees: List<DocumentFeeDto>? = null, val imageUrl: String? = null, val itemIds: List<String>? = null, val listPrice: DocumentTaxableAmountDto? = null, val loyaltyRewards: DocumentLoyaltyRewardsDto? = null, val name: String? = null, val price: DocumentTaxableAmountDto? = null, val priceBeforeDiscountsFees: DocumentTaxableAmountDto? = null, val properties: List<DocumentItemDtoPropertiesInner>? = null, val serialNumbers: List<String>? = null, val sku: String? = null, val unitListPrice: DocumentTaxableAmountDto? = null, val unitOfMeasure: String? = null, val unitPrice: DocumentTaxableAmountDto? = null, val unitQuantity: BigDecimal? = null)

Parameters

description

An additional description of an item.

brand

The brand name of this item.

buyLink

A link to this item on the retailer's website.

discounts
fees
imageUrl

A url to an image of this item.

itemIds

A set of strings set by the merchant to identify this item. The meaning of these values vary by merchant, and are not guaranteed to be unique in any way.

listPrice
loyaltyRewards
name

A user-presentable name for this item, which should be the main content of the line item.

price
priceBeforeDiscountsFees
properties

Will be used to define miscellaneous item properties.

serialNumbers

The serial number of the item.

sku

The SKU for this item as is on the receipt.

unitListPrice
unitOfMeasure

The unit of measure of the item.

unitPrice
unitQuantity

The quantity of units of the item. If there is a unit of measure this will be the quantity of the specified units of measure.

Constructors

Link copied to clipboard
constructor(description: String? = null, brand: String? = null, buyLink: String? = null, discounts: List<DocumentDiscountDto>? = null, fees: List<DocumentFeeDto>? = null, imageUrl: String? = null, itemIds: List<String>? = null, listPrice: DocumentTaxableAmountDto? = null, loyaltyRewards: DocumentLoyaltyRewardsDto? = null, name: String? = null, price: DocumentTaxableAmountDto? = null, priceBeforeDiscountsFees: DocumentTaxableAmountDto? = null, properties: List<DocumentItemDtoPropertiesInner>? = null, serialNumbers: List<String>? = null, sku: String? = null, unitListPrice: DocumentTaxableAmountDto? = null, unitOfMeasure: String? = null, unitPrice: DocumentTaxableAmountDto? = null, unitQuantity: BigDecimal? = null)

Properties

Link copied to clipboard
@SerializedName(value = "brand")
val brand: String? = null
Link copied to clipboard
@SerializedName(value = "buyLink")
val buyLink: String? = null
Link copied to clipboard
@SerializedName(value = "description")
val description: String? = null
Link copied to clipboard
@SerializedName(value = "discounts")
val discounts: List<DocumentDiscountDto>? = null
Link copied to clipboard
@SerializedName(value = "fees")
val fees: List<DocumentFeeDto>? = null
Link copied to clipboard
@SerializedName(value = "imageUrl")
val imageUrl: String? = null
Link copied to clipboard
@SerializedName(value = "itemIds")
val itemIds: List<String>? = null
Link copied to clipboard
@SerializedName(value = "listPrice")
val listPrice: DocumentTaxableAmountDto? = null
Link copied to clipboard
@SerializedName(value = "loyaltyRewards")
val loyaltyRewards: DocumentLoyaltyRewardsDto? = null
Link copied to clipboard
@SerializedName(value = "name")
val name: String? = null
Link copied to clipboard
@SerializedName(value = "price")
val price: DocumentTaxableAmountDto? = null
Link copied to clipboard
@SerializedName(value = "priceBeforeDiscountsFees")
val priceBeforeDiscountsFees: DocumentTaxableAmountDto? = null
Link copied to clipboard
@SerializedName(value = "properties")
val properties: List<DocumentItemDtoPropertiesInner>? = null
Link copied to clipboard
@SerializedName(value = "serialNumbers")
val serialNumbers: List<String>? = null
Link copied to clipboard
@SerializedName(value = "sku")
val sku: String? = null
Link copied to clipboard
@SerializedName(value = "unitListPrice")
val unitListPrice: DocumentTaxableAmountDto? = null
Link copied to clipboard
@SerializedName(value = "unitOfMeasure")
val unitOfMeasure: String? = null
Link copied to clipboard
@SerializedName(value = "unitPrice")
val unitPrice: DocumentTaxableAmountDto? = null
Link copied to clipboard
@SerializedName(value = "unitQuantity")
val unitQuantity: BigDecimal? = null