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
@@ -21,14 +21,6 @@ module Stripe
|
|
21
21
|
attr_reader :purpose
|
22
22
|
# Date when the applicant submitted their application.
|
23
23
|
attr_reader :submitted_at
|
24
|
-
|
25
|
-
def self.inner_class_types
|
26
|
-
@inner_class_types = {}
|
27
|
-
end
|
28
|
-
|
29
|
-
def self.field_remappings
|
30
|
-
@field_remappings = {}
|
31
|
-
end
|
32
24
|
end
|
33
25
|
|
34
26
|
class CreditUser < Stripe::StripeObject
|
@@ -36,14 +28,6 @@ module Stripe
|
|
36
28
|
attr_reader :email
|
37
29
|
# Full name of the company or person.
|
38
30
|
attr_reader :name
|
39
|
-
|
40
|
-
def self.inner_class_types
|
41
|
-
@inner_class_types = {}
|
42
|
-
end
|
43
|
-
|
44
|
-
def self.field_remappings
|
45
|
-
@field_remappings = {}
|
46
|
-
end
|
47
31
|
end
|
48
32
|
|
49
33
|
class Decision < Stripe::StripeObject
|
@@ -52,14 +36,6 @@ module Stripe
|
|
52
36
|
attr_reader :reason_other_explanation
|
53
37
|
# List of reasons why the application was rejected up to 4 reasons, in order of importance.
|
54
38
|
attr_reader :reasons
|
55
|
-
|
56
|
-
def self.inner_class_types
|
57
|
-
@inner_class_types = {}
|
58
|
-
end
|
59
|
-
|
60
|
-
def self.field_remappings
|
61
|
-
@field_remappings = {}
|
62
|
-
end
|
63
39
|
end
|
64
40
|
|
65
41
|
class CreditLimitApproved < Stripe::StripeObject
|
@@ -67,14 +43,6 @@ module Stripe
|
|
67
43
|
attr_reader :amount
|
68
44
|
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
69
45
|
attr_reader :currency
|
70
|
-
|
71
|
-
def self.inner_class_types
|
72
|
-
@inner_class_types = {}
|
73
|
-
end
|
74
|
-
|
75
|
-
def self.field_remappings
|
76
|
-
@field_remappings = {}
|
77
|
-
end
|
78
46
|
end
|
79
47
|
|
80
48
|
class CreditLimitDecreased < Stripe::StripeObject
|
@@ -86,14 +54,6 @@ module Stripe
|
|
86
54
|
attr_reader :reason_other_explanation
|
87
55
|
# List of reasons why the existing credit was decreased, up to 4 reasons, in order of importance.
|
88
56
|
attr_reader :reasons
|
89
|
-
|
90
|
-
def self.inner_class_types
|
91
|
-
@inner_class_types = {}
|
92
|
-
end
|
93
|
-
|
94
|
-
def self.field_remappings
|
95
|
-
@field_remappings = {}
|
96
|
-
end
|
97
57
|
end
|
98
58
|
|
99
59
|
class CreditLineClosed < Stripe::StripeObject
|
@@ -101,14 +61,6 @@ module Stripe
|
|
101
61
|
attr_reader :reason_other_explanation
|
102
62
|
# List of reasons why the existing account was closed, up to 4 reasons, in order of importance.
|
103
63
|
attr_reader :reasons
|
104
|
-
|
105
|
-
def self.inner_class_types
|
106
|
-
@inner_class_types = {}
|
107
|
-
end
|
108
|
-
|
109
|
-
def self.field_remappings
|
110
|
-
@field_remappings = {}
|
111
|
-
end
|
112
64
|
end
|
113
65
|
# Details about a decision application_rejected.
|
114
66
|
attr_reader :application_rejected
|
@@ -120,19 +72,6 @@ module Stripe
|
|
120
72
|
attr_reader :credit_line_closed
|
121
73
|
# Outcome of the decision.
|
122
74
|
attr_reader :type
|
123
|
-
|
124
|
-
def self.inner_class_types
|
125
|
-
@inner_class_types = {
|
126
|
-
application_rejected: ApplicationRejected,
|
127
|
-
credit_limit_approved: CreditLimitApproved,
|
128
|
-
credit_limit_decreased: CreditLimitDecreased,
|
129
|
-
credit_line_closed: CreditLineClosed,
|
130
|
-
}
|
131
|
-
end
|
132
|
-
|
133
|
-
def self.field_remappings
|
134
|
-
@field_remappings = {}
|
135
|
-
end
|
136
75
|
end
|
137
76
|
|
138
77
|
class UnderwritingException < Stripe::StripeObject
|
@@ -140,14 +79,6 @@ module Stripe
|
|
140
79
|
attr_reader :explanation
|
141
80
|
# The decision before the exception was applied.
|
142
81
|
attr_reader :original_decision_type
|
143
|
-
|
144
|
-
def self.inner_class_types
|
145
|
-
@inner_class_types = {}
|
146
|
-
end
|
147
|
-
|
148
|
-
def self.field_remappings
|
149
|
-
@field_remappings = {}
|
150
|
-
end
|
151
82
|
end
|
152
83
|
|
153
84
|
class ListParams < Stripe::RequestParams
|
@@ -666,19 +597,6 @@ module Stripe
|
|
666
597
|
opts: opts
|
667
598
|
)
|
668
599
|
end
|
669
|
-
|
670
|
-
def self.inner_class_types
|
671
|
-
@inner_class_types = {
|
672
|
-
application: Application,
|
673
|
-
credit_user: CreditUser,
|
674
|
-
decision: Decision,
|
675
|
-
underwriting_exception: UnderwritingException,
|
676
|
-
}
|
677
|
-
end
|
678
|
-
|
679
|
-
def self.field_remappings
|
680
|
-
@field_remappings = {}
|
681
|
-
end
|
682
600
|
end
|
683
601
|
end
|
684
602
|
end
|
@@ -38,14 +38,6 @@ module Stripe
|
|
38
38
|
attr_reader :return_status
|
39
39
|
# Date when the product was returned or attempted to be returned.
|
40
40
|
attr_reader :returned_at
|
41
|
-
|
42
|
-
def self.inner_class_types
|
43
|
-
@inner_class_types = {}
|
44
|
-
end
|
45
|
-
|
46
|
-
def self.field_remappings
|
47
|
-
@field_remappings = {}
|
48
|
-
end
|
49
41
|
end
|
50
42
|
|
51
43
|
class Duplicate < Stripe::StripeObject
|
@@ -61,14 +53,6 @@ module Stripe
|
|
61
53
|
attr_reader :explanation
|
62
54
|
# Transaction (e.g., ipi_...) that the disputed transaction is a duplicate of. Of the two or more transactions that are copies of each other, this is original undisputed one.
|
63
55
|
attr_reader :original_transaction
|
64
|
-
|
65
|
-
def self.inner_class_types
|
66
|
-
@inner_class_types = {}
|
67
|
-
end
|
68
|
-
|
69
|
-
def self.field_remappings
|
70
|
-
@field_remappings = {}
|
71
|
-
end
|
72
56
|
end
|
73
57
|
|
74
58
|
class Fraudulent < Stripe::StripeObject
|
@@ -76,14 +60,6 @@ module Stripe
|
|
76
60
|
attr_reader :additional_documentation
|
77
61
|
# Explanation of why the cardholder is disputing this transaction.
|
78
62
|
attr_reader :explanation
|
79
|
-
|
80
|
-
def self.inner_class_types
|
81
|
-
@inner_class_types = {}
|
82
|
-
end
|
83
|
-
|
84
|
-
def self.field_remappings
|
85
|
-
@field_remappings = {}
|
86
|
-
end
|
87
63
|
end
|
88
64
|
|
89
65
|
class MerchandiseNotAsDescribed < Stripe::StripeObject
|
@@ -99,14 +75,6 @@ module Stripe
|
|
99
75
|
attr_reader :return_status
|
100
76
|
# Date when the product was returned or attempted to be returned.
|
101
77
|
attr_reader :returned_at
|
102
|
-
|
103
|
-
def self.inner_class_types
|
104
|
-
@inner_class_types = {}
|
105
|
-
end
|
106
|
-
|
107
|
-
def self.field_remappings
|
108
|
-
@field_remappings = {}
|
109
|
-
end
|
110
78
|
end
|
111
79
|
|
112
80
|
class NoValidAuthorization < Stripe::StripeObject
|
@@ -114,14 +82,6 @@ module Stripe
|
|
114
82
|
attr_reader :additional_documentation
|
115
83
|
# Explanation of why the cardholder is disputing this transaction.
|
116
84
|
attr_reader :explanation
|
117
|
-
|
118
|
-
def self.inner_class_types
|
119
|
-
@inner_class_types = {}
|
120
|
-
end
|
121
|
-
|
122
|
-
def self.field_remappings
|
123
|
-
@field_remappings = {}
|
124
|
-
end
|
125
85
|
end
|
126
86
|
|
127
87
|
class NotReceived < Stripe::StripeObject
|
@@ -135,14 +95,6 @@ module Stripe
|
|
135
95
|
attr_reader :product_description
|
136
96
|
# Whether the product was a merchandise or service.
|
137
97
|
attr_reader :product_type
|
138
|
-
|
139
|
-
def self.inner_class_types
|
140
|
-
@inner_class_types = {}
|
141
|
-
end
|
142
|
-
|
143
|
-
def self.field_remappings
|
144
|
-
@field_remappings = {}
|
145
|
-
end
|
146
98
|
end
|
147
99
|
|
148
100
|
class Other < Stripe::StripeObject
|
@@ -154,14 +106,6 @@ module Stripe
|
|
154
106
|
attr_reader :product_description
|
155
107
|
# Whether the product was a merchandise or service.
|
156
108
|
attr_reader :product_type
|
157
|
-
|
158
|
-
def self.inner_class_types
|
159
|
-
@inner_class_types = {}
|
160
|
-
end
|
161
|
-
|
162
|
-
def self.field_remappings
|
163
|
-
@field_remappings = {}
|
164
|
-
end
|
165
109
|
end
|
166
110
|
|
167
111
|
class ServiceNotAsDescribed < Stripe::StripeObject
|
@@ -175,14 +119,6 @@ module Stripe
|
|
175
119
|
attr_reader :explanation
|
176
120
|
# Date when the product was received.
|
177
121
|
attr_reader :received_at
|
178
|
-
|
179
|
-
def self.inner_class_types
|
180
|
-
@inner_class_types = {}
|
181
|
-
end
|
182
|
-
|
183
|
-
def self.field_remappings
|
184
|
-
@field_remappings = {}
|
185
|
-
end
|
186
122
|
end
|
187
123
|
# Attribute for field canceled
|
188
124
|
attr_reader :canceled
|
@@ -202,23 +138,6 @@ module Stripe
|
|
202
138
|
attr_reader :reason
|
203
139
|
# Attribute for field service_not_as_described
|
204
140
|
attr_reader :service_not_as_described
|
205
|
-
|
206
|
-
def self.inner_class_types
|
207
|
-
@inner_class_types = {
|
208
|
-
canceled: Canceled,
|
209
|
-
duplicate: Duplicate,
|
210
|
-
fraudulent: Fraudulent,
|
211
|
-
merchandise_not_as_described: MerchandiseNotAsDescribed,
|
212
|
-
no_valid_authorization: NoValidAuthorization,
|
213
|
-
not_received: NotReceived,
|
214
|
-
other: Other,
|
215
|
-
service_not_as_described: ServiceNotAsDescribed,
|
216
|
-
}
|
217
|
-
end
|
218
|
-
|
219
|
-
def self.field_remappings
|
220
|
-
@field_remappings = {}
|
221
|
-
end
|
222
141
|
end
|
223
142
|
|
224
143
|
class Treasury < Stripe::StripeObject
|
@@ -226,14 +145,6 @@ module Stripe
|
|
226
145
|
attr_reader :debit_reversal
|
227
146
|
# The Treasury [ReceivedDebit](https://stripe.com/docs/api/treasury/received_debits) that is being disputed.
|
228
147
|
attr_reader :received_debit
|
229
|
-
|
230
|
-
def self.inner_class_types
|
231
|
-
@inner_class_types = {}
|
232
|
-
end
|
233
|
-
|
234
|
-
def self.field_remappings
|
235
|
-
@field_remappings = {}
|
236
|
-
end
|
237
148
|
end
|
238
149
|
|
239
150
|
class ListParams < Stripe::RequestParams
|
@@ -935,14 +846,6 @@ module Stripe
|
|
935
846
|
opts: opts
|
936
847
|
)
|
937
848
|
end
|
938
|
-
|
939
|
-
def self.inner_class_types
|
940
|
-
@inner_class_types = { evidence: Evidence, treasury: Treasury }
|
941
|
-
end
|
942
|
-
|
943
|
-
def self.field_remappings
|
944
|
-
@field_remappings = {}
|
945
|
-
end
|
946
849
|
end
|
947
850
|
end
|
948
851
|
end
|
@@ -15,14 +15,6 @@ module Stripe
|
|
15
15
|
class NetworkData < Stripe::StripeObject
|
16
16
|
# The date the transaction was processed by the card network. This can be different from the date the seller recorded the transaction depending on when the acquirer submits the transaction to the network.
|
17
17
|
attr_reader :processing_date
|
18
|
-
|
19
|
-
def self.inner_class_types
|
20
|
-
@inner_class_types = {}
|
21
|
-
end
|
22
|
-
|
23
|
-
def self.field_remappings
|
24
|
-
@field_remappings = {}
|
25
|
-
end
|
26
18
|
end
|
27
19
|
|
28
20
|
class ListParams < Stripe::RequestParams
|
@@ -85,14 +77,6 @@ module Stripe
|
|
85
77
|
opts: opts
|
86
78
|
)
|
87
79
|
end
|
88
|
-
|
89
|
-
def self.inner_class_types
|
90
|
-
@inner_class_types = { network_data: NetworkData }
|
91
|
-
end
|
92
|
-
|
93
|
-
def self.field_remappings
|
94
|
-
@field_remappings = {}
|
95
|
-
end
|
96
80
|
end
|
97
81
|
end
|
98
82
|
end
|
@@ -23,14 +23,6 @@ module Stripe
|
|
23
23
|
attr_reader :header_body
|
24
24
|
# The header title text of the carrier letter.
|
25
25
|
attr_reader :header_title
|
26
|
-
|
27
|
-
def self.inner_class_types
|
28
|
-
@inner_class_types = {}
|
29
|
-
end
|
30
|
-
|
31
|
-
def self.field_remappings
|
32
|
-
@field_remappings = {}
|
33
|
-
end
|
34
26
|
end
|
35
27
|
|
36
28
|
class Preferences < Stripe::StripeObject
|
@@ -38,14 +30,6 @@ module Stripe
|
|
38
30
|
attr_reader :is_default
|
39
31
|
# Whether this personalization design is used to create cards when one is not specified and a default for this connected account does not exist.
|
40
32
|
attr_reader :is_platform_default
|
41
|
-
|
42
|
-
def self.inner_class_types
|
43
|
-
@inner_class_types = {}
|
44
|
-
end
|
45
|
-
|
46
|
-
def self.field_remappings
|
47
|
-
@field_remappings = {}
|
48
|
-
end
|
49
33
|
end
|
50
34
|
|
51
35
|
class RejectionReasons < Stripe::StripeObject
|
@@ -53,14 +37,6 @@ module Stripe
|
|
53
37
|
attr_reader :card_logo
|
54
38
|
# The reason(s) the carrier text was rejected.
|
55
39
|
attr_reader :carrier_text
|
56
|
-
|
57
|
-
def self.inner_class_types
|
58
|
-
@inner_class_types = {}
|
59
|
-
end
|
60
|
-
|
61
|
-
def self.field_remappings
|
62
|
-
@field_remappings = {}
|
63
|
-
end
|
64
40
|
end
|
65
41
|
|
66
42
|
class ListParams < Stripe::RequestParams
|
@@ -414,18 +390,6 @@ module Stripe
|
|
414
390
|
)
|
415
391
|
end
|
416
392
|
end
|
417
|
-
|
418
|
-
def self.inner_class_types
|
419
|
-
@inner_class_types = {
|
420
|
-
carrier_text: CarrierText,
|
421
|
-
preferences: Preferences,
|
422
|
-
rejection_reasons: RejectionReasons,
|
423
|
-
}
|
424
|
-
end
|
425
|
-
|
426
|
-
def self.field_remappings
|
427
|
-
@field_remappings = {}
|
428
|
-
end
|
429
393
|
end
|
430
394
|
end
|
431
395
|
end
|
@@ -19,14 +19,6 @@ module Stripe
|
|
19
19
|
attr_reader :carrier_text
|
20
20
|
# The policy for how to use a second line on a card with this physical bundle.
|
21
21
|
attr_reader :second_line
|
22
|
-
|
23
|
-
def self.inner_class_types
|
24
|
-
@inner_class_types = {}
|
25
|
-
end
|
26
|
-
|
27
|
-
def self.field_remappings
|
28
|
-
@field_remappings = {}
|
29
|
-
end
|
30
22
|
end
|
31
23
|
|
32
24
|
class ListParams < Stripe::RequestParams
|
@@ -83,14 +75,6 @@ module Stripe
|
|
83
75
|
opts: opts
|
84
76
|
)
|
85
77
|
end
|
86
|
-
|
87
|
-
def self.inner_class_types
|
88
|
-
@inner_class_types = { features: Features }
|
89
|
-
end
|
90
|
-
|
91
|
-
def self.field_remappings
|
92
|
-
@field_remappings = {}
|
93
|
-
end
|
94
78
|
end
|
95
79
|
end
|
96
80
|
end
|
@@ -48,14 +48,6 @@ module Stripe
|
|
48
48
|
attr_reader :transaction_amount
|
49
49
|
# The total number of transactions reflected in this settlement.
|
50
50
|
attr_reader :transaction_count
|
51
|
-
|
52
|
-
def self.inner_class_types
|
53
|
-
@inner_class_types = {}
|
54
|
-
end
|
55
|
-
|
56
|
-
def self.field_remappings
|
57
|
-
@field_remappings = {}
|
58
|
-
end
|
59
51
|
end
|
60
52
|
end
|
61
53
|
end
|
@@ -27,14 +27,6 @@ module Stripe
|
|
27
27
|
attr_reader :phone_number
|
28
28
|
# The type of device used for tokenization.
|
29
29
|
attr_reader :type
|
30
|
-
|
31
|
-
def self.inner_class_types
|
32
|
-
@inner_class_types = {}
|
33
|
-
end
|
34
|
-
|
35
|
-
def self.field_remappings
|
36
|
-
@field_remappings = {}
|
37
|
-
end
|
38
30
|
end
|
39
31
|
|
40
32
|
class Mastercard < Stripe::StripeObject
|
@@ -46,14 +38,6 @@ module Stripe
|
|
46
38
|
attr_reader :token_requestor_id
|
47
39
|
# The name of the entity requesting tokenization, if known. This is directly provided from MasterCard.
|
48
40
|
attr_reader :token_requestor_name
|
49
|
-
|
50
|
-
def self.inner_class_types
|
51
|
-
@inner_class_types = {}
|
52
|
-
end
|
53
|
-
|
54
|
-
def self.field_remappings
|
55
|
-
@field_remappings = {}
|
56
|
-
end
|
57
41
|
end
|
58
42
|
|
59
43
|
class Visa < Stripe::StripeObject
|
@@ -65,14 +49,6 @@ module Stripe
|
|
65
49
|
attr_reader :token_requestor_id
|
66
50
|
# Degree of risk associated with the token between `01` and `99`, with higher number indicating higher risk. A `00` value indicates the token was not scored by Visa.
|
67
51
|
attr_reader :token_risk_score
|
68
|
-
|
69
|
-
def self.inner_class_types
|
70
|
-
@inner_class_types = {}
|
71
|
-
end
|
72
|
-
|
73
|
-
def self.field_remappings
|
74
|
-
@field_remappings = {}
|
75
|
-
end
|
76
52
|
end
|
77
53
|
|
78
54
|
class WalletProvider < Stripe::StripeObject
|
@@ -81,14 +57,6 @@ module Stripe
|
|
81
57
|
attr_reader :line1
|
82
58
|
# The postal code of the cardholder tokenizing the card.
|
83
59
|
attr_reader :postal_code
|
84
|
-
|
85
|
-
def self.inner_class_types
|
86
|
-
@inner_class_types = {}
|
87
|
-
end
|
88
|
-
|
89
|
-
def self.field_remappings
|
90
|
-
@field_remappings = {}
|
91
|
-
end
|
92
60
|
end
|
93
61
|
# The wallet provider-given account ID of the digital wallet the token belongs to.
|
94
62
|
attr_reader :account_id
|
@@ -110,14 +78,6 @@ module Stripe
|
|
110
78
|
attr_reader :suggested_decision
|
111
79
|
# The version of the standard for mapping reason codes followed by the wallet provider.
|
112
80
|
attr_reader :suggested_decision_version
|
113
|
-
|
114
|
-
def self.inner_class_types
|
115
|
-
@inner_class_types = { cardholder_address: CardholderAddress }
|
116
|
-
end
|
117
|
-
|
118
|
-
def self.field_remappings
|
119
|
-
@field_remappings = {}
|
120
|
-
end
|
121
81
|
end
|
122
82
|
# Attribute for field device
|
123
83
|
attr_reader :device
|
@@ -129,19 +89,6 @@ module Stripe
|
|
129
89
|
attr_reader :visa
|
130
90
|
# Attribute for field wallet_provider
|
131
91
|
attr_reader :wallet_provider
|
132
|
-
|
133
|
-
def self.inner_class_types
|
134
|
-
@inner_class_types = {
|
135
|
-
device: Device,
|
136
|
-
mastercard: Mastercard,
|
137
|
-
visa: Visa,
|
138
|
-
wallet_provider: WalletProvider,
|
139
|
-
}
|
140
|
-
end
|
141
|
-
|
142
|
-
def self.field_remappings
|
143
|
-
@field_remappings = {}
|
144
|
-
end
|
145
92
|
end
|
146
93
|
|
147
94
|
class ListParams < Stripe::RequestParams
|
@@ -246,14 +193,6 @@ module Stripe
|
|
246
193
|
opts: opts
|
247
194
|
)
|
248
195
|
end
|
249
|
-
|
250
|
-
def self.inner_class_types
|
251
|
-
@inner_class_types = { network_data: NetworkData }
|
252
|
-
end
|
253
|
-
|
254
|
-
def self.field_remappings
|
255
|
-
@field_remappings = {}
|
256
|
-
end
|
257
196
|
end
|
258
197
|
end
|
259
198
|
end
|