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! | |
parentId | ID ID! | The parent Affiliate — rows ride affledger#<affiliateId>. |
entryType | AffiliateEntryType AffiliateEntryType! | One of the values of [AffiliateEntryType](/types/AffiliateEntryType/). |
amountMinor | Int Int! | The signed payable figure (minor units — earn +, clawback −). |
currency | String String! | |
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! | |
returnId | ID | |
caption | String String! | |
createdAt | String String! |