stripe 15.6.0.pre.alpha.2 → 15.6.0.pre.beta.1
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 +1 -71
- data/OPENAPI_VERSION +1 -1
- data/README.md +4 -6
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +0 -2
- data/lib/stripe/errors.rb +0 -3
- data/lib/stripe/event_types.rb +0 -83
- data/lib/stripe/object_types.rb +0 -27
- data/lib/stripe/resources/account.rb +0 -443
- data/lib/stripe/resources/account_link.rb +0 -8
- data/lib/stripe/resources/account_notice.rb +0 -24
- data/lib/stripe/resources/account_session.rb +10 -435
- data/lib/stripe/resources/apple_pay_domain.rb +0 -8
- data/lib/stripe/resources/application.rb +0 -8
- data/lib/stripe/resources/application_fee.rb +0 -16
- data/lib/stripe/resources/application_fee_refund.rb +0 -8
- data/lib/stripe/resources/apps/secret.rb +0 -16
- data/lib/stripe/resources/balance.rb +0 -159
- data/lib/stripe/resources/balance_settings.rb +0 -40
- data/lib/stripe/resources/balance_transaction.rb +0 -16
- data/lib/stripe/resources/bank_account.rb +0 -40
- data/lib/stripe/resources/billing/alert.rb +1 -203
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -14
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -130
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -157
- data/lib/stripe/resources/billing/credit_grant.rb +2 -133
- data/lib/stripe/resources/billing/meter.rb +0 -45
- data/lib/stripe/resources/billing/meter_event.rb +0 -8
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +0 -16
- data/lib/stripe/resources/billing/meter_event_summary.rb +0 -8
- data/lib/stripe/resources/billing/meter_usage.rb +0 -8
- data/lib/stripe/resources/billing/meter_usage_row.rb +0 -8
- data/lib/stripe/resources/billing_portal/configuration.rb +0 -122
- data/lib/stripe/resources/billing_portal/session.rb +0 -101
- data/lib/stripe/resources/capability.rb +0 -56
- data/lib/stripe/resources/capital/financing_offer.rb +0 -24
- data/lib/stripe/resources/capital/financing_summary.rb +0 -24
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -24
- data/lib/stripe/resources/card.rb +0 -16
- data/lib/stripe/resources/cash_balance.rb +0 -16
- data/lib/stripe/resources/charge.rb +20 -1052
- data/lib/stripe/resources/checkout/session.rb +1 -1078
- data/lib/stripe/resources/climate/order.rb +0 -32
- data/lib/stripe/resources/climate/product.rb +0 -16
- data/lib/stripe/resources/climate/supplier.rb +0 -16
- data/lib/stripe/resources/confirmation_token.rb +38 -960
- data/lib/stripe/resources/connect_collection_transfer.rb +0 -8
- data/lib/stripe/resources/country_spec.rb +0 -32
- data/lib/stripe/resources/coupon.rb +0 -36
- data/lib/stripe/resources/credit_note.rb +0 -70
- data/lib/stripe/resources/credit_note_line_item.rb +0 -53
- data/lib/stripe/resources/customer.rb +0 -77
- data/lib/stripe/resources/customer_balance_transaction.rb +0 -8
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -108
- data/lib/stripe/resources/customer_session.rb +0 -52
- data/lib/stripe/resources/discount.rb +0 -8
- data/lib/stripe/resources/dispute.rb +0 -166
- data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -8
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +0 -8
- data/lib/stripe/resources/entitlements/feature.rb +0 -8
- data/lib/stripe/resources/ephemeral_key.rb +0 -8
- data/lib/stripe/resources/event.rb +0 -56
- data/lib/stripe/resources/exchange_rate.rb +0 -8
- data/lib/stripe/resources/file.rb +0 -8
- data/lib/stripe/resources/file_link.rb +0 -8
- data/lib/stripe/resources/financial_connections/account.rb +0 -79
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -8
- data/lib/stripe/resources/financial_connections/account_owner.rb +0 -8
- data/lib/stripe/resources/financial_connections/account_ownership.rb +0 -8
- data/lib/stripe/resources/financial_connections/institution.rb +0 -53
- data/lib/stripe/resources/financial_connections/session.rb +1 -63
- data/lib/stripe/resources/financial_connections/transaction.rb +0 -16
- data/lib/stripe/resources/forwarding/request.rb +0 -52
- data/lib/stripe/resources/funding_instructions.rb +0 -193
- data/lib/stripe/resources/fx_quote.rb +0 -48
- data/lib/stripe/resources/identity/verification_report.rb +1 -166
- data/lib/stripe/resources/identity/verification_session.rb +1 -126
- data/lib/stripe/resources/invoice.rb +3 -452
- data/lib/stripe/resources/invoice_item.rb +0 -136
- data/lib/stripe/resources/invoice_line_item.rb +0 -238
- data/lib/stripe/resources/invoice_payment.rb +0 -24
- data/lib/stripe/resources/invoice_rendering_template.rb +0 -8
- data/lib/stripe/resources/issuing/authorization.rb +0 -177
- data/lib/stripe/resources/issuing/card.rb +8 -96
- data/lib/stripe/resources/issuing/cardholder.rb +0 -110
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -82
- data/lib/stripe/resources/issuing/dispute.rb +0 -97
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -16
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -8
- data/lib/stripe/resources/issuing/personalization_design.rb +0 -36
- data/lib/stripe/resources/issuing/physical_bundle.rb +0 -16
- data/lib/stripe/resources/issuing/settlement.rb +0 -8
- data/lib/stripe/resources/issuing/token.rb +0 -61
- data/lib/stripe/resources/issuing/transaction.rb +0 -151
- data/lib/stripe/resources/line_item.rb +0 -54
- data/lib/stripe/resources/login_link.rb +0 -8
- data/lib/stripe/resources/mandate.rb +11 -242
- data/lib/stripe/resources/margin.rb +0 -8
- data/lib/stripe/resources/order.rb +0 -348
- data/lib/stripe/resources/payment_attempt_record.rb +15 -890
- data/lib/stripe/resources/payment_intent.rb +3 -1405
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -56
- data/lib/stripe/resources/payment_link.rb +0 -337
- data/lib/stripe/resources/payment_method.rb +38 -884
- data/lib/stripe/resources/payment_method_configuration.rb +0 -961
- data/lib/stripe/resources/payment_method_domain.rb +0 -111
- data/lib/stripe/resources/payment_record.rb +15 -890
- data/lib/stripe/resources/payout.rb +0 -16
- data/lib/stripe/resources/person.rb +0 -180
- data/lib/stripe/resources/plan.rb +0 -24
- data/lib/stripe/resources/price.rb +0 -79
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -16
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -16
- data/lib/stripe/resources/product.rb +0 -27
- data/lib/stripe/resources/product_feature.rb +0 -8
- data/lib/stripe/resources/promotion_code.rb +0 -24
- data/lib/stripe/resources/quote.rb +0 -432
- data/lib/stripe/resources/quote_line.rb +0 -247
- data/lib/stripe/resources/quote_preview_invoice.rb +3 -457
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -323
- data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -8
- data/lib/stripe/resources/radar/value_list.rb +0 -8
- data/lib/stripe/resources/radar/value_list_item.rb +0 -8
- data/lib/stripe/resources/refund.rb +19 -380
- data/lib/stripe/resources/reporting/report_run.rb +0 -16
- data/lib/stripe/resources/reporting/report_type.rb +0 -8
- data/lib/stripe/resources/reserve_transaction.rb +0 -8
- data/lib/stripe/resources/reversal.rb +0 -8
- data/lib/stripe/resources/review.rb +0 -24
- data/lib/stripe/resources/setup_attempt.rb +20 -331
- data/lib/stripe/resources/setup_intent.rb +2 -293
- data/lib/stripe/resources/shipping_rate.rb +0 -48
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -16
- data/lib/stripe/resources/source.rb +0 -274
- data/lib/stripe/resources/source_mandate_notification.rb +0 -32
- data/lib/stripe/resources/source_transaction.rb +0 -54
- data/lib/stripe/resources/subscription.rb +3 -356
- data/lib/stripe/resources/subscription_item.rb +0 -24
- data/lib/stripe/resources/subscription_schedule.rb +0 -314
- data/lib/stripe/resources/tax/association.rb +0 -32
- data/lib/stripe/resources/tax/calculation.rb +0 -109
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -32
- data/lib/stripe/resources/tax/form.rb +0 -107
- data/lib/stripe/resources/tax/registration.rb +0 -1232
- data/lib/stripe/resources/tax/settings.rb +1 -61
- data/lib/stripe/resources/tax/transaction.rb +0 -93
- data/lib/stripe/resources/tax/transaction_line_item.rb +0 -16
- data/lib/stripe/resources/tax_code.rb +0 -8
- data/lib/stripe/resources/tax_deducted_at_source.rb +0 -8
- data/lib/stripe/resources/tax_id.rb +0 -24
- data/lib/stripe/resources/tax_rate.rb +0 -16
- data/lib/stripe/resources/terminal/configuration.rb +0 -299
- data/lib/stripe/resources/terminal/connection_token.rb +0 -8
- data/lib/stripe/resources/terminal/location.rb +0 -16
- data/lib/stripe/resources/terminal/onboarding_link.rb +0 -24
- data/lib/stripe/resources/terminal/reader.rb +0 -241
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -16
- data/lib/stripe/resources/test_helpers/test_clock.rb +0 -24
- data/lib/stripe/resources/token.rb +0 -8
- data/lib/stripe/resources/topup.rb +0 -8
- data/lib/stripe/resources/transfer.rb +0 -8
- data/lib/stripe/resources/treasury/credit_reversal.rb +0 -16
- data/lib/stripe/resources/treasury/debit_reversal.rb +0 -24
- data/lib/stripe/resources/treasury/financial_account.rb +0 -61
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -192
- data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -69
- data/lib/stripe/resources/treasury/outbound_payment.rb +0 -106
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -114
- data/lib/stripe/resources/treasury/received_credit.rb +0 -97
- data/lib/stripe/resources/treasury/received_debit.rb +0 -89
- data/lib/stripe/resources/treasury/transaction.rb +0 -36
- data/lib/stripe/resources/treasury/transaction_entry.rb +0 -24
- data/lib/stripe/resources/v2/billing/meter_event.rb +0 -8
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +0 -16
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +0 -8
- data/lib/stripe/resources/v2/core/account.rb +0 -1900
- data/lib/stripe/resources/v2/core/account_link.rb +0 -51
- data/lib/stripe/resources/v2/core/person.rb +0 -201
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -40
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -8
- data/lib/stripe/resources/v2/event.rb +0 -26
- data/lib/stripe/resources/v2/event_destination.rb +0 -44
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -8
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -8
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -16
- data/lib/stripe/resources/v2/money_management/financial_account.rb +2 -63
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -32
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +3 -90
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -88
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -62
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -24
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -79
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -32
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -32
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -77
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -52
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -36
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -35
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -24
- data/lib/stripe/resources/webhook_endpoint.rb +0 -8
- data/lib/stripe/resources.rb +0 -85
- data/lib/stripe/services/billing/alert_service.rb +1 -75
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +1 -13
- data/lib/stripe/services/billing/credit_grant_service.rb +2 -29
- data/lib/stripe/services/checkout/session_service.rb +1 -80
- data/lib/stripe/services/invoice_service.rb +0 -4
- data/lib/stripe/services/issuing/card_service.rb +8 -0
- data/lib/stripe/services/subscription_service.rb +0 -27
- data/lib/stripe/services/v2/billing_service.rb +1 -18
- data/lib/stripe/services/v2/core_service.rb +1 -2
- data/lib/stripe/services/v2_services.rb +1 -3
- data/lib/stripe/services.rb +0 -29
- data/lib/stripe/stripe_object.rb +1 -25
- data/lib/stripe/util.rb +5 -9
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe.rbi +37685 -116505
- metadata +2 -116
- data/lib/stripe/events/v2_billing_cadence_billed_event.rb +0 -21
- data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_billing_cadence_created_event.rb +0 -23
- data/lib/stripe/events/v2_billing_cadence_errored_event.rb +0 -21
- data/lib/stripe/events/v2_billing_license_fee_created_event.rb +0 -21
- data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +0 -23
- data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +0 -21
- data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_metered_item_created_event.rb +0 -21
- data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +0 -23
- data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +0 -23
- data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +0 -23
- data/lib/stripe/events/v2_billing_rate_card_created_event.rb +0 -23
- data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +0 -23
- data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +0 -23
- data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_reporting_report_run_created_event.rb +0 -21
- data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +0 -21
- data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +0 -21
- data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -323
- data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -296
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -284
- data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +0 -43
- data/lib/stripe/resources/v2/billing/intent.rb +0 -86
- data/lib/stripe/resources/v2/billing/intent_action.rb +0 -395
- data/lib/stripe/resources/v2/billing/license_fee.rb +0 -103
- data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +0 -44
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +0 -80
- data/lib/stripe/resources/v2/billing/licensed_item.rb +0 -60
- data/lib/stripe/resources/v2/billing/metered_item.rb +0 -85
- data/lib/stripe/resources/v2/billing/pricing_plan.rb +0 -51
- data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +0 -94
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +0 -90
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +0 -38
- data/lib/stripe/resources/v2/billing/profile.rb +0 -46
- data/lib/stripe/resources/v2/billing/rate_card.rb +0 -61
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +0 -107
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +0 -90
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +0 -34
- data/lib/stripe/resources/v2/billing/service_action.rb +0 -232
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +0 -81
- data/lib/stripe/resources/v2/reporting/report.rb +0 -116
- data/lib/stripe/resources/v2/reporting/report_run.rb +0 -158
- data/lib/stripe/resources/v2/tax/automatic_rule.rb +0 -39
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -214
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -45
- data/lib/stripe/services/v2/billing/cadence_service.rb +0 -428
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -518
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -45
- data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +0 -108
- data/lib/stripe/services/v2/billing/intent_service.rb +0 -465
- data/lib/stripe/services/v2/billing/intents/action_service.rb +0 -45
- data/lib/stripe/services/v2/billing/license_fee_service.rb +0 -250
- data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +0 -23
- data/lib/stripe/services/v2/billing/license_fees/version_service.rb +0 -45
- data/lib/stripe/services/v2/billing/licensed_item_service.rb +0 -149
- data/lib/stripe/services/v2/billing/metered_item_service.rb +0 -176
- data/lib/stripe/services/v2/billing/pricing_plan_service.rb +0 -142
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +0 -76
- data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +0 -162
- data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +0 -45
- data/lib/stripe/services/v2/billing/profile_service.rb +0 -144
- data/lib/stripe/services/v2/billing/rate_card_service.rb +0 -151
- data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +0 -144
- data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +0 -161
- data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +0 -45
- data/lib/stripe/services/v2/billing/service_action_service.rb +0 -259
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +0 -50
- data/lib/stripe/services/v2/reporting/report_run_service.rb +0 -88
- data/lib/stripe/services/v2/reporting/report_service.rb +0 -25
- data/lib/stripe/services/v2/reporting_service.rb +0 -16
- data/lib/stripe/services/v2/tax/automatic_rule_service.rb +0 -99
- data/lib/stripe/services/v2/tax_service.rb +0 -15
@@ -18,65 +18,12 @@ module Stripe
|
|
18
18
|
end
|
19
19
|
|
20
20
|
class DestinationDetails < Stripe::StripeObject
|
21
|
-
class Affirm < Stripe::StripeObject
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
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
|
21
|
+
class Affirm < Stripe::StripeObject; end
|
22
|
+
class AfterpayClearpay < Stripe::StripeObject; end
|
23
|
+
class Alipay < Stripe::StripeObject; end
|
24
|
+
class Alma < Stripe::StripeObject; end
|
25
|
+
class AmazonPay < Stripe::StripeObject; end
|
26
|
+
class AuBankTransfer < Stripe::StripeObject; end
|
80
27
|
|
81
28
|
class Blik < Stripe::StripeObject
|
82
29
|
# For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed.
|
@@ -85,14 +32,6 @@ module Stripe
|
|
85
32
|
attr_reader :reference
|
86
33
|
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
87
34
|
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
|
96
35
|
end
|
97
36
|
|
98
37
|
class BrBankTransfer < Stripe::StripeObject
|
@@ -100,14 +39,6 @@ module Stripe
|
|
100
39
|
attr_reader :reference
|
101
40
|
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
102
41
|
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
|
111
42
|
end
|
112
43
|
|
113
44
|
class Card < Stripe::StripeObject
|
@@ -119,59 +50,17 @@ module Stripe
|
|
119
50
|
attr_reader :reference_type
|
120
51
|
# The type of refund. This can be `refund`, `reversal`, or `pending`.
|
121
52
|
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
|
130
53
|
end
|
131
54
|
|
132
|
-
class Cashapp < Stripe::StripeObject
|
133
|
-
|
134
|
-
|
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
|
55
|
+
class Cashapp < Stripe::StripeObject; end
|
56
|
+
class CustomerCashBalance < Stripe::StripeObject; end
|
57
|
+
class Eps < Stripe::StripeObject; end
|
161
58
|
|
162
59
|
class EuBankTransfer < Stripe::StripeObject
|
163
60
|
# The reference assigned to the refund.
|
164
61
|
attr_reader :reference
|
165
62
|
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
166
63
|
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
|
175
64
|
end
|
176
65
|
|
177
66
|
class GbBankTransfer < Stripe::StripeObject
|
@@ -179,49 +68,16 @@ module Stripe
|
|
179
68
|
attr_reader :reference
|
180
69
|
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
181
70
|
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
|
190
71
|
end
|
191
72
|
|
192
|
-
class Giropay < Stripe::StripeObject
|
193
|
-
|
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
|
73
|
+
class Giropay < Stripe::StripeObject; end
|
74
|
+
class Grabpay < Stripe::StripeObject; end
|
211
75
|
|
212
76
|
class IdBankTransfer < Stripe::StripeObject
|
213
77
|
# The reference assigned to the refund.
|
214
78
|
attr_reader :reference
|
215
79
|
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
216
80
|
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
|
225
81
|
end
|
226
82
|
|
227
83
|
class JpBankTransfer < Stripe::StripeObject
|
@@ -229,39 +85,15 @@ module Stripe
|
|
229
85
|
attr_reader :reference
|
230
86
|
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
231
87
|
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
|
240
88
|
end
|
241
89
|
|
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
|
90
|
+
class Klarna < Stripe::StripeObject; end
|
251
91
|
|
252
92
|
class Multibanco < Stripe::StripeObject
|
253
93
|
# The reference assigned to the refund.
|
254
94
|
attr_reader :reference
|
255
95
|
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
256
96
|
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
|
265
97
|
end
|
266
98
|
|
267
99
|
class MxBankTransfer < Stripe::StripeObject
|
@@ -269,93 +101,27 @@ module Stripe
|
|
269
101
|
attr_reader :reference
|
270
102
|
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
271
103
|
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
|
280
104
|
end
|
281
105
|
|
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
|
106
|
+
class NzBankTransfer < Stripe::StripeObject; end
|
291
107
|
|
292
108
|
class P24 < Stripe::StripeObject
|
293
109
|
# The reference assigned to the refund.
|
294
110
|
attr_reader :reference
|
295
111
|
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
296
112
|
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
|
305
113
|
end
|
306
114
|
|
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
|
115
|
+
class Paynow < Stripe::StripeObject; end
|
316
116
|
|
317
117
|
class Paypal < Stripe::StripeObject
|
318
118
|
# For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed.
|
319
119
|
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
|
348
120
|
end
|
349
121
|
|
350
|
-
class
|
351
|
-
|
352
|
-
|
353
|
-
end
|
354
|
-
|
355
|
-
def self.field_remappings
|
356
|
-
@field_remappings = {}
|
357
|
-
end
|
358
|
-
end
|
122
|
+
class Pix < Stripe::StripeObject; end
|
123
|
+
class Revolut < Stripe::StripeObject; end
|
124
|
+
class Sofort < Stripe::StripeObject; end
|
359
125
|
|
360
126
|
class Swish < Stripe::StripeObject
|
361
127
|
# For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed.
|
@@ -364,14 +130,6 @@ module Stripe
|
|
364
130
|
attr_reader :reference
|
365
131
|
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
366
132
|
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
|
375
133
|
end
|
376
134
|
|
377
135
|
class ThBankTransfer < Stripe::StripeObject
|
@@ -379,14 +137,6 @@ module Stripe
|
|
379
137
|
attr_reader :reference
|
380
138
|
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
381
139
|
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
|
390
140
|
end
|
391
141
|
|
392
142
|
class UsBankTransfer < Stripe::StripeObject
|
@@ -394,35 +144,10 @@ module Stripe
|
|
394
144
|
attr_reader :reference
|
395
145
|
# Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.
|
396
146
|
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
|
405
147
|
end
|
406
148
|
|
407
|
-
class WechatPay < Stripe::StripeObject
|
408
|
-
|
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
|
149
|
+
class WechatPay < Stripe::StripeObject; end
|
150
|
+
class Zip < Stripe::StripeObject; end
|
426
151
|
# Attribute for field affirm
|
427
152
|
attr_reader :affirm
|
428
153
|
# Attribute for field afterpay_clearpay
|
@@ -491,48 +216,6 @@ module Stripe
|
|
491
216
|
attr_reader :wechat_pay
|
492
217
|
# Attribute for field zip
|
493
218
|
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
|
536
219
|
end
|
537
220
|
|
538
221
|
class NextAction < Stripe::StripeObject
|
@@ -542,40 +225,16 @@ module Stripe
|
|
542
225
|
attr_reader :email_sent_at
|
543
226
|
# The recipient's email address.
|
544
227
|
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
|
553
228
|
end
|
554
229
|
# Attribute for field email_sent
|
555
230
|
attr_reader :email_sent
|
556
231
|
# The expiry timestamp.
|
557
232
|
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
|
566
233
|
end
|
567
234
|
# Attribute for field display_details
|
568
235
|
attr_reader :display_details
|
569
236
|
# Type of the next action to perform.
|
570
237
|
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
|
579
238
|
end
|
580
239
|
|
581
240
|
class PresentmentDetails < Stripe::StripeObject
|
@@ -583,14 +242,6 @@ module Stripe
|
|
583
242
|
attr_reader :presentment_amount
|
584
243
|
# Currency presented to the customer during payment.
|
585
244
|
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
|
594
245
|
end
|
595
246
|
|
596
247
|
class ListParams < Stripe::RequestParams
|
@@ -860,17 +511,5 @@ module Stripe
|
|
860
511
|
)
|
861
512
|
end
|
862
513
|
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
|
875
514
|
end
|
876
515
|
end
|
@@ -37,14 +37,6 @@ 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
|
48
40
|
end
|
49
41
|
|
50
42
|
class ListParams < Stripe::RequestParams
|
@@ -188,14 +180,6 @@ module Stripe
|
|
188
180
|
opts: opts
|
189
181
|
)
|
190
182
|
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
|
199
183
|
end
|
200
184
|
end
|
201
185
|
end
|
@@ -18,13 +18,5 @@ 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
|
29
21
|
end
|
30
22
|
end
|
@@ -62,13 +62,5 @@ 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
|
73
65
|
end
|
74
66
|
end
|
@@ -25,14 +25,6 @@ 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
|
36
28
|
end
|
37
29
|
|
38
30
|
class Session < Stripe::StripeObject
|
@@ -44,14 +36,6 @@ module Stripe
|
|
44
36
|
attr_reader :platform
|
45
37
|
# The version for the browser session (e.g., `61.0.3163.100`).
|
46
38
|
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
|
55
39
|
end
|
56
40
|
|
57
41
|
class ListParams < Stripe::RequestParams
|
@@ -153,13 +137,5 @@ module Stripe
|
|
153
137
|
def self.list(params = {}, opts = {})
|
154
138
|
request_stripe_object(method: :get, path: "/v1/reviews", params: params, opts: opts)
|
155
139
|
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
|
164
140
|
end
|
165
141
|
end
|