Class PurchaseTransaction

A transaction represents the entire purchase transaction.

Attributes
NameDescription
strid
The transaction ID with a length limit of 128 characters.
floatrevenue
Required. Total non-zero revenue or grand total associated with the transaction. This value include shipping, tax, or other adjustments to total revenue that you want to include as part of your revenue calculations.
floattax
All the taxes associated with the transaction.
floatcost
All the costs associated with the products. These can be manufacturing costs, shipping expenses not borne by the end user, or any other costs, such that: - Profit = revenue - tax - cost
strcurrency_code
Required. Currency code. Use three-character ISO-4217 code.

Inheritance

builtins.object > proto.message.Message > PurchaseTransaction