Plan Model
The Plan Model – is a base model for showing platform plan parameters. Model fields are presented in the table (Table 4.6), with an example below (Listing 4.5). There are the following types of this model (Table 4.7).
Table 4.6 – Fields of Plan Model
1
uuid
uuid v4, string
required
Main identifier of plan
2
type
string
required
Type of the plan
3
name
string
required
Public name of the plan
4
operator_title
string
optional
Title of operator with integration, if it exists
5
prepaid_refills
array
optional
Available refills for this plan
Listing 4.5 – Example of Plan Model (JSON)
Table 4.7 – Plan Types
1
Monthly bundle
Pay after using. One of subscription subtype
2
Pay per MB
There is static price for MB. One of subscription subtype
3
Unlimited
Usage is unlimited. One of subscription subtype
4
Dynamic pool
Pool usage can change. One of subscription subtype
5
Static pool
Pool usage can’t change. One of subscription subtype
6
Prepaid
Need to pay before using
7
PAYGO
One of subscription subtype
Last updated