stripe 15.5.0 → 15.6.0.pre.alpha.2
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 +1723 -642
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +34 -0
- data/lib/stripe/api_version.rb +1 -2
- data/lib/stripe/errors.rb +63 -0
- data/lib/stripe/event_types.rb +185 -0
- data/lib/stripe/events/v2_billing_cadence_billed_event.rb +21 -0
- data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_billing_cadence_created_event.rb +23 -0
- data/lib/stripe/events/v2_billing_cadence_errored_event.rb +21 -0
- data/lib/stripe/events/v2_billing_license_fee_created_event.rb +21 -0
- data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +21 -0
- data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +23 -0
- data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +21 -0
- data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +21 -0
- data/lib/stripe/events/v2_billing_metered_item_created_event.rb +21 -0
- data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +23 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +23 -0
- data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +21 -0
- data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +23 -0
- data/lib/stripe/events/v2_billing_rate_card_created_event.rb +23 -0
- data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +23 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +21 -0
- data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_closed_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_created_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_link_returned_event.rb +13 -0
- data/lib/stripe/events/v2_core_account_person_created_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +13 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +13 -0
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +23 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +23 -0
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +22 -0
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_reporting_report_run_created_event.rb +21 -0
- data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +21 -0
- data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +21 -0
- data/lib/stripe/object_types.rb +80 -0
- data/lib/stripe/resources/account.rb +1137 -42
- data/lib/stripe/resources/account_link.rb +8 -0
- data/lib/stripe/resources/account_notice.rb +147 -0
- data/lib/stripe/resources/account_session.rb +688 -8
- data/lib/stripe/resources/apple_pay_domain.rb +8 -0
- data/lib/stripe/resources/application.rb +8 -0
- data/lib/stripe/resources/application_fee.rb +16 -0
- data/lib/stripe/resources/application_fee_refund.rb +8 -0
- data/lib/stripe/resources/apps/secret.rb +16 -0
- data/lib/stripe/resources/balance.rb +159 -0
- data/lib/stripe/resources/balance_settings.rb +152 -0
- data/lib/stripe/resources/balance_transaction.rb +16 -0
- data/lib/stripe/resources/bank_account.rb +40 -0
- data/lib/stripe/resources/billing/alert.rb +203 -1
- data/lib/stripe/resources/billing/alert_triggered.rb +14 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +132 -0
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +161 -0
- data/lib/stripe/resources/billing/credit_grant.rb +143 -2
- data/lib/stripe/resources/billing/meter.rb +45 -0
- data/lib/stripe/resources/billing/meter_event.rb +8 -0
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +16 -0
- data/lib/stripe/resources/billing/meter_event_summary.rb +8 -0
- data/lib/stripe/resources/billing/meter_usage.rb +31 -0
- data/lib/stripe/resources/billing/meter_usage_row.rb +36 -0
- data/lib/stripe/resources/billing_portal/configuration.rb +122 -0
- data/lib/stripe/resources/billing_portal/session.rb +107 -0
- data/lib/stripe/resources/capability.rb +56 -0
- data/lib/stripe/resources/capital/financing_offer.rb +203 -0
- data/lib/stripe/resources/capital/financing_summary.rb +79 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +138 -0
- data/lib/stripe/resources/card.rb +18 -0
- data/lib/stripe/resources/cash_balance.rb +18 -0
- data/lib/stripe/resources/charge.rb +2587 -15
- data/lib/stripe/resources/checkout/session.rb +1583 -15
- data/lib/stripe/resources/climate/order.rb +32 -0
- data/lib/stripe/resources/climate/product.rb +16 -0
- data/lib/stripe/resources/climate/supplier.rb +16 -0
- data/lib/stripe/resources/confirmation_token.rb +1126 -34
- data/lib/stripe/resources/connect_collection_transfer.rb +8 -0
- data/lib/stripe/resources/country_spec.rb +32 -0
- data/lib/stripe/resources/coupon.rb +66 -1
- data/lib/stripe/resources/credit_note.rb +76 -0
- data/lib/stripe/resources/credit_note_line_item.rb +62 -0
- data/lib/stripe/resources/customer.rb +79 -0
- data/lib/stripe/resources/customer_balance_transaction.rb +10 -0
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +110 -0
- data/lib/stripe/resources/customer_session.rb +58 -1
- data/lib/stripe/resources/discount.rb +10 -0
- data/lib/stripe/resources/dispute.rb +177 -0
- data/lib/stripe/resources/entitlements/active_entitlement.rb +8 -0
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +8 -0
- data/lib/stripe/resources/entitlements/feature.rb +8 -0
- data/lib/stripe/resources/ephemeral_key.rb +8 -0
- data/lib/stripe/resources/event.rb +87 -0
- data/lib/stripe/resources/exchange_rate.rb +8 -0
- data/lib/stripe/resources/file.rb +8 -0
- data/lib/stripe/resources/file_link.rb +8 -0
- data/lib/stripe/resources/financial_connections/account.rb +101 -1
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
- data/lib/stripe/resources/financial_connections/account_owner.rb +8 -0
- data/lib/stripe/resources/financial_connections/account_ownership.rb +8 -0
- data/lib/stripe/resources/financial_connections/institution.rb +145 -0
- data/lib/stripe/resources/financial_connections/session.rb +124 -2
- data/lib/stripe/resources/financial_connections/transaction.rb +16 -0
- data/lib/stripe/resources/forwarding/request.rb +52 -0
- data/lib/stripe/resources/funding_instructions.rb +193 -0
- data/lib/stripe/resources/fx_quote.rb +234 -0
- data/lib/stripe/resources/identity/verification_report.rb +166 -1
- data/lib/stripe/resources/identity/verification_session.rb +136 -1
- data/lib/stripe/resources/invoice.rb +1591 -18
- data/lib/stripe/resources/invoice_item.rb +214 -2
- data/lib/stripe/resources/invoice_line_item.rb +293 -1
- data/lib/stripe/resources/invoice_payment.rb +30 -1
- data/lib/stripe/resources/invoice_rendering_template.rb +8 -0
- data/lib/stripe/resources/issuing/authorization.rb +177 -0
- data/lib/stripe/resources/issuing/card.rb +96 -8
- data/lib/stripe/resources/issuing/cardholder.rb +112 -1
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +684 -0
- data/lib/stripe/resources/issuing/dispute.rb +97 -0
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +98 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +94 -0
- data/lib/stripe/resources/issuing/personalization_design.rb +36 -0
- data/lib/stripe/resources/issuing/physical_bundle.rb +16 -0
- data/lib/stripe/resources/issuing/settlement.rb +61 -0
- data/lib/stripe/resources/issuing/token.rb +61 -0
- data/lib/stripe/resources/issuing/transaction.rb +157 -0
- data/lib/stripe/resources/line_item.rb +91 -0
- data/lib/stripe/resources/login_link.rb +8 -0
- data/lib/stripe/resources/mandate.rb +331 -12
- data/lib/stripe/resources/margin.rb +123 -0
- data/lib/stripe/resources/order.rb +3306 -0
- data/lib/stripe/resources/payment_attempt_record.rb +2056 -0
- data/lib/stripe/resources/payment_intent.rb +11019 -3714
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +128 -0
- data/lib/stripe/resources/payment_link.rb +337 -0
- data/lib/stripe/resources/payment_method.rb +1074 -35
- data/lib/stripe/resources/payment_method_configuration.rb +1260 -4
- data/lib/stripe/resources/payment_method_domain.rb +111 -0
- data/lib/stripe/resources/payment_record.rb +2602 -0
- data/lib/stripe/resources/payout.rb +16 -0
- data/lib/stripe/resources/person.rb +180 -0
- data/lib/stripe/resources/plan.rb +24 -0
- data/lib/stripe/resources/price.rb +109 -0
- data/lib/stripe/resources/privacy/redaction_job.rb +314 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
- data/lib/stripe/resources/product.rb +27 -0
- data/lib/stripe/resources/product_feature.rb +8 -0
- data/lib/stripe/resources/promotion_code.rb +34 -0
- data/lib/stripe/resources/quote.rb +2512 -49
- data/lib/stripe/resources/quote_line.rb +521 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +1134 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +718 -0
- data/lib/stripe/resources/radar/early_fraud_warning.rb +8 -0
- data/lib/stripe/resources/radar/value_list.rb +8 -0
- data/lib/stripe/resources/radar/value_list_item.rb +8 -0
- data/lib/stripe/resources/refund.rb +389 -19
- data/lib/stripe/resources/reporting/report_run.rb +16 -0
- data/lib/stripe/resources/reporting/report_type.rb +8 -0
- data/lib/stripe/resources/reserve_transaction.rb +8 -0
- data/lib/stripe/resources/reversal.rb +8 -0
- data/lib/stripe/resources/review.rb +24 -0
- data/lib/stripe/resources/setup_attempt.rb +352 -17
- data/lib/stripe/resources/setup_intent.rb +1065 -12
- data/lib/stripe/resources/shipping_rate.rb +48 -0
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +16 -0
- data/lib/stripe/resources/source.rb +303 -0
- data/lib/stripe/resources/source_mandate_notification.rb +32 -0
- data/lib/stripe/resources/source_transaction.rb +54 -0
- data/lib/stripe/resources/subscription.rb +720 -11
- data/lib/stripe/resources/subscription_item.rb +108 -3
- data/lib/stripe/resources/subscription_schedule.rb +1321 -10
- data/lib/stripe/resources/tax/association.rb +98 -0
- data/lib/stripe/resources/tax/calculation.rb +109 -0
- data/lib/stripe/resources/tax/calculation_line_item.rb +32 -0
- data/lib/stripe/resources/tax/form.rb +318 -0
- data/lib/stripe/resources/tax/registration.rb +1232 -0
- data/lib/stripe/resources/tax/settings.rb +61 -1
- data/lib/stripe/resources/tax/transaction.rb +93 -0
- data/lib/stripe/resources/tax/transaction_line_item.rb +16 -0
- data/lib/stripe/resources/tax_code.rb +8 -0
- data/lib/stripe/resources/tax_deducted_at_source.rb +8 -0
- data/lib/stripe/resources/tax_id.rb +36 -2
- data/lib/stripe/resources/tax_rate.rb +16 -0
- data/lib/stripe/resources/terminal/configuration.rb +332 -0
- data/lib/stripe/resources/terminal/connection_token.rb +8 -0
- data/lib/stripe/resources/terminal/location.rb +16 -0
- data/lib/stripe/resources/terminal/onboarding_link.rb +108 -0
- data/lib/stripe/resources/terminal/reader.rb +249 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
- data/lib/stripe/resources/test_helpers/test_clock.rb +24 -0
- data/lib/stripe/resources/token.rb +8 -0
- data/lib/stripe/resources/topup.rb +8 -0
- data/lib/stripe/resources/transfer.rb +14 -0
- data/lib/stripe/resources/treasury/credit_reversal.rb +16 -0
- data/lib/stripe/resources/treasury/debit_reversal.rb +24 -0
- data/lib/stripe/resources/treasury/financial_account.rb +83 -3
- data/lib/stripe/resources/treasury/financial_account_features.rb +194 -0
- data/lib/stripe/resources/treasury/inbound_transfer.rb +69 -0
- data/lib/stripe/resources/treasury/outbound_payment.rb +106 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +151 -0
- data/lib/stripe/resources/treasury/received_credit.rb +135 -1
- data/lib/stripe/resources/treasury/received_debit.rb +129 -1
- data/lib/stripe/resources/treasury/transaction.rb +36 -0
- data/lib/stripe/resources/treasury/transaction_entry.rb +24 -0
- data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +90 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +323 -0
- data/lib/stripe/resources/v2/billing/collection_setting.rb +296 -0
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +284 -0
- data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +43 -0
- data/lib/stripe/resources/v2/billing/intent.rb +86 -0
- data/lib/stripe/resources/v2/billing/intent_action.rb +395 -0
- data/lib/stripe/resources/v2/billing/license_fee.rb +103 -0
- data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +44 -0
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +80 -0
- data/lib/stripe/resources/v2/billing/licensed_item.rb +60 -0
- data/lib/stripe/resources/v2/billing/meter_event.rb +8 -0
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +16 -0
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +8 -0
- data/lib/stripe/resources/v2/billing/metered_item.rb +85 -0
- data/lib/stripe/resources/v2/billing/pricing_plan.rb +51 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +94 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +90 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +38 -0
- data/lib/stripe/resources/v2/billing/profile.rb +46 -0
- data/lib/stripe/resources/v2/billing/rate_card.rb +61 -0
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +107 -0
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +90 -0
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +34 -0
- data/lib/stripe/resources/v2/billing/service_action.rb +232 -0
- data/lib/stripe/resources/v2/core/account.rb +3838 -0
- data/lib/stripe/resources/v2/core/account_link.rb +123 -0
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +81 -0
- data/lib/stripe/resources/v2/core/person.rb +477 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +114 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +47 -0
- data/lib/stripe/resources/v2/event.rb +26 -0
- data/lib/stripe/resources/v2/event_destination.rb +44 -0
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +28 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +30 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +67 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +140 -0
- data/lib/stripe/resources/v2/money_management/financial_address.rb +100 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +181 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +217 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +144 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +69 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +196 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +109 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +81 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +199 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +136 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +116 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +105 -0
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +113 -0
- data/lib/stripe/resources/v2/reporting/report.rb +116 -0
- data/lib/stripe/resources/v2/reporting/report_run.rb +158 -0
- data/lib/stripe/resources/v2/tax/automatic_rule.rb +39 -0
- data/lib/stripe/resources/webhook_endpoint.rb +8 -0
- data/lib/stripe/resources.rb +194 -0
- data/lib/stripe/services/account_notice_service.rb +101 -0
- data/lib/stripe/services/account_service.rb +562 -1
- data/lib/stripe/services/account_session_service.rb +226 -1
- data/lib/stripe/services/balance_settings_service.rb +99 -0
- data/lib/stripe/services/billing/alert_service.rb +75 -1
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +17 -2
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +4 -0
- data/lib/stripe/services/billing/credit_grant_service.rb +37 -2
- data/lib/stripe/services/billing/meter_usage_service.rb +76 -0
- data/lib/stripe/services/billing_portal/session_service.rb +4 -0
- data/lib/stripe/services/billing_service.rb +2 -1
- data/lib/stripe/services/capital/financing_offer_service.rb +112 -0
- data/lib/stripe/services/capital/financing_summary_service.rb +28 -0
- data/lib/stripe/services/capital/financing_transaction_service.rb +79 -0
- data/lib/stripe/services/capital_service.rb +15 -0
- data/lib/stripe/services/charge_service.rb +1418 -0
- data/lib/stripe/services/checkout/session_service.rb +472 -5
- data/lib/stripe/services/coupon_service.rb +17 -1
- data/lib/stripe/services/credit_note_service.rb +4 -0
- data/lib/stripe/services/customer_session_service.rb +4 -1
- data/{rbi/stripe/services/account_external_account_service.rbi → lib/stripe/services/external_account_service.rb} +135 -122
- data/{rbi/stripe/services/tax/transaction_line_item_service.rbi → lib/stripe/services/financial_connections/account_inferred_balance_service.rb} +21 -17
- data/lib/stripe/services/financial_connections/account_service.rb +7 -2
- data/{rbi/stripe/services/climate/supplier_service.rbi → lib/stripe/services/financial_connections/institution_service.rb} +36 -25
- data/lib/stripe/services/financial_connections/session_service.rb +34 -2
- data/lib/stripe/services/financial_connections_service.rb +2 -1
- data/lib/stripe/services/fx_quote_service.rb +123 -0
- data/lib/stripe/services/identity/verification_session_service.rb +8 -0
- data/lib/stripe/services/invoice_item_service.rb +74 -2
- data/lib/stripe/services/invoice_line_item_service.rb +33 -1
- data/lib/stripe/services/invoice_payment_service.rb +4 -1
- data/lib/stripe/services/invoice_service.rb +1078 -16
- data/lib/stripe/services/issuing/card_service.rb +0 -8
- data/lib/stripe/services/issuing/cardholder_service.rb +2 -1
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +504 -0
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +66 -0
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +83 -0
- data/lib/stripe/services/issuing/transaction_service.rb +4 -0
- data/lib/stripe/services/issuing_service.rb +5 -1
- data/lib/stripe/services/mandate_service.rb +40 -0
- data/lib/stripe/services/margin_service.rb +119 -0
- data/{rbi/stripe/services/source_transaction_service.rbi → lib/stripe/services/order_line_item_service.rb} +20 -16
- data/lib/stripe/services/order_service.rb +2388 -0
- data/lib/stripe/services/payment_attempt_record_service.rb +52 -0
- data/{rbi/stripe/services/quote_line_item_service.rbi → lib/stripe/services/payment_intent_amount_details_line_item_service.rb} +20 -16
- data/lib/stripe/services/payment_intent_service.rb +7630 -2215
- data/lib/stripe/services/payment_method_configuration_service.rb +210 -0
- data/lib/stripe/services/payment_method_service.rb +120 -1
- data/lib/stripe/services/payment_record_service.rb +562 -0
- data/lib/stripe/services/price_service.rb +19 -0
- data/lib/stripe/services/privacy/redaction_job_service.rb +240 -0
- data/{rbi/stripe/services/tax/calculation_line_item_service.rbi → lib/stripe/services/privacy/redaction_job_validation_error_service.rb} +21 -17
- data/lib/stripe/services/privacy_service.rb +13 -0
- data/lib/stripe/services/promotion_code_service.rb +8 -0
- data/{rbi/stripe/services/credit_note_line_item_service.rbi → lib/stripe/services/quote_line_service.rb} +20 -16
- data/{rbi/stripe/services/payment_link_line_item_service.rbi → lib/stripe/services/quote_preview_invoice_service.rb} +20 -16
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +35 -0
- data/lib/stripe/services/quote_service.rb +1723 -8
- data/lib/stripe/services/setup_intent_service.rb +691 -9
- data/lib/stripe/services/subscription_item_service.rb +75 -3
- data/lib/stripe/services/subscription_schedule_service.rb +911 -10
- data/lib/stripe/services/subscription_service.rb +336 -9
- data/lib/stripe/services/tax/association_service.rb +31 -0
- data/lib/stripe/services/tax/form_service.rb +100 -0
- data/lib/stripe/services/tax_id_service.rb +8 -2
- data/lib/stripe/services/tax_service.rb +3 -1
- data/lib/stripe/services/terminal/configuration_service.rb +26 -0
- data/lib/stripe/services/terminal/onboarding_link_service.rb +56 -0
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +28 -0
- data/lib/stripe/services/terminal_service.rb +3 -1
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +97 -0
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +25 -1
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +25 -1
- data/lib/stripe/services/transfer_service.rb +4 -0
- data/lib/stripe/services/treasury/financial_account_features_service.rb +4 -1
- data/lib/stripe/services/treasury/financial_account_service.rb +16 -2
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +24 -0
- data/lib/stripe/services/v1_services.rb +11 -1
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +214 -0
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +45 -0
- data/lib/stripe/services/v2/billing/cadence_service.rb +428 -0
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +518 -0
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +45 -0
- data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +108 -0
- data/lib/stripe/services/v2/billing/intent_service.rb +465 -0
- data/lib/stripe/services/v2/billing/intents/action_service.rb +45 -0
- data/lib/stripe/services/v2/billing/license_fee_service.rb +250 -0
- data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +23 -0
- data/lib/stripe/services/v2/billing/license_fees/version_service.rb +45 -0
- data/lib/stripe/services/v2/billing/licensed_item_service.rb +149 -0
- data/lib/stripe/services/v2/billing/metered_item_service.rb +176 -0
- data/lib/stripe/services/v2/billing/pricing_plan_service.rb +142 -0
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +76 -0
- data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +162 -0
- data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +45 -0
- data/lib/stripe/services/v2/billing/profile_service.rb +144 -0
- data/lib/stripe/services/v2/billing/rate_card_service.rb +151 -0
- data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +144 -0
- data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +161 -0
- data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +45 -0
- data/lib/stripe/services/v2/billing/service_action_service.rb +259 -0
- data/lib/stripe/services/v2/billing_service.rb +18 -1
- data/lib/stripe/services/v2/core/account_link_service.rb +114 -0
- data/lib/stripe/services/v2/core/account_service.rb +4536 -0
- data/lib/stripe/services/v2/core/accounts/person_service.rb +1045 -0
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +50 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +130 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +107 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +5 -1
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +74 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +119 -0
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +82 -0
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +125 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +95 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +199 -0
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +235 -0
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +172 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +90 -0
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +70 -0
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +43 -0
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +69 -0
- data/lib/stripe/services/v2/money_management/transaction_service.rb +73 -0
- data/lib/stripe/services/v2/money_management_service.rb +31 -0
- data/lib/stripe/services/v2/payment_service.rb +15 -0
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +152 -0
- data/lib/stripe/services/v2/reporting/report_run_service.rb +88 -0
- data/lib/stripe/services/v2/reporting/report_service.rb +25 -0
- data/lib/stripe/services/v2/reporting_service.rb +16 -0
- data/lib/stripe/services/v2/tax/automatic_rule_service.rb +99 -0
- data/lib/stripe/services/v2/tax_service.rb +15 -0
- data/lib/stripe/services/v2/test_helper_service.rb +15 -0
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +53 -0
- data/lib/stripe/services/v2_services.rb +6 -1
- data/lib/stripe/services.rb +84 -0
- data/lib/stripe/stripe_configuration.rb +3 -1
- data/lib/stripe/stripe_object.rb +26 -2
- data/lib/stripe/util.rb +16 -6
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +53 -0
- data/rbi/stripe.rbi +280174 -0
- data/stripe.gemspec +4 -1
- metadata +283 -324
- data/rbi/stripe/resources/account.rbi +0 -4991
- data/rbi/stripe/resources/account_link.rbi +0 -76
- data/rbi/stripe/resources/account_session.rbi +0 -1173
- data/rbi/stripe/resources/apple_pay_domain.rbi +0 -88
- data/rbi/stripe/resources/application.rbi +0 -20
- data/rbi/stripe/resources/application_fee.rbi +0 -118
- data/rbi/stripe/resources/application_fee_refund.rbi +0 -37
- data/rbi/stripe/resources/apps/secret.rbi +0 -195
- data/rbi/stripe/resources/balance.rbi +0 -230
- data/rbi/stripe/resources/balance_transaction.rbi +0 -147
- data/rbi/stripe/resources/bank_account.rbi +0 -127
- data/rbi/stripe/resources/billing/alert.rbi +0 -201
- data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -28
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -63
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -147
- data/rbi/stripe/resources/billing/credit_grant.rbi +0 -291
- data/rbi/stripe/resources/billing/meter.rbi +0 -226
- data/rbi/stripe/resources/billing/meter_event.rbi +0 -64
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -64
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -35
- data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -712
- data/rbi/stripe/resources/billing_portal/session.rbi +0 -345
- data/rbi/stripe/resources/capability.rbi +0 -125
- data/rbi/stripe/resources/card.rbi +0 -125
- data/rbi/stripe/resources/cash_balance.rbi +0 -32
- data/rbi/stripe/resources/charge.rbi +0 -2136
- data/rbi/stripe/resources/checkout/session.rbi +0 -4105
- data/rbi/stripe/resources/climate/order.rbi +0 -245
- data/rbi/stripe/resources/climate/product.rbi +0 -75
- data/rbi/stripe/resources/climate/supplier.rbi +0 -72
- data/rbi/stripe/resources/confirmation_token.rbi +0 -1818
- data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -26
- data/rbi/stripe/resources/country_spec.rbi +0 -85
- data/rbi/stripe/resources/coupon.rbi +0 -250
- data/rbi/stripe/resources/credit_note.rbi +0 -752
- data/rbi/stripe/resources/credit_note_line_item.rbi +0 -101
- data/rbi/stripe/resources/customer.rbi +0 -993
- data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -56
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -151
- data/rbi/stripe/resources/customer_session.rbi +0 -200
- data/rbi/stripe/resources/discount.rbi +0 -53
- data/rbi/stripe/resources/dispute.rbi +0 -761
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -58
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -23
- data/rbi/stripe/resources/entitlements/feature.rbi +0 -117
- data/rbi/stripe/resources/ephemeral_key.rbi +0 -44
- data/rbi/stripe/resources/event.rbi +0 -137
- data/rbi/stripe/resources/exchange_rate.rbi +0 -66
- data/rbi/stripe/resources/file.rbi +0 -143
- data/rbi/stripe/resources/file_link.rbi +0 -141
- data/rbi/stripe/resources/financial_connections/account.rbi +0 -339
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -35
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -23
- data/rbi/stripe/resources/financial_connections/session.rbi +0 -123
- data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -124
- data/rbi/stripe/resources/forwarding/request.rbi +0 -216
- data/rbi/stripe/resources/funding_instructions.rbi +0 -437
- data/rbi/stripe/resources/identity/verification_report.rbi +0 -360
- data/rbi/stripe/resources/identity/verification_session.rbi +0 -564
- data/rbi/stripe/resources/invoice.rbi +0 -3894
- data/rbi/stripe/resources/invoice_item.rbi +0 -470
- data/rbi/stripe/resources/invoice_line_item.rbi +0 -432
- data/rbi/stripe/resources/invoice_payment.rbi +0 -121
- data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -104
- data/rbi/stripe/resources/issuing/authorization.rbi +0 -1283
- data/rbi/stripe/resources/issuing/card.rbi +0 -749
- data/rbi/stripe/resources/issuing/cardholder.rbi +0 -744
- data/rbi/stripe/resources/issuing/dispute.rbi +0 -913
- data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -338
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -79
- data/rbi/stripe/resources/issuing/token.rbi +0 -226
- data/rbi/stripe/resources/issuing/transaction.rbi +0 -1061
- data/rbi/stripe/resources/line_item.rbi +0 -72
- data/rbi/stripe/resources/login_link.rbi +0 -19
- data/rbi/stripe/resources/mandate.rbi +0 -191
- data/rbi/stripe/resources/payment_intent.rbi +0 -10011
- data/rbi/stripe/resources/payment_link.rbi +0 -1891
- data/rbi/stripe/resources/payment_method.rbi +0 -1770
- data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3550
- data/rbi/stripe/resources/payment_method_domain.rbi +0 -228
- data/rbi/stripe/resources/payout.rbi +0 -307
- data/rbi/stripe/resources/person.rbi +0 -401
- data/rbi/stripe/resources/plan.rbi +0 -371
- data/rbi/stripe/resources/price.rbi +0 -694
- data/rbi/stripe/resources/product.rbi +0 -553
- data/rbi/stripe/resources/product_feature.rbi +0 -26
- data/rbi/stripe/resources/promotion_code.rbi +0 -264
- data/rbi/stripe/resources/quote.rbi +0 -1137
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -98
- data/rbi/stripe/resources/radar/value_list.rbi +0 -168
- data/rbi/stripe/resources/radar/value_list_item.rbi +0 -129
- data/rbi/stripe/resources/refund.rbi +0 -523
- data/rbi/stripe/resources/reporting/report_run.rbi +0 -191
- data/rbi/stripe/resources/reporting/report_type.rbi +0 -57
- data/rbi/stripe/resources/reserve_transaction.rbi +0 -23
- data/rbi/stripe/resources/reversal.rbi +0 -51
- data/rbi/stripe/resources/review.rbi +0 -154
- data/rbi/stripe/resources/setup_attempt.rbi +0 -477
- data/rbi/stripe/resources/setup_intent.rbi +0 -3974
- data/rbi/stripe/resources/shipping_rate.rbi +0 -305
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -75
- data/rbi/stripe/resources/source.rbi +0 -1496
- data/rbi/stripe/resources/source_mandate_notification.rbi +0 -77
- data/rbi/stripe/resources/source_transaction.rbi +0 -127
- data/rbi/stripe/resources/subscription.rbi +0 -2154
- data/rbi/stripe/resources/subscription_item.rbi +0 -404
- data/rbi/stripe/resources/subscription_schedule.rbi +0 -1795
- data/rbi/stripe/resources/tax/calculation.rbi +0 -478
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -91
- data/rbi/stripe/resources/tax/registration.rbi +0 -3216
- data/rbi/stripe/resources/tax/settings.rbi +0 -141
- data/rbi/stripe/resources/tax/transaction.rbi +0 -351
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -54
- data/rbi/stripe/resources/tax_code.rbi +0 -44
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -23
- data/rbi/stripe/resources/tax_id.rbi +0 -165
- data/rbi/stripe/resources/tax_rate.rbi +0 -239
- data/rbi/stripe/resources/terminal/configuration.rbi +0 -1647
- data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
- data/rbi/stripe/resources/terminal/location.rbi +0 -222
- data/rbi/stripe/resources/terminal/reader.rbi +0 -1016
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -132
- data/rbi/stripe/resources/token.rbi +0 -1281
- data/rbi/stripe/resources/topup.rbi +0 -222
- data/rbi/stripe/resources/transfer.rbi +0 -199
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -119
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -131
- data/rbi/stripe/resources/treasury/financial_account.rbi +0 -869
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -260
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -295
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -592
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +0 -431
- data/rbi/stripe/resources/treasury/received_credit.rbi +0 -302
- data/rbi/stripe/resources/treasury/received_debit.rbi +0 -256
- data/rbi/stripe/resources/treasury/transaction.rbi +0 -215
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -192
- data/rbi/stripe/resources/v2/amount.rbi +0 -14
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -37
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -41
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -31
- data/rbi/stripe/resources/v2/event.rbi +0 -48
- data/rbi/stripe/resources/v2/event_destination.rbi +0 -91
- data/rbi/stripe/resources/webhook_endpoint.rbi +0 -168
- data/rbi/stripe/services/account_capability_service.rbi +0 -51
- data/rbi/stripe/services/account_link_service.rbi +0 -60
- data/rbi/stripe/services/account_login_link_service.rbi +0 -22
- data/rbi/stripe/services/account_person_service.rbi +0 -1007
- data/rbi/stripe/services/account_service.rbi +0 -4281
- data/rbi/stripe/services/account_session_service.rbi +0 -748
- data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -76
- data/rbi/stripe/services/application_fee_refund_service.rbi +0 -93
- data/rbi/stripe/services/application_fee_service.rbi +0 -78
- data/rbi/stripe/services/apps/secret_service.rbi +0 -151
- data/rbi/stripe/services/apps_service.rbi +0 -9
- data/rbi/stripe/services/balance_service.rbi +0 -21
- data/rbi/stripe/services/balance_transaction_service.rbi +0 -93
- data/rbi/stripe/services/billing/alert_service.rbi +0 -152
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -68
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -59
- data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -211
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -42
- data/rbi/stripe/services/billing/meter_event_service.rbi +0 -42
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -54
- data/rbi/stripe/services/billing/meter_service.rbi +0 -163
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -561
- data/rbi/stripe/services/billing_portal/session_service.rbi +0 -204
- data/rbi/stripe/services/billing_portal_service.rbi +0 -10
- data/rbi/stripe/services/billing_service.rbi +0 -15
- data/rbi/stripe/services/charge_service.rbi +0 -448
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -33
- data/rbi/stripe/services/checkout/session_service.rbi +0 -2697
- data/rbi/stripe/services/checkout_service.rbi +0 -9
- data/rbi/stripe/services/climate/order_service.rbi +0 -142
- data/rbi/stripe/services/climate/product_service.rbi +0 -46
- data/rbi/stripe/services/climate_service.rbi +0 -11
- data/rbi/stripe/services/confirmation_token_service.rbi +0 -20
- data/rbi/stripe/services/country_spec_service.rbi +0 -44
- data/rbi/stripe/services/coupon_service.rbi +0 -194
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
- data/rbi/stripe/services/credit_note_service.rbi +0 -415
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -92
- data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -45
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -44
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -59
- data/rbi/stripe/services/customer_payment_method_service.rbi +0 -57
- data/rbi/stripe/services/customer_payment_source_service.rbi +0 -232
- data/rbi/stripe/services/customer_service.rbi +0 -635
- data/rbi/stripe/services/customer_session_service.rbi +0 -116
- data/rbi/stripe/services/customer_tax_id_service.rbi +0 -70
- data/rbi/stripe/services/dispute_service.rbi +0 -424
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -55
- data/rbi/stripe/services/entitlements/feature_service.rbi +0 -107
- data/rbi/stripe/services/entitlements_service.rbi +0 -10
- data/rbi/stripe/services/ephemeral_key_service.rbi +0 -53
- data/rbi/stripe/services/event_service.rbi +0 -83
- data/rbi/stripe/services/exchange_rate_service.rbi +0 -44
- data/rbi/stripe/services/file_link_service.rbi +0 -124
- data/rbi/stripe/services/file_service.rbi +0 -116
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -42
- data/rbi/stripe/services/financial_connections/account_service.rbi +0 -133
- data/rbi/stripe/services/financial_connections/session_service.rbi +0 -88
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -92
- data/rbi/stripe/services/financial_connections_service.rbi +0 -11
- data/rbi/stripe/services/forwarding/request_service.rbi +0 -134
- data/rbi/stripe/services/forwarding_service.rbi +0 -9
- data/rbi/stripe/services/identity/verification_report_service.rbi +0 -87
- data/rbi/stripe/services/identity/verification_session_service.rbi +0 -339
- data/rbi/stripe/services/identity_service.rbi +0 -10
- data/rbi/stripe/services/invoice_item_service.rbi +0 -366
- data/rbi/stripe/services/invoice_line_item_service.rbi +0 -259
- data/rbi/stripe/services/invoice_payment_service.rbi +0 -71
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -82
- data/rbi/stripe/services/invoice_service.rbi +0 -3073
- data/rbi/stripe/services/issuing/authorization_service.rbi +0 -146
- data/rbi/stripe/services/issuing/card_service.rbi +0 -503
- data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -587
- data/rbi/stripe/services/issuing/dispute_service.rbi +0 -707
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -243
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -59
- data/rbi/stripe/services/issuing/token_service.rbi +0 -99
- data/rbi/stripe/services/issuing/transaction_service.rbi +0 -105
- data/rbi/stripe/services/issuing_service.rbi +0 -16
- data/rbi/stripe/services/mandate_service.rbi +0 -20
- data/rbi/stripe/services/payment_intent_service.rbi +0 -8010
- data/rbi/stripe/services/payment_link_service.rbi +0 -1441
- data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2487
- data/rbi/stripe/services/payment_method_domain_service.rbi +0 -112
- data/rbi/stripe/services/payment_method_service.rbi +0 -781
- data/rbi/stripe/services/payout_service.rbi +0 -209
- data/rbi/stripe/services/plan_service.rbi +0 -282
- data/rbi/stripe/services/price_service.rbi +0 -546
- data/rbi/stripe/services/product_feature_service.rbi +0 -67
- data/rbi/stripe/services/product_service.rbi +0 -477
- data/rbi/stripe/services/promotion_code_service.rbi +0 -214
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -31
- data/rbi/stripe/services/quote_service.rbi +0 -695
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -85
- data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -109
- data/rbi/stripe/services/radar/value_list_service.rbi +0 -141
- data/rbi/stripe/services/radar_service.rbi +0 -11
- data/rbi/stripe/services/refund_service.rbi +0 -185
- data/rbi/stripe/services/reporting/report_run_service.rbi +0 -135
- data/rbi/stripe/services/reporting/report_type_service.rbi +0 -35
- data/rbi/stripe/services/reporting_service.rbi +0 -10
- data/rbi/stripe/services/review_service.rbi +0 -84
- data/rbi/stripe/services/setup_attempt_service.rbi +0 -65
- data/rbi/stripe/services/setup_intent_service.rbi +0 -3709
- data/rbi/stripe/services/shipping_rate_service.rbi +0 -241
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -46
- data/rbi/stripe/services/sigma_service.rbi +0 -9
- data/rbi/stripe/services/source_service.rbi +0 -663
- data/rbi/stripe/services/subscription_item_service.rbi +0 -350
- data/rbi/stripe/services/subscription_schedule_service.rbi +0 -1425
- data/rbi/stripe/services/subscription_service.rbi +0 -1768
- data/rbi/stripe/services/tax/calculation_service.rbi +0 -234
- data/rbi/stripe/services/tax/registration_service.rbi +0 -2278
- data/rbi/stripe/services/tax/settings_service.rbi +0 -93
- data/rbi/stripe/services/tax/transaction_service.rbi +0 -146
- data/rbi/stripe/services/tax_code_service.rbi +0 -44
- data/rbi/stripe/services/tax_id_service.rbi +0 -110
- data/rbi/stripe/services/tax_rate_service.rbi +0 -185
- data/rbi/stripe/services/tax_service.rbi +0 -12
- data/rbi/stripe/services/terminal/configuration_service.rbi +0 -1328
- data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
- data/rbi/stripe/services/terminal/location_service.rbi +0 -182
- data/rbi/stripe/services/terminal/reader_service.rbi +0 -540
- data/rbi/stripe/services/terminal_service.rbi +0 -12
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -746
- data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -848
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -69
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -711
- data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
- data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -117
- data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -90
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -64
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -125
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -125
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -87
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -87
- data/rbi/stripe/services/test_helpers/treasury_service.rbi +0 -15
- data/rbi/stripe/services/test_helpers_service.rbi +0 -15
- data/rbi/stripe/services/token_service.rbi +0 -1255
- data/rbi/stripe/services/topup_service.rbi +0 -176
- data/rbi/stripe/services/transfer_reversal_service.rbi +0 -101
- data/rbi/stripe/services/transfer_service.rbi +0 -152
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -84
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -88
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -198
- data/rbi/stripe/services/treasury/financial_account_service.rbi +0 -566
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -117
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -304
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +0 -157
- data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -72
- data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -59
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -111
- data/rbi/stripe/services/treasury/transaction_service.rbi +0 -122
- data/rbi/stripe/services/treasury_service.rbi +0 -18
- data/rbi/stripe/services/v1_services.rbi +0 -77
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -39
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -42
- data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +0 -18
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -55
- data/rbi/stripe/services/v2/billing_service.rbi +0 -14
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -192
- data/rbi/stripe/services/v2/core/event_service.rbi +0 -36
- data/rbi/stripe/services/v2/core_service.rbi +0 -12
- data/rbi/stripe/services/v2_services.rbi +0 -10
- data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -129
@@ -18,6 +18,8 @@ module Stripe
|
|
18
18
|
end
|
19
19
|
|
20
20
|
class AcssDebit < Stripe::StripeObject
|
21
|
+
# Account number of the bank account.
|
22
|
+
attr_reader :account_number
|
21
23
|
# Name of the bank associated with the bank account.
|
22
24
|
attr_reader :bank_name
|
23
25
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
@@ -28,13 +30,65 @@ module Stripe
|
|
28
30
|
attr_reader :last4
|
29
31
|
# Transit number of the bank account.
|
30
32
|
attr_reader :transit_number
|
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
|
+
end
|
42
|
+
|
43
|
+
class Affirm < Stripe::StripeObject
|
44
|
+
def self.inner_class_types
|
45
|
+
@inner_class_types = {}
|
46
|
+
end
|
47
|
+
|
48
|
+
def self.field_remappings
|
49
|
+
@field_remappings = {}
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
class AfterpayClearpay < Stripe::StripeObject
|
54
|
+
def self.inner_class_types
|
55
|
+
@inner_class_types = {}
|
56
|
+
end
|
57
|
+
|
58
|
+
def self.field_remappings
|
59
|
+
@field_remappings = {}
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
class Alipay < Stripe::StripeObject
|
64
|
+
def self.inner_class_types
|
65
|
+
@inner_class_types = {}
|
66
|
+
end
|
67
|
+
|
68
|
+
def self.field_remappings
|
69
|
+
@field_remappings = {}
|
70
|
+
end
|
31
71
|
end
|
32
72
|
|
33
|
-
class
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
73
|
+
class Alma < Stripe::StripeObject
|
74
|
+
def self.inner_class_types
|
75
|
+
@inner_class_types = {}
|
76
|
+
end
|
77
|
+
|
78
|
+
def self.field_remappings
|
79
|
+
@field_remappings = {}
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
class AmazonPay < Stripe::StripeObject
|
84
|
+
def self.inner_class_types
|
85
|
+
@inner_class_types = {}
|
86
|
+
end
|
87
|
+
|
88
|
+
def self.field_remappings
|
89
|
+
@field_remappings = {}
|
90
|
+
end
|
91
|
+
end
|
38
92
|
|
39
93
|
class AuBecsDebit < Stripe::StripeObject
|
40
94
|
# Six-digit number identifying bank and branch associated with this bank account.
|
@@ -43,6 +97,14 @@ module Stripe
|
|
43
97
|
attr_reader :fingerprint
|
44
98
|
# Last four digits of the bank account number.
|
45
99
|
attr_reader :last4
|
100
|
+
|
101
|
+
def self.inner_class_types
|
102
|
+
@inner_class_types = {}
|
103
|
+
end
|
104
|
+
|
105
|
+
def self.field_remappings
|
106
|
+
@field_remappings = {}
|
107
|
+
end
|
46
108
|
end
|
47
109
|
|
48
110
|
class BacsDebit < Stripe::StripeObject
|
@@ -52,10 +114,35 @@ module Stripe
|
|
52
114
|
attr_reader :last4
|
53
115
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
54
116
|
attr_reader :sort_code
|
117
|
+
|
118
|
+
def self.inner_class_types
|
119
|
+
@inner_class_types = {}
|
120
|
+
end
|
121
|
+
|
122
|
+
def self.field_remappings
|
123
|
+
@field_remappings = {}
|
124
|
+
end
|
55
125
|
end
|
56
126
|
|
57
|
-
class Bancontact < Stripe::StripeObject
|
58
|
-
|
127
|
+
class Bancontact < Stripe::StripeObject
|
128
|
+
def self.inner_class_types
|
129
|
+
@inner_class_types = {}
|
130
|
+
end
|
131
|
+
|
132
|
+
def self.field_remappings
|
133
|
+
@field_remappings = {}
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
137
|
+
class Billie < Stripe::StripeObject
|
138
|
+
def self.inner_class_types
|
139
|
+
@inner_class_types = {}
|
140
|
+
end
|
141
|
+
|
142
|
+
def self.field_remappings
|
143
|
+
@field_remappings = {}
|
144
|
+
end
|
145
|
+
end
|
59
146
|
|
60
147
|
class BillingDetails < Stripe::StripeObject
|
61
148
|
class Address < Stripe::StripeObject
|
@@ -71,6 +158,14 @@ module Stripe
|
|
71
158
|
attr_reader :postal_code
|
72
159
|
# State, county, province, or region.
|
73
160
|
attr_reader :state
|
161
|
+
|
162
|
+
def self.inner_class_types
|
163
|
+
@inner_class_types = {}
|
164
|
+
end
|
165
|
+
|
166
|
+
def self.field_remappings
|
167
|
+
@field_remappings = {}
|
168
|
+
end
|
74
169
|
end
|
75
170
|
# Billing address.
|
76
171
|
attr_reader :address
|
@@ -82,13 +177,37 @@ module Stripe
|
|
82
177
|
attr_reader :phone
|
83
178
|
# Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
84
179
|
attr_reader :tax_id
|
180
|
+
|
181
|
+
def self.inner_class_types
|
182
|
+
@inner_class_types = { address: Address }
|
183
|
+
end
|
184
|
+
|
185
|
+
def self.field_remappings
|
186
|
+
@field_remappings = {}
|
187
|
+
end
|
85
188
|
end
|
86
189
|
|
87
|
-
class Blik < Stripe::StripeObject
|
190
|
+
class Blik < Stripe::StripeObject
|
191
|
+
def self.inner_class_types
|
192
|
+
@inner_class_types = {}
|
193
|
+
end
|
194
|
+
|
195
|
+
def self.field_remappings
|
196
|
+
@field_remappings = {}
|
197
|
+
end
|
198
|
+
end
|
88
199
|
|
89
200
|
class Boleto < Stripe::StripeObject
|
90
201
|
# Uniquely identifies the customer tax id (CNPJ or CPF)
|
91
202
|
attr_reader :tax_id
|
203
|
+
|
204
|
+
def self.inner_class_types
|
205
|
+
@inner_class_types = {}
|
206
|
+
end
|
207
|
+
|
208
|
+
def self.field_remappings
|
209
|
+
@field_remappings = {}
|
210
|
+
end
|
92
211
|
end
|
93
212
|
|
94
213
|
class Card < Stripe::StripeObject
|
@@ -99,6 +218,14 @@ module Stripe
|
|
99
218
|
attr_reader :address_postal_code_check
|
100
219
|
# If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
101
220
|
attr_reader :cvc_check
|
221
|
+
|
222
|
+
def self.inner_class_types
|
223
|
+
@inner_class_types = {}
|
224
|
+
end
|
225
|
+
|
226
|
+
def self.field_remappings
|
227
|
+
@field_remappings = {}
|
228
|
+
end
|
102
229
|
end
|
103
230
|
|
104
231
|
class GeneratedFrom < Stripe::StripeObject
|
@@ -109,6 +236,14 @@ module Stripe
|
|
109
236
|
attr_reader :stored_at
|
110
237
|
# The method used to process this payment method offline. Only deferred is allowed.
|
111
238
|
attr_reader :type
|
239
|
+
|
240
|
+
def self.inner_class_types
|
241
|
+
@inner_class_types = {}
|
242
|
+
end
|
243
|
+
|
244
|
+
def self.field_remappings
|
245
|
+
@field_remappings = {}
|
246
|
+
end
|
112
247
|
end
|
113
248
|
|
114
249
|
class Receipt < Stripe::StripeObject
|
@@ -130,11 +265,27 @@ module Stripe
|
|
130
265
|
attr_reader :terminal_verification_results
|
131
266
|
# An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
|
132
267
|
attr_reader :transaction_status_information
|
268
|
+
|
269
|
+
def self.inner_class_types
|
270
|
+
@inner_class_types = {}
|
271
|
+
end
|
272
|
+
|
273
|
+
def self.field_remappings
|
274
|
+
@field_remappings = {}
|
275
|
+
end
|
133
276
|
end
|
134
277
|
|
135
278
|
class Wallet < Stripe::StripeObject
|
136
279
|
# The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
|
137
280
|
attr_reader :type
|
281
|
+
|
282
|
+
def self.inner_class_types
|
283
|
+
@inner_class_types = {}
|
284
|
+
end
|
285
|
+
|
286
|
+
def self.field_remappings
|
287
|
+
@field_remappings = {}
|
288
|
+
end
|
138
289
|
end
|
139
290
|
# The authorized amount
|
140
291
|
attr_reader :amount_authorized
|
@@ -188,11 +339,27 @@ module Stripe
|
|
188
339
|
attr_reader :receipt
|
189
340
|
# Attribute for field wallet
|
190
341
|
attr_reader :wallet
|
342
|
+
|
343
|
+
def self.inner_class_types
|
344
|
+
@inner_class_types = { offline: Offline, receipt: Receipt, wallet: Wallet }
|
345
|
+
end
|
346
|
+
|
347
|
+
def self.field_remappings
|
348
|
+
@field_remappings = {}
|
349
|
+
end
|
191
350
|
end
|
192
351
|
# Attribute for field card_present
|
193
352
|
attr_reader :card_present
|
194
353
|
# The type of payment method transaction-specific details from the transaction that generated this `card` payment method. Always `card_present`.
|
195
354
|
attr_reader :type
|
355
|
+
|
356
|
+
def self.inner_class_types
|
357
|
+
@inner_class_types = { card_present: CardPresent }
|
358
|
+
end
|
359
|
+
|
360
|
+
def self.field_remappings
|
361
|
+
@field_remappings = {}
|
362
|
+
end
|
196
363
|
end
|
197
364
|
# The charge that created this object.
|
198
365
|
attr_reader :charge
|
@@ -200,6 +367,14 @@ module Stripe
|
|
200
367
|
attr_reader :payment_method_details
|
201
368
|
# The ID of the SetupAttempt that generated this PaymentMethod, if any.
|
202
369
|
attr_reader :setup_attempt
|
370
|
+
|
371
|
+
def self.inner_class_types
|
372
|
+
@inner_class_types = { payment_method_details: PaymentMethodDetails }
|
373
|
+
end
|
374
|
+
|
375
|
+
def self.field_remappings
|
376
|
+
@field_remappings = {}
|
377
|
+
end
|
203
378
|
end
|
204
379
|
|
205
380
|
class Networks < Stripe::StripeObject
|
@@ -207,18 +382,69 @@ module Stripe
|
|
207
382
|
attr_reader :available
|
208
383
|
# 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.
|
209
384
|
attr_reader :preferred
|
385
|
+
|
386
|
+
def self.inner_class_types
|
387
|
+
@inner_class_types = {}
|
388
|
+
end
|
389
|
+
|
390
|
+
def self.field_remappings
|
391
|
+
@field_remappings = {}
|
392
|
+
end
|
210
393
|
end
|
211
394
|
|
212
395
|
class ThreeDSecureUsage < Stripe::StripeObject
|
213
396
|
# Whether 3D Secure is supported on this card.
|
214
397
|
attr_reader :supported
|
398
|
+
|
399
|
+
def self.inner_class_types
|
400
|
+
@inner_class_types = {}
|
401
|
+
end
|
402
|
+
|
403
|
+
def self.field_remappings
|
404
|
+
@field_remappings = {}
|
405
|
+
end
|
215
406
|
end
|
216
407
|
|
217
408
|
class Wallet < Stripe::StripeObject
|
218
|
-
class AmexExpressCheckout < Stripe::StripeObject
|
219
|
-
|
220
|
-
|
221
|
-
|
409
|
+
class AmexExpressCheckout < Stripe::StripeObject
|
410
|
+
def self.inner_class_types
|
411
|
+
@inner_class_types = {}
|
412
|
+
end
|
413
|
+
|
414
|
+
def self.field_remappings
|
415
|
+
@field_remappings = {}
|
416
|
+
end
|
417
|
+
end
|
418
|
+
|
419
|
+
class ApplePay < Stripe::StripeObject
|
420
|
+
def self.inner_class_types
|
421
|
+
@inner_class_types = {}
|
422
|
+
end
|
423
|
+
|
424
|
+
def self.field_remappings
|
425
|
+
@field_remappings = {}
|
426
|
+
end
|
427
|
+
end
|
428
|
+
|
429
|
+
class GooglePay < Stripe::StripeObject
|
430
|
+
def self.inner_class_types
|
431
|
+
@inner_class_types = {}
|
432
|
+
end
|
433
|
+
|
434
|
+
def self.field_remappings
|
435
|
+
@field_remappings = {}
|
436
|
+
end
|
437
|
+
end
|
438
|
+
|
439
|
+
class Link < Stripe::StripeObject
|
440
|
+
def self.inner_class_types
|
441
|
+
@inner_class_types = {}
|
442
|
+
end
|
443
|
+
|
444
|
+
def self.field_remappings
|
445
|
+
@field_remappings = {}
|
446
|
+
end
|
447
|
+
end
|
222
448
|
|
223
449
|
class Masterpass < Stripe::StripeObject
|
224
450
|
class BillingAddress < Stripe::StripeObject
|
@@ -234,6 +460,14 @@ module Stripe
|
|
234
460
|
attr_reader :postal_code
|
235
461
|
# State, county, province, or region.
|
236
462
|
attr_reader :state
|
463
|
+
|
464
|
+
def self.inner_class_types
|
465
|
+
@inner_class_types = {}
|
466
|
+
end
|
467
|
+
|
468
|
+
def self.field_remappings
|
469
|
+
@field_remappings = {}
|
470
|
+
end
|
237
471
|
end
|
238
472
|
|
239
473
|
class ShippingAddress < Stripe::StripeObject
|
@@ -249,6 +483,14 @@ module Stripe
|
|
249
483
|
attr_reader :postal_code
|
250
484
|
# State, county, province, or region.
|
251
485
|
attr_reader :state
|
486
|
+
|
487
|
+
def self.inner_class_types
|
488
|
+
@inner_class_types = {}
|
489
|
+
end
|
490
|
+
|
491
|
+
def self.field_remappings
|
492
|
+
@field_remappings = {}
|
493
|
+
end
|
252
494
|
end
|
253
495
|
# 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.
|
254
496
|
attr_reader :billing_address
|
@@ -258,9 +500,28 @@ module Stripe
|
|
258
500
|
attr_reader :name
|
259
501
|
# 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.
|
260
502
|
attr_reader :shipping_address
|
503
|
+
|
504
|
+
def self.inner_class_types
|
505
|
+
@inner_class_types = {
|
506
|
+
billing_address: BillingAddress,
|
507
|
+
shipping_address: ShippingAddress,
|
508
|
+
}
|
509
|
+
end
|
510
|
+
|
511
|
+
def self.field_remappings
|
512
|
+
@field_remappings = {}
|
513
|
+
end
|
261
514
|
end
|
262
515
|
|
263
|
-
class SamsungPay < Stripe::StripeObject
|
516
|
+
class SamsungPay < Stripe::StripeObject
|
517
|
+
def self.inner_class_types
|
518
|
+
@inner_class_types = {}
|
519
|
+
end
|
520
|
+
|
521
|
+
def self.field_remappings
|
522
|
+
@field_remappings = {}
|
523
|
+
end
|
524
|
+
end
|
264
525
|
|
265
526
|
class VisaCheckout < Stripe::StripeObject
|
266
527
|
class BillingAddress < Stripe::StripeObject
|
@@ -276,6 +537,14 @@ module Stripe
|
|
276
537
|
attr_reader :postal_code
|
277
538
|
# State, county, province, or region.
|
278
539
|
attr_reader :state
|
540
|
+
|
541
|
+
def self.inner_class_types
|
542
|
+
@inner_class_types = {}
|
543
|
+
end
|
544
|
+
|
545
|
+
def self.field_remappings
|
546
|
+
@field_remappings = {}
|
547
|
+
end
|
279
548
|
end
|
280
549
|
|
281
550
|
class ShippingAddress < Stripe::StripeObject
|
@@ -291,6 +560,14 @@ module Stripe
|
|
291
560
|
attr_reader :postal_code
|
292
561
|
# State, county, province, or region.
|
293
562
|
attr_reader :state
|
563
|
+
|
564
|
+
def self.inner_class_types
|
565
|
+
@inner_class_types = {}
|
566
|
+
end
|
567
|
+
|
568
|
+
def self.field_remappings
|
569
|
+
@field_remappings = {}
|
570
|
+
end
|
294
571
|
end
|
295
572
|
# 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.
|
296
573
|
attr_reader :billing_address
|
@@ -300,6 +577,17 @@ module Stripe
|
|
300
577
|
attr_reader :name
|
301
578
|
# 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.
|
302
579
|
attr_reader :shipping_address
|
580
|
+
|
581
|
+
def self.inner_class_types
|
582
|
+
@inner_class_types = {
|
583
|
+
billing_address: BillingAddress,
|
584
|
+
shipping_address: ShippingAddress,
|
585
|
+
}
|
586
|
+
end
|
587
|
+
|
588
|
+
def self.field_remappings
|
589
|
+
@field_remappings = {}
|
590
|
+
end
|
303
591
|
end
|
304
592
|
# Attribute for field amex_express_checkout
|
305
593
|
attr_reader :amex_express_checkout
|
@@ -319,6 +607,22 @@ module Stripe
|
|
319
607
|
attr_reader :type
|
320
608
|
# Attribute for field visa_checkout
|
321
609
|
attr_reader :visa_checkout
|
610
|
+
|
611
|
+
def self.inner_class_types
|
612
|
+
@inner_class_types = {
|
613
|
+
amex_express_checkout: AmexExpressCheckout,
|
614
|
+
apple_pay: ApplePay,
|
615
|
+
google_pay: GooglePay,
|
616
|
+
link: Link,
|
617
|
+
masterpass: Masterpass,
|
618
|
+
samsung_pay: SamsungPay,
|
619
|
+
visa_checkout: VisaCheckout,
|
620
|
+
}
|
621
|
+
end
|
622
|
+
|
623
|
+
def self.field_remappings
|
624
|
+
@field_remappings = {}
|
625
|
+
end
|
322
626
|
end
|
323
627
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
324
628
|
attr_reader :brand
|
@@ -356,6 +660,20 @@ module Stripe
|
|
356
660
|
attr_reader :three_d_secure_usage
|
357
661
|
# If this Card is part of a card wallet, this contains the details of the card wallet.
|
358
662
|
attr_reader :wallet
|
663
|
+
|
664
|
+
def self.inner_class_types
|
665
|
+
@inner_class_types = {
|
666
|
+
checks: Checks,
|
667
|
+
generated_from: GeneratedFrom,
|
668
|
+
networks: Networks,
|
669
|
+
three_d_secure_usage: ThreeDSecureUsage,
|
670
|
+
wallet: Wallet,
|
671
|
+
}
|
672
|
+
end
|
673
|
+
|
674
|
+
def self.field_remappings
|
675
|
+
@field_remappings = {}
|
676
|
+
end
|
359
677
|
end
|
360
678
|
|
361
679
|
class CardPresent < Stripe::StripeObject
|
@@ -364,6 +682,14 @@ module Stripe
|
|
364
682
|
attr_reader :available
|
365
683
|
# The preferred network for the card.
|
366
684
|
attr_reader :preferred
|
685
|
+
|
686
|
+
def self.inner_class_types
|
687
|
+
@inner_class_types = {}
|
688
|
+
end
|
689
|
+
|
690
|
+
def self.field_remappings
|
691
|
+
@field_remappings = {}
|
692
|
+
end
|
367
693
|
end
|
368
694
|
|
369
695
|
class Offline < Stripe::StripeObject
|
@@ -371,11 +697,27 @@ module Stripe
|
|
371
697
|
attr_reader :stored_at
|
372
698
|
# The method used to process this payment method offline. Only deferred is allowed.
|
373
699
|
attr_reader :type
|
700
|
+
|
701
|
+
def self.inner_class_types
|
702
|
+
@inner_class_types = {}
|
703
|
+
end
|
704
|
+
|
705
|
+
def self.field_remappings
|
706
|
+
@field_remappings = {}
|
707
|
+
end
|
374
708
|
end
|
375
709
|
|
376
710
|
class Wallet < Stripe::StripeObject
|
377
711
|
# The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
|
378
712
|
attr_reader :type
|
713
|
+
|
714
|
+
def self.inner_class_types
|
715
|
+
@inner_class_types = {}
|
716
|
+
end
|
717
|
+
|
718
|
+
def self.field_remappings
|
719
|
+
@field_remappings = {}
|
720
|
+
end
|
379
721
|
end
|
380
722
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
381
723
|
attr_reader :brand
|
@@ -413,6 +755,14 @@ module Stripe
|
|
413
755
|
attr_reader :read_method
|
414
756
|
# Attribute for field wallet
|
415
757
|
attr_reader :wallet
|
758
|
+
|
759
|
+
def self.inner_class_types
|
760
|
+
@inner_class_types = { networks: Networks, offline: Offline, wallet: Wallet }
|
761
|
+
end
|
762
|
+
|
763
|
+
def self.field_remappings
|
764
|
+
@field_remappings = {}
|
765
|
+
end
|
416
766
|
end
|
417
767
|
|
418
768
|
class Cashapp < Stripe::StripeObject
|
@@ -420,14 +770,47 @@ module Stripe
|
|
420
770
|
attr_reader :buyer_id
|
421
771
|
# A public identifier for buyers using Cash App.
|
422
772
|
attr_reader :cashtag
|
773
|
+
|
774
|
+
def self.inner_class_types
|
775
|
+
@inner_class_types = {}
|
776
|
+
end
|
777
|
+
|
778
|
+
def self.field_remappings
|
779
|
+
@field_remappings = {}
|
780
|
+
end
|
781
|
+
end
|
782
|
+
|
783
|
+
class Crypto < Stripe::StripeObject
|
784
|
+
def self.inner_class_types
|
785
|
+
@inner_class_types = {}
|
786
|
+
end
|
787
|
+
|
788
|
+
def self.field_remappings
|
789
|
+
@field_remappings = {}
|
790
|
+
end
|
423
791
|
end
|
424
792
|
|
425
|
-
class
|
426
|
-
|
793
|
+
class CustomerBalance < Stripe::StripeObject
|
794
|
+
def self.inner_class_types
|
795
|
+
@inner_class_types = {}
|
796
|
+
end
|
797
|
+
|
798
|
+
def self.field_remappings
|
799
|
+
@field_remappings = {}
|
800
|
+
end
|
801
|
+
end
|
427
802
|
|
428
803
|
class Eps < Stripe::StripeObject
|
429
804
|
# 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`.
|
430
805
|
attr_reader :bank
|
806
|
+
|
807
|
+
def self.inner_class_types
|
808
|
+
@inner_class_types = {}
|
809
|
+
end
|
810
|
+
|
811
|
+
def self.field_remappings
|
812
|
+
@field_remappings = {}
|
813
|
+
end
|
431
814
|
end
|
432
815
|
|
433
816
|
class Fpx < Stripe::StripeObject
|
@@ -435,16 +818,78 @@ module Stripe
|
|
435
818
|
attr_reader :account_holder_type
|
436
819
|
# 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`.
|
437
820
|
attr_reader :bank
|
821
|
+
|
822
|
+
def self.inner_class_types
|
823
|
+
@inner_class_types = {}
|
824
|
+
end
|
825
|
+
|
826
|
+
def self.field_remappings
|
827
|
+
@field_remappings = {}
|
828
|
+
end
|
438
829
|
end
|
439
830
|
|
440
|
-
class Giropay < Stripe::StripeObject
|
441
|
-
|
831
|
+
class Giropay < Stripe::StripeObject
|
832
|
+
def self.inner_class_types
|
833
|
+
@inner_class_types = {}
|
834
|
+
end
|
835
|
+
|
836
|
+
def self.field_remappings
|
837
|
+
@field_remappings = {}
|
838
|
+
end
|
839
|
+
end
|
840
|
+
|
841
|
+
class Gopay < Stripe::StripeObject
|
842
|
+
def self.inner_class_types
|
843
|
+
@inner_class_types = {}
|
844
|
+
end
|
845
|
+
|
846
|
+
def self.field_remappings
|
847
|
+
@field_remappings = {}
|
848
|
+
end
|
849
|
+
end
|
850
|
+
|
851
|
+
class Grabpay < Stripe::StripeObject
|
852
|
+
def self.inner_class_types
|
853
|
+
@inner_class_types = {}
|
854
|
+
end
|
855
|
+
|
856
|
+
def self.field_remappings
|
857
|
+
@field_remappings = {}
|
858
|
+
end
|
859
|
+
end
|
860
|
+
|
861
|
+
class IdBankTransfer < Stripe::StripeObject
|
862
|
+
# Attribute for field bank
|
863
|
+
attr_reader :bank
|
864
|
+
# Attribute for field bank_code
|
865
|
+
attr_reader :bank_code
|
866
|
+
# Attribute for field bank_name
|
867
|
+
attr_reader :bank_name
|
868
|
+
# Attribute for field display_name
|
869
|
+
attr_reader :display_name
|
870
|
+
|
871
|
+
def self.inner_class_types
|
872
|
+
@inner_class_types = {}
|
873
|
+
end
|
874
|
+
|
875
|
+
def self.field_remappings
|
876
|
+
@field_remappings = {}
|
877
|
+
end
|
878
|
+
end
|
442
879
|
|
443
880
|
class Ideal < Stripe::StripeObject
|
444
881
|
# The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
445
882
|
attr_reader :bank
|
446
883
|
# The Bank Identifier Code of the customer's bank, if the bank was provided.
|
447
884
|
attr_reader :bic
|
885
|
+
|
886
|
+
def self.inner_class_types
|
887
|
+
@inner_class_types = {}
|
888
|
+
end
|
889
|
+
|
890
|
+
def self.field_remappings
|
891
|
+
@field_remappings = {}
|
892
|
+
end
|
448
893
|
end
|
449
894
|
|
450
895
|
class InteracPresent < Stripe::StripeObject
|
@@ -453,6 +898,14 @@ module Stripe
|
|
453
898
|
attr_reader :available
|
454
899
|
# The preferred network for the card.
|
455
900
|
attr_reader :preferred
|
901
|
+
|
902
|
+
def self.inner_class_types
|
903
|
+
@inner_class_types = {}
|
904
|
+
end
|
905
|
+
|
906
|
+
def self.field_remappings
|
907
|
+
@field_remappings = {}
|
908
|
+
end
|
456
909
|
end
|
457
910
|
# Card brand. Can be `interac`, `mastercard` or `visa`.
|
458
911
|
attr_reader :brand
|
@@ -484,9 +937,25 @@ module Stripe
|
|
484
937
|
attr_reader :preferred_locales
|
485
938
|
# How card details were read in this transaction.
|
486
939
|
attr_reader :read_method
|
940
|
+
|
941
|
+
def self.inner_class_types
|
942
|
+
@inner_class_types = { networks: Networks }
|
943
|
+
end
|
944
|
+
|
945
|
+
def self.field_remappings
|
946
|
+
@field_remappings = {}
|
947
|
+
end
|
487
948
|
end
|
488
949
|
|
489
|
-
class KakaoPay < Stripe::StripeObject
|
950
|
+
class KakaoPay < Stripe::StripeObject
|
951
|
+
def self.inner_class_types
|
952
|
+
@inner_class_types = {}
|
953
|
+
end
|
954
|
+
|
955
|
+
def self.field_remappings
|
956
|
+
@field_remappings = {}
|
957
|
+
end
|
958
|
+
end
|
490
959
|
|
491
960
|
class Klarna < Stripe::StripeObject
|
492
961
|
class Dob < Stripe::StripeObject
|
@@ -496,18 +965,50 @@ module Stripe
|
|
496
965
|
attr_reader :month
|
497
966
|
# The four-digit year of birth.
|
498
967
|
attr_reader :year
|
968
|
+
|
969
|
+
def self.inner_class_types
|
970
|
+
@inner_class_types = {}
|
971
|
+
end
|
972
|
+
|
973
|
+
def self.field_remappings
|
974
|
+
@field_remappings = {}
|
975
|
+
end
|
499
976
|
end
|
500
977
|
# The customer's date of birth, if provided.
|
501
978
|
attr_reader :dob
|
979
|
+
|
980
|
+
def self.inner_class_types
|
981
|
+
@inner_class_types = { dob: Dob }
|
982
|
+
end
|
983
|
+
|
984
|
+
def self.field_remappings
|
985
|
+
@field_remappings = {}
|
986
|
+
end
|
502
987
|
end
|
503
988
|
|
504
|
-
class Konbini < Stripe::StripeObject
|
989
|
+
class Konbini < Stripe::StripeObject
|
990
|
+
def self.inner_class_types
|
991
|
+
@inner_class_types = {}
|
992
|
+
end
|
993
|
+
|
994
|
+
def self.field_remappings
|
995
|
+
@field_remappings = {}
|
996
|
+
end
|
997
|
+
end
|
505
998
|
|
506
999
|
class KrCard < Stripe::StripeObject
|
507
1000
|
# The local credit or debit card brand.
|
508
1001
|
attr_reader :brand
|
509
1002
|
# The last four digits of the card. This may not be present for American Express cards.
|
510
1003
|
attr_reader :last4
|
1004
|
+
|
1005
|
+
def self.inner_class_types
|
1006
|
+
@inner_class_types = {}
|
1007
|
+
end
|
1008
|
+
|
1009
|
+
def self.field_remappings
|
1010
|
+
@field_remappings = {}
|
1011
|
+
end
|
511
1012
|
end
|
512
1013
|
|
513
1014
|
class Link < Stripe::StripeObject
|
@@ -515,16 +1016,59 @@ module Stripe
|
|
515
1016
|
attr_reader :email
|
516
1017
|
# [Deprecated] This is a legacy parameter that no longer has any function.
|
517
1018
|
attr_reader :persistent_token
|
1019
|
+
|
1020
|
+
def self.inner_class_types
|
1021
|
+
@inner_class_types = {}
|
1022
|
+
end
|
1023
|
+
|
1024
|
+
def self.field_remappings
|
1025
|
+
@field_remappings = {}
|
1026
|
+
end
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
class MbWay < Stripe::StripeObject
|
1030
|
+
def self.inner_class_types
|
1031
|
+
@inner_class_types = {}
|
1032
|
+
end
|
1033
|
+
|
1034
|
+
def self.field_remappings
|
1035
|
+
@field_remappings = {}
|
1036
|
+
end
|
1037
|
+
end
|
1038
|
+
|
1039
|
+
class Mobilepay < Stripe::StripeObject
|
1040
|
+
def self.inner_class_types
|
1041
|
+
@inner_class_types = {}
|
1042
|
+
end
|
1043
|
+
|
1044
|
+
def self.field_remappings
|
1045
|
+
@field_remappings = {}
|
1046
|
+
end
|
518
1047
|
end
|
519
1048
|
|
520
|
-
class
|
521
|
-
|
1049
|
+
class Multibanco < Stripe::StripeObject
|
1050
|
+
def self.inner_class_types
|
1051
|
+
@inner_class_types = {}
|
1052
|
+
end
|
1053
|
+
|
1054
|
+
def self.field_remappings
|
1055
|
+
@field_remappings = {}
|
1056
|
+
end
|
1057
|
+
end
|
522
1058
|
|
523
1059
|
class NaverPay < Stripe::StripeObject
|
524
1060
|
# Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same.
|
525
1061
|
attr_reader :buyer_id
|
526
1062
|
# Whether to fund this transaction with Naver Pay points or a card.
|
527
1063
|
attr_reader :funding
|
1064
|
+
|
1065
|
+
def self.inner_class_types
|
1066
|
+
@inner_class_types = {}
|
1067
|
+
end
|
1068
|
+
|
1069
|
+
def self.field_remappings
|
1070
|
+
@field_remappings = {}
|
1071
|
+
end
|
528
1072
|
end
|
529
1073
|
|
530
1074
|
class NzBankAccount < Stripe::StripeObject
|
@@ -540,40 +1084,210 @@ module Stripe
|
|
540
1084
|
attr_reader :last4
|
541
1085
|
# The suffix of the bank account number.
|
542
1086
|
attr_reader :suffix
|
1087
|
+
|
1088
|
+
def self.inner_class_types
|
1089
|
+
@inner_class_types = {}
|
1090
|
+
end
|
1091
|
+
|
1092
|
+
def self.field_remappings
|
1093
|
+
@field_remappings = {}
|
1094
|
+
end
|
543
1095
|
end
|
544
1096
|
|
545
|
-
class Oxxo < Stripe::StripeObject
|
1097
|
+
class Oxxo < Stripe::StripeObject
|
1098
|
+
def self.inner_class_types
|
1099
|
+
@inner_class_types = {}
|
1100
|
+
end
|
1101
|
+
|
1102
|
+
def self.field_remappings
|
1103
|
+
@field_remappings = {}
|
1104
|
+
end
|
1105
|
+
end
|
546
1106
|
|
547
1107
|
class P24 < Stripe::StripeObject
|
548
1108
|
# The customer's bank, if provided.
|
549
1109
|
attr_reader :bank
|
1110
|
+
|
1111
|
+
def self.inner_class_types
|
1112
|
+
@inner_class_types = {}
|
1113
|
+
end
|
1114
|
+
|
1115
|
+
def self.field_remappings
|
1116
|
+
@field_remappings = {}
|
1117
|
+
end
|
550
1118
|
end
|
551
1119
|
|
552
|
-
class PayByBank < Stripe::StripeObject
|
553
|
-
|
554
|
-
|
1120
|
+
class PayByBank < Stripe::StripeObject
|
1121
|
+
def self.inner_class_types
|
1122
|
+
@inner_class_types = {}
|
1123
|
+
end
|
1124
|
+
|
1125
|
+
def self.field_remappings
|
1126
|
+
@field_remappings = {}
|
1127
|
+
end
|
1128
|
+
end
|
1129
|
+
|
1130
|
+
class Payco < Stripe::StripeObject
|
1131
|
+
def self.inner_class_types
|
1132
|
+
@inner_class_types = {}
|
1133
|
+
end
|
1134
|
+
|
1135
|
+
def self.field_remappings
|
1136
|
+
@field_remappings = {}
|
1137
|
+
end
|
1138
|
+
end
|
1139
|
+
|
1140
|
+
class Paynow < Stripe::StripeObject
|
1141
|
+
def self.inner_class_types
|
1142
|
+
@inner_class_types = {}
|
1143
|
+
end
|
1144
|
+
|
1145
|
+
def self.field_remappings
|
1146
|
+
@field_remappings = {}
|
1147
|
+
end
|
1148
|
+
end
|
555
1149
|
|
556
1150
|
class Paypal < Stripe::StripeObject
|
557
1151
|
# 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.
|
558
1152
|
attr_reader :country
|
1153
|
+
# Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
|
1154
|
+
attr_reader :fingerprint
|
559
1155
|
# Owner's email. Values are provided by PayPal directly
|
560
1156
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
561
1157
|
attr_reader :payer_email
|
562
1158
|
# PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
563
1159
|
attr_reader :payer_id
|
1160
|
+
# Owner's verified email. Values are verified or provided by PayPal directly
|
1161
|
+
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
1162
|
+
attr_reader :verified_email
|
1163
|
+
|
1164
|
+
def self.inner_class_types
|
1165
|
+
@inner_class_types = {}
|
1166
|
+
end
|
1167
|
+
|
1168
|
+
def self.field_remappings
|
1169
|
+
@field_remappings = {}
|
1170
|
+
end
|
564
1171
|
end
|
565
1172
|
|
566
|
-
class
|
567
|
-
|
1173
|
+
class Payto < Stripe::StripeObject
|
1174
|
+
# Bank-State-Branch number of the bank account.
|
1175
|
+
attr_reader :bsb_number
|
1176
|
+
# Last four digits of the bank account number.
|
1177
|
+
attr_reader :last4
|
1178
|
+
# The PayID alias for the bank account.
|
1179
|
+
attr_reader :pay_id
|
1180
|
+
|
1181
|
+
def self.inner_class_types
|
1182
|
+
@inner_class_types = {}
|
1183
|
+
end
|
1184
|
+
|
1185
|
+
def self.field_remappings
|
1186
|
+
@field_remappings = {}
|
1187
|
+
end
|
1188
|
+
end
|
1189
|
+
|
1190
|
+
class Pix < Stripe::StripeObject
|
1191
|
+
def self.inner_class_types
|
1192
|
+
@inner_class_types = {}
|
1193
|
+
end
|
1194
|
+
|
1195
|
+
def self.field_remappings
|
1196
|
+
@field_remappings = {}
|
1197
|
+
end
|
1198
|
+
end
|
1199
|
+
|
1200
|
+
class Promptpay < Stripe::StripeObject
|
1201
|
+
def self.inner_class_types
|
1202
|
+
@inner_class_types = {}
|
1203
|
+
end
|
1204
|
+
|
1205
|
+
def self.field_remappings
|
1206
|
+
@field_remappings = {}
|
1207
|
+
end
|
1208
|
+
end
|
1209
|
+
|
1210
|
+
class Qris < Stripe::StripeObject
|
1211
|
+
def self.inner_class_types
|
1212
|
+
@inner_class_types = {}
|
1213
|
+
end
|
1214
|
+
|
1215
|
+
def self.field_remappings
|
1216
|
+
@field_remappings = {}
|
1217
|
+
end
|
1218
|
+
end
|
568
1219
|
|
569
1220
|
class RadarOptions < Stripe::StripeObject
|
570
1221
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
571
1222
|
attr_reader :session
|
1223
|
+
|
1224
|
+
def self.inner_class_types
|
1225
|
+
@inner_class_types = {}
|
1226
|
+
end
|
1227
|
+
|
1228
|
+
def self.field_remappings
|
1229
|
+
@field_remappings = {}
|
1230
|
+
end
|
1231
|
+
end
|
1232
|
+
|
1233
|
+
class Rechnung < Stripe::StripeObject
|
1234
|
+
class Dob < Stripe::StripeObject
|
1235
|
+
# The day of birth, between 1 and 31.
|
1236
|
+
attr_reader :day
|
1237
|
+
# The month of birth, between 1 and 12.
|
1238
|
+
attr_reader :month
|
1239
|
+
# The four-digit year of birth.
|
1240
|
+
attr_reader :year
|
1241
|
+
|
1242
|
+
def self.inner_class_types
|
1243
|
+
@inner_class_types = {}
|
1244
|
+
end
|
1245
|
+
|
1246
|
+
def self.field_remappings
|
1247
|
+
@field_remappings = {}
|
1248
|
+
end
|
1249
|
+
end
|
1250
|
+
# Attribute for field dob
|
1251
|
+
attr_reader :dob
|
1252
|
+
|
1253
|
+
def self.inner_class_types
|
1254
|
+
@inner_class_types = { dob: Dob }
|
1255
|
+
end
|
1256
|
+
|
1257
|
+
def self.field_remappings
|
1258
|
+
@field_remappings = {}
|
1259
|
+
end
|
1260
|
+
end
|
1261
|
+
|
1262
|
+
class RevolutPay < Stripe::StripeObject
|
1263
|
+
def self.inner_class_types
|
1264
|
+
@inner_class_types = {}
|
1265
|
+
end
|
1266
|
+
|
1267
|
+
def self.field_remappings
|
1268
|
+
@field_remappings = {}
|
1269
|
+
end
|
1270
|
+
end
|
1271
|
+
|
1272
|
+
class SamsungPay < Stripe::StripeObject
|
1273
|
+
def self.inner_class_types
|
1274
|
+
@inner_class_types = {}
|
1275
|
+
end
|
1276
|
+
|
1277
|
+
def self.field_remappings
|
1278
|
+
@field_remappings = {}
|
1279
|
+
end
|
572
1280
|
end
|
573
1281
|
|
574
|
-
class
|
575
|
-
|
576
|
-
|
1282
|
+
class Satispay < Stripe::StripeObject
|
1283
|
+
def self.inner_class_types
|
1284
|
+
@inner_class_types = {}
|
1285
|
+
end
|
1286
|
+
|
1287
|
+
def self.field_remappings
|
1288
|
+
@field_remappings = {}
|
1289
|
+
end
|
1290
|
+
end
|
577
1291
|
|
578
1292
|
class SepaDebit < Stripe::StripeObject
|
579
1293
|
class GeneratedFrom < Stripe::StripeObject
|
@@ -581,6 +1295,14 @@ module Stripe
|
|
581
1295
|
attr_reader :charge
|
582
1296
|
# The ID of the SetupAttempt that generated this PaymentMethod, if any.
|
583
1297
|
attr_reader :setup_attempt
|
1298
|
+
|
1299
|
+
def self.inner_class_types
|
1300
|
+
@inner_class_types = {}
|
1301
|
+
end
|
1302
|
+
|
1303
|
+
def self.field_remappings
|
1304
|
+
@field_remappings = {}
|
1305
|
+
end
|
584
1306
|
end
|
585
1307
|
# Bank code of bank associated with the bank account.
|
586
1308
|
attr_reader :bank_code
|
@@ -594,15 +1316,73 @@ module Stripe
|
|
594
1316
|
attr_reader :generated_from
|
595
1317
|
# Last four characters of the IBAN.
|
596
1318
|
attr_reader :last4
|
1319
|
+
|
1320
|
+
def self.inner_class_types
|
1321
|
+
@inner_class_types = { generated_from: GeneratedFrom }
|
1322
|
+
end
|
1323
|
+
|
1324
|
+
def self.field_remappings
|
1325
|
+
@field_remappings = {}
|
1326
|
+
end
|
1327
|
+
end
|
1328
|
+
|
1329
|
+
class Shopeepay < Stripe::StripeObject
|
1330
|
+
def self.inner_class_types
|
1331
|
+
@inner_class_types = {}
|
1332
|
+
end
|
1333
|
+
|
1334
|
+
def self.field_remappings
|
1335
|
+
@field_remappings = {}
|
1336
|
+
end
|
597
1337
|
end
|
598
1338
|
|
599
1339
|
class Sofort < Stripe::StripeObject
|
600
1340
|
# Two-letter ISO code representing the country the bank account is located in.
|
601
1341
|
attr_reader :country
|
1342
|
+
|
1343
|
+
def self.inner_class_types
|
1344
|
+
@inner_class_types = {}
|
1345
|
+
end
|
1346
|
+
|
1347
|
+
def self.field_remappings
|
1348
|
+
@field_remappings = {}
|
1349
|
+
end
|
602
1350
|
end
|
603
1351
|
|
604
|
-
class
|
605
|
-
|
1352
|
+
class StripeBalance < Stripe::StripeObject
|
1353
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
1354
|
+
attr_reader :account
|
1355
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
1356
|
+
attr_reader :source_type
|
1357
|
+
|
1358
|
+
def self.inner_class_types
|
1359
|
+
@inner_class_types = {}
|
1360
|
+
end
|
1361
|
+
|
1362
|
+
def self.field_remappings
|
1363
|
+
@field_remappings = {}
|
1364
|
+
end
|
1365
|
+
end
|
1366
|
+
|
1367
|
+
class Swish < Stripe::StripeObject
|
1368
|
+
def self.inner_class_types
|
1369
|
+
@inner_class_types = {}
|
1370
|
+
end
|
1371
|
+
|
1372
|
+
def self.field_remappings
|
1373
|
+
@field_remappings = {}
|
1374
|
+
end
|
1375
|
+
end
|
1376
|
+
|
1377
|
+
class Twint < Stripe::StripeObject
|
1378
|
+
def self.inner_class_types
|
1379
|
+
@inner_class_types = {}
|
1380
|
+
end
|
1381
|
+
|
1382
|
+
def self.field_remappings
|
1383
|
+
@field_remappings = {}
|
1384
|
+
end
|
1385
|
+
end
|
606
1386
|
|
607
1387
|
class UsBankAccount < Stripe::StripeObject
|
608
1388
|
class Networks < Stripe::StripeObject
|
@@ -610,6 +1390,14 @@ module Stripe
|
|
610
1390
|
attr_reader :preferred
|
611
1391
|
# All supported networks.
|
612
1392
|
attr_reader :supported
|
1393
|
+
|
1394
|
+
def self.inner_class_types
|
1395
|
+
@inner_class_types = {}
|
1396
|
+
end
|
1397
|
+
|
1398
|
+
def self.field_remappings
|
1399
|
+
@field_remappings = {}
|
1400
|
+
end
|
613
1401
|
end
|
614
1402
|
|
615
1403
|
class StatusDetails < Stripe::StripeObject
|
@@ -618,12 +1406,30 @@ module Stripe
|
|
618
1406
|
attr_reader :network_code
|
619
1407
|
# The reason why this PaymentMethod's fingerprint has been blocked
|
620
1408
|
attr_reader :reason
|
1409
|
+
|
1410
|
+
def self.inner_class_types
|
1411
|
+
@inner_class_types = {}
|
1412
|
+
end
|
1413
|
+
|
1414
|
+
def self.field_remappings
|
1415
|
+
@field_remappings = {}
|
1416
|
+
end
|
621
1417
|
end
|
622
1418
|
# Attribute for field blocked
|
623
1419
|
attr_reader :blocked
|
1420
|
+
|
1421
|
+
def self.inner_class_types
|
1422
|
+
@inner_class_types = { blocked: Blocked }
|
1423
|
+
end
|
1424
|
+
|
1425
|
+
def self.field_remappings
|
1426
|
+
@field_remappings = {}
|
1427
|
+
end
|
624
1428
|
end
|
625
1429
|
# Account holder type: individual or company.
|
626
1430
|
attr_reader :account_holder_type
|
1431
|
+
# Account number of the bank account.
|
1432
|
+
attr_reader :account_number
|
627
1433
|
# Account type: checkings or savings. Defaults to checking if omitted.
|
628
1434
|
attr_reader :account_type
|
629
1435
|
# The name of the bank.
|
@@ -640,10 +1446,35 @@ module Stripe
|
|
640
1446
|
attr_reader :routing_number
|
641
1447
|
# Contains information about the future reusability of this PaymentMethod.
|
642
1448
|
attr_reader :status_details
|
1449
|
+
|
1450
|
+
def self.inner_class_types
|
1451
|
+
@inner_class_types = { networks: Networks, status_details: StatusDetails }
|
1452
|
+
end
|
1453
|
+
|
1454
|
+
def self.field_remappings
|
1455
|
+
@field_remappings = {}
|
1456
|
+
end
|
1457
|
+
end
|
1458
|
+
|
1459
|
+
class WechatPay < Stripe::StripeObject
|
1460
|
+
def self.inner_class_types
|
1461
|
+
@inner_class_types = {}
|
1462
|
+
end
|
1463
|
+
|
1464
|
+
def self.field_remappings
|
1465
|
+
@field_remappings = {}
|
1466
|
+
end
|
643
1467
|
end
|
644
1468
|
|
645
|
-
class
|
646
|
-
|
1469
|
+
class Zip < Stripe::StripeObject
|
1470
|
+
def self.inner_class_types
|
1471
|
+
@inner_class_types = {}
|
1472
|
+
end
|
1473
|
+
|
1474
|
+
def self.field_remappings
|
1475
|
+
@field_remappings = {}
|
1476
|
+
end
|
1477
|
+
end
|
647
1478
|
|
648
1479
|
class ListParams < Stripe::RequestParams
|
649
1480
|
# The ID of the customer whose PaymentMethods will be retrieved.
|
@@ -852,8 +1683,18 @@ module Stripe
|
|
852
1683
|
end
|
853
1684
|
|
854
1685
|
class Giropay < Stripe::RequestParams; end
|
1686
|
+
class Gopay < Stripe::RequestParams; end
|
855
1687
|
class Grabpay < Stripe::RequestParams; end
|
856
1688
|
|
1689
|
+
class IdBankTransfer < Stripe::RequestParams
|
1690
|
+
# Bank where the account is held.
|
1691
|
+
attr_accessor :bank
|
1692
|
+
|
1693
|
+
def initialize(bank: nil)
|
1694
|
+
@bank = bank
|
1695
|
+
end
|
1696
|
+
end
|
1697
|
+
|
857
1698
|
class Ideal < Stripe::RequestParams
|
858
1699
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
859
1700
|
attr_accessor :bank
|
@@ -892,6 +1733,7 @@ module Stripe
|
|
892
1733
|
class Konbini < Stripe::RequestParams; end
|
893
1734
|
class KrCard < Stripe::RequestParams; end
|
894
1735
|
class Link < Stripe::RequestParams; end
|
1736
|
+
class MbWay < Stripe::RequestParams; end
|
895
1737
|
class Mobilepay < Stripe::RequestParams; end
|
896
1738
|
class Multibanco < Stripe::RequestParams; end
|
897
1739
|
|
@@ -950,8 +1792,25 @@ module Stripe
|
|
950
1792
|
class Payco < Stripe::RequestParams; end
|
951
1793
|
class Paynow < Stripe::RequestParams; end
|
952
1794
|
class Paypal < Stripe::RequestParams; end
|
1795
|
+
|
1796
|
+
class Payto < Stripe::RequestParams
|
1797
|
+
# The account number for the bank account.
|
1798
|
+
attr_accessor :account_number
|
1799
|
+
# Bank-State-Branch number of the bank account.
|
1800
|
+
attr_accessor :bsb_number
|
1801
|
+
# The PayID alias for the bank account.
|
1802
|
+
attr_accessor :pay_id
|
1803
|
+
|
1804
|
+
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
1805
|
+
@account_number = account_number
|
1806
|
+
@bsb_number = bsb_number
|
1807
|
+
@pay_id = pay_id
|
1808
|
+
end
|
1809
|
+
end
|
1810
|
+
|
953
1811
|
class Pix < Stripe::RequestParams; end
|
954
1812
|
class Promptpay < Stripe::RequestParams; end
|
1813
|
+
class Qris < Stripe::RequestParams; end
|
955
1814
|
|
956
1815
|
class RadarOptions < Stripe::RequestParams
|
957
1816
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
@@ -962,6 +1821,29 @@ module Stripe
|
|
962
1821
|
end
|
963
1822
|
end
|
964
1823
|
|
1824
|
+
class Rechnung < Stripe::RequestParams
|
1825
|
+
class Dob < Stripe::RequestParams
|
1826
|
+
# The day of birth, between 1 and 31.
|
1827
|
+
attr_accessor :day
|
1828
|
+
# The month of birth, between 1 and 12.
|
1829
|
+
attr_accessor :month
|
1830
|
+
# The four-digit year of birth.
|
1831
|
+
attr_accessor :year
|
1832
|
+
|
1833
|
+
def initialize(day: nil, month: nil, year: nil)
|
1834
|
+
@day = day
|
1835
|
+
@month = month
|
1836
|
+
@year = year
|
1837
|
+
end
|
1838
|
+
end
|
1839
|
+
# Customer's date of birth
|
1840
|
+
attr_accessor :dob
|
1841
|
+
|
1842
|
+
def initialize(dob: nil)
|
1843
|
+
@dob = dob
|
1844
|
+
end
|
1845
|
+
end
|
1846
|
+
|
965
1847
|
class RevolutPay < Stripe::RequestParams; end
|
966
1848
|
class SamsungPay < Stripe::RequestParams; end
|
967
1849
|
class Satispay < Stripe::RequestParams; end
|
@@ -975,6 +1857,8 @@ module Stripe
|
|
975
1857
|
end
|
976
1858
|
end
|
977
1859
|
|
1860
|
+
class Shopeepay < Stripe::RequestParams; end
|
1861
|
+
|
978
1862
|
class Sofort < Stripe::RequestParams
|
979
1863
|
# Two-letter ISO code representing the country the bank account is located in.
|
980
1864
|
attr_accessor :country
|
@@ -984,6 +1868,18 @@ module Stripe
|
|
984
1868
|
end
|
985
1869
|
end
|
986
1870
|
|
1871
|
+
class StripeBalance < Stripe::RequestParams
|
1872
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
1873
|
+
attr_accessor :account
|
1874
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
1875
|
+
attr_accessor :source_type
|
1876
|
+
|
1877
|
+
def initialize(account: nil, source_type: nil)
|
1878
|
+
@account = account
|
1879
|
+
@source_type = source_type
|
1880
|
+
end
|
1881
|
+
end
|
1882
|
+
|
987
1883
|
class Swish < Stripe::RequestParams; end
|
988
1884
|
class Twint < Stripe::RequestParams; end
|
989
1885
|
|
@@ -1062,8 +1958,12 @@ module Stripe
|
|
1062
1958
|
attr_accessor :fpx
|
1063
1959
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
1064
1960
|
attr_accessor :giropay
|
1961
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
1962
|
+
attr_accessor :gopay
|
1065
1963
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
1066
1964
|
attr_accessor :grabpay
|
1965
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
1966
|
+
attr_accessor :id_bank_transfer
|
1067
1967
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
1068
1968
|
attr_accessor :ideal
|
1069
1969
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -1078,6 +1978,8 @@ module Stripe
|
|
1078
1978
|
attr_accessor :kr_card
|
1079
1979
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
1080
1980
|
attr_accessor :link
|
1981
|
+
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
1982
|
+
attr_accessor :mb_way
|
1081
1983
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
1082
1984
|
attr_accessor :metadata
|
1083
1985
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -1102,12 +2004,18 @@ module Stripe
|
|
1102
2004
|
attr_accessor :paynow
|
1103
2005
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
1104
2006
|
attr_accessor :paypal
|
2007
|
+
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
2008
|
+
attr_accessor :payto
|
1105
2009
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
1106
2010
|
attr_accessor :pix
|
1107
2011
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
1108
2012
|
attr_accessor :promptpay
|
2013
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
2014
|
+
attr_accessor :qris
|
1109
2015
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
1110
2016
|
attr_accessor :radar_options
|
2017
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
2018
|
+
attr_accessor :rechnung
|
1111
2019
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
1112
2020
|
attr_accessor :revolut_pay
|
1113
2021
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -1116,8 +2024,12 @@ module Stripe
|
|
1116
2024
|
attr_accessor :satispay
|
1117
2025
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
1118
2026
|
attr_accessor :sepa_debit
|
2027
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
2028
|
+
attr_accessor :shopeepay
|
1119
2029
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
1120
2030
|
attr_accessor :sofort
|
2031
|
+
# This hash contains details about the Stripe balance payment method.
|
2032
|
+
attr_accessor :stripe_balance
|
1121
2033
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
1122
2034
|
attr_accessor :swish
|
1123
2035
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -1155,7 +2067,9 @@ module Stripe
|
|
1155
2067
|
expand: nil,
|
1156
2068
|
fpx: nil,
|
1157
2069
|
giropay: nil,
|
2070
|
+
gopay: nil,
|
1158
2071
|
grabpay: nil,
|
2072
|
+
id_bank_transfer: nil,
|
1159
2073
|
ideal: nil,
|
1160
2074
|
interac_present: nil,
|
1161
2075
|
kakao_pay: nil,
|
@@ -1163,6 +2077,7 @@ module Stripe
|
|
1163
2077
|
konbini: nil,
|
1164
2078
|
kr_card: nil,
|
1165
2079
|
link: nil,
|
2080
|
+
mb_way: nil,
|
1166
2081
|
metadata: nil,
|
1167
2082
|
mobilepay: nil,
|
1168
2083
|
multibanco: nil,
|
@@ -1175,14 +2090,19 @@ module Stripe
|
|
1175
2090
|
payment_method: nil,
|
1176
2091
|
paynow: nil,
|
1177
2092
|
paypal: nil,
|
2093
|
+
payto: nil,
|
1178
2094
|
pix: nil,
|
1179
2095
|
promptpay: nil,
|
2096
|
+
qris: nil,
|
1180
2097
|
radar_options: nil,
|
2098
|
+
rechnung: nil,
|
1181
2099
|
revolut_pay: nil,
|
1182
2100
|
samsung_pay: nil,
|
1183
2101
|
satispay: nil,
|
1184
2102
|
sepa_debit: nil,
|
2103
|
+
shopeepay: nil,
|
1185
2104
|
sofort: nil,
|
2105
|
+
stripe_balance: nil,
|
1186
2106
|
swish: nil,
|
1187
2107
|
twint: nil,
|
1188
2108
|
type: nil,
|
@@ -1213,7 +2133,9 @@ module Stripe
|
|
1213
2133
|
@expand = expand
|
1214
2134
|
@fpx = fpx
|
1215
2135
|
@giropay = giropay
|
2136
|
+
@gopay = gopay
|
1216
2137
|
@grabpay = grabpay
|
2138
|
+
@id_bank_transfer = id_bank_transfer
|
1217
2139
|
@ideal = ideal
|
1218
2140
|
@interac_present = interac_present
|
1219
2141
|
@kakao_pay = kakao_pay
|
@@ -1221,6 +2143,7 @@ module Stripe
|
|
1221
2143
|
@konbini = konbini
|
1222
2144
|
@kr_card = kr_card
|
1223
2145
|
@link = link
|
2146
|
+
@mb_way = mb_way
|
1224
2147
|
@metadata = metadata
|
1225
2148
|
@mobilepay = mobilepay
|
1226
2149
|
@multibanco = multibanco
|
@@ -1233,14 +2156,19 @@ module Stripe
|
|
1233
2156
|
@payment_method = payment_method
|
1234
2157
|
@paynow = paynow
|
1235
2158
|
@paypal = paypal
|
2159
|
+
@payto = payto
|
1236
2160
|
@pix = pix
|
1237
2161
|
@promptpay = promptpay
|
2162
|
+
@qris = qris
|
1238
2163
|
@radar_options = radar_options
|
2164
|
+
@rechnung = rechnung
|
1239
2165
|
@revolut_pay = revolut_pay
|
1240
2166
|
@samsung_pay = samsung_pay
|
1241
2167
|
@satispay = satispay
|
1242
2168
|
@sepa_debit = sepa_debit
|
2169
|
+
@shopeepay = shopeepay
|
1243
2170
|
@sofort = sofort
|
2171
|
+
@stripe_balance = stripe_balance
|
1244
2172
|
@swish = swish
|
1245
2173
|
@twint = twint
|
1246
2174
|
@type = type
|
@@ -1328,6 +2256,21 @@ module Stripe
|
|
1328
2256
|
class Link < Stripe::RequestParams; end
|
1329
2257
|
class PayByBank < Stripe::RequestParams; end
|
1330
2258
|
|
2259
|
+
class Payto < Stripe::RequestParams
|
2260
|
+
# The account number for the bank account.
|
2261
|
+
attr_accessor :account_number
|
2262
|
+
# Bank-State-Branch number of the bank account.
|
2263
|
+
attr_accessor :bsb_number
|
2264
|
+
# The PayID alias for the bank account.
|
2265
|
+
attr_accessor :pay_id
|
2266
|
+
|
2267
|
+
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
2268
|
+
@account_number = account_number
|
2269
|
+
@bsb_number = bsb_number
|
2270
|
+
@pay_id = pay_id
|
2271
|
+
end
|
2272
|
+
end
|
2273
|
+
|
1331
2274
|
class UsBankAccount < Stripe::RequestParams
|
1332
2275
|
# Bank account holder type.
|
1333
2276
|
attr_accessor :account_holder_type
|
@@ -1353,6 +2296,8 @@ module Stripe
|
|
1353
2296
|
attr_accessor :metadata
|
1354
2297
|
# If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
|
1355
2298
|
attr_accessor :pay_by_bank
|
2299
|
+
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
2300
|
+
attr_accessor :payto
|
1356
2301
|
# If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
|
1357
2302
|
attr_accessor :us_bank_account
|
1358
2303
|
|
@@ -1364,6 +2309,7 @@ module Stripe
|
|
1364
2309
|
link: nil,
|
1365
2310
|
metadata: nil,
|
1366
2311
|
pay_by_bank: nil,
|
2312
|
+
payto: nil,
|
1367
2313
|
us_bank_account: nil
|
1368
2314
|
)
|
1369
2315
|
@allow_redisplay = allow_redisplay
|
@@ -1373,6 +2319,7 @@ module Stripe
|
|
1373
2319
|
@link = link
|
1374
2320
|
@metadata = metadata
|
1375
2321
|
@pay_by_bank = pay_by_bank
|
2322
|
+
@payto = payto
|
1376
2323
|
@us_bank_account = us_bank_account
|
1377
2324
|
end
|
1378
2325
|
end
|
@@ -1380,11 +2327,14 @@ module Stripe
|
|
1380
2327
|
class AttachParams < Stripe::RequestParams
|
1381
2328
|
# The ID of the customer to which to attach the PaymentMethod.
|
1382
2329
|
attr_accessor :customer
|
2330
|
+
# The ID of the account to which to attach the PaymentMethod.
|
2331
|
+
attr_accessor :customer_account
|
1383
2332
|
# Specifies which fields in the response should be expanded.
|
1384
2333
|
attr_accessor :expand
|
1385
2334
|
|
1386
|
-
def initialize(customer: nil, expand: nil)
|
2335
|
+
def initialize(customer: nil, customer_account: nil, expand: nil)
|
1387
2336
|
@customer = customer
|
2337
|
+
@customer_account = customer_account
|
1388
2338
|
@expand = expand
|
1389
2339
|
end
|
1390
2340
|
end
|
@@ -1437,6 +2387,8 @@ module Stripe
|
|
1437
2387
|
attr_reader :crypto
|
1438
2388
|
# The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer.
|
1439
2389
|
attr_reader :customer
|
2390
|
+
# Attribute for field customer_account
|
2391
|
+
attr_reader :customer_account
|
1440
2392
|
# Attribute for field customer_balance
|
1441
2393
|
attr_reader :customer_balance
|
1442
2394
|
# Attribute for field eps
|
@@ -1445,10 +2397,14 @@ module Stripe
|
|
1445
2397
|
attr_reader :fpx
|
1446
2398
|
# Attribute for field giropay
|
1447
2399
|
attr_reader :giropay
|
2400
|
+
# Attribute for field gopay
|
2401
|
+
attr_reader :gopay
|
1448
2402
|
# Attribute for field grabpay
|
1449
2403
|
attr_reader :grabpay
|
1450
2404
|
# Unique identifier for the object.
|
1451
2405
|
attr_reader :id
|
2406
|
+
# Attribute for field id_bank_transfer
|
2407
|
+
attr_reader :id_bank_transfer
|
1452
2408
|
# Attribute for field ideal
|
1453
2409
|
attr_reader :ideal
|
1454
2410
|
# Attribute for field interac_present
|
@@ -1461,10 +2417,14 @@ module Stripe
|
|
1461
2417
|
attr_reader :konbini
|
1462
2418
|
# Attribute for field kr_card
|
1463
2419
|
attr_reader :kr_card
|
2420
|
+
# The Mandate object of the most recently created Mandate associated with this payment method
|
2421
|
+
attr_reader :latest_active_mandate
|
1464
2422
|
# Attribute for field link
|
1465
2423
|
attr_reader :link
|
1466
2424
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
1467
2425
|
attr_reader :livemode
|
2426
|
+
# Attribute for field mb_way
|
2427
|
+
attr_reader :mb_way
|
1468
2428
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
1469
2429
|
attr_reader :metadata
|
1470
2430
|
# Attribute for field mobilepay
|
@@ -1489,12 +2449,18 @@ module Stripe
|
|
1489
2449
|
attr_reader :paynow
|
1490
2450
|
# Attribute for field paypal
|
1491
2451
|
attr_reader :paypal
|
2452
|
+
# Attribute for field payto
|
2453
|
+
attr_reader :payto
|
1492
2454
|
# Attribute for field pix
|
1493
2455
|
attr_reader :pix
|
1494
2456
|
# Attribute for field promptpay
|
1495
2457
|
attr_reader :promptpay
|
2458
|
+
# Attribute for field qris
|
2459
|
+
attr_reader :qris
|
1496
2460
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
1497
2461
|
attr_reader :radar_options
|
2462
|
+
# Attribute for field rechnung
|
2463
|
+
attr_reader :rechnung
|
1498
2464
|
# Attribute for field revolut_pay
|
1499
2465
|
attr_reader :revolut_pay
|
1500
2466
|
# Attribute for field samsung_pay
|
@@ -1503,8 +2469,12 @@ module Stripe
|
|
1503
2469
|
attr_reader :satispay
|
1504
2470
|
# Attribute for field sepa_debit
|
1505
2471
|
attr_reader :sepa_debit
|
2472
|
+
# Attribute for field shopeepay
|
2473
|
+
attr_reader :shopeepay
|
1506
2474
|
# Attribute for field sofort
|
1507
2475
|
attr_reader :sofort
|
2476
|
+
# Attribute for field stripe_balance
|
2477
|
+
attr_reader :stripe_balance
|
1508
2478
|
# Attribute for field swish
|
1509
2479
|
attr_reader :swish
|
1510
2480
|
# Attribute for field twint
|
@@ -1603,5 +2573,74 @@ module Stripe
|
|
1603
2573
|
opts: opts
|
1604
2574
|
)
|
1605
2575
|
end
|
2576
|
+
|
2577
|
+
def self.inner_class_types
|
2578
|
+
@inner_class_types = {
|
2579
|
+
acss_debit: AcssDebit,
|
2580
|
+
affirm: Affirm,
|
2581
|
+
afterpay_clearpay: AfterpayClearpay,
|
2582
|
+
alipay: Alipay,
|
2583
|
+
alma: Alma,
|
2584
|
+
amazon_pay: AmazonPay,
|
2585
|
+
au_becs_debit: AuBecsDebit,
|
2586
|
+
bacs_debit: BacsDebit,
|
2587
|
+
bancontact: Bancontact,
|
2588
|
+
billie: Billie,
|
2589
|
+
billing_details: BillingDetails,
|
2590
|
+
blik: Blik,
|
2591
|
+
boleto: Boleto,
|
2592
|
+
card: Card,
|
2593
|
+
card_present: CardPresent,
|
2594
|
+
cashapp: Cashapp,
|
2595
|
+
crypto: Crypto,
|
2596
|
+
customer_balance: CustomerBalance,
|
2597
|
+
eps: Eps,
|
2598
|
+
fpx: Fpx,
|
2599
|
+
giropay: Giropay,
|
2600
|
+
gopay: Gopay,
|
2601
|
+
grabpay: Grabpay,
|
2602
|
+
id_bank_transfer: IdBankTransfer,
|
2603
|
+
ideal: Ideal,
|
2604
|
+
interac_present: InteracPresent,
|
2605
|
+
kakao_pay: KakaoPay,
|
2606
|
+
klarna: Klarna,
|
2607
|
+
konbini: Konbini,
|
2608
|
+
kr_card: KrCard,
|
2609
|
+
link: Link,
|
2610
|
+
mb_way: MbWay,
|
2611
|
+
mobilepay: Mobilepay,
|
2612
|
+
multibanco: Multibanco,
|
2613
|
+
naver_pay: NaverPay,
|
2614
|
+
nz_bank_account: NzBankAccount,
|
2615
|
+
oxxo: Oxxo,
|
2616
|
+
p24: P24,
|
2617
|
+
pay_by_bank: PayByBank,
|
2618
|
+
payco: Payco,
|
2619
|
+
paynow: Paynow,
|
2620
|
+
paypal: Paypal,
|
2621
|
+
payto: Payto,
|
2622
|
+
pix: Pix,
|
2623
|
+
promptpay: Promptpay,
|
2624
|
+
qris: Qris,
|
2625
|
+
radar_options: RadarOptions,
|
2626
|
+
rechnung: Rechnung,
|
2627
|
+
revolut_pay: RevolutPay,
|
2628
|
+
samsung_pay: SamsungPay,
|
2629
|
+
satispay: Satispay,
|
2630
|
+
sepa_debit: SepaDebit,
|
2631
|
+
shopeepay: Shopeepay,
|
2632
|
+
sofort: Sofort,
|
2633
|
+
stripe_balance: StripeBalance,
|
2634
|
+
swish: Swish,
|
2635
|
+
twint: Twint,
|
2636
|
+
us_bank_account: UsBankAccount,
|
2637
|
+
wechat_pay: WechatPay,
|
2638
|
+
zip: Zip,
|
2639
|
+
}
|
2640
|
+
end
|
2641
|
+
|
2642
|
+
def self.field_remappings
|
2643
|
+
@field_remappings = {}
|
2644
|
+
end
|
1606
2645
|
end
|
1607
2646
|
end
|