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

NameTypeJSON nameDescription
GrantTimeDateTimeOffset?grantTimeThe grantTime property
Namestring?nameorganizations/{org}/referralProgram/referrals/{id}.
QualifyTimeDateTimeOffset?qualifyTimeThe qualifyTime property
Reasonstring?reasonWhy a referral is rejected, expired or waiting. A referrer sees only `not-eligible` for a shared signal.
RewardMicroslong?rewardMicrosThe credit this side received, in micro-euros; 0 until granted.
RoleModels.Billing.Referral_role?rolereferrer: the caller issued the code; referred: the caller entered it.
SignupTimeDateTimeOffset?signupTimeThe signupTime property
StateModels.Billing.Referral_state?statesigned_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.