title: Quantity Redemption Option
type: object
x-tags:
  - Models
description: Current direct-discount terms on a program or balance, or immutable selected terms on a redemption/reversal
  receipt. The full unit cost is consumed even when the permitted actual saving is smaller. Direct rewards spend the
  same pool as voucher exchanges and create no voucher batch.
required:
  - uuid
  - quantity_cost
  - calculation
  - minimum_eligible_spend
  - is_stackable
properties:
  uuid:
    type: string
    format: uuid
    description: Stable option identity; preserve it through edits.
  quantity_cost:
    type: integer
    minimum: 1
    maximum: 2147483647
  calculation:
    $ref: ./Calculation.yaml
  minimum_eligible_spend:
    oneOf:
      - type: "null"
      - $ref: ./PositiveMoney.yaml
    description: Minimum remaining eligible spend for this option, or null for no minimum.
  is_stackable:
    type: boolean
    description: Whether checkout may combine this discount with other rewards. Every combined reward must permit stacking;
      checkout coordinates order and remaining eligible spend.
