SquareConnect::V1PaymentItemization

March 13, 2019 ยท View on GitHub

Description

Payment include an itemizations field that lists the items purchased, along with associated fees, modifiers, and discounts. Each itemization has an itemization_type field that indicates which of the following the itemization represents:

  • An item variation from the merchant's item library
  • A custom monetary amount
  • An action performed on a Square gift card, such as activating or reloading it.
Note*: itemization information included in a Payment object reflects details collected at the time of the payment. Details such as the name or price of items might have changed since the payment was processed.

Properties

NameTypeDescriptionNotes
nameStringThe item's name.[optional]
quantityFloatThe quantity of the item purchased. This can be a decimal value.[optional]
itemization_typeStringThe type of purchase that the itemization represents, such as an ITEM or CUSTOM_AMOUNT See V1PaymentItemizationItemizationType for possible values[optional]
item_detailV1PaymentItemDetailDetails of the item, including its unique identifier and the identifier of the item variation purchased.[optional]
notesStringNotes entered by the merchant about the item at the time of payment, if any.[optional]
item_variation_nameStringThe name of the item variation purchased, if any.[optional]
total_moneyV1MoneyThe total cost of the item, including all taxes and discounts.[optional]
single_quantity_moneyV1MoneyThe cost of a single unit of this item.[optional]
gross_sales_moneyV1MoneyThe total cost of the itemization and its modifiers, not including taxes or discounts.[optional]
discount_moneyV1MoneyThe total of all discounts applied to the itemization. This value is always negative or zero.[optional]
net_sales_moneyV1MoneyThe sum of gross_sales_money and discount_money.[optional]
taxesArray<V1PaymentTax>All taxes applied to this itemization.[optional]
discountsArray<V1PaymentDiscount>All discounts applied to this itemization.[optional]
modifiersArray<V1PaymentModifier>All modifier options applied to this itemization.[optional]