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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/README.md +29 -1
- data/lib/stigg/internal/my_cursor_id_page.rb +32 -4
- data/lib/stigg/models/v1/coupon_create_params.rb +2 -0
- data/lib/stigg/models/v1/coupon_create_response.rb +11 -6
- 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/coupon_retrieve_response.rb +11 -6
- data/lib/stigg/models/v1/customer_create_params.rb +2 -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_response.rb +8 -1
- 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/subscription_create_params.rb +1485 -6
- data/lib/stigg/models/v1/subscription_create_response.rb +703 -4
- data/lib/stigg/models/v1/subscription_delegate_params.rb +7 -2
- data/lib/stigg/models/v1/subscription_delegate_response.rb +42 -2
- 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_migrate_response.rb +42 -2
- 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_retrieve_response.rb +42 -2
- data/lib/stigg/models/v1/subscription_transfer_params.rb +2 -6
- data/lib/stigg/models/v1/subscription_transfer_response.rb +42 -2
- data/lib/stigg/models/v1/subscriptions/future_update_cancel_pending_payment_response.rb +2 -0
- data/lib/stigg/models/v1/subscriptions/future_update_cancel_schedule_response.rb +2 -0
- data/lib/stigg/models/v1_create_event_params.rb +2 -0
- data/lib/stigg/models/v1_create_event_response.rb +8 -1
- data/lib/stigg/models/v1_create_usage_params.rb +19 -3
- data/lib/stigg/models/v1_create_usage_response.rb +7 -1
- data/lib/stigg/resources/v1/coupons.rb +12 -10
- data/lib/stigg/resources/v1/customers/payment_method.rb +6 -5
- data/lib/stigg/resources/v1/customers/usage.rb +0 -41
- data/lib/stigg/resources/v1/customers.rb +20 -20
- data/lib/stigg/resources/v1/subscriptions/future_update.rb +6 -4
- data/lib/stigg/resources/v1/subscriptions.rb +74 -49
- data/lib/stigg/resources/v1.rb +2 -2
- data/lib/stigg/version.rb +1 -1
- data/lib/stigg.rb +0 -7
- data/rbi/stigg/internal/my_cursor_id_page.rbi +27 -0
- data/rbi/stigg/models/v1/coupon_create_params.rbi +1 -0
- data/rbi/stigg/models/v1/coupon_create_response.rbi +11 -10
- 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/coupon_retrieve_response.rbi +11 -10
- data/rbi/stigg/models/v1/customer_create_params.rbi +1 -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_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/subscription_create_params.rbi +4975 -84
- data/rbi/stigg/models/v1/subscription_create_response.rbi +2508 -1
- data/rbi/stigg/models/v1/subscription_delegate_params.rbi +6 -2
- data/rbi/stigg/models/v1/subscription_delegate_response.rbi +84 -1
- 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_migrate_response.rbi +84 -1
- 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_retrieve_response.rbi +84 -1
- data/rbi/stigg/models/v1/subscription_transfer_params.rbi +2 -4
- data/rbi/stigg/models/v1/subscription_transfer_response.rbi +84 -1
- data/rbi/stigg/models/v1/subscriptions/future_update_cancel_pending_payment_response.rbi +1 -0
- data/rbi/stigg/models/v1/subscriptions/future_update_cancel_schedule_response.rbi +1 -0
- data/rbi/stigg/models/v1_create_event_params.rbi +1 -0
- data/rbi/stigg/models/v1_create_event_response.rbi +8 -1
- data/rbi/stigg/models/v1_create_usage_params.rbi +44 -4
- data/rbi/stigg/models/v1_create_usage_response.rbi +8 -1
- data/rbi/stigg/resources/v1/coupons.rbi +20 -12
- data/rbi/stigg/resources/v1/customers/payment_method.rbi +9 -3
- data/rbi/stigg/resources/v1/customers/usage.rbi +0 -29
- data/rbi/stigg/resources/v1/customers.rbi +34 -20
- data/rbi/stigg/resources/v1/subscriptions/future_update.rbi +12 -4
- data/rbi/stigg/resources/v1/subscriptions.rbi +102 -23
- data/rbi/stigg/resources/v1.rbi +2 -2
- data/sig/stigg/internal/my_cursor_id_page.rbs +17 -0
- data/sig/stigg/models/v1/coupon_create_response.rbs +4 -4
- 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/coupon_retrieve_response.rbs +4 -4
- 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/subscription_create_params.rbs +2029 -5
- data/sig/stigg/models/v1/subscription_create_response.rbs +1022 -0
- data/sig/stigg/models/v1/subscription_delegate_response.rbs +31 -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_migrate_response.rbs +31 -0
- data/sig/stigg/models/v1/subscription_preview_params.rbs +2 -6
- data/sig/stigg/models/v1/subscription_retrieve_response.rbs +31 -0
- data/sig/stigg/models/v1/subscription_transfer_response.rbs +31 -0
- data/sig/stigg/models/v1_create_usage_params.rbs +15 -5
- data/sig/stigg/resources/v1/coupons.rbs +3 -3
- data/sig/stigg/resources/v1/customers/usage.rbs +0 -10
- data/sig/stigg/resources/v1/customers.rbs +3 -5
- data/sig/stigg/resources/v1/subscriptions.rbs +19 -4
- metadata +2 -23
- data/lib/stigg/models/v1/customers/promotional_create_params.rb +0 -294
- data/lib/stigg/models/v1/customers/promotional_create_response.rb +0 -268
- data/lib/stigg/models/v1/customers/promotional_revoke_params.rb +0 -24
- data/lib/stigg/models/v1/customers/promotional_revoke_response.rb +0 -268
- 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/resources/v1/customers/promotional.rb +0 -69
- data/rbi/stigg/models/v1/customers/promotional_create_params.rbi +0 -639
- data/rbi/stigg/models/v1/customers/promotional_create_response.rbi +0 -495
- data/rbi/stigg/models/v1/customers/promotional_revoke_params.rbi +0 -42
- 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/resources/v1/customers/promotional.rbi +0 -53
- data/sig/stigg/models/v1/customers/promotional_create_params.rbs +0 -234
- data/sig/stigg/models/v1/customers/promotional_create_response.rbs +0 -209
- data/sig/stigg/models/v1/customers/promotional_revoke_params.rbs +0 -27
- 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/resources/v1/customers/promotional.rbs +0 -23
|
@@ -6,12 +6,15 @@ module Stigg
|
|
|
6
6
|
# @see Stigg::Resources::V1::Subscriptions#create
|
|
7
7
|
class SubscriptionCreateResponse < Stigg::Internal::Type::BaseModel
|
|
8
8
|
# @!attribute data
|
|
9
|
+
# Provisioning result with status and subscription or checkout URL.
|
|
9
10
|
#
|
|
10
11
|
# @return [Stigg::Models::V1::SubscriptionCreateResponse::Data]
|
|
11
12
|
required :data, -> { Stigg::Models::V1::SubscriptionCreateResponse::Data }
|
|
12
13
|
|
|
13
14
|
# @!method initialize(data:)
|
|
14
|
-
#
|
|
15
|
+
# Response object
|
|
16
|
+
#
|
|
17
|
+
# @param data [Stigg::Models::V1::SubscriptionCreateResponse::Data] Provisioning result with status and subscription or checkout URL.
|
|
15
18
|
|
|
16
19
|
# @see Stigg::Models::V1::SubscriptionCreateResponse#data
|
|
17
20
|
class Data < Stigg::Internal::Type::BaseModel
|
|
@@ -21,6 +24,12 @@ module Stigg
|
|
|
21
24
|
# @return [String]
|
|
22
25
|
required :id, String
|
|
23
26
|
|
|
27
|
+
# @!attribute entitlements
|
|
28
|
+
#
|
|
29
|
+
# @return [Array<Stigg::Models::V1::SubscriptionCreateResponse::Data::Entitlement>]
|
|
30
|
+
required :entitlements,
|
|
31
|
+
-> { Stigg::Internal::Type::ArrayOf[Stigg::Models::V1::SubscriptionCreateResponse::Data::Entitlement] }
|
|
32
|
+
|
|
24
33
|
# @!attribute status
|
|
25
34
|
# Provision status: SUCCESS or PAYMENT_REQUIRED
|
|
26
35
|
#
|
|
@@ -46,13 +55,18 @@ module Stigg
|
|
|
46
55
|
optional :is_scheduled, Stigg::Internal::Type::Boolean, api_name: :isScheduled
|
|
47
56
|
|
|
48
57
|
# @!attribute subscription
|
|
58
|
+
# Created subscription (when status is SUCCESS)
|
|
49
59
|
#
|
|
50
60
|
# @return [Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription, nil]
|
|
51
61
|
optional :subscription, -> { Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription }
|
|
52
62
|
|
|
53
|
-
# @!method initialize(id:, status:, checkout_billing_id: nil, checkout_url: nil, is_scheduled: nil, subscription: nil)
|
|
63
|
+
# @!method initialize(id:, entitlements:, status:, checkout_billing_id: nil, checkout_url: nil, is_scheduled: nil, subscription: nil)
|
|
64
|
+
# Provisioning result with status and subscription or checkout URL.
|
|
65
|
+
#
|
|
54
66
|
# @param id [String] Unique identifier for the provisioned subscription
|
|
55
67
|
#
|
|
68
|
+
# @param entitlements [Array<Stigg::Models::V1::SubscriptionCreateResponse::Data::Entitlement>]
|
|
69
|
+
#
|
|
56
70
|
# @param status [Symbol, Stigg::Models::V1::SubscriptionCreateResponse::Data::Status] Provision status: SUCCESS or PAYMENT_REQUIRED
|
|
57
71
|
#
|
|
58
72
|
# @param checkout_billing_id [String, nil] Checkout billing ID when payment is required
|
|
@@ -61,7 +75,125 @@ module Stigg
|
|
|
61
75
|
#
|
|
62
76
|
# @param is_scheduled [Boolean] Whether the subscription is scheduled for future activation
|
|
63
77
|
#
|
|
64
|
-
# @param subscription [Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription]
|
|
78
|
+
# @param subscription [Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription] Created subscription (when status is SUCCESS)
|
|
79
|
+
|
|
80
|
+
class Entitlement < Stigg::Internal::Type::BaseModel
|
|
81
|
+
# @!attribute access_denied_reason
|
|
82
|
+
#
|
|
83
|
+
# @return [String, nil]
|
|
84
|
+
optional :access_denied_reason, String, api_name: :accessDeniedReason, nil?: true
|
|
85
|
+
|
|
86
|
+
# @!attribute current_usage
|
|
87
|
+
#
|
|
88
|
+
# @return [Float, nil]
|
|
89
|
+
optional :current_usage, Float, api_name: :currentUsage
|
|
90
|
+
|
|
91
|
+
# @!attribute entitlement_updated_at
|
|
92
|
+
# entitlement updated at
|
|
93
|
+
#
|
|
94
|
+
# @return [Time, nil]
|
|
95
|
+
optional :entitlement_updated_at, Time, api_name: :entitlementUpdatedAt, nil?: true
|
|
96
|
+
|
|
97
|
+
# @!attribute feature
|
|
98
|
+
#
|
|
99
|
+
# @return [Stigg::Models::V1::SubscriptionCreateResponse::Data::Entitlement::Feature, nil]
|
|
100
|
+
optional :feature,
|
|
101
|
+
-> { Stigg::Models::V1::SubscriptionCreateResponse::Data::Entitlement::Feature },
|
|
102
|
+
nil?: true
|
|
103
|
+
|
|
104
|
+
# @!attribute has_unlimited_usage
|
|
105
|
+
#
|
|
106
|
+
# @return [Boolean, nil]
|
|
107
|
+
optional :has_unlimited_usage,
|
|
108
|
+
Stigg::Internal::Type::Boolean,
|
|
109
|
+
api_name: :hasUnlimitedUsage,
|
|
110
|
+
nil?: true
|
|
111
|
+
|
|
112
|
+
# @!attribute is_granted
|
|
113
|
+
#
|
|
114
|
+
# @return [Boolean, nil]
|
|
115
|
+
optional :is_granted, Stigg::Internal::Type::Boolean, api_name: :isGranted
|
|
116
|
+
|
|
117
|
+
# @!attribute reset_period
|
|
118
|
+
#
|
|
119
|
+
# @return [Symbol, Stigg::Models::V1::SubscriptionCreateResponse::Data::Entitlement::ResetPeriod, nil]
|
|
120
|
+
optional :reset_period,
|
|
121
|
+
enum: -> { Stigg::Models::V1::SubscriptionCreateResponse::Data::Entitlement::ResetPeriod },
|
|
122
|
+
api_name: :resetPeriod,
|
|
123
|
+
nil?: true
|
|
124
|
+
|
|
125
|
+
# @!attribute usage_limit
|
|
126
|
+
#
|
|
127
|
+
# @return [Float, nil]
|
|
128
|
+
optional :usage_limit, Float, api_name: :usageLimit, nil?: true
|
|
129
|
+
|
|
130
|
+
# @!attribute usage_period_anchor
|
|
131
|
+
# usage period anchor
|
|
132
|
+
#
|
|
133
|
+
# @return [Time, nil]
|
|
134
|
+
optional :usage_period_anchor, Time, api_name: :usagePeriodAnchor, nil?: true
|
|
135
|
+
|
|
136
|
+
# @!attribute usage_period_end
|
|
137
|
+
# usage period end
|
|
138
|
+
#
|
|
139
|
+
# @return [Time, nil]
|
|
140
|
+
optional :usage_period_end, Time, api_name: :usagePeriodEnd, nil?: true
|
|
141
|
+
|
|
142
|
+
# @!attribute usage_period_start
|
|
143
|
+
# usage period start
|
|
144
|
+
#
|
|
145
|
+
# @return [Time, nil]
|
|
146
|
+
optional :usage_period_start, Time, api_name: :usagePeriodStart, nil?: true
|
|
147
|
+
|
|
148
|
+
# @!method initialize(access_denied_reason: nil, current_usage: nil, entitlement_updated_at: nil, feature: nil, has_unlimited_usage: nil, is_granted: nil, reset_period: nil, usage_limit: nil, usage_period_anchor: nil, usage_period_end: nil, usage_period_start: nil)
|
|
149
|
+
# @param access_denied_reason [String, nil]
|
|
150
|
+
#
|
|
151
|
+
# @param current_usage [Float]
|
|
152
|
+
#
|
|
153
|
+
# @param entitlement_updated_at [Time, nil] entitlement updated at
|
|
154
|
+
#
|
|
155
|
+
# @param feature [Stigg::Models::V1::SubscriptionCreateResponse::Data::Entitlement::Feature, nil]
|
|
156
|
+
#
|
|
157
|
+
# @param has_unlimited_usage [Boolean, nil]
|
|
158
|
+
#
|
|
159
|
+
# @param is_granted [Boolean]
|
|
160
|
+
#
|
|
161
|
+
# @param reset_period [Symbol, Stigg::Models::V1::SubscriptionCreateResponse::Data::Entitlement::ResetPeriod, nil]
|
|
162
|
+
#
|
|
163
|
+
# @param usage_limit [Float, nil]
|
|
164
|
+
#
|
|
165
|
+
# @param usage_period_anchor [Time, nil] usage period anchor
|
|
166
|
+
#
|
|
167
|
+
# @param usage_period_end [Time, nil] usage period end
|
|
168
|
+
#
|
|
169
|
+
# @param usage_period_start [Time, nil] usage period start
|
|
170
|
+
|
|
171
|
+
# @see Stigg::Models::V1::SubscriptionCreateResponse::Data::Entitlement#feature
|
|
172
|
+
class Feature < Stigg::Internal::Type::BaseModel
|
|
173
|
+
# @!attribute ref_id
|
|
174
|
+
# Feature ID
|
|
175
|
+
#
|
|
176
|
+
# @return [String]
|
|
177
|
+
required :ref_id, String, api_name: :refId
|
|
178
|
+
|
|
179
|
+
# @!method initialize(ref_id:)
|
|
180
|
+
# @param ref_id [String] Feature ID
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
# @see Stigg::Models::V1::SubscriptionCreateResponse::Data::Entitlement#reset_period
|
|
184
|
+
module ResetPeriod
|
|
185
|
+
extend Stigg::Internal::Type::Enum
|
|
186
|
+
|
|
187
|
+
YEAR = :YEAR
|
|
188
|
+
MONTH = :MONTH
|
|
189
|
+
WEEK = :WEEK
|
|
190
|
+
DAY = :DAY
|
|
191
|
+
HOUR = :HOUR
|
|
192
|
+
|
|
193
|
+
# @!method self.values
|
|
194
|
+
# @return [Array<Symbol>]
|
|
195
|
+
end
|
|
196
|
+
end
|
|
65
197
|
|
|
66
198
|
# Provision status: SUCCESS or PAYMENT_REQUIRED
|
|
67
199
|
#
|
|
@@ -196,6 +328,12 @@ module Stigg
|
|
|
196
328
|
api_name: :paymentCollectionMethod,
|
|
197
329
|
nil?: true
|
|
198
330
|
|
|
331
|
+
# @!attribute prices
|
|
332
|
+
#
|
|
333
|
+
# @return [Array<Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price>, nil]
|
|
334
|
+
optional :prices,
|
|
335
|
+
-> { Stigg::Internal::Type::ArrayOf[Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price] }
|
|
336
|
+
|
|
199
337
|
# @!attribute resource_id
|
|
200
338
|
# Resource ID
|
|
201
339
|
#
|
|
@@ -208,7 +346,9 @@ module Stigg
|
|
|
208
346
|
# @return [Time, nil]
|
|
209
347
|
optional :trial_end_date, Time, api_name: :trialEndDate, nil?: true
|
|
210
348
|
|
|
211
|
-
# @!method initialize(id:, billing_id:, created_at:, customer_id:, payment_collection:, plan_id:, pricing_type:, start_date:, status:, cancellation_date: nil, cancel_reason: nil, current_billing_period_end: nil, current_billing_period_start: nil, effective_end_date: nil, end_date: nil, metadata: nil, paying_customer_id: nil, payment_collection_method: nil, resource_id: nil, trial_end_date: nil)
|
|
349
|
+
# @!method initialize(id:, billing_id:, created_at:, customer_id:, payment_collection:, plan_id:, pricing_type:, start_date:, status:, cancellation_date: nil, cancel_reason: nil, current_billing_period_end: nil, current_billing_period_start: nil, effective_end_date: nil, end_date: nil, metadata: nil, paying_customer_id: nil, payment_collection_method: nil, prices: nil, resource_id: nil, trial_end_date: nil)
|
|
350
|
+
# Created subscription (when status is SUCCESS)
|
|
351
|
+
#
|
|
212
352
|
# @param id [String] Subscription ID
|
|
213
353
|
#
|
|
214
354
|
# @param billing_id [String, nil] Billing ID
|
|
@@ -245,6 +385,8 @@ module Stigg
|
|
|
245
385
|
#
|
|
246
386
|
# @param payment_collection_method [Symbol, Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::PaymentCollectionMethod, nil] The method used to collect payments for a subscription
|
|
247
387
|
#
|
|
388
|
+
# @param prices [Array<Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price>]
|
|
389
|
+
#
|
|
248
390
|
# @param resource_id [String, nil] Resource ID
|
|
249
391
|
#
|
|
250
392
|
# @param trial_end_date [Time, nil] Subscription trial end date
|
|
@@ -330,6 +472,563 @@ module Stigg
|
|
|
330
472
|
# @!method self.values
|
|
331
473
|
# @return [Array<Symbol>]
|
|
332
474
|
end
|
|
475
|
+
|
|
476
|
+
class Price < Stigg::Internal::Type::BaseModel
|
|
477
|
+
# @!attribute addon_id
|
|
478
|
+
# Addon identifier for the price override
|
|
479
|
+
#
|
|
480
|
+
# @return [String, nil]
|
|
481
|
+
optional :addon_id, String, api_name: :addonId, nil?: true
|
|
482
|
+
|
|
483
|
+
# @!attribute base_charge
|
|
484
|
+
# Whether this is a base charge override
|
|
485
|
+
#
|
|
486
|
+
# @return [Boolean, nil]
|
|
487
|
+
optional :base_charge, Stigg::Internal::Type::Boolean, api_name: :baseCharge
|
|
488
|
+
|
|
489
|
+
# @!attribute block_size
|
|
490
|
+
# Block size for pricing
|
|
491
|
+
#
|
|
492
|
+
# @return [Float, nil]
|
|
493
|
+
optional :block_size, Float, api_name: :blockSize
|
|
494
|
+
|
|
495
|
+
# @!attribute feature_id
|
|
496
|
+
# Feature identifier for the price override
|
|
497
|
+
#
|
|
498
|
+
# @return [String, nil]
|
|
499
|
+
optional :feature_id, String, api_name: :featureId, nil?: true
|
|
500
|
+
|
|
501
|
+
# @!attribute price
|
|
502
|
+
# Override price amount
|
|
503
|
+
#
|
|
504
|
+
# @return [Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price::Price, nil]
|
|
505
|
+
optional :price, -> { Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price::Price }
|
|
506
|
+
|
|
507
|
+
# @!attribute tiers
|
|
508
|
+
# Pricing tiers configuration
|
|
509
|
+
#
|
|
510
|
+
# @return [Array<Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price::Tier>, nil]
|
|
511
|
+
optional :tiers,
|
|
512
|
+
-> { Stigg::Internal::Type::ArrayOf[Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price::Tier] }
|
|
513
|
+
|
|
514
|
+
# @!method initialize(addon_id: nil, base_charge: nil, block_size: nil, feature_id: nil, price: nil, tiers: nil)
|
|
515
|
+
# @param addon_id [String, nil] Addon identifier for the price override
|
|
516
|
+
#
|
|
517
|
+
# @param base_charge [Boolean] Whether this is a base charge override
|
|
518
|
+
#
|
|
519
|
+
# @param block_size [Float] Block size for pricing
|
|
520
|
+
#
|
|
521
|
+
# @param feature_id [String, nil] Feature identifier for the price override
|
|
522
|
+
#
|
|
523
|
+
# @param price [Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price::Price] Override price amount
|
|
524
|
+
#
|
|
525
|
+
# @param tiers [Array<Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price::Tier>] Pricing tiers configuration
|
|
526
|
+
|
|
527
|
+
# @see Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price#price
|
|
528
|
+
class Price < Stigg::Internal::Type::BaseModel
|
|
529
|
+
# @!attribute amount
|
|
530
|
+
# The price amount
|
|
531
|
+
#
|
|
532
|
+
# @return [Float, nil]
|
|
533
|
+
optional :amount, Float
|
|
534
|
+
|
|
535
|
+
# @!attribute billing_country_code
|
|
536
|
+
# The billing country code of the price
|
|
537
|
+
#
|
|
538
|
+
# @return [String, nil]
|
|
539
|
+
optional :billing_country_code, String, api_name: :billingCountryCode, nil?: true
|
|
540
|
+
|
|
541
|
+
# @!attribute currency
|
|
542
|
+
# The price currency
|
|
543
|
+
#
|
|
544
|
+
# @return [Symbol, Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price::Price::Currency, nil]
|
|
545
|
+
optional :currency,
|
|
546
|
+
enum: -> { Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price::Price::Currency }
|
|
547
|
+
|
|
548
|
+
# @!method initialize(amount: nil, billing_country_code: nil, currency: nil)
|
|
549
|
+
# Override price amount
|
|
550
|
+
#
|
|
551
|
+
# @param amount [Float] The price amount
|
|
552
|
+
#
|
|
553
|
+
# @param billing_country_code [String, nil] The billing country code of the price
|
|
554
|
+
#
|
|
555
|
+
# @param currency [Symbol, Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price::Price::Currency] The price currency
|
|
556
|
+
|
|
557
|
+
# The price currency
|
|
558
|
+
#
|
|
559
|
+
# @see Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price::Price#currency
|
|
560
|
+
module Currency
|
|
561
|
+
extend Stigg::Internal::Type::Enum
|
|
562
|
+
|
|
563
|
+
USD = :usd
|
|
564
|
+
AED = :aed
|
|
565
|
+
ALL = :all
|
|
566
|
+
AMD = :amd
|
|
567
|
+
ANG = :ang
|
|
568
|
+
AUD = :aud
|
|
569
|
+
AWG = :awg
|
|
570
|
+
AZN = :azn
|
|
571
|
+
BAM = :bam
|
|
572
|
+
BBD = :bbd
|
|
573
|
+
BDT = :bdt
|
|
574
|
+
BGN = :bgn
|
|
575
|
+
BIF = :bif
|
|
576
|
+
BMD = :bmd
|
|
577
|
+
BND = :bnd
|
|
578
|
+
BSD = :bsd
|
|
579
|
+
BWP = :bwp
|
|
580
|
+
BYN = :byn
|
|
581
|
+
BZD = :bzd
|
|
582
|
+
BRL = :brl
|
|
583
|
+
CAD = :cad
|
|
584
|
+
CDF = :cdf
|
|
585
|
+
CHF = :chf
|
|
586
|
+
CNY = :cny
|
|
587
|
+
CZK = :czk
|
|
588
|
+
DKK = :dkk
|
|
589
|
+
DOP = :dop
|
|
590
|
+
DZD = :dzd
|
|
591
|
+
EGP = :egp
|
|
592
|
+
ETB = :etb
|
|
593
|
+
EUR = :eur
|
|
594
|
+
FJD = :fjd
|
|
595
|
+
GBP = :gbp
|
|
596
|
+
GEL = :gel
|
|
597
|
+
GIP = :gip
|
|
598
|
+
GMD = :gmd
|
|
599
|
+
GYD = :gyd
|
|
600
|
+
HKD = :hkd
|
|
601
|
+
HRK = :hrk
|
|
602
|
+
HTG = :htg
|
|
603
|
+
IDR = :idr
|
|
604
|
+
ILS = :ils
|
|
605
|
+
INR = :inr
|
|
606
|
+
ISK = :isk
|
|
607
|
+
JMD = :jmd
|
|
608
|
+
JPY = :jpy
|
|
609
|
+
KES = :kes
|
|
610
|
+
KGS = :kgs
|
|
611
|
+
KHR = :khr
|
|
612
|
+
KMF = :kmf
|
|
613
|
+
KRW = :krw
|
|
614
|
+
KYD = :kyd
|
|
615
|
+
KZT = :kzt
|
|
616
|
+
LBP = :lbp
|
|
617
|
+
LKR = :lkr
|
|
618
|
+
LRD = :lrd
|
|
619
|
+
LSL = :lsl
|
|
620
|
+
MAD = :mad
|
|
621
|
+
MDL = :mdl
|
|
622
|
+
MGA = :mga
|
|
623
|
+
MKD = :mkd
|
|
624
|
+
MMK = :mmk
|
|
625
|
+
MNT = :mnt
|
|
626
|
+
MOP = :mop
|
|
627
|
+
MRO = :mro
|
|
628
|
+
MVR = :mvr
|
|
629
|
+
MWK = :mwk
|
|
630
|
+
MXN = :mxn
|
|
631
|
+
MYR = :myr
|
|
632
|
+
MZN = :mzn
|
|
633
|
+
NAD = :nad
|
|
634
|
+
NGN = :ngn
|
|
635
|
+
NOK = :nok
|
|
636
|
+
NPR = :npr
|
|
637
|
+
NZD = :nzd
|
|
638
|
+
PGK = :pgk
|
|
639
|
+
PHP = :php
|
|
640
|
+
PKR = :pkr
|
|
641
|
+
PLN = :pln
|
|
642
|
+
QAR = :qar
|
|
643
|
+
RON = :ron
|
|
644
|
+
RSD = :rsd
|
|
645
|
+
RUB = :rub
|
|
646
|
+
RWF = :rwf
|
|
647
|
+
SAR = :sar
|
|
648
|
+
SBD = :sbd
|
|
649
|
+
SCR = :scr
|
|
650
|
+
SEK = :sek
|
|
651
|
+
SGD = :sgd
|
|
652
|
+
SLE = :sle
|
|
653
|
+
SLL = :sll
|
|
654
|
+
SOS = :sos
|
|
655
|
+
SZL = :szl
|
|
656
|
+
THB = :thb
|
|
657
|
+
TJS = :tjs
|
|
658
|
+
TOP = :top
|
|
659
|
+
TRY = :try
|
|
660
|
+
TTD = :ttd
|
|
661
|
+
TZS = :tzs
|
|
662
|
+
UAH = :uah
|
|
663
|
+
UZS = :uzs
|
|
664
|
+
VND = :vnd
|
|
665
|
+
VUV = :vuv
|
|
666
|
+
WST = :wst
|
|
667
|
+
XAF = :xaf
|
|
668
|
+
XCD = :xcd
|
|
669
|
+
YER = :yer
|
|
670
|
+
ZAR = :zar
|
|
671
|
+
ZMW = :zmw
|
|
672
|
+
CLP = :clp
|
|
673
|
+
DJF = :djf
|
|
674
|
+
GNF = :gnf
|
|
675
|
+
UGX = :ugx
|
|
676
|
+
PYG = :pyg
|
|
677
|
+
XOF = :xof
|
|
678
|
+
XPF = :xpf
|
|
679
|
+
|
|
680
|
+
# @!method self.values
|
|
681
|
+
# @return [Array<Symbol>]
|
|
682
|
+
end
|
|
683
|
+
end
|
|
684
|
+
|
|
685
|
+
class Tier < Stigg::Internal::Type::BaseModel
|
|
686
|
+
# @!attribute flat_price
|
|
687
|
+
# The flat fee price of the price tier
|
|
688
|
+
#
|
|
689
|
+
# @return [Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price::Tier::FlatPrice, nil]
|
|
690
|
+
optional :flat_price,
|
|
691
|
+
-> { Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price::Tier::FlatPrice },
|
|
692
|
+
api_name: :flatPrice
|
|
693
|
+
|
|
694
|
+
# @!attribute unit_price
|
|
695
|
+
# The unit price of the price tier
|
|
696
|
+
#
|
|
697
|
+
# @return [Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price::Tier::UnitPrice, nil]
|
|
698
|
+
optional :unit_price,
|
|
699
|
+
-> { Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price::Tier::UnitPrice },
|
|
700
|
+
api_name: :unitPrice
|
|
701
|
+
|
|
702
|
+
# @!attribute up_to
|
|
703
|
+
# The up to quantity of the price tier
|
|
704
|
+
#
|
|
705
|
+
# @return [Float, nil]
|
|
706
|
+
optional :up_to, Float, api_name: :upTo
|
|
707
|
+
|
|
708
|
+
# @!method initialize(flat_price: nil, unit_price: nil, up_to: nil)
|
|
709
|
+
# @param flat_price [Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price::Tier::FlatPrice] The flat fee price of the price tier
|
|
710
|
+
#
|
|
711
|
+
# @param unit_price [Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price::Tier::UnitPrice] The unit price of the price tier
|
|
712
|
+
#
|
|
713
|
+
# @param up_to [Float] The up to quantity of the price tier
|
|
714
|
+
|
|
715
|
+
# @see Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price::Tier#flat_price
|
|
716
|
+
class FlatPrice < Stigg::Internal::Type::BaseModel
|
|
717
|
+
# @!attribute amount
|
|
718
|
+
# The price amount
|
|
719
|
+
#
|
|
720
|
+
# @return [Float, nil]
|
|
721
|
+
optional :amount, Float
|
|
722
|
+
|
|
723
|
+
# @!attribute billing_country_code
|
|
724
|
+
# The billing country code of the price
|
|
725
|
+
#
|
|
726
|
+
# @return [String, nil]
|
|
727
|
+
optional :billing_country_code, String, api_name: :billingCountryCode, nil?: true
|
|
728
|
+
|
|
729
|
+
# @!attribute currency
|
|
730
|
+
# The price currency
|
|
731
|
+
#
|
|
732
|
+
# @return [Symbol, Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price::Tier::FlatPrice::Currency, nil]
|
|
733
|
+
optional :currency,
|
|
734
|
+
enum: -> { Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price::Tier::FlatPrice::Currency }
|
|
735
|
+
|
|
736
|
+
# @!method initialize(amount: nil, billing_country_code: nil, currency: nil)
|
|
737
|
+
# The flat fee price of the price tier
|
|
738
|
+
#
|
|
739
|
+
# @param amount [Float] The price amount
|
|
740
|
+
#
|
|
741
|
+
# @param billing_country_code [String, nil] The billing country code of the price
|
|
742
|
+
#
|
|
743
|
+
# @param currency [Symbol, Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price::Tier::FlatPrice::Currency] The price currency
|
|
744
|
+
|
|
745
|
+
# The price currency
|
|
746
|
+
#
|
|
747
|
+
# @see Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price::Tier::FlatPrice#currency
|
|
748
|
+
module Currency
|
|
749
|
+
extend Stigg::Internal::Type::Enum
|
|
750
|
+
|
|
751
|
+
USD = :usd
|
|
752
|
+
AED = :aed
|
|
753
|
+
ALL = :all
|
|
754
|
+
AMD = :amd
|
|
755
|
+
ANG = :ang
|
|
756
|
+
AUD = :aud
|
|
757
|
+
AWG = :awg
|
|
758
|
+
AZN = :azn
|
|
759
|
+
BAM = :bam
|
|
760
|
+
BBD = :bbd
|
|
761
|
+
BDT = :bdt
|
|
762
|
+
BGN = :bgn
|
|
763
|
+
BIF = :bif
|
|
764
|
+
BMD = :bmd
|
|
765
|
+
BND = :bnd
|
|
766
|
+
BSD = :bsd
|
|
767
|
+
BWP = :bwp
|
|
768
|
+
BYN = :byn
|
|
769
|
+
BZD = :bzd
|
|
770
|
+
BRL = :brl
|
|
771
|
+
CAD = :cad
|
|
772
|
+
CDF = :cdf
|
|
773
|
+
CHF = :chf
|
|
774
|
+
CNY = :cny
|
|
775
|
+
CZK = :czk
|
|
776
|
+
DKK = :dkk
|
|
777
|
+
DOP = :dop
|
|
778
|
+
DZD = :dzd
|
|
779
|
+
EGP = :egp
|
|
780
|
+
ETB = :etb
|
|
781
|
+
EUR = :eur
|
|
782
|
+
FJD = :fjd
|
|
783
|
+
GBP = :gbp
|
|
784
|
+
GEL = :gel
|
|
785
|
+
GIP = :gip
|
|
786
|
+
GMD = :gmd
|
|
787
|
+
GYD = :gyd
|
|
788
|
+
HKD = :hkd
|
|
789
|
+
HRK = :hrk
|
|
790
|
+
HTG = :htg
|
|
791
|
+
IDR = :idr
|
|
792
|
+
ILS = :ils
|
|
793
|
+
INR = :inr
|
|
794
|
+
ISK = :isk
|
|
795
|
+
JMD = :jmd
|
|
796
|
+
JPY = :jpy
|
|
797
|
+
KES = :kes
|
|
798
|
+
KGS = :kgs
|
|
799
|
+
KHR = :khr
|
|
800
|
+
KMF = :kmf
|
|
801
|
+
KRW = :krw
|
|
802
|
+
KYD = :kyd
|
|
803
|
+
KZT = :kzt
|
|
804
|
+
LBP = :lbp
|
|
805
|
+
LKR = :lkr
|
|
806
|
+
LRD = :lrd
|
|
807
|
+
LSL = :lsl
|
|
808
|
+
MAD = :mad
|
|
809
|
+
MDL = :mdl
|
|
810
|
+
MGA = :mga
|
|
811
|
+
MKD = :mkd
|
|
812
|
+
MMK = :mmk
|
|
813
|
+
MNT = :mnt
|
|
814
|
+
MOP = :mop
|
|
815
|
+
MRO = :mro
|
|
816
|
+
MVR = :mvr
|
|
817
|
+
MWK = :mwk
|
|
818
|
+
MXN = :mxn
|
|
819
|
+
MYR = :myr
|
|
820
|
+
MZN = :mzn
|
|
821
|
+
NAD = :nad
|
|
822
|
+
NGN = :ngn
|
|
823
|
+
NOK = :nok
|
|
824
|
+
NPR = :npr
|
|
825
|
+
NZD = :nzd
|
|
826
|
+
PGK = :pgk
|
|
827
|
+
PHP = :php
|
|
828
|
+
PKR = :pkr
|
|
829
|
+
PLN = :pln
|
|
830
|
+
QAR = :qar
|
|
831
|
+
RON = :ron
|
|
832
|
+
RSD = :rsd
|
|
833
|
+
RUB = :rub
|
|
834
|
+
RWF = :rwf
|
|
835
|
+
SAR = :sar
|
|
836
|
+
SBD = :sbd
|
|
837
|
+
SCR = :scr
|
|
838
|
+
SEK = :sek
|
|
839
|
+
SGD = :sgd
|
|
840
|
+
SLE = :sle
|
|
841
|
+
SLL = :sll
|
|
842
|
+
SOS = :sos
|
|
843
|
+
SZL = :szl
|
|
844
|
+
THB = :thb
|
|
845
|
+
TJS = :tjs
|
|
846
|
+
TOP = :top
|
|
847
|
+
TRY = :try
|
|
848
|
+
TTD = :ttd
|
|
849
|
+
TZS = :tzs
|
|
850
|
+
UAH = :uah
|
|
851
|
+
UZS = :uzs
|
|
852
|
+
VND = :vnd
|
|
853
|
+
VUV = :vuv
|
|
854
|
+
WST = :wst
|
|
855
|
+
XAF = :xaf
|
|
856
|
+
XCD = :xcd
|
|
857
|
+
YER = :yer
|
|
858
|
+
ZAR = :zar
|
|
859
|
+
ZMW = :zmw
|
|
860
|
+
CLP = :clp
|
|
861
|
+
DJF = :djf
|
|
862
|
+
GNF = :gnf
|
|
863
|
+
UGX = :ugx
|
|
864
|
+
PYG = :pyg
|
|
865
|
+
XOF = :xof
|
|
866
|
+
XPF = :xpf
|
|
867
|
+
|
|
868
|
+
# @!method self.values
|
|
869
|
+
# @return [Array<Symbol>]
|
|
870
|
+
end
|
|
871
|
+
end
|
|
872
|
+
|
|
873
|
+
# @see Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price::Tier#unit_price
|
|
874
|
+
class UnitPrice < Stigg::Internal::Type::BaseModel
|
|
875
|
+
# @!attribute amount
|
|
876
|
+
# The price amount
|
|
877
|
+
#
|
|
878
|
+
# @return [Float, nil]
|
|
879
|
+
optional :amount, Float
|
|
880
|
+
|
|
881
|
+
# @!attribute billing_country_code
|
|
882
|
+
# The billing country code of the price
|
|
883
|
+
#
|
|
884
|
+
# @return [String, nil]
|
|
885
|
+
optional :billing_country_code, String, api_name: :billingCountryCode, nil?: true
|
|
886
|
+
|
|
887
|
+
# @!attribute currency
|
|
888
|
+
# The price currency
|
|
889
|
+
#
|
|
890
|
+
# @return [Symbol, Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price::Tier::UnitPrice::Currency, nil]
|
|
891
|
+
optional :currency,
|
|
892
|
+
enum: -> { Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price::Tier::UnitPrice::Currency }
|
|
893
|
+
|
|
894
|
+
# @!method initialize(amount: nil, billing_country_code: nil, currency: nil)
|
|
895
|
+
# The unit price of the price tier
|
|
896
|
+
#
|
|
897
|
+
# @param amount [Float] The price amount
|
|
898
|
+
#
|
|
899
|
+
# @param billing_country_code [String, nil] The billing country code of the price
|
|
900
|
+
#
|
|
901
|
+
# @param currency [Symbol, Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price::Tier::UnitPrice::Currency] The price currency
|
|
902
|
+
|
|
903
|
+
# The price currency
|
|
904
|
+
#
|
|
905
|
+
# @see Stigg::Models::V1::SubscriptionCreateResponse::Data::Subscription::Price::Tier::UnitPrice#currency
|
|
906
|
+
module Currency
|
|
907
|
+
extend Stigg::Internal::Type::Enum
|
|
908
|
+
|
|
909
|
+
USD = :usd
|
|
910
|
+
AED = :aed
|
|
911
|
+
ALL = :all
|
|
912
|
+
AMD = :amd
|
|
913
|
+
ANG = :ang
|
|
914
|
+
AUD = :aud
|
|
915
|
+
AWG = :awg
|
|
916
|
+
AZN = :azn
|
|
917
|
+
BAM = :bam
|
|
918
|
+
BBD = :bbd
|
|
919
|
+
BDT = :bdt
|
|
920
|
+
BGN = :bgn
|
|
921
|
+
BIF = :bif
|
|
922
|
+
BMD = :bmd
|
|
923
|
+
BND = :bnd
|
|
924
|
+
BSD = :bsd
|
|
925
|
+
BWP = :bwp
|
|
926
|
+
BYN = :byn
|
|
927
|
+
BZD = :bzd
|
|
928
|
+
BRL = :brl
|
|
929
|
+
CAD = :cad
|
|
930
|
+
CDF = :cdf
|
|
931
|
+
CHF = :chf
|
|
932
|
+
CNY = :cny
|
|
933
|
+
CZK = :czk
|
|
934
|
+
DKK = :dkk
|
|
935
|
+
DOP = :dop
|
|
936
|
+
DZD = :dzd
|
|
937
|
+
EGP = :egp
|
|
938
|
+
ETB = :etb
|
|
939
|
+
EUR = :eur
|
|
940
|
+
FJD = :fjd
|
|
941
|
+
GBP = :gbp
|
|
942
|
+
GEL = :gel
|
|
943
|
+
GIP = :gip
|
|
944
|
+
GMD = :gmd
|
|
945
|
+
GYD = :gyd
|
|
946
|
+
HKD = :hkd
|
|
947
|
+
HRK = :hrk
|
|
948
|
+
HTG = :htg
|
|
949
|
+
IDR = :idr
|
|
950
|
+
ILS = :ils
|
|
951
|
+
INR = :inr
|
|
952
|
+
ISK = :isk
|
|
953
|
+
JMD = :jmd
|
|
954
|
+
JPY = :jpy
|
|
955
|
+
KES = :kes
|
|
956
|
+
KGS = :kgs
|
|
957
|
+
KHR = :khr
|
|
958
|
+
KMF = :kmf
|
|
959
|
+
KRW = :krw
|
|
960
|
+
KYD = :kyd
|
|
961
|
+
KZT = :kzt
|
|
962
|
+
LBP = :lbp
|
|
963
|
+
LKR = :lkr
|
|
964
|
+
LRD = :lrd
|
|
965
|
+
LSL = :lsl
|
|
966
|
+
MAD = :mad
|
|
967
|
+
MDL = :mdl
|
|
968
|
+
MGA = :mga
|
|
969
|
+
MKD = :mkd
|
|
970
|
+
MMK = :mmk
|
|
971
|
+
MNT = :mnt
|
|
972
|
+
MOP = :mop
|
|
973
|
+
MRO = :mro
|
|
974
|
+
MVR = :mvr
|
|
975
|
+
MWK = :mwk
|
|
976
|
+
MXN = :mxn
|
|
977
|
+
MYR = :myr
|
|
978
|
+
MZN = :mzn
|
|
979
|
+
NAD = :nad
|
|
980
|
+
NGN = :ngn
|
|
981
|
+
NOK = :nok
|
|
982
|
+
NPR = :npr
|
|
983
|
+
NZD = :nzd
|
|
984
|
+
PGK = :pgk
|
|
985
|
+
PHP = :php
|
|
986
|
+
PKR = :pkr
|
|
987
|
+
PLN = :pln
|
|
988
|
+
QAR = :qar
|
|
989
|
+
RON = :ron
|
|
990
|
+
RSD = :rsd
|
|
991
|
+
RUB = :rub
|
|
992
|
+
RWF = :rwf
|
|
993
|
+
SAR = :sar
|
|
994
|
+
SBD = :sbd
|
|
995
|
+
SCR = :scr
|
|
996
|
+
SEK = :sek
|
|
997
|
+
SGD = :sgd
|
|
998
|
+
SLE = :sle
|
|
999
|
+
SLL = :sll
|
|
1000
|
+
SOS = :sos
|
|
1001
|
+
SZL = :szl
|
|
1002
|
+
THB = :thb
|
|
1003
|
+
TJS = :tjs
|
|
1004
|
+
TOP = :top
|
|
1005
|
+
TRY = :try
|
|
1006
|
+
TTD = :ttd
|
|
1007
|
+
TZS = :tzs
|
|
1008
|
+
UAH = :uah
|
|
1009
|
+
UZS = :uzs
|
|
1010
|
+
VND = :vnd
|
|
1011
|
+
VUV = :vuv
|
|
1012
|
+
WST = :wst
|
|
1013
|
+
XAF = :xaf
|
|
1014
|
+
XCD = :xcd
|
|
1015
|
+
YER = :yer
|
|
1016
|
+
ZAR = :zar
|
|
1017
|
+
ZMW = :zmw
|
|
1018
|
+
CLP = :clp
|
|
1019
|
+
DJF = :djf
|
|
1020
|
+
GNF = :gnf
|
|
1021
|
+
UGX = :ugx
|
|
1022
|
+
PYG = :pyg
|
|
1023
|
+
XOF = :xof
|
|
1024
|
+
XPF = :xpf
|
|
1025
|
+
|
|
1026
|
+
# @!method self.values
|
|
1027
|
+
# @return [Array<Symbol>]
|
|
1028
|
+
end
|
|
1029
|
+
end
|
|
1030
|
+
end
|
|
1031
|
+
end
|
|
333
1032
|
end
|
|
334
1033
|
end
|
|
335
1034
|
end
|