stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > TipSale

AdminTypes.TipSale interface

A sale associated with a tip.

Signature:

export interface TipSale extends Sale 

Extends: Sale

Properties

Property Modifiers Type Description
actionType   SaleActionType | `${SaleActionType}` The type of order action that the sale represents.
id   Scalars[‘ID’][‘output’] The unique ID for the sale.
lineItem   LineItem The line item for the associated sale.
lineType   SaleLineType | `${SaleLineType}` The line type assocated with the sale.
quantity?   Maybe<Scalars[‘Int’][‘output’]> (Optional) The number of units either ordered or intended to be returned.
taxes   Array<SaleTax> All individual taxes associated with the sale.
totalAmount   MoneyBag The total sale amount after taxes and discounts.
totalDiscountAmountAfterTaxes   MoneyBag The total discounts allocated to the sale after taxes.
totalDiscountAmountBeforeTaxes   MoneyBag The total discounts allocated to the sale before taxes.
totalTaxAmount   MoneyBag The total amount of taxes for the sale.