Discount columns
Discount columns contain data about any discounts you are receiving.
Column name | Description | Data type |
---|---|---|
discount |
Table configuration: Removed by: INCLUDE MANUAL DISCOUNT COMPATIBILITY A "struct" column containing key-value pairs of any specific discounts that apply to this line item. The keys correspond to a discount type and the values correspond to either the discount value or other information. The values in this column are either data type "numeric" or "string" depending on the specific key. The keys of this column can be queried as individual columns by using the dot operator. For more information, see Data query. This column is not available when "Manual discount compatibility" is enabled. When it's enabled, discounts are populated as separate line items and not in this column. |
map <string, double> |
discount_bundled_discount |
The bundled discount applied to the line item. A bundled discount is a usage-based discount that provides free or discounted usage of a service or feature based on the usage of another service or feature. The following are examples of bundled discounts:
|
double |
discount_total_discount |
Table configuration: Removed by: INCLUDE MANUAL DISCOUNT COMPATIBILITY The sum of all the discount columns for the corresponding line item. This column is not available when "Manual discount compatibility" is enabled. When it's enabled, discounts are populated as separate line items and not in this column. |
double |