SDK reference / Models / Billing

ReferralProgram

Kind: class

Namespace: Egulu.Sdk.Models.Billing

The referral page of one account (ADR-1107).

Properties

NameTypeJSON nameDescription
CodeModels.Billing.ReferralCode?codeThe code, or absent when the account has never issued one.
EarnedMicroslong?earnedMicrosCredit granted to the account through referrals, all time, in micro-euros.
ExpireAfterDaysint?expireAfterDaysHow long granted credit lasts, in days.
GrantedThisYearint?grantedThisYearReferrals of this account granted in the last 365 days.
MinFirstTopUpMicroslong?minFirstTopUpMicrosThe smallest first paid top-up that qualifies a referral, in micro-euros.
Namestring?nameorganizations/{org}/referralProgram.
OutstandingMicroslong?outstandingMicrosWhat of its promo credit is unspent and unexpired, in micro-euros.
ReferralsList<Models.Billing.Referral>?referralsReferrals on either side, newest first (at most 200).
RewardEachSideMicroslong?rewardEachSideMicrosThe credit each side receives, in micro-euros (from the register).
YearlyLimitint?yearlyLimitThe most referrals that may be granted to one referrer in 365 days.