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
@@ -22,14 +22,38 @@ module Stripe
|
|
22
22
|
attr_reader :ip_address
|
23
23
|
# The user agent of the browser from which the Mandate was accepted by the customer.
|
24
24
|
attr_reader :user_agent
|
25
|
+
|
26
|
+
def self.inner_class_types
|
27
|
+
@inner_class_types = {}
|
28
|
+
end
|
29
|
+
|
30
|
+
def self.field_remappings
|
31
|
+
@field_remappings = {}
|
32
|
+
end
|
25
33
|
end
|
26
34
|
# If this is a Mandate accepted online, this hash contains details about the online acceptance.
|
27
35
|
attr_reader :online
|
28
36
|
# The type of customer acceptance information included with the Mandate.
|
29
37
|
attr_reader :type
|
38
|
+
|
39
|
+
def self.inner_class_types
|
40
|
+
@inner_class_types = { online: Online }
|
41
|
+
end
|
42
|
+
|
43
|
+
def self.field_remappings
|
44
|
+
@field_remappings = {}
|
45
|
+
end
|
30
46
|
end
|
31
47
|
# This hash contains details about the customer acceptance of the Mandate.
|
32
48
|
attr_reader :customer_acceptance
|
49
|
+
|
50
|
+
def self.inner_class_types
|
51
|
+
@inner_class_types = { customer_acceptance: CustomerAcceptance }
|
52
|
+
end
|
53
|
+
|
54
|
+
def self.field_remappings
|
55
|
+
@field_remappings = {}
|
56
|
+
end
|
33
57
|
end
|
34
58
|
|
35
59
|
class PaymentMethodOptions < Stripe::StripeObject
|
@@ -43,21 +67,55 @@ module Stripe
|
|
43
67
|
attr_reader :interval
|
44
68
|
# Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.
|
45
69
|
attr_reader :type
|
70
|
+
|
71
|
+
def self.inner_class_types
|
72
|
+
@inner_class_types = {}
|
73
|
+
end
|
74
|
+
|
75
|
+
def self.field_remappings
|
76
|
+
@field_remappings = {}
|
77
|
+
end
|
46
78
|
end
|
47
79
|
# Attribute for field plan
|
48
80
|
attr_reader :plan
|
81
|
+
|
82
|
+
def self.inner_class_types
|
83
|
+
@inner_class_types = { plan: Plan }
|
84
|
+
end
|
85
|
+
|
86
|
+
def self.field_remappings
|
87
|
+
@field_remappings = {}
|
88
|
+
end
|
49
89
|
end
|
50
90
|
# The `cvc_update` Token collected from the Payment Element.
|
51
91
|
attr_reader :cvc_token
|
52
92
|
# Installment configuration for payments.
|
53
93
|
attr_reader :installments
|
94
|
+
|
95
|
+
def self.inner_class_types
|
96
|
+
@inner_class_types = { installments: Installments }
|
97
|
+
end
|
98
|
+
|
99
|
+
def self.field_remappings
|
100
|
+
@field_remappings = {}
|
101
|
+
end
|
54
102
|
end
|
55
103
|
# This hash contains the card payment method options.
|
56
104
|
attr_reader :card
|
105
|
+
|
106
|
+
def self.inner_class_types
|
107
|
+
@inner_class_types = { card: Card }
|
108
|
+
end
|
109
|
+
|
110
|
+
def self.field_remappings
|
111
|
+
@field_remappings = {}
|
112
|
+
end
|
57
113
|
end
|
58
114
|
|
59
115
|
class PaymentMethodPreview < Stripe::StripeObject
|
60
116
|
class AcssDebit < Stripe::StripeObject
|
117
|
+
# Account number of the bank account.
|
118
|
+
attr_reader :account_number
|
61
119
|
# Name of the bank associated with the bank account.
|
62
120
|
attr_reader :bank_name
|
63
121
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
@@ -68,13 +126,65 @@ module Stripe
|
|
68
126
|
attr_reader :last4
|
69
127
|
# Transit number of the bank account.
|
70
128
|
attr_reader :transit_number
|
129
|
+
|
130
|
+
def self.inner_class_types
|
131
|
+
@inner_class_types = {}
|
132
|
+
end
|
133
|
+
|
134
|
+
def self.field_remappings
|
135
|
+
@field_remappings = {}
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
class Affirm < Stripe::StripeObject
|
140
|
+
def self.inner_class_types
|
141
|
+
@inner_class_types = {}
|
142
|
+
end
|
143
|
+
|
144
|
+
def self.field_remappings
|
145
|
+
@field_remappings = {}
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
class AfterpayClearpay < Stripe::StripeObject
|
150
|
+
def self.inner_class_types
|
151
|
+
@inner_class_types = {}
|
152
|
+
end
|
153
|
+
|
154
|
+
def self.field_remappings
|
155
|
+
@field_remappings = {}
|
156
|
+
end
|
71
157
|
end
|
72
158
|
|
73
|
-
class
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
159
|
+
class Alipay < Stripe::StripeObject
|
160
|
+
def self.inner_class_types
|
161
|
+
@inner_class_types = {}
|
162
|
+
end
|
163
|
+
|
164
|
+
def self.field_remappings
|
165
|
+
@field_remappings = {}
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
class Alma < Stripe::StripeObject
|
170
|
+
def self.inner_class_types
|
171
|
+
@inner_class_types = {}
|
172
|
+
end
|
173
|
+
|
174
|
+
def self.field_remappings
|
175
|
+
@field_remappings = {}
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
179
|
+
class AmazonPay < Stripe::StripeObject
|
180
|
+
def self.inner_class_types
|
181
|
+
@inner_class_types = {}
|
182
|
+
end
|
183
|
+
|
184
|
+
def self.field_remappings
|
185
|
+
@field_remappings = {}
|
186
|
+
end
|
187
|
+
end
|
78
188
|
|
79
189
|
class AuBecsDebit < Stripe::StripeObject
|
80
190
|
# Six-digit number identifying bank and branch associated with this bank account.
|
@@ -83,6 +193,14 @@ module Stripe
|
|
83
193
|
attr_reader :fingerprint
|
84
194
|
# Last four digits of the bank account number.
|
85
195
|
attr_reader :last4
|
196
|
+
|
197
|
+
def self.inner_class_types
|
198
|
+
@inner_class_types = {}
|
199
|
+
end
|
200
|
+
|
201
|
+
def self.field_remappings
|
202
|
+
@field_remappings = {}
|
203
|
+
end
|
86
204
|
end
|
87
205
|
|
88
206
|
class BacsDebit < Stripe::StripeObject
|
@@ -92,10 +210,35 @@ module Stripe
|
|
92
210
|
attr_reader :last4
|
93
211
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
94
212
|
attr_reader :sort_code
|
213
|
+
|
214
|
+
def self.inner_class_types
|
215
|
+
@inner_class_types = {}
|
216
|
+
end
|
217
|
+
|
218
|
+
def self.field_remappings
|
219
|
+
@field_remappings = {}
|
220
|
+
end
|
221
|
+
end
|
222
|
+
|
223
|
+
class Bancontact < Stripe::StripeObject
|
224
|
+
def self.inner_class_types
|
225
|
+
@inner_class_types = {}
|
226
|
+
end
|
227
|
+
|
228
|
+
def self.field_remappings
|
229
|
+
@field_remappings = {}
|
230
|
+
end
|
95
231
|
end
|
96
232
|
|
97
|
-
class
|
98
|
-
|
233
|
+
class Billie < Stripe::StripeObject
|
234
|
+
def self.inner_class_types
|
235
|
+
@inner_class_types = {}
|
236
|
+
end
|
237
|
+
|
238
|
+
def self.field_remappings
|
239
|
+
@field_remappings = {}
|
240
|
+
end
|
241
|
+
end
|
99
242
|
|
100
243
|
class BillingDetails < Stripe::StripeObject
|
101
244
|
class Address < Stripe::StripeObject
|
@@ -111,6 +254,14 @@ module Stripe
|
|
111
254
|
attr_reader :postal_code
|
112
255
|
# State, county, province, or region.
|
113
256
|
attr_reader :state
|
257
|
+
|
258
|
+
def self.inner_class_types
|
259
|
+
@inner_class_types = {}
|
260
|
+
end
|
261
|
+
|
262
|
+
def self.field_remappings
|
263
|
+
@field_remappings = {}
|
264
|
+
end
|
114
265
|
end
|
115
266
|
# Billing address.
|
116
267
|
attr_reader :address
|
@@ -122,13 +273,37 @@ module Stripe
|
|
122
273
|
attr_reader :phone
|
123
274
|
# Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
124
275
|
attr_reader :tax_id
|
276
|
+
|
277
|
+
def self.inner_class_types
|
278
|
+
@inner_class_types = { address: Address }
|
279
|
+
end
|
280
|
+
|
281
|
+
def self.field_remappings
|
282
|
+
@field_remappings = {}
|
283
|
+
end
|
125
284
|
end
|
126
285
|
|
127
|
-
class Blik < Stripe::StripeObject
|
286
|
+
class Blik < Stripe::StripeObject
|
287
|
+
def self.inner_class_types
|
288
|
+
@inner_class_types = {}
|
289
|
+
end
|
290
|
+
|
291
|
+
def self.field_remappings
|
292
|
+
@field_remappings = {}
|
293
|
+
end
|
294
|
+
end
|
128
295
|
|
129
296
|
class Boleto < Stripe::StripeObject
|
130
297
|
# Uniquely identifies the customer tax id (CNPJ or CPF)
|
131
298
|
attr_reader :tax_id
|
299
|
+
|
300
|
+
def self.inner_class_types
|
301
|
+
@inner_class_types = {}
|
302
|
+
end
|
303
|
+
|
304
|
+
def self.field_remappings
|
305
|
+
@field_remappings = {}
|
306
|
+
end
|
132
307
|
end
|
133
308
|
|
134
309
|
class Card < Stripe::StripeObject
|
@@ -139,6 +314,14 @@ module Stripe
|
|
139
314
|
attr_reader :address_postal_code_check
|
140
315
|
# If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
141
316
|
attr_reader :cvc_check
|
317
|
+
|
318
|
+
def self.inner_class_types
|
319
|
+
@inner_class_types = {}
|
320
|
+
end
|
321
|
+
|
322
|
+
def self.field_remappings
|
323
|
+
@field_remappings = {}
|
324
|
+
end
|
142
325
|
end
|
143
326
|
|
144
327
|
class GeneratedFrom < Stripe::StripeObject
|
@@ -149,6 +332,14 @@ module Stripe
|
|
149
332
|
attr_reader :stored_at
|
150
333
|
# The method used to process this payment method offline. Only deferred is allowed.
|
151
334
|
attr_reader :type
|
335
|
+
|
336
|
+
def self.inner_class_types
|
337
|
+
@inner_class_types = {}
|
338
|
+
end
|
339
|
+
|
340
|
+
def self.field_remappings
|
341
|
+
@field_remappings = {}
|
342
|
+
end
|
152
343
|
end
|
153
344
|
|
154
345
|
class Receipt < Stripe::StripeObject
|
@@ -170,11 +361,27 @@ module Stripe
|
|
170
361
|
attr_reader :terminal_verification_results
|
171
362
|
# An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.
|
172
363
|
attr_reader :transaction_status_information
|
364
|
+
|
365
|
+
def self.inner_class_types
|
366
|
+
@inner_class_types = {}
|
367
|
+
end
|
368
|
+
|
369
|
+
def self.field_remappings
|
370
|
+
@field_remappings = {}
|
371
|
+
end
|
173
372
|
end
|
174
373
|
|
175
374
|
class Wallet < Stripe::StripeObject
|
176
375
|
# The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
|
177
376
|
attr_reader :type
|
377
|
+
|
378
|
+
def self.inner_class_types
|
379
|
+
@inner_class_types = {}
|
380
|
+
end
|
381
|
+
|
382
|
+
def self.field_remappings
|
383
|
+
@field_remappings = {}
|
384
|
+
end
|
178
385
|
end
|
179
386
|
# The authorized amount
|
180
387
|
attr_reader :amount_authorized
|
@@ -228,11 +435,27 @@ module Stripe
|
|
228
435
|
attr_reader :receipt
|
229
436
|
# Attribute for field wallet
|
230
437
|
attr_reader :wallet
|
438
|
+
|
439
|
+
def self.inner_class_types
|
440
|
+
@inner_class_types = { offline: Offline, receipt: Receipt, wallet: Wallet }
|
441
|
+
end
|
442
|
+
|
443
|
+
def self.field_remappings
|
444
|
+
@field_remappings = {}
|
445
|
+
end
|
231
446
|
end
|
232
447
|
# Attribute for field card_present
|
233
448
|
attr_reader :card_present
|
234
449
|
# The type of payment method transaction-specific details from the transaction that generated this `card` payment method. Always `card_present`.
|
235
450
|
attr_reader :type
|
451
|
+
|
452
|
+
def self.inner_class_types
|
453
|
+
@inner_class_types = { card_present: CardPresent }
|
454
|
+
end
|
455
|
+
|
456
|
+
def self.field_remappings
|
457
|
+
@field_remappings = {}
|
458
|
+
end
|
236
459
|
end
|
237
460
|
# The charge that created this object.
|
238
461
|
attr_reader :charge
|
@@ -240,6 +463,14 @@ module Stripe
|
|
240
463
|
attr_reader :payment_method_details
|
241
464
|
# The ID of the SetupAttempt that generated this PaymentMethod, if any.
|
242
465
|
attr_reader :setup_attempt
|
466
|
+
|
467
|
+
def self.inner_class_types
|
468
|
+
@inner_class_types = { payment_method_details: PaymentMethodDetails }
|
469
|
+
end
|
470
|
+
|
471
|
+
def self.field_remappings
|
472
|
+
@field_remappings = {}
|
473
|
+
end
|
243
474
|
end
|
244
475
|
|
245
476
|
class Networks < Stripe::StripeObject
|
@@ -247,18 +478,69 @@ module Stripe
|
|
247
478
|
attr_reader :available
|
248
479
|
# 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.
|
249
480
|
attr_reader :preferred
|
481
|
+
|
482
|
+
def self.inner_class_types
|
483
|
+
@inner_class_types = {}
|
484
|
+
end
|
485
|
+
|
486
|
+
def self.field_remappings
|
487
|
+
@field_remappings = {}
|
488
|
+
end
|
250
489
|
end
|
251
490
|
|
252
491
|
class ThreeDSecureUsage < Stripe::StripeObject
|
253
492
|
# Whether 3D Secure is supported on this card.
|
254
493
|
attr_reader :supported
|
494
|
+
|
495
|
+
def self.inner_class_types
|
496
|
+
@inner_class_types = {}
|
497
|
+
end
|
498
|
+
|
499
|
+
def self.field_remappings
|
500
|
+
@field_remappings = {}
|
501
|
+
end
|
255
502
|
end
|
256
503
|
|
257
504
|
class Wallet < Stripe::StripeObject
|
258
|
-
class AmexExpressCheckout < Stripe::StripeObject
|
259
|
-
|
260
|
-
|
261
|
-
|
505
|
+
class AmexExpressCheckout < Stripe::StripeObject
|
506
|
+
def self.inner_class_types
|
507
|
+
@inner_class_types = {}
|
508
|
+
end
|
509
|
+
|
510
|
+
def self.field_remappings
|
511
|
+
@field_remappings = {}
|
512
|
+
end
|
513
|
+
end
|
514
|
+
|
515
|
+
class ApplePay < Stripe::StripeObject
|
516
|
+
def self.inner_class_types
|
517
|
+
@inner_class_types = {}
|
518
|
+
end
|
519
|
+
|
520
|
+
def self.field_remappings
|
521
|
+
@field_remappings = {}
|
522
|
+
end
|
523
|
+
end
|
524
|
+
|
525
|
+
class GooglePay < Stripe::StripeObject
|
526
|
+
def self.inner_class_types
|
527
|
+
@inner_class_types = {}
|
528
|
+
end
|
529
|
+
|
530
|
+
def self.field_remappings
|
531
|
+
@field_remappings = {}
|
532
|
+
end
|
533
|
+
end
|
534
|
+
|
535
|
+
class Link < Stripe::StripeObject
|
536
|
+
def self.inner_class_types
|
537
|
+
@inner_class_types = {}
|
538
|
+
end
|
539
|
+
|
540
|
+
def self.field_remappings
|
541
|
+
@field_remappings = {}
|
542
|
+
end
|
543
|
+
end
|
262
544
|
|
263
545
|
class Masterpass < Stripe::StripeObject
|
264
546
|
class BillingAddress < Stripe::StripeObject
|
@@ -274,6 +556,14 @@ module Stripe
|
|
274
556
|
attr_reader :postal_code
|
275
557
|
# State, county, province, or region.
|
276
558
|
attr_reader :state
|
559
|
+
|
560
|
+
def self.inner_class_types
|
561
|
+
@inner_class_types = {}
|
562
|
+
end
|
563
|
+
|
564
|
+
def self.field_remappings
|
565
|
+
@field_remappings = {}
|
566
|
+
end
|
277
567
|
end
|
278
568
|
|
279
569
|
class ShippingAddress < Stripe::StripeObject
|
@@ -289,6 +579,14 @@ module Stripe
|
|
289
579
|
attr_reader :postal_code
|
290
580
|
# State, county, province, or region.
|
291
581
|
attr_reader :state
|
582
|
+
|
583
|
+
def self.inner_class_types
|
584
|
+
@inner_class_types = {}
|
585
|
+
end
|
586
|
+
|
587
|
+
def self.field_remappings
|
588
|
+
@field_remappings = {}
|
589
|
+
end
|
292
590
|
end
|
293
591
|
# 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.
|
294
592
|
attr_reader :billing_address
|
@@ -298,9 +596,28 @@ module Stripe
|
|
298
596
|
attr_reader :name
|
299
597
|
# 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.
|
300
598
|
attr_reader :shipping_address
|
599
|
+
|
600
|
+
def self.inner_class_types
|
601
|
+
@inner_class_types = {
|
602
|
+
billing_address: BillingAddress,
|
603
|
+
shipping_address: ShippingAddress,
|
604
|
+
}
|
605
|
+
end
|
606
|
+
|
607
|
+
def self.field_remappings
|
608
|
+
@field_remappings = {}
|
609
|
+
end
|
301
610
|
end
|
302
611
|
|
303
|
-
class SamsungPay < Stripe::StripeObject
|
612
|
+
class SamsungPay < Stripe::StripeObject
|
613
|
+
def self.inner_class_types
|
614
|
+
@inner_class_types = {}
|
615
|
+
end
|
616
|
+
|
617
|
+
def self.field_remappings
|
618
|
+
@field_remappings = {}
|
619
|
+
end
|
620
|
+
end
|
304
621
|
|
305
622
|
class VisaCheckout < Stripe::StripeObject
|
306
623
|
class BillingAddress < Stripe::StripeObject
|
@@ -316,6 +633,14 @@ module Stripe
|
|
316
633
|
attr_reader :postal_code
|
317
634
|
# State, county, province, or region.
|
318
635
|
attr_reader :state
|
636
|
+
|
637
|
+
def self.inner_class_types
|
638
|
+
@inner_class_types = {}
|
639
|
+
end
|
640
|
+
|
641
|
+
def self.field_remappings
|
642
|
+
@field_remappings = {}
|
643
|
+
end
|
319
644
|
end
|
320
645
|
|
321
646
|
class ShippingAddress < Stripe::StripeObject
|
@@ -331,6 +656,14 @@ module Stripe
|
|
331
656
|
attr_reader :postal_code
|
332
657
|
# State, county, province, or region.
|
333
658
|
attr_reader :state
|
659
|
+
|
660
|
+
def self.inner_class_types
|
661
|
+
@inner_class_types = {}
|
662
|
+
end
|
663
|
+
|
664
|
+
def self.field_remappings
|
665
|
+
@field_remappings = {}
|
666
|
+
end
|
334
667
|
end
|
335
668
|
# 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.
|
336
669
|
attr_reader :billing_address
|
@@ -340,6 +673,17 @@ module Stripe
|
|
340
673
|
attr_reader :name
|
341
674
|
# 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.
|
342
675
|
attr_reader :shipping_address
|
676
|
+
|
677
|
+
def self.inner_class_types
|
678
|
+
@inner_class_types = {
|
679
|
+
billing_address: BillingAddress,
|
680
|
+
shipping_address: ShippingAddress,
|
681
|
+
}
|
682
|
+
end
|
683
|
+
|
684
|
+
def self.field_remappings
|
685
|
+
@field_remappings = {}
|
686
|
+
end
|
343
687
|
end
|
344
688
|
# Attribute for field amex_express_checkout
|
345
689
|
attr_reader :amex_express_checkout
|
@@ -359,6 +703,22 @@ module Stripe
|
|
359
703
|
attr_reader :type
|
360
704
|
# Attribute for field visa_checkout
|
361
705
|
attr_reader :visa_checkout
|
706
|
+
|
707
|
+
def self.inner_class_types
|
708
|
+
@inner_class_types = {
|
709
|
+
amex_express_checkout: AmexExpressCheckout,
|
710
|
+
apple_pay: ApplePay,
|
711
|
+
google_pay: GooglePay,
|
712
|
+
link: Link,
|
713
|
+
masterpass: Masterpass,
|
714
|
+
samsung_pay: SamsungPay,
|
715
|
+
visa_checkout: VisaCheckout,
|
716
|
+
}
|
717
|
+
end
|
718
|
+
|
719
|
+
def self.field_remappings
|
720
|
+
@field_remappings = {}
|
721
|
+
end
|
362
722
|
end
|
363
723
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
364
724
|
attr_reader :brand
|
@@ -396,6 +756,20 @@ module Stripe
|
|
396
756
|
attr_reader :three_d_secure_usage
|
397
757
|
# If this Card is part of a card wallet, this contains the details of the card wallet.
|
398
758
|
attr_reader :wallet
|
759
|
+
|
760
|
+
def self.inner_class_types
|
761
|
+
@inner_class_types = {
|
762
|
+
checks: Checks,
|
763
|
+
generated_from: GeneratedFrom,
|
764
|
+
networks: Networks,
|
765
|
+
three_d_secure_usage: ThreeDSecureUsage,
|
766
|
+
wallet: Wallet,
|
767
|
+
}
|
768
|
+
end
|
769
|
+
|
770
|
+
def self.field_remappings
|
771
|
+
@field_remappings = {}
|
772
|
+
end
|
399
773
|
end
|
400
774
|
|
401
775
|
class CardPresent < Stripe::StripeObject
|
@@ -404,6 +778,14 @@ module Stripe
|
|
404
778
|
attr_reader :available
|
405
779
|
# The preferred network for the card.
|
406
780
|
attr_reader :preferred
|
781
|
+
|
782
|
+
def self.inner_class_types
|
783
|
+
@inner_class_types = {}
|
784
|
+
end
|
785
|
+
|
786
|
+
def self.field_remappings
|
787
|
+
@field_remappings = {}
|
788
|
+
end
|
407
789
|
end
|
408
790
|
|
409
791
|
class Offline < Stripe::StripeObject
|
@@ -411,11 +793,27 @@ module Stripe
|
|
411
793
|
attr_reader :stored_at
|
412
794
|
# The method used to process this payment method offline. Only deferred is allowed.
|
413
795
|
attr_reader :type
|
796
|
+
|
797
|
+
def self.inner_class_types
|
798
|
+
@inner_class_types = {}
|
799
|
+
end
|
800
|
+
|
801
|
+
def self.field_remappings
|
802
|
+
@field_remappings = {}
|
803
|
+
end
|
414
804
|
end
|
415
805
|
|
416
806
|
class Wallet < Stripe::StripeObject
|
417
807
|
# The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.
|
418
808
|
attr_reader :type
|
809
|
+
|
810
|
+
def self.inner_class_types
|
811
|
+
@inner_class_types = {}
|
812
|
+
end
|
813
|
+
|
814
|
+
def self.field_remappings
|
815
|
+
@field_remappings = {}
|
816
|
+
end
|
419
817
|
end
|
420
818
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
421
819
|
attr_reader :brand
|
@@ -453,6 +851,14 @@ module Stripe
|
|
453
851
|
attr_reader :read_method
|
454
852
|
# Attribute for field wallet
|
455
853
|
attr_reader :wallet
|
854
|
+
|
855
|
+
def self.inner_class_types
|
856
|
+
@inner_class_types = { networks: Networks, offline: Offline, wallet: Wallet }
|
857
|
+
end
|
858
|
+
|
859
|
+
def self.field_remappings
|
860
|
+
@field_remappings = {}
|
861
|
+
end
|
456
862
|
end
|
457
863
|
|
458
864
|
class Cashapp < Stripe::StripeObject
|
@@ -460,14 +866,47 @@ module Stripe
|
|
460
866
|
attr_reader :buyer_id
|
461
867
|
# A public identifier for buyers using Cash App.
|
462
868
|
attr_reader :cashtag
|
869
|
+
|
870
|
+
def self.inner_class_types
|
871
|
+
@inner_class_types = {}
|
872
|
+
end
|
873
|
+
|
874
|
+
def self.field_remappings
|
875
|
+
@field_remappings = {}
|
876
|
+
end
|
463
877
|
end
|
464
878
|
|
465
|
-
class Crypto < Stripe::StripeObject
|
466
|
-
|
879
|
+
class Crypto < Stripe::StripeObject
|
880
|
+
def self.inner_class_types
|
881
|
+
@inner_class_types = {}
|
882
|
+
end
|
883
|
+
|
884
|
+
def self.field_remappings
|
885
|
+
@field_remappings = {}
|
886
|
+
end
|
887
|
+
end
|
888
|
+
|
889
|
+
class CustomerBalance < Stripe::StripeObject
|
890
|
+
def self.inner_class_types
|
891
|
+
@inner_class_types = {}
|
892
|
+
end
|
893
|
+
|
894
|
+
def self.field_remappings
|
895
|
+
@field_remappings = {}
|
896
|
+
end
|
897
|
+
end
|
467
898
|
|
468
899
|
class Eps < Stripe::StripeObject
|
469
900
|
# 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`.
|
470
901
|
attr_reader :bank
|
902
|
+
|
903
|
+
def self.inner_class_types
|
904
|
+
@inner_class_types = {}
|
905
|
+
end
|
906
|
+
|
907
|
+
def self.field_remappings
|
908
|
+
@field_remappings = {}
|
909
|
+
end
|
471
910
|
end
|
472
911
|
|
473
912
|
class Fpx < Stripe::StripeObject
|
@@ -475,16 +914,78 @@ module Stripe
|
|
475
914
|
attr_reader :account_holder_type
|
476
915
|
# 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`.
|
477
916
|
attr_reader :bank
|
917
|
+
|
918
|
+
def self.inner_class_types
|
919
|
+
@inner_class_types = {}
|
920
|
+
end
|
921
|
+
|
922
|
+
def self.field_remappings
|
923
|
+
@field_remappings = {}
|
924
|
+
end
|
925
|
+
end
|
926
|
+
|
927
|
+
class Giropay < Stripe::StripeObject
|
928
|
+
def self.inner_class_types
|
929
|
+
@inner_class_types = {}
|
930
|
+
end
|
931
|
+
|
932
|
+
def self.field_remappings
|
933
|
+
@field_remappings = {}
|
934
|
+
end
|
935
|
+
end
|
936
|
+
|
937
|
+
class Gopay < Stripe::StripeObject
|
938
|
+
def self.inner_class_types
|
939
|
+
@inner_class_types = {}
|
940
|
+
end
|
941
|
+
|
942
|
+
def self.field_remappings
|
943
|
+
@field_remappings = {}
|
944
|
+
end
|
945
|
+
end
|
946
|
+
|
947
|
+
class Grabpay < Stripe::StripeObject
|
948
|
+
def self.inner_class_types
|
949
|
+
@inner_class_types = {}
|
950
|
+
end
|
951
|
+
|
952
|
+
def self.field_remappings
|
953
|
+
@field_remappings = {}
|
954
|
+
end
|
478
955
|
end
|
479
956
|
|
480
|
-
class
|
481
|
-
|
957
|
+
class IdBankTransfer < Stripe::StripeObject
|
958
|
+
# Attribute for field bank
|
959
|
+
attr_reader :bank
|
960
|
+
# Attribute for field bank_code
|
961
|
+
attr_reader :bank_code
|
962
|
+
# Attribute for field bank_name
|
963
|
+
attr_reader :bank_name
|
964
|
+
# Attribute for field display_name
|
965
|
+
attr_reader :display_name
|
966
|
+
|
967
|
+
def self.inner_class_types
|
968
|
+
@inner_class_types = {}
|
969
|
+
end
|
970
|
+
|
971
|
+
def self.field_remappings
|
972
|
+
@field_remappings = {}
|
973
|
+
end
|
974
|
+
end
|
482
975
|
|
483
976
|
class Ideal < Stripe::StripeObject
|
484
977
|
# 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`.
|
485
978
|
attr_reader :bank
|
486
979
|
# The Bank Identifier Code of the customer's bank, if the bank was provided.
|
487
980
|
attr_reader :bic
|
981
|
+
|
982
|
+
def self.inner_class_types
|
983
|
+
@inner_class_types = {}
|
984
|
+
end
|
985
|
+
|
986
|
+
def self.field_remappings
|
987
|
+
@field_remappings = {}
|
988
|
+
end
|
488
989
|
end
|
489
990
|
|
490
991
|
class InteracPresent < Stripe::StripeObject
|
@@ -493,6 +994,14 @@ module Stripe
|
|
493
994
|
attr_reader :available
|
494
995
|
# The preferred network for the card.
|
495
996
|
attr_reader :preferred
|
997
|
+
|
998
|
+
def self.inner_class_types
|
999
|
+
@inner_class_types = {}
|
1000
|
+
end
|
1001
|
+
|
1002
|
+
def self.field_remappings
|
1003
|
+
@field_remappings = {}
|
1004
|
+
end
|
496
1005
|
end
|
497
1006
|
# Card brand. Can be `interac`, `mastercard` or `visa`.
|
498
1007
|
attr_reader :brand
|
@@ -524,9 +1033,25 @@ module Stripe
|
|
524
1033
|
attr_reader :preferred_locales
|
525
1034
|
# How card details were read in this transaction.
|
526
1035
|
attr_reader :read_method
|
1036
|
+
|
1037
|
+
def self.inner_class_types
|
1038
|
+
@inner_class_types = { networks: Networks }
|
1039
|
+
end
|
1040
|
+
|
1041
|
+
def self.field_remappings
|
1042
|
+
@field_remappings = {}
|
1043
|
+
end
|
527
1044
|
end
|
528
1045
|
|
529
|
-
class KakaoPay < Stripe::StripeObject
|
1046
|
+
class KakaoPay < Stripe::StripeObject
|
1047
|
+
def self.inner_class_types
|
1048
|
+
@inner_class_types = {}
|
1049
|
+
end
|
1050
|
+
|
1051
|
+
def self.field_remappings
|
1052
|
+
@field_remappings = {}
|
1053
|
+
end
|
1054
|
+
end
|
530
1055
|
|
531
1056
|
class Klarna < Stripe::StripeObject
|
532
1057
|
class Dob < Stripe::StripeObject
|
@@ -536,18 +1061,50 @@ module Stripe
|
|
536
1061
|
attr_reader :month
|
537
1062
|
# The four-digit year of birth.
|
538
1063
|
attr_reader :year
|
1064
|
+
|
1065
|
+
def self.inner_class_types
|
1066
|
+
@inner_class_types = {}
|
1067
|
+
end
|
1068
|
+
|
1069
|
+
def self.field_remappings
|
1070
|
+
@field_remappings = {}
|
1071
|
+
end
|
539
1072
|
end
|
540
1073
|
# The customer's date of birth, if provided.
|
541
1074
|
attr_reader :dob
|
1075
|
+
|
1076
|
+
def self.inner_class_types
|
1077
|
+
@inner_class_types = { dob: Dob }
|
1078
|
+
end
|
1079
|
+
|
1080
|
+
def self.field_remappings
|
1081
|
+
@field_remappings = {}
|
1082
|
+
end
|
542
1083
|
end
|
543
1084
|
|
544
|
-
class Konbini < Stripe::StripeObject
|
1085
|
+
class Konbini < Stripe::StripeObject
|
1086
|
+
def self.inner_class_types
|
1087
|
+
@inner_class_types = {}
|
1088
|
+
end
|
1089
|
+
|
1090
|
+
def self.field_remappings
|
1091
|
+
@field_remappings = {}
|
1092
|
+
end
|
1093
|
+
end
|
545
1094
|
|
546
1095
|
class KrCard < Stripe::StripeObject
|
547
1096
|
# The local credit or debit card brand.
|
548
1097
|
attr_reader :brand
|
549
1098
|
# The last four digits of the card. This may not be present for American Express cards.
|
550
1099
|
attr_reader :last4
|
1100
|
+
|
1101
|
+
def self.inner_class_types
|
1102
|
+
@inner_class_types = {}
|
1103
|
+
end
|
1104
|
+
|
1105
|
+
def self.field_remappings
|
1106
|
+
@field_remappings = {}
|
1107
|
+
end
|
551
1108
|
end
|
552
1109
|
|
553
1110
|
class Link < Stripe::StripeObject
|
@@ -555,16 +1112,59 @@ module Stripe
|
|
555
1112
|
attr_reader :email
|
556
1113
|
# [Deprecated] This is a legacy parameter that no longer has any function.
|
557
1114
|
attr_reader :persistent_token
|
1115
|
+
|
1116
|
+
def self.inner_class_types
|
1117
|
+
@inner_class_types = {}
|
1118
|
+
end
|
1119
|
+
|
1120
|
+
def self.field_remappings
|
1121
|
+
@field_remappings = {}
|
1122
|
+
end
|
1123
|
+
end
|
1124
|
+
|
1125
|
+
class MbWay < Stripe::StripeObject
|
1126
|
+
def self.inner_class_types
|
1127
|
+
@inner_class_types = {}
|
1128
|
+
end
|
1129
|
+
|
1130
|
+
def self.field_remappings
|
1131
|
+
@field_remappings = {}
|
1132
|
+
end
|
1133
|
+
end
|
1134
|
+
|
1135
|
+
class Mobilepay < Stripe::StripeObject
|
1136
|
+
def self.inner_class_types
|
1137
|
+
@inner_class_types = {}
|
1138
|
+
end
|
1139
|
+
|
1140
|
+
def self.field_remappings
|
1141
|
+
@field_remappings = {}
|
1142
|
+
end
|
558
1143
|
end
|
559
1144
|
|
560
|
-
class
|
561
|
-
|
1145
|
+
class Multibanco < Stripe::StripeObject
|
1146
|
+
def self.inner_class_types
|
1147
|
+
@inner_class_types = {}
|
1148
|
+
end
|
1149
|
+
|
1150
|
+
def self.field_remappings
|
1151
|
+
@field_remappings = {}
|
1152
|
+
end
|
1153
|
+
end
|
562
1154
|
|
563
1155
|
class NaverPay < Stripe::StripeObject
|
564
1156
|
# Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same.
|
565
1157
|
attr_reader :buyer_id
|
566
1158
|
# Whether to fund this transaction with Naver Pay points or a card.
|
567
1159
|
attr_reader :funding
|
1160
|
+
|
1161
|
+
def self.inner_class_types
|
1162
|
+
@inner_class_types = {}
|
1163
|
+
end
|
1164
|
+
|
1165
|
+
def self.field_remappings
|
1166
|
+
@field_remappings = {}
|
1167
|
+
end
|
568
1168
|
end
|
569
1169
|
|
570
1170
|
class NzBankAccount < Stripe::StripeObject
|
@@ -580,34 +1180,197 @@ module Stripe
|
|
580
1180
|
attr_reader :last4
|
581
1181
|
# The suffix of the bank account number.
|
582
1182
|
attr_reader :suffix
|
1183
|
+
|
1184
|
+
def self.inner_class_types
|
1185
|
+
@inner_class_types = {}
|
1186
|
+
end
|
1187
|
+
|
1188
|
+
def self.field_remappings
|
1189
|
+
@field_remappings = {}
|
1190
|
+
end
|
583
1191
|
end
|
584
1192
|
|
585
|
-
class Oxxo < Stripe::StripeObject
|
1193
|
+
class Oxxo < Stripe::StripeObject
|
1194
|
+
def self.inner_class_types
|
1195
|
+
@inner_class_types = {}
|
1196
|
+
end
|
1197
|
+
|
1198
|
+
def self.field_remappings
|
1199
|
+
@field_remappings = {}
|
1200
|
+
end
|
1201
|
+
end
|
586
1202
|
|
587
1203
|
class P24 < Stripe::StripeObject
|
588
1204
|
# The customer's bank, if provided.
|
589
1205
|
attr_reader :bank
|
1206
|
+
|
1207
|
+
def self.inner_class_types
|
1208
|
+
@inner_class_types = {}
|
1209
|
+
end
|
1210
|
+
|
1211
|
+
def self.field_remappings
|
1212
|
+
@field_remappings = {}
|
1213
|
+
end
|
1214
|
+
end
|
1215
|
+
|
1216
|
+
class PayByBank < Stripe::StripeObject
|
1217
|
+
def self.inner_class_types
|
1218
|
+
@inner_class_types = {}
|
1219
|
+
end
|
1220
|
+
|
1221
|
+
def self.field_remappings
|
1222
|
+
@field_remappings = {}
|
1223
|
+
end
|
1224
|
+
end
|
1225
|
+
|
1226
|
+
class Payco < Stripe::StripeObject
|
1227
|
+
def self.inner_class_types
|
1228
|
+
@inner_class_types = {}
|
1229
|
+
end
|
1230
|
+
|
1231
|
+
def self.field_remappings
|
1232
|
+
@field_remappings = {}
|
1233
|
+
end
|
590
1234
|
end
|
591
1235
|
|
592
|
-
class
|
593
|
-
|
594
|
-
|
1236
|
+
class Paynow < Stripe::StripeObject
|
1237
|
+
def self.inner_class_types
|
1238
|
+
@inner_class_types = {}
|
1239
|
+
end
|
1240
|
+
|
1241
|
+
def self.field_remappings
|
1242
|
+
@field_remappings = {}
|
1243
|
+
end
|
1244
|
+
end
|
595
1245
|
|
596
1246
|
class Paypal < Stripe::StripeObject
|
597
1247
|
# 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.
|
598
1248
|
attr_reader :country
|
1249
|
+
# Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
|
1250
|
+
attr_reader :fingerprint
|
599
1251
|
# Owner's email. Values are provided by PayPal directly
|
600
1252
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
601
1253
|
attr_reader :payer_email
|
602
1254
|
# PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
603
1255
|
attr_reader :payer_id
|
1256
|
+
# Owner's verified email. Values are verified or provided by PayPal directly
|
1257
|
+
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
1258
|
+
attr_reader :verified_email
|
1259
|
+
|
1260
|
+
def self.inner_class_types
|
1261
|
+
@inner_class_types = {}
|
1262
|
+
end
|
1263
|
+
|
1264
|
+
def self.field_remappings
|
1265
|
+
@field_remappings = {}
|
1266
|
+
end
|
1267
|
+
end
|
1268
|
+
|
1269
|
+
class Payto < Stripe::StripeObject
|
1270
|
+
# Bank-State-Branch number of the bank account.
|
1271
|
+
attr_reader :bsb_number
|
1272
|
+
# Last four digits of the bank account number.
|
1273
|
+
attr_reader :last4
|
1274
|
+
# The PayID alias for the bank account.
|
1275
|
+
attr_reader :pay_id
|
1276
|
+
|
1277
|
+
def self.inner_class_types
|
1278
|
+
@inner_class_types = {}
|
1279
|
+
end
|
1280
|
+
|
1281
|
+
def self.field_remappings
|
1282
|
+
@field_remappings = {}
|
1283
|
+
end
|
1284
|
+
end
|
1285
|
+
|
1286
|
+
class Pix < Stripe::StripeObject
|
1287
|
+
def self.inner_class_types
|
1288
|
+
@inner_class_types = {}
|
1289
|
+
end
|
1290
|
+
|
1291
|
+
def self.field_remappings
|
1292
|
+
@field_remappings = {}
|
1293
|
+
end
|
1294
|
+
end
|
1295
|
+
|
1296
|
+
class Promptpay < Stripe::StripeObject
|
1297
|
+
def self.inner_class_types
|
1298
|
+
@inner_class_types = {}
|
1299
|
+
end
|
1300
|
+
|
1301
|
+
def self.field_remappings
|
1302
|
+
@field_remappings = {}
|
1303
|
+
end
|
1304
|
+
end
|
1305
|
+
|
1306
|
+
class Qris < Stripe::StripeObject
|
1307
|
+
def self.inner_class_types
|
1308
|
+
@inner_class_types = {}
|
1309
|
+
end
|
1310
|
+
|
1311
|
+
def self.field_remappings
|
1312
|
+
@field_remappings = {}
|
1313
|
+
end
|
604
1314
|
end
|
605
1315
|
|
606
|
-
class
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
1316
|
+
class Rechnung < Stripe::StripeObject
|
1317
|
+
class Dob < Stripe::StripeObject
|
1318
|
+
# The day of birth, between 1 and 31.
|
1319
|
+
attr_reader :day
|
1320
|
+
# The month of birth, between 1 and 12.
|
1321
|
+
attr_reader :month
|
1322
|
+
# The four-digit year of birth.
|
1323
|
+
attr_reader :year
|
1324
|
+
|
1325
|
+
def self.inner_class_types
|
1326
|
+
@inner_class_types = {}
|
1327
|
+
end
|
1328
|
+
|
1329
|
+
def self.field_remappings
|
1330
|
+
@field_remappings = {}
|
1331
|
+
end
|
1332
|
+
end
|
1333
|
+
# Attribute for field dob
|
1334
|
+
attr_reader :dob
|
1335
|
+
|
1336
|
+
def self.inner_class_types
|
1337
|
+
@inner_class_types = { dob: Dob }
|
1338
|
+
end
|
1339
|
+
|
1340
|
+
def self.field_remappings
|
1341
|
+
@field_remappings = {}
|
1342
|
+
end
|
1343
|
+
end
|
1344
|
+
|
1345
|
+
class RevolutPay < Stripe::StripeObject
|
1346
|
+
def self.inner_class_types
|
1347
|
+
@inner_class_types = {}
|
1348
|
+
end
|
1349
|
+
|
1350
|
+
def self.field_remappings
|
1351
|
+
@field_remappings = {}
|
1352
|
+
end
|
1353
|
+
end
|
1354
|
+
|
1355
|
+
class SamsungPay < Stripe::StripeObject
|
1356
|
+
def self.inner_class_types
|
1357
|
+
@inner_class_types = {}
|
1358
|
+
end
|
1359
|
+
|
1360
|
+
def self.field_remappings
|
1361
|
+
@field_remappings = {}
|
1362
|
+
end
|
1363
|
+
end
|
1364
|
+
|
1365
|
+
class Satispay < Stripe::StripeObject
|
1366
|
+
def self.inner_class_types
|
1367
|
+
@inner_class_types = {}
|
1368
|
+
end
|
1369
|
+
|
1370
|
+
def self.field_remappings
|
1371
|
+
@field_remappings = {}
|
1372
|
+
end
|
1373
|
+
end
|
611
1374
|
|
612
1375
|
class SepaDebit < Stripe::StripeObject
|
613
1376
|
class GeneratedFrom < Stripe::StripeObject
|
@@ -615,6 +1378,14 @@ module Stripe
|
|
615
1378
|
attr_reader :charge
|
616
1379
|
# The ID of the SetupAttempt that generated this PaymentMethod, if any.
|
617
1380
|
attr_reader :setup_attempt
|
1381
|
+
|
1382
|
+
def self.inner_class_types
|
1383
|
+
@inner_class_types = {}
|
1384
|
+
end
|
1385
|
+
|
1386
|
+
def self.field_remappings
|
1387
|
+
@field_remappings = {}
|
1388
|
+
end
|
618
1389
|
end
|
619
1390
|
# Bank code of bank associated with the bank account.
|
620
1391
|
attr_reader :bank_code
|
@@ -628,15 +1399,73 @@ module Stripe
|
|
628
1399
|
attr_reader :generated_from
|
629
1400
|
# Last four characters of the IBAN.
|
630
1401
|
attr_reader :last4
|
1402
|
+
|
1403
|
+
def self.inner_class_types
|
1404
|
+
@inner_class_types = { generated_from: GeneratedFrom }
|
1405
|
+
end
|
1406
|
+
|
1407
|
+
def self.field_remappings
|
1408
|
+
@field_remappings = {}
|
1409
|
+
end
|
1410
|
+
end
|
1411
|
+
|
1412
|
+
class Shopeepay < Stripe::StripeObject
|
1413
|
+
def self.inner_class_types
|
1414
|
+
@inner_class_types = {}
|
1415
|
+
end
|
1416
|
+
|
1417
|
+
def self.field_remappings
|
1418
|
+
@field_remappings = {}
|
1419
|
+
end
|
631
1420
|
end
|
632
1421
|
|
633
1422
|
class Sofort < Stripe::StripeObject
|
634
1423
|
# Two-letter ISO code representing the country the bank account is located in.
|
635
1424
|
attr_reader :country
|
1425
|
+
|
1426
|
+
def self.inner_class_types
|
1427
|
+
@inner_class_types = {}
|
1428
|
+
end
|
1429
|
+
|
1430
|
+
def self.field_remappings
|
1431
|
+
@field_remappings = {}
|
1432
|
+
end
|
1433
|
+
end
|
1434
|
+
|
1435
|
+
class StripeBalance < Stripe::StripeObject
|
1436
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
1437
|
+
attr_reader :account
|
1438
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
1439
|
+
attr_reader :source_type
|
1440
|
+
|
1441
|
+
def self.inner_class_types
|
1442
|
+
@inner_class_types = {}
|
1443
|
+
end
|
1444
|
+
|
1445
|
+
def self.field_remappings
|
1446
|
+
@field_remappings = {}
|
1447
|
+
end
|
1448
|
+
end
|
1449
|
+
|
1450
|
+
class Swish < Stripe::StripeObject
|
1451
|
+
def self.inner_class_types
|
1452
|
+
@inner_class_types = {}
|
1453
|
+
end
|
1454
|
+
|
1455
|
+
def self.field_remappings
|
1456
|
+
@field_remappings = {}
|
1457
|
+
end
|
636
1458
|
end
|
637
1459
|
|
638
|
-
class
|
639
|
-
|
1460
|
+
class Twint < Stripe::StripeObject
|
1461
|
+
def self.inner_class_types
|
1462
|
+
@inner_class_types = {}
|
1463
|
+
end
|
1464
|
+
|
1465
|
+
def self.field_remappings
|
1466
|
+
@field_remappings = {}
|
1467
|
+
end
|
1468
|
+
end
|
640
1469
|
|
641
1470
|
class UsBankAccount < Stripe::StripeObject
|
642
1471
|
class Networks < Stripe::StripeObject
|
@@ -644,6 +1473,14 @@ module Stripe
|
|
644
1473
|
attr_reader :preferred
|
645
1474
|
# All supported networks.
|
646
1475
|
attr_reader :supported
|
1476
|
+
|
1477
|
+
def self.inner_class_types
|
1478
|
+
@inner_class_types = {}
|
1479
|
+
end
|
1480
|
+
|
1481
|
+
def self.field_remappings
|
1482
|
+
@field_remappings = {}
|
1483
|
+
end
|
647
1484
|
end
|
648
1485
|
|
649
1486
|
class StatusDetails < Stripe::StripeObject
|
@@ -652,12 +1489,30 @@ module Stripe
|
|
652
1489
|
attr_reader :network_code
|
653
1490
|
# The reason why this PaymentMethod's fingerprint has been blocked
|
654
1491
|
attr_reader :reason
|
1492
|
+
|
1493
|
+
def self.inner_class_types
|
1494
|
+
@inner_class_types = {}
|
1495
|
+
end
|
1496
|
+
|
1497
|
+
def self.field_remappings
|
1498
|
+
@field_remappings = {}
|
1499
|
+
end
|
655
1500
|
end
|
656
1501
|
# Attribute for field blocked
|
657
1502
|
attr_reader :blocked
|
1503
|
+
|
1504
|
+
def self.inner_class_types
|
1505
|
+
@inner_class_types = { blocked: Blocked }
|
1506
|
+
end
|
1507
|
+
|
1508
|
+
def self.field_remappings
|
1509
|
+
@field_remappings = {}
|
1510
|
+
end
|
658
1511
|
end
|
659
1512
|
# Account holder type: individual or company.
|
660
1513
|
attr_reader :account_holder_type
|
1514
|
+
# Account number of the bank account.
|
1515
|
+
attr_reader :account_number
|
661
1516
|
# Account type: checkings or savings. Defaults to checking if omitted.
|
662
1517
|
attr_reader :account_type
|
663
1518
|
# The name of the bank.
|
@@ -674,10 +1529,35 @@ module Stripe
|
|
674
1529
|
attr_reader :routing_number
|
675
1530
|
# Contains information about the future reusability of this PaymentMethod.
|
676
1531
|
attr_reader :status_details
|
1532
|
+
|
1533
|
+
def self.inner_class_types
|
1534
|
+
@inner_class_types = { networks: Networks, status_details: StatusDetails }
|
1535
|
+
end
|
1536
|
+
|
1537
|
+
def self.field_remappings
|
1538
|
+
@field_remappings = {}
|
1539
|
+
end
|
677
1540
|
end
|
678
1541
|
|
679
|
-
class WechatPay < Stripe::StripeObject
|
680
|
-
|
1542
|
+
class WechatPay < Stripe::StripeObject
|
1543
|
+
def self.inner_class_types
|
1544
|
+
@inner_class_types = {}
|
1545
|
+
end
|
1546
|
+
|
1547
|
+
def self.field_remappings
|
1548
|
+
@field_remappings = {}
|
1549
|
+
end
|
1550
|
+
end
|
1551
|
+
|
1552
|
+
class Zip < Stripe::StripeObject
|
1553
|
+
def self.inner_class_types
|
1554
|
+
@inner_class_types = {}
|
1555
|
+
end
|
1556
|
+
|
1557
|
+
def self.field_remappings
|
1558
|
+
@field_remappings = {}
|
1559
|
+
end
|
1560
|
+
end
|
681
1561
|
# Attribute for field acss_debit
|
682
1562
|
attr_reader :acss_debit
|
683
1563
|
# Attribute for field affirm
|
@@ -716,6 +1596,8 @@ module Stripe
|
|
716
1596
|
attr_reader :crypto
|
717
1597
|
# 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.
|
718
1598
|
attr_reader :customer
|
1599
|
+
# Attribute for field customer_account
|
1600
|
+
attr_reader :customer_account
|
719
1601
|
# Attribute for field customer_balance
|
720
1602
|
attr_reader :customer_balance
|
721
1603
|
# Attribute for field eps
|
@@ -724,8 +1606,12 @@ module Stripe
|
|
724
1606
|
attr_reader :fpx
|
725
1607
|
# Attribute for field giropay
|
726
1608
|
attr_reader :giropay
|
1609
|
+
# Attribute for field gopay
|
1610
|
+
attr_reader :gopay
|
727
1611
|
# Attribute for field grabpay
|
728
1612
|
attr_reader :grabpay
|
1613
|
+
# Attribute for field id_bank_transfer
|
1614
|
+
attr_reader :id_bank_transfer
|
729
1615
|
# Attribute for field ideal
|
730
1616
|
attr_reader :ideal
|
731
1617
|
# Attribute for field interac_present
|
@@ -740,6 +1626,8 @@ module Stripe
|
|
740
1626
|
attr_reader :kr_card
|
741
1627
|
# Attribute for field link
|
742
1628
|
attr_reader :link
|
1629
|
+
# Attribute for field mb_way
|
1630
|
+
attr_reader :mb_way
|
743
1631
|
# Attribute for field mobilepay
|
744
1632
|
attr_reader :mobilepay
|
745
1633
|
# Attribute for field multibanco
|
@@ -760,10 +1648,16 @@ module Stripe
|
|
760
1648
|
attr_reader :paynow
|
761
1649
|
# Attribute for field paypal
|
762
1650
|
attr_reader :paypal
|
1651
|
+
# Attribute for field payto
|
1652
|
+
attr_reader :payto
|
763
1653
|
# Attribute for field pix
|
764
1654
|
attr_reader :pix
|
765
1655
|
# Attribute for field promptpay
|
766
1656
|
attr_reader :promptpay
|
1657
|
+
# Attribute for field qris
|
1658
|
+
attr_reader :qris
|
1659
|
+
# Attribute for field rechnung
|
1660
|
+
attr_reader :rechnung
|
767
1661
|
# Attribute for field revolut_pay
|
768
1662
|
attr_reader :revolut_pay
|
769
1663
|
# Attribute for field samsung_pay
|
@@ -772,8 +1666,12 @@ module Stripe
|
|
772
1666
|
attr_reader :satispay
|
773
1667
|
# Attribute for field sepa_debit
|
774
1668
|
attr_reader :sepa_debit
|
1669
|
+
# Attribute for field shopeepay
|
1670
|
+
attr_reader :shopeepay
|
775
1671
|
# Attribute for field sofort
|
776
1672
|
attr_reader :sofort
|
1673
|
+
# Attribute for field stripe_balance
|
1674
|
+
attr_reader :stripe_balance
|
777
1675
|
# Attribute for field swish
|
778
1676
|
attr_reader :swish
|
779
1677
|
# Attribute for field twint
|
@@ -786,6 +1684,74 @@ module Stripe
|
|
786
1684
|
attr_reader :wechat_pay
|
787
1685
|
# Attribute for field zip
|
788
1686
|
attr_reader :zip
|
1687
|
+
|
1688
|
+
def self.inner_class_types
|
1689
|
+
@inner_class_types = {
|
1690
|
+
acss_debit: AcssDebit,
|
1691
|
+
affirm: Affirm,
|
1692
|
+
afterpay_clearpay: AfterpayClearpay,
|
1693
|
+
alipay: Alipay,
|
1694
|
+
alma: Alma,
|
1695
|
+
amazon_pay: AmazonPay,
|
1696
|
+
au_becs_debit: AuBecsDebit,
|
1697
|
+
bacs_debit: BacsDebit,
|
1698
|
+
bancontact: Bancontact,
|
1699
|
+
billie: Billie,
|
1700
|
+
billing_details: BillingDetails,
|
1701
|
+
blik: Blik,
|
1702
|
+
boleto: Boleto,
|
1703
|
+
card: Card,
|
1704
|
+
card_present: CardPresent,
|
1705
|
+
cashapp: Cashapp,
|
1706
|
+
crypto: Crypto,
|
1707
|
+
customer_balance: CustomerBalance,
|
1708
|
+
eps: Eps,
|
1709
|
+
fpx: Fpx,
|
1710
|
+
giropay: Giropay,
|
1711
|
+
gopay: Gopay,
|
1712
|
+
grabpay: Grabpay,
|
1713
|
+
id_bank_transfer: IdBankTransfer,
|
1714
|
+
ideal: Ideal,
|
1715
|
+
interac_present: InteracPresent,
|
1716
|
+
kakao_pay: KakaoPay,
|
1717
|
+
klarna: Klarna,
|
1718
|
+
konbini: Konbini,
|
1719
|
+
kr_card: KrCard,
|
1720
|
+
link: Link,
|
1721
|
+
mb_way: MbWay,
|
1722
|
+
mobilepay: Mobilepay,
|
1723
|
+
multibanco: Multibanco,
|
1724
|
+
naver_pay: NaverPay,
|
1725
|
+
nz_bank_account: NzBankAccount,
|
1726
|
+
oxxo: Oxxo,
|
1727
|
+
p24: P24,
|
1728
|
+
pay_by_bank: PayByBank,
|
1729
|
+
payco: Payco,
|
1730
|
+
paynow: Paynow,
|
1731
|
+
paypal: Paypal,
|
1732
|
+
payto: Payto,
|
1733
|
+
pix: Pix,
|
1734
|
+
promptpay: Promptpay,
|
1735
|
+
qris: Qris,
|
1736
|
+
rechnung: Rechnung,
|
1737
|
+
revolut_pay: RevolutPay,
|
1738
|
+
samsung_pay: SamsungPay,
|
1739
|
+
satispay: Satispay,
|
1740
|
+
sepa_debit: SepaDebit,
|
1741
|
+
shopeepay: Shopeepay,
|
1742
|
+
sofort: Sofort,
|
1743
|
+
stripe_balance: StripeBalance,
|
1744
|
+
swish: Swish,
|
1745
|
+
twint: Twint,
|
1746
|
+
us_bank_account: UsBankAccount,
|
1747
|
+
wechat_pay: WechatPay,
|
1748
|
+
zip: Zip,
|
1749
|
+
}
|
1750
|
+
end
|
1751
|
+
|
1752
|
+
def self.field_remappings
|
1753
|
+
@field_remappings = {}
|
1754
|
+
end
|
789
1755
|
end
|
790
1756
|
|
791
1757
|
class Shipping < Stripe::StripeObject
|
@@ -802,6 +1768,14 @@ module Stripe
|
|
802
1768
|
attr_reader :postal_code
|
803
1769
|
# State, county, province, or region.
|
804
1770
|
attr_reader :state
|
1771
|
+
|
1772
|
+
def self.inner_class_types
|
1773
|
+
@inner_class_types = {}
|
1774
|
+
end
|
1775
|
+
|
1776
|
+
def self.field_remappings
|
1777
|
+
@field_remappings = {}
|
1778
|
+
end
|
805
1779
|
end
|
806
1780
|
# Attribute for field address
|
807
1781
|
attr_reader :address
|
@@ -809,6 +1783,14 @@ module Stripe
|
|
809
1783
|
attr_reader :name
|
810
1784
|
# Recipient phone (including extension).
|
811
1785
|
attr_reader :phone
|
1786
|
+
|
1787
|
+
def self.inner_class_types
|
1788
|
+
@inner_class_types = { address: Address }
|
1789
|
+
end
|
1790
|
+
|
1791
|
+
def self.field_remappings
|
1792
|
+
@field_remappings = {}
|
1793
|
+
end
|
812
1794
|
end
|
813
1795
|
|
814
1796
|
class CreateParams < Stripe::RequestParams
|
@@ -949,8 +1931,18 @@ module Stripe
|
|
949
1931
|
end
|
950
1932
|
|
951
1933
|
class Giropay < Stripe::RequestParams; end
|
1934
|
+
class Gopay < Stripe::RequestParams; end
|
952
1935
|
class Grabpay < Stripe::RequestParams; end
|
953
1936
|
|
1937
|
+
class IdBankTransfer < Stripe::RequestParams
|
1938
|
+
# Bank where the account is held.
|
1939
|
+
attr_accessor :bank
|
1940
|
+
|
1941
|
+
def initialize(bank: nil)
|
1942
|
+
@bank = bank
|
1943
|
+
end
|
1944
|
+
end
|
1945
|
+
|
954
1946
|
class Ideal < Stripe::RequestParams
|
955
1947
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
956
1948
|
attr_accessor :bank
|
@@ -989,6 +1981,7 @@ module Stripe
|
|
989
1981
|
class Konbini < Stripe::RequestParams; end
|
990
1982
|
class KrCard < Stripe::RequestParams; end
|
991
1983
|
class Link < Stripe::RequestParams; end
|
1984
|
+
class MbWay < Stripe::RequestParams; end
|
992
1985
|
class Mobilepay < Stripe::RequestParams; end
|
993
1986
|
class Multibanco < Stripe::RequestParams; end
|
994
1987
|
|
@@ -1047,8 +2040,25 @@ module Stripe
|
|
1047
2040
|
class Payco < Stripe::RequestParams; end
|
1048
2041
|
class Paynow < Stripe::RequestParams; end
|
1049
2042
|
class Paypal < Stripe::RequestParams; end
|
2043
|
+
|
2044
|
+
class Payto < Stripe::RequestParams
|
2045
|
+
# The account number for the bank account.
|
2046
|
+
attr_accessor :account_number
|
2047
|
+
# Bank-State-Branch number of the bank account.
|
2048
|
+
attr_accessor :bsb_number
|
2049
|
+
# The PayID alias for the bank account.
|
2050
|
+
attr_accessor :pay_id
|
2051
|
+
|
2052
|
+
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
2053
|
+
@account_number = account_number
|
2054
|
+
@bsb_number = bsb_number
|
2055
|
+
@pay_id = pay_id
|
2056
|
+
end
|
2057
|
+
end
|
2058
|
+
|
1050
2059
|
class Pix < Stripe::RequestParams; end
|
1051
2060
|
class Promptpay < Stripe::RequestParams; end
|
2061
|
+
class Qris < Stripe::RequestParams; end
|
1052
2062
|
|
1053
2063
|
class RadarOptions < Stripe::RequestParams
|
1054
2064
|
# 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.
|
@@ -1059,6 +2069,29 @@ module Stripe
|
|
1059
2069
|
end
|
1060
2070
|
end
|
1061
2071
|
|
2072
|
+
class Rechnung < Stripe::RequestParams
|
2073
|
+
class Dob < Stripe::RequestParams
|
2074
|
+
# The day of birth, between 1 and 31.
|
2075
|
+
attr_accessor :day
|
2076
|
+
# The month of birth, between 1 and 12.
|
2077
|
+
attr_accessor :month
|
2078
|
+
# The four-digit year of birth.
|
2079
|
+
attr_accessor :year
|
2080
|
+
|
2081
|
+
def initialize(day: nil, month: nil, year: nil)
|
2082
|
+
@day = day
|
2083
|
+
@month = month
|
2084
|
+
@year = year
|
2085
|
+
end
|
2086
|
+
end
|
2087
|
+
# Customer's date of birth
|
2088
|
+
attr_accessor :dob
|
2089
|
+
|
2090
|
+
def initialize(dob: nil)
|
2091
|
+
@dob = dob
|
2092
|
+
end
|
2093
|
+
end
|
2094
|
+
|
1062
2095
|
class RevolutPay < Stripe::RequestParams; end
|
1063
2096
|
class SamsungPay < Stripe::RequestParams; end
|
1064
2097
|
class Satispay < Stripe::RequestParams; end
|
@@ -1072,6 +2105,8 @@ module Stripe
|
|
1072
2105
|
end
|
1073
2106
|
end
|
1074
2107
|
|
2108
|
+
class Shopeepay < Stripe::RequestParams; end
|
2109
|
+
|
1075
2110
|
class Sofort < Stripe::RequestParams
|
1076
2111
|
# Two-letter ISO code representing the country the bank account is located in.
|
1077
2112
|
attr_accessor :country
|
@@ -1081,6 +2116,18 @@ module Stripe
|
|
1081
2116
|
end
|
1082
2117
|
end
|
1083
2118
|
|
2119
|
+
class StripeBalance < Stripe::RequestParams
|
2120
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
2121
|
+
attr_accessor :account
|
2122
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
2123
|
+
attr_accessor :source_type
|
2124
|
+
|
2125
|
+
def initialize(account: nil, source_type: nil)
|
2126
|
+
@account = account
|
2127
|
+
@source_type = source_type
|
2128
|
+
end
|
2129
|
+
end
|
2130
|
+
|
1084
2131
|
class Swish < Stripe::RequestParams; end
|
1085
2132
|
class Twint < Stripe::RequestParams; end
|
1086
2133
|
|
@@ -1153,8 +2200,12 @@ module Stripe
|
|
1153
2200
|
attr_accessor :fpx
|
1154
2201
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
1155
2202
|
attr_accessor :giropay
|
2203
|
+
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
2204
|
+
attr_accessor :gopay
|
1156
2205
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
1157
2206
|
attr_accessor :grabpay
|
2207
|
+
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
2208
|
+
attr_accessor :id_bank_transfer
|
1158
2209
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
1159
2210
|
attr_accessor :ideal
|
1160
2211
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -1169,6 +2220,8 @@ module Stripe
|
|
1169
2220
|
attr_accessor :kr_card
|
1170
2221
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
1171
2222
|
attr_accessor :link
|
2223
|
+
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
2224
|
+
attr_accessor :mb_way
|
1172
2225
|
# 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`.
|
1173
2226
|
attr_accessor :metadata
|
1174
2227
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -1191,12 +2244,18 @@ module Stripe
|
|
1191
2244
|
attr_accessor :paynow
|
1192
2245
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
1193
2246
|
attr_accessor :paypal
|
2247
|
+
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
2248
|
+
attr_accessor :payto
|
1194
2249
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
1195
2250
|
attr_accessor :pix
|
1196
2251
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
1197
2252
|
attr_accessor :promptpay
|
2253
|
+
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
2254
|
+
attr_accessor :qris
|
1198
2255
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
1199
2256
|
attr_accessor :radar_options
|
2257
|
+
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
2258
|
+
attr_accessor :rechnung
|
1200
2259
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
1201
2260
|
attr_accessor :revolut_pay
|
1202
2261
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -1205,8 +2264,12 @@ module Stripe
|
|
1205
2264
|
attr_accessor :satispay
|
1206
2265
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
1207
2266
|
attr_accessor :sepa_debit
|
2267
|
+
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
2268
|
+
attr_accessor :shopeepay
|
1208
2269
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
1209
2270
|
attr_accessor :sofort
|
2271
|
+
# This hash contains details about the Stripe balance payment method.
|
2272
|
+
attr_accessor :stripe_balance
|
1210
2273
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
1211
2274
|
attr_accessor :swish
|
1212
2275
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -1241,7 +2304,9 @@ module Stripe
|
|
1241
2304
|
eps: nil,
|
1242
2305
|
fpx: nil,
|
1243
2306
|
giropay: nil,
|
2307
|
+
gopay: nil,
|
1244
2308
|
grabpay: nil,
|
2309
|
+
id_bank_transfer: nil,
|
1245
2310
|
ideal: nil,
|
1246
2311
|
interac_present: nil,
|
1247
2312
|
kakao_pay: nil,
|
@@ -1249,6 +2314,7 @@ module Stripe
|
|
1249
2314
|
konbini: nil,
|
1250
2315
|
kr_card: nil,
|
1251
2316
|
link: nil,
|
2317
|
+
mb_way: nil,
|
1252
2318
|
metadata: nil,
|
1253
2319
|
mobilepay: nil,
|
1254
2320
|
multibanco: nil,
|
@@ -1260,14 +2326,19 @@ module Stripe
|
|
1260
2326
|
payco: nil,
|
1261
2327
|
paynow: nil,
|
1262
2328
|
paypal: nil,
|
2329
|
+
payto: nil,
|
1263
2330
|
pix: nil,
|
1264
2331
|
promptpay: nil,
|
2332
|
+
qris: nil,
|
1265
2333
|
radar_options: nil,
|
2334
|
+
rechnung: nil,
|
1266
2335
|
revolut_pay: nil,
|
1267
2336
|
samsung_pay: nil,
|
1268
2337
|
satispay: nil,
|
1269
2338
|
sepa_debit: nil,
|
2339
|
+
shopeepay: nil,
|
1270
2340
|
sofort: nil,
|
2341
|
+
stripe_balance: nil,
|
1271
2342
|
swish: nil,
|
1272
2343
|
twint: nil,
|
1273
2344
|
type: nil,
|
@@ -1295,7 +2366,9 @@ module Stripe
|
|
1295
2366
|
@eps = eps
|
1296
2367
|
@fpx = fpx
|
1297
2368
|
@giropay = giropay
|
2369
|
+
@gopay = gopay
|
1298
2370
|
@grabpay = grabpay
|
2371
|
+
@id_bank_transfer = id_bank_transfer
|
1299
2372
|
@ideal = ideal
|
1300
2373
|
@interac_present = interac_present
|
1301
2374
|
@kakao_pay = kakao_pay
|
@@ -1303,6 +2376,7 @@ module Stripe
|
|
1303
2376
|
@konbini = konbini
|
1304
2377
|
@kr_card = kr_card
|
1305
2378
|
@link = link
|
2379
|
+
@mb_way = mb_way
|
1306
2380
|
@metadata = metadata
|
1307
2381
|
@mobilepay = mobilepay
|
1308
2382
|
@multibanco = multibanco
|
@@ -1314,14 +2388,19 @@ module Stripe
|
|
1314
2388
|
@payco = payco
|
1315
2389
|
@paynow = paynow
|
1316
2390
|
@paypal = paypal
|
2391
|
+
@payto = payto
|
1317
2392
|
@pix = pix
|
1318
2393
|
@promptpay = promptpay
|
2394
|
+
@qris = qris
|
1319
2395
|
@radar_options = radar_options
|
2396
|
+
@rechnung = rechnung
|
1320
2397
|
@revolut_pay = revolut_pay
|
1321
2398
|
@samsung_pay = samsung_pay
|
1322
2399
|
@satispay = satispay
|
1323
2400
|
@sepa_debit = sepa_debit
|
2401
|
+
@shopeepay = shopeepay
|
1324
2402
|
@sofort = sofort
|
2403
|
+
@stripe_balance = stripe_balance
|
1325
2404
|
@swish = swish
|
1326
2405
|
@twint = twint
|
1327
2406
|
@type = type
|
@@ -1502,5 +2581,18 @@ module Stripe
|
|
1502
2581
|
)
|
1503
2582
|
end
|
1504
2583
|
end
|
2584
|
+
|
2585
|
+
def self.inner_class_types
|
2586
|
+
@inner_class_types = {
|
2587
|
+
mandate_data: MandateData,
|
2588
|
+
payment_method_options: PaymentMethodOptions,
|
2589
|
+
payment_method_preview: PaymentMethodPreview,
|
2590
|
+
shipping: Shipping,
|
2591
|
+
}
|
2592
|
+
end
|
2593
|
+
|
2594
|
+
def self.field_remappings
|
2595
|
+
@field_remappings = {}
|
2596
|
+
end
|
1505
2597
|
end
|
1506
2598
|
end
|