UserReferralConfiguration

constructor(enabled: Boolean, recipientCreditAmount: Int, redemptionEvent: String, redemptionThresholdAmount: Int, senderCreditAmount: Int)

Parameters

enabled

If true, user referral's are enabled

recipientCreditAmount

The user referral bonus for the user who is claiming a referral

redemptionEvent

Either add_balance or create_user. This determines which event triggers the user referral bonus.

redemptionThresholdAmount

Only applies if redemptionEvent is add_balance. This is the minimum value required to trigger the user referral bonus.

senderCreditAmount

The user referral bonus for the user who is doing the referral