Order
This is a order table
Fields#
id (ID!)#
The ID of an object
renewalPeriod (String)#
This is the how long the renewal of the user will be.
renewsAt (GQLTDate)#
This is the next time the order will renew at.
initialPurchaseDate (GQLTDate)#
The initial purchase date
renewalAttempts (Int!)#
This is the count of the attempts of renewing the plan since it's automatic as long as you met the condition for the renewal to be processed.
lastRenewalAttempt (GQLTDate)#
This is the date and time where the last renewal attempt will be seen.
status (Int!)#
This is an indicator if the order attempt was succesful or not.
data (GQLTJson!)#
This is where we store the other data staffs of order.
processing (OrderProcessingEnum!)#
processingError (String)#
createdAt (GQLTDate!)#
updatedAt (GQLTDate!)#
accountId (ID)#
The ID of an object
userId (ID)#
The ID of an object
voucherId (ID)#
The ID of an object
orderItems (OrderItemHasManyOrderItemsList)#
If provided it will return results after the provided cursor
If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.
If provided it will return results before the provided cursor
If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.
orderBy([OrderItemOrderBy])#
If provided this will sort the results by the supplied column and direction
where(GQLTQueryOrderItemWhere)#include([GQLTOrderItemIncludeObject])#
invoices (InvoiceHasManyInvoicesList)#
If provided it will return results after the provided cursor
If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.
If provided it will return results before the provided cursor
If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.
orderBy([InvoiceOrderBy])#
If provided this will sort the results by the supplied column and direction
where(GQLTQueryInvoiceWhere)#include([GQLTInvoiceIncludeObject])#
user (User)#
account (Account)#
voucher (Voucher)#
order belongsTo voucher
userPlans (UserPlanHasManyUserPlansList)#
If provided it will return results after the provided cursor
If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.
If provided it will return results before the provided cursor
If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.
orderBy([UserPlanOrderBy])#
If provided this will sort the results by the supplied column and direction
where(GQLTQueryUserPlanWhere)#include([GQLTUserPlanIncludeObject])#
Interfaces#
Node#
An object with an ID