stripe 15.6.0.pre.alpha.1 → 15.6.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/API_VERSION +1 -1
- data/CHANGELOG.md +6 -0
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/resources/account.rb +443 -0
- data/lib/stripe/resources/account_link.rb +8 -0
- data/lib/stripe/resources/account_notice.rb +24 -0
- data/lib/stripe/resources/account_session.rb +435 -10
- data/lib/stripe/resources/apple_pay_domain.rb +8 -0
- data/lib/stripe/resources/application.rb +8 -0
- data/lib/stripe/resources/application_fee.rb +16 -0
- data/lib/stripe/resources/application_fee_refund.rb +8 -0
- data/lib/stripe/resources/apps/secret.rb +16 -0
- data/lib/stripe/resources/balance.rb +159 -0
- data/lib/stripe/resources/balance_settings.rb +40 -0
- data/lib/stripe/resources/balance_transaction.rb +16 -0
- data/lib/stripe/resources/bank_account.rb +40 -0
- data/lib/stripe/resources/billing/alert.rb +75 -0
- data/lib/stripe/resources/billing/alert_triggered.rb +8 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +80 -0
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +107 -0
- data/lib/stripe/resources/billing/credit_grant.rb +72 -0
- data/lib/stripe/resources/billing/meter.rb +45 -0
- data/lib/stripe/resources/billing/meter_event.rb +8 -0
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +16 -0
- data/lib/stripe/resources/billing/meter_event_summary.rb +8 -0
- data/lib/stripe/resources/billing/meter_usage.rb +8 -0
- data/lib/stripe/resources/billing/meter_usage_row.rb +8 -0
- data/lib/stripe/resources/billing_portal/configuration.rb +122 -0
- data/lib/stripe/resources/billing_portal/session.rb +101 -0
- data/lib/stripe/resources/capability.rb +56 -0
- data/lib/stripe/resources/capital/financing_offer.rb +24 -0
- data/lib/stripe/resources/capital/financing_summary.rb +24 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +24 -0
- data/lib/stripe/resources/card.rb +16 -0
- data/lib/stripe/resources/cash_balance.rb +16 -0
- data/lib/stripe/resources/charge.rb +1052 -16
- data/lib/stripe/resources/checkout/session.rb +950 -0
- data/lib/stripe/resources/climate/order.rb +32 -0
- data/lib/stripe/resources/climate/product.rb +16 -0
- data/lib/stripe/resources/climate/supplier.rb +16 -0
- data/lib/stripe/resources/confirmation_token.rb +960 -38
- data/lib/stripe/resources/connect_collection_transfer.rb +8 -0
- data/lib/stripe/resources/country_spec.rb +32 -0
- data/lib/stripe/resources/coupon.rb +36 -0
- data/lib/stripe/resources/credit_note.rb +70 -0
- data/lib/stripe/resources/credit_note_line_item.rb +53 -0
- data/lib/stripe/resources/customer.rb +77 -0
- data/lib/stripe/resources/customer_balance_transaction.rb +8 -0
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +108 -0
- data/lib/stripe/resources/customer_session.rb +52 -0
- data/lib/stripe/resources/discount.rb +8 -0
- data/lib/stripe/resources/dispute.rb +166 -0
- data/lib/stripe/resources/entitlements/active_entitlement.rb +8 -0
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +8 -0
- data/lib/stripe/resources/entitlements/feature.rb +8 -0
- data/lib/stripe/resources/ephemeral_key.rb +8 -0
- data/lib/stripe/resources/event.rb +56 -0
- data/lib/stripe/resources/exchange_rate.rb +8 -0
- data/lib/stripe/resources/file.rb +8 -0
- data/lib/stripe/resources/file_link.rb +8 -0
- data/lib/stripe/resources/financial_connections/account.rb +79 -0
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +8 -0
- data/lib/stripe/resources/financial_connections/account_owner.rb +8 -0
- data/lib/stripe/resources/financial_connections/account_ownership.rb +8 -0
- data/lib/stripe/resources/financial_connections/institution.rb +53 -0
- data/lib/stripe/resources/financial_connections/session.rb +63 -1
- data/lib/stripe/resources/financial_connections/transaction.rb +16 -0
- data/lib/stripe/resources/forwarding/request.rb +52 -0
- data/lib/stripe/resources/funding_instructions.rb +193 -0
- data/lib/stripe/resources/fx_quote.rb +48 -0
- data/lib/stripe/resources/identity/verification_report.rb +166 -1
- data/lib/stripe/resources/identity/verification_session.rb +126 -1
- data/lib/stripe/resources/invoice.rb +441 -3
- data/lib/stripe/resources/invoice_item.rb +88 -0
- data/lib/stripe/resources/invoice_line_item.rb +186 -0
- data/lib/stripe/resources/invoice_payment.rb +24 -0
- data/lib/stripe/resources/invoice_rendering_template.rb +8 -0
- data/lib/stripe/resources/issuing/authorization.rb +177 -0
- data/lib/stripe/resources/issuing/card.rb +96 -0
- data/lib/stripe/resources/issuing/cardholder.rb +110 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +82 -0
- data/lib/stripe/resources/issuing/dispute.rb +97 -0
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +16 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +8 -0
- data/lib/stripe/resources/issuing/personalization_design.rb +36 -0
- data/lib/stripe/resources/issuing/physical_bundle.rb +16 -0
- data/lib/stripe/resources/issuing/settlement.rb +8 -0
- data/lib/stripe/resources/issuing/token.rb +61 -0
- data/lib/stripe/resources/issuing/transaction.rb +151 -0
- data/lib/stripe/resources/line_item.rb +54 -0
- data/lib/stripe/resources/login_link.rb +8 -0
- data/lib/stripe/resources/mandate.rb +242 -11
- data/lib/stripe/resources/margin.rb +8 -0
- data/lib/stripe/resources/order.rb +348 -0
- data/lib/stripe/resources/payment_attempt_record.rb +890 -11
- data/lib/stripe/resources/payment_intent.rb +1405 -3
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +56 -0
- data/lib/stripe/resources/payment_link.rb +337 -0
- data/lib/stripe/resources/payment_method.rb +884 -38
- data/lib/stripe/resources/payment_method_configuration.rb +961 -0
- data/lib/stripe/resources/payment_method_domain.rb +111 -0
- data/lib/stripe/resources/payment_record.rb +890 -11
- data/lib/stripe/resources/payout.rb +16 -0
- data/lib/stripe/resources/person.rb +180 -0
- data/lib/stripe/resources/plan.rb +24 -0
- data/lib/stripe/resources/price.rb +79 -0
- data/lib/stripe/resources/privacy/redaction_job.rb +16 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +16 -0
- data/lib/stripe/resources/product.rb +27 -0
- data/lib/stripe/resources/product_feature.rb +8 -0
- data/lib/stripe/resources/promotion_code.rb +24 -0
- data/lib/stripe/resources/quote.rb +432 -0
- data/lib/stripe/resources/quote_line.rb +247 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +450 -3
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +323 -0
- data/lib/stripe/resources/radar/early_fraud_warning.rb +8 -0
- data/lib/stripe/resources/radar/value_list.rb +8 -0
- data/lib/stripe/resources/radar/value_list_item.rb +8 -0
- data/lib/stripe/resources/refund.rb +380 -19
- data/lib/stripe/resources/reporting/report_run.rb +16 -0
- data/lib/stripe/resources/reporting/report_type.rb +8 -0
- data/lib/stripe/resources/reserve_transaction.rb +8 -0
- data/lib/stripe/resources/reversal.rb +8 -0
- data/lib/stripe/resources/review.rb +24 -0
- data/lib/stripe/resources/setup_attempt.rb +331 -20
- data/lib/stripe/resources/setup_intent.rb +293 -2
- data/lib/stripe/resources/shipping_rate.rb +48 -0
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +16 -0
- data/lib/stripe/resources/source.rb +274 -0
- data/lib/stripe/resources/source_mandate_notification.rb +32 -0
- data/lib/stripe/resources/source_transaction.rb +54 -0
- data/lib/stripe/resources/subscription.rb +318 -3
- data/lib/stripe/resources/subscription_item.rb +24 -0
- data/lib/stripe/resources/subscription_schedule.rb +314 -0
- data/lib/stripe/resources/tax/association.rb +32 -0
- data/lib/stripe/resources/tax/calculation.rb +109 -0
- data/lib/stripe/resources/tax/calculation_line_item.rb +32 -0
- data/lib/stripe/resources/tax/form.rb +107 -0
- data/lib/stripe/resources/tax/registration.rb +1232 -0
- data/lib/stripe/resources/tax/settings.rb +61 -1
- data/lib/stripe/resources/tax/transaction.rb +93 -0
- data/lib/stripe/resources/tax/transaction_line_item.rb +16 -0
- data/lib/stripe/resources/tax_code.rb +8 -0
- data/lib/stripe/resources/tax_deducted_at_source.rb +8 -0
- data/lib/stripe/resources/tax_id.rb +24 -0
- data/lib/stripe/resources/tax_rate.rb +16 -0
- data/lib/stripe/resources/terminal/configuration.rb +299 -0
- data/lib/stripe/resources/terminal/connection_token.rb +8 -0
- data/lib/stripe/resources/terminal/location.rb +16 -0
- data/lib/stripe/resources/terminal/onboarding_link.rb +24 -0
- data/lib/stripe/resources/terminal/reader.rb +241 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +16 -0
- data/lib/stripe/resources/test_helpers/test_clock.rb +24 -0
- data/lib/stripe/resources/token.rb +8 -0
- data/lib/stripe/resources/topup.rb +8 -0
- data/lib/stripe/resources/transfer.rb +8 -0
- data/lib/stripe/resources/treasury/credit_reversal.rb +16 -0
- data/lib/stripe/resources/treasury/debit_reversal.rb +24 -0
- data/lib/stripe/resources/treasury/financial_account.rb +61 -0
- data/lib/stripe/resources/treasury/financial_account_features.rb +192 -0
- data/lib/stripe/resources/treasury/inbound_transfer.rb +69 -0
- data/lib/stripe/resources/treasury/outbound_payment.rb +106 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +114 -0
- data/lib/stripe/resources/treasury/received_credit.rb +97 -0
- data/lib/stripe/resources/treasury/received_debit.rb +89 -0
- data/lib/stripe/resources/treasury/transaction.rb +36 -0
- data/lib/stripe/resources/treasury/transaction_entry.rb +24 -0
- data/lib/stripe/resources/v2/billing/bill_setting.rb +40 -0
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +40 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +141 -0
- data/lib/stripe/resources/v2/billing/collection_setting.rb +150 -2
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +150 -2
- data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +8 -0
- data/lib/stripe/resources/v2/billing/intent.rb +27 -0
- data/lib/stripe/resources/v2/billing/intent_action.rb +195 -0
- data/lib/stripe/resources/v2/billing/license_fee.rb +24 -0
- data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +8 -0
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +24 -0
- data/lib/stripe/resources/v2/billing/licensed_item.rb +16 -0
- data/lib/stripe/resources/v2/billing/meter_event.rb +8 -0
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +16 -0
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +8 -0
- data/lib/stripe/resources/v2/billing/metered_item.rb +27 -0
- data/lib/stripe/resources/v2/billing/pricing_plan.rb +8 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +36 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +27 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +8 -0
- data/lib/stripe/resources/v2/billing/profile.rb +8 -0
- data/lib/stripe/resources/v2/billing/rate_card.rb +8 -0
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +36 -0
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +27 -0
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +8 -0
- data/lib/stripe/resources/v2/billing/service_action.rb +115 -0
- data/lib/stripe/resources/v2/core/account.rb +1900 -0
- data/lib/stripe/resources/v2/core/account_link.rb +51 -0
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +24 -0
- data/lib/stripe/resources/v2/core/person.rb +201 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +40 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +8 -0
- data/lib/stripe/resources/v2/event.rb +24 -0
- data/lib/stripe/resources/v2/event_destination.rb +44 -0
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +8 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +8 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +16 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +61 -0
- data/lib/stripe/resources/v2/money_management/financial_address.rb +32 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +90 -3
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +88 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +62 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +24 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +79 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +32 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +32 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +77 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +52 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +36 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +35 -0
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +24 -0
- data/lib/stripe/resources/v2/reporting/report.rb +52 -0
- data/lib/stripe/resources/v2/reporting/report_run.rb +69 -0
- data/lib/stripe/resources/v2/tax/automatic_rule.rb +8 -0
- data/lib/stripe/resources/webhook_endpoint.rb +8 -0
- data/lib/stripe/stripe_object.rb +25 -1
- data/lib/stripe/util.rb +9 -5
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe.rbi +280174 -0
- metadata +3 -2
@@ -18,12 +18,65 @@ module Stripe
|
|
18
18
|
end
|
19
19
|
|
20
20
|
class DestinationDetails < Stripe::StripeObject
|
21
|
-
class Affirm < Stripe::StripeObject
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
21
|
+
class Affirm < Stripe::StripeObject
|
22
|
+
def self.inner_class_types
|
23
|
+
@inner_class_types = {}
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.field_remappings
|
27
|
+
@field_remappings = {}
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
class AfterpayClearpay < Stripe::StripeObject
|
32
|
+
def self.inner_class_types
|
33
|
+
@inner_class_types = {}
|
34
|
+
end
|
35
|
+
|
36
|
+
def self.field_remappings
|
37
|
+
@field_remappings = {}
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
class Alipay < Stripe::StripeObject
|
42
|
+
def self.inner_class_types
|
43
|
+
@inner_class_types = {}
|
44
|
+
end
|
45
|
+
|
46
|
+
def self.field_remappings
|
47
|
+
@field_remappings = {}
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
class Alma < Stripe::StripeObject
|
52
|
+
def self.inner_class_types
|
53
|
+
@inner_class_types = {}
|
54
|
+
end
|
55
|
+
|
56
|
+
def self.field_remappings
|
57
|
+
@field_remappings = {}
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
class AmazonPay < Stripe::StripeObject
|
62
|
+
def self.inner_class_types
|
63
|
+
@inner_class_types = {}
|
64
|
+
end
|
65
|
+
|
66
|
+
def self.field_remappings
|
67
|
+
@field_remappings = {}
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
class AuBankTransfer < Stripe::StripeObject
|
72
|
+
def self.inner_class_types
|
73
|
+
@inner_class_types = {}
|
74
|
+
end
|
75
|
+
|
76
|
+
def self.field_remappings
|
77
|
+
@field_remappings = {}
|
78
|
+
end
|
79
|
+
end
|
27
80
|
|
28
81
|
class Blik < Stripe::StripeObject
|
29
82
|
# For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed.
|
@@ -32,6 +85,14 @@ module Stripe
|
|
32
85
|
attr_reader :reference
|
33
86
|
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
34
87
|
attr_reader :reference_status
|
88
|
+
|
89
|
+
def self.inner_class_types
|
90
|
+
@inner_class_types = {}
|
91
|
+
end
|
92
|
+
|
93
|
+
def self.field_remappings
|
94
|
+
@field_remappings = {}
|
95
|
+
end
|
35
96
|
end
|
36
97
|
|
37
98
|
class BrBankTransfer < Stripe::StripeObject
|
@@ -39,6 +100,14 @@ module Stripe
|
|
39
100
|
attr_reader :reference
|
40
101
|
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
41
102
|
attr_reader :reference_status
|
103
|
+
|
104
|
+
def self.inner_class_types
|
105
|
+
@inner_class_types = {}
|
106
|
+
end
|
107
|
+
|
108
|
+
def self.field_remappings
|
109
|
+
@field_remappings = {}
|
110
|
+
end
|
42
111
|
end
|
43
112
|
|
44
113
|
class Card < Stripe::StripeObject
|
@@ -50,17 +119,59 @@ module Stripe
|
|
50
119
|
attr_reader :reference_type
|
51
120
|
# The type of refund. This can be `refund`, `reversal`, or `pending`.
|
52
121
|
attr_reader :type
|
122
|
+
|
123
|
+
def self.inner_class_types
|
124
|
+
@inner_class_types = {}
|
125
|
+
end
|
126
|
+
|
127
|
+
def self.field_remappings
|
128
|
+
@field_remappings = {}
|
129
|
+
end
|
53
130
|
end
|
54
131
|
|
55
|
-
class Cashapp < Stripe::StripeObject
|
56
|
-
|
57
|
-
|
132
|
+
class Cashapp < Stripe::StripeObject
|
133
|
+
def self.inner_class_types
|
134
|
+
@inner_class_types = {}
|
135
|
+
end
|
136
|
+
|
137
|
+
def self.field_remappings
|
138
|
+
@field_remappings = {}
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
class CustomerCashBalance < Stripe::StripeObject
|
143
|
+
def self.inner_class_types
|
144
|
+
@inner_class_types = {}
|
145
|
+
end
|
146
|
+
|
147
|
+
def self.field_remappings
|
148
|
+
@field_remappings = {}
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
152
|
+
class Eps < Stripe::StripeObject
|
153
|
+
def self.inner_class_types
|
154
|
+
@inner_class_types = {}
|
155
|
+
end
|
156
|
+
|
157
|
+
def self.field_remappings
|
158
|
+
@field_remappings = {}
|
159
|
+
end
|
160
|
+
end
|
58
161
|
|
59
162
|
class EuBankTransfer < Stripe::StripeObject
|
60
163
|
# The reference assigned to the refund.
|
61
164
|
attr_reader :reference
|
62
165
|
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
63
166
|
attr_reader :reference_status
|
167
|
+
|
168
|
+
def self.inner_class_types
|
169
|
+
@inner_class_types = {}
|
170
|
+
end
|
171
|
+
|
172
|
+
def self.field_remappings
|
173
|
+
@field_remappings = {}
|
174
|
+
end
|
64
175
|
end
|
65
176
|
|
66
177
|
class GbBankTransfer < Stripe::StripeObject
|
@@ -68,16 +179,49 @@ module Stripe
|
|
68
179
|
attr_reader :reference
|
69
180
|
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
70
181
|
attr_reader :reference_status
|
182
|
+
|
183
|
+
def self.inner_class_types
|
184
|
+
@inner_class_types = {}
|
185
|
+
end
|
186
|
+
|
187
|
+
def self.field_remappings
|
188
|
+
@field_remappings = {}
|
189
|
+
end
|
71
190
|
end
|
72
191
|
|
73
|
-
class Giropay < Stripe::StripeObject
|
74
|
-
|
192
|
+
class Giropay < Stripe::StripeObject
|
193
|
+
def self.inner_class_types
|
194
|
+
@inner_class_types = {}
|
195
|
+
end
|
196
|
+
|
197
|
+
def self.field_remappings
|
198
|
+
@field_remappings = {}
|
199
|
+
end
|
200
|
+
end
|
201
|
+
|
202
|
+
class Grabpay < Stripe::StripeObject
|
203
|
+
def self.inner_class_types
|
204
|
+
@inner_class_types = {}
|
205
|
+
end
|
206
|
+
|
207
|
+
def self.field_remappings
|
208
|
+
@field_remappings = {}
|
209
|
+
end
|
210
|
+
end
|
75
211
|
|
76
212
|
class IdBankTransfer < Stripe::StripeObject
|
77
213
|
# The reference assigned to the refund.
|
78
214
|
attr_reader :reference
|
79
215
|
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
80
216
|
attr_reader :reference_status
|
217
|
+
|
218
|
+
def self.inner_class_types
|
219
|
+
@inner_class_types = {}
|
220
|
+
end
|
221
|
+
|
222
|
+
def self.field_remappings
|
223
|
+
@field_remappings = {}
|
224
|
+
end
|
81
225
|
end
|
82
226
|
|
83
227
|
class JpBankTransfer < Stripe::StripeObject
|
@@ -85,15 +229,39 @@ module Stripe
|
|
85
229
|
attr_reader :reference
|
86
230
|
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
87
231
|
attr_reader :reference_status
|
232
|
+
|
233
|
+
def self.inner_class_types
|
234
|
+
@inner_class_types = {}
|
235
|
+
end
|
236
|
+
|
237
|
+
def self.field_remappings
|
238
|
+
@field_remappings = {}
|
239
|
+
end
|
88
240
|
end
|
89
241
|
|
90
|
-
class Klarna < Stripe::StripeObject
|
242
|
+
class Klarna < Stripe::StripeObject
|
243
|
+
def self.inner_class_types
|
244
|
+
@inner_class_types = {}
|
245
|
+
end
|
246
|
+
|
247
|
+
def self.field_remappings
|
248
|
+
@field_remappings = {}
|
249
|
+
end
|
250
|
+
end
|
91
251
|
|
92
252
|
class Multibanco < Stripe::StripeObject
|
93
253
|
# The reference assigned to the refund.
|
94
254
|
attr_reader :reference
|
95
255
|
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
96
256
|
attr_reader :reference_status
|
257
|
+
|
258
|
+
def self.inner_class_types
|
259
|
+
@inner_class_types = {}
|
260
|
+
end
|
261
|
+
|
262
|
+
def self.field_remappings
|
263
|
+
@field_remappings = {}
|
264
|
+
end
|
97
265
|
end
|
98
266
|
|
99
267
|
class MxBankTransfer < Stripe::StripeObject
|
@@ -101,27 +269,93 @@ module Stripe
|
|
101
269
|
attr_reader :reference
|
102
270
|
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
103
271
|
attr_reader :reference_status
|
272
|
+
|
273
|
+
def self.inner_class_types
|
274
|
+
@inner_class_types = {}
|
275
|
+
end
|
276
|
+
|
277
|
+
def self.field_remappings
|
278
|
+
@field_remappings = {}
|
279
|
+
end
|
104
280
|
end
|
105
281
|
|
106
|
-
class NzBankTransfer < Stripe::StripeObject
|
282
|
+
class NzBankTransfer < Stripe::StripeObject
|
283
|
+
def self.inner_class_types
|
284
|
+
@inner_class_types = {}
|
285
|
+
end
|
286
|
+
|
287
|
+
def self.field_remappings
|
288
|
+
@field_remappings = {}
|
289
|
+
end
|
290
|
+
end
|
107
291
|
|
108
292
|
class P24 < Stripe::StripeObject
|
109
293
|
# The reference assigned to the refund.
|
110
294
|
attr_reader :reference
|
111
295
|
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
112
296
|
attr_reader :reference_status
|
297
|
+
|
298
|
+
def self.inner_class_types
|
299
|
+
@inner_class_types = {}
|
300
|
+
end
|
301
|
+
|
302
|
+
def self.field_remappings
|
303
|
+
@field_remappings = {}
|
304
|
+
end
|
113
305
|
end
|
114
306
|
|
115
|
-
class Paynow < Stripe::StripeObject
|
307
|
+
class Paynow < Stripe::StripeObject
|
308
|
+
def self.inner_class_types
|
309
|
+
@inner_class_types = {}
|
310
|
+
end
|
311
|
+
|
312
|
+
def self.field_remappings
|
313
|
+
@field_remappings = {}
|
314
|
+
end
|
315
|
+
end
|
116
316
|
|
117
317
|
class Paypal < Stripe::StripeObject
|
118
318
|
# For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed.
|
119
319
|
attr_reader :network_decline_code
|
320
|
+
|
321
|
+
def self.inner_class_types
|
322
|
+
@inner_class_types = {}
|
323
|
+
end
|
324
|
+
|
325
|
+
def self.field_remappings
|
326
|
+
@field_remappings = {}
|
327
|
+
end
|
328
|
+
end
|
329
|
+
|
330
|
+
class Pix < Stripe::StripeObject
|
331
|
+
def self.inner_class_types
|
332
|
+
@inner_class_types = {}
|
333
|
+
end
|
334
|
+
|
335
|
+
def self.field_remappings
|
336
|
+
@field_remappings = {}
|
337
|
+
end
|
338
|
+
end
|
339
|
+
|
340
|
+
class Revolut < Stripe::StripeObject
|
341
|
+
def self.inner_class_types
|
342
|
+
@inner_class_types = {}
|
343
|
+
end
|
344
|
+
|
345
|
+
def self.field_remappings
|
346
|
+
@field_remappings = {}
|
347
|
+
end
|
120
348
|
end
|
121
349
|
|
122
|
-
class
|
123
|
-
|
124
|
-
|
350
|
+
class Sofort < Stripe::StripeObject
|
351
|
+
def self.inner_class_types
|
352
|
+
@inner_class_types = {}
|
353
|
+
end
|
354
|
+
|
355
|
+
def self.field_remappings
|
356
|
+
@field_remappings = {}
|
357
|
+
end
|
358
|
+
end
|
125
359
|
|
126
360
|
class Swish < Stripe::StripeObject
|
127
361
|
# For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed.
|
@@ -130,6 +364,14 @@ module Stripe
|
|
130
364
|
attr_reader :reference
|
131
365
|
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
132
366
|
attr_reader :reference_status
|
367
|
+
|
368
|
+
def self.inner_class_types
|
369
|
+
@inner_class_types = {}
|
370
|
+
end
|
371
|
+
|
372
|
+
def self.field_remappings
|
373
|
+
@field_remappings = {}
|
374
|
+
end
|
133
375
|
end
|
134
376
|
|
135
377
|
class ThBankTransfer < Stripe::StripeObject
|
@@ -137,6 +379,14 @@ module Stripe
|
|
137
379
|
attr_reader :reference
|
138
380
|
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
139
381
|
attr_reader :reference_status
|
382
|
+
|
383
|
+
def self.inner_class_types
|
384
|
+
@inner_class_types = {}
|
385
|
+
end
|
386
|
+
|
387
|
+
def self.field_remappings
|
388
|
+
@field_remappings = {}
|
389
|
+
end
|
140
390
|
end
|
141
391
|
|
142
392
|
class UsBankTransfer < Stripe::StripeObject
|
@@ -144,10 +394,35 @@ module Stripe
|
|
144
394
|
attr_reader :reference
|
145
395
|
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
146
396
|
attr_reader :reference_status
|
397
|
+
|
398
|
+
def self.inner_class_types
|
399
|
+
@inner_class_types = {}
|
400
|
+
end
|
401
|
+
|
402
|
+
def self.field_remappings
|
403
|
+
@field_remappings = {}
|
404
|
+
end
|
147
405
|
end
|
148
406
|
|
149
|
-
class WechatPay < Stripe::StripeObject
|
150
|
-
|
407
|
+
class WechatPay < Stripe::StripeObject
|
408
|
+
def self.inner_class_types
|
409
|
+
@inner_class_types = {}
|
410
|
+
end
|
411
|
+
|
412
|
+
def self.field_remappings
|
413
|
+
@field_remappings = {}
|
414
|
+
end
|
415
|
+
end
|
416
|
+
|
417
|
+
class Zip < Stripe::StripeObject
|
418
|
+
def self.inner_class_types
|
419
|
+
@inner_class_types = {}
|
420
|
+
end
|
421
|
+
|
422
|
+
def self.field_remappings
|
423
|
+
@field_remappings = {}
|
424
|
+
end
|
425
|
+
end
|
151
426
|
# Attribute for field affirm
|
152
427
|
attr_reader :affirm
|
153
428
|
# Attribute for field afterpay_clearpay
|
@@ -216,6 +491,48 @@ module Stripe
|
|
216
491
|
attr_reader :wechat_pay
|
217
492
|
# Attribute for field zip
|
218
493
|
attr_reader :zip
|
494
|
+
|
495
|
+
def self.inner_class_types
|
496
|
+
@inner_class_types = {
|
497
|
+
affirm: Affirm,
|
498
|
+
afterpay_clearpay: AfterpayClearpay,
|
499
|
+
alipay: Alipay,
|
500
|
+
alma: Alma,
|
501
|
+
amazon_pay: AmazonPay,
|
502
|
+
au_bank_transfer: AuBankTransfer,
|
503
|
+
blik: Blik,
|
504
|
+
br_bank_transfer: BrBankTransfer,
|
505
|
+
card: Card,
|
506
|
+
cashapp: Cashapp,
|
507
|
+
customer_cash_balance: CustomerCashBalance,
|
508
|
+
eps: Eps,
|
509
|
+
eu_bank_transfer: EuBankTransfer,
|
510
|
+
gb_bank_transfer: GbBankTransfer,
|
511
|
+
giropay: Giropay,
|
512
|
+
grabpay: Grabpay,
|
513
|
+
id_bank_transfer: IdBankTransfer,
|
514
|
+
jp_bank_transfer: JpBankTransfer,
|
515
|
+
klarna: Klarna,
|
516
|
+
multibanco: Multibanco,
|
517
|
+
mx_bank_transfer: MxBankTransfer,
|
518
|
+
nz_bank_transfer: NzBankTransfer,
|
519
|
+
p24: P24,
|
520
|
+
paynow: Paynow,
|
521
|
+
paypal: Paypal,
|
522
|
+
pix: Pix,
|
523
|
+
revolut: Revolut,
|
524
|
+
sofort: Sofort,
|
525
|
+
swish: Swish,
|
526
|
+
th_bank_transfer: ThBankTransfer,
|
527
|
+
us_bank_transfer: UsBankTransfer,
|
528
|
+
wechat_pay: WechatPay,
|
529
|
+
zip: Zip,
|
530
|
+
}
|
531
|
+
end
|
532
|
+
|
533
|
+
def self.field_remappings
|
534
|
+
@field_remappings = {}
|
535
|
+
end
|
219
536
|
end
|
220
537
|
|
221
538
|
class NextAction < Stripe::StripeObject
|
@@ -225,16 +542,40 @@ module Stripe
|
|
225
542
|
attr_reader :email_sent_at
|
226
543
|
# The recipient's email address.
|
227
544
|
attr_reader :email_sent_to
|
545
|
+
|
546
|
+
def self.inner_class_types
|
547
|
+
@inner_class_types = {}
|
548
|
+
end
|
549
|
+
|
550
|
+
def self.field_remappings
|
551
|
+
@field_remappings = {}
|
552
|
+
end
|
228
553
|
end
|
229
554
|
# Attribute for field email_sent
|
230
555
|
attr_reader :email_sent
|
231
556
|
# The expiry timestamp.
|
232
557
|
attr_reader :expires_at
|
558
|
+
|
559
|
+
def self.inner_class_types
|
560
|
+
@inner_class_types = { email_sent: EmailSent }
|
561
|
+
end
|
562
|
+
|
563
|
+
def self.field_remappings
|
564
|
+
@field_remappings = {}
|
565
|
+
end
|
233
566
|
end
|
234
567
|
# Attribute for field display_details
|
235
568
|
attr_reader :display_details
|
236
569
|
# Type of the next action to perform.
|
237
570
|
attr_reader :type
|
571
|
+
|
572
|
+
def self.inner_class_types
|
573
|
+
@inner_class_types = { display_details: DisplayDetails }
|
574
|
+
end
|
575
|
+
|
576
|
+
def self.field_remappings
|
577
|
+
@field_remappings = {}
|
578
|
+
end
|
238
579
|
end
|
239
580
|
|
240
581
|
class PresentmentDetails < Stripe::StripeObject
|
@@ -242,6 +583,14 @@ module Stripe
|
|
242
583
|
attr_reader :presentment_amount
|
243
584
|
# Currency presented to the customer during payment.
|
244
585
|
attr_reader :presentment_currency
|
586
|
+
|
587
|
+
def self.inner_class_types
|
588
|
+
@inner_class_types = {}
|
589
|
+
end
|
590
|
+
|
591
|
+
def self.field_remappings
|
592
|
+
@field_remappings = {}
|
593
|
+
end
|
245
594
|
end
|
246
595
|
|
247
596
|
class ListParams < Stripe::RequestParams
|
@@ -511,5 +860,17 @@ module Stripe
|
|
511
860
|
)
|
512
861
|
end
|
513
862
|
end
|
863
|
+
|
864
|
+
def self.inner_class_types
|
865
|
+
@inner_class_types = {
|
866
|
+
destination_details: DestinationDetails,
|
867
|
+
next_action: NextAction,
|
868
|
+
presentment_details: PresentmentDetails,
|
869
|
+
}
|
870
|
+
end
|
871
|
+
|
872
|
+
def self.field_remappings
|
873
|
+
@field_remappings = {}
|
874
|
+
end
|
514
875
|
end
|
515
876
|
end
|
@@ -37,6 +37,14 @@ module Stripe
|
|
37
37
|
attr_reader :reporting_category
|
38
38
|
# Defaults to `Etc/UTC`. The output timezone for all timestamps in the report. A list of possible time zone values is maintained at the [IANA Time Zone Database](http://www.iana.org/time-zones). Has no effect on `interval_start` or `interval_end`.
|
39
39
|
attr_reader :timezone
|
40
|
+
|
41
|
+
def self.inner_class_types
|
42
|
+
@inner_class_types = {}
|
43
|
+
end
|
44
|
+
|
45
|
+
def self.field_remappings
|
46
|
+
@field_remappings = {}
|
47
|
+
end
|
40
48
|
end
|
41
49
|
|
42
50
|
class ListParams < Stripe::RequestParams
|
@@ -180,6 +188,14 @@ module Stripe
|
|
180
188
|
opts: opts
|
181
189
|
)
|
182
190
|
end
|
191
|
+
|
192
|
+
def self.inner_class_types
|
193
|
+
@inner_class_types = { parameters: Parameters }
|
194
|
+
end
|
195
|
+
|
196
|
+
def self.field_remappings
|
197
|
+
@field_remappings = {}
|
198
|
+
end
|
183
199
|
end
|
184
200
|
end
|
185
201
|
end
|
@@ -18,5 +18,13 @@ module Stripe
|
|
18
18
|
attr_reader :id
|
19
19
|
# String representing the object's type. Objects of the same type share the same value.
|
20
20
|
attr_reader :object
|
21
|
+
|
22
|
+
def self.inner_class_types
|
23
|
+
@inner_class_types = {}
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.field_remappings
|
27
|
+
@field_remappings = {}
|
28
|
+
end
|
21
29
|
end
|
22
30
|
end
|
@@ -62,5 +62,13 @@ module Stripe
|
|
62
62
|
"a reversal using `Transfer.retrieve_reversal('transfer_id', " \
|
63
63
|
"'reversal_id'`"
|
64
64
|
end
|
65
|
+
|
66
|
+
def self.inner_class_types
|
67
|
+
@inner_class_types = {}
|
68
|
+
end
|
69
|
+
|
70
|
+
def self.field_remappings
|
71
|
+
@field_remappings = {}
|
72
|
+
end
|
65
73
|
end
|
66
74
|
end
|
@@ -25,6 +25,14 @@ module Stripe
|
|
25
25
|
attr_reader :longitude
|
26
26
|
# The state/county/province/region where the payment originated.
|
27
27
|
attr_reader :region
|
28
|
+
|
29
|
+
def self.inner_class_types
|
30
|
+
@inner_class_types = {}
|
31
|
+
end
|
32
|
+
|
33
|
+
def self.field_remappings
|
34
|
+
@field_remappings = {}
|
35
|
+
end
|
28
36
|
end
|
29
37
|
|
30
38
|
class Session < Stripe::StripeObject
|
@@ -36,6 +44,14 @@ module Stripe
|
|
36
44
|
attr_reader :platform
|
37
45
|
# The version for the browser session (e.g., `61.0.3163.100`).
|
38
46
|
attr_reader :version
|
47
|
+
|
48
|
+
def self.inner_class_types
|
49
|
+
@inner_class_types = {}
|
50
|
+
end
|
51
|
+
|
52
|
+
def self.field_remappings
|
53
|
+
@field_remappings = {}
|
54
|
+
end
|
39
55
|
end
|
40
56
|
|
41
57
|
class ListParams < Stripe::RequestParams
|
@@ -137,5 +153,13 @@ module Stripe
|
|
137
153
|
def self.list(params = {}, opts = {})
|
138
154
|
request_stripe_object(method: :get, path: "/v1/reviews", params: params, opts: opts)
|
139
155
|
end
|
156
|
+
|
157
|
+
def self.inner_class_types
|
158
|
+
@inner_class_types = { ip_address_location: IpAddressLocation, session: Session }
|
159
|
+
end
|
160
|
+
|
161
|
+
def self.field_remappings
|
162
|
+
@field_remappings = {}
|
163
|
+
end
|
140
164
|
end
|
141
165
|
end
|