SDK reference / Models / Billing
ReferralProgram
Kind: class
Namespace: Egulu.Sdk.Models.Billing
The referral page of one account (ADR-1107).
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
Code | Models.Billing.ReferralCode? | code | The code, or absent when the account has never issued one. |
EarnedMicros | long? | earnedMicros | Credit granted to the account through referrals, all time, in micro-euros. |
ExpireAfterDays | int? | expireAfterDays | How long granted credit lasts, in days. |
GrantedThisYear | int? | grantedThisYear | Referrals of this account granted in the last 365 days. |
MinFirstTopUpMicros | long? | minFirstTopUpMicros | The smallest first paid top-up that qualifies a referral, in micro-euros. |
Name | string? | name | organizations/{org}/referralProgram. |
OutstandingMicros | long? | outstandingMicros | What of its promo credit is unspent and unexpired, in micro-euros. |
Referrals | List<Models.Billing.Referral>? | referrals | Referrals on either side, newest first (at most 200). |
RewardEachSideMicros | long? | rewardEachSideMicros | The credit each side receives, in micro-euros (from the register). |
YearlyLimit | int? | yearlyLimit | The most referrals that may be granted to one referrer in 365 days. |