Skip to main content

VoucherModifierOptionalInput

No description

type VoucherModifierOptionalInput {
id: ID
value: String
type: VoucherModifierTypeOptionalInputEnum
totalUsageCount: Int
availableUsageCount: Int
createdAt: GQLTDate
updatedAt: GQLTDate
voucherId: ID
productId: ID
voucher: VoucherModifierVoucherBelongsToInput
product: VoucherModifierProductBelongsToInput
}

Fields#

id (ID)#

This a primary key for VoucherModifier

value (String)#

This is the value of thee voucher modifier.

type (VoucherModifierTypeOptionalInputEnum)#

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

target for voucher

productId (ID)#

target for product

voucher (VoucherModifierVoucherBelongsToInput)#

This is the mutation object for VoucherModifierVoucherBelongsTo

product (VoucherModifierProductBelongsToInput)#

This is the mutation object for VoucherModifierProductBelongsTo