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
@@ -22,38 +22,14 @@ module Stripe
|
|
22
22
|
attr_reader :ip_address
|
23
23
|
# The user agent of the browser from which the Mandate was accepted by the customer.
|
24
24
|
attr_reader :user_agent
|
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
|
# If this is a Mandate accepted online, this hash contains details about the online acceptance.
|
35
27
|
attr_reader :online
|
36
28
|
# The type of customer acceptance information included with the Mandate.
|
37
29
|
attr_reader :type
|
38
|
-
|
39
|
-
def self.inner_class_types
|
40
|
-
@inner_class_types = { online: Online }
|
41
|
-
end
|
42
|
-
|
43
|
-
def self.field_remappings
|
44
|
-
@field_remappings = {}
|
45
|
-
end
|
46
30
|
end
|
47
31
|
# This hash contains details about the customer acceptance of the Mandate.
|
48
32
|
attr_reader :customer_acceptance
|
49
|
-
|
50
|
-
def self.inner_class_types
|
51
|
-
@inner_class_types = { customer_acceptance: CustomerAcceptance }
|
52
|
-
end
|
53
|
-
|
54
|
-
def self.field_remappings
|
55
|
-
@field_remappings = {}
|
56
|
-
end
|
57
33
|
end
|
58
34
|
|
59
35
|
class PaymentMethodOptions < Stripe::StripeObject
|
@@ -67,49 +43,17 @@ module Stripe
|
|
67
43
|
attr_reader :interval
|
68
44
|
# Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.
|
69
45
|
attr_reader :type
|
70
|
-
|
71
|
-
def self.inner_class_types
|
72
|
-
@inner_class_types = {}
|
73
|
-
end
|
74
|
-
|
75
|
-
def self.field_remappings
|
76
|
-
@field_remappings = {}
|
77
|
-
end
|
78
46
|
end
|
79
47
|
# Attribute for field plan
|
80
48
|
attr_reader :plan
|
81
|
-
|
82
|
-
def self.inner_class_types
|
83
|
-
@inner_class_types = { plan: Plan }
|
84
|
-
end
|
85
|
-
|
86
|
-
def self.field_remappings
|
87
|
-
@field_remappings = {}
|
88
|
-
end
|
89
49
|
end
|
90
50
|
# The `cvc_update` Token collected from the Payment Element.
|
91
51
|
attr_reader :cvc_token
|
92
52
|
# Installment configuration for payments.
|
93
53
|
attr_reader :installments
|
94
|
-
|
95
|
-
def self.inner_class_types
|
96
|
-
@inner_class_types = { installments: Installments }
|
97
|
-
end
|
98
|
-
|
99
|
-
def self.field_remappings
|
100
|
-
@field_remappings = {}
|
101
|
-
end
|
102
54
|
end
|
103
55
|
# This hash contains the card payment method options.
|
104
56
|
attr_reader :card
|
105
|
-
|
106
|
-
def self.inner_class_types
|
107
|
-
@inner_class_types = { card: Card }
|
108
|
-
end
|
109
|
-
|
110
|
-
def self.field_remappings
|
111
|
-
@field_remappings = {}
|
112
|
-
end
|
113
57
|
end
|
114
58
|
|
115
59
|
class PaymentMethodPreview < Stripe::StripeObject
|
@@ -126,65 +70,13 @@ module Stripe
|
|
126
70
|
attr_reader :last4
|
127
71
|
# Transit number of the bank account.
|
128
72
|
attr_reader :transit_number
|
129
|
-
|
130
|
-
def self.inner_class_types
|
131
|
-
@inner_class_types = {}
|
132
|
-
end
|
133
|
-
|
134
|
-
def self.field_remappings
|
135
|
-
@field_remappings = {}
|
136
|
-
end
|
137
|
-
end
|
138
|
-
|
139
|
-
class Affirm < Stripe::StripeObject
|
140
|
-
def self.inner_class_types
|
141
|
-
@inner_class_types = {}
|
142
|
-
end
|
143
|
-
|
144
|
-
def self.field_remappings
|
145
|
-
@field_remappings = {}
|
146
|
-
end
|
147
|
-
end
|
148
|
-
|
149
|
-
class AfterpayClearpay < Stripe::StripeObject
|
150
|
-
def self.inner_class_types
|
151
|
-
@inner_class_types = {}
|
152
|
-
end
|
153
|
-
|
154
|
-
def self.field_remappings
|
155
|
-
@field_remappings = {}
|
156
|
-
end
|
157
|
-
end
|
158
|
-
|
159
|
-
class Alipay < Stripe::StripeObject
|
160
|
-
def self.inner_class_types
|
161
|
-
@inner_class_types = {}
|
162
|
-
end
|
163
|
-
|
164
|
-
def self.field_remappings
|
165
|
-
@field_remappings = {}
|
166
|
-
end
|
167
73
|
end
|
168
74
|
|
169
|
-
class
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
def self.field_remappings
|
175
|
-
@field_remappings = {}
|
176
|
-
end
|
177
|
-
end
|
178
|
-
|
179
|
-
class AmazonPay < Stripe::StripeObject
|
180
|
-
def self.inner_class_types
|
181
|
-
@inner_class_types = {}
|
182
|
-
end
|
183
|
-
|
184
|
-
def self.field_remappings
|
185
|
-
@field_remappings = {}
|
186
|
-
end
|
187
|
-
end
|
75
|
+
class Affirm < Stripe::StripeObject; end
|
76
|
+
class AfterpayClearpay < Stripe::StripeObject; end
|
77
|
+
class Alipay < Stripe::StripeObject; end
|
78
|
+
class Alma < Stripe::StripeObject; end
|
79
|
+
class AmazonPay < Stripe::StripeObject; end
|
188
80
|
|
189
81
|
class AuBecsDebit < Stripe::StripeObject
|
190
82
|
# Six-digit number identifying bank and branch associated with this bank account.
|
@@ -193,14 +85,6 @@ module Stripe
|
|
193
85
|
attr_reader :fingerprint
|
194
86
|
# Last four digits of the bank account number.
|
195
87
|
attr_reader :last4
|
196
|
-
|
197
|
-
def self.inner_class_types
|
198
|
-
@inner_class_types = {}
|
199
|
-
end
|
200
|
-
|
201
|
-
def self.field_remappings
|
202
|
-
@field_remappings = {}
|
203
|
-
end
|
204
88
|
end
|
205
89
|
|
206
90
|
class BacsDebit < Stripe::StripeObject
|
@@ -210,35 +94,10 @@ module Stripe
|
|
210
94
|
attr_reader :last4
|
211
95
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
212
96
|
attr_reader :sort_code
|
213
|
-
|
214
|
-
def self.inner_class_types
|
215
|
-
@inner_class_types = {}
|
216
|
-
end
|
217
|
-
|
218
|
-
def self.field_remappings
|
219
|
-
@field_remappings = {}
|
220
|
-
end
|
221
97
|
end
|
222
98
|
|
223
|
-
class Bancontact < Stripe::StripeObject
|
224
|
-
|
225
|
-
@inner_class_types = {}
|
226
|
-
end
|
227
|
-
|
228
|
-
def self.field_remappings
|
229
|
-
@field_remappings = {}
|
230
|
-
end
|
231
|
-
end
|
232
|
-
|
233
|
-
class Billie < Stripe::StripeObject
|
234
|
-
def self.inner_class_types
|
235
|
-
@inner_class_types = {}
|
236
|
-
end
|
237
|
-
|
238
|
-
def self.field_remappings
|
239
|
-
@field_remappings = {}
|
240
|
-
end
|
241
|
-
end
|
99
|
+
class Bancontact < Stripe::StripeObject; end
|
100
|
+
class Billie < Stripe::StripeObject; end
|
242
101
|
|
243
102
|
class BillingDetails < Stripe::StripeObject
|
244
103
|
class Address < Stripe::StripeObject
|
@@ -254,14 +113,6 @@ module Stripe
|
|
254
113
|
attr_reader :postal_code
|
255
114
|
# State, county, province, or region.
|
256
115
|
attr_reader :state
|
257
|
-
|
258
|
-
def self.inner_class_types
|
259
|
-
@inner_class_types = {}
|
260
|
-
end
|
261
|
-
|
262
|
-
def self.field_remappings
|
263
|
-
@field_remappings = {}
|
264
|
-
end
|
265
116
|
end
|
266
117
|
# Billing address.
|
267
118
|
attr_reader :address
|
@@ -273,37 +124,13 @@ module Stripe
|
|
273
124
|
attr_reader :phone
|
274
125
|
# Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
275
126
|
attr_reader :tax_id
|
276
|
-
|
277
|
-
def self.inner_class_types
|
278
|
-
@inner_class_types = { address: Address }
|
279
|
-
end
|
280
|
-
|
281
|
-
def self.field_remappings
|
282
|
-
@field_remappings = {}
|
283
|
-
end
|
284
127
|
end
|
285
128
|
|
286
|
-
class Blik < Stripe::StripeObject
|
287
|
-
def self.inner_class_types
|
288
|
-
@inner_class_types = {}
|
289
|
-
end
|
290
|
-
|
291
|
-
def self.field_remappings
|
292
|
-
@field_remappings = {}
|
293
|
-
end
|
294
|
-
end
|
129
|
+
class Blik < Stripe::StripeObject; end
|
295
130
|
|
296
131
|
class Boleto < Stripe::StripeObject
|
297
132
|
# Uniquely identifies the customer tax id (CNPJ or CPF)
|
298
133
|
attr_reader :tax_id
|
299
|
-
|
300
|
-
def self.inner_class_types
|
301
|
-
@inner_class_types = {}
|
302
|
-
end
|
303
|
-
|
304
|
-
def self.field_remappings
|
305
|
-
@field_remappings = {}
|
306
|
-
end
|
307
134
|
end
|
308
135
|
|
309
136
|
class Card < Stripe::StripeObject
|
@@ -314,14 +141,6 @@ module Stripe
|
|
314
141
|
attr_reader :address_postal_code_check
|
315
142
|
# If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
316
143
|
attr_reader :cvc_check
|
317
|
-
|
318
|
-
def self.inner_class_types
|
319
|
-
@inner_class_types = {}
|
320
|
-
end
|
321
|
-
|
322
|
-
def self.field_remappings
|
323
|
-
@field_remappings = {}
|
324
|
-
end
|
325
144
|
end
|
326
145
|
|
327
146
|
class GeneratedFrom < Stripe::StripeObject
|
@@ -332,14 +151,6 @@ module Stripe
|
|
332
151
|
attr_reader :stored_at
|
333
152
|
# The method used to process this payment method offline. Only deferred is allowed.
|
334
153
|
attr_reader :type
|
335
|
-
|
336
|
-
def self.inner_class_types
|
337
|
-
@inner_class_types = {}
|
338
|
-
end
|
339
|
-
|
340
|
-
def self.field_remappings
|
341
|
-
@field_remappings = {}
|
342
|
-
end
|
343
154
|
end
|
344
155
|
|
345
156
|
class Receipt < Stripe::StripeObject
|
@@ -361,27 +172,11 @@ module Stripe
|
|
361
172
|
attr_reader :terminal_verification_results
|
362
173
|
# An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
|
363
174
|
attr_reader :transaction_status_information
|
364
|
-
|
365
|
-
def self.inner_class_types
|
366
|
-
@inner_class_types = {}
|
367
|
-
end
|
368
|
-
|
369
|
-
def self.field_remappings
|
370
|
-
@field_remappings = {}
|
371
|
-
end
|
372
175
|
end
|
373
176
|
|
374
177
|
class Wallet < Stripe::StripeObject
|
375
178
|
# The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
|
376
179
|
attr_reader :type
|
377
|
-
|
378
|
-
def self.inner_class_types
|
379
|
-
@inner_class_types = {}
|
380
|
-
end
|
381
|
-
|
382
|
-
def self.field_remappings
|
383
|
-
@field_remappings = {}
|
384
|
-
end
|
385
180
|
end
|
386
181
|
# The authorized amount
|
387
182
|
attr_reader :amount_authorized
|
@@ -435,27 +230,11 @@ module Stripe
|
|
435
230
|
attr_reader :receipt
|
436
231
|
# Attribute for field wallet
|
437
232
|
attr_reader :wallet
|
438
|
-
|
439
|
-
def self.inner_class_types
|
440
|
-
@inner_class_types = { offline: Offline, receipt: Receipt, wallet: Wallet }
|
441
|
-
end
|
442
|
-
|
443
|
-
def self.field_remappings
|
444
|
-
@field_remappings = {}
|
445
|
-
end
|
446
233
|
end
|
447
234
|
# Attribute for field card_present
|
448
235
|
attr_reader :card_present
|
449
236
|
# The type of payment method transaction-specific details from the transaction that generated this `card` payment method. Always `card_present`.
|
450
237
|
attr_reader :type
|
451
|
-
|
452
|
-
def self.inner_class_types
|
453
|
-
@inner_class_types = { card_present: CardPresent }
|
454
|
-
end
|
455
|
-
|
456
|
-
def self.field_remappings
|
457
|
-
@field_remappings = {}
|
458
|
-
end
|
459
238
|
end
|
460
239
|
# The charge that created this object.
|
461
240
|
attr_reader :charge
|
@@ -463,14 +242,6 @@ module Stripe
|
|
463
242
|
attr_reader :payment_method_details
|
464
243
|
# The ID of the SetupAttempt that generated this PaymentMethod, if any.
|
465
244
|
attr_reader :setup_attempt
|
466
|
-
|
467
|
-
def self.inner_class_types
|
468
|
-
@inner_class_types = { payment_method_details: PaymentMethodDetails }
|
469
|
-
end
|
470
|
-
|
471
|
-
def self.field_remappings
|
472
|
-
@field_remappings = {}
|
473
|
-
end
|
474
245
|
end
|
475
246
|
|
476
247
|
class Networks < Stripe::StripeObject
|
@@ -478,69 +249,18 @@ module Stripe
|
|
478
249
|
attr_reader :available
|
479
250
|
# The preferred network for co-branded cards. Can be `cartes_bancaires`, `mastercard`, `visa` or `invalid_preference` if requested network is not valid for the card.
|
480
251
|
attr_reader :preferred
|
481
|
-
|
482
|
-
def self.inner_class_types
|
483
|
-
@inner_class_types = {}
|
484
|
-
end
|
485
|
-
|
486
|
-
def self.field_remappings
|
487
|
-
@field_remappings = {}
|
488
|
-
end
|
489
252
|
end
|
490
253
|
|
491
254
|
class ThreeDSecureUsage < Stripe::StripeObject
|
492
255
|
# Whether 3D Secure is supported on this card.
|
493
256
|
attr_reader :supported
|
494
|
-
|
495
|
-
def self.inner_class_types
|
496
|
-
@inner_class_types = {}
|
497
|
-
end
|
498
|
-
|
499
|
-
def self.field_remappings
|
500
|
-
@field_remappings = {}
|
501
|
-
end
|
502
257
|
end
|
503
258
|
|
504
259
|
class Wallet < Stripe::StripeObject
|
505
|
-
class AmexExpressCheckout < Stripe::StripeObject
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
def self.field_remappings
|
511
|
-
@field_remappings = {}
|
512
|
-
end
|
513
|
-
end
|
514
|
-
|
515
|
-
class ApplePay < Stripe::StripeObject
|
516
|
-
def self.inner_class_types
|
517
|
-
@inner_class_types = {}
|
518
|
-
end
|
519
|
-
|
520
|
-
def self.field_remappings
|
521
|
-
@field_remappings = {}
|
522
|
-
end
|
523
|
-
end
|
524
|
-
|
525
|
-
class GooglePay < Stripe::StripeObject
|
526
|
-
def self.inner_class_types
|
527
|
-
@inner_class_types = {}
|
528
|
-
end
|
529
|
-
|
530
|
-
def self.field_remappings
|
531
|
-
@field_remappings = {}
|
532
|
-
end
|
533
|
-
end
|
534
|
-
|
535
|
-
class Link < Stripe::StripeObject
|
536
|
-
def self.inner_class_types
|
537
|
-
@inner_class_types = {}
|
538
|
-
end
|
539
|
-
|
540
|
-
def self.field_remappings
|
541
|
-
@field_remappings = {}
|
542
|
-
end
|
543
|
-
end
|
260
|
+
class AmexExpressCheckout < Stripe::StripeObject; end
|
261
|
+
class ApplePay < Stripe::StripeObject; end
|
262
|
+
class GooglePay < Stripe::StripeObject; end
|
263
|
+
class Link < Stripe::StripeObject; end
|
544
264
|
|
545
265
|
class Masterpass < Stripe::StripeObject
|
546
266
|
class BillingAddress < Stripe::StripeObject
|
@@ -556,14 +276,6 @@ module Stripe
|
|
556
276
|
attr_reader :postal_code
|
557
277
|
# State, county, province, or region.
|
558
278
|
attr_reader :state
|
559
|
-
|
560
|
-
def self.inner_class_types
|
561
|
-
@inner_class_types = {}
|
562
|
-
end
|
563
|
-
|
564
|
-
def self.field_remappings
|
565
|
-
@field_remappings = {}
|
566
|
-
end
|
567
279
|
end
|
568
280
|
|
569
281
|
class ShippingAddress < Stripe::StripeObject
|
@@ -579,14 +291,6 @@ module Stripe
|
|
579
291
|
attr_reader :postal_code
|
580
292
|
# State, county, province, or region.
|
581
293
|
attr_reader :state
|
582
|
-
|
583
|
-
def self.inner_class_types
|
584
|
-
@inner_class_types = {}
|
585
|
-
end
|
586
|
-
|
587
|
-
def self.field_remappings
|
588
|
-
@field_remappings = {}
|
589
|
-
end
|
590
294
|
end
|
591
295
|
# Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
592
296
|
attr_reader :billing_address
|
@@ -596,28 +300,9 @@ module Stripe
|
|
596
300
|
attr_reader :name
|
597
301
|
# Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
598
302
|
attr_reader :shipping_address
|
599
|
-
|
600
|
-
def self.inner_class_types
|
601
|
-
@inner_class_types = {
|
602
|
-
billing_address: BillingAddress,
|
603
|
-
shipping_address: ShippingAddress,
|
604
|
-
}
|
605
|
-
end
|
606
|
-
|
607
|
-
def self.field_remappings
|
608
|
-
@field_remappings = {}
|
609
|
-
end
|
610
303
|
end
|
611
304
|
|
612
|
-
class SamsungPay < Stripe::StripeObject
|
613
|
-
def self.inner_class_types
|
614
|
-
@inner_class_types = {}
|
615
|
-
end
|
616
|
-
|
617
|
-
def self.field_remappings
|
618
|
-
@field_remappings = {}
|
619
|
-
end
|
620
|
-
end
|
305
|
+
class SamsungPay < Stripe::StripeObject; end
|
621
306
|
|
622
307
|
class VisaCheckout < Stripe::StripeObject
|
623
308
|
class BillingAddress < Stripe::StripeObject
|
@@ -633,14 +318,6 @@ module Stripe
|
|
633
318
|
attr_reader :postal_code
|
634
319
|
# State, county, province, or region.
|
635
320
|
attr_reader :state
|
636
|
-
|
637
|
-
def self.inner_class_types
|
638
|
-
@inner_class_types = {}
|
639
|
-
end
|
640
|
-
|
641
|
-
def self.field_remappings
|
642
|
-
@field_remappings = {}
|
643
|
-
end
|
644
321
|
end
|
645
322
|
|
646
323
|
class ShippingAddress < Stripe::StripeObject
|
@@ -656,14 +333,6 @@ module Stripe
|
|
656
333
|
attr_reader :postal_code
|
657
334
|
# State, county, province, or region.
|
658
335
|
attr_reader :state
|
659
|
-
|
660
|
-
def self.inner_class_types
|
661
|
-
@inner_class_types = {}
|
662
|
-
end
|
663
|
-
|
664
|
-
def self.field_remappings
|
665
|
-
@field_remappings = {}
|
666
|
-
end
|
667
336
|
end
|
668
337
|
# Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
669
338
|
attr_reader :billing_address
|
@@ -673,17 +342,6 @@ module Stripe
|
|
673
342
|
attr_reader :name
|
674
343
|
# Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
675
344
|
attr_reader :shipping_address
|
676
|
-
|
677
|
-
def self.inner_class_types
|
678
|
-
@inner_class_types = {
|
679
|
-
billing_address: BillingAddress,
|
680
|
-
shipping_address: ShippingAddress,
|
681
|
-
}
|
682
|
-
end
|
683
|
-
|
684
|
-
def self.field_remappings
|
685
|
-
@field_remappings = {}
|
686
|
-
end
|
687
345
|
end
|
688
346
|
# Attribute for field amex_express_checkout
|
689
347
|
attr_reader :amex_express_checkout
|
@@ -703,22 +361,6 @@ module Stripe
|
|
703
361
|
attr_reader :type
|
704
362
|
# Attribute for field visa_checkout
|
705
363
|
attr_reader :visa_checkout
|
706
|
-
|
707
|
-
def self.inner_class_types
|
708
|
-
@inner_class_types = {
|
709
|
-
amex_express_checkout: AmexExpressCheckout,
|
710
|
-
apple_pay: ApplePay,
|
711
|
-
google_pay: GooglePay,
|
712
|
-
link: Link,
|
713
|
-
masterpass: Masterpass,
|
714
|
-
samsung_pay: SamsungPay,
|
715
|
-
visa_checkout: VisaCheckout,
|
716
|
-
}
|
717
|
-
end
|
718
|
-
|
719
|
-
def self.field_remappings
|
720
|
-
@field_remappings = {}
|
721
|
-
end
|
722
364
|
end
|
723
365
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
724
366
|
attr_reader :brand
|
@@ -756,20 +398,6 @@ module Stripe
|
|
756
398
|
attr_reader :three_d_secure_usage
|
757
399
|
# If this Card is part of a card wallet, this contains the details of the card wallet.
|
758
400
|
attr_reader :wallet
|
759
|
-
|
760
|
-
def self.inner_class_types
|
761
|
-
@inner_class_types = {
|
762
|
-
checks: Checks,
|
763
|
-
generated_from: GeneratedFrom,
|
764
|
-
networks: Networks,
|
765
|
-
three_d_secure_usage: ThreeDSecureUsage,
|
766
|
-
wallet: Wallet,
|
767
|
-
}
|
768
|
-
end
|
769
|
-
|
770
|
-
def self.field_remappings
|
771
|
-
@field_remappings = {}
|
772
|
-
end
|
773
401
|
end
|
774
402
|
|
775
403
|
class CardPresent < Stripe::StripeObject
|
@@ -778,14 +406,6 @@ module Stripe
|
|
778
406
|
attr_reader :available
|
779
407
|
# The preferred network for the card.
|
780
408
|
attr_reader :preferred
|
781
|
-
|
782
|
-
def self.inner_class_types
|
783
|
-
@inner_class_types = {}
|
784
|
-
end
|
785
|
-
|
786
|
-
def self.field_remappings
|
787
|
-
@field_remappings = {}
|
788
|
-
end
|
789
409
|
end
|
790
410
|
|
791
411
|
class Offline < Stripe::StripeObject
|
@@ -793,27 +413,11 @@ module Stripe
|
|
793
413
|
attr_reader :stored_at
|
794
414
|
# The method used to process this payment method offline. Only deferred is allowed.
|
795
415
|
attr_reader :type
|
796
|
-
|
797
|
-
def self.inner_class_types
|
798
|
-
@inner_class_types = {}
|
799
|
-
end
|
800
|
-
|
801
|
-
def self.field_remappings
|
802
|
-
@field_remappings = {}
|
803
|
-
end
|
804
416
|
end
|
805
417
|
|
806
418
|
class Wallet < Stripe::StripeObject
|
807
419
|
# The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
|
808
420
|
attr_reader :type
|
809
|
-
|
810
|
-
def self.inner_class_types
|
811
|
-
@inner_class_types = {}
|
812
|
-
end
|
813
|
-
|
814
|
-
def self.field_remappings
|
815
|
-
@field_remappings = {}
|
816
|
-
end
|
817
421
|
end
|
818
422
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
819
423
|
attr_reader :brand
|
@@ -851,14 +455,6 @@ module Stripe
|
|
851
455
|
attr_reader :read_method
|
852
456
|
# Attribute for field wallet
|
853
457
|
attr_reader :wallet
|
854
|
-
|
855
|
-
def self.inner_class_types
|
856
|
-
@inner_class_types = { networks: Networks, offline: Offline, wallet: Wallet }
|
857
|
-
end
|
858
|
-
|
859
|
-
def self.field_remappings
|
860
|
-
@field_remappings = {}
|
861
|
-
end
|
862
458
|
end
|
863
459
|
|
864
460
|
class Cashapp < Stripe::StripeObject
|
@@ -866,47 +462,14 @@ module Stripe
|
|
866
462
|
attr_reader :buyer_id
|
867
463
|
# A public identifier for buyers using Cash App.
|
868
464
|
attr_reader :cashtag
|
869
|
-
|
870
|
-
def self.inner_class_types
|
871
|
-
@inner_class_types = {}
|
872
|
-
end
|
873
|
-
|
874
|
-
def self.field_remappings
|
875
|
-
@field_remappings = {}
|
876
|
-
end
|
877
|
-
end
|
878
|
-
|
879
|
-
class Crypto < Stripe::StripeObject
|
880
|
-
def self.inner_class_types
|
881
|
-
@inner_class_types = {}
|
882
|
-
end
|
883
|
-
|
884
|
-
def self.field_remappings
|
885
|
-
@field_remappings = {}
|
886
|
-
end
|
887
465
|
end
|
888
466
|
|
889
|
-
class
|
890
|
-
|
891
|
-
@inner_class_types = {}
|
892
|
-
end
|
893
|
-
|
894
|
-
def self.field_remappings
|
895
|
-
@field_remappings = {}
|
896
|
-
end
|
897
|
-
end
|
467
|
+
class Crypto < Stripe::StripeObject; end
|
468
|
+
class CustomerBalance < Stripe::StripeObject; end
|
898
469
|
|
899
470
|
class Eps < Stripe::StripeObject
|
900
471
|
# The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`.
|
901
472
|
attr_reader :bank
|
902
|
-
|
903
|
-
def self.inner_class_types
|
904
|
-
@inner_class_types = {}
|
905
|
-
end
|
906
|
-
|
907
|
-
def self.field_remappings
|
908
|
-
@field_remappings = {}
|
909
|
-
end
|
910
473
|
end
|
911
474
|
|
912
475
|
class Fpx < Stripe::StripeObject
|
@@ -914,45 +477,11 @@ module Stripe
|
|
914
477
|
attr_reader :account_holder_type
|
915
478
|
# The customer's bank, if provided. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `pb_enterprise`, or `bank_of_china`.
|
916
479
|
attr_reader :bank
|
917
|
-
|
918
|
-
def self.inner_class_types
|
919
|
-
@inner_class_types = {}
|
920
|
-
end
|
921
|
-
|
922
|
-
def self.field_remappings
|
923
|
-
@field_remappings = {}
|
924
|
-
end
|
925
480
|
end
|
926
481
|
|
927
|
-
class Giropay < Stripe::StripeObject
|
928
|
-
|
929
|
-
|
930
|
-
end
|
931
|
-
|
932
|
-
def self.field_remappings
|
933
|
-
@field_remappings = {}
|
934
|
-
end
|
935
|
-
end
|
936
|
-
|
937
|
-
class Gopay < Stripe::StripeObject
|
938
|
-
def self.inner_class_types
|
939
|
-
@inner_class_types = {}
|
940
|
-
end
|
941
|
-
|
942
|
-
def self.field_remappings
|
943
|
-
@field_remappings = {}
|
944
|
-
end
|
945
|
-
end
|
946
|
-
|
947
|
-
class Grabpay < Stripe::StripeObject
|
948
|
-
def self.inner_class_types
|
949
|
-
@inner_class_types = {}
|
950
|
-
end
|
951
|
-
|
952
|
-
def self.field_remappings
|
953
|
-
@field_remappings = {}
|
954
|
-
end
|
955
|
-
end
|
482
|
+
class Giropay < Stripe::StripeObject; end
|
483
|
+
class Gopay < Stripe::StripeObject; end
|
484
|
+
class Grabpay < Stripe::StripeObject; end
|
956
485
|
|
957
486
|
class IdBankTransfer < Stripe::StripeObject
|
958
487
|
# Attribute for field bank
|
@@ -963,14 +492,6 @@ module Stripe
|
|
963
492
|
attr_reader :bank_name
|
964
493
|
# Attribute for field display_name
|
965
494
|
attr_reader :display_name
|
966
|
-
|
967
|
-
def self.inner_class_types
|
968
|
-
@inner_class_types = {}
|
969
|
-
end
|
970
|
-
|
971
|
-
def self.field_remappings
|
972
|
-
@field_remappings = {}
|
973
|
-
end
|
974
495
|
end
|
975
496
|
|
976
497
|
class Ideal < Stripe::StripeObject
|
@@ -978,14 +499,6 @@ module Stripe
|
|
978
499
|
attr_reader :bank
|
979
500
|
# The Bank Identifier Code of the customer's bank, if the bank was provided.
|
980
501
|
attr_reader :bic
|
981
|
-
|
982
|
-
def self.inner_class_types
|
983
|
-
@inner_class_types = {}
|
984
|
-
end
|
985
|
-
|
986
|
-
def self.field_remappings
|
987
|
-
@field_remappings = {}
|
988
|
-
end
|
989
502
|
end
|
990
503
|
|
991
504
|
class InteracPresent < Stripe::StripeObject
|
@@ -994,14 +507,6 @@ module Stripe
|
|
994
507
|
attr_reader :available
|
995
508
|
# The preferred network for the card.
|
996
509
|
attr_reader :preferred
|
997
|
-
|
998
|
-
def self.inner_class_types
|
999
|
-
@inner_class_types = {}
|
1000
|
-
end
|
1001
|
-
|
1002
|
-
def self.field_remappings
|
1003
|
-
@field_remappings = {}
|
1004
|
-
end
|
1005
510
|
end
|
1006
511
|
# Card brand. Can be `interac`, `mastercard` or `visa`.
|
1007
512
|
attr_reader :brand
|
@@ -1033,25 +538,9 @@ module Stripe
|
|
1033
538
|
attr_reader :preferred_locales
|
1034
539
|
# How card details were read in this transaction.
|
1035
540
|
attr_reader :read_method
|
1036
|
-
|
1037
|
-
def self.inner_class_types
|
1038
|
-
@inner_class_types = { networks: Networks }
|
1039
|
-
end
|
1040
|
-
|
1041
|
-
def self.field_remappings
|
1042
|
-
@field_remappings = {}
|
1043
|
-
end
|
1044
541
|
end
|
1045
542
|
|
1046
|
-
class KakaoPay < Stripe::StripeObject
|
1047
|
-
def self.inner_class_types
|
1048
|
-
@inner_class_types = {}
|
1049
|
-
end
|
1050
|
-
|
1051
|
-
def self.field_remappings
|
1052
|
-
@field_remappings = {}
|
1053
|
-
end
|
1054
|
-
end
|
543
|
+
class KakaoPay < Stripe::StripeObject; end
|
1055
544
|
|
1056
545
|
class Klarna < Stripe::StripeObject
|
1057
546
|
class Dob < Stripe::StripeObject
|
@@ -1061,50 +550,18 @@ module Stripe
|
|
1061
550
|
attr_reader :month
|
1062
551
|
# The four-digit year of birth.
|
1063
552
|
attr_reader :year
|
1064
|
-
|
1065
|
-
def self.inner_class_types
|
1066
|
-
@inner_class_types = {}
|
1067
|
-
end
|
1068
|
-
|
1069
|
-
def self.field_remappings
|
1070
|
-
@field_remappings = {}
|
1071
|
-
end
|
1072
553
|
end
|
1073
554
|
# The customer's date of birth, if provided.
|
1074
555
|
attr_reader :dob
|
1075
|
-
|
1076
|
-
def self.inner_class_types
|
1077
|
-
@inner_class_types = { dob: Dob }
|
1078
|
-
end
|
1079
|
-
|
1080
|
-
def self.field_remappings
|
1081
|
-
@field_remappings = {}
|
1082
|
-
end
|
1083
556
|
end
|
1084
557
|
|
1085
|
-
class Konbini < Stripe::StripeObject
|
1086
|
-
def self.inner_class_types
|
1087
|
-
@inner_class_types = {}
|
1088
|
-
end
|
1089
|
-
|
1090
|
-
def self.field_remappings
|
1091
|
-
@field_remappings = {}
|
1092
|
-
end
|
1093
|
-
end
|
558
|
+
class Konbini < Stripe::StripeObject; end
|
1094
559
|
|
1095
560
|
class KrCard < Stripe::StripeObject
|
1096
561
|
# The local credit or debit card brand.
|
1097
562
|
attr_reader :brand
|
1098
563
|
# The last four digits of the card. This may not be present for American Express cards.
|
1099
564
|
attr_reader :last4
|
1100
|
-
|
1101
|
-
def self.inner_class_types
|
1102
|
-
@inner_class_types = {}
|
1103
|
-
end
|
1104
|
-
|
1105
|
-
def self.field_remappings
|
1106
|
-
@field_remappings = {}
|
1107
|
-
end
|
1108
565
|
end
|
1109
566
|
|
1110
567
|
class Link < Stripe::StripeObject
|
@@ -1112,59 +569,17 @@ module Stripe
|
|
1112
569
|
attr_reader :email
|
1113
570
|
# [Deprecated] This is a legacy parameter that no longer has any function.
|
1114
571
|
attr_reader :persistent_token
|
1115
|
-
|
1116
|
-
def self.inner_class_types
|
1117
|
-
@inner_class_types = {}
|
1118
|
-
end
|
1119
|
-
|
1120
|
-
def self.field_remappings
|
1121
|
-
@field_remappings = {}
|
1122
|
-
end
|
1123
572
|
end
|
1124
573
|
|
1125
|
-
class MbWay < Stripe::StripeObject
|
1126
|
-
|
1127
|
-
|
1128
|
-
end
|
1129
|
-
|
1130
|
-
def self.field_remappings
|
1131
|
-
@field_remappings = {}
|
1132
|
-
end
|
1133
|
-
end
|
1134
|
-
|
1135
|
-
class Mobilepay < Stripe::StripeObject
|
1136
|
-
def self.inner_class_types
|
1137
|
-
@inner_class_types = {}
|
1138
|
-
end
|
1139
|
-
|
1140
|
-
def self.field_remappings
|
1141
|
-
@field_remappings = {}
|
1142
|
-
end
|
1143
|
-
end
|
1144
|
-
|
1145
|
-
class Multibanco < Stripe::StripeObject
|
1146
|
-
def self.inner_class_types
|
1147
|
-
@inner_class_types = {}
|
1148
|
-
end
|
1149
|
-
|
1150
|
-
def self.field_remappings
|
1151
|
-
@field_remappings = {}
|
1152
|
-
end
|
1153
|
-
end
|
574
|
+
class MbWay < Stripe::StripeObject; end
|
575
|
+
class Mobilepay < Stripe::StripeObject; end
|
576
|
+
class Multibanco < Stripe::StripeObject; end
|
1154
577
|
|
1155
578
|
class NaverPay < Stripe::StripeObject
|
1156
579
|
# Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same.
|
1157
580
|
attr_reader :buyer_id
|
1158
581
|
# Whether to fund this transaction with Naver Pay points or a card.
|
1159
582
|
attr_reader :funding
|
1160
|
-
|
1161
|
-
def self.inner_class_types
|
1162
|
-
@inner_class_types = {}
|
1163
|
-
end
|
1164
|
-
|
1165
|
-
def self.field_remappings
|
1166
|
-
@field_remappings = {}
|
1167
|
-
end
|
1168
583
|
end
|
1169
584
|
|
1170
585
|
class NzBankAccount < Stripe::StripeObject
|
@@ -1180,68 +595,18 @@ module Stripe
|
|
1180
595
|
attr_reader :last4
|
1181
596
|
# The suffix of the bank account number.
|
1182
597
|
attr_reader :suffix
|
1183
|
-
|
1184
|
-
def self.inner_class_types
|
1185
|
-
@inner_class_types = {}
|
1186
|
-
end
|
1187
|
-
|
1188
|
-
def self.field_remappings
|
1189
|
-
@field_remappings = {}
|
1190
|
-
end
|
1191
598
|
end
|
1192
599
|
|
1193
|
-
class Oxxo < Stripe::StripeObject
|
1194
|
-
def self.inner_class_types
|
1195
|
-
@inner_class_types = {}
|
1196
|
-
end
|
1197
|
-
|
1198
|
-
def self.field_remappings
|
1199
|
-
@field_remappings = {}
|
1200
|
-
end
|
1201
|
-
end
|
600
|
+
class Oxxo < Stripe::StripeObject; end
|
1202
601
|
|
1203
602
|
class P24 < Stripe::StripeObject
|
1204
603
|
# The customer's bank, if provided.
|
1205
604
|
attr_reader :bank
|
1206
|
-
|
1207
|
-
def self.inner_class_types
|
1208
|
-
@inner_class_types = {}
|
1209
|
-
end
|
1210
|
-
|
1211
|
-
def self.field_remappings
|
1212
|
-
@field_remappings = {}
|
1213
|
-
end
|
1214
|
-
end
|
1215
|
-
|
1216
|
-
class PayByBank < Stripe::StripeObject
|
1217
|
-
def self.inner_class_types
|
1218
|
-
@inner_class_types = {}
|
1219
|
-
end
|
1220
|
-
|
1221
|
-
def self.field_remappings
|
1222
|
-
@field_remappings = {}
|
1223
|
-
end
|
1224
|
-
end
|
1225
|
-
|
1226
|
-
class Payco < Stripe::StripeObject
|
1227
|
-
def self.inner_class_types
|
1228
|
-
@inner_class_types = {}
|
1229
|
-
end
|
1230
|
-
|
1231
|
-
def self.field_remappings
|
1232
|
-
@field_remappings = {}
|
1233
|
-
end
|
1234
605
|
end
|
1235
606
|
|
1236
|
-
class
|
1237
|
-
|
1238
|
-
|
1239
|
-
end
|
1240
|
-
|
1241
|
-
def self.field_remappings
|
1242
|
-
@field_remappings = {}
|
1243
|
-
end
|
1244
|
-
end
|
607
|
+
class PayByBank < Stripe::StripeObject; end
|
608
|
+
class Payco < Stripe::StripeObject; end
|
609
|
+
class Paynow < Stripe::StripeObject; end
|
1245
610
|
|
1246
611
|
class Paypal < Stripe::StripeObject
|
1247
612
|
# Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
@@ -1256,14 +621,6 @@ module Stripe
|
|
1256
621
|
# Owner's verified email. Values are verified or provided by PayPal directly
|
1257
622
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
1258
623
|
attr_reader :verified_email
|
1259
|
-
|
1260
|
-
def self.inner_class_types
|
1261
|
-
@inner_class_types = {}
|
1262
|
-
end
|
1263
|
-
|
1264
|
-
def self.field_remappings
|
1265
|
-
@field_remappings = {}
|
1266
|
-
end
|
1267
624
|
end
|
1268
625
|
|
1269
626
|
class Payto < Stripe::StripeObject
|
@@ -1273,45 +630,11 @@ module Stripe
|
|
1273
630
|
attr_reader :last4
|
1274
631
|
# The PayID alias for the bank account.
|
1275
632
|
attr_reader :pay_id
|
1276
|
-
|
1277
|
-
def self.inner_class_types
|
1278
|
-
@inner_class_types = {}
|
1279
|
-
end
|
1280
|
-
|
1281
|
-
def self.field_remappings
|
1282
|
-
@field_remappings = {}
|
1283
|
-
end
|
1284
633
|
end
|
1285
634
|
|
1286
|
-
class Pix < Stripe::StripeObject
|
1287
|
-
|
1288
|
-
|
1289
|
-
end
|
1290
|
-
|
1291
|
-
def self.field_remappings
|
1292
|
-
@field_remappings = {}
|
1293
|
-
end
|
1294
|
-
end
|
1295
|
-
|
1296
|
-
class Promptpay < Stripe::StripeObject
|
1297
|
-
def self.inner_class_types
|
1298
|
-
@inner_class_types = {}
|
1299
|
-
end
|
1300
|
-
|
1301
|
-
def self.field_remappings
|
1302
|
-
@field_remappings = {}
|
1303
|
-
end
|
1304
|
-
end
|
1305
|
-
|
1306
|
-
class Qris < Stripe::StripeObject
|
1307
|
-
def self.inner_class_types
|
1308
|
-
@inner_class_types = {}
|
1309
|
-
end
|
1310
|
-
|
1311
|
-
def self.field_remappings
|
1312
|
-
@field_remappings = {}
|
1313
|
-
end
|
1314
|
-
end
|
635
|
+
class Pix < Stripe::StripeObject; end
|
636
|
+
class Promptpay < Stripe::StripeObject; end
|
637
|
+
class Qris < Stripe::StripeObject; end
|
1315
638
|
|
1316
639
|
class Rechnung < Stripe::StripeObject
|
1317
640
|
class Dob < Stripe::StripeObject
|
@@ -1321,56 +644,14 @@ module Stripe
|
|
1321
644
|
attr_reader :month
|
1322
645
|
# The four-digit year of birth.
|
1323
646
|
attr_reader :year
|
1324
|
-
|
1325
|
-
def self.inner_class_types
|
1326
|
-
@inner_class_types = {}
|
1327
|
-
end
|
1328
|
-
|
1329
|
-
def self.field_remappings
|
1330
|
-
@field_remappings = {}
|
1331
|
-
end
|
1332
647
|
end
|
1333
648
|
# Attribute for field dob
|
1334
649
|
attr_reader :dob
|
1335
|
-
|
1336
|
-
def self.inner_class_types
|
1337
|
-
@inner_class_types = { dob: Dob }
|
1338
|
-
end
|
1339
|
-
|
1340
|
-
def self.field_remappings
|
1341
|
-
@field_remappings = {}
|
1342
|
-
end
|
1343
650
|
end
|
1344
651
|
|
1345
|
-
class RevolutPay < Stripe::StripeObject
|
1346
|
-
|
1347
|
-
|
1348
|
-
end
|
1349
|
-
|
1350
|
-
def self.field_remappings
|
1351
|
-
@field_remappings = {}
|
1352
|
-
end
|
1353
|
-
end
|
1354
|
-
|
1355
|
-
class SamsungPay < Stripe::StripeObject
|
1356
|
-
def self.inner_class_types
|
1357
|
-
@inner_class_types = {}
|
1358
|
-
end
|
1359
|
-
|
1360
|
-
def self.field_remappings
|
1361
|
-
@field_remappings = {}
|
1362
|
-
end
|
1363
|
-
end
|
1364
|
-
|
1365
|
-
class Satispay < Stripe::StripeObject
|
1366
|
-
def self.inner_class_types
|
1367
|
-
@inner_class_types = {}
|
1368
|
-
end
|
1369
|
-
|
1370
|
-
def self.field_remappings
|
1371
|
-
@field_remappings = {}
|
1372
|
-
end
|
1373
|
-
end
|
652
|
+
class RevolutPay < Stripe::StripeObject; end
|
653
|
+
class SamsungPay < Stripe::StripeObject; end
|
654
|
+
class Satispay < Stripe::StripeObject; end
|
1374
655
|
|
1375
656
|
class SepaDebit < Stripe::StripeObject
|
1376
657
|
class GeneratedFrom < Stripe::StripeObject
|
@@ -1378,14 +659,6 @@ module Stripe
|
|
1378
659
|
attr_reader :charge
|
1379
660
|
# The ID of the SetupAttempt that generated this PaymentMethod, if any.
|
1380
661
|
attr_reader :setup_attempt
|
1381
|
-
|
1382
|
-
def self.inner_class_types
|
1383
|
-
@inner_class_types = {}
|
1384
|
-
end
|
1385
|
-
|
1386
|
-
def self.field_remappings
|
1387
|
-
@field_remappings = {}
|
1388
|
-
end
|
1389
662
|
end
|
1390
663
|
# Bank code of bank associated with the bank account.
|
1391
664
|
attr_reader :bank_code
|
@@ -1399,37 +672,13 @@ module Stripe
|
|
1399
672
|
attr_reader :generated_from
|
1400
673
|
# Last four characters of the IBAN.
|
1401
674
|
attr_reader :last4
|
1402
|
-
|
1403
|
-
def self.inner_class_types
|
1404
|
-
@inner_class_types = { generated_from: GeneratedFrom }
|
1405
|
-
end
|
1406
|
-
|
1407
|
-
def self.field_remappings
|
1408
|
-
@field_remappings = {}
|
1409
|
-
end
|
1410
675
|
end
|
1411
676
|
|
1412
|
-
class Shopeepay < Stripe::StripeObject
|
1413
|
-
def self.inner_class_types
|
1414
|
-
@inner_class_types = {}
|
1415
|
-
end
|
1416
|
-
|
1417
|
-
def self.field_remappings
|
1418
|
-
@field_remappings = {}
|
1419
|
-
end
|
1420
|
-
end
|
677
|
+
class Shopeepay < Stripe::StripeObject; end
|
1421
678
|
|
1422
679
|
class Sofort < Stripe::StripeObject
|
1423
680
|
# Two-letter ISO code representing the country the bank account is located in.
|
1424
681
|
attr_reader :country
|
1425
|
-
|
1426
|
-
def self.inner_class_types
|
1427
|
-
@inner_class_types = {}
|
1428
|
-
end
|
1429
|
-
|
1430
|
-
def self.field_remappings
|
1431
|
-
@field_remappings = {}
|
1432
|
-
end
|
1433
682
|
end
|
1434
683
|
|
1435
684
|
class StripeBalance < Stripe::StripeObject
|
@@ -1437,35 +686,10 @@ module Stripe
|
|
1437
686
|
attr_reader :account
|
1438
687
|
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
1439
688
|
attr_reader :source_type
|
1440
|
-
|
1441
|
-
def self.inner_class_types
|
1442
|
-
@inner_class_types = {}
|
1443
|
-
end
|
1444
|
-
|
1445
|
-
def self.field_remappings
|
1446
|
-
@field_remappings = {}
|
1447
|
-
end
|
1448
689
|
end
|
1449
690
|
|
1450
|
-
class Swish < Stripe::StripeObject
|
1451
|
-
|
1452
|
-
@inner_class_types = {}
|
1453
|
-
end
|
1454
|
-
|
1455
|
-
def self.field_remappings
|
1456
|
-
@field_remappings = {}
|
1457
|
-
end
|
1458
|
-
end
|
1459
|
-
|
1460
|
-
class Twint < Stripe::StripeObject
|
1461
|
-
def self.inner_class_types
|
1462
|
-
@inner_class_types = {}
|
1463
|
-
end
|
1464
|
-
|
1465
|
-
def self.field_remappings
|
1466
|
-
@field_remappings = {}
|
1467
|
-
end
|
1468
|
-
end
|
691
|
+
class Swish < Stripe::StripeObject; end
|
692
|
+
class Twint < Stripe::StripeObject; end
|
1469
693
|
|
1470
694
|
class UsBankAccount < Stripe::StripeObject
|
1471
695
|
class Networks < Stripe::StripeObject
|
@@ -1473,14 +697,6 @@ module Stripe
|
|
1473
697
|
attr_reader :preferred
|
1474
698
|
# All supported networks.
|
1475
699
|
attr_reader :supported
|
1476
|
-
|
1477
|
-
def self.inner_class_types
|
1478
|
-
@inner_class_types = {}
|
1479
|
-
end
|
1480
|
-
|
1481
|
-
def self.field_remappings
|
1482
|
-
@field_remappings = {}
|
1483
|
-
end
|
1484
700
|
end
|
1485
701
|
|
1486
702
|
class StatusDetails < Stripe::StripeObject
|
@@ -1489,25 +705,9 @@ module Stripe
|
|
1489
705
|
attr_reader :network_code
|
1490
706
|
# The reason why this PaymentMethod's fingerprint has been blocked
|
1491
707
|
attr_reader :reason
|
1492
|
-
|
1493
|
-
def self.inner_class_types
|
1494
|
-
@inner_class_types = {}
|
1495
|
-
end
|
1496
|
-
|
1497
|
-
def self.field_remappings
|
1498
|
-
@field_remappings = {}
|
1499
|
-
end
|
1500
708
|
end
|
1501
709
|
# Attribute for field blocked
|
1502
710
|
attr_reader :blocked
|
1503
|
-
|
1504
|
-
def self.inner_class_types
|
1505
|
-
@inner_class_types = { blocked: Blocked }
|
1506
|
-
end
|
1507
|
-
|
1508
|
-
def self.field_remappings
|
1509
|
-
@field_remappings = {}
|
1510
|
-
end
|
1511
711
|
end
|
1512
712
|
# Account holder type: individual or company.
|
1513
713
|
attr_reader :account_holder_type
|
@@ -1529,35 +729,10 @@ module Stripe
|
|
1529
729
|
attr_reader :routing_number
|
1530
730
|
# Contains information about the future reusability of this PaymentMethod.
|
1531
731
|
attr_reader :status_details
|
1532
|
-
|
1533
|
-
def self.inner_class_types
|
1534
|
-
@inner_class_types = { networks: Networks, status_details: StatusDetails }
|
1535
|
-
end
|
1536
|
-
|
1537
|
-
def self.field_remappings
|
1538
|
-
@field_remappings = {}
|
1539
|
-
end
|
1540
732
|
end
|
1541
733
|
|
1542
|
-
class WechatPay < Stripe::StripeObject
|
1543
|
-
|
1544
|
-
@inner_class_types = {}
|
1545
|
-
end
|
1546
|
-
|
1547
|
-
def self.field_remappings
|
1548
|
-
@field_remappings = {}
|
1549
|
-
end
|
1550
|
-
end
|
1551
|
-
|
1552
|
-
class Zip < Stripe::StripeObject
|
1553
|
-
def self.inner_class_types
|
1554
|
-
@inner_class_types = {}
|
1555
|
-
end
|
1556
|
-
|
1557
|
-
def self.field_remappings
|
1558
|
-
@field_remappings = {}
|
1559
|
-
end
|
1560
|
-
end
|
734
|
+
class WechatPay < Stripe::StripeObject; end
|
735
|
+
class Zip < Stripe::StripeObject; end
|
1561
736
|
# Attribute for field acss_debit
|
1562
737
|
attr_reader :acss_debit
|
1563
738
|
# Attribute for field affirm
|
@@ -1684,74 +859,6 @@ module Stripe
|
|
1684
859
|
attr_reader :wechat_pay
|
1685
860
|
# Attribute for field zip
|
1686
861
|
attr_reader :zip
|
1687
|
-
|
1688
|
-
def self.inner_class_types
|
1689
|
-
@inner_class_types = {
|
1690
|
-
acss_debit: AcssDebit,
|
1691
|
-
affirm: Affirm,
|
1692
|
-
afterpay_clearpay: AfterpayClearpay,
|
1693
|
-
alipay: Alipay,
|
1694
|
-
alma: Alma,
|
1695
|
-
amazon_pay: AmazonPay,
|
1696
|
-
au_becs_debit: AuBecsDebit,
|
1697
|
-
bacs_debit: BacsDebit,
|
1698
|
-
bancontact: Bancontact,
|
1699
|
-
billie: Billie,
|
1700
|
-
billing_details: BillingDetails,
|
1701
|
-
blik: Blik,
|
1702
|
-
boleto: Boleto,
|
1703
|
-
card: Card,
|
1704
|
-
card_present: CardPresent,
|
1705
|
-
cashapp: Cashapp,
|
1706
|
-
crypto: Crypto,
|
1707
|
-
customer_balance: CustomerBalance,
|
1708
|
-
eps: Eps,
|
1709
|
-
fpx: Fpx,
|
1710
|
-
giropay: Giropay,
|
1711
|
-
gopay: Gopay,
|
1712
|
-
grabpay: Grabpay,
|
1713
|
-
id_bank_transfer: IdBankTransfer,
|
1714
|
-
ideal: Ideal,
|
1715
|
-
interac_present: InteracPresent,
|
1716
|
-
kakao_pay: KakaoPay,
|
1717
|
-
klarna: Klarna,
|
1718
|
-
konbini: Konbini,
|
1719
|
-
kr_card: KrCard,
|
1720
|
-
link: Link,
|
1721
|
-
mb_way: MbWay,
|
1722
|
-
mobilepay: Mobilepay,
|
1723
|
-
multibanco: Multibanco,
|
1724
|
-
naver_pay: NaverPay,
|
1725
|
-
nz_bank_account: NzBankAccount,
|
1726
|
-
oxxo: Oxxo,
|
1727
|
-
p24: P24,
|
1728
|
-
pay_by_bank: PayByBank,
|
1729
|
-
payco: Payco,
|
1730
|
-
paynow: Paynow,
|
1731
|
-
paypal: Paypal,
|
1732
|
-
payto: Payto,
|
1733
|
-
pix: Pix,
|
1734
|
-
promptpay: Promptpay,
|
1735
|
-
qris: Qris,
|
1736
|
-
rechnung: Rechnung,
|
1737
|
-
revolut_pay: RevolutPay,
|
1738
|
-
samsung_pay: SamsungPay,
|
1739
|
-
satispay: Satispay,
|
1740
|
-
sepa_debit: SepaDebit,
|
1741
|
-
shopeepay: Shopeepay,
|
1742
|
-
sofort: Sofort,
|
1743
|
-
stripe_balance: StripeBalance,
|
1744
|
-
swish: Swish,
|
1745
|
-
twint: Twint,
|
1746
|
-
us_bank_account: UsBankAccount,
|
1747
|
-
wechat_pay: WechatPay,
|
1748
|
-
zip: Zip,
|
1749
|
-
}
|
1750
|
-
end
|
1751
|
-
|
1752
|
-
def self.field_remappings
|
1753
|
-
@field_remappings = {}
|
1754
|
-
end
|
1755
862
|
end
|
1756
863
|
|
1757
864
|
class Shipping < Stripe::StripeObject
|
@@ -1768,14 +875,6 @@ module Stripe
|
|
1768
875
|
attr_reader :postal_code
|
1769
876
|
# State, county, province, or region.
|
1770
877
|
attr_reader :state
|
1771
|
-
|
1772
|
-
def self.inner_class_types
|
1773
|
-
@inner_class_types = {}
|
1774
|
-
end
|
1775
|
-
|
1776
|
-
def self.field_remappings
|
1777
|
-
@field_remappings = {}
|
1778
|
-
end
|
1779
878
|
end
|
1780
879
|
# Attribute for field address
|
1781
880
|
attr_reader :address
|
@@ -1783,14 +882,6 @@ module Stripe
|
|
1783
882
|
attr_reader :name
|
1784
883
|
# Recipient phone (including extension).
|
1785
884
|
attr_reader :phone
|
1786
|
-
|
1787
|
-
def self.inner_class_types
|
1788
|
-
@inner_class_types = { address: Address }
|
1789
|
-
end
|
1790
|
-
|
1791
|
-
def self.field_remappings
|
1792
|
-
@field_remappings = {}
|
1793
|
-
end
|
1794
885
|
end
|
1795
886
|
|
1796
887
|
class CreateParams < Stripe::RequestParams
|
@@ -2581,18 +1672,5 @@ module Stripe
|
|
2581
1672
|
)
|
2582
1673
|
end
|
2583
1674
|
end
|
2584
|
-
|
2585
|
-
def self.inner_class_types
|
2586
|
-
@inner_class_types = {
|
2587
|
-
mandate_data: MandateData,
|
2588
|
-
payment_method_options: PaymentMethodOptions,
|
2589
|
-
payment_method_preview: PaymentMethodPreview,
|
2590
|
-
shipping: Shipping,
|
2591
|
-
}
|
2592
|
-
end
|
2593
|
-
|
2594
|
-
def self.field_remappings
|
2595
|
-
@field_remappings = {}
|
2596
|
-
end
|
2597
1675
|
end
|
2598
1676
|
end
|