VoucherOptionalInput
No description
Fields#
id (ID)#
This a primary key for Voucher
name (String)#
This is a name of voucher that will be displayed.
description (String)#
This is the description of the voucher.
code (String)#
This is the code that will be used for applying voucher in products.
consumed (Boolean)#
This is an indicator if the voucher have been already used.
totalUsageCount (Int)#
The total usage count that the voucher will be used.
availableUsageCount (Int)#
The available usage count that the voucher can be applied.
options (GQLTJson)#
This is where the metadata of voucher is being stored.
createdAt (GQLTDate)#
updatedAt (GQLTDate)#
productGroupId (ID)#
target for product group
userId (ID)#
target for user
groupId (ID)#
target for group
invoice (VoucherInvoiceHasManyInput)#
This is the mutation object for VoucherInvoiceHasMany
invoiceItems (VoucherInvoiceItemsHasManyInput)#
This is the mutation object for VoucherInvoiceItemsHasMany
productGroup (VoucherProductGroupBelongsToInput)#
This is the mutation object for VoucherProductGroupBelongsTo
voucherModifiers (VoucherVoucherModifiersHasManyInput)#
This is the mutation object for VoucherVoucherModifiersHasMany
orders (VoucherOrdersHasManyInput)#
This is the mutation object for VoucherOrdersHasMany
user (VoucherUserBelongsToInput)#
This is the mutation object for VoucherUserBelongsTo
group (VoucherGroupBelongsToInput)#
This is the mutation object for VoucherGroupBelongsTo