iglooX DocsDevelopers

Schema

Order Cashback Evaluation

Frozen first-capture cashback evaluation and terminal full-void correction. Current program identity/name, original configuration and resulting tier UUID. These monetary entitlements are distinct from actual source-linked ledger movements. Deleted customers retain evaluations after their pools and receipts are removed.

  • Models

Overview

object · 9 properties · 9 required

Properties

loyalty_program

reference Required

References Loyalty Program Reference.

configuration_snapshot

reference Required

References Cashback Configuration.

customer_tier_uuid

string | null Required

Tier resulting from capture progression, or null when no tier was held. Retained if the tier is later removed.

Format uuid
Nullable Yes

observed_amount

reference Required

Calculated base entitlement plus any applicable awarded bonus. Tier-ineligible captures can observe base entitlement while awarding zero.

References Non-Negative Money.

awarded_amount

reference Required

Base and bonus value actually granted, including a frozen zero result.

References Non-Negative Money.

invalidated_amount

oneOf Required

Awarded entitlement invalidated by a full void, or null before void correction.

Nullable Yes
One of

One of 1

null

One of 2

reference

References Non-Negative Money.

deducted_amount

oneOf Required

Actual value recovered from the unexpired pool on full void. Zero is a completed correction, distinct from null.

Nullable Yes
One of

One of 1

null

One of 2

reference

References Non-Negative Money.

undeducted_amount

oneOf Required

Invalidated value minus actual deductions. This shortfall is permanently written off, never recovered from future earning. Null before void correction.

Nullable Yes
One of

One of 1

null

One of 2

reference

References Non-Negative Money.

voided_at

string | null Required

When the full-void correction was recorded, including zero deductions; null before correction.

Format date-time
Nullable Yes

Used by

Raw YAML
Download source
title: Order Cashback Evaluation
type: object
x-tags:
  - Models
description: Frozen first-capture cashback evaluation and terminal full-void correction. Current program
  identity/name, original configuration and resulting tier UUID. These monetary entitlements are distinct from
  actual source-linked ledger movements. Deleted customers retain evaluations after their pools and receipts
  are removed.
required:
  - loyalty_program
  - configuration_snapshot
  - customer_tier_uuid
  - observed_amount
  - awarded_amount
  - invalidated_amount
  - deducted_amount
  - undeducted_amount
  - voided_at
properties:
  loyalty_program:
    $ref: ./LoyaltyProgramReference.yaml
  configuration_snapshot:
    $ref: ./CashbackConfiguration.yaml
  customer_tier_uuid:
    type:
      - string
      - "null"
    format: uuid
    description: Tier resulting from capture progression, or null when no tier was held. Retained if the tier is
      later removed.
  observed_amount:
    $ref: ./NonNegativeMoney.yaml
    description: Calculated base entitlement plus any applicable awarded bonus. Tier-ineligible captures can
      observe base entitlement while awarding zero.
  awarded_amount:
    $ref: ./NonNegativeMoney.yaml
    description: Base and bonus value actually granted, including a frozen zero result.
  invalidated_amount:
    oneOf: &a1
      - type: "null"
      - $ref: ./NonNegativeMoney.yaml
    description: Awarded entitlement invalidated by a full void, or null before void correction.
  deducted_amount:
    oneOf: *a1
    description: Actual value recovered from the unexpired pool on full void. Zero is a completed correction,
      distinct from null.
  undeducted_amount:
    oneOf: *a1
    description: Invalidated value minus actual deductions. This shortfall is permanently written off, never
      recovered from future earning. Null before void correction.
  voided_at:
    type:
      - string
      - "null"
    format: date-time
    description: When the full-void correction was recorded, including zero deductions; null before correction.

Search documentation

Search across this documentation site.