Skip to main content

VoucherModifier

This is the voucher modifiers

type VoucherModifier implements Node {
id: ID!
value: String!
type: VoucherModifierTypeEnum!
totalUsageCount: Int!
availableUsageCount: Int!
createdAt: GQLTDate!
updatedAt: GQLTDate!
voucherId: ID
productId: ID
voucher: Voucher
product: Product
}

Fields#

id (ID!)#

The ID of an object

value (String!)#

This is the value of thee voucher modifier.

type (VoucherModifierTypeEnum!)#

This is the selection of type that will be applied to product by voucher modifier.

totalUsageCount (Int!)#

The total usage count that the voucher modifier can be used.

availableUsageCount (Int!)#

The available usage count that the voucher modifier can be applied.

createdAt (GQLTDate!)#

updatedAt (GQLTDate!)#

voucherId (ID)#

The ID of an object

productId (ID)#

The ID of an object

voucher (Voucher)#

voucher modifier belongsTo voucher

product (Product)#

voucher modifier belongsTo product

Interfaces#

Node#

An object with an ID