CartTaxLine
Describes a cart tax line, including tax rate and amount for GraphQL queries.
Type Definition
type CartTaxLine {
price: Float
rate: Float
ratePercentage: Float
}Fields
| Field | Type | Description |
|---|---|---|
| price | Float | Returns the price in customer’s currency. Requires order context. |
| rate | Float | Returns the tax rate in decimals. |
| ratePercentage | Float | Returns the tax rate. |
Relationships
CartTaxLine represents tax information associated with a cart. It provides calculated tax details including the monetary amount and applicable tax rates for display and calculation purposes within cart operations.
Example
{
price
rate
ratePercentage
}Implements
No interfaces implemented.
Related Types
- Cart
- Order