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.
Overview
Properties
loyalty_program
References Loyalty Program Reference.
configuration_snapshot
References Cashback Configuration.
customer_tier_uuid
Tier resulting from capture progression, or null when no tier was held. Retained if the tier is later removed.
uuid
Yes
observed_amount
Calculated base entitlement plus any applicable awarded bonus. Tier-ineligible captures can observe base entitlement while awarding zero.
References Non-Negative Money.
awarded_amount
Base and bonus value actually granted, including a frozen zero result.
References Non-Negative Money.
invalidated_amount
Awarded entitlement invalidated by a full void, or null before void correction.
Yes
One of
One of 1
One of 2
References Non-Negative Money.
deducted_amount
Actual value recovered from the unexpired pool on full void. Zero is a completed correction, distinct from null.
Yes
One of
One of 1
One of 2
References Non-Negative Money.
undeducted_amount
Invalidated value minus actual deductions. This shortfall is permanently written off, never recovered from future earning. Null before void correction.
Yes
One of
One of 1
One of 2
References Non-Negative Money.
voided_at
When the full-void correction was recorded, including zero deductions; null before correction.
date-time
Yes
Used by
Raw YAML
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.