stigg 0.1.0.pre.alpha.1 → 0.1.0.pre.alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +14 -0
  3. data/README.md +29 -1
  4. data/lib/stigg/internal/my_cursor_id_page.rb +32 -4
  5. data/lib/stigg/models/v1/coupon_create_params.rb +2 -0
  6. data/lib/stigg/models/v1/coupon_create_response.rb +11 -6
  7. data/lib/stigg/models/v1/coupon_list_params.rb +14 -14
  8. data/lib/stigg/models/v1/coupon_list_response.rb +262 -278
  9. data/lib/stigg/models/v1/coupon_retrieve_response.rb +11 -6
  10. data/lib/stigg/models/v1/customer_create_params.rb +2 -0
  11. data/lib/stigg/models/v1/customer_list_params.rb +14 -14
  12. data/lib/stigg/models/v1/customer_list_response.rb +160 -174
  13. data/lib/stigg/models/v1/customer_response.rb +8 -1
  14. data/lib/stigg/models/v1/customer_update_params.rb +2 -0
  15. data/lib/stigg/models/v1/customers/payment_method_attach_params.rb +3 -1
  16. data/lib/stigg/models/v1/subscription_create_params.rb +1485 -6
  17. data/lib/stigg/models/v1/subscription_create_response.rb +703 -4
  18. data/lib/stigg/models/v1/subscription_delegate_params.rb +7 -2
  19. data/lib/stigg/models/v1/subscription_delegate_response.rb +42 -2
  20. data/lib/stigg/models/v1/subscription_list_params.rb +20 -24
  21. data/lib/stigg/models/v1/subscription_list_response.rb +255 -236
  22. data/lib/stigg/models/v1/subscription_migrate_params.rb +3 -3
  23. data/lib/stigg/models/v1/subscription_migrate_response.rb +42 -2
  24. data/lib/stigg/models/v1/subscription_preview_params.rb +139 -46
  25. data/lib/stigg/models/v1/subscription_preview_response.rb +164 -49
  26. data/lib/stigg/models/v1/subscription_retrieve_response.rb +42 -2
  27. data/lib/stigg/models/v1/subscription_transfer_params.rb +2 -6
  28. data/lib/stigg/models/v1/subscription_transfer_response.rb +42 -2
  29. data/lib/stigg/models/v1/subscriptions/future_update_cancel_pending_payment_response.rb +2 -0
  30. data/lib/stigg/models/v1/subscriptions/future_update_cancel_schedule_response.rb +2 -0
  31. data/lib/stigg/models/v1_create_event_params.rb +2 -0
  32. data/lib/stigg/models/v1_create_event_response.rb +8 -1
  33. data/lib/stigg/models/v1_create_usage_params.rb +19 -3
  34. data/lib/stigg/models/v1_create_usage_response.rb +7 -1
  35. data/lib/stigg/resources/v1/coupons.rb +12 -10
  36. data/lib/stigg/resources/v1/customers/payment_method.rb +6 -5
  37. data/lib/stigg/resources/v1/customers/usage.rb +0 -41
  38. data/lib/stigg/resources/v1/customers.rb +20 -20
  39. data/lib/stigg/resources/v1/subscriptions/future_update.rb +6 -4
  40. data/lib/stigg/resources/v1/subscriptions.rb +74 -49
  41. data/lib/stigg/resources/v1.rb +2 -2
  42. data/lib/stigg/version.rb +1 -1
  43. data/lib/stigg.rb +0 -7
  44. data/rbi/stigg/internal/my_cursor_id_page.rbi +27 -0
  45. data/rbi/stigg/models/v1/coupon_create_params.rbi +1 -0
  46. data/rbi/stigg/models/v1/coupon_create_response.rbi +11 -10
  47. data/rbi/stigg/models/v1/coupon_list_params.rbi +21 -21
  48. data/rbi/stigg/models/v1/coupon_list_response.rbi +812 -869
  49. data/rbi/stigg/models/v1/coupon_retrieve_response.rbi +11 -10
  50. data/rbi/stigg/models/v1/customer_create_params.rbi +1 -0
  51. data/rbi/stigg/models/v1/customer_list_params.rbi +21 -21
  52. data/rbi/stigg/models/v1/customer_list_response.rbi +307 -347
  53. data/rbi/stigg/models/v1/customer_response.rbi +8 -1
  54. data/rbi/stigg/models/v1/customer_update_params.rbi +1 -0
  55. data/rbi/stigg/models/v1/customers/payment_method_attach_params.rbi +3 -0
  56. data/rbi/stigg/models/v1/subscription_create_params.rbi +4975 -84
  57. data/rbi/stigg/models/v1/subscription_create_response.rbi +2508 -1
  58. data/rbi/stigg/models/v1/subscription_delegate_params.rbi +6 -2
  59. data/rbi/stigg/models/v1/subscription_delegate_response.rbi +84 -1
  60. data/rbi/stigg/models/v1/subscription_list_params.rbi +26 -28
  61. data/rbi/stigg/models/v1/subscription_list_response.rbi +460 -435
  62. data/rbi/stigg/models/v1/subscription_migrate_params.rbi +3 -3
  63. data/rbi/stigg/models/v1/subscription_migrate_response.rbi +84 -1
  64. data/rbi/stigg/models/v1/subscription_preview_params.rbi +112 -14
  65. data/rbi/stigg/models/v1/subscription_preview_response.rbi +139 -6
  66. data/rbi/stigg/models/v1/subscription_retrieve_response.rbi +84 -1
  67. data/rbi/stigg/models/v1/subscription_transfer_params.rbi +2 -4
  68. data/rbi/stigg/models/v1/subscription_transfer_response.rbi +84 -1
  69. data/rbi/stigg/models/v1/subscriptions/future_update_cancel_pending_payment_response.rbi +1 -0
  70. data/rbi/stigg/models/v1/subscriptions/future_update_cancel_schedule_response.rbi +1 -0
  71. data/rbi/stigg/models/v1_create_event_params.rbi +1 -0
  72. data/rbi/stigg/models/v1_create_event_response.rbi +8 -1
  73. data/rbi/stigg/models/v1_create_usage_params.rbi +44 -4
  74. data/rbi/stigg/models/v1_create_usage_response.rbi +8 -1
  75. data/rbi/stigg/resources/v1/coupons.rbi +20 -12
  76. data/rbi/stigg/resources/v1/customers/payment_method.rbi +9 -3
  77. data/rbi/stigg/resources/v1/customers/usage.rbi +0 -29
  78. data/rbi/stigg/resources/v1/customers.rbi +34 -20
  79. data/rbi/stigg/resources/v1/subscriptions/future_update.rbi +12 -4
  80. data/rbi/stigg/resources/v1/subscriptions.rbi +102 -23
  81. data/rbi/stigg/resources/v1.rbi +2 -2
  82. data/sig/stigg/internal/my_cursor_id_page.rbs +17 -0
  83. data/sig/stigg/models/v1/coupon_create_response.rbs +4 -4
  84. data/sig/stigg/models/v1/coupon_list_params.rbs +11 -11
  85. data/sig/stigg/models/v1/coupon_list_response.rbs +331 -351
  86. data/sig/stigg/models/v1/coupon_retrieve_response.rbs +4 -4
  87. data/sig/stigg/models/v1/customer_list_params.rbs +11 -11
  88. data/sig/stigg/models/v1/customer_list_response.rbs +133 -153
  89. data/sig/stigg/models/v1/subscription_create_params.rbs +2029 -5
  90. data/sig/stigg/models/v1/subscription_create_response.rbs +1022 -0
  91. data/sig/stigg/models/v1/subscription_delegate_response.rbs +31 -0
  92. data/sig/stigg/models/v1/subscription_list_params.rbs +14 -14
  93. data/sig/stigg/models/v1/subscription_list_response.rbs +196 -189
  94. data/sig/stigg/models/v1/subscription_migrate_response.rbs +31 -0
  95. data/sig/stigg/models/v1/subscription_preview_params.rbs +2 -6
  96. data/sig/stigg/models/v1/subscription_retrieve_response.rbs +31 -0
  97. data/sig/stigg/models/v1/subscription_transfer_response.rbs +31 -0
  98. data/sig/stigg/models/v1_create_usage_params.rbs +15 -5
  99. data/sig/stigg/resources/v1/coupons.rbs +3 -3
  100. data/sig/stigg/resources/v1/customers/usage.rbs +0 -10
  101. data/sig/stigg/resources/v1/customers.rbs +3 -5
  102. data/sig/stigg/resources/v1/subscriptions.rbs +19 -4
  103. metadata +2 -23
  104. data/lib/stigg/models/v1/customers/promotional_create_params.rb +0 -294
  105. data/lib/stigg/models/v1/customers/promotional_create_response.rb +0 -268
  106. data/lib/stigg/models/v1/customers/promotional_revoke_params.rb +0 -24
  107. data/lib/stigg/models/v1/customers/promotional_revoke_response.rb +0 -268
  108. data/lib/stigg/models/v1/customers/usage_retrieve_params.rb +0 -56
  109. data/lib/stigg/models/v1/customers/usage_retrieve_response.rb +0 -145
  110. data/lib/stigg/resources/v1/customers/promotional.rb +0 -69
  111. data/rbi/stigg/models/v1/customers/promotional_create_params.rbi +0 -639
  112. data/rbi/stigg/models/v1/customers/promotional_create_response.rbi +0 -495
  113. data/rbi/stigg/models/v1/customers/promotional_revoke_params.rbi +0 -42
  114. data/rbi/stigg/models/v1/customers/promotional_revoke_response.rbi +0 -497
  115. data/rbi/stigg/models/v1/customers/usage_retrieve_params.rbi +0 -84
  116. data/rbi/stigg/models/v1/customers/usage_retrieve_response.rbi +0 -353
  117. data/rbi/stigg/resources/v1/customers/promotional.rbi +0 -53
  118. data/sig/stigg/models/v1/customers/promotional_create_params.rbs +0 -234
  119. data/sig/stigg/models/v1/customers/promotional_create_response.rbs +0 -209
  120. data/sig/stigg/models/v1/customers/promotional_revoke_params.rbs +0 -27
  121. data/sig/stigg/models/v1/customers/promotional_revoke_response.rbs +0 -209
  122. data/sig/stigg/models/v1/customers/usage_retrieve_params.rbs +0 -54
  123. data/sig/stigg/models/v1/customers/usage_retrieve_response.rbs +0 -134
  124. data/sig/stigg/resources/v1/customers/promotional.rbs +0 -23
@@ -12,969 +12,912 @@ module Stigg
12
12
  )
13
13
  end
14
14
 
15
- sig { returns(T::Array[Stigg::Models::V1::CouponListResponse::Data]) }
16
- attr_accessor :data
15
+ # The unique identifier for the entity
16
+ sig { returns(String) }
17
+ attr_accessor :id
17
18
 
19
+ # Fixed amount discounts in different currencies
18
20
  sig do
19
- params(
20
- data: T::Array[Stigg::Models::V1::CouponListResponse::Data::OrHash]
21
- ).returns(T.attached_class)
22
- end
23
- def self.new(data:)
21
+ returns(
22
+ T.nilable(
23
+ T::Array[Stigg::Models::V1::CouponListResponse::AmountsOff]
24
+ )
25
+ )
24
26
  end
27
+ attr_accessor :amounts_off
28
+
29
+ # The unique identifier for the entity in the billing provider
30
+ sig { returns(T.nilable(String)) }
31
+ attr_accessor :billing_id
32
+
33
+ # The URL to the entity in the billing provider
34
+ sig { returns(T.nilable(String)) }
35
+ attr_accessor :billing_link_url
36
+
37
+ # Timestamp of when the record was created
38
+ sig { returns(Time) }
39
+ attr_accessor :created_at
25
40
 
41
+ # Description of the coupon
42
+ sig { returns(T.nilable(String)) }
43
+ attr_accessor :description
44
+
45
+ # Duration of the coupon validity in months
46
+ sig { returns(T.nilable(Float)) }
47
+ attr_accessor :duration_in_months
48
+
49
+ # Name of the coupon
50
+ sig { returns(String) }
51
+ attr_accessor :name
52
+
53
+ # Percentage discount off the original price
54
+ sig { returns(T.nilable(Float)) }
55
+ attr_accessor :percent_off
56
+
57
+ # The source of the coupon
26
58
  sig do
27
- override.returns(
28
- { data: T::Array[Stigg::Models::V1::CouponListResponse::Data] }
59
+ returns(
60
+ T.nilable(
61
+ Stigg::Models::V1::CouponListResponse::Source::TaggedSymbol
62
+ )
29
63
  )
30
64
  end
31
- def to_hash
65
+ attr_accessor :source
66
+
67
+ # Current status of the coupon
68
+ sig do
69
+ returns(Stigg::Models::V1::CouponListResponse::Status::TaggedSymbol)
32
70
  end
71
+ attr_accessor :status
33
72
 
34
- class Data < Stigg::Internal::Type::BaseModel
35
- OrHash =
36
- T.type_alias do
37
- T.any(
38
- Stigg::Models::V1::CouponListResponse::Data,
39
- Stigg::Internal::AnyHash
40
- )
41
- end
73
+ # Type of the coupon (percentage or fixed amount)
74
+ sig do
75
+ returns(Stigg::Models::V1::CouponListResponse::Type::TaggedSymbol)
76
+ end
77
+ attr_accessor :type
42
78
 
43
- # The unique identifier for the entity
44
- sig { returns(String) }
45
- attr_accessor :id
79
+ # Timestamp of when the record was last updated
80
+ sig { returns(Time) }
81
+ attr_accessor :updated_at
46
82
 
47
- # Fixed amount discounts in different currencies
48
- sig do
49
- returns(
83
+ # Discount instrument with percentage or fixed amount
84
+ sig do
85
+ params(
86
+ id: String,
87
+ amounts_off:
50
88
  T.nilable(
51
89
  T::Array[
52
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff
90
+ Stigg::Models::V1::CouponListResponse::AmountsOff::OrHash
53
91
  ]
54
- )
55
- )
56
- end
57
- attr_accessor :amounts_off
58
-
92
+ ),
93
+ billing_id: T.nilable(String),
94
+ billing_link_url: T.nilable(String),
95
+ created_at: Time,
96
+ description: T.nilable(String),
97
+ duration_in_months: T.nilable(Float),
98
+ name: String,
99
+ percent_off: T.nilable(Float),
100
+ source:
101
+ T.nilable(
102
+ Stigg::Models::V1::CouponListResponse::Source::OrSymbol
103
+ ),
104
+ status: Stigg::Models::V1::CouponListResponse::Status::OrSymbol,
105
+ type: Stigg::Models::V1::CouponListResponse::Type::OrSymbol,
106
+ updated_at: Time
107
+ ).returns(T.attached_class)
108
+ end
109
+ def self.new(
110
+ # The unique identifier for the entity
111
+ id:,
112
+ # Fixed amount discounts in different currencies
113
+ amounts_off:,
59
114
  # The unique identifier for the entity in the billing provider
60
- sig { returns(T.nilable(String)) }
61
- attr_accessor :billing_id
62
-
115
+ billing_id:,
63
116
  # The URL to the entity in the billing provider
64
- sig { returns(T.nilable(String)) }
65
- attr_accessor :billing_link_url
66
-
117
+ billing_link_url:,
67
118
  # Timestamp of when the record was created
68
- sig { returns(Time) }
69
- attr_accessor :created_at
70
-
71
- # Cursor ID for query pagination
72
- sig { returns(String) }
73
- attr_accessor :cursor_id
74
-
119
+ created_at:,
75
120
  # Description of the coupon
76
- sig { returns(T.nilable(String)) }
77
- attr_accessor :description
78
-
121
+ description:,
79
122
  # Duration of the coupon validity in months
80
- sig { returns(T.nilable(Float)) }
81
- attr_accessor :duration_in_months
82
-
123
+ duration_in_months:,
83
124
  # Name of the coupon
84
- sig { returns(String) }
85
- attr_accessor :name
86
-
125
+ name:,
87
126
  # Percentage discount off the original price
88
- sig { returns(T.nilable(Float)) }
89
- attr_accessor :percent_off
90
-
127
+ percent_off:,
91
128
  # The source of the coupon
92
- sig do
93
- returns(
94
- T.nilable(
95
- Stigg::Models::V1::CouponListResponse::Data::Source::TaggedSymbol
96
- )
97
- )
98
- end
99
- attr_accessor :source
100
-
129
+ source:,
101
130
  # Current status of the coupon
102
- sig do
103
- returns(
104
- Stigg::Models::V1::CouponListResponse::Data::Status::TaggedSymbol
105
- )
106
- end
107
- attr_accessor :status
108
-
131
+ status:,
109
132
  # Type of the coupon (percentage or fixed amount)
110
- sig do
111
- returns(
112
- Stigg::Models::V1::CouponListResponse::Data::Type::TaggedSymbol
113
- )
114
- end
115
- attr_accessor :type
116
-
133
+ type:,
117
134
  # Timestamp of when the record was last updated
118
- sig { returns(Time) }
119
- attr_accessor :updated_at
135
+ updated_at:
136
+ )
137
+ end
120
138
 
121
- sig do
122
- params(
139
+ sig do
140
+ override.returns(
141
+ {
123
142
  id: String,
124
143
  amounts_off:
125
144
  T.nilable(
126
- T::Array[
127
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::OrHash
128
- ]
145
+ T::Array[Stigg::Models::V1::CouponListResponse::AmountsOff]
129
146
  ),
130
147
  billing_id: T.nilable(String),
131
148
  billing_link_url: T.nilable(String),
132
149
  created_at: Time,
133
- cursor_id: String,
134
150
  description: T.nilable(String),
135
151
  duration_in_months: T.nilable(Float),
136
152
  name: String,
137
153
  percent_off: T.nilable(Float),
138
154
  source:
139
155
  T.nilable(
140
- Stigg::Models::V1::CouponListResponse::Data::Source::OrSymbol
156
+ Stigg::Models::V1::CouponListResponse::Source::TaggedSymbol
141
157
  ),
142
158
  status:
143
- Stigg::Models::V1::CouponListResponse::Data::Status::OrSymbol,
144
- type: Stigg::Models::V1::CouponListResponse::Data::Type::OrSymbol,
159
+ Stigg::Models::V1::CouponListResponse::Status::TaggedSymbol,
160
+ type: Stigg::Models::V1::CouponListResponse::Type::TaggedSymbol,
145
161
  updated_at: Time
162
+ }
163
+ )
164
+ end
165
+ def to_hash
166
+ end
167
+
168
+ class AmountsOff < Stigg::Internal::Type::BaseModel
169
+ OrHash =
170
+ T.type_alias do
171
+ T.any(
172
+ Stigg::Models::V1::CouponListResponse::AmountsOff,
173
+ Stigg::Internal::AnyHash
174
+ )
175
+ end
176
+
177
+ # The price amount
178
+ sig { returns(Float) }
179
+ attr_accessor :amount
180
+
181
+ # The price currency
182
+ sig do
183
+ returns(
184
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
185
+ )
186
+ end
187
+ attr_accessor :currency
188
+
189
+ # Monetary amount with currency
190
+ sig do
191
+ params(
192
+ amount: Float,
193
+ currency:
194
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::OrSymbol
146
195
  ).returns(T.attached_class)
147
196
  end
148
197
  def self.new(
149
- # The unique identifier for the entity
150
- id:,
151
- # Fixed amount discounts in different currencies
152
- amounts_off:,
153
- # The unique identifier for the entity in the billing provider
154
- billing_id:,
155
- # The URL to the entity in the billing provider
156
- billing_link_url:,
157
- # Timestamp of when the record was created
158
- created_at:,
159
- # Cursor ID for query pagination
160
- cursor_id:,
161
- # Description of the coupon
162
- description:,
163
- # Duration of the coupon validity in months
164
- duration_in_months:,
165
- # Name of the coupon
166
- name:,
167
- # Percentage discount off the original price
168
- percent_off:,
169
- # The source of the coupon
170
- source:,
171
- # Current status of the coupon
172
- status:,
173
- # Type of the coupon (percentage or fixed amount)
174
- type:,
175
- # Timestamp of when the record was last updated
176
- updated_at:
198
+ # The price amount
199
+ amount:,
200
+ # The price currency
201
+ currency:
177
202
  )
178
203
  end
179
204
 
180
205
  sig do
181
206
  override.returns(
182
207
  {
183
- id: String,
184
- amounts_off:
185
- T.nilable(
186
- T::Array[
187
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff
188
- ]
189
- ),
190
- billing_id: T.nilable(String),
191
- billing_link_url: T.nilable(String),
192
- created_at: Time,
193
- cursor_id: String,
194
- description: T.nilable(String),
195
- duration_in_months: T.nilable(Float),
196
- name: String,
197
- percent_off: T.nilable(Float),
198
- source:
199
- T.nilable(
200
- Stigg::Models::V1::CouponListResponse::Data::Source::TaggedSymbol
201
- ),
202
- status:
203
- Stigg::Models::V1::CouponListResponse::Data::Status::TaggedSymbol,
204
- type:
205
- Stigg::Models::V1::CouponListResponse::Data::Type::TaggedSymbol,
206
- updated_at: Time
208
+ amount: Float,
209
+ currency:
210
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
207
211
  }
208
212
  )
209
213
  end
210
214
  def to_hash
211
215
  end
212
216
 
213
- class AmountsOff < Stigg::Internal::Type::BaseModel
214
- OrHash =
215
- T.type_alias do
216
- T.any(
217
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff,
218
- Stigg::Internal::AnyHash
219
- )
220
- end
221
-
222
- # The price amount
223
- sig { returns(Float) }
224
- attr_accessor :amount
225
-
226
- # The price currency
227
- sig do
228
- returns(
229
- T.nilable(
230
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
231
- )
232
- )
233
- end
234
- attr_accessor :currency
235
-
236
- sig do
237
- params(
238
- amount: Float,
239
- currency:
240
- T.nilable(
241
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::OrSymbol
242
- )
243
- ).returns(T.attached_class)
244
- end
245
- def self.new(
246
- # The price amount
247
- amount:,
248
- # The price currency
249
- currency:
250
- )
251
- end
252
-
253
- sig do
254
- override.returns(
255
- {
256
- amount: Float,
257
- currency:
258
- T.nilable(
259
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
260
- )
261
- }
262
- )
263
- end
264
- def to_hash
265
- end
266
-
267
- # The price currency
268
- module Currency
269
- extend Stigg::Internal::Type::Enum
270
-
271
- TaggedSymbol =
272
- T.type_alias do
273
- T.all(
274
- Symbol,
275
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency
276
- )
277
- end
278
- OrSymbol = T.type_alias { T.any(Symbol, String) }
279
-
280
- USD =
281
- T.let(
282
- :usd,
283
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
284
- )
285
- AED =
286
- T.let(
287
- :aed,
288
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
289
- )
290
- ALL =
291
- T.let(
292
- :all,
293
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
294
- )
295
- AMD =
296
- T.let(
297
- :amd,
298
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
299
- )
300
- ANG =
301
- T.let(
302
- :ang,
303
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
304
- )
305
- AUD =
306
- T.let(
307
- :aud,
308
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
309
- )
310
- AWG =
311
- T.let(
312
- :awg,
313
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
314
- )
315
- AZN =
316
- T.let(
317
- :azn,
318
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
319
- )
320
- BAM =
321
- T.let(
322
- :bam,
323
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
324
- )
325
- BBD =
326
- T.let(
327
- :bbd,
328
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
329
- )
330
- BDT =
331
- T.let(
332
- :bdt,
333
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
334
- )
335
- BGN =
336
- T.let(
337
- :bgn,
338
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
339
- )
340
- BIF =
341
- T.let(
342
- :bif,
343
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
344
- )
345
- BMD =
346
- T.let(
347
- :bmd,
348
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
349
- )
350
- BND =
351
- T.let(
352
- :bnd,
353
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
354
- )
355
- BSD =
356
- T.let(
357
- :bsd,
358
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
359
- )
360
- BWP =
361
- T.let(
362
- :bwp,
363
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
364
- )
365
- BYN =
366
- T.let(
367
- :byn,
368
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
369
- )
370
- BZD =
371
- T.let(
372
- :bzd,
373
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
374
- )
375
- BRL =
376
- T.let(
377
- :brl,
378
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
379
- )
380
- CAD =
381
- T.let(
382
- :cad,
383
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
384
- )
385
- CDF =
386
- T.let(
387
- :cdf,
388
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
389
- )
390
- CHF =
391
- T.let(
392
- :chf,
393
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
394
- )
395
- CNY =
396
- T.let(
397
- :cny,
398
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
399
- )
400
- CZK =
401
- T.let(
402
- :czk,
403
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
404
- )
405
- DKK =
406
- T.let(
407
- :dkk,
408
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
409
- )
410
- DOP =
411
- T.let(
412
- :dop,
413
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
414
- )
415
- DZD =
416
- T.let(
417
- :dzd,
418
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
419
- )
420
- EGP =
421
- T.let(
422
- :egp,
423
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
424
- )
425
- ETB =
426
- T.let(
427
- :etb,
428
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
429
- )
430
- EUR =
431
- T.let(
432
- :eur,
433
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
434
- )
435
- FJD =
436
- T.let(
437
- :fjd,
438
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
439
- )
440
- GBP =
441
- T.let(
442
- :gbp,
443
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
444
- )
445
- GEL =
446
- T.let(
447
- :gel,
448
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
449
- )
450
- GIP =
451
- T.let(
452
- :gip,
453
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
454
- )
455
- GMD =
456
- T.let(
457
- :gmd,
458
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
459
- )
460
- GYD =
461
- T.let(
462
- :gyd,
463
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
464
- )
465
- HKD =
466
- T.let(
467
- :hkd,
468
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
469
- )
470
- HRK =
471
- T.let(
472
- :hrk,
473
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
474
- )
475
- HTG =
476
- T.let(
477
- :htg,
478
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
479
- )
480
- IDR =
481
- T.let(
482
- :idr,
483
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
484
- )
485
- ILS =
486
- T.let(
487
- :ils,
488
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
489
- )
490
- INR =
491
- T.let(
492
- :inr,
493
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
494
- )
495
- ISK =
496
- T.let(
497
- :isk,
498
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
499
- )
500
- JMD =
501
- T.let(
502
- :jmd,
503
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
504
- )
505
- JPY =
506
- T.let(
507
- :jpy,
508
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
509
- )
510
- KES =
511
- T.let(
512
- :kes,
513
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
514
- )
515
- KGS =
516
- T.let(
517
- :kgs,
518
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
519
- )
520
- KHR =
521
- T.let(
522
- :khr,
523
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
524
- )
525
- KMF =
526
- T.let(
527
- :kmf,
528
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
529
- )
530
- KRW =
531
- T.let(
532
- :krw,
533
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
534
- )
535
- KYD =
536
- T.let(
537
- :kyd,
538
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
539
- )
540
- KZT =
541
- T.let(
542
- :kzt,
543
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
544
- )
545
- LBP =
546
- T.let(
547
- :lbp,
548
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
549
- )
550
- LKR =
551
- T.let(
552
- :lkr,
553
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
554
- )
555
- LRD =
556
- T.let(
557
- :lrd,
558
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
559
- )
560
- LSL =
561
- T.let(
562
- :lsl,
563
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
564
- )
565
- MAD =
566
- T.let(
567
- :mad,
568
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
569
- )
570
- MDL =
571
- T.let(
572
- :mdl,
573
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
574
- )
575
- MGA =
576
- T.let(
577
- :mga,
578
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
579
- )
580
- MKD =
581
- T.let(
582
- :mkd,
583
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
584
- )
585
- MMK =
586
- T.let(
587
- :mmk,
588
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
589
- )
590
- MNT =
591
- T.let(
592
- :mnt,
593
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
594
- )
595
- MOP =
596
- T.let(
597
- :mop,
598
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
599
- )
600
- MRO =
601
- T.let(
602
- :mro,
603
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
604
- )
605
- MVR =
606
- T.let(
607
- :mvr,
608
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
609
- )
610
- MWK =
611
- T.let(
612
- :mwk,
613
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
614
- )
615
- MXN =
616
- T.let(
617
- :mxn,
618
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
619
- )
620
- MYR =
621
- T.let(
622
- :myr,
623
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
624
- )
625
- MZN =
626
- T.let(
627
- :mzn,
628
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
629
- )
630
- NAD =
631
- T.let(
632
- :nad,
633
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
634
- )
635
- NGN =
636
- T.let(
637
- :ngn,
638
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
639
- )
640
- NOK =
641
- T.let(
642
- :nok,
643
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
644
- )
645
- NPR =
646
- T.let(
647
- :npr,
648
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
649
- )
650
- NZD =
651
- T.let(
652
- :nzd,
653
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
654
- )
655
- PGK =
656
- T.let(
657
- :pgk,
658
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
659
- )
660
- PHP =
661
- T.let(
662
- :php,
663
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
664
- )
665
- PKR =
666
- T.let(
667
- :pkr,
668
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
669
- )
670
- PLN =
671
- T.let(
672
- :pln,
673
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
674
- )
675
- QAR =
676
- T.let(
677
- :qar,
678
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
679
- )
680
- RON =
681
- T.let(
682
- :ron,
683
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
684
- )
685
- RSD =
686
- T.let(
687
- :rsd,
688
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
689
- )
690
- RUB =
691
- T.let(
692
- :rub,
693
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
694
- )
695
- RWF =
696
- T.let(
697
- :rwf,
698
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
699
- )
700
- SAR =
701
- T.let(
702
- :sar,
703
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
704
- )
705
- SBD =
706
- T.let(
707
- :sbd,
708
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
709
- )
710
- SCR =
711
- T.let(
712
- :scr,
713
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
714
- )
715
- SEK =
716
- T.let(
717
- :sek,
718
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
719
- )
720
- SGD =
721
- T.let(
722
- :sgd,
723
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
724
- )
725
- SLE =
726
- T.let(
727
- :sle,
728
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
729
- )
730
- SLL =
731
- T.let(
732
- :sll,
733
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
734
- )
735
- SOS =
736
- T.let(
737
- :sos,
738
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
739
- )
740
- SZL =
741
- T.let(
742
- :szl,
743
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
744
- )
745
- THB =
746
- T.let(
747
- :thb,
748
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
749
- )
750
- TJS =
751
- T.let(
752
- :tjs,
753
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
754
- )
755
- TOP =
756
- T.let(
757
- :top,
758
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
759
- )
760
- TRY =
761
- T.let(
762
- :try,
763
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
764
- )
765
- TTD =
766
- T.let(
767
- :ttd,
768
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
769
- )
770
- TZS =
771
- T.let(
772
- :tzs,
773
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
774
- )
775
- UAH =
776
- T.let(
777
- :uah,
778
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
779
- )
780
- UZS =
781
- T.let(
782
- :uzs,
783
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
784
- )
785
- VND =
786
- T.let(
787
- :vnd,
788
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
789
- )
790
- VUV =
791
- T.let(
792
- :vuv,
793
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
794
- )
795
- WST =
796
- T.let(
797
- :wst,
798
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
799
- )
800
- XAF =
801
- T.let(
802
- :xaf,
803
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
804
- )
805
- XCD =
806
- T.let(
807
- :xcd,
808
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
809
- )
810
- YER =
811
- T.let(
812
- :yer,
813
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
814
- )
815
- ZAR =
816
- T.let(
817
- :zar,
818
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
819
- )
820
- ZMW =
821
- T.let(
822
- :zmw,
823
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
824
- )
825
- CLP =
826
- T.let(
827
- :clp,
828
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
829
- )
830
- DJF =
831
- T.let(
832
- :djf,
833
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
834
- )
835
- GNF =
836
- T.let(
837
- :gnf,
838
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
839
- )
840
- UGX =
841
- T.let(
842
- :ugx,
843
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
844
- )
845
- PYG =
846
- T.let(
847
- :pyg,
848
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
849
- )
850
- XOF =
851
- T.let(
852
- :xof,
853
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
854
- )
855
- XPF =
856
- T.let(
857
- :xpf,
858
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
859
- )
860
-
861
- sig do
862
- override.returns(
863
- T::Array[
864
- Stigg::Models::V1::CouponListResponse::Data::AmountsOff::Currency::TaggedSymbol
865
- ]
866
- )
867
- end
868
- def self.values
869
- end
870
- end
871
- end
872
-
873
- # The source of the coupon
874
- module Source
217
+ # The price currency
218
+ module Currency
875
219
  extend Stigg::Internal::Type::Enum
876
220
 
877
221
  TaggedSymbol =
878
222
  T.type_alias do
879
223
  T.all(
880
224
  Symbol,
881
- Stigg::Models::V1::CouponListResponse::Data::Source
225
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency
882
226
  )
883
227
  end
884
228
  OrSymbol = T.type_alias { T.any(Symbol, String) }
885
229
 
886
- STIGG =
230
+ USD =
887
231
  T.let(
888
- :STIGG,
889
- Stigg::Models::V1::CouponListResponse::Data::Source::TaggedSymbol
232
+ :usd,
233
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
890
234
  )
891
- STIGG_ADHOC =
235
+ AED =
892
236
  T.let(
893
- :STIGG_ADHOC,
894
- Stigg::Models::V1::CouponListResponse::Data::Source::TaggedSymbol
237
+ :aed,
238
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
895
239
  )
896
- STRIPE =
240
+ ALL =
897
241
  T.let(
898
- :STRIPE,
899
- Stigg::Models::V1::CouponListResponse::Data::Source::TaggedSymbol
242
+ :all,
243
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
900
244
  )
901
-
902
- sig do
903
- override.returns(
904
- T::Array[
905
- Stigg::Models::V1::CouponListResponse::Data::Source::TaggedSymbol
906
- ]
245
+ AMD =
246
+ T.let(
247
+ :amd,
248
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
907
249
  )
908
- end
909
- def self.values
910
- end
911
- end
912
-
913
- # Current status of the coupon
914
- module Status
915
- extend Stigg::Internal::Type::Enum
916
-
917
- TaggedSymbol =
918
- T.type_alias do
919
- T.all(
920
- Symbol,
921
- Stigg::Models::V1::CouponListResponse::Data::Status
922
- )
923
- end
924
- OrSymbol = T.type_alias { T.any(Symbol, String) }
925
-
926
- ACTIVE =
250
+ ANG =
251
+ T.let(
252
+ :ang,
253
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
254
+ )
255
+ AUD =
256
+ T.let(
257
+ :aud,
258
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
259
+ )
260
+ AWG =
261
+ T.let(
262
+ :awg,
263
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
264
+ )
265
+ AZN =
266
+ T.let(
267
+ :azn,
268
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
269
+ )
270
+ BAM =
271
+ T.let(
272
+ :bam,
273
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
274
+ )
275
+ BBD =
276
+ T.let(
277
+ :bbd,
278
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
279
+ )
280
+ BDT =
281
+ T.let(
282
+ :bdt,
283
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
284
+ )
285
+ BGN =
286
+ T.let(
287
+ :bgn,
288
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
289
+ )
290
+ BIF =
291
+ T.let(
292
+ :bif,
293
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
294
+ )
295
+ BMD =
296
+ T.let(
297
+ :bmd,
298
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
299
+ )
300
+ BND =
301
+ T.let(
302
+ :bnd,
303
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
304
+ )
305
+ BSD =
306
+ T.let(
307
+ :bsd,
308
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
309
+ )
310
+ BWP =
311
+ T.let(
312
+ :bwp,
313
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
314
+ )
315
+ BYN =
316
+ T.let(
317
+ :byn,
318
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
319
+ )
320
+ BZD =
321
+ T.let(
322
+ :bzd,
323
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
324
+ )
325
+ BRL =
326
+ T.let(
327
+ :brl,
328
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
329
+ )
330
+ CAD =
331
+ T.let(
332
+ :cad,
333
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
334
+ )
335
+ CDF =
336
+ T.let(
337
+ :cdf,
338
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
339
+ )
340
+ CHF =
341
+ T.let(
342
+ :chf,
343
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
344
+ )
345
+ CNY =
346
+ T.let(
347
+ :cny,
348
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
349
+ )
350
+ CZK =
351
+ T.let(
352
+ :czk,
353
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
354
+ )
355
+ DKK =
356
+ T.let(
357
+ :dkk,
358
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
359
+ )
360
+ DOP =
361
+ T.let(
362
+ :dop,
363
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
364
+ )
365
+ DZD =
366
+ T.let(
367
+ :dzd,
368
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
369
+ )
370
+ EGP =
371
+ T.let(
372
+ :egp,
373
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
374
+ )
375
+ ETB =
376
+ T.let(
377
+ :etb,
378
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
379
+ )
380
+ EUR =
381
+ T.let(
382
+ :eur,
383
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
384
+ )
385
+ FJD =
386
+ T.let(
387
+ :fjd,
388
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
389
+ )
390
+ GBP =
391
+ T.let(
392
+ :gbp,
393
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
394
+ )
395
+ GEL =
396
+ T.let(
397
+ :gel,
398
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
399
+ )
400
+ GIP =
401
+ T.let(
402
+ :gip,
403
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
404
+ )
405
+ GMD =
406
+ T.let(
407
+ :gmd,
408
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
409
+ )
410
+ GYD =
411
+ T.let(
412
+ :gyd,
413
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
414
+ )
415
+ HKD =
416
+ T.let(
417
+ :hkd,
418
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
419
+ )
420
+ HRK =
421
+ T.let(
422
+ :hrk,
423
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
424
+ )
425
+ HTG =
426
+ T.let(
427
+ :htg,
428
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
429
+ )
430
+ IDR =
431
+ T.let(
432
+ :idr,
433
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
434
+ )
435
+ ILS =
436
+ T.let(
437
+ :ils,
438
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
439
+ )
440
+ INR =
441
+ T.let(
442
+ :inr,
443
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
444
+ )
445
+ ISK =
446
+ T.let(
447
+ :isk,
448
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
449
+ )
450
+ JMD =
451
+ T.let(
452
+ :jmd,
453
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
454
+ )
455
+ JPY =
456
+ T.let(
457
+ :jpy,
458
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
459
+ )
460
+ KES =
461
+ T.let(
462
+ :kes,
463
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
464
+ )
465
+ KGS =
466
+ T.let(
467
+ :kgs,
468
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
469
+ )
470
+ KHR =
471
+ T.let(
472
+ :khr,
473
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
474
+ )
475
+ KMF =
476
+ T.let(
477
+ :kmf,
478
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
479
+ )
480
+ KRW =
481
+ T.let(
482
+ :krw,
483
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
484
+ )
485
+ KYD =
486
+ T.let(
487
+ :kyd,
488
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
489
+ )
490
+ KZT =
491
+ T.let(
492
+ :kzt,
493
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
494
+ )
495
+ LBP =
496
+ T.let(
497
+ :lbp,
498
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
499
+ )
500
+ LKR =
501
+ T.let(
502
+ :lkr,
503
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
504
+ )
505
+ LRD =
506
+ T.let(
507
+ :lrd,
508
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
509
+ )
510
+ LSL =
511
+ T.let(
512
+ :lsl,
513
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
514
+ )
515
+ MAD =
516
+ T.let(
517
+ :mad,
518
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
519
+ )
520
+ MDL =
521
+ T.let(
522
+ :mdl,
523
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
524
+ )
525
+ MGA =
526
+ T.let(
527
+ :mga,
528
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
529
+ )
530
+ MKD =
531
+ T.let(
532
+ :mkd,
533
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
534
+ )
535
+ MMK =
536
+ T.let(
537
+ :mmk,
538
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
539
+ )
540
+ MNT =
541
+ T.let(
542
+ :mnt,
543
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
544
+ )
545
+ MOP =
546
+ T.let(
547
+ :mop,
548
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
549
+ )
550
+ MRO =
551
+ T.let(
552
+ :mro,
553
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
554
+ )
555
+ MVR =
556
+ T.let(
557
+ :mvr,
558
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
559
+ )
560
+ MWK =
561
+ T.let(
562
+ :mwk,
563
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
564
+ )
565
+ MXN =
566
+ T.let(
567
+ :mxn,
568
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
569
+ )
570
+ MYR =
571
+ T.let(
572
+ :myr,
573
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
574
+ )
575
+ MZN =
927
576
  T.let(
928
- :ACTIVE,
929
- Stigg::Models::V1::CouponListResponse::Data::Status::TaggedSymbol
577
+ :mzn,
578
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
930
579
  )
931
- ARCHIVED =
580
+ NAD =
932
581
  T.let(
933
- :ARCHIVED,
934
- Stigg::Models::V1::CouponListResponse::Data::Status::TaggedSymbol
582
+ :nad,
583
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
584
+ )
585
+ NGN =
586
+ T.let(
587
+ :ngn,
588
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
589
+ )
590
+ NOK =
591
+ T.let(
592
+ :nok,
593
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
594
+ )
595
+ NPR =
596
+ T.let(
597
+ :npr,
598
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
599
+ )
600
+ NZD =
601
+ T.let(
602
+ :nzd,
603
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
604
+ )
605
+ PGK =
606
+ T.let(
607
+ :pgk,
608
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
609
+ )
610
+ PHP =
611
+ T.let(
612
+ :php,
613
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
614
+ )
615
+ PKR =
616
+ T.let(
617
+ :pkr,
618
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
619
+ )
620
+ PLN =
621
+ T.let(
622
+ :pln,
623
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
624
+ )
625
+ QAR =
626
+ T.let(
627
+ :qar,
628
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
629
+ )
630
+ RON =
631
+ T.let(
632
+ :ron,
633
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
634
+ )
635
+ RSD =
636
+ T.let(
637
+ :rsd,
638
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
639
+ )
640
+ RUB =
641
+ T.let(
642
+ :rub,
643
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
644
+ )
645
+ RWF =
646
+ T.let(
647
+ :rwf,
648
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
649
+ )
650
+ SAR =
651
+ T.let(
652
+ :sar,
653
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
654
+ )
655
+ SBD =
656
+ T.let(
657
+ :sbd,
658
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
659
+ )
660
+ SCR =
661
+ T.let(
662
+ :scr,
663
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
664
+ )
665
+ SEK =
666
+ T.let(
667
+ :sek,
668
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
669
+ )
670
+ SGD =
671
+ T.let(
672
+ :sgd,
673
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
674
+ )
675
+ SLE =
676
+ T.let(
677
+ :sle,
678
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
679
+ )
680
+ SLL =
681
+ T.let(
682
+ :sll,
683
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
684
+ )
685
+ SOS =
686
+ T.let(
687
+ :sos,
688
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
689
+ )
690
+ SZL =
691
+ T.let(
692
+ :szl,
693
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
694
+ )
695
+ THB =
696
+ T.let(
697
+ :thb,
698
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
699
+ )
700
+ TJS =
701
+ T.let(
702
+ :tjs,
703
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
704
+ )
705
+ TOP =
706
+ T.let(
707
+ :top,
708
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
709
+ )
710
+ TRY =
711
+ T.let(
712
+ :try,
713
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
714
+ )
715
+ TTD =
716
+ T.let(
717
+ :ttd,
718
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
719
+ )
720
+ TZS =
721
+ T.let(
722
+ :tzs,
723
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
724
+ )
725
+ UAH =
726
+ T.let(
727
+ :uah,
728
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
729
+ )
730
+ UZS =
731
+ T.let(
732
+ :uzs,
733
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
734
+ )
735
+ VND =
736
+ T.let(
737
+ :vnd,
738
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
739
+ )
740
+ VUV =
741
+ T.let(
742
+ :vuv,
743
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
744
+ )
745
+ WST =
746
+ T.let(
747
+ :wst,
748
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
749
+ )
750
+ XAF =
751
+ T.let(
752
+ :xaf,
753
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
754
+ )
755
+ XCD =
756
+ T.let(
757
+ :xcd,
758
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
759
+ )
760
+ YER =
761
+ T.let(
762
+ :yer,
763
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
764
+ )
765
+ ZAR =
766
+ T.let(
767
+ :zar,
768
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
769
+ )
770
+ ZMW =
771
+ T.let(
772
+ :zmw,
773
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
774
+ )
775
+ CLP =
776
+ T.let(
777
+ :clp,
778
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
779
+ )
780
+ DJF =
781
+ T.let(
782
+ :djf,
783
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
784
+ )
785
+ GNF =
786
+ T.let(
787
+ :gnf,
788
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
789
+ )
790
+ UGX =
791
+ T.let(
792
+ :ugx,
793
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
794
+ )
795
+ PYG =
796
+ T.let(
797
+ :pyg,
798
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
799
+ )
800
+ XOF =
801
+ T.let(
802
+ :xof,
803
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
804
+ )
805
+ XPF =
806
+ T.let(
807
+ :xpf,
808
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
935
809
  )
936
810
 
937
811
  sig do
938
812
  override.returns(
939
813
  T::Array[
940
- Stigg::Models::V1::CouponListResponse::Data::Status::TaggedSymbol
814
+ Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
941
815
  ]
942
816
  )
943
817
  end
944
818
  def self.values
945
819
  end
946
820
  end
821
+ end
947
822
 
948
- # Type of the coupon (percentage or fixed amount)
949
- module Type
950
- extend Stigg::Internal::Type::Enum
823
+ # The source of the coupon
824
+ module Source
825
+ extend Stigg::Internal::Type::Enum
951
826
 
952
- TaggedSymbol =
953
- T.type_alias do
954
- T.all(Symbol, Stigg::Models::V1::CouponListResponse::Data::Type)
955
- end
956
- OrSymbol = T.type_alias { T.any(Symbol, String) }
827
+ TaggedSymbol =
828
+ T.type_alias do
829
+ T.all(Symbol, Stigg::Models::V1::CouponListResponse::Source)
830
+ end
831
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
957
832
 
958
- FIXED =
959
- T.let(
960
- :FIXED,
961
- Stigg::Models::V1::CouponListResponse::Data::Type::TaggedSymbol
962
- )
963
- PERCENTAGE =
964
- T.let(
965
- :PERCENTAGE,
966
- Stigg::Models::V1::CouponListResponse::Data::Type::TaggedSymbol
967
- )
833
+ STIGG =
834
+ T.let(
835
+ :STIGG,
836
+ Stigg::Models::V1::CouponListResponse::Source::TaggedSymbol
837
+ )
838
+ STIGG_ADHOC =
839
+ T.let(
840
+ :STIGG_ADHOC,
841
+ Stigg::Models::V1::CouponListResponse::Source::TaggedSymbol
842
+ )
843
+ STRIPE =
844
+ T.let(
845
+ :STRIPE,
846
+ Stigg::Models::V1::CouponListResponse::Source::TaggedSymbol
847
+ )
968
848
 
969
- sig do
970
- override.returns(
971
- T::Array[
972
- Stigg::Models::V1::CouponListResponse::Data::Type::TaggedSymbol
973
- ]
974
- )
849
+ sig do
850
+ override.returns(
851
+ T::Array[
852
+ Stigg::Models::V1::CouponListResponse::Source::TaggedSymbol
853
+ ]
854
+ )
855
+ end
856
+ def self.values
857
+ end
858
+ end
859
+
860
+ # Current status of the coupon
861
+ module Status
862
+ extend Stigg::Internal::Type::Enum
863
+
864
+ TaggedSymbol =
865
+ T.type_alias do
866
+ T.all(Symbol, Stigg::Models::V1::CouponListResponse::Status)
975
867
  end
976
- def self.values
868
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
869
+
870
+ ACTIVE =
871
+ T.let(
872
+ :ACTIVE,
873
+ Stigg::Models::V1::CouponListResponse::Status::TaggedSymbol
874
+ )
875
+ ARCHIVED =
876
+ T.let(
877
+ :ARCHIVED,
878
+ Stigg::Models::V1::CouponListResponse::Status::TaggedSymbol
879
+ )
880
+
881
+ sig do
882
+ override.returns(
883
+ T::Array[
884
+ Stigg::Models::V1::CouponListResponse::Status::TaggedSymbol
885
+ ]
886
+ )
887
+ end
888
+ def self.values
889
+ end
890
+ end
891
+
892
+ # Type of the coupon (percentage or fixed amount)
893
+ module Type
894
+ extend Stigg::Internal::Type::Enum
895
+
896
+ TaggedSymbol =
897
+ T.type_alias do
898
+ T.all(Symbol, Stigg::Models::V1::CouponListResponse::Type)
977
899
  end
900
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
901
+
902
+ FIXED =
903
+ T.let(
904
+ :FIXED,
905
+ Stigg::Models::V1::CouponListResponse::Type::TaggedSymbol
906
+ )
907
+ PERCENTAGE =
908
+ T.let(
909
+ :PERCENTAGE,
910
+ Stigg::Models::V1::CouponListResponse::Type::TaggedSymbol
911
+ )
912
+
913
+ sig do
914
+ override.returns(
915
+ T::Array[
916
+ Stigg::Models::V1::CouponListResponse::Type::TaggedSymbol
917
+ ]
918
+ )
919
+ end
920
+ def self.values
978
921
  end
979
922
  end
980
923
  end