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
@@ -14,14 +14,6 @@ module Stripe
|
|
14
14
|
class DeliveryOptions < Stripe::StripeObject
|
15
15
|
# Open Enum. Method for bank account.
|
16
16
|
attr_reader :bank_account
|
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 From < Stripe::StripeObject
|
@@ -29,54 +21,22 @@ module Stripe
|
|
29
21
|
attr_reader :debited
|
30
22
|
# The FinancialAccount that funds were pulled from.
|
31
23
|
attr_reader :financial_account
|
32
|
-
|
33
|
-
def self.inner_class_types
|
34
|
-
@inner_class_types = {}
|
35
|
-
end
|
36
|
-
|
37
|
-
def self.field_remappings
|
38
|
-
@field_remappings = {}
|
39
|
-
end
|
40
24
|
end
|
41
25
|
|
42
26
|
class StatusDetails < Stripe::StripeObject
|
43
27
|
class Failed < Stripe::StripeObject
|
44
28
|
# Open Enum. The `failed` status reason.
|
45
29
|
attr_reader :reason
|
46
|
-
|
47
|
-
def self.inner_class_types
|
48
|
-
@inner_class_types = {}
|
49
|
-
end
|
50
|
-
|
51
|
-
def self.field_remappings
|
52
|
-
@field_remappings = {}
|
53
|
-
end
|
54
30
|
end
|
55
31
|
|
56
32
|
class Returned < Stripe::StripeObject
|
57
33
|
# Open Enum. The `returned` status reason.
|
58
34
|
attr_reader :reason
|
59
|
-
|
60
|
-
def self.inner_class_types
|
61
|
-
@inner_class_types = {}
|
62
|
-
end
|
63
|
-
|
64
|
-
def self.field_remappings
|
65
|
-
@field_remappings = {}
|
66
|
-
end
|
67
35
|
end
|
68
36
|
# The `failed` status reason.
|
69
37
|
attr_reader :failed
|
70
38
|
# The `returned` status reason.
|
71
39
|
attr_reader :returned
|
72
|
-
|
73
|
-
def self.inner_class_types
|
74
|
-
@inner_class_types = { failed: Failed, returned: Returned }
|
75
|
-
end
|
76
|
-
|
77
|
-
def self.field_remappings
|
78
|
-
@field_remappings = {}
|
79
|
-
end
|
80
40
|
end
|
81
41
|
|
82
42
|
class StatusTransitions < Stripe::StripeObject
|
@@ -92,14 +52,6 @@ module Stripe
|
|
92
52
|
# Timestamp describing when an OutboundTransfer changed status to `returned`.
|
93
53
|
# Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
94
54
|
attr_reader :returned_at
|
95
|
-
|
96
|
-
def self.inner_class_types
|
97
|
-
@inner_class_types = {}
|
98
|
-
end
|
99
|
-
|
100
|
-
def self.field_remappings
|
101
|
-
@field_remappings = {}
|
102
|
-
end
|
103
55
|
end
|
104
56
|
|
105
57
|
class To < Stripe::StripeObject
|
@@ -107,14 +59,6 @@ module Stripe
|
|
107
59
|
attr_reader :credited
|
108
60
|
# The payout method which the OutboundTransfer uses to send payout.
|
109
61
|
attr_reader :payout_method
|
110
|
-
|
111
|
-
def self.inner_class_types
|
112
|
-
@inner_class_types = {}
|
113
|
-
end
|
114
|
-
|
115
|
-
def self.field_remappings
|
116
|
-
@field_remappings = {}
|
117
|
-
end
|
118
62
|
end
|
119
63
|
|
120
64
|
class TraceId < Stripe::StripeObject
|
@@ -125,14 +69,6 @@ module Stripe
|
|
125
69
|
attr_reader :status
|
126
70
|
# The trace ID value if `trace_id.status` is `supported`, otherwise empty.
|
127
71
|
attr_reader :value
|
128
|
-
|
129
|
-
def self.inner_class_types
|
130
|
-
@inner_class_types = {}
|
131
|
-
end
|
132
|
-
|
133
|
-
def self.field_remappings
|
134
|
-
@field_remappings = {}
|
135
|
-
end
|
136
72
|
end
|
137
73
|
# The "presentment amount" for the OutboundTransfer.
|
138
74
|
attr_reader :amount
|
@@ -175,21 +111,6 @@ module Stripe
|
|
175
111
|
attr_reader :trace_id
|
176
112
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
177
113
|
attr_reader :livemode
|
178
|
-
|
179
|
-
def self.inner_class_types
|
180
|
-
@inner_class_types = {
|
181
|
-
delivery_options: DeliveryOptions,
|
182
|
-
from: From,
|
183
|
-
status_details: StatusDetails,
|
184
|
-
status_transitions: StatusTransitions,
|
185
|
-
to: To,
|
186
|
-
trace_id: TraceId,
|
187
|
-
}
|
188
|
-
end
|
189
|
-
|
190
|
-
def self.field_remappings
|
191
|
-
@field_remappings = {}
|
192
|
-
end
|
193
114
|
end
|
194
115
|
end
|
195
116
|
end
|
@@ -16,14 +16,6 @@ module Stripe
|
|
16
16
|
attr_reader :payments
|
17
17
|
# Transfers status - used when making an OutboundTransfer (sending funds to yourself).
|
18
18
|
attr_reader :transfers
|
19
|
-
|
20
|
-
def self.inner_class_types
|
21
|
-
@inner_class_types = {}
|
22
|
-
end
|
23
|
-
|
24
|
-
def self.field_remappings
|
25
|
-
@field_remappings = {}
|
26
|
-
end
|
27
19
|
end
|
28
20
|
|
29
21
|
class BankAccount < Stripe::StripeObject
|
@@ -45,14 +37,6 @@ module Stripe
|
|
45
37
|
attr_reader :routing_number
|
46
38
|
# The list of currencies supported by this bank account.
|
47
39
|
attr_reader :supported_currencies
|
48
|
-
|
49
|
-
def self.inner_class_types
|
50
|
-
@inner_class_types = {}
|
51
|
-
end
|
52
|
-
|
53
|
-
def self.field_remappings
|
54
|
-
@field_remappings = {}
|
55
|
-
end
|
56
40
|
end
|
57
41
|
|
58
42
|
class Card < Stripe::StripeObject
|
@@ -66,14 +50,6 @@ module Stripe
|
|
66
50
|
attr_reader :exp_year
|
67
51
|
# The last 4 digits of the card number.
|
68
52
|
attr_reader :last4
|
69
|
-
|
70
|
-
def self.inner_class_types
|
71
|
-
@inner_class_types = {}
|
72
|
-
end
|
73
|
-
|
74
|
-
def self.field_remappings
|
75
|
-
@field_remappings = {}
|
76
|
-
end
|
77
53
|
end
|
78
54
|
# A set of available payout speeds for this payout method.
|
79
55
|
attr_reader :available_payout_speeds
|
@@ -95,14 +71,6 @@ module Stripe
|
|
95
71
|
attr_reader :bank_account
|
96
72
|
# The PayoutMethodCard object details.
|
97
73
|
attr_reader :card
|
98
|
-
|
99
|
-
def self.inner_class_types
|
100
|
-
@inner_class_types = { usage_status: UsageStatus, bank_account: BankAccount, card: Card }
|
101
|
-
end
|
102
|
-
|
103
|
-
def self.field_remappings
|
104
|
-
@field_remappings = {}
|
105
|
-
end
|
106
74
|
end
|
107
75
|
end
|
108
76
|
end
|
@@ -18,14 +18,6 @@ module Stripe
|
|
18
18
|
attr_reader :content
|
19
19
|
# Attribute for field localization_key
|
20
20
|
attr_reader :localization_key
|
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
|
# The local name of the field.
|
31
23
|
attr_reader :local_name
|
@@ -41,25 +33,9 @@ module Stripe
|
|
41
33
|
attr_reader :stripe_name
|
42
34
|
# The validation regex of the field.
|
43
35
|
attr_reader :validation_regex
|
44
|
-
|
45
|
-
def self.inner_class_types
|
46
|
-
@inner_class_types = { local_name_human: LocalNameHuman }
|
47
|
-
end
|
48
|
-
|
49
|
-
def self.field_remappings
|
50
|
-
@field_remappings = {}
|
51
|
-
end
|
52
36
|
end
|
53
37
|
# The list of fields for a country, along with associated information.
|
54
38
|
attr_reader :fields
|
55
|
-
|
56
|
-
def self.inner_class_types
|
57
|
-
@inner_class_types = { fields: Field }
|
58
|
-
end
|
59
|
-
|
60
|
-
def self.field_remappings
|
61
|
-
@field_remappings = {}
|
62
|
-
end
|
63
39
|
end
|
64
40
|
# The list of specs by country.
|
65
41
|
attr_reader :countries
|
@@ -67,14 +43,6 @@ module Stripe
|
|
67
43
|
attr_reader :object
|
68
44
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
69
45
|
attr_reader :livemode
|
70
|
-
|
71
|
-
def self.inner_class_types
|
72
|
-
@inner_class_types = { countries: Countries }
|
73
|
-
end
|
74
|
-
|
75
|
-
def self.field_remappings
|
76
|
-
@field_remappings = {}
|
77
|
-
end
|
78
46
|
end
|
79
47
|
end
|
80
48
|
end
|
@@ -15,40 +15,16 @@ module Stripe
|
|
15
15
|
class Failed < Stripe::StripeObject
|
16
16
|
# Open Enum. The `failed` status reason.
|
17
17
|
attr_reader :reason
|
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 Returned < Stripe::StripeObject
|
29
21
|
# Open Enum. The `returned` status reason.
|
30
22
|
attr_reader :reason
|
31
|
-
|
32
|
-
def self.inner_class_types
|
33
|
-
@inner_class_types = {}
|
34
|
-
end
|
35
|
-
|
36
|
-
def self.field_remappings
|
37
|
-
@field_remappings = {}
|
38
|
-
end
|
39
23
|
end
|
40
24
|
# Hash that provides additional information regarding the reason behind a `failed` ReceivedCredit status. It is only present when the ReceivedCredit status is `failed`.
|
41
25
|
attr_reader :failed
|
42
26
|
# Hash that provides additional information regarding the reason behind a `returned` ReceivedCredit status. It is only present when the ReceivedCredit status is `returned`.
|
43
27
|
attr_reader :returned
|
44
|
-
|
45
|
-
def self.inner_class_types
|
46
|
-
@inner_class_types = { failed: Failed, returned: Returned }
|
47
|
-
end
|
48
|
-
|
49
|
-
def self.field_remappings
|
50
|
-
@field_remappings = {}
|
51
|
-
end
|
52
28
|
end
|
53
29
|
|
54
30
|
class StatusTransitions < Stripe::StripeObject
|
@@ -61,14 +37,6 @@ module Stripe
|
|
61
37
|
# Timestamp describing when the ReceivedCredit was marked as `succeeded`.
|
62
38
|
# Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
63
39
|
attr_reader :succeeded_at
|
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
40
|
end
|
73
41
|
|
74
42
|
class BalanceTransfer < Stripe::StripeObject
|
@@ -82,14 +50,6 @@ module Stripe
|
|
82
50
|
attr_reader :outbound_transfer
|
83
51
|
# The ID of the payout object that originated the ReceivedCredit.
|
84
52
|
attr_reader :payout_v1
|
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 BankTransfer < Stripe::StripeObject
|
@@ -104,14 +64,6 @@ module Stripe
|
|
104
64
|
attr_reader :network
|
105
65
|
# The sort code of the account that originated the transfer.
|
106
66
|
attr_reader :sort_code
|
107
|
-
|
108
|
-
def self.inner_class_types
|
109
|
-
@inner_class_types = {}
|
110
|
-
end
|
111
|
-
|
112
|
-
def self.field_remappings
|
113
|
-
@field_remappings = {}
|
114
|
-
end
|
115
67
|
end
|
116
68
|
|
117
69
|
class UsBankAccount < Stripe::StripeObject
|
@@ -123,14 +75,6 @@ module Stripe
|
|
123
75
|
attr_reader :network
|
124
76
|
# The routing number of the account that originated the transfer.
|
125
77
|
attr_reader :routing_number
|
126
|
-
|
127
|
-
def self.inner_class_types
|
128
|
-
@inner_class_types = {}
|
129
|
-
end
|
130
|
-
|
131
|
-
def self.field_remappings
|
132
|
-
@field_remappings = {}
|
133
|
-
end
|
134
78
|
end
|
135
79
|
# Financial Address on which funds for ReceivedCredit were received.
|
136
80
|
attr_reader :financial_address
|
@@ -142,14 +86,6 @@ module Stripe
|
|
142
86
|
attr_reader :gb_bank_account
|
143
87
|
# Hash containing the transaction bank details. Present if `payment_method_type` field value is `us_bank_account`.
|
144
88
|
attr_reader :us_bank_account
|
145
|
-
|
146
|
-
def self.inner_class_types
|
147
|
-
@inner_class_types = { gb_bank_account: GbBankAccount, us_bank_account: UsBankAccount }
|
148
|
-
end
|
149
|
-
|
150
|
-
def self.field_remappings
|
151
|
-
@field_remappings = {}
|
152
|
-
end
|
153
89
|
end
|
154
90
|
# The amount and currency of the ReceivedCredit.
|
155
91
|
attr_reader :amount
|
@@ -180,19 +116,6 @@ module Stripe
|
|
180
116
|
attr_reader :balance_transfer
|
181
117
|
# This object stores details about the originating banking transaction that resulted in the ReceivedCredit. Present if `type` field value is `external_credit`.
|
182
118
|
attr_reader :bank_transfer
|
183
|
-
|
184
|
-
def self.inner_class_types
|
185
|
-
@inner_class_types = {
|
186
|
-
status_details: StatusDetails,
|
187
|
-
status_transitions: StatusTransitions,
|
188
|
-
balance_transfer: BalanceTransfer,
|
189
|
-
bank_transfer: BankTransfer,
|
190
|
-
}
|
191
|
-
end
|
192
|
-
|
193
|
-
def self.field_remappings
|
194
|
-
@field_remappings = {}
|
195
|
-
end
|
196
119
|
end
|
197
120
|
end
|
198
121
|
end
|
@@ -15,26 +15,10 @@ module Stripe
|
|
15
15
|
class Failed < Stripe::StripeObject
|
16
16
|
# Open Enum. The reason for the failure of the ReceivedDebit.
|
17
17
|
attr_reader :reason
|
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
|
# Information that elaborates on the `failed` status of a ReceivedDebit.
|
28
20
|
# It is only present when the ReceivedDebit status is `failed`.
|
29
21
|
attr_reader :failed
|
30
|
-
|
31
|
-
def self.inner_class_types
|
32
|
-
@inner_class_types = { failed: Failed }
|
33
|
-
end
|
34
|
-
|
35
|
-
def self.field_remappings
|
36
|
-
@field_remappings = {}
|
37
|
-
end
|
38
22
|
end
|
39
23
|
|
40
24
|
class StatusTransitions < Stripe::StripeObject
|
@@ -47,14 +31,6 @@ module Stripe
|
|
47
31
|
# The time when the ReceivedDebit was marked as `succeeded`.
|
48
32
|
# Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`.
|
49
33
|
attr_reader :succeeded_at
|
50
|
-
|
51
|
-
def self.inner_class_types
|
52
|
-
@inner_class_types = {}
|
53
|
-
end
|
54
|
-
|
55
|
-
def self.field_remappings
|
56
|
-
@field_remappings = {}
|
57
|
-
end
|
58
34
|
end
|
59
35
|
|
60
36
|
class BankTransfer < Stripe::StripeObject
|
@@ -65,14 +41,6 @@ module Stripe
|
|
65
41
|
attr_reader :network
|
66
42
|
# The routing number of the bank that originated the debit.
|
67
43
|
attr_reader :routing_number
|
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
44
|
end
|
77
45
|
# The Financial Address that was debited.
|
78
46
|
attr_reader :financial_address
|
@@ -82,14 +50,6 @@ module Stripe
|
|
82
50
|
attr_reader :statement_descriptor
|
83
51
|
# The payment method used to originate the debit.
|
84
52
|
attr_reader :us_bank_account
|
85
|
-
|
86
|
-
def self.inner_class_types
|
87
|
-
@inner_class_types = { us_bank_account: UsBankAccount }
|
88
|
-
end
|
89
|
-
|
90
|
-
def self.field_remappings
|
91
|
-
@field_remappings = {}
|
92
|
-
end
|
93
53
|
end
|
94
54
|
# Amount and currency of the ReceivedDebit.
|
95
55
|
attr_reader :amount
|
@@ -118,18 +78,6 @@ module Stripe
|
|
118
78
|
attr_reader :livemode
|
119
79
|
# This object stores details about the originating banking transaction that resulted in the ReceivedDebit. Present if `type` field value is `bank_transfer`.
|
120
80
|
attr_reader :bank_transfer
|
121
|
-
|
122
|
-
def self.inner_class_types
|
123
|
-
@inner_class_types = {
|
124
|
-
status_details: StatusDetails,
|
125
|
-
status_transitions: StatusTransitions,
|
126
|
-
bank_transfer: BankTransfer,
|
127
|
-
}
|
128
|
-
end
|
129
|
-
|
130
|
-
def self.field_remappings
|
131
|
-
@field_remappings = {}
|
132
|
-
end
|
133
81
|
end
|
134
82
|
end
|
135
83
|
end
|
@@ -18,14 +18,6 @@ module Stripe
|
|
18
18
|
attr_reader :inbound_pending
|
19
19
|
# Impact to the outbound_pending balance.
|
20
20
|
attr_reader :outbound_pending
|
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
|
|
31
23
|
class Flow < Stripe::StripeObject
|
@@ -47,14 +39,6 @@ module Stripe
|
|
47
39
|
attr_reader :received_credit
|
48
40
|
# If applicable, the ID of the ReceivedDebit that created this Transaction.
|
49
41
|
attr_reader :received_debit
|
50
|
-
|
51
|
-
def self.inner_class_types
|
52
|
-
@inner_class_types = {}
|
53
|
-
end
|
54
|
-
|
55
|
-
def self.field_remappings
|
56
|
-
@field_remappings = {}
|
57
|
-
end
|
58
42
|
end
|
59
43
|
|
60
44
|
class StatusTransitions < Stripe::StripeObject
|
@@ -62,14 +46,6 @@ module Stripe
|
|
62
46
|
attr_reader :posted_at
|
63
47
|
# The time at which the Transaction became void. Only present if status == void.
|
64
48
|
attr_reader :void_at
|
65
|
-
|
66
|
-
def self.inner_class_types
|
67
|
-
@inner_class_types = {}
|
68
|
-
end
|
69
|
-
|
70
|
-
def self.field_remappings
|
71
|
-
@field_remappings = {}
|
72
|
-
end
|
73
49
|
end
|
74
50
|
# The amount of the Transaction.
|
75
51
|
attr_reader :amount
|
@@ -98,18 +74,6 @@ module Stripe
|
|
98
74
|
attr_reader :status_transitions
|
99
75
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
100
76
|
attr_reader :livemode
|
101
|
-
|
102
|
-
def self.inner_class_types
|
103
|
-
@inner_class_types = {
|
104
|
-
balance_impact: BalanceImpact,
|
105
|
-
flow: Flow,
|
106
|
-
status_transitions: StatusTransitions,
|
107
|
-
}
|
108
|
-
end
|
109
|
-
|
110
|
-
def self.field_remappings
|
111
|
-
@field_remappings = {}
|
112
|
-
end
|
113
77
|
end
|
114
78
|
end
|
115
79
|
end
|
@@ -18,14 +18,6 @@ module Stripe
|
|
18
18
|
attr_reader :inbound_pending
|
19
19
|
# Impact to the outbound_pending balance.
|
20
20
|
attr_reader :outbound_pending
|
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
|
|
31
23
|
class TransactionDetails < Stripe::StripeObject
|
@@ -48,14 +40,6 @@ module Stripe
|
|
48
40
|
attr_reader :received_credit
|
49
41
|
# If applicable, the ID of the ReceivedDebit that created this Transaction.
|
50
42
|
attr_reader :received_debit
|
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
|
# Closed Enum for now, and will be turned into an Open Enum soon. A descriptive category used to classify the Transaction.
|
61
45
|
attr_reader :category
|
@@ -63,14 +47,6 @@ module Stripe
|
|
63
47
|
attr_reader :financial_account
|
64
48
|
# Details about the Flow object that created the Transaction.
|
65
49
|
attr_reader :flow
|
66
|
-
|
67
|
-
def self.inner_class_types
|
68
|
-
@inner_class_types = { flow: Flow }
|
69
|
-
end
|
70
|
-
|
71
|
-
def self.field_remappings
|
72
|
-
@field_remappings = {}
|
73
|
-
end
|
74
50
|
end
|
75
51
|
# The delta to the FinancialAccount's balance.
|
76
52
|
attr_reader :balance_impact
|
@@ -88,17 +64,6 @@ module Stripe
|
|
88
64
|
attr_reader :transaction_details
|
89
65
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
90
66
|
attr_reader :livemode
|
91
|
-
|
92
|
-
def self.inner_class_types
|
93
|
-
@inner_class_types = {
|
94
|
-
balance_impact: BalanceImpact,
|
95
|
-
transaction_details: TransactionDetails,
|
96
|
-
}
|
97
|
-
end
|
98
|
-
|
99
|
-
def self.field_remappings
|
100
|
-
@field_remappings = {}
|
101
|
-
end
|
102
67
|
end
|
103
68
|
end
|
104
69
|
end
|
@@ -16,14 +16,6 @@ module Stripe
|
|
16
16
|
attr_reader :attempts
|
17
17
|
# Indicates the strategy for how you want Stripe to retry the payment.
|
18
18
|
attr_reader :retry_strategy
|
19
|
-
|
20
|
-
def self.inner_class_types
|
21
|
-
@inner_class_types = {}
|
22
|
-
end
|
23
|
-
|
24
|
-
def self.field_remappings
|
25
|
-
@field_remappings = {}
|
26
|
-
end
|
27
19
|
end
|
28
20
|
|
29
21
|
class TransferData < Stripe::StripeObject
|
@@ -38,14 +30,6 @@ module Stripe
|
|
38
30
|
# The account (if any) that the payment is attributed to for tax reporting, and
|
39
31
|
# where funds from the payment are transferred to after payment success.
|
40
32
|
attr_reader :destination
|
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
|
# The “presentment amount” to be collected from the customer.
|
51
35
|
attr_reader :amount_requested
|
@@ -99,14 +83,6 @@ module Stripe
|
|
99
83
|
attr_reader :test_clock
|
100
84
|
# The data that automatically creates a Transfer after the payment finalizes. Learn more about the use case for [connected accounts](https://docs.corp.stripe.com/payments/connected-accounts).
|
101
85
|
attr_reader :transfer_data
|
102
|
-
|
103
|
-
def self.inner_class_types
|
104
|
-
@inner_class_types = { retry_details: RetryDetails, transfer_data: TransferData }
|
105
|
-
end
|
106
|
-
|
107
|
-
def self.field_remappings
|
108
|
-
@field_remappings = {}
|
109
|
-
end
|
110
86
|
end
|
111
87
|
end
|
112
88
|
end
|