whop_sdk 0.0.15 → 0.0.17
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 +1 -1
- data/lib/whop_sdk/client.rb +4 -0
- data/lib/whop_sdk/models/course.rb +65 -1
- data/lib/whop_sdk/models/course_lesson_interaction.rb +23 -1
- data/lib/whop_sdk/models/course_lesson_interaction_list_item.rb +23 -1
- data/lib/whop_sdk/models/payment_list_fees_params.rb +46 -0
- data/lib/whop_sdk/models/payment_list_fees_response.rb +84 -0
- data/lib/whop_sdk/models/payment_method_list_response.rb +214 -76
- data/lib/whop_sdk/models/payment_method_retrieve_response.rb +214 -76
- data/lib/whop_sdk/models/payout_method_list_params.rb +54 -0
- data/lib/whop_sdk/models/payout_method_list_response.rb +95 -0
- data/lib/whop_sdk/models/withdrawal_create_params.rb +46 -0
- data/lib/whop_sdk/models/withdrawal_create_response.rb +275 -0
- data/lib/whop_sdk/models.rb +6 -0
- data/lib/whop_sdk/resources/payment_methods.rb +2 -2
- data/lib/whop_sdk/resources/payments.rb +35 -0
- data/lib/whop_sdk/resources/payout_methods.rb +49 -0
- data/lib/whop_sdk/resources/withdrawals.rb +34 -0
- data/lib/whop_sdk/version.rb +1 -1
- data/lib/whop_sdk.rb +7 -0
- data/rbi/whop_sdk/client.rbi +3 -0
- data/rbi/whop_sdk/models/course.rbi +123 -3
- data/rbi/whop_sdk/models/course_lesson_interaction.rbi +55 -2
- data/rbi/whop_sdk/models/course_lesson_interaction_list_item.rbi +60 -2
- data/rbi/whop_sdk/models/payment_list_fees_params.rbi +67 -0
- data/rbi/whop_sdk/models/payment_list_fees_response.rbi +239 -0
- data/rbi/whop_sdk/models/payment_method_list_response.rbi +305 -83
- data/rbi/whop_sdk/models/payment_method_retrieve_response.rbi +305 -88
- data/rbi/whop_sdk/models/payout_method_list_params.rbi +75 -0
- data/rbi/whop_sdk/models/payout_method_list_response.rbi +200 -0
- data/rbi/whop_sdk/models/withdrawal_create_params.rbi +67 -0
- data/rbi/whop_sdk/models/withdrawal_create_response.rbi +564 -0
- data/rbi/whop_sdk/models.rbi +6 -0
- data/rbi/whop_sdk/resources/payment_methods.rbi +2 -2
- data/rbi/whop_sdk/resources/payments.rbi +34 -0
- data/rbi/whop_sdk/resources/payout_methods.rbi +46 -0
- data/rbi/whop_sdk/resources/withdrawals.rbi +29 -0
- data/sig/whop_sdk/client.rbs +2 -0
- data/sig/whop_sdk/models/course.rbs +50 -3
- data/sig/whop_sdk/models/course_lesson_interaction.rbs +28 -3
- data/sig/whop_sdk/models/course_lesson_interaction_list_item.rbs +28 -3
- data/sig/whop_sdk/models/payment_list_fees_params.rbs +36 -0
- data/sig/whop_sdk/models/payment_list_fees_response.rbs +104 -0
- data/sig/whop_sdk/models/payment_method_list_response.rbs +149 -41
- data/sig/whop_sdk/models/payment_method_retrieve_response.rbs +149 -41
- data/sig/whop_sdk/models/payout_method_list_params.rbs +46 -0
- data/sig/whop_sdk/models/payout_method_list_response.rbs +83 -0
- data/sig/whop_sdk/models/withdrawal_create_params.rbs +41 -0
- data/sig/whop_sdk/models/withdrawal_create_response.rbs +243 -0
- data/sig/whop_sdk/models.rbs +6 -0
- data/sig/whop_sdk/resources/payment_methods.rbs +2 -2
- data/sig/whop_sdk/resources/payments.rbs +9 -0
- data/sig/whop_sdk/resources/payout_methods.rbs +16 -0
- data/sig/whop_sdk/resources/withdrawals.rbs +8 -0
- metadata +23 -2
|
@@ -187,23 +187,76 @@ module WhopSDK
|
|
|
187
187
|
sig { returns(String) }
|
|
188
188
|
attr_accessor :id
|
|
189
189
|
|
|
190
|
+
# The chapter this lesson belongs to
|
|
191
|
+
sig { returns(WhopSDK::CourseLessonInteraction::Lesson::Chapter) }
|
|
192
|
+
attr_reader :chapter
|
|
193
|
+
|
|
194
|
+
sig do
|
|
195
|
+
params(
|
|
196
|
+
chapter: WhopSDK::CourseLessonInteraction::Lesson::Chapter::OrHash
|
|
197
|
+
).void
|
|
198
|
+
end
|
|
199
|
+
attr_writer :chapter
|
|
200
|
+
|
|
190
201
|
# The title of the lesson
|
|
191
202
|
sig { returns(String) }
|
|
192
203
|
attr_accessor :title
|
|
193
204
|
|
|
194
205
|
# The lesson this interaction is for
|
|
195
|
-
sig
|
|
206
|
+
sig do
|
|
207
|
+
params(
|
|
208
|
+
id: String,
|
|
209
|
+
chapter: WhopSDK::CourseLessonInteraction::Lesson::Chapter::OrHash,
|
|
210
|
+
title: String
|
|
211
|
+
).returns(T.attached_class)
|
|
212
|
+
end
|
|
196
213
|
def self.new(
|
|
197
214
|
# The ID of the lesson
|
|
198
215
|
id:,
|
|
216
|
+
# The chapter this lesson belongs to
|
|
217
|
+
chapter:,
|
|
199
218
|
# The title of the lesson
|
|
200
219
|
title:
|
|
201
220
|
)
|
|
202
221
|
end
|
|
203
222
|
|
|
204
|
-
sig
|
|
223
|
+
sig do
|
|
224
|
+
override.returns(
|
|
225
|
+
{
|
|
226
|
+
id: String,
|
|
227
|
+
chapter: WhopSDK::CourseLessonInteraction::Lesson::Chapter,
|
|
228
|
+
title: String
|
|
229
|
+
}
|
|
230
|
+
)
|
|
231
|
+
end
|
|
205
232
|
def to_hash
|
|
206
233
|
end
|
|
234
|
+
|
|
235
|
+
class Chapter < WhopSDK::Internal::Type::BaseModel
|
|
236
|
+
OrHash =
|
|
237
|
+
T.type_alias do
|
|
238
|
+
T.any(
|
|
239
|
+
WhopSDK::CourseLessonInteraction::Lesson::Chapter,
|
|
240
|
+
WhopSDK::Internal::AnyHash
|
|
241
|
+
)
|
|
242
|
+
end
|
|
243
|
+
|
|
244
|
+
# The ID of the chapter. Looks like chap_XXX
|
|
245
|
+
sig { returns(String) }
|
|
246
|
+
attr_accessor :id
|
|
247
|
+
|
|
248
|
+
# The chapter this lesson belongs to
|
|
249
|
+
sig { params(id: String).returns(T.attached_class) }
|
|
250
|
+
def self.new(
|
|
251
|
+
# The ID of the chapter. Looks like chap_XXX
|
|
252
|
+
id:
|
|
253
|
+
)
|
|
254
|
+
end
|
|
255
|
+
|
|
256
|
+
sig { override.returns({ id: String }) }
|
|
257
|
+
def to_hash
|
|
258
|
+
end
|
|
259
|
+
end
|
|
207
260
|
end
|
|
208
261
|
|
|
209
262
|
class User < WhopSDK::Internal::Type::BaseModel
|
|
@@ -96,23 +96,81 @@ module WhopSDK
|
|
|
96
96
|
sig { returns(String) }
|
|
97
97
|
attr_accessor :id
|
|
98
98
|
|
|
99
|
+
# The chapter this lesson belongs to
|
|
100
|
+
sig do
|
|
101
|
+
returns(WhopSDK::CourseLessonInteractionListItem::Lesson::Chapter)
|
|
102
|
+
end
|
|
103
|
+
attr_reader :chapter
|
|
104
|
+
|
|
105
|
+
sig do
|
|
106
|
+
params(
|
|
107
|
+
chapter:
|
|
108
|
+
WhopSDK::CourseLessonInteractionListItem::Lesson::Chapter::OrHash
|
|
109
|
+
).void
|
|
110
|
+
end
|
|
111
|
+
attr_writer :chapter
|
|
112
|
+
|
|
99
113
|
# The title of the lesson
|
|
100
114
|
sig { returns(String) }
|
|
101
115
|
attr_accessor :title
|
|
102
116
|
|
|
103
117
|
# The lesson this interaction is for
|
|
104
|
-
sig
|
|
118
|
+
sig do
|
|
119
|
+
params(
|
|
120
|
+
id: String,
|
|
121
|
+
chapter:
|
|
122
|
+
WhopSDK::CourseLessonInteractionListItem::Lesson::Chapter::OrHash,
|
|
123
|
+
title: String
|
|
124
|
+
).returns(T.attached_class)
|
|
125
|
+
end
|
|
105
126
|
def self.new(
|
|
106
127
|
# The ID of the lesson
|
|
107
128
|
id:,
|
|
129
|
+
# The chapter this lesson belongs to
|
|
130
|
+
chapter:,
|
|
108
131
|
# The title of the lesson
|
|
109
132
|
title:
|
|
110
133
|
)
|
|
111
134
|
end
|
|
112
135
|
|
|
113
|
-
sig
|
|
136
|
+
sig do
|
|
137
|
+
override.returns(
|
|
138
|
+
{
|
|
139
|
+
id: String,
|
|
140
|
+
chapter:
|
|
141
|
+
WhopSDK::CourseLessonInteractionListItem::Lesson::Chapter,
|
|
142
|
+
title: String
|
|
143
|
+
}
|
|
144
|
+
)
|
|
145
|
+
end
|
|
114
146
|
def to_hash
|
|
115
147
|
end
|
|
148
|
+
|
|
149
|
+
class Chapter < WhopSDK::Internal::Type::BaseModel
|
|
150
|
+
OrHash =
|
|
151
|
+
T.type_alias do
|
|
152
|
+
T.any(
|
|
153
|
+
WhopSDK::CourseLessonInteractionListItem::Lesson::Chapter,
|
|
154
|
+
WhopSDK::Internal::AnyHash
|
|
155
|
+
)
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
# The ID of the chapter. Looks like chap_XXX
|
|
159
|
+
sig { returns(String) }
|
|
160
|
+
attr_accessor :id
|
|
161
|
+
|
|
162
|
+
# The chapter this lesson belongs to
|
|
163
|
+
sig { params(id: String).returns(T.attached_class) }
|
|
164
|
+
def self.new(
|
|
165
|
+
# The ID of the chapter. Looks like chap_XXX
|
|
166
|
+
id:
|
|
167
|
+
)
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
sig { override.returns({ id: String }) }
|
|
171
|
+
def to_hash
|
|
172
|
+
end
|
|
173
|
+
end
|
|
116
174
|
end
|
|
117
175
|
|
|
118
176
|
class User < WhopSDK::Internal::Type::BaseModel
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module WhopSDK
|
|
4
|
+
module Models
|
|
5
|
+
class PaymentListFeesParams < WhopSDK::Internal::Type::BaseModel
|
|
6
|
+
extend WhopSDK::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include WhopSDK::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(WhopSDK::PaymentListFeesParams, WhopSDK::Internal::AnyHash)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# Returns the elements in the list that come after the specified cursor.
|
|
15
|
+
sig { returns(T.nilable(String)) }
|
|
16
|
+
attr_accessor :after
|
|
17
|
+
|
|
18
|
+
# Returns the elements in the list that come before the specified cursor.
|
|
19
|
+
sig { returns(T.nilable(String)) }
|
|
20
|
+
attr_accessor :before
|
|
21
|
+
|
|
22
|
+
# Returns the first _n_ elements from the list.
|
|
23
|
+
sig { returns(T.nilable(Integer)) }
|
|
24
|
+
attr_accessor :first
|
|
25
|
+
|
|
26
|
+
# Returns the last _n_ elements from the list.
|
|
27
|
+
sig { returns(T.nilable(Integer)) }
|
|
28
|
+
attr_accessor :last
|
|
29
|
+
|
|
30
|
+
sig do
|
|
31
|
+
params(
|
|
32
|
+
after: T.nilable(String),
|
|
33
|
+
before: T.nilable(String),
|
|
34
|
+
first: T.nilable(Integer),
|
|
35
|
+
last: T.nilable(Integer),
|
|
36
|
+
request_options: WhopSDK::RequestOptions::OrHash
|
|
37
|
+
).returns(T.attached_class)
|
|
38
|
+
end
|
|
39
|
+
def self.new(
|
|
40
|
+
# Returns the elements in the list that come after the specified cursor.
|
|
41
|
+
after: nil,
|
|
42
|
+
# Returns the elements in the list that come before the specified cursor.
|
|
43
|
+
before: nil,
|
|
44
|
+
# Returns the first _n_ elements from the list.
|
|
45
|
+
first: nil,
|
|
46
|
+
# Returns the last _n_ elements from the list.
|
|
47
|
+
last: nil,
|
|
48
|
+
request_options: {}
|
|
49
|
+
)
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
sig do
|
|
53
|
+
override.returns(
|
|
54
|
+
{
|
|
55
|
+
after: T.nilable(String),
|
|
56
|
+
before: T.nilable(String),
|
|
57
|
+
first: T.nilable(Integer),
|
|
58
|
+
last: T.nilable(Integer),
|
|
59
|
+
request_options: WhopSDK::RequestOptions
|
|
60
|
+
}
|
|
61
|
+
)
|
|
62
|
+
end
|
|
63
|
+
def to_hash
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
end
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module WhopSDK
|
|
4
|
+
module Models
|
|
5
|
+
class PaymentListFeesResponse < WhopSDK::Internal::Type::BaseModel
|
|
6
|
+
OrHash =
|
|
7
|
+
T.type_alias do
|
|
8
|
+
T.any(
|
|
9
|
+
WhopSDK::Models::PaymentListFeesResponse,
|
|
10
|
+
WhopSDK::Internal::AnyHash
|
|
11
|
+
)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
# The value or amount to display for the fee.
|
|
15
|
+
sig { returns(Float) }
|
|
16
|
+
attr_accessor :amount
|
|
17
|
+
|
|
18
|
+
# The currency of the fee.
|
|
19
|
+
sig { returns(WhopSDK::Currency::TaggedSymbol) }
|
|
20
|
+
attr_accessor :currency
|
|
21
|
+
|
|
22
|
+
# The label to display for the fee.
|
|
23
|
+
sig { returns(String) }
|
|
24
|
+
attr_accessor :name
|
|
25
|
+
|
|
26
|
+
# The specific origin of the fee, if applicable.
|
|
27
|
+
sig do
|
|
28
|
+
returns(WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol)
|
|
29
|
+
end
|
|
30
|
+
attr_accessor :type
|
|
31
|
+
|
|
32
|
+
# Represents a fee related to a payment
|
|
33
|
+
sig do
|
|
34
|
+
params(
|
|
35
|
+
amount: Float,
|
|
36
|
+
currency: WhopSDK::Currency::OrSymbol,
|
|
37
|
+
name: String,
|
|
38
|
+
type: WhopSDK::Models::PaymentListFeesResponse::Type::OrSymbol
|
|
39
|
+
).returns(T.attached_class)
|
|
40
|
+
end
|
|
41
|
+
def self.new(
|
|
42
|
+
# The value or amount to display for the fee.
|
|
43
|
+
amount:,
|
|
44
|
+
# The currency of the fee.
|
|
45
|
+
currency:,
|
|
46
|
+
# The label to display for the fee.
|
|
47
|
+
name:,
|
|
48
|
+
# The specific origin of the fee, if applicable.
|
|
49
|
+
type:
|
|
50
|
+
)
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
sig do
|
|
54
|
+
override.returns(
|
|
55
|
+
{
|
|
56
|
+
amount: Float,
|
|
57
|
+
currency: WhopSDK::Currency::TaggedSymbol,
|
|
58
|
+
name: String,
|
|
59
|
+
type: WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
60
|
+
}
|
|
61
|
+
)
|
|
62
|
+
end
|
|
63
|
+
def to_hash
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# The specific origin of the fee, if applicable.
|
|
67
|
+
module Type
|
|
68
|
+
extend WhopSDK::Internal::Type::Enum
|
|
69
|
+
|
|
70
|
+
TaggedSymbol =
|
|
71
|
+
T.type_alias do
|
|
72
|
+
T.all(Symbol, WhopSDK::Models::PaymentListFeesResponse::Type)
|
|
73
|
+
end
|
|
74
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
75
|
+
|
|
76
|
+
STRIPE_DOMESTIC_PROCESSING_FEE =
|
|
77
|
+
T.let(
|
|
78
|
+
:stripe_domestic_processing_fee,
|
|
79
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
80
|
+
)
|
|
81
|
+
STRIPE_INTERNATIONAL_PROCESSING_FEE =
|
|
82
|
+
T.let(
|
|
83
|
+
:stripe_international_processing_fee,
|
|
84
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
85
|
+
)
|
|
86
|
+
STRIPE_FIXED_PROCESSING_FEE =
|
|
87
|
+
T.let(
|
|
88
|
+
:stripe_fixed_processing_fee,
|
|
89
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
90
|
+
)
|
|
91
|
+
STRIPE_BILLING_FEE =
|
|
92
|
+
T.let(
|
|
93
|
+
:stripe_billing_fee,
|
|
94
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
95
|
+
)
|
|
96
|
+
STRIPE_RADAR_FEE =
|
|
97
|
+
T.let(
|
|
98
|
+
:stripe_radar_fee,
|
|
99
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
100
|
+
)
|
|
101
|
+
SALES_TAX_REMITTANCE =
|
|
102
|
+
T.let(
|
|
103
|
+
:sales_tax_remittance,
|
|
104
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
105
|
+
)
|
|
106
|
+
SALES_TAX_REMITTANCE_REVERSAL =
|
|
107
|
+
T.let(
|
|
108
|
+
:sales_tax_remittance_reversal,
|
|
109
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
110
|
+
)
|
|
111
|
+
STRIPE_SALES_TAX_FEE =
|
|
112
|
+
T.let(
|
|
113
|
+
:stripe_sales_tax_fee,
|
|
114
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
115
|
+
)
|
|
116
|
+
WHOP_PROCESSING_FEE =
|
|
117
|
+
T.let(
|
|
118
|
+
:whop_processing_fee,
|
|
119
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
120
|
+
)
|
|
121
|
+
MARKETPLACE_AFFILIATE_FEE =
|
|
122
|
+
T.let(
|
|
123
|
+
:marketplace_affiliate_fee,
|
|
124
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
125
|
+
)
|
|
126
|
+
AFFILIATE_FEE =
|
|
127
|
+
T.let(
|
|
128
|
+
:affiliate_fee,
|
|
129
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
130
|
+
)
|
|
131
|
+
CRYPTO_FEE =
|
|
132
|
+
T.let(
|
|
133
|
+
:crypto_fee,
|
|
134
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
135
|
+
)
|
|
136
|
+
STRIPE_STANDARD_PROCESSING_FEE =
|
|
137
|
+
T.let(
|
|
138
|
+
:stripe_standard_processing_fee,
|
|
139
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
140
|
+
)
|
|
141
|
+
PAYPAL_FEE =
|
|
142
|
+
T.let(
|
|
143
|
+
:paypal_fee,
|
|
144
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
145
|
+
)
|
|
146
|
+
STRIPE_PAYOUT_FEE =
|
|
147
|
+
T.let(
|
|
148
|
+
:stripe_payout_fee,
|
|
149
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
150
|
+
)
|
|
151
|
+
DISPUTE_FEE =
|
|
152
|
+
T.let(
|
|
153
|
+
:dispute_fee,
|
|
154
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
155
|
+
)
|
|
156
|
+
DISPUTE_ALERT_FEE =
|
|
157
|
+
T.let(
|
|
158
|
+
:dispute_alert_fee,
|
|
159
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
160
|
+
)
|
|
161
|
+
APPLE_PROCESSING_FEE =
|
|
162
|
+
T.let(
|
|
163
|
+
:apple_processing_fee,
|
|
164
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
165
|
+
)
|
|
166
|
+
BUYER_FEE =
|
|
167
|
+
T.let(
|
|
168
|
+
:buyer_fee,
|
|
169
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
170
|
+
)
|
|
171
|
+
SEZZLE_PROCESSING_FEE =
|
|
172
|
+
T.let(
|
|
173
|
+
:sezzle_processing_fee,
|
|
174
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
175
|
+
)
|
|
176
|
+
SPLITIT_PROCESSING_FEE =
|
|
177
|
+
T.let(
|
|
178
|
+
:splitit_processing_fee,
|
|
179
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
180
|
+
)
|
|
181
|
+
PLATFORM_BALANCE_PROCESSING_FEE =
|
|
182
|
+
T.let(
|
|
183
|
+
:platform_balance_processing_fee,
|
|
184
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
185
|
+
)
|
|
186
|
+
PAYMENT_PROCESSING_PERCENTAGE_FEE =
|
|
187
|
+
T.let(
|
|
188
|
+
:payment_processing_percentage_fee,
|
|
189
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
190
|
+
)
|
|
191
|
+
PAYMENT_PROCESSING_FIXED_FEE =
|
|
192
|
+
T.let(
|
|
193
|
+
:payment_processing_fixed_fee,
|
|
194
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
195
|
+
)
|
|
196
|
+
CROSS_BORDER_PERCENTAGE_FEE =
|
|
197
|
+
T.let(
|
|
198
|
+
:cross_border_percentage_fee,
|
|
199
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
200
|
+
)
|
|
201
|
+
FX_PERCENTAGE_FEE =
|
|
202
|
+
T.let(
|
|
203
|
+
:fx_percentage_fee,
|
|
204
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
205
|
+
)
|
|
206
|
+
ORCHESTRATION_PERCENTAGE_FEE =
|
|
207
|
+
T.let(
|
|
208
|
+
:orchestration_percentage_fee,
|
|
209
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
210
|
+
)
|
|
211
|
+
THREE_DS_FIXED_FEE =
|
|
212
|
+
T.let(
|
|
213
|
+
:three_ds_fixed_fee,
|
|
214
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
215
|
+
)
|
|
216
|
+
BILLING_PERCENTAGE_FEE =
|
|
217
|
+
T.let(
|
|
218
|
+
:billing_percentage_fee,
|
|
219
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
220
|
+
)
|
|
221
|
+
REVSHARE_PERCENTAGE_FEE =
|
|
222
|
+
T.let(
|
|
223
|
+
:revshare_percentage_fee,
|
|
224
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
225
|
+
)
|
|
226
|
+
|
|
227
|
+
sig do
|
|
228
|
+
override.returns(
|
|
229
|
+
T::Array[
|
|
230
|
+
WhopSDK::Models::PaymentListFeesResponse::Type::TaggedSymbol
|
|
231
|
+
]
|
|
232
|
+
)
|
|
233
|
+
end
|
|
234
|
+
def self.values
|
|
235
|
+
end
|
|
236
|
+
end
|
|
237
|
+
end
|
|
238
|
+
end
|
|
239
|
+
end
|