OBJECT

GiftCertificateGenerator

link GraphQL Schema definition

1type GiftCertificateGenerator implements ObjectWithTranslations, Localizable {
2id: Int!
3
4name: String!
5
6status: Status!
7
8type: GiftCertificateType!
9
10onlyInCurrencyOfSale: Boolean!
11
12showGiftValue: Boolean!
13
14# Will be empty for DYNAMIC_PRICE_OFF
15#
16# All elements are always returned
17values: [MonetaryValue!]!
18
19# Required permission: Translation:read
20#
21# All elements are always returned
22#
23# Arguments
24# where: (self-explanatory)
25translations(where: TranslationFilter): [LanguageTranslation!]!
26
27# Required permission: Store:read
28#
29# Store restrictions apply.
30store: Store!
31
32# Required permission: Voucher:read
33#
34# Limit must be in range 1 - 200
35#
36# Store restrictions apply.
37#
38# Arguments
39# where: (self-explanatory)
40# sort: (self-explanatory)
41# limit: (self-explanatory)
42# page: (self-explanatory)
43vouchers(where: VoucherFilter, sort: [VoucherSort], limit: Int = 20, page: Int = 1): [Voucher!]!
44
45}