Skip to main content

OrderOptionalInput

No description

type OrderOptionalInput {
id: ID
renewalPeriod: String
renewsAt: GQLTDate
initialPurchaseDate: GQLTDate
renewalAttempts: Int
lastRenewalAttempt: GQLTDate
status: Int
data: GQLTJson
processing: OrderProcessingOptionalInputEnum
processingError: String
createdAt: GQLTDate
updatedAt: GQLTDate
accountId: ID
userId: ID
voucherId: ID
orderItems: OrderOrderItemsHasManyInput
invoices: OrderInvoicesHasManyInput
user: OrderUserBelongsToInput
account: OrderAccountBelongsToInput
voucher: OrderVoucherBelongsToInput
userPlans: OrderUserPlansHasManyInput
}

Fields#

id (ID)#

This a primary key for Order

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 (OrderProcessingOptionalInputEnum)#

processingError (String)#

createdAt (GQLTDate)#

updatedAt (GQLTDate)#

accountId (ID)#

This a primary key for Order

userId (ID)#

This a primary key for Order

voucherId (ID)#

target for voucher

orderItems (OrderOrderItemsHasManyInput)#

This is the mutation object for OrderOrderItemsHasMany

invoices (OrderInvoicesHasManyInput)#

This is the mutation object for OrderInvoicesHasMany

user (OrderUserBelongsToInput)#

This is the mutation object for OrderUserBelongsTo

account (OrderAccountBelongsToInput)#

This is the mutation object for OrderAccountBelongsTo

voucher (OrderVoucherBelongsToInput)#

This is the mutation object for OrderVoucherBelongsTo

userPlans (OrderUserPlansHasManyInput)#

This is the mutation object for OrderUserPlansHasMany