DocumentItemDto

fun DocumentItemDto(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)

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
  • @param fees * @param 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
  • @param loyaltyRewards * @param name A user-presentable name for this item, which should be the main content of the line item.

price
  • @param priceBeforeDiscountsFees * @param 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
  • @param unitOfMeasure The unit of measure of the item.

unitPrice
  • @param 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.