Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PurchasePurchaseItemExtension

Purchase orders like goods, food etc.

Line item contents of Purchase Vertical.

Hierarchy

  • PurchasePurchaseItemExtension

Properties

Optional extension

extension: undefined | object

Any extra fields exchanged between merchant and google. Note: Use of this extension is highly discouraged. Based on the use-case/circumstances, consider one of the following:

  1. Define fields in the PurchaseItemExtension if it could be used for other use-cases (ie. generic capability/functionality). 2. Use vertical_extension if it is specific to a custom, non-generic use-case/feature.

Optional fulfillmentInfo

Fulfillment info for this line item. If unset, this line item inherits order level fulfillment info.

Optional itemOptions

itemOptions: PurchaseItemOption[]

Additional add-ons or sub-items.

Optional productDetails

productDetails: PurchaseProductDetails

Details about the product.

Optional productId

productId: undefined | string

Product or offer id associated with this line item.

Optional quantity

quantity: undefined | number

Quantity of the item.

Optional returnsInfo

Returns info for this line item. If unset, this line item inherits order level returns info.

Optional status

Required: Line item level status.

Optional type

Required: Type of purchase.

Optional unitMeasure

Unit measure. Specifies the size of the item in chosen units. The size, together with the active price is used to determine the unit price.

Optional userVisibleStatusLabel

userVisibleStatusLabel: undefined | string

Required: User visible label/string for the status. Max allowed length is 50 chars.

Generated using TypeDoc