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,13 +20,5 @@ module Stripe
|
|
20
20
|
attr_reader :livemode
|
21
21
|
# String representing the object's type. Objects of the same type share the same value.
|
22
22
|
attr_reader :object
|
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
|
end
|
@@ -22,14 +22,6 @@ module Stripe
|
|
22
22
|
attr_reader :additional
|
23
23
|
# Fields which every account must eventually provide.
|
24
24
|
attr_reader :minimum
|
25
|
-
|
26
|
-
def self.inner_class_types
|
27
|
-
@inner_class_types = {}
|
28
|
-
end
|
29
|
-
|
30
|
-
def self.field_remappings
|
31
|
-
@field_remappings = {}
|
32
|
-
end
|
33
25
|
end
|
34
26
|
|
35
27
|
class Individual < Stripe::StripeObject
|
@@ -37,27 +29,11 @@ module Stripe
|
|
37
29
|
attr_reader :additional
|
38
30
|
# Fields which every account must eventually provide.
|
39
31
|
attr_reader :minimum
|
40
|
-
|
41
|
-
def self.inner_class_types
|
42
|
-
@inner_class_types = {}
|
43
|
-
end
|
44
|
-
|
45
|
-
def self.field_remappings
|
46
|
-
@field_remappings = {}
|
47
|
-
end
|
48
32
|
end
|
49
33
|
# Attribute for field company
|
50
34
|
attr_reader :company
|
51
35
|
# Attribute for field individual
|
52
36
|
attr_reader :individual
|
53
|
-
|
54
|
-
def self.inner_class_types
|
55
|
-
@inner_class_types = { company: Company, individual: Individual }
|
56
|
-
end
|
57
|
-
|
58
|
-
def self.field_remappings
|
59
|
-
@field_remappings = {}
|
60
|
-
end
|
61
37
|
end
|
62
38
|
|
63
39
|
class ListParams < Stripe::RequestParams
|
@@ -98,13 +74,5 @@ module Stripe
|
|
98
74
|
def self.list(params = {}, opts = {})
|
99
75
|
request_stripe_object(method: :get, path: "/v1/country_specs", params: params, opts: opts)
|
100
76
|
end
|
101
|
-
|
102
|
-
def self.inner_class_types
|
103
|
-
@inner_class_types = { verification_fields: VerificationFields }
|
104
|
-
end
|
105
|
-
|
106
|
-
def self.field_remappings
|
107
|
-
@field_remappings = {}
|
108
|
-
end
|
109
77
|
end
|
110
78
|
end
|
@@ -19,27 +19,11 @@ module Stripe
|
|
19
19
|
class AppliesTo < Stripe::StripeObject
|
20
20
|
# A list of product IDs this coupon applies to
|
21
21
|
attr_reader :products
|
22
|
-
|
23
|
-
def self.inner_class_types
|
24
|
-
@inner_class_types = {}
|
25
|
-
end
|
26
|
-
|
27
|
-
def self.field_remappings
|
28
|
-
@field_remappings = {}
|
29
|
-
end
|
30
22
|
end
|
31
23
|
|
32
24
|
class CurrencyOptions < Stripe::StripeObject
|
33
25
|
# Amount (in the `currency` specified) that will be taken off the subtotal of any invoices for this customer.
|
34
26
|
attr_reader :amount_off
|
35
|
-
|
36
|
-
def self.inner_class_types
|
37
|
-
@inner_class_types = {}
|
38
|
-
end
|
39
|
-
|
40
|
-
def self.field_remappings
|
41
|
-
@field_remappings = {}
|
42
|
-
end
|
43
27
|
end
|
44
28
|
|
45
29
|
class Script < Stripe::StripeObject
|
@@ -49,14 +33,6 @@ module Stripe
|
|
49
33
|
attr_reader :display_name
|
50
34
|
# The script implementation ID for this coupon.
|
51
35
|
attr_reader :id
|
52
|
-
|
53
|
-
def self.inner_class_types
|
54
|
-
@inner_class_types = {}
|
55
|
-
end
|
56
|
-
|
57
|
-
def self.field_remappings
|
58
|
-
@field_remappings = {}
|
59
|
-
end
|
60
36
|
end
|
61
37
|
|
62
38
|
class DeleteParams < Stripe::RequestParams; end
|
@@ -298,17 +274,5 @@ module Stripe
|
|
298
274
|
opts: opts
|
299
275
|
)
|
300
276
|
end
|
301
|
-
|
302
|
-
def self.inner_class_types
|
303
|
-
@inner_class_types = {
|
304
|
-
applies_to: AppliesTo,
|
305
|
-
currency_options: CurrencyOptions,
|
306
|
-
script: Script,
|
307
|
-
}
|
308
|
-
end
|
309
|
-
|
310
|
-
def self.field_remappings
|
311
|
-
@field_remappings = {}
|
312
|
-
end
|
313
277
|
end
|
314
278
|
end
|
@@ -20,14 +20,6 @@ module Stripe
|
|
20
20
|
attr_reader :amount
|
21
21
|
# The discount that was applied to get this discount amount.
|
22
22
|
attr_reader :discount
|
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 PretaxCreditAmount < Stripe::StripeObject
|
@@ -39,14 +31,6 @@ module Stripe
|
|
39
31
|
attr_reader :discount
|
40
32
|
# Type of the pretax credit amount referenced.
|
41
33
|
attr_reader :type
|
42
|
-
|
43
|
-
def self.inner_class_types
|
44
|
-
@inner_class_types = {}
|
45
|
-
end
|
46
|
-
|
47
|
-
def self.field_remappings
|
48
|
-
@field_remappings = {}
|
49
|
-
end
|
50
34
|
end
|
51
35
|
|
52
36
|
class Refund < Stripe::StripeObject
|
@@ -54,14 +38,6 @@ module Stripe
|
|
54
38
|
attr_reader :amount_refunded
|
55
39
|
# ID of the refund.
|
56
40
|
attr_reader :refund
|
57
|
-
|
58
|
-
def self.inner_class_types
|
59
|
-
@inner_class_types = {}
|
60
|
-
end
|
61
|
-
|
62
|
-
def self.field_remappings
|
63
|
-
@field_remappings = {}
|
64
|
-
end
|
65
41
|
end
|
66
42
|
|
67
43
|
class ShippingCost < Stripe::StripeObject
|
@@ -76,14 +52,6 @@ module Stripe
|
|
76
52
|
attr_reader :taxability_reason
|
77
53
|
# The amount on which tax is calculated, in cents (or local equivalent).
|
78
54
|
attr_reader :taxable_amount
|
79
|
-
|
80
|
-
def self.inner_class_types
|
81
|
-
@inner_class_types = {}
|
82
|
-
end
|
83
|
-
|
84
|
-
def self.field_remappings
|
85
|
-
@field_remappings = {}
|
86
|
-
end
|
87
55
|
end
|
88
56
|
# Total shipping cost before any taxes are applied.
|
89
57
|
attr_reader :amount_subtotal
|
@@ -95,28 +63,12 @@ module Stripe
|
|
95
63
|
attr_reader :shipping_rate
|
96
64
|
# The taxes applied to the shipping rate.
|
97
65
|
attr_reader :taxes
|
98
|
-
|
99
|
-
def self.inner_class_types
|
100
|
-
@inner_class_types = { taxes: Tax }
|
101
|
-
end
|
102
|
-
|
103
|
-
def self.field_remappings
|
104
|
-
@field_remappings = {}
|
105
|
-
end
|
106
66
|
end
|
107
67
|
|
108
68
|
class TotalTax < Stripe::StripeObject
|
109
69
|
class TaxRateDetails < Stripe::StripeObject
|
110
70
|
# Attribute for field tax_rate
|
111
71
|
attr_reader :tax_rate
|
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
|
# The amount of the tax, in cents (or local equivalent).
|
122
74
|
attr_reader :amount
|
@@ -130,14 +82,6 @@ module Stripe
|
|
130
82
|
attr_reader :taxable_amount
|
131
83
|
# The type of tax information.
|
132
84
|
attr_reader :type
|
133
|
-
|
134
|
-
def self.inner_class_types
|
135
|
-
@inner_class_types = { tax_rate_details: TaxRateDetails }
|
136
|
-
end
|
137
|
-
|
138
|
-
def self.field_remappings
|
139
|
-
@field_remappings = {}
|
140
|
-
end
|
141
85
|
end
|
142
86
|
|
143
87
|
class ListParams < Stripe::RequestParams
|
@@ -791,19 +735,5 @@ module Stripe
|
|
791
735
|
opts: opts
|
792
736
|
)
|
793
737
|
end
|
794
|
-
|
795
|
-
def self.inner_class_types
|
796
|
-
@inner_class_types = {
|
797
|
-
discount_amounts: DiscountAmount,
|
798
|
-
pretax_credit_amounts: PretaxCreditAmount,
|
799
|
-
refunds: Refund,
|
800
|
-
shipping_cost: ShippingCost,
|
801
|
-
total_taxes: TotalTax,
|
802
|
-
}
|
803
|
-
end
|
804
|
-
|
805
|
-
def self.field_remappings
|
806
|
-
@field_remappings = {}
|
807
|
-
end
|
808
738
|
end
|
809
739
|
end
|
@@ -14,14 +14,6 @@ module Stripe
|
|
14
14
|
attr_reader :amount
|
15
15
|
# The discount that was applied to get this discount amount.
|
16
16
|
attr_reader :discount
|
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 PretaxCreditAmount < Stripe::StripeObject
|
@@ -33,14 +25,6 @@ module Stripe
|
|
33
25
|
attr_reader :discount
|
34
26
|
# Type of the pretax credit amount referenced.
|
35
27
|
attr_reader :type
|
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
28
|
end
|
45
29
|
|
46
30
|
class TaxCalculationReference < Stripe::StripeObject
|
@@ -48,28 +32,12 @@ module Stripe
|
|
48
32
|
attr_reader :calculation_id
|
49
33
|
# The calculation identifier for tax calculation response line item.
|
50
34
|
attr_reader :calculation_item_id
|
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
35
|
end
|
60
36
|
|
61
37
|
class Tax < Stripe::StripeObject
|
62
38
|
class TaxRateDetails < Stripe::StripeObject
|
63
39
|
# Attribute for field tax_rate
|
64
40
|
attr_reader :tax_rate
|
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
41
|
end
|
74
42
|
# The amount of the tax, in cents (or local equivalent).
|
75
43
|
attr_reader :amount
|
@@ -83,14 +51,6 @@ module Stripe
|
|
83
51
|
attr_reader :taxable_amount
|
84
52
|
# The type of tax information.
|
85
53
|
attr_reader :type
|
86
|
-
|
87
|
-
def self.inner_class_types
|
88
|
-
@inner_class_types = { tax_rate_details: TaxRateDetails }
|
89
|
-
end
|
90
|
-
|
91
|
-
def self.field_remappings
|
92
|
-
@field_remappings = {}
|
93
|
-
end
|
94
54
|
end
|
95
55
|
# The integer amount in cents (or local equivalent) representing the gross amount being credited for this line item, excluding (exclusive) tax and discounts.
|
96
56
|
attr_reader :amount
|
@@ -124,18 +84,5 @@ module Stripe
|
|
124
84
|
attr_reader :unit_amount
|
125
85
|
# Same as `unit_amount`, but contains a decimal value with at most 12 decimal places.
|
126
86
|
attr_reader :unit_amount_decimal
|
127
|
-
|
128
|
-
def self.inner_class_types
|
129
|
-
@inner_class_types = {
|
130
|
-
discount_amounts: DiscountAmount,
|
131
|
-
pretax_credit_amounts: PretaxCreditAmount,
|
132
|
-
tax_calculation_reference: TaxCalculationReference,
|
133
|
-
taxes: Tax,
|
134
|
-
}
|
135
|
-
end
|
136
|
-
|
137
|
-
def self.field_remappings
|
138
|
-
@field_remappings = {}
|
139
|
-
end
|
140
87
|
end
|
141
88
|
end
|
@@ -35,14 +35,6 @@ module Stripe
|
|
35
35
|
attr_reader :postal_code
|
36
36
|
# State, county, province, or region.
|
37
37
|
attr_reader :state
|
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
38
|
end
|
47
39
|
|
48
40
|
class InvoiceSettings < Stripe::StripeObject
|
@@ -51,14 +43,6 @@ module Stripe
|
|
51
43
|
attr_reader :name
|
52
44
|
# The value of the custom field.
|
53
45
|
attr_reader :value
|
54
|
-
|
55
|
-
def self.inner_class_types
|
56
|
-
@inner_class_types = {}
|
57
|
-
end
|
58
|
-
|
59
|
-
def self.field_remappings
|
60
|
-
@field_remappings = {}
|
61
|
-
end
|
62
46
|
end
|
63
47
|
|
64
48
|
class RenderingOptions < Stripe::StripeObject
|
@@ -66,14 +50,6 @@ module Stripe
|
|
66
50
|
attr_reader :amount_tax_display
|
67
51
|
# ID of the invoice rendering template to be used for this customer's invoices. If set, the template will be used on all invoices for this customer unless a template is set directly on the invoice.
|
68
52
|
attr_reader :template
|
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
|
# Default custom fields to be displayed on invoices for this customer.
|
79
55
|
attr_reader :custom_fields
|
@@ -83,14 +59,6 @@ module Stripe
|
|
83
59
|
attr_reader :footer
|
84
60
|
# Default options for invoice PDF rendering for this customer.
|
85
61
|
attr_reader :rendering_options
|
86
|
-
|
87
|
-
def self.inner_class_types
|
88
|
-
@inner_class_types = { custom_fields: CustomField, rendering_options: RenderingOptions }
|
89
|
-
end
|
90
|
-
|
91
|
-
def self.field_remappings
|
92
|
-
@field_remappings = {}
|
93
|
-
end
|
94
62
|
end
|
95
63
|
|
96
64
|
class Shipping < Stripe::StripeObject
|
@@ -107,14 +75,6 @@ module Stripe
|
|
107
75
|
attr_reader :postal_code
|
108
76
|
# State, county, province, or region.
|
109
77
|
attr_reader :state
|
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
78
|
end
|
119
79
|
# Attribute for field address
|
120
80
|
attr_reader :address
|
@@ -126,14 +86,6 @@ module Stripe
|
|
126
86
|
attr_reader :phone
|
127
87
|
# The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
|
128
88
|
attr_reader :tracking_number
|
129
|
-
|
130
|
-
def self.inner_class_types
|
131
|
-
@inner_class_types = { address: Address }
|
132
|
-
end
|
133
|
-
|
134
|
-
def self.field_remappings
|
135
|
-
@field_remappings = {}
|
136
|
-
end
|
137
89
|
end
|
138
90
|
|
139
91
|
class Tax < Stripe::StripeObject
|
@@ -144,14 +96,6 @@ module Stripe
|
|
144
96
|
attr_reader :source
|
145
97
|
# The identified tax state, county, province, or region of the customer.
|
146
98
|
attr_reader :state
|
147
|
-
|
148
|
-
def self.inner_class_types
|
149
|
-
@inner_class_types = {}
|
150
|
-
end
|
151
|
-
|
152
|
-
def self.field_remappings
|
153
|
-
@field_remappings = {}
|
154
|
-
end
|
155
99
|
end
|
156
100
|
# Surfaces if automatic tax computation is possible given the current customer location information.
|
157
101
|
attr_reader :automatic_tax
|
@@ -159,14 +103,6 @@ module Stripe
|
|
159
103
|
attr_reader :ip_address
|
160
104
|
# The identified tax location of the customer.
|
161
105
|
attr_reader :location
|
162
|
-
|
163
|
-
def self.inner_class_types
|
164
|
-
@inner_class_types = { location: Location }
|
165
|
-
end
|
166
|
-
|
167
|
-
def self.field_remappings
|
168
|
-
@field_remappings = {}
|
169
|
-
end
|
170
106
|
end
|
171
107
|
|
172
108
|
class DeleteParams < Stripe::RequestParams; end
|
@@ -1102,18 +1038,5 @@ module Stripe
|
|
1102
1038
|
)
|
1103
1039
|
end
|
1104
1040
|
end
|
1105
|
-
|
1106
|
-
def self.inner_class_types
|
1107
|
-
@inner_class_types = {
|
1108
|
-
address: Address,
|
1109
|
-
invoice_settings: InvoiceSettings,
|
1110
|
-
shipping: Shipping,
|
1111
|
-
tax: Tax,
|
1112
|
-
}
|
1113
|
-
end
|
1114
|
-
|
1115
|
-
def self.field_remappings
|
1116
|
-
@field_remappings = {}
|
1117
|
-
end
|
1118
1041
|
end
|
1119
1042
|
end
|
@@ -66,13 +66,5 @@ module Stripe
|
|
66
66
|
"Customer Balance Transactions cannot be retrieved without a customer ID. " \
|
67
67
|
"Update a Customer Balance Transaction using `Customer.update_balance_transaction('cus_123', 'cbtxn_123', params)`"
|
68
68
|
end
|
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
69
|
end
|
78
70
|
end
|
@@ -17,27 +17,11 @@ module Stripe
|
|
17
17
|
attr_reader :balance_transaction
|
18
18
|
# The [Cash Balance Transaction](https://stripe.com/docs/api/cash_balance_transactions/object) that brought the customer balance negative, triggering the clawback of funds.
|
19
19
|
attr_reader :linked_transaction
|
20
|
-
|
21
|
-
def self.inner_class_types
|
22
|
-
@inner_class_types = {}
|
23
|
-
end
|
24
|
-
|
25
|
-
def self.field_remappings
|
26
|
-
@field_remappings = {}
|
27
|
-
end
|
28
20
|
end
|
29
21
|
|
30
22
|
class AppliedToPayment < Stripe::StripeObject
|
31
23
|
# The [Payment Intent](https://stripe.com/docs/api/payment_intents/object) that funds were applied to.
|
32
24
|
attr_reader :payment_intent
|
33
|
-
|
34
|
-
def self.inner_class_types
|
35
|
-
@inner_class_types = {}
|
36
|
-
end
|
37
|
-
|
38
|
-
def self.field_remappings
|
39
|
-
@field_remappings = {}
|
40
|
-
end
|
41
25
|
end
|
42
26
|
|
43
27
|
class Funded < Stripe::StripeObject
|
@@ -49,14 +33,6 @@ module Stripe
|
|
49
33
|
attr_reader :iban_last4
|
50
34
|
# The full name of the sender, as supplied by the sending bank.
|
51
35
|
attr_reader :sender_name
|
52
|
-
|
53
|
-
def self.inner_class_types
|
54
|
-
@inner_class_types = {}
|
55
|
-
end
|
56
|
-
|
57
|
-
def self.field_remappings
|
58
|
-
@field_remappings = {}
|
59
|
-
end
|
60
36
|
end
|
61
37
|
|
62
38
|
class GbBankTransfer < Stripe::StripeObject
|
@@ -66,14 +42,6 @@ module Stripe
|
|
66
42
|
attr_reader :sender_name
|
67
43
|
# The sort code of the bank of the sender of the funding
|
68
44
|
attr_reader :sort_code
|
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
45
|
end
|
78
46
|
|
79
47
|
class JpBankTransfer < Stripe::StripeObject
|
@@ -83,14 +51,6 @@ module Stripe
|
|
83
51
|
attr_reader :sender_branch
|
84
52
|
# The full name of the sender, as supplied by the sending bank.
|
85
53
|
attr_reader :sender_name
|
86
|
-
|
87
|
-
def self.inner_class_types
|
88
|
-
@inner_class_types = {}
|
89
|
-
end
|
90
|
-
|
91
|
-
def self.field_remappings
|
92
|
-
@field_remappings = {}
|
93
|
-
end
|
94
54
|
end
|
95
55
|
|
96
56
|
class UsBankTransfer < Stripe::StripeObject
|
@@ -98,14 +58,6 @@ module Stripe
|
|
98
58
|
attr_reader :network
|
99
59
|
# The full name of the sender, as supplied by the sending bank.
|
100
60
|
attr_reader :sender_name
|
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
|
# Attribute for field eu_bank_transfer
|
111
63
|
attr_reader :eu_bank_transfer
|
@@ -119,69 +71,24 @@ module Stripe
|
|
119
71
|
attr_reader :type
|
120
72
|
# Attribute for field us_bank_transfer
|
121
73
|
attr_reader :us_bank_transfer
|
122
|
-
|
123
|
-
def self.inner_class_types
|
124
|
-
@inner_class_types = {
|
125
|
-
eu_bank_transfer: EuBankTransfer,
|
126
|
-
gb_bank_transfer: GbBankTransfer,
|
127
|
-
jp_bank_transfer: JpBankTransfer,
|
128
|
-
us_bank_transfer: UsBankTransfer,
|
129
|
-
}
|
130
|
-
end
|
131
|
-
|
132
|
-
def self.field_remappings
|
133
|
-
@field_remappings = {}
|
134
|
-
end
|
135
74
|
end
|
136
75
|
# Attribute for field bank_transfer
|
137
76
|
attr_reader :bank_transfer
|
138
|
-
|
139
|
-
def self.inner_class_types
|
140
|
-
@inner_class_types = { bank_transfer: BankTransfer }
|
141
|
-
end
|
142
|
-
|
143
|
-
def self.field_remappings
|
144
|
-
@field_remappings = {}
|
145
|
-
end
|
146
77
|
end
|
147
78
|
|
148
79
|
class RefundedFromPayment < Stripe::StripeObject
|
149
80
|
# The [Refund](https://stripe.com/docs/api/refunds/object) that moved these funds into the customer's cash balance.
|
150
81
|
attr_reader :refund
|
151
|
-
|
152
|
-
def self.inner_class_types
|
153
|
-
@inner_class_types = {}
|
154
|
-
end
|
155
|
-
|
156
|
-
def self.field_remappings
|
157
|
-
@field_remappings = {}
|
158
|
-
end
|
159
82
|
end
|
160
83
|
|
161
84
|
class TransferredToBalance < Stripe::StripeObject
|
162
85
|
# The [Balance Transaction](https://stripe.com/docs/api/balance_transactions/object) that corresponds to funds transferred to your Stripe balance.
|
163
86
|
attr_reader :balance_transaction
|
164
|
-
|
165
|
-
def self.inner_class_types
|
166
|
-
@inner_class_types = {}
|
167
|
-
end
|
168
|
-
|
169
|
-
def self.field_remappings
|
170
|
-
@field_remappings = {}
|
171
|
-
end
|
172
87
|
end
|
173
88
|
|
174
89
|
class UnappliedFromPayment < Stripe::StripeObject
|
175
90
|
# The [Payment Intent](https://stripe.com/docs/api/payment_intents/object) that funds were unapplied from.
|
176
91
|
attr_reader :payment_intent
|
177
|
-
|
178
|
-
def self.inner_class_types
|
179
|
-
@inner_class_types = {}
|
180
|
-
end
|
181
|
-
|
182
|
-
def self.field_remappings
|
183
|
-
@field_remappings = {}
|
184
|
-
end
|
185
92
|
end
|
186
93
|
# Attribute for field adjusted_for_overdraft
|
187
94
|
attr_reader :adjusted_for_overdraft
|
@@ -215,20 +122,5 @@ module Stripe
|
|
215
122
|
attr_reader :type
|
216
123
|
# Attribute for field unapplied_from_payment
|
217
124
|
attr_reader :unapplied_from_payment
|
218
|
-
|
219
|
-
def self.inner_class_types
|
220
|
-
@inner_class_types = {
|
221
|
-
adjusted_for_overdraft: AdjustedForOverdraft,
|
222
|
-
applied_to_payment: AppliedToPayment,
|
223
|
-
funded: Funded,
|
224
|
-
refunded_from_payment: RefundedFromPayment,
|
225
|
-
transferred_to_balance: TransferredToBalance,
|
226
|
-
unapplied_from_payment: UnappliedFromPayment,
|
227
|
-
}
|
228
|
-
end
|
229
|
-
|
230
|
-
def self.field_remappings
|
231
|
-
@field_remappings = {}
|
232
|
-
end
|
233
125
|
end
|
234
126
|
end
|