SDK reference / Models / Billing
Referral
Kind: class
Namespace: Egulu.Sdk.Models.Billing
A referral as one of its two sides sees it. A referrer never learns which account entered its code.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
GrantTime | DateTimeOffset? | grantTime | The grantTime property |
Name | string? | name | organizations/{org}/referralProgram/referrals/{id}. |
QualifyTime | DateTimeOffset? | qualifyTime | The qualifyTime property |
Reason | string? | reason | Why a referral is rejected, expired or waiting. A referrer sees only `not-eligible` for a shared signal. |
RewardMicros | long? | rewardMicros | The credit this side received, in micro-euros; 0 until granted. |
Role | Models.Billing.Referral_role? | role | referrer: the caller issued the code; referred: the caller entered it. |
SignupTime | DateTimeOffset? | signupTime | The signupTime property |
State | Models.Billing.Referral_state? | state | signed_up: waiting for the first paid top-up. qualified: the top-up cleared, the credit waits for room under the cap. granted: credit paid. revoked: granted, then taken back. rejected or expired: no credit. |