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
|
attr_reader :type
|
21
21
|
# Details on when the current billing_mode was adopted.
|
22
22
|
attr_reader :updated_at
|
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 CurrentPhase < Stripe::StripeObject
|
@@ -35,14 +27,6 @@ module Stripe
|
|
35
27
|
attr_reader :end_date
|
36
28
|
# The start of this phase of the subscription schedule.
|
37
29
|
attr_reader :start_date
|
38
|
-
|
39
|
-
def self.inner_class_types
|
40
|
-
@inner_class_types = {}
|
41
|
-
end
|
42
|
-
|
43
|
-
def self.field_remappings
|
44
|
-
@field_remappings = {}
|
45
|
-
end
|
46
30
|
end
|
47
31
|
|
48
32
|
class DefaultSettings < Stripe::StripeObject
|
@@ -52,14 +36,6 @@ module Stripe
|
|
52
36
|
attr_reader :account
|
53
37
|
# Type of the account referenced.
|
54
38
|
attr_reader :type
|
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
|
# If Stripe disabled automatic tax, this enum describes why.
|
65
41
|
attr_reader :disabled_reason
|
@@ -67,14 +43,6 @@ module Stripe
|
|
67
43
|
attr_reader :enabled
|
68
44
|
# The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
|
69
45
|
attr_reader :liability
|
70
|
-
|
71
|
-
def self.inner_class_types
|
72
|
-
@inner_class_types = { liability: Liability }
|
73
|
-
end
|
74
|
-
|
75
|
-
def self.field_remappings
|
76
|
-
@field_remappings = {}
|
77
|
-
end
|
78
46
|
end
|
79
47
|
|
80
48
|
class BillingThresholds < Stripe::StripeObject
|
@@ -82,14 +50,6 @@ module Stripe
|
|
82
50
|
attr_reader :amount_gte
|
83
51
|
# Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not be `true` if the subscription contains items with plans that have `aggregate_usage=last_ever`.
|
84
52
|
attr_reader :reset_billing_cycle_anchor
|
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
53
|
end
|
94
54
|
|
95
55
|
class InvoiceSettings < Stripe::StripeObject
|
@@ -98,14 +58,6 @@ module Stripe
|
|
98
58
|
attr_reader :account
|
99
59
|
# Type of the account referenced.
|
100
60
|
attr_reader :type
|
101
|
-
|
102
|
-
def self.inner_class_types
|
103
|
-
@inner_class_types = {}
|
104
|
-
end
|
105
|
-
|
106
|
-
def self.field_remappings
|
107
|
-
@field_remappings = {}
|
108
|
-
end
|
109
61
|
end
|
110
62
|
# The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule.
|
111
63
|
attr_reader :account_tax_ids
|
@@ -113,14 +65,6 @@ module Stripe
|
|
113
65
|
attr_reader :days_until_due
|
114
66
|
# Attribute for field issuer
|
115
67
|
attr_reader :issuer
|
116
|
-
|
117
|
-
def self.inner_class_types
|
118
|
-
@inner_class_types = { issuer: Issuer }
|
119
|
-
end
|
120
|
-
|
121
|
-
def self.field_remappings
|
122
|
-
@field_remappings = {}
|
123
|
-
end
|
124
68
|
end
|
125
69
|
|
126
70
|
class TransferData < Stripe::StripeObject
|
@@ -128,14 +72,6 @@ module Stripe
|
|
128
72
|
attr_reader :amount_percent
|
129
73
|
# The account where funds from the payment will be transferred to upon payment success.
|
130
74
|
attr_reader :destination
|
131
|
-
|
132
|
-
def self.inner_class_types
|
133
|
-
@inner_class_types = {}
|
134
|
-
end
|
135
|
-
|
136
|
-
def self.field_remappings
|
137
|
-
@field_remappings = {}
|
138
|
-
end
|
139
75
|
end
|
140
76
|
# A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account during this phase of the schedule.
|
141
77
|
attr_reader :application_fee_percent
|
@@ -157,19 +93,6 @@ module Stripe
|
|
157
93
|
attr_reader :on_behalf_of
|
158
94
|
# The account (if any) the associated subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices.
|
159
95
|
attr_reader :transfer_data
|
160
|
-
|
161
|
-
def self.inner_class_types
|
162
|
-
@inner_class_types = {
|
163
|
-
automatic_tax: AutomaticTax,
|
164
|
-
billing_thresholds: BillingThresholds,
|
165
|
-
invoice_settings: InvoiceSettings,
|
166
|
-
transfer_data: TransferData,
|
167
|
-
}
|
168
|
-
end
|
169
|
-
|
170
|
-
def self.field_remappings
|
171
|
-
@field_remappings = {}
|
172
|
-
end
|
173
96
|
end
|
174
97
|
|
175
98
|
class LastPriceMigrationError < Stripe::StripeObject
|
@@ -178,14 +101,6 @@ module Stripe
|
|
178
101
|
attr_reader :source_price
|
179
102
|
# The intended resulting price of the migration.
|
180
103
|
attr_reader :target_price
|
181
|
-
|
182
|
-
def self.inner_class_types
|
183
|
-
@inner_class_types = {}
|
184
|
-
end
|
185
|
-
|
186
|
-
def self.field_remappings
|
187
|
-
@field_remappings = {}
|
188
|
-
end
|
189
104
|
end
|
190
105
|
# The time at which the price migration encountered an error.
|
191
106
|
attr_reader :errored_at
|
@@ -193,14 +108,6 @@ module Stripe
|
|
193
108
|
attr_reader :failed_transitions
|
194
109
|
# The type of error encountered by the price migration.
|
195
110
|
attr_reader :type
|
196
|
-
|
197
|
-
def self.inner_class_types
|
198
|
-
@inner_class_types = { failed_transitions: FailedTransition }
|
199
|
-
end
|
200
|
-
|
201
|
-
def self.field_remappings
|
202
|
-
@field_remappings = {}
|
203
|
-
end
|
204
111
|
end
|
205
112
|
|
206
113
|
class Phase < Stripe::StripeObject
|
@@ -211,14 +118,6 @@ module Stripe
|
|
211
118
|
attr_reader :timestamp
|
212
119
|
# The discount end type.
|
213
120
|
attr_reader :type
|
214
|
-
|
215
|
-
def self.inner_class_types
|
216
|
-
@inner_class_types = {}
|
217
|
-
end
|
218
|
-
|
219
|
-
def self.field_remappings
|
220
|
-
@field_remappings = {}
|
221
|
-
end
|
222
121
|
end
|
223
122
|
# ID of the coupon to create a new discount for.
|
224
123
|
attr_reader :coupon
|
@@ -228,14 +127,6 @@ module Stripe
|
|
228
127
|
attr_reader :discount_end
|
229
128
|
# ID of the promotion code to create a new discount for.
|
230
129
|
attr_reader :promotion_code
|
231
|
-
|
232
|
-
def self.inner_class_types
|
233
|
-
@inner_class_types = { discount_end: DiscountEnd }
|
234
|
-
end
|
235
|
-
|
236
|
-
def self.field_remappings
|
237
|
-
@field_remappings = {}
|
238
|
-
end
|
239
130
|
end
|
240
131
|
|
241
132
|
class Period < Stripe::StripeObject
|
@@ -244,14 +135,6 @@ module Stripe
|
|
244
135
|
attr_reader :timestamp
|
245
136
|
# Select how to calculate the end of the invoice item period.
|
246
137
|
attr_reader :type
|
247
|
-
|
248
|
-
def self.inner_class_types
|
249
|
-
@inner_class_types = {}
|
250
|
-
end
|
251
|
-
|
252
|
-
def self.field_remappings
|
253
|
-
@field_remappings = {}
|
254
|
-
end
|
255
138
|
end
|
256
139
|
|
257
140
|
class Start < Stripe::StripeObject
|
@@ -259,27 +142,11 @@ module Stripe
|
|
259
142
|
attr_reader :timestamp
|
260
143
|
# Select how to calculate the start of the invoice item period.
|
261
144
|
attr_reader :type
|
262
|
-
|
263
|
-
def self.inner_class_types
|
264
|
-
@inner_class_types = {}
|
265
|
-
end
|
266
|
-
|
267
|
-
def self.field_remappings
|
268
|
-
@field_remappings = {}
|
269
|
-
end
|
270
145
|
end
|
271
146
|
# Attribute for field end
|
272
147
|
attr_reader :end
|
273
148
|
# Attribute for field start
|
274
149
|
attr_reader :start
|
275
|
-
|
276
|
-
def self.inner_class_types
|
277
|
-
@inner_class_types = { end: End, start: Start }
|
278
|
-
end
|
279
|
-
|
280
|
-
def self.field_remappings
|
281
|
-
@field_remappings = {}
|
282
|
-
end
|
283
150
|
end
|
284
151
|
# The stackable discounts that will be applied to the item.
|
285
152
|
attr_reader :discounts
|
@@ -293,14 +160,6 @@ module Stripe
|
|
293
160
|
attr_reader :quantity
|
294
161
|
# The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item.
|
295
162
|
attr_reader :tax_rates
|
296
|
-
|
297
|
-
def self.inner_class_types
|
298
|
-
@inner_class_types = { discounts: Discount, period: Period }
|
299
|
-
end
|
300
|
-
|
301
|
-
def self.field_remappings
|
302
|
-
@field_remappings = {}
|
303
|
-
end
|
304
163
|
end
|
305
164
|
|
306
165
|
class AutomaticTax < Stripe::StripeObject
|
@@ -309,14 +168,6 @@ module Stripe
|
|
309
168
|
attr_reader :account
|
310
169
|
# Type of the account referenced.
|
311
170
|
attr_reader :type
|
312
|
-
|
313
|
-
def self.inner_class_types
|
314
|
-
@inner_class_types = {}
|
315
|
-
end
|
316
|
-
|
317
|
-
def self.field_remappings
|
318
|
-
@field_remappings = {}
|
319
|
-
end
|
320
171
|
end
|
321
172
|
# If Stripe disabled automatic tax, this enum describes why.
|
322
173
|
attr_reader :disabled_reason
|
@@ -324,14 +175,6 @@ module Stripe
|
|
324
175
|
attr_reader :enabled
|
325
176
|
# The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
|
326
177
|
attr_reader :liability
|
327
|
-
|
328
|
-
def self.inner_class_types
|
329
|
-
@inner_class_types = { liability: Liability }
|
330
|
-
end
|
331
|
-
|
332
|
-
def self.field_remappings
|
333
|
-
@field_remappings = {}
|
334
|
-
end
|
335
178
|
end
|
336
179
|
|
337
180
|
class BillingThresholds < Stripe::StripeObject
|
@@ -339,14 +182,6 @@ module Stripe
|
|
339
182
|
attr_reader :amount_gte
|
340
183
|
# Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not be `true` if the subscription contains items with plans that have `aggregate_usage=last_ever`.
|
341
184
|
attr_reader :reset_billing_cycle_anchor
|
342
|
-
|
343
|
-
def self.inner_class_types
|
344
|
-
@inner_class_types = {}
|
345
|
-
end
|
346
|
-
|
347
|
-
def self.field_remappings
|
348
|
-
@field_remappings = {}
|
349
|
-
end
|
350
185
|
end
|
351
186
|
|
352
187
|
class Discount < Stripe::StripeObject
|
@@ -355,14 +190,6 @@ module Stripe
|
|
355
190
|
attr_reader :timestamp
|
356
191
|
# The discount end type.
|
357
192
|
attr_reader :type
|
358
|
-
|
359
|
-
def self.inner_class_types
|
360
|
-
@inner_class_types = {}
|
361
|
-
end
|
362
|
-
|
363
|
-
def self.field_remappings
|
364
|
-
@field_remappings = {}
|
365
|
-
end
|
366
193
|
end
|
367
194
|
# ID of the coupon to create a new discount for.
|
368
195
|
attr_reader :coupon
|
@@ -372,14 +199,6 @@ module Stripe
|
|
372
199
|
attr_reader :discount_end
|
373
200
|
# ID of the promotion code to create a new discount for.
|
374
201
|
attr_reader :promotion_code
|
375
|
-
|
376
|
-
def self.inner_class_types
|
377
|
-
@inner_class_types = { discount_end: DiscountEnd }
|
378
|
-
end
|
379
|
-
|
380
|
-
def self.field_remappings
|
381
|
-
@field_remappings = {}
|
382
|
-
end
|
383
202
|
end
|
384
203
|
|
385
204
|
class InvoiceSettings < Stripe::StripeObject
|
@@ -388,14 +207,6 @@ module Stripe
|
|
388
207
|
attr_reader :account
|
389
208
|
# Type of the account referenced.
|
390
209
|
attr_reader :type
|
391
|
-
|
392
|
-
def self.inner_class_types
|
393
|
-
@inner_class_types = {}
|
394
|
-
end
|
395
|
-
|
396
|
-
def self.field_remappings
|
397
|
-
@field_remappings = {}
|
398
|
-
end
|
399
210
|
end
|
400
211
|
# The account tax IDs associated with this phase of the subscription schedule. Will be set on invoices generated by this phase of the subscription schedule.
|
401
212
|
attr_reader :account_tax_ids
|
@@ -403,28 +214,12 @@ module Stripe
|
|
403
214
|
attr_reader :days_until_due
|
404
215
|
# The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
|
405
216
|
attr_reader :issuer
|
406
|
-
|
407
|
-
def self.inner_class_types
|
408
|
-
@inner_class_types = { issuer: Issuer }
|
409
|
-
end
|
410
|
-
|
411
|
-
def self.field_remappings
|
412
|
-
@field_remappings = {}
|
413
|
-
end
|
414
217
|
end
|
415
218
|
|
416
219
|
class Item < Stripe::StripeObject
|
417
220
|
class BillingThresholds < Stripe::StripeObject
|
418
221
|
# Usage threshold that triggers the subscription to create an invoice
|
419
222
|
attr_reader :usage_gte
|
420
|
-
|
421
|
-
def self.inner_class_types
|
422
|
-
@inner_class_types = {}
|
423
|
-
end
|
424
|
-
|
425
|
-
def self.field_remappings
|
426
|
-
@field_remappings = {}
|
427
|
-
end
|
428
223
|
end
|
429
224
|
|
430
225
|
class Discount < Stripe::StripeObject
|
@@ -433,14 +228,6 @@ module Stripe
|
|
433
228
|
attr_reader :timestamp
|
434
229
|
# The discount end type.
|
435
230
|
attr_reader :type
|
436
|
-
|
437
|
-
def self.inner_class_types
|
438
|
-
@inner_class_types = {}
|
439
|
-
end
|
440
|
-
|
441
|
-
def self.field_remappings
|
442
|
-
@field_remappings = {}
|
443
|
-
end
|
444
231
|
end
|
445
232
|
# ID of the coupon to create a new discount for.
|
446
233
|
attr_reader :coupon
|
@@ -450,14 +237,6 @@ module Stripe
|
|
450
237
|
attr_reader :discount_end
|
451
238
|
# ID of the promotion code to create a new discount for.
|
452
239
|
attr_reader :promotion_code
|
453
|
-
|
454
|
-
def self.inner_class_types
|
455
|
-
@inner_class_types = { discount_end: DiscountEnd }
|
456
|
-
end
|
457
|
-
|
458
|
-
def self.field_remappings
|
459
|
-
@field_remappings = {}
|
460
|
-
end
|
461
240
|
end
|
462
241
|
|
463
242
|
class Trial < Stripe::StripeObject
|
@@ -465,14 +244,6 @@ module Stripe
|
|
465
244
|
attr_reader :converts_to
|
466
245
|
# Determines the type of trial for this item.
|
467
246
|
attr_reader :type
|
468
|
-
|
469
|
-
def self.inner_class_types
|
470
|
-
@inner_class_types = {}
|
471
|
-
end
|
472
|
-
|
473
|
-
def self.field_remappings
|
474
|
-
@field_remappings = {}
|
475
|
-
end
|
476
247
|
end
|
477
248
|
# Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period
|
478
249
|
attr_reader :billing_thresholds
|
@@ -490,31 +261,11 @@ module Stripe
|
|
490
261
|
attr_reader :tax_rates
|
491
262
|
# Options that configure the trial on the subscription item.
|
492
263
|
attr_reader :trial
|
493
|
-
|
494
|
-
def self.inner_class_types
|
495
|
-
@inner_class_types = {
|
496
|
-
billing_thresholds: BillingThresholds,
|
497
|
-
discounts: Discount,
|
498
|
-
trial: Trial,
|
499
|
-
}
|
500
|
-
end
|
501
|
-
|
502
|
-
def self.field_remappings
|
503
|
-
@field_remappings = {}
|
504
|
-
end
|
505
264
|
end
|
506
265
|
|
507
266
|
class PauseCollection < Stripe::StripeObject
|
508
267
|
# The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`.
|
509
268
|
attr_reader :behavior
|
510
|
-
|
511
|
-
def self.inner_class_types
|
512
|
-
@inner_class_types = {}
|
513
|
-
end
|
514
|
-
|
515
|
-
def self.field_remappings
|
516
|
-
@field_remappings = {}
|
517
|
-
end
|
518
269
|
end
|
519
270
|
|
520
271
|
class TransferData < Stripe::StripeObject
|
@@ -522,39 +273,15 @@ module Stripe
|
|
522
273
|
attr_reader :amount_percent
|
523
274
|
# The account where funds from the payment will be transferred to upon payment success.
|
524
275
|
attr_reader :destination
|
525
|
-
|
526
|
-
def self.inner_class_types
|
527
|
-
@inner_class_types = {}
|
528
|
-
end
|
529
|
-
|
530
|
-
def self.field_remappings
|
531
|
-
@field_remappings = {}
|
532
|
-
end
|
533
276
|
end
|
534
277
|
|
535
278
|
class TrialSettings < Stripe::StripeObject
|
536
279
|
class EndBehavior < Stripe::StripeObject
|
537
280
|
# Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
|
538
281
|
attr_reader :prorate_up_front
|
539
|
-
|
540
|
-
def self.inner_class_types
|
541
|
-
@inner_class_types = {}
|
542
|
-
end
|
543
|
-
|
544
|
-
def self.field_remappings
|
545
|
-
@field_remappings = {}
|
546
|
-
end
|
547
282
|
end
|
548
283
|
# Defines how the subscription should behave when a trial ends.
|
549
284
|
attr_reader :end_behavior
|
550
|
-
|
551
|
-
def self.inner_class_types
|
552
|
-
@inner_class_types = { end_behavior: EndBehavior }
|
553
|
-
end
|
554
|
-
|
555
|
-
def self.field_remappings
|
556
|
-
@field_remappings = {}
|
557
|
-
end
|
558
285
|
end
|
559
286
|
# A list of prices and quantities that will generate invoice items appended to the next invoice for this phase.
|
560
287
|
attr_reader :add_invoice_items
|
@@ -602,24 +329,6 @@ module Stripe
|
|
602
329
|
attr_reader :trial_end
|
603
330
|
# Settings related to any trials on the subscription during this phase.
|
604
331
|
attr_reader :trial_settings
|
605
|
-
|
606
|
-
def self.inner_class_types
|
607
|
-
@inner_class_types = {
|
608
|
-
add_invoice_items: AddInvoiceItem,
|
609
|
-
automatic_tax: AutomaticTax,
|
610
|
-
billing_thresholds: BillingThresholds,
|
611
|
-
discounts: Discount,
|
612
|
-
invoice_settings: InvoiceSettings,
|
613
|
-
items: Item,
|
614
|
-
pause_collection: PauseCollection,
|
615
|
-
transfer_data: TransferData,
|
616
|
-
trial_settings: TrialSettings,
|
617
|
-
}
|
618
|
-
end
|
619
|
-
|
620
|
-
def self.field_remappings
|
621
|
-
@field_remappings = {}
|
622
|
-
end
|
623
332
|
end
|
624
333
|
|
625
334
|
class Prebilling < Stripe::StripeObject
|
@@ -631,14 +340,6 @@ module Stripe
|
|
631
340
|
attr_reader :period_start
|
632
341
|
# Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period.
|
633
342
|
attr_reader :update_behavior
|
634
|
-
|
635
|
-
def self.inner_class_types
|
636
|
-
@inner_class_types = {}
|
637
|
-
end
|
638
|
-
|
639
|
-
def self.field_remappings
|
640
|
-
@field_remappings = {}
|
641
|
-
end
|
642
343
|
end
|
643
344
|
|
644
345
|
class ListParams < Stripe::RequestParams
|
@@ -2952,20 +2653,5 @@ module Stripe
|
|
2952
2653
|
opts: opts
|
2953
2654
|
)
|
2954
2655
|
end
|
2955
|
-
|
2956
|
-
def self.inner_class_types
|
2957
|
-
@inner_class_types = {
|
2958
|
-
billing_mode: BillingMode,
|
2959
|
-
current_phase: CurrentPhase,
|
2960
|
-
default_settings: DefaultSettings,
|
2961
|
-
last_price_migration_error: LastPriceMigrationError,
|
2962
|
-
phases: Phase,
|
2963
|
-
prebilling: Prebilling,
|
2964
|
-
}
|
2965
|
-
end
|
2966
|
-
|
2967
|
-
def self.field_remappings
|
2968
|
-
@field_remappings = {}
|
2969
|
-
end
|
2970
2656
|
end
|
2971
2657
|
end
|
@@ -14,27 +14,11 @@ module Stripe
|
|
14
14
|
class Committed < Stripe::StripeObject
|
15
15
|
# The [Tax Transaction](https://stripe.com/docs/api/tax/transaction/object)
|
16
16
|
attr_reader :transaction
|
17
|
-
|
18
|
-
def self.inner_class_types
|
19
|
-
@inner_class_types = {}
|
20
|
-
end
|
21
|
-
|
22
|
-
def self.field_remappings
|
23
|
-
@field_remappings = {}
|
24
|
-
end
|
25
17
|
end
|
26
18
|
|
27
19
|
class Errored < Stripe::StripeObject
|
28
20
|
# Details on why we couldn't commit the tax transaction.
|
29
21
|
attr_reader :reason
|
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
22
|
end
|
39
23
|
# Attribute for field committed
|
40
24
|
attr_reader :committed
|
@@ -44,14 +28,6 @@ module Stripe
|
|
44
28
|
attr_reader :source
|
45
29
|
# The status of the transaction attempt. This can be `errored` or `committed`.
|
46
30
|
attr_reader :status
|
47
|
-
|
48
|
-
def self.inner_class_types
|
49
|
-
@inner_class_types = { committed: Committed, errored: Errored }
|
50
|
-
end
|
51
|
-
|
52
|
-
def self.field_remappings
|
53
|
-
@field_remappings = {}
|
54
|
-
end
|
55
31
|
end
|
56
32
|
|
57
33
|
class FindParams < Stripe::RequestParams
|
@@ -85,14 +61,6 @@ module Stripe
|
|
85
61
|
opts: opts
|
86
62
|
)
|
87
63
|
end
|
88
|
-
|
89
|
-
def self.inner_class_types
|
90
|
-
@inner_class_types = { tax_transaction_attempts: TaxTransactionAttempt }
|
91
|
-
end
|
92
|
-
|
93
|
-
def self.field_remappings
|
94
|
-
@field_remappings = {}
|
95
|
-
end
|
96
64
|
end
|
97
65
|
end
|
98
66
|
end
|