> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CheckoutDiscountRuleCartTotalConditionInput

> Compare the cart total with an amount.

**amount** `[MoneyInput!](/docs/api-reference/v3/reference/common/money-input)` *required*

The amount, in the shop's currency.

**fields**

**amount** `[Decimal!](/docs/api-reference/v3/reference/common/decimal)` *required*

The amount as an exact decimal string (e.g. "19.99").

**currency** `String!` *required*

ISO 4217 currency code (e.g. USD).

**operator** `[CheckoutDiscountRuleNumberOperator!](/docs/api-reference/v3/reference/checkout/checkout-discount-rule-number-operator)` *required*

How the cart total is compared with `amount`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.