stigg 0.1.0.pre.alpha.1 → 0.1.0.pre.alpha.3
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/README.md +29 -1
- data/lib/stigg/internal/my_cursor_id_page.rb +32 -4
- data/lib/stigg/internal/type/base_model.rb +2 -2
- data/lib/stigg/models/v1/{coupon_create_response.rb → coupon.rb} +31 -26
- data/lib/stigg/models/v1/coupon_create_params.rb +2 -0
- data/lib/stigg/models/v1/coupon_list_params.rb +14 -14
- data/lib/stigg/models/v1/coupon_list_response.rb +262 -278
- data/lib/stigg/models/v1/customer_import_params.rb +75 -0
- data/lib/stigg/models/v1/customer_import_response.rb +35 -0
- data/lib/stigg/models/v1/customer_list_params.rb +14 -14
- data/lib/stigg/models/v1/customer_list_response.rb +160 -174
- data/lib/stigg/models/v1/{customer_create_params.rb → customer_provision_params.rb} +18 -16
- data/lib/stigg/models/v1/customer_response.rb +9 -2
- data/lib/stigg/models/v1/customer_update_params.rb +2 -0
- data/lib/stigg/models/v1/customers/payment_method_attach_params.rb +3 -1
- data/lib/stigg/models/v1/customers/{promotional_create_params.rb → promotional_entitlement_grant_params.rb} +46 -44
- data/lib/stigg/models/v1/customers/{promotional_create_response.rb → promotional_entitlement_grant_response.rb} +105 -32
- data/lib/stigg/models/v1/customers/{promotional_revoke_params.rb → promotional_entitlement_revoke_params.rb} +2 -2
- data/lib/stigg/models/v1/customers/{promotional_revoke_response.rb → promotional_entitlement_revoke_response.rb} +107 -33
- data/lib/stigg/models/v1/event_report_params.rb +91 -0
- data/lib/stigg/models/v1/event_report_response.rb +25 -0
- data/lib/stigg/models/v1/{subscription_retrieve_response.rb → subscription.rb} +67 -26
- data/lib/stigg/models/v1/subscription_cancel_params.rb +75 -0
- data/lib/stigg/models/v1/subscription_delegate_params.rb +7 -2
- data/lib/stigg/models/v1/subscription_import_params.rb +92 -0
- data/lib/stigg/models/v1/subscription_import_response.rb +32 -0
- data/lib/stigg/models/v1/subscription_list_params.rb +20 -24
- data/lib/stigg/models/v1/subscription_list_response.rb +255 -236
- data/lib/stigg/models/v1/subscription_migrate_params.rb +3 -3
- data/lib/stigg/models/v1/subscription_preview_params.rb +139 -46
- data/lib/stigg/models/v1/subscription_preview_response.rb +164 -49
- data/lib/stigg/models/v1/subscription_provision_params.rb +1693 -0
- data/lib/stigg/models/v1/subscription_provision_response.rb +1038 -0
- data/lib/stigg/models/v1/subscription_transfer_params.rb +2 -6
- data/lib/stigg/models/v1/subscription_update_params.rb +1114 -0
- data/lib/stigg/models/v1/subscriptions/{future_update_cancel_pending_payment_response.rb → cancel_subscription.rb} +9 -5
- data/lib/stigg/models/v1/usage_history_params.rb +54 -0
- data/lib/stigg/models/v1/usage_history_response.rb +155 -0
- data/lib/stigg/models/v1/usage_report_params.rb +114 -0
- data/lib/stigg/models/v1/usage_report_response.rb +120 -0
- data/lib/stigg/models.rb +0 -4
- data/lib/stigg/resources/v1/coupons.rb +16 -14
- data/lib/stigg/resources/v1/customers/payment_method.rb +6 -5
- data/lib/stigg/resources/v1/customers/{promotional.rb → promotional_entitlements.rb} +17 -17
- data/lib/stigg/resources/v1/customers.rb +78 -56
- data/lib/stigg/resources/v1/events.rb +38 -0
- data/lib/stigg/resources/v1/subscriptions/future_update.rb +10 -8
- data/lib/stigg/resources/v1/subscriptions.rb +206 -79
- data/lib/stigg/resources/v1/usage.rb +79 -0
- data/lib/stigg/resources/v1.rb +6 -42
- data/lib/stigg/version.rb +1 -1
- data/lib/stigg.rb +25 -23
- data/rbi/stigg/internal/my_cursor_id_page.rbi +27 -0
- data/rbi/stigg/models/v1/coupon.rbi +891 -0
- data/rbi/stigg/models/v1/coupon_create_params.rbi +1 -0
- data/rbi/stigg/models/v1/coupon_list_params.rbi +21 -21
- data/rbi/stigg/models/v1/coupon_list_response.rbi +812 -869
- data/rbi/stigg/models/v1/customer_import_params.rbi +130 -0
- data/rbi/stigg/models/v1/customer_import_response.rbi +76 -0
- data/rbi/stigg/models/v1/customer_list_params.rbi +21 -21
- data/rbi/stigg/models/v1/customer_list_response.rbi +307 -347
- data/rbi/stigg/models/v1/{customer_create_params.rbi → customer_provision_params.rbi} +36 -35
- data/rbi/stigg/models/v1/customer_response.rbi +8 -1
- data/rbi/stigg/models/v1/customer_update_params.rbi +1 -0
- data/rbi/stigg/models/v1/customers/payment_method_attach_params.rbi +3 -0
- data/rbi/stigg/models/v1/customers/{promotional_create_params.rbi → promotional_entitlement_grant_params.rbi} +78 -77
- data/rbi/stigg/models/v1/customers/promotional_entitlement_grant_response.rbi +690 -0
- data/rbi/stigg/models/v1/customers/{promotional_revoke_params.rbi → promotional_entitlement_revoke_params.rbi} +2 -2
- data/rbi/stigg/models/v1/customers/promotional_entitlement_revoke_response.rbi +696 -0
- data/rbi/stigg/models/v1/event_report_params.rbi +168 -0
- data/rbi/stigg/models/v1/event_report_response.rbi +35 -0
- data/rbi/stigg/models/v1/{subscription_migrate_response.rbi → subscription.rbi} +130 -98
- data/rbi/stigg/models/v1/subscription_cancel_params.rbi +182 -0
- data/rbi/stigg/models/v1/subscription_delegate_params.rbi +6 -2
- data/rbi/stigg/models/v1/subscription_import_params.rbi +148 -0
- data/rbi/stigg/models/v1/subscription_import_response.rbi +69 -0
- data/rbi/stigg/models/v1/subscription_list_params.rbi +26 -28
- data/rbi/stigg/models/v1/subscription_list_response.rbi +460 -435
- data/rbi/stigg/models/v1/subscription_migrate_params.rbi +3 -3
- data/rbi/stigg/models/v1/subscription_preview_params.rbi +112 -14
- data/rbi/stigg/models/v1/subscription_preview_response.rbi +139 -6
- data/rbi/stigg/models/v1/subscription_provision_params.rbi +5306 -0
- data/rbi/stigg/models/v1/subscription_provision_response.rbi +3175 -0
- data/rbi/stigg/models/v1/subscription_transfer_params.rbi +2 -4
- data/rbi/stigg/models/v1/subscription_update_params.rbi +3578 -0
- data/rbi/stigg/models/v1/subscriptions/{future_update_cancel_schedule_response.rbi → cancel_subscription.rbi} +10 -16
- data/rbi/stigg/models/v1/usage_history_params.rbi +79 -0
- data/rbi/stigg/models/v1/usage_history_response.rbi +347 -0
- data/rbi/stigg/models/v1/usage_report_params.rbi +227 -0
- data/rbi/stigg/models/v1/usage_report_response.rbi +162 -0
- data/rbi/stigg/models.rbi +0 -4
- data/rbi/stigg/resources/v1/coupons.rbi +22 -14
- data/rbi/stigg/resources/v1/customers/payment_method.rbi +9 -3
- data/rbi/stigg/resources/v1/customers/{promotional.rbi → promotional_entitlements.rbi} +13 -9
- data/rbi/stigg/resources/v1/customers.rbi +84 -53
- data/rbi/stigg/resources/v1/events.rbi +28 -0
- data/rbi/stigg/resources/v1/subscriptions/future_update.rbi +14 -10
- data/rbi/stigg/resources/v1/subscriptions.rbi +242 -58
- data/rbi/stigg/resources/v1/usage.rbi +57 -0
- data/rbi/stigg/resources/v1.rbi +4 -26
- data/sig/stigg/internal/my_cursor_id_page.rbs +17 -0
- data/sig/stigg/models/v1/{coupon_create_response.rbs → coupon.rbs} +29 -32
- data/sig/stigg/models/v1/coupon_list_params.rbs +11 -11
- data/sig/stigg/models/v1/coupon_list_response.rbs +331 -351
- data/sig/stigg/models/v1/customer_import_params.rbs +74 -0
- data/sig/stigg/models/v1/customer_import_response.rbs +30 -0
- data/sig/stigg/models/v1/customer_list_params.rbs +11 -11
- data/sig/stigg/models/v1/customer_list_response.rbs +133 -153
- data/sig/stigg/models/v1/{customer_create_params.rbs → customer_provision_params.rbs} +22 -22
- data/sig/stigg/models/v1/customers/{promotional_create_params.rbs → promotional_entitlement_grant_params.rbs} +43 -43
- data/sig/stigg/models/v1/customers/promotional_entitlement_grant_response.rbs +281 -0
- data/sig/stigg/models/v1/customers/{promotional_revoke_params.rbs → promotional_entitlement_revoke_params.rbs} +2 -2
- data/sig/stigg/models/v1/customers/promotional_entitlement_revoke_response.rbs +281 -0
- data/sig/stigg/models/v1/event_report_params.rbs +82 -0
- data/sig/stigg/models/v1/event_report_response.rbs +15 -0
- data/sig/stigg/models/v1/{subscription_retrieve_response.rbs → subscription.rbs} +61 -35
- data/sig/stigg/models/v1/subscription_cancel_params.rbs +79 -0
- data/sig/stigg/models/v1/subscription_import_params.rbs +84 -0
- data/sig/stigg/models/v1/subscription_import_response.rbs +30 -0
- data/sig/stigg/models/v1/subscription_list_params.rbs +14 -14
- data/sig/stigg/models/v1/subscription_list_response.rbs +196 -189
- data/sig/stigg/models/v1/subscription_preview_params.rbs +2 -6
- data/sig/stigg/models/v1/subscription_provision_params.rbs +2223 -0
- data/sig/stigg/models/v1/subscription_provision_response.rbs +1305 -0
- data/sig/stigg/models/v1/subscription_update_params.rbs +1544 -0
- data/sig/stigg/models/v1/subscriptions/cancel_subscription.rbs +34 -0
- data/sig/stigg/models/v1/usage_history_params.rbs +52 -0
- data/sig/stigg/models/v1/usage_history_response.rbs +129 -0
- data/sig/stigg/models/v1/usage_report_params.rbs +102 -0
- data/sig/stigg/models/v1/usage_report_response.rbs +87 -0
- data/sig/stigg/models.rbs +0 -4
- data/sig/stigg/resources/v1/coupons.rbs +5 -5
- data/sig/stigg/resources/v1/customers/{promotional.rbs → promotional_entitlements.rbs} +5 -5
- data/sig/stigg/resources/v1/customers.rbs +20 -17
- data/sig/stigg/resources/v1/events.rbs +14 -0
- data/sig/stigg/resources/v1/subscriptions/future_update.rbs +2 -2
- data/sig/stigg/resources/v1/subscriptions.rbs +68 -20
- data/sig/stigg/resources/v1/usage.rbs +24 -0
- data/sig/stigg/resources/v1.rbs +2 -8
- metadata +77 -71
- data/lib/stigg/models/v1/coupon_retrieve_response.rb +0 -317
- data/lib/stigg/models/v1/customers/usage_retrieve_params.rb +0 -56
- data/lib/stigg/models/v1/customers/usage_retrieve_response.rb +0 -145
- data/lib/stigg/models/v1/subscription_create_params.rb +0 -214
- data/lib/stigg/models/v1/subscription_create_response.rb +0 -338
- data/lib/stigg/models/v1/subscription_delegate_response.rb +0 -274
- data/lib/stigg/models/v1/subscription_migrate_response.rb +0 -274
- data/lib/stigg/models/v1/subscription_transfer_response.rb +0 -274
- data/lib/stigg/models/v1/subscriptions/future_update_cancel_schedule_response.rb +0 -32
- data/lib/stigg/models/v1_create_event_params.rb +0 -87
- data/lib/stigg/models/v1_create_event_response.rb +0 -16
- data/lib/stigg/models/v1_create_usage_params.rb +0 -96
- data/lib/stigg/models/v1_create_usage_response.rb +0 -112
- data/lib/stigg/resources/v1/customers/usage.rb +0 -59
- data/rbi/stigg/models/v1/coupon_create_response.rbi +0 -986
- data/rbi/stigg/models/v1/coupon_retrieve_response.rbi +0 -986
- data/rbi/stigg/models/v1/customers/promotional_create_response.rbi +0 -495
- data/rbi/stigg/models/v1/customers/promotional_revoke_response.rbi +0 -497
- data/rbi/stigg/models/v1/customers/usage_retrieve_params.rbi +0 -84
- data/rbi/stigg/models/v1/customers/usage_retrieve_response.rbi +0 -353
- data/rbi/stigg/models/v1/subscription_create_params.rbi +0 -394
- data/rbi/stigg/models/v1/subscription_create_response.rbi +0 -668
- data/rbi/stigg/models/v1/subscription_delegate_response.rbi +0 -535
- data/rbi/stigg/models/v1/subscription_retrieve_response.rbi +0 -535
- data/rbi/stigg/models/v1/subscription_transfer_response.rbi +0 -535
- data/rbi/stigg/models/v1/subscriptions/future_update_cancel_pending_payment_response.rbi +0 -79
- data/rbi/stigg/models/v1_create_event_params.rbi +0 -160
- data/rbi/stigg/models/v1_create_event_response.rbi +0 -23
- data/rbi/stigg/models/v1_create_usage_params.rbi +0 -177
- data/rbi/stigg/models/v1_create_usage_response.rbi +0 -150
- data/rbi/stigg/resources/v1/customers/usage.rbi +0 -45
- data/sig/stigg/models/v1/coupon_retrieve_response.rbs +0 -394
- data/sig/stigg/models/v1/customers/promotional_create_response.rbs +0 -209
- data/sig/stigg/models/v1/customers/promotional_revoke_response.rbs +0 -209
- data/sig/stigg/models/v1/customers/usage_retrieve_params.rbs +0 -54
- data/sig/stigg/models/v1/customers/usage_retrieve_response.rbs +0 -134
- data/sig/stigg/models/v1/subscription_create_params.rbs +0 -199
- data/sig/stigg/models/v1/subscription_create_response.rbs +0 -283
- data/sig/stigg/models/v1/subscription_delegate_response.rbs +0 -224
- data/sig/stigg/models/v1/subscription_migrate_response.rbs +0 -224
- data/sig/stigg/models/v1/subscription_transfer_response.rbs +0 -224
- data/sig/stigg/models/v1/subscriptions/future_update_cancel_pending_payment_response.rbs +0 -34
- data/sig/stigg/models/v1/subscriptions/future_update_cancel_schedule_response.rbs +0 -34
- data/sig/stigg/models/v1_create_event_params.rbs +0 -80
- data/sig/stigg/models/v1_create_event_response.rbs +0 -13
- data/sig/stigg/models/v1_create_usage_params.rbs +0 -90
- data/sig/stigg/models/v1_create_usage_response.rbs +0 -85
- data/sig/stigg/resources/v1/customers/usage.rbs +0 -21
|
@@ -12,969 +12,912 @@ module Stigg
|
|
|
12
12
|
)
|
|
13
13
|
end
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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
|
-
|
|
28
|
-
|
|
59
|
+
returns(
|
|
60
|
+
T.nilable(
|
|
61
|
+
Stigg::Models::V1::CouponListResponse::Source::TaggedSymbol
|
|
62
|
+
)
|
|
29
63
|
)
|
|
30
64
|
end
|
|
31
|
-
|
|
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
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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
|
-
|
|
44
|
-
|
|
45
|
-
|
|
79
|
+
# Timestamp of when the record was last updated
|
|
80
|
+
sig { returns(Time) }
|
|
81
|
+
attr_accessor :updated_at
|
|
46
82
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
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::
|
|
90
|
+
Stigg::Models::V1::CouponListResponse::AmountsOff::OrHash
|
|
53
91
|
]
|
|
54
|
-
)
|
|
55
|
-
)
|
|
56
|
-
|
|
57
|
-
|
|
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
|
-
|
|
61
|
-
attr_accessor :billing_id
|
|
62
|
-
|
|
115
|
+
billing_id:,
|
|
63
116
|
# The URL to the entity in the billing provider
|
|
64
|
-
|
|
65
|
-
attr_accessor :billing_link_url
|
|
66
|
-
|
|
117
|
+
billing_link_url:,
|
|
67
118
|
# Timestamp of when the record was created
|
|
68
|
-
|
|
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
|
-
|
|
77
|
-
attr_accessor :description
|
|
78
|
-
|
|
121
|
+
description:,
|
|
79
122
|
# Duration of the coupon validity in months
|
|
80
|
-
|
|
81
|
-
attr_accessor :duration_in_months
|
|
82
|
-
|
|
123
|
+
duration_in_months:,
|
|
83
124
|
# Name of the coupon
|
|
84
|
-
|
|
85
|
-
attr_accessor :name
|
|
86
|
-
|
|
125
|
+
name:,
|
|
87
126
|
# Percentage discount off the original price
|
|
88
|
-
|
|
89
|
-
attr_accessor :percent_off
|
|
90
|
-
|
|
127
|
+
percent_off:,
|
|
91
128
|
# The source of the coupon
|
|
92
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
119
|
-
|
|
135
|
+
updated_at:
|
|
136
|
+
)
|
|
137
|
+
end
|
|
120
138
|
|
|
121
|
-
|
|
122
|
-
|
|
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::
|
|
156
|
+
Stigg::Models::V1::CouponListResponse::Source::TaggedSymbol
|
|
141
157
|
),
|
|
142
158
|
status:
|
|
143
|
-
Stigg::Models::V1::CouponListResponse::
|
|
144
|
-
type: Stigg::Models::V1::CouponListResponse::
|
|
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
|
|
150
|
-
|
|
151
|
-
#
|
|
152
|
-
|
|
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
|
-
|
|
184
|
-
|
|
185
|
-
|
|
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
|
-
|
|
214
|
-
|
|
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::
|
|
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
|
-
|
|
230
|
+
USD =
|
|
887
231
|
T.let(
|
|
888
|
-
:
|
|
889
|
-
Stigg::Models::V1::CouponListResponse::
|
|
232
|
+
:usd,
|
|
233
|
+
Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
|
|
890
234
|
)
|
|
891
|
-
|
|
235
|
+
AED =
|
|
892
236
|
T.let(
|
|
893
|
-
:
|
|
894
|
-
Stigg::Models::V1::CouponListResponse::
|
|
237
|
+
:aed,
|
|
238
|
+
Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
|
|
895
239
|
)
|
|
896
|
-
|
|
240
|
+
ALL =
|
|
897
241
|
T.let(
|
|
898
|
-
:
|
|
899
|
-
Stigg::Models::V1::CouponListResponse::
|
|
242
|
+
:all,
|
|
243
|
+
Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
|
|
900
244
|
)
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
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
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
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
|
-
:
|
|
929
|
-
Stigg::Models::V1::CouponListResponse::
|
|
577
|
+
:mzn,
|
|
578
|
+
Stigg::Models::V1::CouponListResponse::AmountsOff::Currency::TaggedSymbol
|
|
930
579
|
)
|
|
931
|
-
|
|
580
|
+
NAD =
|
|
932
581
|
T.let(
|
|
933
|
-
:
|
|
934
|
-
Stigg::Models::V1::CouponListResponse::
|
|
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::
|
|
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
|
-
|
|
949
|
-
|
|
950
|
-
|
|
823
|
+
# The source of the coupon
|
|
824
|
+
module Source
|
|
825
|
+
extend Stigg::Internal::Type::Enum
|
|
951
826
|
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
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
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
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
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
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
|
-
|
|
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
|