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
@@ -20,14 +20,6 @@ module Stripe
|
|
20
20
|
class BuyButton < Stripe::StripeObject
|
21
21
|
# Whether the buy button is enabled.
|
22
22
|
attr_reader :enabled
|
23
|
-
|
24
|
-
def self.inner_class_types
|
25
|
-
@inner_class_types = {}
|
26
|
-
end
|
27
|
-
|
28
|
-
def self.field_remappings
|
29
|
-
@field_remappings = {}
|
30
|
-
end
|
31
23
|
end
|
32
24
|
|
33
25
|
class PaymentElement < Stripe::StripeObject
|
@@ -52,40 +44,16 @@ module Stripe
|
|
52
44
|
#
|
53
45
|
# When using SetupIntents, directly configure the [`usage`](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-usage) value on SetupIntent creation.
|
54
46
|
attr_reader :payment_method_save_usage
|
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
47
|
end
|
64
48
|
# Whether the Payment Element is enabled.
|
65
49
|
attr_reader :enabled
|
66
50
|
# This hash defines whether the Payment Element supports certain features.
|
67
51
|
attr_reader :features
|
68
|
-
|
69
|
-
def self.inner_class_types
|
70
|
-
@inner_class_types = { features: Features }
|
71
|
-
end
|
72
|
-
|
73
|
-
def self.field_remappings
|
74
|
-
@field_remappings = {}
|
75
|
-
end
|
76
52
|
end
|
77
53
|
|
78
54
|
class PricingTable < Stripe::StripeObject
|
79
55
|
# Whether the pricing table is enabled.
|
80
56
|
attr_reader :enabled
|
81
|
-
|
82
|
-
def self.inner_class_types
|
83
|
-
@inner_class_types = {}
|
84
|
-
end
|
85
|
-
|
86
|
-
def self.field_remappings
|
87
|
-
@field_remappings = {}
|
88
|
-
end
|
89
57
|
end
|
90
58
|
# This hash contains whether the buy button is enabled.
|
91
59
|
attr_reader :buy_button
|
@@ -93,18 +61,6 @@ module Stripe
|
|
93
61
|
attr_reader :payment_element
|
94
62
|
# This hash contains whether the pricing table is enabled.
|
95
63
|
attr_reader :pricing_table
|
96
|
-
|
97
|
-
def self.inner_class_types
|
98
|
-
@inner_class_types = {
|
99
|
-
buy_button: BuyButton,
|
100
|
-
payment_element: PaymentElement,
|
101
|
-
pricing_table: PricingTable,
|
102
|
-
}
|
103
|
-
end
|
104
|
-
|
105
|
-
def self.field_remappings
|
106
|
-
@field_remappings = {}
|
107
|
-
end
|
108
64
|
end
|
109
65
|
|
110
66
|
class CreateParams < Stripe::RequestParams
|
@@ -233,13 +189,5 @@ module Stripe
|
|
233
189
|
opts: opts
|
234
190
|
)
|
235
191
|
end
|
236
|
-
|
237
|
-
def self.inner_class_types
|
238
|
-
@inner_class_types = { components: Components }
|
239
|
-
end
|
240
|
-
|
241
|
-
def self.field_remappings
|
242
|
-
@field_remappings = {}
|
243
|
-
end
|
244
192
|
end
|
245
193
|
end
|
@@ -42,13 +42,5 @@ module Stripe
|
|
42
42
|
attr_reader :subscription_item
|
43
43
|
# Always true for a deleted object
|
44
44
|
attr_reader :deleted
|
45
|
-
|
46
|
-
def self.inner_class_types
|
47
|
-
@inner_class_types = {}
|
48
|
-
end
|
49
|
-
|
50
|
-
def self.field_remappings
|
51
|
-
@field_remappings = {}
|
52
|
-
end
|
53
45
|
end
|
54
46
|
end
|
@@ -33,14 +33,6 @@ module Stripe
|
|
33
33
|
attr_reader :postal_code
|
34
34
|
# State, county, province, or region.
|
35
35
|
attr_reader :state
|
36
|
-
|
37
|
-
def self.inner_class_types
|
38
|
-
@inner_class_types = {}
|
39
|
-
end
|
40
|
-
|
41
|
-
def self.field_remappings
|
42
|
-
@field_remappings = {}
|
43
|
-
end
|
44
36
|
end
|
45
37
|
# User Account ID used to log into business platform. Must be recognizable by the user.
|
46
38
|
attr_reader :customer_account_id
|
@@ -58,14 +50,6 @@ module Stripe
|
|
58
50
|
attr_reader :product_description
|
59
51
|
# The address to which a physical product was shipped. All fields are required for Visa Compelling Evidence 3.0 evidence submission.
|
60
52
|
attr_reader :shipping_address
|
61
|
-
|
62
|
-
def self.inner_class_types
|
63
|
-
@inner_class_types = { shipping_address: ShippingAddress }
|
64
|
-
end
|
65
|
-
|
66
|
-
def self.field_remappings
|
67
|
-
@field_remappings = {}
|
68
|
-
end
|
69
53
|
end
|
70
54
|
|
71
55
|
class PriorUndisputedTransaction < Stripe::StripeObject
|
@@ -82,14 +66,6 @@ module Stripe
|
|
82
66
|
attr_reader :postal_code
|
83
67
|
# State, county, province, or region.
|
84
68
|
attr_reader :state
|
85
|
-
|
86
|
-
def self.inner_class_types
|
87
|
-
@inner_class_types = {}
|
88
|
-
end
|
89
|
-
|
90
|
-
def self.field_remappings
|
91
|
-
@field_remappings = {}
|
92
|
-
end
|
93
69
|
end
|
94
70
|
# Stripe charge ID for the Visa Compelling Evidence 3.0 eligible prior charge.
|
95
71
|
attr_reader :charge
|
@@ -107,59 +83,21 @@ module Stripe
|
|
107
83
|
attr_reader :product_description
|
108
84
|
# The address to which a physical product was shipped. All fields are required for Visa Compelling Evidence 3.0 evidence submission.
|
109
85
|
attr_reader :shipping_address
|
110
|
-
|
111
|
-
def self.inner_class_types
|
112
|
-
@inner_class_types = { shipping_address: ShippingAddress }
|
113
|
-
end
|
114
|
-
|
115
|
-
def self.field_remappings
|
116
|
-
@field_remappings = {}
|
117
|
-
end
|
118
86
|
end
|
119
87
|
# Disputed transaction details for Visa Compelling Evidence 3.0 evidence submission.
|
120
88
|
attr_reader :disputed_transaction
|
121
89
|
# List of exactly two prior undisputed transaction objects for Visa Compelling Evidence 3.0 evidence submission.
|
122
90
|
attr_reader :prior_undisputed_transactions
|
123
|
-
|
124
|
-
def self.inner_class_types
|
125
|
-
@inner_class_types = {
|
126
|
-
disputed_transaction: DisputedTransaction,
|
127
|
-
prior_undisputed_transactions: PriorUndisputedTransaction,
|
128
|
-
}
|
129
|
-
end
|
130
|
-
|
131
|
-
def self.field_remappings
|
132
|
-
@field_remappings = {}
|
133
|
-
end
|
134
91
|
end
|
135
92
|
|
136
93
|
class VisaCompliance < Stripe::StripeObject
|
137
94
|
# A field acknowledging the fee incurred when countering a Visa compliance dispute. If this field is set to true, evidence can be submitted for the compliance dispute. Stripe collects a 500 USD (or local equivalent) amount to cover the network costs associated with resolving compliance disputes. Stripe refunds the 500 USD network fee if you win the dispute.
|
138
95
|
attr_reader :fee_acknowledged
|
139
|
-
|
140
|
-
def self.inner_class_types
|
141
|
-
@inner_class_types = {}
|
142
|
-
end
|
143
|
-
|
144
|
-
def self.field_remappings
|
145
|
-
@field_remappings = {}
|
146
|
-
end
|
147
96
|
end
|
148
97
|
# Attribute for field visa_compelling_evidence_3
|
149
98
|
attr_reader :visa_compelling_evidence_3
|
150
99
|
# Attribute for field visa_compliance
|
151
100
|
attr_reader :visa_compliance
|
152
|
-
|
153
|
-
def self.inner_class_types
|
154
|
-
@inner_class_types = {
|
155
|
-
visa_compelling_evidence_3: VisaCompellingEvidence3,
|
156
|
-
visa_compliance: VisaCompliance,
|
157
|
-
}
|
158
|
-
end
|
159
|
-
|
160
|
-
def self.field_remappings
|
161
|
-
@field_remappings = {}
|
162
|
-
end
|
163
101
|
end
|
164
102
|
# Any server or activity logs showing proof that the customer accessed or downloaded the purchased digital product. This information should include IP addresses, corresponding timestamps, and any detailed recorded activity.
|
165
103
|
attr_reader :access_activity_log
|
@@ -217,14 +155,6 @@ module Stripe
|
|
217
155
|
attr_reader :uncategorized_file
|
218
156
|
# Any additional evidence or statements.
|
219
157
|
attr_reader :uncategorized_text
|
220
|
-
|
221
|
-
def self.inner_class_types
|
222
|
-
@inner_class_types = { enhanced_evidence: EnhancedEvidence }
|
223
|
-
end
|
224
|
-
|
225
|
-
def self.field_remappings
|
226
|
-
@field_remappings = {}
|
227
|
-
end
|
228
158
|
end
|
229
159
|
|
230
160
|
class EvidenceDetails < Stripe::StripeObject
|
@@ -234,43 +164,16 @@ module Stripe
|
|
234
164
|
attr_reader :required_actions
|
235
165
|
# Visa Compelling Evidence 3.0 eligibility status.
|
236
166
|
attr_reader :status
|
237
|
-
|
238
|
-
def self.inner_class_types
|
239
|
-
@inner_class_types = {}
|
240
|
-
end
|
241
|
-
|
242
|
-
def self.field_remappings
|
243
|
-
@field_remappings = {}
|
244
|
-
end
|
245
167
|
end
|
246
168
|
|
247
169
|
class VisaCompliance < Stripe::StripeObject
|
248
170
|
# Visa compliance eligibility status.
|
249
171
|
attr_reader :status
|
250
|
-
|
251
|
-
def self.inner_class_types
|
252
|
-
@inner_class_types = {}
|
253
|
-
end
|
254
|
-
|
255
|
-
def self.field_remappings
|
256
|
-
@field_remappings = {}
|
257
|
-
end
|
258
172
|
end
|
259
173
|
# Attribute for field visa_compelling_evidence_3
|
260
174
|
attr_reader :visa_compelling_evidence_3
|
261
175
|
# Attribute for field visa_compliance
|
262
176
|
attr_reader :visa_compliance
|
263
|
-
|
264
|
-
def self.inner_class_types
|
265
|
-
@inner_class_types = {
|
266
|
-
visa_compelling_evidence_3: VisaCompellingEvidence3,
|
267
|
-
visa_compliance: VisaCompliance,
|
268
|
-
}
|
269
|
-
end
|
270
|
-
|
271
|
-
def self.field_remappings
|
272
|
-
@field_remappings = {}
|
273
|
-
end
|
274
177
|
end
|
275
178
|
# Date by which evidence must be submitted in order to successfully challenge dispute. Will be 0 if the customer's bank or credit card company doesn't allow a response for this particular dispute.
|
276
179
|
attr_reader :due_by
|
@@ -284,28 +187,12 @@ module Stripe
|
|
284
187
|
attr_reader :submission_count
|
285
188
|
# Whether the dispute was submitted manually, with Smart Disputes, or not submitted.
|
286
189
|
attr_reader :submission_method
|
287
|
-
|
288
|
-
def self.inner_class_types
|
289
|
-
@inner_class_types = { enhanced_eligibility: EnhancedEligibility }
|
290
|
-
end
|
291
|
-
|
292
|
-
def self.field_remappings
|
293
|
-
@field_remappings = {}
|
294
|
-
end
|
295
190
|
end
|
296
191
|
|
297
192
|
class PaymentMethodDetails < Stripe::StripeObject
|
298
193
|
class AmazonPay < Stripe::StripeObject
|
299
194
|
# The AmazonPay dispute type, chargeback or claim
|
300
195
|
attr_reader :dispute_type
|
301
|
-
|
302
|
-
def self.inner_class_types
|
303
|
-
@inner_class_types = {}
|
304
|
-
end
|
305
|
-
|
306
|
-
def self.field_remappings
|
307
|
-
@field_remappings = {}
|
308
|
-
end
|
309
196
|
end
|
310
197
|
|
311
198
|
class Card < Stripe::StripeObject
|
@@ -315,27 +202,11 @@ module Stripe
|
|
315
202
|
attr_reader :case_type
|
316
203
|
# The card network's specific dispute reason code, which maps to one of Stripe's primary dispute categories to simplify response guidance. The [Network code map](https://stripe.com/docs/disputes/categories#network-code-map) lists all available dispute reason codes by network.
|
317
204
|
attr_reader :network_reason_code
|
318
|
-
|
319
|
-
def self.inner_class_types
|
320
|
-
@inner_class_types = {}
|
321
|
-
end
|
322
|
-
|
323
|
-
def self.field_remappings
|
324
|
-
@field_remappings = {}
|
325
|
-
end
|
326
205
|
end
|
327
206
|
|
328
207
|
class Klarna < Stripe::StripeObject
|
329
208
|
# The reason for the dispute as defined by Klarna
|
330
209
|
attr_reader :reason_code
|
331
|
-
|
332
|
-
def self.inner_class_types
|
333
|
-
@inner_class_types = {}
|
334
|
-
end
|
335
|
-
|
336
|
-
def self.field_remappings
|
337
|
-
@field_remappings = {}
|
338
|
-
end
|
339
210
|
end
|
340
211
|
|
341
212
|
class Paypal < Stripe::StripeObject
|
@@ -343,14 +214,6 @@ module Stripe
|
|
343
214
|
attr_reader :case_id
|
344
215
|
# The reason for the dispute as defined by PayPal
|
345
216
|
attr_reader :reason_code
|
346
|
-
|
347
|
-
def self.inner_class_types
|
348
|
-
@inner_class_types = {}
|
349
|
-
end
|
350
|
-
|
351
|
-
def self.field_remappings
|
352
|
-
@field_remappings = {}
|
353
|
-
end
|
354
217
|
end
|
355
218
|
# Attribute for field amazon_pay
|
356
219
|
attr_reader :amazon_pay
|
@@ -362,14 +225,6 @@ module Stripe
|
|
362
225
|
attr_reader :paypal
|
363
226
|
# Payment method type.
|
364
227
|
attr_reader :type
|
365
|
-
|
366
|
-
def self.inner_class_types
|
367
|
-
@inner_class_types = { amazon_pay: AmazonPay, card: Card, klarna: Klarna, paypal: Paypal }
|
368
|
-
end
|
369
|
-
|
370
|
-
def self.field_remappings
|
371
|
-
@field_remappings = {}
|
372
|
-
end
|
373
228
|
end
|
374
229
|
|
375
230
|
class SmartDisputes < Stripe::StripeObject
|
@@ -377,14 +232,6 @@ module Stripe
|
|
377
232
|
attr_reader :recommended_evidence
|
378
233
|
# Smart Disputes auto representment packet availability status.
|
379
234
|
attr_reader :status
|
380
|
-
|
381
|
-
def self.inner_class_types
|
382
|
-
@inner_class_types = {}
|
383
|
-
end
|
384
|
-
|
385
|
-
def self.field_remappings
|
386
|
-
@field_remappings = {}
|
387
|
-
end
|
388
235
|
end
|
389
236
|
|
390
237
|
class ListParams < Stripe::RequestParams
|
@@ -830,18 +677,5 @@ module Stripe
|
|
830
677
|
opts: opts
|
831
678
|
)
|
832
679
|
end
|
833
|
-
|
834
|
-
def self.inner_class_types
|
835
|
-
@inner_class_types = {
|
836
|
-
evidence: Evidence,
|
837
|
-
evidence_details: EvidenceDetails,
|
838
|
-
payment_method_details: PaymentMethodDetails,
|
839
|
-
smart_disputes: SmartDisputes,
|
840
|
-
}
|
841
|
-
end
|
842
|
-
|
843
|
-
def self.field_remappings
|
844
|
-
@field_remappings = {}
|
845
|
-
end
|
846
680
|
end
|
847
681
|
end
|
@@ -18,14 +18,6 @@ module Stripe
|
|
18
18
|
attr_reader :livemode
|
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
|
31
23
|
end
|
@@ -33,14 +33,6 @@ module Stripe
|
|
33
33
|
attr_reader :object
|
34
34
|
# Object containing the names of the updated attributes and their values prior to the event (only included in events of type `*.updated`). If an array attribute has any updated elements, this object contains the entire array. In Stripe API versions 2017-04-06 or earlier, an updated array attribute in this object includes only the updated array elements.
|
35
35
|
attr_reader :previous_attributes
|
36
|
-
|
37
|
-
def self.inner_class_types
|
38
|
-
@inner_class_types = {}
|
39
|
-
end
|
40
|
-
|
41
|
-
def self.field_remappings
|
42
|
-
@field_remappings = {}
|
43
|
-
end
|
44
36
|
end
|
45
37
|
|
46
38
|
class Reason < Stripe::StripeObject
|
@@ -48,14 +40,6 @@ module Stripe
|
|
48
40
|
class StripeSendWebhookCustomEvent < Stripe::StripeObject
|
49
41
|
# Set of key-value pairs attached to the action when creating an Automation.
|
50
42
|
attr_reader :custom_data
|
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
43
|
end
|
60
44
|
# Attribute for field stripe_send_webhook_custom_event
|
61
45
|
attr_reader :stripe_send_webhook_custom_event
|
@@ -64,14 +48,6 @@ module Stripe
|
|
64
48
|
attr_reader :trigger
|
65
49
|
# The type of the `automation_action`.
|
66
50
|
attr_reader :type
|
67
|
-
|
68
|
-
def self.inner_class_types
|
69
|
-
@inner_class_types = { stripe_send_webhook_custom_event: StripeSendWebhookCustomEvent }
|
70
|
-
end
|
71
|
-
|
72
|
-
def self.field_remappings
|
73
|
-
@field_remappings = {}
|
74
|
-
end
|
75
51
|
end
|
76
52
|
|
77
53
|
class Request < Stripe::StripeObject
|
@@ -79,14 +55,6 @@ module Stripe
|
|
79
55
|
attr_reader :id
|
80
56
|
# The idempotency key transmitted during the request, if any. *Note: This property is populated only for events on or after May 23, 2017*.
|
81
57
|
attr_reader :idempotency_key
|
82
|
-
|
83
|
-
def self.inner_class_types
|
84
|
-
@inner_class_types = {}
|
85
|
-
end
|
86
|
-
|
87
|
-
def self.field_remappings
|
88
|
-
@field_remappings = {}
|
89
|
-
end
|
90
58
|
end
|
91
59
|
# Attribute for field automation_action
|
92
60
|
attr_reader :automation_action
|
@@ -94,14 +62,6 @@ module Stripe
|
|
94
62
|
attr_reader :request
|
95
63
|
# The type of the reason for the event.
|
96
64
|
attr_reader :type
|
97
|
-
|
98
|
-
def self.inner_class_types
|
99
|
-
@inner_class_types = { automation_action: AutomationAction, request: Request }
|
100
|
-
end
|
101
|
-
|
102
|
-
def self.field_remappings
|
103
|
-
@field_remappings = {}
|
104
|
-
end
|
105
65
|
end
|
106
66
|
|
107
67
|
class Request < Stripe::StripeObject
|
@@ -109,14 +69,6 @@ module Stripe
|
|
109
69
|
attr_reader :id
|
110
70
|
# The idempotency key transmitted during the request, if any. *Note: This property is populated only for events on or after May 23, 2017*.
|
111
71
|
attr_reader :idempotency_key
|
112
|
-
|
113
|
-
def self.inner_class_types
|
114
|
-
@inner_class_types = {}
|
115
|
-
end
|
116
|
-
|
117
|
-
def self.field_remappings
|
118
|
-
@field_remappings = {}
|
119
|
-
end
|
120
72
|
end
|
121
73
|
|
122
74
|
class ListParams < Stripe::RequestParams
|
@@ -203,13 +155,5 @@ module Stripe
|
|
203
155
|
def self.list(params = {}, opts = {})
|
204
156
|
request_stripe_object(method: :get, path: "/v1/events", params: params, opts: opts)
|
205
157
|
end
|
206
|
-
|
207
|
-
def self.inner_class_types
|
208
|
-
@inner_class_types = { data: Data, reason: Reason, request: Request }
|
209
|
-
end
|
210
|
-
|
211
|
-
def self.field_remappings
|
212
|
-
@field_remappings = {}
|
213
|
-
end
|
214
158
|
end
|
215
159
|
end
|
@@ -64,13 +64,5 @@ module Stripe
|
|
64
64
|
def self.list(params = {}, opts = {})
|
65
65
|
request_stripe_object(method: :get, path: "/v1/exchange_rates", params: params, opts: opts)
|
66
66
|
end
|
67
|
-
|
68
|
-
def self.inner_class_types
|
69
|
-
@inner_class_types = {}
|
70
|
-
end
|
71
|
-
|
72
|
-
def self.field_remappings
|
73
|
-
@field_remappings = {}
|
74
|
-
end
|
75
67
|
end
|
76
68
|
end
|