Methods
(inner) ToReferrerFor(service) → {number}
Returns the number of points that must be awarded to the referrer of the account
that is carrying out the transaction for the service.
A service is one of the transaction categories supported by the Magic Batua
platform. At the time of writing, points were only awarded for the following
three services:
- Signup
- College Fees
- Mobile Prepaid
Parameters:
| Name | Type | Description |
|---|---|---|
service |
service | Name of the service used |
- Source:
Returns:
Number of points that must be credited to the transaction maker's referrer.
- Type
- number
(inner) ToSelfFor(service) → {number}
Returns the number of points that must be awarded to the account carrying
out the transaction for the service.
A service is one of the transaction categories supported by the Magic Batua
platform. At the time of writing, points were only awarded for the following
three services:
- Signup
- College Fees
- Mobile Prepaid
Parameters:
| Name | Type | Description |
|---|---|---|
service |
service | Name of the service used |
- Source:
Returns:
Number of points that must be credited to the transaction maker's account.
- Type
- number