AffiliateEntry
object type
ONE immutable affiliate fact: ORDER-level (no per-line detail v1 — the product-scope predicate is a named deferral); basisMinor + ratePpm stamp the earn (self-auditing — the affiliate's rate is EDITABLE, the entry's snapshot is not).
Fields
| Field | Type | Notes |
|---|---|---|
id | ID ID! | No further notes. |
parentId | ID ID! | The parent Affiliate — rows ride AFFLEDGER#<affiliateId>. |
entryType | AffiliateEntryType AffiliateEntryType! | No further notes. |
amountMinor | Int Int! | The SIGNED payable figure (minor units — earn +, clawback −). |
currency | String String! | No further notes. |
basisMinor | Int | The ORDER NET the earn computed on (stamped on earn — self-auditing arithmetic). |
ratePpm | Int | The rate snapshot (ppm — stamped on earn). |
orderId | ID ID! | No further notes. |
returnId | ID | No further notes. |
caption | String String! | No further notes. |
createdAt | String String! | No further notes. |