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
|
@@ -0,0 +1,1305 @@
|
|
|
1
|
+
module Stigg
|
|
2
|
+
module Models
|
|
3
|
+
module V1
|
|
4
|
+
type subscription_provision_response =
|
|
5
|
+
{ data: Stigg::Models::V1::SubscriptionProvisionResponse::Data }
|
|
6
|
+
|
|
7
|
+
class SubscriptionProvisionResponse < Stigg::Internal::Type::BaseModel
|
|
8
|
+
attr_accessor data: Stigg::Models::V1::SubscriptionProvisionResponse::Data
|
|
9
|
+
|
|
10
|
+
def initialize: (
|
|
11
|
+
data: Stigg::Models::V1::SubscriptionProvisionResponse::Data
|
|
12
|
+
) -> void
|
|
13
|
+
|
|
14
|
+
def to_hash: -> {
|
|
15
|
+
data: Stigg::Models::V1::SubscriptionProvisionResponse::Data
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
type data =
|
|
19
|
+
{
|
|
20
|
+
id: String,
|
|
21
|
+
entitlements: ::Array[Stigg::Models::V1::SubscriptionProvisionResponse::Data::Entitlement],
|
|
22
|
+
status: Stigg::Models::V1::SubscriptionProvisionResponse::Data::status,
|
|
23
|
+
checkout_billing_id: String?,
|
|
24
|
+
checkout_url: String?,
|
|
25
|
+
is_scheduled: bool,
|
|
26
|
+
subscription: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
class Data < Stigg::Internal::Type::BaseModel
|
|
30
|
+
attr_accessor id: String
|
|
31
|
+
|
|
32
|
+
attr_accessor entitlements: ::Array[Stigg::Models::V1::SubscriptionProvisionResponse::Data::Entitlement]
|
|
33
|
+
|
|
34
|
+
attr_accessor status: Stigg::Models::V1::SubscriptionProvisionResponse::Data::status
|
|
35
|
+
|
|
36
|
+
attr_accessor checkout_billing_id: String?
|
|
37
|
+
|
|
38
|
+
attr_accessor checkout_url: String?
|
|
39
|
+
|
|
40
|
+
attr_reader is_scheduled: bool?
|
|
41
|
+
|
|
42
|
+
def is_scheduled=: (bool) -> bool
|
|
43
|
+
|
|
44
|
+
attr_reader subscription: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription?
|
|
45
|
+
|
|
46
|
+
def subscription=: (
|
|
47
|
+
Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription
|
|
48
|
+
) -> Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription
|
|
49
|
+
|
|
50
|
+
def initialize: (
|
|
51
|
+
id: String,
|
|
52
|
+
entitlements: ::Array[Stigg::Models::V1::SubscriptionProvisionResponse::Data::Entitlement],
|
|
53
|
+
status: Stigg::Models::V1::SubscriptionProvisionResponse::Data::status,
|
|
54
|
+
?checkout_billing_id: String?,
|
|
55
|
+
?checkout_url: String?,
|
|
56
|
+
?is_scheduled: bool,
|
|
57
|
+
?subscription: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription
|
|
58
|
+
) -> void
|
|
59
|
+
|
|
60
|
+
def to_hash: -> {
|
|
61
|
+
id: String,
|
|
62
|
+
entitlements: ::Array[Stigg::Models::V1::SubscriptionProvisionResponse::Data::Entitlement],
|
|
63
|
+
status: Stigg::Models::V1::SubscriptionProvisionResponse::Data::status,
|
|
64
|
+
checkout_billing_id: String?,
|
|
65
|
+
checkout_url: String?,
|
|
66
|
+
is_scheduled: bool,
|
|
67
|
+
subscription: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
type entitlement =
|
|
71
|
+
{
|
|
72
|
+
access_denied_reason: String?,
|
|
73
|
+
current_usage: Float,
|
|
74
|
+
entitlement_updated_at: Time?,
|
|
75
|
+
feature: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Entitlement::Feature?,
|
|
76
|
+
has_unlimited_usage: bool?,
|
|
77
|
+
is_granted: bool,
|
|
78
|
+
reset_period: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Entitlement::reset_period?,
|
|
79
|
+
usage_limit: Float?,
|
|
80
|
+
usage_period_anchor: Time?,
|
|
81
|
+
usage_period_end: Time?,
|
|
82
|
+
usage_period_start: Time?
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
class Entitlement < Stigg::Internal::Type::BaseModel
|
|
86
|
+
attr_accessor access_denied_reason: String?
|
|
87
|
+
|
|
88
|
+
attr_reader current_usage: Float?
|
|
89
|
+
|
|
90
|
+
def current_usage=: (Float) -> Float
|
|
91
|
+
|
|
92
|
+
attr_accessor entitlement_updated_at: Time?
|
|
93
|
+
|
|
94
|
+
attr_accessor feature: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Entitlement::Feature?
|
|
95
|
+
|
|
96
|
+
attr_accessor has_unlimited_usage: bool?
|
|
97
|
+
|
|
98
|
+
attr_reader is_granted: bool?
|
|
99
|
+
|
|
100
|
+
def is_granted=: (bool) -> bool
|
|
101
|
+
|
|
102
|
+
attr_accessor reset_period: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Entitlement::reset_period?
|
|
103
|
+
|
|
104
|
+
attr_accessor usage_limit: Float?
|
|
105
|
+
|
|
106
|
+
attr_accessor usage_period_anchor: Time?
|
|
107
|
+
|
|
108
|
+
attr_accessor usage_period_end: Time?
|
|
109
|
+
|
|
110
|
+
attr_accessor usage_period_start: Time?
|
|
111
|
+
|
|
112
|
+
def initialize: (
|
|
113
|
+
?access_denied_reason: String?,
|
|
114
|
+
?current_usage: Float,
|
|
115
|
+
?entitlement_updated_at: Time?,
|
|
116
|
+
?feature: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Entitlement::Feature?,
|
|
117
|
+
?has_unlimited_usage: bool?,
|
|
118
|
+
?is_granted: bool,
|
|
119
|
+
?reset_period: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Entitlement::reset_period?,
|
|
120
|
+
?usage_limit: Float?,
|
|
121
|
+
?usage_period_anchor: Time?,
|
|
122
|
+
?usage_period_end: Time?,
|
|
123
|
+
?usage_period_start: Time?
|
|
124
|
+
) -> void
|
|
125
|
+
|
|
126
|
+
def to_hash: -> {
|
|
127
|
+
access_denied_reason: String?,
|
|
128
|
+
current_usage: Float,
|
|
129
|
+
entitlement_updated_at: Time?,
|
|
130
|
+
feature: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Entitlement::Feature?,
|
|
131
|
+
has_unlimited_usage: bool?,
|
|
132
|
+
is_granted: bool,
|
|
133
|
+
reset_period: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Entitlement::reset_period?,
|
|
134
|
+
usage_limit: Float?,
|
|
135
|
+
usage_period_anchor: Time?,
|
|
136
|
+
usage_period_end: Time?,
|
|
137
|
+
usage_period_start: Time?
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
type feature = { ref_id: String }
|
|
141
|
+
|
|
142
|
+
class Feature < Stigg::Internal::Type::BaseModel
|
|
143
|
+
attr_accessor ref_id: String
|
|
144
|
+
|
|
145
|
+
def initialize: (ref_id: String) -> void
|
|
146
|
+
|
|
147
|
+
def to_hash: -> { ref_id: String }
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
type reset_period = :YEAR | :MONTH | :WEEK | :DAY | :HOUR
|
|
151
|
+
|
|
152
|
+
module ResetPeriod
|
|
153
|
+
extend Stigg::Internal::Type::Enum
|
|
154
|
+
|
|
155
|
+
YEAR: :YEAR
|
|
156
|
+
MONTH: :MONTH
|
|
157
|
+
WEEK: :WEEK
|
|
158
|
+
DAY: :DAY
|
|
159
|
+
HOUR: :HOUR
|
|
160
|
+
|
|
161
|
+
def self?.values: -> ::Array[Stigg::Models::V1::SubscriptionProvisionResponse::Data::Entitlement::reset_period]
|
|
162
|
+
end
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
type status = :SUCCESS | :PAYMENT_REQUIRED
|
|
166
|
+
|
|
167
|
+
module Status
|
|
168
|
+
extend Stigg::Internal::Type::Enum
|
|
169
|
+
|
|
170
|
+
SUCCESS: :SUCCESS
|
|
171
|
+
PAYMENT_REQUIRED: :PAYMENT_REQUIRED
|
|
172
|
+
|
|
173
|
+
def self?.values: -> ::Array[Stigg::Models::V1::SubscriptionProvisionResponse::Data::status]
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
type subscription =
|
|
177
|
+
{
|
|
178
|
+
id: String,
|
|
179
|
+
billing_id: String?,
|
|
180
|
+
created_at: Time,
|
|
181
|
+
customer_id: String,
|
|
182
|
+
payment_collection: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::payment_collection,
|
|
183
|
+
plan_id: String,
|
|
184
|
+
pricing_type: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::pricing_type,
|
|
185
|
+
start_date: Time,
|
|
186
|
+
status: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::status,
|
|
187
|
+
cancellation_date: Time?,
|
|
188
|
+
cancel_reason: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::cancel_reason?,
|
|
189
|
+
current_billing_period_end: Time?,
|
|
190
|
+
current_billing_period_start: Time?,
|
|
191
|
+
effective_end_date: Time?,
|
|
192
|
+
end_date: Time?,
|
|
193
|
+
metadata: ::Hash[Symbol, String],
|
|
194
|
+
paying_customer_id: String?,
|
|
195
|
+
payment_collection_method: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::payment_collection_method?,
|
|
196
|
+
prices: ::Array[Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price],
|
|
197
|
+
resource_id: String?,
|
|
198
|
+
trial_end_date: Time?
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
class Subscription < Stigg::Internal::Type::BaseModel
|
|
202
|
+
attr_accessor id: String
|
|
203
|
+
|
|
204
|
+
attr_accessor billing_id: String?
|
|
205
|
+
|
|
206
|
+
attr_accessor created_at: Time
|
|
207
|
+
|
|
208
|
+
attr_accessor customer_id: String
|
|
209
|
+
|
|
210
|
+
attr_accessor payment_collection: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::payment_collection
|
|
211
|
+
|
|
212
|
+
attr_accessor plan_id: String
|
|
213
|
+
|
|
214
|
+
attr_accessor pricing_type: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::pricing_type
|
|
215
|
+
|
|
216
|
+
attr_accessor start_date: Time
|
|
217
|
+
|
|
218
|
+
attr_accessor status: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::status
|
|
219
|
+
|
|
220
|
+
attr_accessor cancellation_date: Time?
|
|
221
|
+
|
|
222
|
+
attr_accessor cancel_reason: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::cancel_reason?
|
|
223
|
+
|
|
224
|
+
attr_accessor current_billing_period_end: Time?
|
|
225
|
+
|
|
226
|
+
attr_accessor current_billing_period_start: Time?
|
|
227
|
+
|
|
228
|
+
attr_accessor effective_end_date: Time?
|
|
229
|
+
|
|
230
|
+
attr_accessor end_date: Time?
|
|
231
|
+
|
|
232
|
+
attr_reader metadata: ::Hash[Symbol, String]?
|
|
233
|
+
|
|
234
|
+
def metadata=: (::Hash[Symbol, String]) -> ::Hash[Symbol, String]
|
|
235
|
+
|
|
236
|
+
attr_accessor paying_customer_id: String?
|
|
237
|
+
|
|
238
|
+
attr_accessor payment_collection_method: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::payment_collection_method?
|
|
239
|
+
|
|
240
|
+
attr_reader prices: ::Array[Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price]?
|
|
241
|
+
|
|
242
|
+
def prices=: (
|
|
243
|
+
::Array[Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price]
|
|
244
|
+
) -> ::Array[Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price]
|
|
245
|
+
|
|
246
|
+
attr_accessor resource_id: String?
|
|
247
|
+
|
|
248
|
+
attr_accessor trial_end_date: Time?
|
|
249
|
+
|
|
250
|
+
def initialize: (
|
|
251
|
+
id: String,
|
|
252
|
+
billing_id: String?,
|
|
253
|
+
created_at: Time,
|
|
254
|
+
customer_id: String,
|
|
255
|
+
payment_collection: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::payment_collection,
|
|
256
|
+
plan_id: String,
|
|
257
|
+
pricing_type: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::pricing_type,
|
|
258
|
+
start_date: Time,
|
|
259
|
+
status: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::status,
|
|
260
|
+
?cancellation_date: Time?,
|
|
261
|
+
?cancel_reason: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::cancel_reason?,
|
|
262
|
+
?current_billing_period_end: Time?,
|
|
263
|
+
?current_billing_period_start: Time?,
|
|
264
|
+
?effective_end_date: Time?,
|
|
265
|
+
?end_date: Time?,
|
|
266
|
+
?metadata: ::Hash[Symbol, String],
|
|
267
|
+
?paying_customer_id: String?,
|
|
268
|
+
?payment_collection_method: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::payment_collection_method?,
|
|
269
|
+
?prices: ::Array[Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price],
|
|
270
|
+
?resource_id: String?,
|
|
271
|
+
?trial_end_date: Time?
|
|
272
|
+
) -> void
|
|
273
|
+
|
|
274
|
+
def to_hash: -> {
|
|
275
|
+
id: String,
|
|
276
|
+
billing_id: String?,
|
|
277
|
+
created_at: Time,
|
|
278
|
+
customer_id: String,
|
|
279
|
+
payment_collection: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::payment_collection,
|
|
280
|
+
plan_id: String,
|
|
281
|
+
pricing_type: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::pricing_type,
|
|
282
|
+
start_date: Time,
|
|
283
|
+
status: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::status,
|
|
284
|
+
cancellation_date: Time?,
|
|
285
|
+
cancel_reason: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::cancel_reason?,
|
|
286
|
+
current_billing_period_end: Time?,
|
|
287
|
+
current_billing_period_start: Time?,
|
|
288
|
+
effective_end_date: Time?,
|
|
289
|
+
end_date: Time?,
|
|
290
|
+
metadata: ::Hash[Symbol, String],
|
|
291
|
+
paying_customer_id: String?,
|
|
292
|
+
payment_collection_method: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::payment_collection_method?,
|
|
293
|
+
prices: ::Array[Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price],
|
|
294
|
+
resource_id: String?,
|
|
295
|
+
trial_end_date: Time?
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
type payment_collection =
|
|
299
|
+
:NOT_REQUIRED | :PROCESSING | :FAILED | :ACTION_REQUIRED
|
|
300
|
+
|
|
301
|
+
module PaymentCollection
|
|
302
|
+
extend Stigg::Internal::Type::Enum
|
|
303
|
+
|
|
304
|
+
NOT_REQUIRED: :NOT_REQUIRED
|
|
305
|
+
PROCESSING: :PROCESSING
|
|
306
|
+
FAILED: :FAILED
|
|
307
|
+
ACTION_REQUIRED: :ACTION_REQUIRED
|
|
308
|
+
|
|
309
|
+
def self?.values: -> ::Array[Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::payment_collection]
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
type pricing_type = :FREE | :PAID | :CUSTOM
|
|
313
|
+
|
|
314
|
+
module PricingType
|
|
315
|
+
extend Stigg::Internal::Type::Enum
|
|
316
|
+
|
|
317
|
+
FREE: :FREE
|
|
318
|
+
PAID: :PAID
|
|
319
|
+
CUSTOM: :CUSTOM
|
|
320
|
+
|
|
321
|
+
def self?.values: -> ::Array[Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::pricing_type]
|
|
322
|
+
end
|
|
323
|
+
|
|
324
|
+
type status =
|
|
325
|
+
:PAYMENT_PENDING
|
|
326
|
+
| :ACTIVE
|
|
327
|
+
| :EXPIRED
|
|
328
|
+
| :IN_TRIAL
|
|
329
|
+
| :CANCELED
|
|
330
|
+
| :NOT_STARTED
|
|
331
|
+
|
|
332
|
+
module Status
|
|
333
|
+
extend Stigg::Internal::Type::Enum
|
|
334
|
+
|
|
335
|
+
PAYMENT_PENDING: :PAYMENT_PENDING
|
|
336
|
+
ACTIVE: :ACTIVE
|
|
337
|
+
EXPIRED: :EXPIRED
|
|
338
|
+
IN_TRIAL: :IN_TRIAL
|
|
339
|
+
CANCELED: :CANCELED
|
|
340
|
+
NOT_STARTED: :NOT_STARTED
|
|
341
|
+
|
|
342
|
+
def self?.values: -> ::Array[Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::status]
|
|
343
|
+
end
|
|
344
|
+
|
|
345
|
+
type cancel_reason =
|
|
346
|
+
:UPGRADE_OR_DOWNGRADE
|
|
347
|
+
| :CANCELLED_BY_BILLING
|
|
348
|
+
| :EXPIRED
|
|
349
|
+
| :DETACH_BILLING
|
|
350
|
+
| :TRIAL_ENDED
|
|
351
|
+
| :Immediate
|
|
352
|
+
| :TRIAL_CONVERTED
|
|
353
|
+
| :PENDING_PAYMENT_EXPIRED
|
|
354
|
+
| :ScheduledCancellation
|
|
355
|
+
| :CustomerArchived
|
|
356
|
+
| :AutoCancellationRule
|
|
357
|
+
|
|
358
|
+
module CancelReason
|
|
359
|
+
extend Stigg::Internal::Type::Enum
|
|
360
|
+
|
|
361
|
+
UPGRADE_OR_DOWNGRADE: :UPGRADE_OR_DOWNGRADE
|
|
362
|
+
CANCELLED_BY_BILLING: :CANCELLED_BY_BILLING
|
|
363
|
+
EXPIRED: :EXPIRED
|
|
364
|
+
DETACH_BILLING: :DETACH_BILLING
|
|
365
|
+
TRIAL_ENDED: :TRIAL_ENDED
|
|
366
|
+
IMMEDIATE: :Immediate
|
|
367
|
+
TRIAL_CONVERTED: :TRIAL_CONVERTED
|
|
368
|
+
PENDING_PAYMENT_EXPIRED: :PENDING_PAYMENT_EXPIRED
|
|
369
|
+
SCHEDULED_CANCELLATION: :ScheduledCancellation
|
|
370
|
+
CUSTOMER_ARCHIVED: :CustomerArchived
|
|
371
|
+
AUTO_CANCELLATION_RULE: :AutoCancellationRule
|
|
372
|
+
|
|
373
|
+
def self?.values: -> ::Array[Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::cancel_reason]
|
|
374
|
+
end
|
|
375
|
+
|
|
376
|
+
type payment_collection_method = :CHARGE | :INVOICE | :NONE
|
|
377
|
+
|
|
378
|
+
module PaymentCollectionMethod
|
|
379
|
+
extend Stigg::Internal::Type::Enum
|
|
380
|
+
|
|
381
|
+
CHARGE: :CHARGE
|
|
382
|
+
INVOICE: :INVOICE
|
|
383
|
+
NONE: :NONE
|
|
384
|
+
|
|
385
|
+
def self?.values: -> ::Array[Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::payment_collection_method]
|
|
386
|
+
end
|
|
387
|
+
|
|
388
|
+
type price =
|
|
389
|
+
{
|
|
390
|
+
addon_id: String?,
|
|
391
|
+
base_charge: bool,
|
|
392
|
+
block_size: Float,
|
|
393
|
+
feature_id: String?,
|
|
394
|
+
price: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Price,
|
|
395
|
+
tiers: ::Array[Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier]
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
class Price < Stigg::Internal::Type::BaseModel
|
|
399
|
+
attr_accessor addon_id: String?
|
|
400
|
+
|
|
401
|
+
attr_reader base_charge: bool?
|
|
402
|
+
|
|
403
|
+
def base_charge=: (bool) -> bool
|
|
404
|
+
|
|
405
|
+
attr_reader block_size: Float?
|
|
406
|
+
|
|
407
|
+
def block_size=: (Float) -> Float
|
|
408
|
+
|
|
409
|
+
attr_accessor feature_id: String?
|
|
410
|
+
|
|
411
|
+
attr_reader price: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Price?
|
|
412
|
+
|
|
413
|
+
def price=: (
|
|
414
|
+
Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Price
|
|
415
|
+
) -> Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Price
|
|
416
|
+
|
|
417
|
+
attr_reader tiers: ::Array[Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier]?
|
|
418
|
+
|
|
419
|
+
def tiers=: (
|
|
420
|
+
::Array[Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier]
|
|
421
|
+
) -> ::Array[Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier]
|
|
422
|
+
|
|
423
|
+
def initialize: (
|
|
424
|
+
?addon_id: String?,
|
|
425
|
+
?base_charge: bool,
|
|
426
|
+
?block_size: Float,
|
|
427
|
+
?feature_id: String?,
|
|
428
|
+
?price: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Price,
|
|
429
|
+
?tiers: ::Array[Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier]
|
|
430
|
+
) -> void
|
|
431
|
+
|
|
432
|
+
def to_hash: -> {
|
|
433
|
+
addon_id: String?,
|
|
434
|
+
base_charge: bool,
|
|
435
|
+
block_size: Float,
|
|
436
|
+
feature_id: String?,
|
|
437
|
+
price: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Price,
|
|
438
|
+
tiers: ::Array[Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier]
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
type price =
|
|
442
|
+
{
|
|
443
|
+
amount: Float,
|
|
444
|
+
billing_country_code: String?,
|
|
445
|
+
currency: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Price::currency
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
class Price < Stigg::Internal::Type::BaseModel
|
|
449
|
+
attr_reader amount: Float?
|
|
450
|
+
|
|
451
|
+
def amount=: (Float) -> Float
|
|
452
|
+
|
|
453
|
+
attr_accessor billing_country_code: String?
|
|
454
|
+
|
|
455
|
+
attr_reader currency: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Price::currency?
|
|
456
|
+
|
|
457
|
+
def currency=: (
|
|
458
|
+
Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Price::currency
|
|
459
|
+
) -> Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Price::currency
|
|
460
|
+
|
|
461
|
+
def initialize: (
|
|
462
|
+
?amount: Float,
|
|
463
|
+
?billing_country_code: String?,
|
|
464
|
+
?currency: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Price::currency
|
|
465
|
+
) -> void
|
|
466
|
+
|
|
467
|
+
def to_hash: -> {
|
|
468
|
+
amount: Float,
|
|
469
|
+
billing_country_code: String?,
|
|
470
|
+
currency: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Price::currency
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
type currency =
|
|
474
|
+
:usd
|
|
475
|
+
| :aed
|
|
476
|
+
| :all
|
|
477
|
+
| :amd
|
|
478
|
+
| :ang
|
|
479
|
+
| :aud
|
|
480
|
+
| :awg
|
|
481
|
+
| :azn
|
|
482
|
+
| :bam
|
|
483
|
+
| :bbd
|
|
484
|
+
| :bdt
|
|
485
|
+
| :bgn
|
|
486
|
+
| :bif
|
|
487
|
+
| :bmd
|
|
488
|
+
| :bnd
|
|
489
|
+
| :bsd
|
|
490
|
+
| :bwp
|
|
491
|
+
| :byn
|
|
492
|
+
| :bzd
|
|
493
|
+
| :brl
|
|
494
|
+
| :cad
|
|
495
|
+
| :cdf
|
|
496
|
+
| :chf
|
|
497
|
+
| :cny
|
|
498
|
+
| :czk
|
|
499
|
+
| :dkk
|
|
500
|
+
| :dop
|
|
501
|
+
| :dzd
|
|
502
|
+
| :egp
|
|
503
|
+
| :etb
|
|
504
|
+
| :eur
|
|
505
|
+
| :fjd
|
|
506
|
+
| :gbp
|
|
507
|
+
| :gel
|
|
508
|
+
| :gip
|
|
509
|
+
| :gmd
|
|
510
|
+
| :gyd
|
|
511
|
+
| :hkd
|
|
512
|
+
| :hrk
|
|
513
|
+
| :htg
|
|
514
|
+
| :idr
|
|
515
|
+
| :ils
|
|
516
|
+
| :inr
|
|
517
|
+
| :isk
|
|
518
|
+
| :jmd
|
|
519
|
+
| :jpy
|
|
520
|
+
| :kes
|
|
521
|
+
| :kgs
|
|
522
|
+
| :khr
|
|
523
|
+
| :kmf
|
|
524
|
+
| :krw
|
|
525
|
+
| :kyd
|
|
526
|
+
| :kzt
|
|
527
|
+
| :lbp
|
|
528
|
+
| :lkr
|
|
529
|
+
| :lrd
|
|
530
|
+
| :lsl
|
|
531
|
+
| :mad
|
|
532
|
+
| :mdl
|
|
533
|
+
| :mga
|
|
534
|
+
| :mkd
|
|
535
|
+
| :mmk
|
|
536
|
+
| :mnt
|
|
537
|
+
| :mop
|
|
538
|
+
| :mro
|
|
539
|
+
| :mvr
|
|
540
|
+
| :mwk
|
|
541
|
+
| :mxn
|
|
542
|
+
| :myr
|
|
543
|
+
| :mzn
|
|
544
|
+
| :nad
|
|
545
|
+
| :ngn
|
|
546
|
+
| :nok
|
|
547
|
+
| :npr
|
|
548
|
+
| :nzd
|
|
549
|
+
| :pgk
|
|
550
|
+
| :php
|
|
551
|
+
| :pkr
|
|
552
|
+
| :pln
|
|
553
|
+
| :qar
|
|
554
|
+
| :ron
|
|
555
|
+
| :rsd
|
|
556
|
+
| :rub
|
|
557
|
+
| :rwf
|
|
558
|
+
| :sar
|
|
559
|
+
| :sbd
|
|
560
|
+
| :scr
|
|
561
|
+
| :sek
|
|
562
|
+
| :sgd
|
|
563
|
+
| :sle
|
|
564
|
+
| :sll
|
|
565
|
+
| :sos
|
|
566
|
+
| :szl
|
|
567
|
+
| :thb
|
|
568
|
+
| :tjs
|
|
569
|
+
| :top
|
|
570
|
+
| :try
|
|
571
|
+
| :ttd
|
|
572
|
+
| :tzs
|
|
573
|
+
| :uah
|
|
574
|
+
| :uzs
|
|
575
|
+
| :vnd
|
|
576
|
+
| :vuv
|
|
577
|
+
| :wst
|
|
578
|
+
| :xaf
|
|
579
|
+
| :xcd
|
|
580
|
+
| :yer
|
|
581
|
+
| :zar
|
|
582
|
+
| :zmw
|
|
583
|
+
| :clp
|
|
584
|
+
| :djf
|
|
585
|
+
| :gnf
|
|
586
|
+
| :ugx
|
|
587
|
+
| :pyg
|
|
588
|
+
| :xof
|
|
589
|
+
| :xpf
|
|
590
|
+
|
|
591
|
+
module Currency
|
|
592
|
+
extend Stigg::Internal::Type::Enum
|
|
593
|
+
|
|
594
|
+
USD: :usd
|
|
595
|
+
AED: :aed
|
|
596
|
+
ALL: :all
|
|
597
|
+
AMD: :amd
|
|
598
|
+
ANG: :ang
|
|
599
|
+
AUD: :aud
|
|
600
|
+
AWG: :awg
|
|
601
|
+
AZN: :azn
|
|
602
|
+
BAM: :bam
|
|
603
|
+
BBD: :bbd
|
|
604
|
+
BDT: :bdt
|
|
605
|
+
BGN: :bgn
|
|
606
|
+
BIF: :bif
|
|
607
|
+
BMD: :bmd
|
|
608
|
+
BND: :bnd
|
|
609
|
+
BSD: :bsd
|
|
610
|
+
BWP: :bwp
|
|
611
|
+
BYN: :byn
|
|
612
|
+
BZD: :bzd
|
|
613
|
+
BRL: :brl
|
|
614
|
+
CAD: :cad
|
|
615
|
+
CDF: :cdf
|
|
616
|
+
CHF: :chf
|
|
617
|
+
CNY: :cny
|
|
618
|
+
CZK: :czk
|
|
619
|
+
DKK: :dkk
|
|
620
|
+
DOP: :dop
|
|
621
|
+
DZD: :dzd
|
|
622
|
+
EGP: :egp
|
|
623
|
+
ETB: :etb
|
|
624
|
+
EUR: :eur
|
|
625
|
+
FJD: :fjd
|
|
626
|
+
GBP: :gbp
|
|
627
|
+
GEL: :gel
|
|
628
|
+
GIP: :gip
|
|
629
|
+
GMD: :gmd
|
|
630
|
+
GYD: :gyd
|
|
631
|
+
HKD: :hkd
|
|
632
|
+
HRK: :hrk
|
|
633
|
+
HTG: :htg
|
|
634
|
+
IDR: :idr
|
|
635
|
+
ILS: :ils
|
|
636
|
+
INR: :inr
|
|
637
|
+
ISK: :isk
|
|
638
|
+
JMD: :jmd
|
|
639
|
+
JPY: :jpy
|
|
640
|
+
KES: :kes
|
|
641
|
+
KGS: :kgs
|
|
642
|
+
KHR: :khr
|
|
643
|
+
KMF: :kmf
|
|
644
|
+
KRW: :krw
|
|
645
|
+
KYD: :kyd
|
|
646
|
+
KZT: :kzt
|
|
647
|
+
LBP: :lbp
|
|
648
|
+
LKR: :lkr
|
|
649
|
+
LRD: :lrd
|
|
650
|
+
LSL: :lsl
|
|
651
|
+
MAD: :mad
|
|
652
|
+
MDL: :mdl
|
|
653
|
+
MGA: :mga
|
|
654
|
+
MKD: :mkd
|
|
655
|
+
MMK: :mmk
|
|
656
|
+
MNT: :mnt
|
|
657
|
+
MOP: :mop
|
|
658
|
+
MRO: :mro
|
|
659
|
+
MVR: :mvr
|
|
660
|
+
MWK: :mwk
|
|
661
|
+
MXN: :mxn
|
|
662
|
+
MYR: :myr
|
|
663
|
+
MZN: :mzn
|
|
664
|
+
NAD: :nad
|
|
665
|
+
NGN: :ngn
|
|
666
|
+
NOK: :nok
|
|
667
|
+
NPR: :npr
|
|
668
|
+
NZD: :nzd
|
|
669
|
+
PGK: :pgk
|
|
670
|
+
PHP: :php
|
|
671
|
+
PKR: :pkr
|
|
672
|
+
PLN: :pln
|
|
673
|
+
QAR: :qar
|
|
674
|
+
RON: :ron
|
|
675
|
+
RSD: :rsd
|
|
676
|
+
RUB: :rub
|
|
677
|
+
RWF: :rwf
|
|
678
|
+
SAR: :sar
|
|
679
|
+
SBD: :sbd
|
|
680
|
+
SCR: :scr
|
|
681
|
+
SEK: :sek
|
|
682
|
+
SGD: :sgd
|
|
683
|
+
SLE: :sle
|
|
684
|
+
SLL: :sll
|
|
685
|
+
SOS: :sos
|
|
686
|
+
SZL: :szl
|
|
687
|
+
THB: :thb
|
|
688
|
+
TJS: :tjs
|
|
689
|
+
TOP: :top
|
|
690
|
+
TRY: :try
|
|
691
|
+
TTD: :ttd
|
|
692
|
+
TZS: :tzs
|
|
693
|
+
UAH: :uah
|
|
694
|
+
UZS: :uzs
|
|
695
|
+
VND: :vnd
|
|
696
|
+
VUV: :vuv
|
|
697
|
+
WST: :wst
|
|
698
|
+
XAF: :xaf
|
|
699
|
+
XCD: :xcd
|
|
700
|
+
YER: :yer
|
|
701
|
+
ZAR: :zar
|
|
702
|
+
ZMW: :zmw
|
|
703
|
+
CLP: :clp
|
|
704
|
+
DJF: :djf
|
|
705
|
+
GNF: :gnf
|
|
706
|
+
UGX: :ugx
|
|
707
|
+
PYG: :pyg
|
|
708
|
+
XOF: :xof
|
|
709
|
+
XPF: :xpf
|
|
710
|
+
|
|
711
|
+
def self?.values: -> ::Array[Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Price::currency]
|
|
712
|
+
end
|
|
713
|
+
end
|
|
714
|
+
|
|
715
|
+
type tier =
|
|
716
|
+
{
|
|
717
|
+
flat_price: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier::FlatPrice,
|
|
718
|
+
unit_price: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier::UnitPrice,
|
|
719
|
+
up_to: Float
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
class Tier < Stigg::Internal::Type::BaseModel
|
|
723
|
+
attr_reader flat_price: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier::FlatPrice?
|
|
724
|
+
|
|
725
|
+
def flat_price=: (
|
|
726
|
+
Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier::FlatPrice
|
|
727
|
+
) -> Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier::FlatPrice
|
|
728
|
+
|
|
729
|
+
attr_reader unit_price: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier::UnitPrice?
|
|
730
|
+
|
|
731
|
+
def unit_price=: (
|
|
732
|
+
Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier::UnitPrice
|
|
733
|
+
) -> Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier::UnitPrice
|
|
734
|
+
|
|
735
|
+
attr_reader up_to: Float?
|
|
736
|
+
|
|
737
|
+
def up_to=: (Float) -> Float
|
|
738
|
+
|
|
739
|
+
def initialize: (
|
|
740
|
+
?flat_price: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier::FlatPrice,
|
|
741
|
+
?unit_price: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier::UnitPrice,
|
|
742
|
+
?up_to: Float
|
|
743
|
+
) -> void
|
|
744
|
+
|
|
745
|
+
def to_hash: -> {
|
|
746
|
+
flat_price: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier::FlatPrice,
|
|
747
|
+
unit_price: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier::UnitPrice,
|
|
748
|
+
up_to: Float
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
type flat_price =
|
|
752
|
+
{
|
|
753
|
+
amount: Float,
|
|
754
|
+
billing_country_code: String?,
|
|
755
|
+
currency: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier::FlatPrice::currency
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
class FlatPrice < Stigg::Internal::Type::BaseModel
|
|
759
|
+
attr_reader amount: Float?
|
|
760
|
+
|
|
761
|
+
def amount=: (Float) -> Float
|
|
762
|
+
|
|
763
|
+
attr_accessor billing_country_code: String?
|
|
764
|
+
|
|
765
|
+
attr_reader currency: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier::FlatPrice::currency?
|
|
766
|
+
|
|
767
|
+
def currency=: (
|
|
768
|
+
Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier::FlatPrice::currency
|
|
769
|
+
) -> Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier::FlatPrice::currency
|
|
770
|
+
|
|
771
|
+
def initialize: (
|
|
772
|
+
?amount: Float,
|
|
773
|
+
?billing_country_code: String?,
|
|
774
|
+
?currency: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier::FlatPrice::currency
|
|
775
|
+
) -> void
|
|
776
|
+
|
|
777
|
+
def to_hash: -> {
|
|
778
|
+
amount: Float,
|
|
779
|
+
billing_country_code: String?,
|
|
780
|
+
currency: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier::FlatPrice::currency
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
type currency =
|
|
784
|
+
:usd
|
|
785
|
+
| :aed
|
|
786
|
+
| :all
|
|
787
|
+
| :amd
|
|
788
|
+
| :ang
|
|
789
|
+
| :aud
|
|
790
|
+
| :awg
|
|
791
|
+
| :azn
|
|
792
|
+
| :bam
|
|
793
|
+
| :bbd
|
|
794
|
+
| :bdt
|
|
795
|
+
| :bgn
|
|
796
|
+
| :bif
|
|
797
|
+
| :bmd
|
|
798
|
+
| :bnd
|
|
799
|
+
| :bsd
|
|
800
|
+
| :bwp
|
|
801
|
+
| :byn
|
|
802
|
+
| :bzd
|
|
803
|
+
| :brl
|
|
804
|
+
| :cad
|
|
805
|
+
| :cdf
|
|
806
|
+
| :chf
|
|
807
|
+
| :cny
|
|
808
|
+
| :czk
|
|
809
|
+
| :dkk
|
|
810
|
+
| :dop
|
|
811
|
+
| :dzd
|
|
812
|
+
| :egp
|
|
813
|
+
| :etb
|
|
814
|
+
| :eur
|
|
815
|
+
| :fjd
|
|
816
|
+
| :gbp
|
|
817
|
+
| :gel
|
|
818
|
+
| :gip
|
|
819
|
+
| :gmd
|
|
820
|
+
| :gyd
|
|
821
|
+
| :hkd
|
|
822
|
+
| :hrk
|
|
823
|
+
| :htg
|
|
824
|
+
| :idr
|
|
825
|
+
| :ils
|
|
826
|
+
| :inr
|
|
827
|
+
| :isk
|
|
828
|
+
| :jmd
|
|
829
|
+
| :jpy
|
|
830
|
+
| :kes
|
|
831
|
+
| :kgs
|
|
832
|
+
| :khr
|
|
833
|
+
| :kmf
|
|
834
|
+
| :krw
|
|
835
|
+
| :kyd
|
|
836
|
+
| :kzt
|
|
837
|
+
| :lbp
|
|
838
|
+
| :lkr
|
|
839
|
+
| :lrd
|
|
840
|
+
| :lsl
|
|
841
|
+
| :mad
|
|
842
|
+
| :mdl
|
|
843
|
+
| :mga
|
|
844
|
+
| :mkd
|
|
845
|
+
| :mmk
|
|
846
|
+
| :mnt
|
|
847
|
+
| :mop
|
|
848
|
+
| :mro
|
|
849
|
+
| :mvr
|
|
850
|
+
| :mwk
|
|
851
|
+
| :mxn
|
|
852
|
+
| :myr
|
|
853
|
+
| :mzn
|
|
854
|
+
| :nad
|
|
855
|
+
| :ngn
|
|
856
|
+
| :nok
|
|
857
|
+
| :npr
|
|
858
|
+
| :nzd
|
|
859
|
+
| :pgk
|
|
860
|
+
| :php
|
|
861
|
+
| :pkr
|
|
862
|
+
| :pln
|
|
863
|
+
| :qar
|
|
864
|
+
| :ron
|
|
865
|
+
| :rsd
|
|
866
|
+
| :rub
|
|
867
|
+
| :rwf
|
|
868
|
+
| :sar
|
|
869
|
+
| :sbd
|
|
870
|
+
| :scr
|
|
871
|
+
| :sek
|
|
872
|
+
| :sgd
|
|
873
|
+
| :sle
|
|
874
|
+
| :sll
|
|
875
|
+
| :sos
|
|
876
|
+
| :szl
|
|
877
|
+
| :thb
|
|
878
|
+
| :tjs
|
|
879
|
+
| :top
|
|
880
|
+
| :try
|
|
881
|
+
| :ttd
|
|
882
|
+
| :tzs
|
|
883
|
+
| :uah
|
|
884
|
+
| :uzs
|
|
885
|
+
| :vnd
|
|
886
|
+
| :vuv
|
|
887
|
+
| :wst
|
|
888
|
+
| :xaf
|
|
889
|
+
| :xcd
|
|
890
|
+
| :yer
|
|
891
|
+
| :zar
|
|
892
|
+
| :zmw
|
|
893
|
+
| :clp
|
|
894
|
+
| :djf
|
|
895
|
+
| :gnf
|
|
896
|
+
| :ugx
|
|
897
|
+
| :pyg
|
|
898
|
+
| :xof
|
|
899
|
+
| :xpf
|
|
900
|
+
|
|
901
|
+
module Currency
|
|
902
|
+
extend Stigg::Internal::Type::Enum
|
|
903
|
+
|
|
904
|
+
USD: :usd
|
|
905
|
+
AED: :aed
|
|
906
|
+
ALL: :all
|
|
907
|
+
AMD: :amd
|
|
908
|
+
ANG: :ang
|
|
909
|
+
AUD: :aud
|
|
910
|
+
AWG: :awg
|
|
911
|
+
AZN: :azn
|
|
912
|
+
BAM: :bam
|
|
913
|
+
BBD: :bbd
|
|
914
|
+
BDT: :bdt
|
|
915
|
+
BGN: :bgn
|
|
916
|
+
BIF: :bif
|
|
917
|
+
BMD: :bmd
|
|
918
|
+
BND: :bnd
|
|
919
|
+
BSD: :bsd
|
|
920
|
+
BWP: :bwp
|
|
921
|
+
BYN: :byn
|
|
922
|
+
BZD: :bzd
|
|
923
|
+
BRL: :brl
|
|
924
|
+
CAD: :cad
|
|
925
|
+
CDF: :cdf
|
|
926
|
+
CHF: :chf
|
|
927
|
+
CNY: :cny
|
|
928
|
+
CZK: :czk
|
|
929
|
+
DKK: :dkk
|
|
930
|
+
DOP: :dop
|
|
931
|
+
DZD: :dzd
|
|
932
|
+
EGP: :egp
|
|
933
|
+
ETB: :etb
|
|
934
|
+
EUR: :eur
|
|
935
|
+
FJD: :fjd
|
|
936
|
+
GBP: :gbp
|
|
937
|
+
GEL: :gel
|
|
938
|
+
GIP: :gip
|
|
939
|
+
GMD: :gmd
|
|
940
|
+
GYD: :gyd
|
|
941
|
+
HKD: :hkd
|
|
942
|
+
HRK: :hrk
|
|
943
|
+
HTG: :htg
|
|
944
|
+
IDR: :idr
|
|
945
|
+
ILS: :ils
|
|
946
|
+
INR: :inr
|
|
947
|
+
ISK: :isk
|
|
948
|
+
JMD: :jmd
|
|
949
|
+
JPY: :jpy
|
|
950
|
+
KES: :kes
|
|
951
|
+
KGS: :kgs
|
|
952
|
+
KHR: :khr
|
|
953
|
+
KMF: :kmf
|
|
954
|
+
KRW: :krw
|
|
955
|
+
KYD: :kyd
|
|
956
|
+
KZT: :kzt
|
|
957
|
+
LBP: :lbp
|
|
958
|
+
LKR: :lkr
|
|
959
|
+
LRD: :lrd
|
|
960
|
+
LSL: :lsl
|
|
961
|
+
MAD: :mad
|
|
962
|
+
MDL: :mdl
|
|
963
|
+
MGA: :mga
|
|
964
|
+
MKD: :mkd
|
|
965
|
+
MMK: :mmk
|
|
966
|
+
MNT: :mnt
|
|
967
|
+
MOP: :mop
|
|
968
|
+
MRO: :mro
|
|
969
|
+
MVR: :mvr
|
|
970
|
+
MWK: :mwk
|
|
971
|
+
MXN: :mxn
|
|
972
|
+
MYR: :myr
|
|
973
|
+
MZN: :mzn
|
|
974
|
+
NAD: :nad
|
|
975
|
+
NGN: :ngn
|
|
976
|
+
NOK: :nok
|
|
977
|
+
NPR: :npr
|
|
978
|
+
NZD: :nzd
|
|
979
|
+
PGK: :pgk
|
|
980
|
+
PHP: :php
|
|
981
|
+
PKR: :pkr
|
|
982
|
+
PLN: :pln
|
|
983
|
+
QAR: :qar
|
|
984
|
+
RON: :ron
|
|
985
|
+
RSD: :rsd
|
|
986
|
+
RUB: :rub
|
|
987
|
+
RWF: :rwf
|
|
988
|
+
SAR: :sar
|
|
989
|
+
SBD: :sbd
|
|
990
|
+
SCR: :scr
|
|
991
|
+
SEK: :sek
|
|
992
|
+
SGD: :sgd
|
|
993
|
+
SLE: :sle
|
|
994
|
+
SLL: :sll
|
|
995
|
+
SOS: :sos
|
|
996
|
+
SZL: :szl
|
|
997
|
+
THB: :thb
|
|
998
|
+
TJS: :tjs
|
|
999
|
+
TOP: :top
|
|
1000
|
+
TRY: :try
|
|
1001
|
+
TTD: :ttd
|
|
1002
|
+
TZS: :tzs
|
|
1003
|
+
UAH: :uah
|
|
1004
|
+
UZS: :uzs
|
|
1005
|
+
VND: :vnd
|
|
1006
|
+
VUV: :vuv
|
|
1007
|
+
WST: :wst
|
|
1008
|
+
XAF: :xaf
|
|
1009
|
+
XCD: :xcd
|
|
1010
|
+
YER: :yer
|
|
1011
|
+
ZAR: :zar
|
|
1012
|
+
ZMW: :zmw
|
|
1013
|
+
CLP: :clp
|
|
1014
|
+
DJF: :djf
|
|
1015
|
+
GNF: :gnf
|
|
1016
|
+
UGX: :ugx
|
|
1017
|
+
PYG: :pyg
|
|
1018
|
+
XOF: :xof
|
|
1019
|
+
XPF: :xpf
|
|
1020
|
+
|
|
1021
|
+
def self?.values: -> ::Array[Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier::FlatPrice::currency]
|
|
1022
|
+
end
|
|
1023
|
+
end
|
|
1024
|
+
|
|
1025
|
+
type unit_price =
|
|
1026
|
+
{
|
|
1027
|
+
amount: Float,
|
|
1028
|
+
billing_country_code: String?,
|
|
1029
|
+
currency: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier::UnitPrice::currency
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
class UnitPrice < Stigg::Internal::Type::BaseModel
|
|
1033
|
+
attr_reader amount: Float?
|
|
1034
|
+
|
|
1035
|
+
def amount=: (Float) -> Float
|
|
1036
|
+
|
|
1037
|
+
attr_accessor billing_country_code: String?
|
|
1038
|
+
|
|
1039
|
+
attr_reader currency: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier::UnitPrice::currency?
|
|
1040
|
+
|
|
1041
|
+
def currency=: (
|
|
1042
|
+
Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier::UnitPrice::currency
|
|
1043
|
+
) -> Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier::UnitPrice::currency
|
|
1044
|
+
|
|
1045
|
+
def initialize: (
|
|
1046
|
+
?amount: Float,
|
|
1047
|
+
?billing_country_code: String?,
|
|
1048
|
+
?currency: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier::UnitPrice::currency
|
|
1049
|
+
) -> void
|
|
1050
|
+
|
|
1051
|
+
def to_hash: -> {
|
|
1052
|
+
amount: Float,
|
|
1053
|
+
billing_country_code: String?,
|
|
1054
|
+
currency: Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier::UnitPrice::currency
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
type currency =
|
|
1058
|
+
:usd
|
|
1059
|
+
| :aed
|
|
1060
|
+
| :all
|
|
1061
|
+
| :amd
|
|
1062
|
+
| :ang
|
|
1063
|
+
| :aud
|
|
1064
|
+
| :awg
|
|
1065
|
+
| :azn
|
|
1066
|
+
| :bam
|
|
1067
|
+
| :bbd
|
|
1068
|
+
| :bdt
|
|
1069
|
+
| :bgn
|
|
1070
|
+
| :bif
|
|
1071
|
+
| :bmd
|
|
1072
|
+
| :bnd
|
|
1073
|
+
| :bsd
|
|
1074
|
+
| :bwp
|
|
1075
|
+
| :byn
|
|
1076
|
+
| :bzd
|
|
1077
|
+
| :brl
|
|
1078
|
+
| :cad
|
|
1079
|
+
| :cdf
|
|
1080
|
+
| :chf
|
|
1081
|
+
| :cny
|
|
1082
|
+
| :czk
|
|
1083
|
+
| :dkk
|
|
1084
|
+
| :dop
|
|
1085
|
+
| :dzd
|
|
1086
|
+
| :egp
|
|
1087
|
+
| :etb
|
|
1088
|
+
| :eur
|
|
1089
|
+
| :fjd
|
|
1090
|
+
| :gbp
|
|
1091
|
+
| :gel
|
|
1092
|
+
| :gip
|
|
1093
|
+
| :gmd
|
|
1094
|
+
| :gyd
|
|
1095
|
+
| :hkd
|
|
1096
|
+
| :hrk
|
|
1097
|
+
| :htg
|
|
1098
|
+
| :idr
|
|
1099
|
+
| :ils
|
|
1100
|
+
| :inr
|
|
1101
|
+
| :isk
|
|
1102
|
+
| :jmd
|
|
1103
|
+
| :jpy
|
|
1104
|
+
| :kes
|
|
1105
|
+
| :kgs
|
|
1106
|
+
| :khr
|
|
1107
|
+
| :kmf
|
|
1108
|
+
| :krw
|
|
1109
|
+
| :kyd
|
|
1110
|
+
| :kzt
|
|
1111
|
+
| :lbp
|
|
1112
|
+
| :lkr
|
|
1113
|
+
| :lrd
|
|
1114
|
+
| :lsl
|
|
1115
|
+
| :mad
|
|
1116
|
+
| :mdl
|
|
1117
|
+
| :mga
|
|
1118
|
+
| :mkd
|
|
1119
|
+
| :mmk
|
|
1120
|
+
| :mnt
|
|
1121
|
+
| :mop
|
|
1122
|
+
| :mro
|
|
1123
|
+
| :mvr
|
|
1124
|
+
| :mwk
|
|
1125
|
+
| :mxn
|
|
1126
|
+
| :myr
|
|
1127
|
+
| :mzn
|
|
1128
|
+
| :nad
|
|
1129
|
+
| :ngn
|
|
1130
|
+
| :nok
|
|
1131
|
+
| :npr
|
|
1132
|
+
| :nzd
|
|
1133
|
+
| :pgk
|
|
1134
|
+
| :php
|
|
1135
|
+
| :pkr
|
|
1136
|
+
| :pln
|
|
1137
|
+
| :qar
|
|
1138
|
+
| :ron
|
|
1139
|
+
| :rsd
|
|
1140
|
+
| :rub
|
|
1141
|
+
| :rwf
|
|
1142
|
+
| :sar
|
|
1143
|
+
| :sbd
|
|
1144
|
+
| :scr
|
|
1145
|
+
| :sek
|
|
1146
|
+
| :sgd
|
|
1147
|
+
| :sle
|
|
1148
|
+
| :sll
|
|
1149
|
+
| :sos
|
|
1150
|
+
| :szl
|
|
1151
|
+
| :thb
|
|
1152
|
+
| :tjs
|
|
1153
|
+
| :top
|
|
1154
|
+
| :try
|
|
1155
|
+
| :ttd
|
|
1156
|
+
| :tzs
|
|
1157
|
+
| :uah
|
|
1158
|
+
| :uzs
|
|
1159
|
+
| :vnd
|
|
1160
|
+
| :vuv
|
|
1161
|
+
| :wst
|
|
1162
|
+
| :xaf
|
|
1163
|
+
| :xcd
|
|
1164
|
+
| :yer
|
|
1165
|
+
| :zar
|
|
1166
|
+
| :zmw
|
|
1167
|
+
| :clp
|
|
1168
|
+
| :djf
|
|
1169
|
+
| :gnf
|
|
1170
|
+
| :ugx
|
|
1171
|
+
| :pyg
|
|
1172
|
+
| :xof
|
|
1173
|
+
| :xpf
|
|
1174
|
+
|
|
1175
|
+
module Currency
|
|
1176
|
+
extend Stigg::Internal::Type::Enum
|
|
1177
|
+
|
|
1178
|
+
USD: :usd
|
|
1179
|
+
AED: :aed
|
|
1180
|
+
ALL: :all
|
|
1181
|
+
AMD: :amd
|
|
1182
|
+
ANG: :ang
|
|
1183
|
+
AUD: :aud
|
|
1184
|
+
AWG: :awg
|
|
1185
|
+
AZN: :azn
|
|
1186
|
+
BAM: :bam
|
|
1187
|
+
BBD: :bbd
|
|
1188
|
+
BDT: :bdt
|
|
1189
|
+
BGN: :bgn
|
|
1190
|
+
BIF: :bif
|
|
1191
|
+
BMD: :bmd
|
|
1192
|
+
BND: :bnd
|
|
1193
|
+
BSD: :bsd
|
|
1194
|
+
BWP: :bwp
|
|
1195
|
+
BYN: :byn
|
|
1196
|
+
BZD: :bzd
|
|
1197
|
+
BRL: :brl
|
|
1198
|
+
CAD: :cad
|
|
1199
|
+
CDF: :cdf
|
|
1200
|
+
CHF: :chf
|
|
1201
|
+
CNY: :cny
|
|
1202
|
+
CZK: :czk
|
|
1203
|
+
DKK: :dkk
|
|
1204
|
+
DOP: :dop
|
|
1205
|
+
DZD: :dzd
|
|
1206
|
+
EGP: :egp
|
|
1207
|
+
ETB: :etb
|
|
1208
|
+
EUR: :eur
|
|
1209
|
+
FJD: :fjd
|
|
1210
|
+
GBP: :gbp
|
|
1211
|
+
GEL: :gel
|
|
1212
|
+
GIP: :gip
|
|
1213
|
+
GMD: :gmd
|
|
1214
|
+
GYD: :gyd
|
|
1215
|
+
HKD: :hkd
|
|
1216
|
+
HRK: :hrk
|
|
1217
|
+
HTG: :htg
|
|
1218
|
+
IDR: :idr
|
|
1219
|
+
ILS: :ils
|
|
1220
|
+
INR: :inr
|
|
1221
|
+
ISK: :isk
|
|
1222
|
+
JMD: :jmd
|
|
1223
|
+
JPY: :jpy
|
|
1224
|
+
KES: :kes
|
|
1225
|
+
KGS: :kgs
|
|
1226
|
+
KHR: :khr
|
|
1227
|
+
KMF: :kmf
|
|
1228
|
+
KRW: :krw
|
|
1229
|
+
KYD: :kyd
|
|
1230
|
+
KZT: :kzt
|
|
1231
|
+
LBP: :lbp
|
|
1232
|
+
LKR: :lkr
|
|
1233
|
+
LRD: :lrd
|
|
1234
|
+
LSL: :lsl
|
|
1235
|
+
MAD: :mad
|
|
1236
|
+
MDL: :mdl
|
|
1237
|
+
MGA: :mga
|
|
1238
|
+
MKD: :mkd
|
|
1239
|
+
MMK: :mmk
|
|
1240
|
+
MNT: :mnt
|
|
1241
|
+
MOP: :mop
|
|
1242
|
+
MRO: :mro
|
|
1243
|
+
MVR: :mvr
|
|
1244
|
+
MWK: :mwk
|
|
1245
|
+
MXN: :mxn
|
|
1246
|
+
MYR: :myr
|
|
1247
|
+
MZN: :mzn
|
|
1248
|
+
NAD: :nad
|
|
1249
|
+
NGN: :ngn
|
|
1250
|
+
NOK: :nok
|
|
1251
|
+
NPR: :npr
|
|
1252
|
+
NZD: :nzd
|
|
1253
|
+
PGK: :pgk
|
|
1254
|
+
PHP: :php
|
|
1255
|
+
PKR: :pkr
|
|
1256
|
+
PLN: :pln
|
|
1257
|
+
QAR: :qar
|
|
1258
|
+
RON: :ron
|
|
1259
|
+
RSD: :rsd
|
|
1260
|
+
RUB: :rub
|
|
1261
|
+
RWF: :rwf
|
|
1262
|
+
SAR: :sar
|
|
1263
|
+
SBD: :sbd
|
|
1264
|
+
SCR: :scr
|
|
1265
|
+
SEK: :sek
|
|
1266
|
+
SGD: :sgd
|
|
1267
|
+
SLE: :sle
|
|
1268
|
+
SLL: :sll
|
|
1269
|
+
SOS: :sos
|
|
1270
|
+
SZL: :szl
|
|
1271
|
+
THB: :thb
|
|
1272
|
+
TJS: :tjs
|
|
1273
|
+
TOP: :top
|
|
1274
|
+
TRY: :try
|
|
1275
|
+
TTD: :ttd
|
|
1276
|
+
TZS: :tzs
|
|
1277
|
+
UAH: :uah
|
|
1278
|
+
UZS: :uzs
|
|
1279
|
+
VND: :vnd
|
|
1280
|
+
VUV: :vuv
|
|
1281
|
+
WST: :wst
|
|
1282
|
+
XAF: :xaf
|
|
1283
|
+
XCD: :xcd
|
|
1284
|
+
YER: :yer
|
|
1285
|
+
ZAR: :zar
|
|
1286
|
+
ZMW: :zmw
|
|
1287
|
+
CLP: :clp
|
|
1288
|
+
DJF: :djf
|
|
1289
|
+
GNF: :gnf
|
|
1290
|
+
UGX: :ugx
|
|
1291
|
+
PYG: :pyg
|
|
1292
|
+
XOF: :xof
|
|
1293
|
+
XPF: :xpf
|
|
1294
|
+
|
|
1295
|
+
def self?.values: -> ::Array[Stigg::Models::V1::SubscriptionProvisionResponse::Data::Subscription::Price::Tier::UnitPrice::currency]
|
|
1296
|
+
end
|
|
1297
|
+
end
|
|
1298
|
+
end
|
|
1299
|
+
end
|
|
1300
|
+
end
|
|
1301
|
+
end
|
|
1302
|
+
end
|
|
1303
|
+
end
|
|
1304
|
+
end
|
|
1305
|
+
end
|