Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 2.64 KB

OrderLineItem.md

File metadata and controls

23 lines (19 loc) · 2.64 KB

OrderLineItem

Properties

Name Getter Setter Type Description Notes
name getName() setName($value) string The name of the line item. [optional]
quantity getQuantity() setQuantity($value) string The quantity purchased, as a string representation of a number. This string must have a positive integer value.
note getNote() setNote($value) string The note of the line item. [optional]
catalog_object_id getCatalogObjectId() setCatalogObjectId($value) string The CatalogItemVariation id applied to this line item. [optional]
variation_name getVariationName() setVariationName($value) string The name of the variation applied to this line item. [optional]
modifiers getModifiers() setModifiers($value) \SquareConnect\Model\OrderLineItemModifier[] The CatalogModifiers applied to this line item. [optional]
taxes getTaxes() setTaxes($value) \SquareConnect\Model\OrderLineItemTax[] The taxes applied to this line item. [optional]
discounts getDiscounts() setDiscounts($value) \SquareConnect\Model\OrderLineItemDiscount[] The discounts applied to this line item. [optional]
base_price_money getBasePriceMoney() setBasePriceMoney($value) \SquareConnect\Model\Money The base price for a single unit of the line item. [optional]
gross_sales_money getGrossSalesMoney() setGrossSalesMoney($value) \SquareConnect\Model\Money The gross sales amount of money calculated as (item base price + modifiers price) * quantity. [optional]
total_tax_money getTotalTaxMoney() setTotalTaxMoney($value) \SquareConnect\Model\Money The total tax amount of money to collect for the line item. [optional]
total_discount_money getTotalDiscountMoney() setTotalDiscountMoney($value) \SquareConnect\Model\Money The total discount amount of money to collect for the line item. [optional]
total_money getTotalMoney() setTotalMoney($value) \SquareConnect\Model\Money The total amount of money to collect for this line item. [optional]

Note: All properties are protected and only accessed via getters and setters.

[Back to Model list] [Back to API list] [Back to README]