Skip to main content

UserPlan

This is a user plan table

type UserPlan implements Node {
id: ID!
usage: Int!
total: Int!
start: GQLTDate!
end: GQLTDate!
alive: Boolean!
unlimited: Boolean!
messages: GQLTJson!
createdAt: GQLTDate!
updatedAt: GQLTDate!
userId: ID
transactionId: ID
productId: ID
orderId: ID
user: User
transaction: Transaction
product: Product
order: Order
}

Fields#

id (ID!)#

The ID of an object

usage (Int!)#

This is where we can see the usage of the plan by the user get.

total (Int!)#

This is the total plan that the user get.

start (GQLTDate!)#

The start of plan for using the product.

end (GQLTDate!)#

The end of plan for using the product.

alive (Boolean!)#

This is an indicator to know if the plan is still going or not.

unlimited (Boolean!)#

This is an indicator if the user plan gets is an unlimited data or not.

messages (GQLTJson!)#

This is where percentage of the plan to be seen.

createdAt (GQLTDate!)#

updatedAt (GQLTDate!)#

userId (ID)#

The ID of an object

transactionId (ID)#

The ID of an object

productId (ID)#

The ID of an object

orderId (ID)#

The ID of an object

user (User)#

user plan belongsTo user

transaction (Transaction)#

user plan belongsTo transaction

product (Product)#

user plan belongsTo product

order (Order)#

Interfaces#

Node#

An object with an ID