stripe 13.3.0 → 13.4.0.pre.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1410 -650
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/api_operations/request.rb +1 -0
- data/lib/stripe/api_requestor.rb +1 -0
- data/lib/stripe/object_types.rb +32 -0
- data/lib/stripe/request_params.rb +24 -0
- data/lib/stripe/request_signing_authenticator.rb +79 -0
- data/lib/stripe/resources/account.rb +5793 -0
- data/lib/stripe/resources/account_link.rb +64 -0
- data/lib/stripe/resources/account_notice.rb +154 -0
- data/lib/stripe/resources/account_session.rb +1002 -0
- data/lib/stripe/resources/apple_pay_domain.rb +73 -0
- data/lib/stripe/resources/application.rb +23 -0
- data/lib/stripe/resources/application_fee.rb +120 -0
- data/lib/stripe/resources/application_fee_refund.rb +24 -0
- data/lib/stripe/resources/apps/secret.rb +166 -0
- data/lib/stripe/resources/balance.rb +162 -0
- data/lib/stripe/resources/balance_transaction.rb +141 -0
- data/lib/stripe/resources/bank_account.rb +113 -2
- data/lib/stripe/resources/billing/alert.rb +166 -0
- data/lib/stripe/resources/billing/alert_triggered.rb +31 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +89 -0
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +140 -0
- data/lib/stripe/resources/billing/credit_grant.rb +235 -0
- data/lib/stripe/resources/billing/meter.rb +203 -0
- data/lib/stripe/resources/billing/meter_error_report.rb +70 -0
- data/lib/stripe/resources/billing/meter_event.rb +45 -0
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +51 -0
- data/lib/stripe/resources/billing/meter_event_summary.rb +21 -0
- data/lib/stripe/resources/billing_portal/configuration.rb +639 -0
- data/lib/stripe/resources/billing_portal/session.rb +313 -0
- data/lib/stripe/resources/capability.rb +111 -0
- data/lib/stripe/resources/capital/financing_offer.rb +221 -0
- data/lib/stripe/resources/capital/financing_summary.rb +77 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +147 -0
- data/lib/stripe/resources/card.rb +111 -0
- data/lib/stripe/resources/cash_balance.rb +22 -0
- data/lib/stripe/resources/charge.rb +3687 -0
- data/lib/stripe/resources/checkout/session.rb +4162 -0
- data/lib/stripe/resources/climate/order.rb +216 -0
- data/lib/stripe/resources/climate/product.rb +69 -0
- data/lib/stripe/resources/climate/supplier.rb +67 -0
- data/lib/stripe/resources/confirmation_token.rb +1855 -0
- data/lib/stripe/resources/connect_collection_transfer.rb +29 -0
- data/lib/stripe/resources/country_spec.rb +76 -0
- data/lib/stripe/resources/coupon.rb +237 -0
- data/lib/stripe/resources/credit_note.rb +798 -0
- data/lib/stripe/resources/credit_note_line_item.rb +89 -0
- data/lib/stripe/resources/customer.rb +995 -0
- data/lib/stripe/resources/customer_balance_transaction.rb +39 -0
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +136 -0
- data/lib/stripe/resources/customer_session.rb +183 -0
- data/lib/stripe/resources/discount.rb +41 -0
- data/lib/stripe/resources/dispute.rb +767 -0
- data/lib/stripe/resources/entitlements/active_entitlement.rb +54 -0
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +26 -0
- data/lib/stripe/resources/entitlements/feature.rb +107 -0
- data/lib/stripe/resources/ephemeral_key.rb +26 -0
- data/lib/stripe/resources/event.rb +157 -0
- data/lib/stripe/resources/exchange_rate.rb +38 -0
- data/lib/stripe/resources/file.rb +134 -0
- data/lib/stripe/resources/file_link.rb +134 -0
- data/lib/stripe/resources/financial_connections/account.rb +307 -0
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +30 -0
- data/lib/stripe/resources/financial_connections/account_owner.rb +24 -0
- data/lib/stripe/resources/financial_connections/account_ownership.rb +12 -0
- data/lib/stripe/resources/financial_connections/institution.rb +112 -0
- data/lib/stripe/resources/financial_connections/session.rb +187 -0
- data/lib/stripe/resources/financial_connections/transaction.rb +122 -0
- data/lib/stripe/resources/forwarding/request.rb +196 -0
- data/lib/stripe/resources/funding_instructions.rb +415 -0
- data/lib/stripe/resources/gift_cards/card.rb +245 -0
- data/lib/stripe/resources/gift_cards/transaction.rb +313 -0
- data/lib/stripe/resources/identity/verification_report.rb +335 -0
- data/lib/stripe/resources/identity/verification_session.rb +430 -0
- data/lib/stripe/resources/invoice.rb +9348 -0
- data/lib/stripe/resources/invoice_item.rb +536 -0
- data/lib/stripe/resources/invoice_line_item.rb +409 -0
- data/lib/stripe/resources/invoice_payment.rb +72 -0
- data/lib/stripe/resources/invoice_rendering_template.rb +79 -0
- data/lib/stripe/resources/issuing/authorization.rb +1316 -2
- data/lib/stripe/resources/issuing/card.rb +794 -0
- data/lib/stripe/resources/issuing/cardholder.rb +768 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +693 -0
- data/lib/stripe/resources/issuing/dispute.rb +941 -0
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +98 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +109 -0
- data/lib/stripe/resources/issuing/personalization_design.rb +333 -0
- data/lib/stripe/resources/issuing/physical_bundle.rb +76 -0
- data/lib/stripe/resources/issuing/settlement.rb +65 -0
- data/lib/stripe/resources/issuing/token.rb +221 -0
- data/lib/stripe/resources/issuing/transaction.rb +1098 -0
- data/lib/stripe/resources/line_item.rb +98 -0
- data/lib/stripe/resources/login_link.rb +9 -0
- data/lib/stripe/resources/mandate.rb +214 -0
- data/lib/stripe/resources/margin.rb +143 -0
- data/lib/stripe/resources/order.rb +3238 -0
- data/lib/stripe/resources/payment_attempt_record.rb +226 -0
- data/lib/stripe/resources/payment_intent.rb +14630 -0
- data/lib/stripe/resources/payment_link.rb +1761 -0
- data/lib/stripe/resources/payment_method.rb +1981 -0
- data/lib/stripe/resources/payment_method_configuration.rb +3137 -0
- data/lib/stripe/resources/payment_method_domain.rb +176 -0
- data/lib/stripe/resources/payment_record.rb +824 -0
- data/lib/stripe/resources/payout.rb +267 -0
- data/lib/stripe/resources/person.rb +353 -0
- data/lib/stripe/resources/plan.rb +386 -0
- data/lib/stripe/resources/price.rb +782 -0
- data/lib/stripe/resources/product.rb +636 -0
- data/lib/stripe/resources/product_feature.rb +16 -0
- data/lib/stripe/resources/promotion_code.rb +261 -0
- data/lib/stripe/resources/quote.rb +3404 -0
- data/lib/stripe/resources/quote_line.rb +340 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +833 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +463 -0
- data/lib/stripe/resources/radar/early_fraud_warning.rb +93 -0
- data/lib/stripe/resources/radar/value_list.rb +151 -0
- data/lib/stripe/resources/radar/value_list_item.rb +113 -0
- data/lib/stripe/resources/refund.rb +489 -0
- data/lib/stripe/resources/reporting/report_run.rb +182 -0
- data/lib/stripe/resources/reporting/report_type.rb +44 -0
- data/lib/stripe/resources/reserve_transaction.rb +26 -0
- data/lib/stripe/resources/reversal.rb +30 -0
- data/lib/stripe/resources/review.rb +135 -0
- data/lib/stripe/resources/setup_attempt.rb +474 -0
- data/lib/stripe/resources/setup_intent.rb +4371 -0
- data/lib/stripe/resources/shipping_rate.rb +303 -0
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +67 -0
- data/lib/stripe/resources/source.rb +1571 -0
- data/lib/stripe/resources/source_mandate_notification.rb +79 -0
- data/lib/stripe/resources/source_transaction.rb +114 -0
- data/lib/stripe/resources/subscription.rb +2395 -0
- data/lib/stripe/resources/subscription_item.rb +502 -0
- data/lib/stripe/resources/subscription_schedule.rb +2790 -0
- data/lib/stripe/resources/tax/association.rb +100 -0
- data/lib/stripe/resources/tax/calculation.rb +474 -0
- data/lib/stripe/resources/tax/calculation_line_item.rb +76 -0
- data/lib/stripe/resources/tax/form.rb +253 -0
- data/lib/stripe/resources/tax/registration.rb +2174 -0
- data/lib/stripe/resources/tax/settings.rb +146 -0
- data/lib/stripe/resources/tax/transaction.rb +332 -0
- data/lib/stripe/resources/tax/transaction_line_item.rb +43 -0
- data/lib/stripe/resources/tax_code.rb +41 -0
- data/lib/stripe/resources/tax_deducted_at_source.rb +26 -0
- data/lib/stripe/resources/tax_id.rb +147 -0
- data/lib/stripe/resources/tax_rate.rb +245 -0
- data/lib/stripe/resources/terminal/configuration.rb +1175 -0
- data/lib/stripe/resources/terminal/connection_token.rb +21 -0
- data/lib/stripe/resources/terminal/location.rb +208 -0
- data/lib/stripe/resources/terminal/reader.rb +911 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +45 -0
- data/lib/stripe/resources/test_helpers/test_clock.rb +101 -0
- data/lib/stripe/resources/token.rb +1337 -0
- data/lib/stripe/resources/topup.rb +210 -0
- data/lib/stripe/resources/transfer.rb +188 -0
- data/lib/stripe/resources/treasury/credit_reversal.rb +113 -0
- data/lib/stripe/resources/treasury/debit_reversal.rb +126 -0
- data/lib/stripe/resources/treasury/financial_account.rb +766 -0
- data/lib/stripe/resources/treasury/financial_account_features.rb +237 -0
- data/lib/stripe/resources/treasury/inbound_transfer.rb +285 -0
- data/lib/stripe/resources/treasury/outbound_payment.rb +587 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +428 -0
- data/lib/stripe/resources/treasury/received_credit.rb +335 -0
- data/lib/stripe/resources/treasury/received_debit.rb +298 -0
- data/lib/stripe/resources/treasury/transaction.rb +215 -0
- data/lib/stripe/resources/treasury/transaction_entry.rb +193 -0
- data/lib/stripe/resources/usage_record.rb +18 -0
- data/lib/stripe/resources/usage_record_summary.rb +28 -0
- data/lib/stripe/resources/v2/amount.rb +9 -0
- data/lib/stripe/resources/v2/billing/meter_event.rb +24 -0
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +28 -0
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +19 -0
- data/lib/stripe/resources/v2/event.rb +35 -0
- data/lib/stripe/resources/v2/event_destination.rb +78 -0
- data/lib/stripe/resources/webhook_endpoint.rb +148 -0
- data/lib/stripe/resources.rb +31 -0
- data/lib/stripe/services/account_capability_service.rb +33 -0
- data/lib/stripe/services/account_external_account_service.rb +293 -0
- data/lib/stripe/services/account_link_service.rb +53 -0
- data/lib/stripe/services/account_login_link_service.rb +9 -0
- data/lib/stripe/services/account_notice_service.rb +110 -0
- data/lib/stripe/services/account_person_service.rb +1014 -0
- data/lib/stripe/services/account_service.rb +4862 -0
- data/lib/stripe/services/account_session_service.rb +740 -0
- data/lib/stripe/services/apple_pay_domain_service.rb +56 -0
- data/lib/stripe/services/application_fee_refund_service.rb +60 -0
- data/lib/stripe/services/application_fee_service.rb +65 -0
- data/lib/stripe/services/apps/secret_service.rb +132 -0
- data/lib/stripe/services/balance_service.rb +9 -0
- data/lib/stripe/services/balance_transaction_service.rb +80 -0
- data/lib/stripe/services/billing/alert_service.rb +125 -0
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +41 -0
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +45 -0
- data/lib/stripe/services/billing/credit_grant_service.rb +167 -0
- data/lib/stripe/services/billing/meter_event_adjustment_service.rb +29 -0
- data/lib/stripe/services/billing/meter_event_service.rb +25 -0
- data/lib/stripe/services/billing/meter_event_summary_service.rb +46 -0
- data/lib/stripe/services/billing/meter_service.rb +142 -0
- data/lib/stripe/services/billing_portal/configuration_service.rb +492 -0
- data/lib/stripe/services/billing_portal/session_service.rb +192 -0
- data/lib/stripe/services/capital/financing_offer_service.rb +121 -0
- data/lib/stripe/services/capital/financing_summary_service.rb +28 -0
- data/lib/stripe/services/capital/financing_transaction_service.rb +86 -0
- data/lib/stripe/services/capital_service.rb +15 -0
- data/lib/stripe/services/charge_service.rb +2010 -0
- data/lib/stripe/services/checkout/session_line_item_service.rb +21 -0
- data/lib/stripe/services/checkout/session_service.rb +2736 -0
- data/lib/stripe/services/climate/order_service.rb +113 -0
- data/lib/stripe/services/climate/product_service.rb +30 -0
- data/lib/stripe/services/climate/supplier_service.rb +30 -0
- data/lib/stripe/services/confirmation_token_service.rb +9 -0
- data/lib/stripe/services/country_spec_service.rb +30 -0
- data/lib/stripe/services/coupon_service.rb +174 -0
- data/lib/stripe/services/credit_note_line_item_service.rb +21 -0
- data/lib/stripe/services/credit_note_preview_lines_service.rb +184 -0
- data/lib/stripe/services/credit_note_service.rb +434 -0
- data/lib/stripe/services/customer_balance_transaction_service.rb +72 -0
- data/lib/stripe/services/customer_cash_balance_service.rb +30 -0
- data/lib/stripe/services/customer_cash_balance_transaction_service.rb +30 -0
- data/lib/stripe/services/customer_funding_instructions_service.rb +47 -0
- data/lib/stripe/services/customer_payment_method_service.rb +45 -0
- data/lib/stripe/services/customer_payment_source_service.rb +208 -0
- data/lib/stripe/services/customer_service.rb +684 -0
- data/lib/stripe/services/customer_session_service.rb +106 -0
- data/lib/stripe/services/customer_tax_id_service.rb +50 -0
- data/lib/stripe/services/dispute_service.rb +439 -0
- data/lib/stripe/services/entitlements/active_entitlement_service.rb +40 -0
- data/lib/stripe/services/entitlements/feature_service.rb +87 -0
- data/lib/stripe/services/ephemeral_key_service.rb +40 -0
- data/lib/stripe/services/event_service.rb +75 -0
- data/lib/stripe/services/exchange_rate_service.rb +30 -0
- data/lib/stripe/services/file_link_service.rb +108 -0
- data/lib/stripe/services/file_service.rb +102 -0
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +40 -0
- data/lib/stripe/services/financial_connections/account_owner_service.rb +31 -0
- data/lib/stripe/services/financial_connections/account_service.rb +108 -1
- data/lib/stripe/services/financial_connections/institution_service.rb +60 -0
- data/lib/stripe/services/financial_connections/session_service.rb +108 -0
- data/lib/stripe/services/financial_connections/transaction_service.rb +79 -0
- data/lib/stripe/services/financial_connections_service.rb +2 -1
- data/lib/stripe/services/forwarding/request_service.rb +120 -0
- data/lib/stripe/services/gift_cards/card_service.rb +183 -0
- data/lib/stripe/services/gift_cards/transaction_service.rb +225 -0
- data/lib/stripe/services/gift_cards_service.rb +14 -0
- data/lib/stripe/services/identity/verification_report_service.rb +75 -0
- data/lib/stripe/services/identity/verification_session_service.rb +261 -0
- data/lib/stripe/services/invoice_item_service.rb +454 -0
- data/lib/stripe/services/invoice_line_item_service.rb +277 -0
- data/lib/stripe/services/invoice_payment_service.rb +58 -0
- data/lib/stripe/services/invoice_rendering_template_service.rb +56 -0
- data/lib/stripe/services/invoice_service.rb +6375 -1
- data/lib/stripe/services/invoice_upcoming_lines_service.rb +2142 -0
- data/lib/stripe/services/issuing/authorization_service.rb +118 -0
- data/lib/stripe/services/issuing/card_service.rb +525 -0
- data/lib/stripe/services/issuing/cardholder_service.rb +599 -0
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +560 -0
- data/lib/stripe/services/issuing/dispute_service.rb +731 -0
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +70 -0
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +90 -0
- data/lib/stripe/services/issuing/personalization_design_service.rb +222 -0
- data/lib/stripe/services/issuing/physical_bundle_service.rb +45 -0
- data/lib/stripe/services/issuing/token_service.rb +83 -0
- data/lib/stripe/services/issuing/transaction_service.rb +93 -0
- data/lib/stripe/services/issuing_service.rb +5 -1
- data/lib/stripe/services/mandate_service.rb +9 -0
- data/lib/stripe/services/margin_service.rb +130 -0
- data/lib/stripe/services/order_line_item_service.rb +38 -0
- data/lib/stripe/services/order_service.rb +2518 -0
- data/lib/stripe/services/payment_attempt_record_service.rb +50 -0
- data/lib/stripe/services/payment_intent_service.rb +12203 -0
- data/lib/stripe/services/payment_link_line_item_service.rb +21 -0
- data/lib/stripe/services/payment_link_service.rb +1343 -0
- data/lib/stripe/services/payment_method_configuration_service.rb +2148 -0
- data/lib/stripe/services/payment_method_domain_service.rb +84 -0
- data/lib/stripe/services/payment_method_service.rb +977 -0
- data/lib/stripe/services/payment_record_service.rb +610 -0
- data/lib/stripe/services/payout_service.rb +182 -0
- data/lib/stripe/services/plan_service.rb +296 -0
- data/lib/stripe/services/price_service.rb +603 -0
- data/lib/stripe/services/product_feature_service.rb +46 -0
- data/lib/stripe/services/product_service.rb +533 -0
- data/lib/stripe/services/promotion_code_service.rb +203 -0
- data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +21 -0
- data/lib/stripe/services/quote_line_item_service.rb +21 -0
- data/lib/stripe/services/quote_line_service.rb +38 -0
- data/lib/stripe/services/quote_preview_invoice_service.rb +38 -0
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +38 -0
- data/lib/stripe/services/quote_service.rb +2628 -1
- data/lib/stripe/services/radar/early_fraud_warning_service.rb +70 -0
- data/lib/stripe/services/radar/value_list_item_service.rb +90 -0
- data/lib/stripe/services/radar/value_list_service.rb +119 -0
- data/lib/stripe/services/refund_service.rb +158 -0
- data/lib/stripe/services/reporting/report_run_service.rb +122 -0
- data/lib/stripe/services/reporting/report_type_service.rb +18 -0
- data/lib/stripe/services/review_service.rb +63 -0
- data/lib/stripe/services/setup_attempt_service.rb +59 -0
- data/lib/stripe/services/setup_intent_service.rb +3923 -0
- data/lib/stripe/services/shipping_rate_service.rb +227 -0
- data/lib/stripe/services/sigma/scheduled_query_run_service.rb +30 -0
- data/lib/stripe/services/source_service.rb +693 -0
- data/lib/stripe/services/source_transaction_service.rb +21 -0
- data/lib/stripe/services/subscription_item_service.rb +439 -0
- data/lib/stripe/services/subscription_item_usage_record_service.rb +21 -0
- data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +21 -0
- data/lib/stripe/services/subscription_schedule_service.rb +2343 -0
- data/lib/stripe/services/subscription_service.rb +1967 -0
- data/lib/stripe/services/tax/association_service.rb +32 -0
- data/lib/stripe/services/tax/calculation_line_item_service.rb +21 -0
- data/lib/stripe/services/tax/calculation_service.rb +235 -0
- data/lib/stripe/services/tax/form_service.rb +107 -0
- data/lib/stripe/services/tax/registration_service.rb +1398 -0
- data/lib/stripe/services/tax/settings_service.rb +82 -0
- data/lib/stripe/services/tax/transaction_line_item_service.rb +21 -0
- data/lib/stripe/services/tax/transaction_service.rb +128 -0
- data/lib/stripe/services/tax_code_service.rb +30 -0
- data/lib/stripe/services/tax_id_service.rb +90 -0
- data/lib/stripe/services/tax_rate_service.rb +182 -0
- data/lib/stripe/services/tax_service.rb +3 -1
- data/lib/stripe/services/terminal/configuration_service.rb +901 -0
- data/lib/stripe/services/terminal/connection_token_service.rb +13 -0
- data/lib/stripe/services/terminal/location_service.rb +165 -0
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +28 -0
- data/lib/stripe/services/terminal/reader_service.rb +496 -0
- data/lib/stripe/services/terminal_service.rb +2 -1
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +762 -0
- data/lib/stripe/services/test_helpers/customer_service.rb +21 -0
- data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +844 -0
- data/lib/stripe/services/test_helpers/issuing/card_service.rb +45 -0
- data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +43 -0
- data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +723 -0
- data/lib/stripe/services/test_helpers/refund_service.rb +9 -0
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +48 -0
- data/lib/stripe/services/test_helpers/test_clock_service.rb +63 -0
- data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +39 -0
- data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +93 -0
- data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +93 -0
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +95 -0
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +95 -0
- data/lib/stripe/services/token_service.rb +1301 -0
- data/lib/stripe/services/topup_service.rb +163 -0
- data/lib/stripe/services/transfer_reversal_service.rb +74 -0
- data/lib/stripe/services/transfer_service.rb +138 -0
- data/lib/stripe/services/treasury/credit_reversal_service.rb +67 -0
- data/lib/stripe/services/treasury/debit_reversal_service.rb +72 -0
- data/lib/stripe/services/treasury/financial_account_features_service.rb +179 -0
- data/lib/stripe/services/treasury/financial_account_service.rb +481 -0
- data/lib/stripe/services/treasury/inbound_transfer_service.rb +100 -0
- data/lib/stripe/services/treasury/outbound_payment_service.rb +296 -0
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +147 -0
- data/lib/stripe/services/treasury/received_credit_service.rb +58 -0
- data/lib/stripe/services/treasury/received_debit_service.rb +45 -0
- data/lib/stripe/services/treasury/transaction_entry_service.rb +101 -0
- data/lib/stripe/services/treasury/transaction_service.rb +109 -0
- data/lib/stripe/services/v1_services.rb +8 -1
- data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +25 -0
- data/lib/stripe/services/v2/billing/meter_event_service.rb +28 -0
- data/lib/stripe/services/v2/billing/meter_event_session_service.rb +3 -0
- data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +36 -0
- data/lib/stripe/services/v2/core/event_destination_service.rb +164 -0
- data/lib/stripe/services/v2/core/event_service.rb +20 -0
- data/lib/stripe/services/webhook_endpoint_service.rb +110 -0
- data/lib/stripe/services.rb +25 -0
- data/lib/stripe/stripe_client.rb +2 -2
- data/lib/stripe/stripe_configuration.rb +3 -1
- data/lib/stripe/stripe_object.rb +8 -3
- data/lib/stripe/util.rb +8 -2
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +46 -0
- data/rbi/stripe/resources/account.rbi +6072 -0
- data/rbi/stripe/resources/account_link.rbi +87 -0
- data/rbi/stripe/resources/account_notice.rbi +166 -0
- data/rbi/stripe/resources/account_session.rbi +1173 -0
- data/rbi/stripe/resources/apple_pay_domain.rbi +111 -0
- data/rbi/stripe/resources/application.rbi +23 -0
- data/rbi/stripe/resources/application_fee.rbi +151 -0
- data/rbi/stripe/resources/application_fee_refund.rbi +44 -0
- data/rbi/stripe/resources/apps/secret.rbi +229 -0
- data/rbi/stripe/resources/balance.rbi +220 -0
- data/rbi/stripe/resources/balance_transaction.rbi +182 -0
- data/rbi/stripe/resources/bank_account.rbi +156 -0
- data/rbi/stripe/resources/billing/alert.rbi +237 -0
- data/rbi/stripe/resources/billing/alert_triggered.rbi +33 -0
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +118 -0
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +181 -0
- data/rbi/stripe/resources/billing/credit_grant.rbi +312 -0
- data/rbi/stripe/resources/billing/meter.rbi +268 -0
- data/rbi/stripe/resources/billing/meter_error_report.rbi +82 -0
- data/rbi/stripe/resources/billing/meter_event.rbi +76 -0
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +75 -0
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +39 -0
- data/rbi/stripe/resources/billing_portal/configuration.rbi +746 -0
- data/rbi/stripe/resources/billing_portal/session.rbi +396 -0
- data/rbi/stripe/resources/capability.rbi +152 -0
- data/rbi/stripe/resources/capital/financing_offer.rbi +228 -0
- data/rbi/stripe/resources/capital/financing_summary.rbi +89 -0
- data/rbi/stripe/resources/capital/financing_transaction.rbi +157 -0
- data/rbi/stripe/resources/card.rbi +159 -0
- data/rbi/stripe/resources/cash_balance.rbi +37 -0
- data/rbi/stripe/resources/charge.rbi +4216 -0
- data/rbi/stripe/resources/checkout/session.rbi +4627 -0
- data/rbi/stripe/resources/climate/order.rbi +298 -0
- data/rbi/stripe/resources/climate/product.rbi +98 -0
- data/rbi/stripe/resources/climate/supplier.rbi +95 -0
- data/rbi/stripe/resources/confirmation_token.rbi +2137 -0
- data/rbi/stripe/resources/connect_collection_transfer.rbi +31 -0
- data/rbi/stripe/resources/country_spec.rbi +108 -0
- data/rbi/stripe/resources/coupon.rbi +305 -0
- data/rbi/stripe/resources/credit_note.rbi +918 -0
- data/rbi/stripe/resources/credit_note_line_item.rbi +123 -0
- data/rbi/stripe/resources/customer.rbi +1188 -0
- data/rbi/stripe/resources/customer_balance_transaction.rbi +65 -0
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +178 -0
- data/rbi/stripe/resources/customer_session.rbi +227 -0
- data/rbi/stripe/resources/discount.rbi +65 -0
- data/rbi/stripe/resources/dispute.rbi +926 -0
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +76 -0
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +26 -0
- data/rbi/stripe/resources/entitlements/feature.rbi +146 -0
- data/rbi/stripe/resources/ephemeral_key.rbi +51 -0
- data/rbi/stripe/resources/event.rbi +221 -0
- data/rbi/stripe/resources/exchange_rate.rbi +81 -0
- data/rbi/stripe/resources/file.rbi +177 -0
- data/rbi/stripe/resources/file_link.rbi +174 -0
- data/rbi/stripe/resources/financial_connections/account.rbi +414 -0
- data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +30 -0
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +42 -0
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +26 -0
- data/rbi/stripe/resources/financial_connections/institution.rbi +115 -0
- data/rbi/stripe/resources/financial_connections/session.rbi +221 -0
- data/rbi/stripe/resources/financial_connections/transaction.rbi +153 -0
- data/rbi/stripe/resources/forwarding/request.rbi +257 -0
- data/rbi/stripe/resources/funding_instructions.rbi +544 -0
- data/rbi/stripe/resources/gift_cards/card.rbi +242 -0
- data/rbi/stripe/resources/gift_cards/transaction.rbi +298 -0
- data/rbi/stripe/resources/identity/verification_report.rbi +427 -0
- data/rbi/stripe/resources/identity/verification_session.rbi +601 -0
- data/rbi/stripe/resources/invoice.rbi +10584 -0
- data/rbi/stripe/resources/invoice_item.rbi +621 -0
- data/rbi/stripe/resources/invoice_line_item.rbi +486 -0
- data/rbi/stripe/resources/invoice_payment.rbi +86 -0
- data/rbi/stripe/resources/invoice_rendering_template.rbi +131 -0
- data/rbi/stripe/resources/issuing/authorization.rbi +1511 -0
- data/rbi/stripe/resources/issuing/card.rbi +891 -0
- data/rbi/stripe/resources/issuing/cardholder.rbi +870 -0
- data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +731 -0
- data/rbi/stripe/resources/issuing/dispute.rbi +1077 -0
- data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +100 -0
- data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +108 -0
- data/rbi/stripe/resources/issuing/personalization_design.rbi +395 -0
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +102 -0
- data/rbi/stripe/resources/issuing/settlement.rbi +78 -0
- data/rbi/stripe/resources/issuing/token.rbi +282 -0
- data/rbi/stripe/resources/issuing/transaction.rbi +1262 -0
- data/rbi/stripe/resources/line_item.rbi +131 -0
- data/rbi/stripe/resources/login_link.rbi +20 -0
- data/rbi/stripe/resources/mandate.rbi +266 -0
- data/rbi/stripe/resources/margin.rbi +151 -0
- data/rbi/stripe/resources/order.rbi +3505 -0
- data/rbi/stripe/resources/payment_attempt_record.rbi +260 -0
- data/rbi/stripe/resources/payment_intent.rbi +16064 -0
- data/rbi/stripe/resources/payment_link.rbi +1943 -0
- data/rbi/stripe/resources/payment_method.rbi +2287 -0
- data/rbi/stripe/resources/payment_method_configuration.rbi +3657 -0
- data/rbi/stripe/resources/payment_method_domain.rbi +246 -0
- data/rbi/stripe/resources/payment_record.rbi +856 -0
- data/rbi/stripe/resources/payout.rbi +357 -0
- data/rbi/stripe/resources/person.rbi +461 -0
- data/rbi/stripe/resources/plan.rbi +463 -0
- data/rbi/stripe/resources/price.rbi +884 -0
- data/rbi/stripe/resources/product.rbi +735 -0
- data/rbi/stripe/resources/product_feature.rbi +30 -0
- data/rbi/stripe/resources/promotion_code.rbi +316 -0
- data/rbi/stripe/resources/quote.rbi +3779 -0
- data/rbi/stripe/resources/quote_line.rbi +416 -0
- data/rbi/stripe/resources/quote_preview_invoice.rbi +1030 -0
- data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +575 -0
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +121 -0
- data/rbi/stripe/resources/radar/value_list.rbi +207 -0
- data/rbi/stripe/resources/radar/value_list_item.rbi +157 -0
- data/rbi/stripe/resources/refund.rbi +615 -0
- data/rbi/stripe/resources/reporting/report_run.rbi +232 -0
- data/rbi/stripe/resources/reporting/report_type.rbi +75 -0
- data/rbi/stripe/resources/reserve_transaction.rbi +27 -0
- data/rbi/stripe/resources/reversal.rbi +60 -0
- data/rbi/stripe/resources/review.rbi +191 -0
- data/rbi/stripe/resources/setup_attempt.rbi +587 -0
- data/rbi/stripe/resources/setup_intent.rbi +4726 -0
- data/rbi/stripe/resources/shipping_rate.rbi +367 -0
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +98 -0
- data/rbi/stripe/resources/source.rbi +1899 -0
- data/rbi/stripe/resources/source_mandate_notification.rbi +90 -0
- data/rbi/stripe/resources/source_transaction.rbi +156 -0
- data/rbi/stripe/resources/subscription.rbi +2739 -0
- data/rbi/stripe/resources/subscription_item.rbi +566 -0
- data/rbi/stripe/resources/subscription_schedule.rbi +3157 -0
- data/rbi/stripe/resources/tax/association.rbi +107 -0
- data/rbi/stripe/resources/tax/calculation.rbi +577 -0
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +108 -0
- data/rbi/stripe/resources/tax/form.rbi +262 -0
- data/rbi/stripe/resources/tax/registration.rbi +2354 -0
- data/rbi/stripe/resources/tax/settings.rbi +174 -0
- data/rbi/stripe/resources/tax/transaction.rbi +428 -0
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +66 -0
- data/rbi/stripe/resources/tax_code.rbi +60 -0
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +27 -0
- data/rbi/stripe/resources/tax_id.rbi +206 -0
- data/rbi/stripe/resources/tax_rate.rbi +295 -0
- data/rbi/stripe/resources/terminal/configuration.rbi +1302 -0
- data/rbi/stripe/resources/terminal/connection_token.rbi +42 -0
- data/rbi/stripe/resources/terminal/location.rbi +271 -0
- data/rbi/stripe/resources/terminal/reader.rbi +1110 -0
- data/rbi/stripe/resources/terminal/reader_collected_data.rbi +48 -0
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +159 -0
- data/rbi/stripe/resources/token.rbi +1405 -0
- data/rbi/stripe/resources/topup.rbi +269 -0
- data/rbi/stripe/resources/transfer.rbi +245 -0
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +151 -0
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +165 -0
- data/rbi/stripe/resources/treasury/financial_account.rbi +924 -0
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +309 -0
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +361 -0
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +702 -0
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +529 -0
- data/rbi/stripe/resources/treasury/received_credit.rbi +408 -0
- data/rbi/stripe/resources/treasury/received_debit.rbi +367 -0
- data/rbi/stripe/resources/treasury/transaction.rbi +261 -0
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +234 -0
- data/rbi/stripe/resources/usage_record.rbi +37 -0
- data/rbi/stripe/resources/usage_record_summary.rbi +45 -0
- data/rbi/stripe/resources/v2/amount.rbi +14 -0
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +43 -0
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +48 -0
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +36 -0
- data/rbi/stripe/resources/v2/event.rbi +55 -0
- data/rbi/stripe/resources/v2/event_destination.rbi +109 -0
- data/rbi/stripe/resources/webhook_endpoint.rbi +208 -0
- data/rbi/stripe/services/account_capability_service.rbi +55 -0
- data/rbi/stripe/services/account_external_account_service.rbi +358 -0
- data/rbi/stripe/services/account_link_service.rbi +67 -0
- data/rbi/stripe/services/account_login_link_service.rbi +23 -0
- data/rbi/stripe/services/account_notice_service.rbi +103 -0
- data/rbi/stripe/services/account_person_service.rbi +1077 -0
- data/rbi/stripe/services/account_service.rbi +4948 -0
- data/rbi/stripe/services/account_session_service.rbi +873 -0
- data/rbi/stripe/services/apple_pay_domain_service.rbi +86 -0
- data/rbi/stripe/services/application_fee_refund_service.rbi +101 -0
- data/rbi/stripe/services/application_fee_service.rbi +85 -0
- data/rbi/stripe/services/apps/secret_service.rbi +175 -0
- data/rbi/stripe/services/apps_service.rbi +9 -0
- data/rbi/stripe/services/balance_service.rbi +22 -0
- data/rbi/stripe/services/balance_transaction_service.rbi +103 -0
- data/rbi/stripe/services/billing/alert_service.rbi +172 -0
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +61 -0
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +66 -0
- data/rbi/stripe/services/billing/credit_grant_service.rbi +217 -0
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +45 -0
- data/rbi/stripe/services/billing/meter_event_service.rbi +47 -0
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +62 -0
- data/rbi/stripe/services/billing/meter_service.rbi +184 -0
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +573 -0
- data/rbi/stripe/services/billing_portal/session_service.rbi +233 -0
- data/rbi/stripe/services/billing_portal_service.rbi +10 -0
- data/rbi/stripe/services/billing_service.rbi +15 -0
- data/rbi/stripe/services/capital/financing_offer_service.rbi +108 -0
- data/rbi/stripe/services/capital/financing_summary_service.rbi +23 -0
- data/rbi/stripe/services/capital/financing_transaction_service.rbi +77 -0
- data/rbi/stripe/services/capital_service.rbi +11 -0
- data/rbi/stripe/services/charge_service.rbi +2162 -0
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +37 -0
- data/rbi/stripe/services/checkout/session_service.rbi +2975 -0
- data/rbi/stripe/services/checkout_service.rbi +9 -0
- data/rbi/stripe/services/climate/order_service.rbi +158 -0
- data/rbi/stripe/services/climate/product_service.rbi +51 -0
- data/rbi/stripe/services/climate/supplier_service.rbi +51 -0
- data/rbi/stripe/services/climate_service.rbi +11 -0
- data/rbi/stripe/services/confirmation_token_service.rbi +21 -0
- data/rbi/stripe/services/country_spec_service.rbi +49 -0
- data/rbi/stripe/services/coupon_service.rbi +220 -0
- data/rbi/stripe/services/credit_note_line_item_service.rbi +35 -0
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +200 -0
- data/rbi/stripe/services/credit_note_service.rbi +496 -0
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +105 -0
- data/rbi/stripe/services/customer_cash_balance_service.rbi +49 -0
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +49 -0
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +67 -0
- data/rbi/stripe/services/customer_payment_method_service.rbi +64 -0
- data/rbi/stripe/services/customer_payment_source_service.rbi +265 -0
- data/rbi/stripe/services/customer_service.rbi +763 -0
- data/rbi/stripe/services/customer_session_service.rbi +126 -0
- data/rbi/stripe/services/customer_tax_id_service.rbi +80 -0
- data/rbi/stripe/services/dispute_service.rbi +500 -0
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +61 -0
- data/rbi/stripe/services/entitlements/feature_service.rbi +122 -0
- data/rbi/stripe/services/entitlements_service.rbi +10 -0
- data/rbi/stripe/services/ephemeral_key_service.rbi +59 -0
- data/rbi/stripe/services/event_service.rbi +94 -0
- data/rbi/stripe/services/exchange_rate_service.rbi +49 -0
- data/rbi/stripe/services/file_link_service.rbi +141 -0
- data/rbi/stripe/services/file_service.rbi +132 -0
- data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +37 -0
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +47 -0
- data/rbi/stripe/services/financial_connections/account_service.rbi +148 -0
- data/rbi/stripe/services/financial_connections/institution_service.rbi +51 -0
- data/rbi/stripe/services/financial_connections/session_service.rbi +128 -0
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +103 -0
- data/rbi/stripe/services/financial_connections_service.rbi +12 -0
- data/rbi/stripe/services/forwarding/request_service.rbi +152 -0
- data/rbi/stripe/services/forwarding_service.rbi +9 -0
- data/rbi/stripe/services/gift_cards/card_service.rbi +162 -0
- data/rbi/stripe/services/gift_cards/transaction_service.rbi +198 -0
- data/rbi/stripe/services/gift_cards_service.rbi +10 -0
- data/rbi/stripe/services/identity/verification_report_service.rbi +98 -0
- data/rbi/stripe/services/identity/verification_session_service.rbi +360 -0
- data/rbi/stripe/services/identity_service.rbi +10 -0
- data/rbi/stripe/services/invoice_item_service.rbi +505 -0
- data/rbi/stripe/services/invoice_line_item_service.rbi +320 -0
- data/rbi/stripe/services/invoice_payment_service.rbi +49 -0
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +91 -0
- data/rbi/stripe/services/invoice_service.rbi +7138 -0
- data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +2397 -0
- data/rbi/stripe/services/issuing/authorization_service.rbi +160 -0
- data/rbi/stripe/services/issuing/card_service.rbi +568 -0
- data/rbi/stripe/services/issuing/cardholder_service.rbi +668 -0
- data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +580 -0
- data/rbi/stripe/services/issuing/dispute_service.rbi +824 -0
- data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +61 -0
- data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +83 -0
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +271 -0
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +66 -0
- data/rbi/stripe/services/issuing/token_service.rbi +109 -0
- data/rbi/stripe/services/issuing/transaction_service.rbi +119 -0
- data/rbi/stripe/services/issuing_service.rbi +19 -0
- data/rbi/stripe/services/mandate_service.rbi +21 -0
- data/rbi/stripe/services/margin_service.rbi +119 -0
- data/rbi/stripe/services/order_line_item_service.rbi +35 -0
- data/rbi/stripe/services/order_service.rbi +2669 -0
- data/rbi/stripe/services/payment_attempt_record_service.rbi +39 -0
- data/rbi/stripe/services/payment_intent_service.rbi +13193 -0
- data/rbi/stripe/services/payment_link_line_item_service.rbi +35 -0
- data/rbi/stripe/services/payment_link_service.rbi +1447 -0
- data/rbi/stripe/services/payment_method_configuration_service.rbi +2465 -0
- data/rbi/stripe/services/payment_method_domain_service.rbi +123 -0
- data/rbi/stripe/services/payment_method_service.rbi +1032 -0
- data/rbi/stripe/services/payment_record_service.rbi +613 -0
- data/rbi/stripe/services/payout_service.rbi +228 -0
- data/rbi/stripe/services/plan_service.rbi +337 -0
- data/rbi/stripe/services/price_service.rbi +657 -0
- data/rbi/stripe/services/product_feature_service.rbi +76 -0
- data/rbi/stripe/services/product_service.rbi +596 -0
- data/rbi/stripe/services/promotion_code_service.rbi +244 -0
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +35 -0
- data/rbi/stripe/services/quote_line_item_service.rbi +35 -0
- data/rbi/stripe/services/quote_line_service.rbi +35 -0
- data/rbi/stripe/services/quote_preview_invoice_service.rbi +35 -0
- data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +35 -0
- data/rbi/stripe/services/quote_service.rbi +2830 -0
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +95 -0
- data/rbi/stripe/services/radar/value_list_item_service.rbi +122 -0
- data/rbi/stripe/services/radar/value_list_service.rbi +160 -0
- data/rbi/stripe/services/radar_service.rbi +11 -0
- data/rbi/stripe/services/refund_service.rbi +208 -0
- data/rbi/stripe/services/reporting/report_run_service.rbi +152 -0
- data/rbi/stripe/services/reporting/report_type_service.rbi +37 -0
- data/rbi/stripe/services/reporting_service.rbi +10 -0
- data/rbi/stripe/services/review_service.rbi +93 -0
- data/rbi/stripe/services/setup_attempt_service.rbi +73 -0
- data/rbi/stripe/services/setup_intent_service.rbi +4204 -0
- data/rbi/stripe/services/shipping_rate_service.rbi +274 -0
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +51 -0
- data/rbi/stripe/services/sigma_service.rbi +9 -0
- data/rbi/stripe/services/source_service.rbi +766 -0
- data/rbi/stripe/services/source_transaction_service.rbi +35 -0
- data/rbi/stripe/services/subscription_item_service.rbi +496 -0
- data/rbi/stripe/services/subscription_item_usage_record_service.rbi +41 -0
- data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +37 -0
- data/rbi/stripe/services/subscription_schedule_service.rbi +2613 -0
- data/rbi/stripe/services/subscription_service.rbi +2207 -0
- data/rbi/stripe/services/tax/association_service.rbi +27 -0
- data/rbi/stripe/services/tax/calculation_line_item_service.rbi +37 -0
- data/rbi/stripe/services/tax/calculation_service.rbi +267 -0
- data/rbi/stripe/services/tax/form_service.rbi +96 -0
- data/rbi/stripe/services/tax/registration_service.rbi +1495 -0
- data/rbi/stripe/services/tax/settings_service.rbi +106 -0
- data/rbi/stripe/services/tax/transaction_line_item_service.rbi +37 -0
- data/rbi/stripe/services/tax/transaction_service.rbi +164 -0
- data/rbi/stripe/services/tax_code_service.rbi +49 -0
- data/rbi/stripe/services/tax_id_service.rbi +128 -0
- data/rbi/stripe/services/tax_rate_service.rbi +215 -0
- data/rbi/stripe/services/tax_service.rbi +14 -0
- data/rbi/stripe/services/terminal/configuration_service.rbi +976 -0
- data/rbi/stripe/services/terminal/connection_token_service.rbi +27 -0
- data/rbi/stripe/services/terminal/location_service.rbi +211 -0
- data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +23 -0
- data/rbi/stripe/services/terminal/reader_service.rbi +591 -0
- data/rbi/stripe/services/terminal_service.rbi +13 -0
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +892 -0
- data/rbi/stripe/services/test_helpers/customer_service.rbi +37 -0
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +974 -0
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +81 -0
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +73 -0
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +825 -0
- data/rbi/stripe/services/test_helpers/issuing_service.rbi +14 -0
- data/rbi/stripe/services/test_helpers/refund_service.rbi +23 -0
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +69 -0
- data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +100 -0
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +69 -0
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +137 -0
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +137 -0
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +130 -0
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +130 -0
- data/rbi/stripe/services/test_helpers/treasury_service.rbi +15 -0
- data/rbi/stripe/services/test_helpers_service.rbi +15 -0
- data/rbi/stripe/services/token_service.rbi +1357 -0
- data/rbi/stripe/services/topup_service.rbi +200 -0
- data/rbi/stripe/services/transfer_reversal_service.rbi +111 -0
- data/rbi/stripe/services/transfer_service.rbi +174 -0
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +95 -0
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +100 -0
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +226 -0
- data/rbi/stripe/services/treasury/financial_account_service.rbi +577 -0
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +133 -0
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +350 -0
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +189 -0
- data/rbi/stripe/services/treasury/received_credit_service.rbi +79 -0
- data/rbi/stripe/services/treasury/received_debit_service.rbi +66 -0
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +125 -0
- data/rbi/stripe/services/treasury/transaction_service.rbi +133 -0
- data/rbi/stripe/services/treasury_service.rbi +18 -0
- data/rbi/stripe/services/v1_services.rbi +83 -0
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +43 -0
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +46 -0
- data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +20 -0
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +60 -0
- data/rbi/stripe/services/v2/billing_service.rbi +14 -0
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +228 -0
- data/rbi/stripe/services/v2/core/event_service.rbi +42 -0
- data/rbi/stripe/services/v2/core_service.rbi +12 -0
- data/rbi/stripe/services/v2_services.rbi +10 -0
- data/rbi/stripe/services/webhook_endpoint_service.rbi +149 -0
- metadata +435 -4
@@ -26,6 +26,3143 @@ module Stripe
|
|
26
26
|
"payment_method_configuration"
|
27
27
|
end
|
28
28
|
|
29
|
+
class AcssDebit < Stripe::StripeObject
|
30
|
+
class DisplayPreference < Stripe::StripeObject
|
31
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
32
|
+
attr_reader :overridable
|
33
|
+
|
34
|
+
# The account's display preference.
|
35
|
+
attr_reader :preference
|
36
|
+
|
37
|
+
# The effective display preference value.
|
38
|
+
attr_reader :value
|
39
|
+
end
|
40
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
41
|
+
attr_reader :available
|
42
|
+
|
43
|
+
# Attribute for field display_preference
|
44
|
+
attr_reader :display_preference
|
45
|
+
end
|
46
|
+
|
47
|
+
class Affirm < Stripe::StripeObject
|
48
|
+
class DisplayPreference < Stripe::StripeObject
|
49
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
50
|
+
attr_reader :overridable
|
51
|
+
|
52
|
+
# The account's display preference.
|
53
|
+
attr_reader :preference
|
54
|
+
|
55
|
+
# The effective display preference value.
|
56
|
+
attr_reader :value
|
57
|
+
end
|
58
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
59
|
+
attr_reader :available
|
60
|
+
|
61
|
+
# Attribute for field display_preference
|
62
|
+
attr_reader :display_preference
|
63
|
+
end
|
64
|
+
|
65
|
+
class AfterpayClearpay < Stripe::StripeObject
|
66
|
+
class DisplayPreference < Stripe::StripeObject
|
67
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
68
|
+
attr_reader :overridable
|
69
|
+
|
70
|
+
# The account's display preference.
|
71
|
+
attr_reader :preference
|
72
|
+
|
73
|
+
# The effective display preference value.
|
74
|
+
attr_reader :value
|
75
|
+
end
|
76
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
77
|
+
attr_reader :available
|
78
|
+
|
79
|
+
# Attribute for field display_preference
|
80
|
+
attr_reader :display_preference
|
81
|
+
end
|
82
|
+
|
83
|
+
class Alipay < Stripe::StripeObject
|
84
|
+
class DisplayPreference < Stripe::StripeObject
|
85
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
86
|
+
attr_reader :overridable
|
87
|
+
|
88
|
+
# The account's display preference.
|
89
|
+
attr_reader :preference
|
90
|
+
|
91
|
+
# The effective display preference value.
|
92
|
+
attr_reader :value
|
93
|
+
end
|
94
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
95
|
+
attr_reader :available
|
96
|
+
|
97
|
+
# Attribute for field display_preference
|
98
|
+
attr_reader :display_preference
|
99
|
+
end
|
100
|
+
|
101
|
+
class Alma < Stripe::StripeObject
|
102
|
+
class DisplayPreference < Stripe::StripeObject
|
103
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
104
|
+
attr_reader :overridable
|
105
|
+
|
106
|
+
# The account's display preference.
|
107
|
+
attr_reader :preference
|
108
|
+
|
109
|
+
# The effective display preference value.
|
110
|
+
attr_reader :value
|
111
|
+
end
|
112
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
113
|
+
attr_reader :available
|
114
|
+
|
115
|
+
# Attribute for field display_preference
|
116
|
+
attr_reader :display_preference
|
117
|
+
end
|
118
|
+
|
119
|
+
class AmazonPay < Stripe::StripeObject
|
120
|
+
class DisplayPreference < Stripe::StripeObject
|
121
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
122
|
+
attr_reader :overridable
|
123
|
+
|
124
|
+
# The account's display preference.
|
125
|
+
attr_reader :preference
|
126
|
+
|
127
|
+
# The effective display preference value.
|
128
|
+
attr_reader :value
|
129
|
+
end
|
130
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
131
|
+
attr_reader :available
|
132
|
+
|
133
|
+
# Attribute for field display_preference
|
134
|
+
attr_reader :display_preference
|
135
|
+
end
|
136
|
+
|
137
|
+
class ApplePay < Stripe::StripeObject
|
138
|
+
class DisplayPreference < Stripe::StripeObject
|
139
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
140
|
+
attr_reader :overridable
|
141
|
+
|
142
|
+
# The account's display preference.
|
143
|
+
attr_reader :preference
|
144
|
+
|
145
|
+
# The effective display preference value.
|
146
|
+
attr_reader :value
|
147
|
+
end
|
148
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
149
|
+
attr_reader :available
|
150
|
+
|
151
|
+
# Attribute for field display_preference
|
152
|
+
attr_reader :display_preference
|
153
|
+
end
|
154
|
+
|
155
|
+
class AuBecsDebit < Stripe::StripeObject
|
156
|
+
class DisplayPreference < Stripe::StripeObject
|
157
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
158
|
+
attr_reader :overridable
|
159
|
+
|
160
|
+
# The account's display preference.
|
161
|
+
attr_reader :preference
|
162
|
+
|
163
|
+
# The effective display preference value.
|
164
|
+
attr_reader :value
|
165
|
+
end
|
166
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
167
|
+
attr_reader :available
|
168
|
+
|
169
|
+
# Attribute for field display_preference
|
170
|
+
attr_reader :display_preference
|
171
|
+
end
|
172
|
+
|
173
|
+
class BacsDebit < Stripe::StripeObject
|
174
|
+
class DisplayPreference < Stripe::StripeObject
|
175
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
176
|
+
attr_reader :overridable
|
177
|
+
|
178
|
+
# The account's display preference.
|
179
|
+
attr_reader :preference
|
180
|
+
|
181
|
+
# The effective display preference value.
|
182
|
+
attr_reader :value
|
183
|
+
end
|
184
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
185
|
+
attr_reader :available
|
186
|
+
|
187
|
+
# Attribute for field display_preference
|
188
|
+
attr_reader :display_preference
|
189
|
+
end
|
190
|
+
|
191
|
+
class Bancontact < Stripe::StripeObject
|
192
|
+
class DisplayPreference < Stripe::StripeObject
|
193
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
194
|
+
attr_reader :overridable
|
195
|
+
|
196
|
+
# The account's display preference.
|
197
|
+
attr_reader :preference
|
198
|
+
|
199
|
+
# The effective display preference value.
|
200
|
+
attr_reader :value
|
201
|
+
end
|
202
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
203
|
+
attr_reader :available
|
204
|
+
|
205
|
+
# Attribute for field display_preference
|
206
|
+
attr_reader :display_preference
|
207
|
+
end
|
208
|
+
|
209
|
+
class Blik < Stripe::StripeObject
|
210
|
+
class DisplayPreference < Stripe::StripeObject
|
211
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
212
|
+
attr_reader :overridable
|
213
|
+
|
214
|
+
# The account's display preference.
|
215
|
+
attr_reader :preference
|
216
|
+
|
217
|
+
# The effective display preference value.
|
218
|
+
attr_reader :value
|
219
|
+
end
|
220
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
221
|
+
attr_reader :available
|
222
|
+
|
223
|
+
# Attribute for field display_preference
|
224
|
+
attr_reader :display_preference
|
225
|
+
end
|
226
|
+
|
227
|
+
class Boleto < Stripe::StripeObject
|
228
|
+
class DisplayPreference < Stripe::StripeObject
|
229
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
230
|
+
attr_reader :overridable
|
231
|
+
|
232
|
+
# The account's display preference.
|
233
|
+
attr_reader :preference
|
234
|
+
|
235
|
+
# The effective display preference value.
|
236
|
+
attr_reader :value
|
237
|
+
end
|
238
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
239
|
+
attr_reader :available
|
240
|
+
|
241
|
+
# Attribute for field display_preference
|
242
|
+
attr_reader :display_preference
|
243
|
+
end
|
244
|
+
|
245
|
+
class Card < Stripe::StripeObject
|
246
|
+
class DisplayPreference < Stripe::StripeObject
|
247
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
248
|
+
attr_reader :overridable
|
249
|
+
|
250
|
+
# The account's display preference.
|
251
|
+
attr_reader :preference
|
252
|
+
|
253
|
+
# The effective display preference value.
|
254
|
+
attr_reader :value
|
255
|
+
end
|
256
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
257
|
+
attr_reader :available
|
258
|
+
|
259
|
+
# Attribute for field display_preference
|
260
|
+
attr_reader :display_preference
|
261
|
+
end
|
262
|
+
|
263
|
+
class CartesBancaires < Stripe::StripeObject
|
264
|
+
class DisplayPreference < Stripe::StripeObject
|
265
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
266
|
+
attr_reader :overridable
|
267
|
+
|
268
|
+
# The account's display preference.
|
269
|
+
attr_reader :preference
|
270
|
+
|
271
|
+
# The effective display preference value.
|
272
|
+
attr_reader :value
|
273
|
+
end
|
274
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
275
|
+
attr_reader :available
|
276
|
+
|
277
|
+
# Attribute for field display_preference
|
278
|
+
attr_reader :display_preference
|
279
|
+
end
|
280
|
+
|
281
|
+
class Cashapp < Stripe::StripeObject
|
282
|
+
class DisplayPreference < Stripe::StripeObject
|
283
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
284
|
+
attr_reader :overridable
|
285
|
+
|
286
|
+
# The account's display preference.
|
287
|
+
attr_reader :preference
|
288
|
+
|
289
|
+
# The effective display preference value.
|
290
|
+
attr_reader :value
|
291
|
+
end
|
292
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
293
|
+
attr_reader :available
|
294
|
+
|
295
|
+
# Attribute for field display_preference
|
296
|
+
attr_reader :display_preference
|
297
|
+
end
|
298
|
+
|
299
|
+
class CustomerBalance < Stripe::StripeObject
|
300
|
+
class DisplayPreference < Stripe::StripeObject
|
301
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
302
|
+
attr_reader :overridable
|
303
|
+
|
304
|
+
# The account's display preference.
|
305
|
+
attr_reader :preference
|
306
|
+
|
307
|
+
# The effective display preference value.
|
308
|
+
attr_reader :value
|
309
|
+
end
|
310
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
311
|
+
attr_reader :available
|
312
|
+
|
313
|
+
# Attribute for field display_preference
|
314
|
+
attr_reader :display_preference
|
315
|
+
end
|
316
|
+
|
317
|
+
class Eps < Stripe::StripeObject
|
318
|
+
class DisplayPreference < Stripe::StripeObject
|
319
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
320
|
+
attr_reader :overridable
|
321
|
+
|
322
|
+
# The account's display preference.
|
323
|
+
attr_reader :preference
|
324
|
+
|
325
|
+
# The effective display preference value.
|
326
|
+
attr_reader :value
|
327
|
+
end
|
328
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
329
|
+
attr_reader :available
|
330
|
+
|
331
|
+
# Attribute for field display_preference
|
332
|
+
attr_reader :display_preference
|
333
|
+
end
|
334
|
+
|
335
|
+
class Fpx < Stripe::StripeObject
|
336
|
+
class DisplayPreference < Stripe::StripeObject
|
337
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
338
|
+
attr_reader :overridable
|
339
|
+
|
340
|
+
# The account's display preference.
|
341
|
+
attr_reader :preference
|
342
|
+
|
343
|
+
# The effective display preference value.
|
344
|
+
attr_reader :value
|
345
|
+
end
|
346
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
347
|
+
attr_reader :available
|
348
|
+
|
349
|
+
# Attribute for field display_preference
|
350
|
+
attr_reader :display_preference
|
351
|
+
end
|
352
|
+
|
353
|
+
class Giropay < Stripe::StripeObject
|
354
|
+
class DisplayPreference < Stripe::StripeObject
|
355
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
356
|
+
attr_reader :overridable
|
357
|
+
|
358
|
+
# The account's display preference.
|
359
|
+
attr_reader :preference
|
360
|
+
|
361
|
+
# The effective display preference value.
|
362
|
+
attr_reader :value
|
363
|
+
end
|
364
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
365
|
+
attr_reader :available
|
366
|
+
|
367
|
+
# Attribute for field display_preference
|
368
|
+
attr_reader :display_preference
|
369
|
+
end
|
370
|
+
|
371
|
+
class GooglePay < Stripe::StripeObject
|
372
|
+
class DisplayPreference < Stripe::StripeObject
|
373
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
374
|
+
attr_reader :overridable
|
375
|
+
|
376
|
+
# The account's display preference.
|
377
|
+
attr_reader :preference
|
378
|
+
|
379
|
+
# The effective display preference value.
|
380
|
+
attr_reader :value
|
381
|
+
end
|
382
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
383
|
+
attr_reader :available
|
384
|
+
|
385
|
+
# Attribute for field display_preference
|
386
|
+
attr_reader :display_preference
|
387
|
+
end
|
388
|
+
|
389
|
+
class Gopay < Stripe::StripeObject
|
390
|
+
class DisplayPreference < Stripe::StripeObject
|
391
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
392
|
+
attr_reader :overridable
|
393
|
+
|
394
|
+
# The account's display preference.
|
395
|
+
attr_reader :preference
|
396
|
+
|
397
|
+
# The effective display preference value.
|
398
|
+
attr_reader :value
|
399
|
+
end
|
400
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
401
|
+
attr_reader :available
|
402
|
+
|
403
|
+
# Attribute for field display_preference
|
404
|
+
attr_reader :display_preference
|
405
|
+
end
|
406
|
+
|
407
|
+
class Grabpay < Stripe::StripeObject
|
408
|
+
class DisplayPreference < Stripe::StripeObject
|
409
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
410
|
+
attr_reader :overridable
|
411
|
+
|
412
|
+
# The account's display preference.
|
413
|
+
attr_reader :preference
|
414
|
+
|
415
|
+
# The effective display preference value.
|
416
|
+
attr_reader :value
|
417
|
+
end
|
418
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
419
|
+
attr_reader :available
|
420
|
+
|
421
|
+
# Attribute for field display_preference
|
422
|
+
attr_reader :display_preference
|
423
|
+
end
|
424
|
+
|
425
|
+
class IdBankTransfer < Stripe::StripeObject
|
426
|
+
class DisplayPreference < Stripe::StripeObject
|
427
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
428
|
+
attr_reader :overridable
|
429
|
+
|
430
|
+
# The account's display preference.
|
431
|
+
attr_reader :preference
|
432
|
+
|
433
|
+
# The effective display preference value.
|
434
|
+
attr_reader :value
|
435
|
+
end
|
436
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
437
|
+
attr_reader :available
|
438
|
+
|
439
|
+
# Attribute for field display_preference
|
440
|
+
attr_reader :display_preference
|
441
|
+
end
|
442
|
+
|
443
|
+
class Ideal < Stripe::StripeObject
|
444
|
+
class DisplayPreference < Stripe::StripeObject
|
445
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
446
|
+
attr_reader :overridable
|
447
|
+
|
448
|
+
# The account's display preference.
|
449
|
+
attr_reader :preference
|
450
|
+
|
451
|
+
# The effective display preference value.
|
452
|
+
attr_reader :value
|
453
|
+
end
|
454
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
455
|
+
attr_reader :available
|
456
|
+
|
457
|
+
# Attribute for field display_preference
|
458
|
+
attr_reader :display_preference
|
459
|
+
end
|
460
|
+
|
461
|
+
class Jcb < Stripe::StripeObject
|
462
|
+
class DisplayPreference < Stripe::StripeObject
|
463
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
464
|
+
attr_reader :overridable
|
465
|
+
|
466
|
+
# The account's display preference.
|
467
|
+
attr_reader :preference
|
468
|
+
|
469
|
+
# The effective display preference value.
|
470
|
+
attr_reader :value
|
471
|
+
end
|
472
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
473
|
+
attr_reader :available
|
474
|
+
|
475
|
+
# Attribute for field display_preference
|
476
|
+
attr_reader :display_preference
|
477
|
+
end
|
478
|
+
|
479
|
+
class Klarna < Stripe::StripeObject
|
480
|
+
class DisplayPreference < Stripe::StripeObject
|
481
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
482
|
+
attr_reader :overridable
|
483
|
+
|
484
|
+
# The account's display preference.
|
485
|
+
attr_reader :preference
|
486
|
+
|
487
|
+
# The effective display preference value.
|
488
|
+
attr_reader :value
|
489
|
+
end
|
490
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
491
|
+
attr_reader :available
|
492
|
+
|
493
|
+
# Attribute for field display_preference
|
494
|
+
attr_reader :display_preference
|
495
|
+
end
|
496
|
+
|
497
|
+
class Konbini < Stripe::StripeObject
|
498
|
+
class DisplayPreference < Stripe::StripeObject
|
499
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
500
|
+
attr_reader :overridable
|
501
|
+
|
502
|
+
# The account's display preference.
|
503
|
+
attr_reader :preference
|
504
|
+
|
505
|
+
# The effective display preference value.
|
506
|
+
attr_reader :value
|
507
|
+
end
|
508
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
509
|
+
attr_reader :available
|
510
|
+
|
511
|
+
# Attribute for field display_preference
|
512
|
+
attr_reader :display_preference
|
513
|
+
end
|
514
|
+
|
515
|
+
class Link < Stripe::StripeObject
|
516
|
+
class DisplayPreference < Stripe::StripeObject
|
517
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
518
|
+
attr_reader :overridable
|
519
|
+
|
520
|
+
# The account's display preference.
|
521
|
+
attr_reader :preference
|
522
|
+
|
523
|
+
# The effective display preference value.
|
524
|
+
attr_reader :value
|
525
|
+
end
|
526
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
527
|
+
attr_reader :available
|
528
|
+
|
529
|
+
# Attribute for field display_preference
|
530
|
+
attr_reader :display_preference
|
531
|
+
end
|
532
|
+
|
533
|
+
class Mobilepay < Stripe::StripeObject
|
534
|
+
class DisplayPreference < Stripe::StripeObject
|
535
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
536
|
+
attr_reader :overridable
|
537
|
+
|
538
|
+
# The account's display preference.
|
539
|
+
attr_reader :preference
|
540
|
+
|
541
|
+
# The effective display preference value.
|
542
|
+
attr_reader :value
|
543
|
+
end
|
544
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
545
|
+
attr_reader :available
|
546
|
+
|
547
|
+
# Attribute for field display_preference
|
548
|
+
attr_reader :display_preference
|
549
|
+
end
|
550
|
+
|
551
|
+
class Multibanco < Stripe::StripeObject
|
552
|
+
class DisplayPreference < Stripe::StripeObject
|
553
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
554
|
+
attr_reader :overridable
|
555
|
+
|
556
|
+
# The account's display preference.
|
557
|
+
attr_reader :preference
|
558
|
+
|
559
|
+
# The effective display preference value.
|
560
|
+
attr_reader :value
|
561
|
+
end
|
562
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
563
|
+
attr_reader :available
|
564
|
+
|
565
|
+
# Attribute for field display_preference
|
566
|
+
attr_reader :display_preference
|
567
|
+
end
|
568
|
+
|
569
|
+
class Oxxo < Stripe::StripeObject
|
570
|
+
class DisplayPreference < Stripe::StripeObject
|
571
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
572
|
+
attr_reader :overridable
|
573
|
+
|
574
|
+
# The account's display preference.
|
575
|
+
attr_reader :preference
|
576
|
+
|
577
|
+
# The effective display preference value.
|
578
|
+
attr_reader :value
|
579
|
+
end
|
580
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
581
|
+
attr_reader :available
|
582
|
+
|
583
|
+
# Attribute for field display_preference
|
584
|
+
attr_reader :display_preference
|
585
|
+
end
|
586
|
+
|
587
|
+
class P24 < Stripe::StripeObject
|
588
|
+
class DisplayPreference < Stripe::StripeObject
|
589
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
590
|
+
attr_reader :overridable
|
591
|
+
|
592
|
+
# The account's display preference.
|
593
|
+
attr_reader :preference
|
594
|
+
|
595
|
+
# The effective display preference value.
|
596
|
+
attr_reader :value
|
597
|
+
end
|
598
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
599
|
+
attr_reader :available
|
600
|
+
|
601
|
+
# Attribute for field display_preference
|
602
|
+
attr_reader :display_preference
|
603
|
+
end
|
604
|
+
|
605
|
+
class Paynow < Stripe::StripeObject
|
606
|
+
class DisplayPreference < Stripe::StripeObject
|
607
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
608
|
+
attr_reader :overridable
|
609
|
+
|
610
|
+
# The account's display preference.
|
611
|
+
attr_reader :preference
|
612
|
+
|
613
|
+
# The effective display preference value.
|
614
|
+
attr_reader :value
|
615
|
+
end
|
616
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
617
|
+
attr_reader :available
|
618
|
+
|
619
|
+
# Attribute for field display_preference
|
620
|
+
attr_reader :display_preference
|
621
|
+
end
|
622
|
+
|
623
|
+
class Paypal < Stripe::StripeObject
|
624
|
+
class DisplayPreference < Stripe::StripeObject
|
625
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
626
|
+
attr_reader :overridable
|
627
|
+
|
628
|
+
# The account's display preference.
|
629
|
+
attr_reader :preference
|
630
|
+
|
631
|
+
# The effective display preference value.
|
632
|
+
attr_reader :value
|
633
|
+
end
|
634
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
635
|
+
attr_reader :available
|
636
|
+
|
637
|
+
# Attribute for field display_preference
|
638
|
+
attr_reader :display_preference
|
639
|
+
end
|
640
|
+
|
641
|
+
class Payto < Stripe::StripeObject
|
642
|
+
class DisplayPreference < Stripe::StripeObject
|
643
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
644
|
+
attr_reader :overridable
|
645
|
+
|
646
|
+
# The account's display preference.
|
647
|
+
attr_reader :preference
|
648
|
+
|
649
|
+
# The effective display preference value.
|
650
|
+
attr_reader :value
|
651
|
+
end
|
652
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
653
|
+
attr_reader :available
|
654
|
+
|
655
|
+
# Attribute for field display_preference
|
656
|
+
attr_reader :display_preference
|
657
|
+
end
|
658
|
+
|
659
|
+
class Promptpay < Stripe::StripeObject
|
660
|
+
class DisplayPreference < Stripe::StripeObject
|
661
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
662
|
+
attr_reader :overridable
|
663
|
+
|
664
|
+
# The account's display preference.
|
665
|
+
attr_reader :preference
|
666
|
+
|
667
|
+
# The effective display preference value.
|
668
|
+
attr_reader :value
|
669
|
+
end
|
670
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
671
|
+
attr_reader :available
|
672
|
+
|
673
|
+
# Attribute for field display_preference
|
674
|
+
attr_reader :display_preference
|
675
|
+
end
|
676
|
+
|
677
|
+
class Qris < Stripe::StripeObject
|
678
|
+
class DisplayPreference < Stripe::StripeObject
|
679
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
680
|
+
attr_reader :overridable
|
681
|
+
|
682
|
+
# The account's display preference.
|
683
|
+
attr_reader :preference
|
684
|
+
|
685
|
+
# The effective display preference value.
|
686
|
+
attr_reader :value
|
687
|
+
end
|
688
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
689
|
+
attr_reader :available
|
690
|
+
|
691
|
+
# Attribute for field display_preference
|
692
|
+
attr_reader :display_preference
|
693
|
+
end
|
694
|
+
|
695
|
+
class RevolutPay < Stripe::StripeObject
|
696
|
+
class DisplayPreference < Stripe::StripeObject
|
697
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
698
|
+
attr_reader :overridable
|
699
|
+
|
700
|
+
# The account's display preference.
|
701
|
+
attr_reader :preference
|
702
|
+
|
703
|
+
# The effective display preference value.
|
704
|
+
attr_reader :value
|
705
|
+
end
|
706
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
707
|
+
attr_reader :available
|
708
|
+
|
709
|
+
# Attribute for field display_preference
|
710
|
+
attr_reader :display_preference
|
711
|
+
end
|
712
|
+
|
713
|
+
class SepaDebit < Stripe::StripeObject
|
714
|
+
class DisplayPreference < Stripe::StripeObject
|
715
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
716
|
+
attr_reader :overridable
|
717
|
+
|
718
|
+
# The account's display preference.
|
719
|
+
attr_reader :preference
|
720
|
+
|
721
|
+
# The effective display preference value.
|
722
|
+
attr_reader :value
|
723
|
+
end
|
724
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
725
|
+
attr_reader :available
|
726
|
+
|
727
|
+
# Attribute for field display_preference
|
728
|
+
attr_reader :display_preference
|
729
|
+
end
|
730
|
+
|
731
|
+
class Shopeepay < Stripe::StripeObject
|
732
|
+
class DisplayPreference < Stripe::StripeObject
|
733
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
734
|
+
attr_reader :overridable
|
735
|
+
|
736
|
+
# The account's display preference.
|
737
|
+
attr_reader :preference
|
738
|
+
|
739
|
+
# The effective display preference value.
|
740
|
+
attr_reader :value
|
741
|
+
end
|
742
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
743
|
+
attr_reader :available
|
744
|
+
|
745
|
+
# Attribute for field display_preference
|
746
|
+
attr_reader :display_preference
|
747
|
+
end
|
748
|
+
|
749
|
+
class Sofort < Stripe::StripeObject
|
750
|
+
class DisplayPreference < Stripe::StripeObject
|
751
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
752
|
+
attr_reader :overridable
|
753
|
+
|
754
|
+
# The account's display preference.
|
755
|
+
attr_reader :preference
|
756
|
+
|
757
|
+
# The effective display preference value.
|
758
|
+
attr_reader :value
|
759
|
+
end
|
760
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
761
|
+
attr_reader :available
|
762
|
+
|
763
|
+
# Attribute for field display_preference
|
764
|
+
attr_reader :display_preference
|
765
|
+
end
|
766
|
+
|
767
|
+
class Swish < Stripe::StripeObject
|
768
|
+
class DisplayPreference < Stripe::StripeObject
|
769
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
770
|
+
attr_reader :overridable
|
771
|
+
|
772
|
+
# The account's display preference.
|
773
|
+
attr_reader :preference
|
774
|
+
|
775
|
+
# The effective display preference value.
|
776
|
+
attr_reader :value
|
777
|
+
end
|
778
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
779
|
+
attr_reader :available
|
780
|
+
|
781
|
+
# Attribute for field display_preference
|
782
|
+
attr_reader :display_preference
|
783
|
+
end
|
784
|
+
|
785
|
+
class Twint < Stripe::StripeObject
|
786
|
+
class DisplayPreference < Stripe::StripeObject
|
787
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
788
|
+
attr_reader :overridable
|
789
|
+
|
790
|
+
# The account's display preference.
|
791
|
+
attr_reader :preference
|
792
|
+
|
793
|
+
# The effective display preference value.
|
794
|
+
attr_reader :value
|
795
|
+
end
|
796
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
797
|
+
attr_reader :available
|
798
|
+
|
799
|
+
# Attribute for field display_preference
|
800
|
+
attr_reader :display_preference
|
801
|
+
end
|
802
|
+
|
803
|
+
class UsBankAccount < Stripe::StripeObject
|
804
|
+
class DisplayPreference < Stripe::StripeObject
|
805
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
806
|
+
attr_reader :overridable
|
807
|
+
|
808
|
+
# The account's display preference.
|
809
|
+
attr_reader :preference
|
810
|
+
|
811
|
+
# The effective display preference value.
|
812
|
+
attr_reader :value
|
813
|
+
end
|
814
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
815
|
+
attr_reader :available
|
816
|
+
|
817
|
+
# Attribute for field display_preference
|
818
|
+
attr_reader :display_preference
|
819
|
+
end
|
820
|
+
|
821
|
+
class WechatPay < Stripe::StripeObject
|
822
|
+
class DisplayPreference < Stripe::StripeObject
|
823
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
824
|
+
attr_reader :overridable
|
825
|
+
|
826
|
+
# The account's display preference.
|
827
|
+
attr_reader :preference
|
828
|
+
|
829
|
+
# The effective display preference value.
|
830
|
+
attr_reader :value
|
831
|
+
end
|
832
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
833
|
+
attr_reader :available
|
834
|
+
|
835
|
+
# Attribute for field display_preference
|
836
|
+
attr_reader :display_preference
|
837
|
+
end
|
838
|
+
|
839
|
+
class Zip < Stripe::StripeObject
|
840
|
+
class DisplayPreference < Stripe::StripeObject
|
841
|
+
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
842
|
+
attr_reader :overridable
|
843
|
+
|
844
|
+
# The account's display preference.
|
845
|
+
attr_reader :preference
|
846
|
+
|
847
|
+
# The effective display preference value.
|
848
|
+
attr_reader :value
|
849
|
+
end
|
850
|
+
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
851
|
+
attr_reader :available
|
852
|
+
|
853
|
+
# Attribute for field display_preference
|
854
|
+
attr_reader :display_preference
|
855
|
+
end
|
856
|
+
|
857
|
+
class ListParams < Stripe::RequestParams
|
858
|
+
# The Connect application to filter by.
|
859
|
+
attr_accessor :application
|
860
|
+
|
861
|
+
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
862
|
+
attr_accessor :ending_before
|
863
|
+
|
864
|
+
# Specifies which fields in the response should be expanded.
|
865
|
+
attr_accessor :expand
|
866
|
+
|
867
|
+
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
868
|
+
attr_accessor :limit
|
869
|
+
|
870
|
+
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
871
|
+
attr_accessor :starting_after
|
872
|
+
|
873
|
+
def initialize(
|
874
|
+
application: nil,
|
875
|
+
ending_before: nil,
|
876
|
+
expand: nil,
|
877
|
+
limit: nil,
|
878
|
+
starting_after: nil
|
879
|
+
)
|
880
|
+
@application = application
|
881
|
+
@ending_before = ending_before
|
882
|
+
@expand = expand
|
883
|
+
@limit = limit
|
884
|
+
@starting_after = starting_after
|
885
|
+
end
|
886
|
+
end
|
887
|
+
|
888
|
+
class CreateParams < Stripe::RequestParams
|
889
|
+
class AcssDebit < Stripe::RequestParams
|
890
|
+
class DisplayPreference < Stripe::RequestParams
|
891
|
+
# The account's preference for whether or not to display this payment method.
|
892
|
+
attr_accessor :preference
|
893
|
+
|
894
|
+
def initialize(preference: nil)
|
895
|
+
@preference = preference
|
896
|
+
end
|
897
|
+
end
|
898
|
+
# Whether or not the payment method should be displayed.
|
899
|
+
attr_accessor :display_preference
|
900
|
+
|
901
|
+
def initialize(display_preference: nil)
|
902
|
+
@display_preference = display_preference
|
903
|
+
end
|
904
|
+
end
|
905
|
+
|
906
|
+
class Affirm < Stripe::RequestParams
|
907
|
+
class DisplayPreference < Stripe::RequestParams
|
908
|
+
# The account's preference for whether or not to display this payment method.
|
909
|
+
attr_accessor :preference
|
910
|
+
|
911
|
+
def initialize(preference: nil)
|
912
|
+
@preference = preference
|
913
|
+
end
|
914
|
+
end
|
915
|
+
# Whether or not the payment method should be displayed.
|
916
|
+
attr_accessor :display_preference
|
917
|
+
|
918
|
+
def initialize(display_preference: nil)
|
919
|
+
@display_preference = display_preference
|
920
|
+
end
|
921
|
+
end
|
922
|
+
|
923
|
+
class AfterpayClearpay < Stripe::RequestParams
|
924
|
+
class DisplayPreference < Stripe::RequestParams
|
925
|
+
# The account's preference for whether or not to display this payment method.
|
926
|
+
attr_accessor :preference
|
927
|
+
|
928
|
+
def initialize(preference: nil)
|
929
|
+
@preference = preference
|
930
|
+
end
|
931
|
+
end
|
932
|
+
# Whether or not the payment method should be displayed.
|
933
|
+
attr_accessor :display_preference
|
934
|
+
|
935
|
+
def initialize(display_preference: nil)
|
936
|
+
@display_preference = display_preference
|
937
|
+
end
|
938
|
+
end
|
939
|
+
|
940
|
+
class Alipay < Stripe::RequestParams
|
941
|
+
class DisplayPreference < Stripe::RequestParams
|
942
|
+
# The account's preference for whether or not to display this payment method.
|
943
|
+
attr_accessor :preference
|
944
|
+
|
945
|
+
def initialize(preference: nil)
|
946
|
+
@preference = preference
|
947
|
+
end
|
948
|
+
end
|
949
|
+
# Whether or not the payment method should be displayed.
|
950
|
+
attr_accessor :display_preference
|
951
|
+
|
952
|
+
def initialize(display_preference: nil)
|
953
|
+
@display_preference = display_preference
|
954
|
+
end
|
955
|
+
end
|
956
|
+
|
957
|
+
class Alma < Stripe::RequestParams
|
958
|
+
class DisplayPreference < Stripe::RequestParams
|
959
|
+
# The account's preference for whether or not to display this payment method.
|
960
|
+
attr_accessor :preference
|
961
|
+
|
962
|
+
def initialize(preference: nil)
|
963
|
+
@preference = preference
|
964
|
+
end
|
965
|
+
end
|
966
|
+
# Whether or not the payment method should be displayed.
|
967
|
+
attr_accessor :display_preference
|
968
|
+
|
969
|
+
def initialize(display_preference: nil)
|
970
|
+
@display_preference = display_preference
|
971
|
+
end
|
972
|
+
end
|
973
|
+
|
974
|
+
class AmazonPay < Stripe::RequestParams
|
975
|
+
class DisplayPreference < Stripe::RequestParams
|
976
|
+
# The account's preference for whether or not to display this payment method.
|
977
|
+
attr_accessor :preference
|
978
|
+
|
979
|
+
def initialize(preference: nil)
|
980
|
+
@preference = preference
|
981
|
+
end
|
982
|
+
end
|
983
|
+
# Whether or not the payment method should be displayed.
|
984
|
+
attr_accessor :display_preference
|
985
|
+
|
986
|
+
def initialize(display_preference: nil)
|
987
|
+
@display_preference = display_preference
|
988
|
+
end
|
989
|
+
end
|
990
|
+
|
991
|
+
class ApplePay < Stripe::RequestParams
|
992
|
+
class DisplayPreference < Stripe::RequestParams
|
993
|
+
# The account's preference for whether or not to display this payment method.
|
994
|
+
attr_accessor :preference
|
995
|
+
|
996
|
+
def initialize(preference: nil)
|
997
|
+
@preference = preference
|
998
|
+
end
|
999
|
+
end
|
1000
|
+
# Whether or not the payment method should be displayed.
|
1001
|
+
attr_accessor :display_preference
|
1002
|
+
|
1003
|
+
def initialize(display_preference: nil)
|
1004
|
+
@display_preference = display_preference
|
1005
|
+
end
|
1006
|
+
end
|
1007
|
+
|
1008
|
+
class ApplePayLater < Stripe::RequestParams
|
1009
|
+
class DisplayPreference < Stripe::RequestParams
|
1010
|
+
# The account's preference for whether or not to display this payment method.
|
1011
|
+
attr_accessor :preference
|
1012
|
+
|
1013
|
+
def initialize(preference: nil)
|
1014
|
+
@preference = preference
|
1015
|
+
end
|
1016
|
+
end
|
1017
|
+
# Whether or not the payment method should be displayed.
|
1018
|
+
attr_accessor :display_preference
|
1019
|
+
|
1020
|
+
def initialize(display_preference: nil)
|
1021
|
+
@display_preference = display_preference
|
1022
|
+
end
|
1023
|
+
end
|
1024
|
+
|
1025
|
+
class AuBecsDebit < Stripe::RequestParams
|
1026
|
+
class DisplayPreference < Stripe::RequestParams
|
1027
|
+
# The account's preference for whether or not to display this payment method.
|
1028
|
+
attr_accessor :preference
|
1029
|
+
|
1030
|
+
def initialize(preference: nil)
|
1031
|
+
@preference = preference
|
1032
|
+
end
|
1033
|
+
end
|
1034
|
+
# Whether or not the payment method should be displayed.
|
1035
|
+
attr_accessor :display_preference
|
1036
|
+
|
1037
|
+
def initialize(display_preference: nil)
|
1038
|
+
@display_preference = display_preference
|
1039
|
+
end
|
1040
|
+
end
|
1041
|
+
|
1042
|
+
class BacsDebit < Stripe::RequestParams
|
1043
|
+
class DisplayPreference < Stripe::RequestParams
|
1044
|
+
# The account's preference for whether or not to display this payment method.
|
1045
|
+
attr_accessor :preference
|
1046
|
+
|
1047
|
+
def initialize(preference: nil)
|
1048
|
+
@preference = preference
|
1049
|
+
end
|
1050
|
+
end
|
1051
|
+
# Whether or not the payment method should be displayed.
|
1052
|
+
attr_accessor :display_preference
|
1053
|
+
|
1054
|
+
def initialize(display_preference: nil)
|
1055
|
+
@display_preference = display_preference
|
1056
|
+
end
|
1057
|
+
end
|
1058
|
+
|
1059
|
+
class Bancontact < Stripe::RequestParams
|
1060
|
+
class DisplayPreference < Stripe::RequestParams
|
1061
|
+
# The account's preference for whether or not to display this payment method.
|
1062
|
+
attr_accessor :preference
|
1063
|
+
|
1064
|
+
def initialize(preference: nil)
|
1065
|
+
@preference = preference
|
1066
|
+
end
|
1067
|
+
end
|
1068
|
+
# Whether or not the payment method should be displayed.
|
1069
|
+
attr_accessor :display_preference
|
1070
|
+
|
1071
|
+
def initialize(display_preference: nil)
|
1072
|
+
@display_preference = display_preference
|
1073
|
+
end
|
1074
|
+
end
|
1075
|
+
|
1076
|
+
class Blik < Stripe::RequestParams
|
1077
|
+
class DisplayPreference < Stripe::RequestParams
|
1078
|
+
# The account's preference for whether or not to display this payment method.
|
1079
|
+
attr_accessor :preference
|
1080
|
+
|
1081
|
+
def initialize(preference: nil)
|
1082
|
+
@preference = preference
|
1083
|
+
end
|
1084
|
+
end
|
1085
|
+
# Whether or not the payment method should be displayed.
|
1086
|
+
attr_accessor :display_preference
|
1087
|
+
|
1088
|
+
def initialize(display_preference: nil)
|
1089
|
+
@display_preference = display_preference
|
1090
|
+
end
|
1091
|
+
end
|
1092
|
+
|
1093
|
+
class Boleto < Stripe::RequestParams
|
1094
|
+
class DisplayPreference < Stripe::RequestParams
|
1095
|
+
# The account's preference for whether or not to display this payment method.
|
1096
|
+
attr_accessor :preference
|
1097
|
+
|
1098
|
+
def initialize(preference: nil)
|
1099
|
+
@preference = preference
|
1100
|
+
end
|
1101
|
+
end
|
1102
|
+
# Whether or not the payment method should be displayed.
|
1103
|
+
attr_accessor :display_preference
|
1104
|
+
|
1105
|
+
def initialize(display_preference: nil)
|
1106
|
+
@display_preference = display_preference
|
1107
|
+
end
|
1108
|
+
end
|
1109
|
+
|
1110
|
+
class Card < Stripe::RequestParams
|
1111
|
+
class DisplayPreference < Stripe::RequestParams
|
1112
|
+
# The account's preference for whether or not to display this payment method.
|
1113
|
+
attr_accessor :preference
|
1114
|
+
|
1115
|
+
def initialize(preference: nil)
|
1116
|
+
@preference = preference
|
1117
|
+
end
|
1118
|
+
end
|
1119
|
+
# Whether or not the payment method should be displayed.
|
1120
|
+
attr_accessor :display_preference
|
1121
|
+
|
1122
|
+
def initialize(display_preference: nil)
|
1123
|
+
@display_preference = display_preference
|
1124
|
+
end
|
1125
|
+
end
|
1126
|
+
|
1127
|
+
class CartesBancaires < Stripe::RequestParams
|
1128
|
+
class DisplayPreference < Stripe::RequestParams
|
1129
|
+
# The account's preference for whether or not to display this payment method.
|
1130
|
+
attr_accessor :preference
|
1131
|
+
|
1132
|
+
def initialize(preference: nil)
|
1133
|
+
@preference = preference
|
1134
|
+
end
|
1135
|
+
end
|
1136
|
+
# Whether or not the payment method should be displayed.
|
1137
|
+
attr_accessor :display_preference
|
1138
|
+
|
1139
|
+
def initialize(display_preference: nil)
|
1140
|
+
@display_preference = display_preference
|
1141
|
+
end
|
1142
|
+
end
|
1143
|
+
|
1144
|
+
class Cashapp < Stripe::RequestParams
|
1145
|
+
class DisplayPreference < Stripe::RequestParams
|
1146
|
+
# The account's preference for whether or not to display this payment method.
|
1147
|
+
attr_accessor :preference
|
1148
|
+
|
1149
|
+
def initialize(preference: nil)
|
1150
|
+
@preference = preference
|
1151
|
+
end
|
1152
|
+
end
|
1153
|
+
# Whether or not the payment method should be displayed.
|
1154
|
+
attr_accessor :display_preference
|
1155
|
+
|
1156
|
+
def initialize(display_preference: nil)
|
1157
|
+
@display_preference = display_preference
|
1158
|
+
end
|
1159
|
+
end
|
1160
|
+
|
1161
|
+
class CustomerBalance < Stripe::RequestParams
|
1162
|
+
class DisplayPreference < Stripe::RequestParams
|
1163
|
+
# The account's preference for whether or not to display this payment method.
|
1164
|
+
attr_accessor :preference
|
1165
|
+
|
1166
|
+
def initialize(preference: nil)
|
1167
|
+
@preference = preference
|
1168
|
+
end
|
1169
|
+
end
|
1170
|
+
# Whether or not the payment method should be displayed.
|
1171
|
+
attr_accessor :display_preference
|
1172
|
+
|
1173
|
+
def initialize(display_preference: nil)
|
1174
|
+
@display_preference = display_preference
|
1175
|
+
end
|
1176
|
+
end
|
1177
|
+
|
1178
|
+
class Eps < Stripe::RequestParams
|
1179
|
+
class DisplayPreference < Stripe::RequestParams
|
1180
|
+
# The account's preference for whether or not to display this payment method.
|
1181
|
+
attr_accessor :preference
|
1182
|
+
|
1183
|
+
def initialize(preference: nil)
|
1184
|
+
@preference = preference
|
1185
|
+
end
|
1186
|
+
end
|
1187
|
+
# Whether or not the payment method should be displayed.
|
1188
|
+
attr_accessor :display_preference
|
1189
|
+
|
1190
|
+
def initialize(display_preference: nil)
|
1191
|
+
@display_preference = display_preference
|
1192
|
+
end
|
1193
|
+
end
|
1194
|
+
|
1195
|
+
class Fpx < Stripe::RequestParams
|
1196
|
+
class DisplayPreference < Stripe::RequestParams
|
1197
|
+
# The account's preference for whether or not to display this payment method.
|
1198
|
+
attr_accessor :preference
|
1199
|
+
|
1200
|
+
def initialize(preference: nil)
|
1201
|
+
@preference = preference
|
1202
|
+
end
|
1203
|
+
end
|
1204
|
+
# Whether or not the payment method should be displayed.
|
1205
|
+
attr_accessor :display_preference
|
1206
|
+
|
1207
|
+
def initialize(display_preference: nil)
|
1208
|
+
@display_preference = display_preference
|
1209
|
+
end
|
1210
|
+
end
|
1211
|
+
|
1212
|
+
class Giropay < Stripe::RequestParams
|
1213
|
+
class DisplayPreference < Stripe::RequestParams
|
1214
|
+
# The account's preference for whether or not to display this payment method.
|
1215
|
+
attr_accessor :preference
|
1216
|
+
|
1217
|
+
def initialize(preference: nil)
|
1218
|
+
@preference = preference
|
1219
|
+
end
|
1220
|
+
end
|
1221
|
+
# Whether or not the payment method should be displayed.
|
1222
|
+
attr_accessor :display_preference
|
1223
|
+
|
1224
|
+
def initialize(display_preference: nil)
|
1225
|
+
@display_preference = display_preference
|
1226
|
+
end
|
1227
|
+
end
|
1228
|
+
|
1229
|
+
class GooglePay < Stripe::RequestParams
|
1230
|
+
class DisplayPreference < Stripe::RequestParams
|
1231
|
+
# The account's preference for whether or not to display this payment method.
|
1232
|
+
attr_accessor :preference
|
1233
|
+
|
1234
|
+
def initialize(preference: nil)
|
1235
|
+
@preference = preference
|
1236
|
+
end
|
1237
|
+
end
|
1238
|
+
# Whether or not the payment method should be displayed.
|
1239
|
+
attr_accessor :display_preference
|
1240
|
+
|
1241
|
+
def initialize(display_preference: nil)
|
1242
|
+
@display_preference = display_preference
|
1243
|
+
end
|
1244
|
+
end
|
1245
|
+
|
1246
|
+
class Gopay < Stripe::RequestParams
|
1247
|
+
class DisplayPreference < Stripe::RequestParams
|
1248
|
+
# The account's preference for whether or not to display this payment method.
|
1249
|
+
attr_accessor :preference
|
1250
|
+
|
1251
|
+
def initialize(preference: nil)
|
1252
|
+
@preference = preference
|
1253
|
+
end
|
1254
|
+
end
|
1255
|
+
# Whether or not the payment method should be displayed.
|
1256
|
+
attr_accessor :display_preference
|
1257
|
+
|
1258
|
+
def initialize(display_preference: nil)
|
1259
|
+
@display_preference = display_preference
|
1260
|
+
end
|
1261
|
+
end
|
1262
|
+
|
1263
|
+
class Grabpay < Stripe::RequestParams
|
1264
|
+
class DisplayPreference < Stripe::RequestParams
|
1265
|
+
# The account's preference for whether or not to display this payment method.
|
1266
|
+
attr_accessor :preference
|
1267
|
+
|
1268
|
+
def initialize(preference: nil)
|
1269
|
+
@preference = preference
|
1270
|
+
end
|
1271
|
+
end
|
1272
|
+
# Whether or not the payment method should be displayed.
|
1273
|
+
attr_accessor :display_preference
|
1274
|
+
|
1275
|
+
def initialize(display_preference: nil)
|
1276
|
+
@display_preference = display_preference
|
1277
|
+
end
|
1278
|
+
end
|
1279
|
+
|
1280
|
+
class IdBankTransfer < Stripe::RequestParams
|
1281
|
+
class DisplayPreference < Stripe::RequestParams
|
1282
|
+
# The account's preference for whether or not to display this payment method.
|
1283
|
+
attr_accessor :preference
|
1284
|
+
|
1285
|
+
def initialize(preference: nil)
|
1286
|
+
@preference = preference
|
1287
|
+
end
|
1288
|
+
end
|
1289
|
+
# Whether or not the payment method should be displayed.
|
1290
|
+
attr_accessor :display_preference
|
1291
|
+
|
1292
|
+
def initialize(display_preference: nil)
|
1293
|
+
@display_preference = display_preference
|
1294
|
+
end
|
1295
|
+
end
|
1296
|
+
|
1297
|
+
class Ideal < Stripe::RequestParams
|
1298
|
+
class DisplayPreference < Stripe::RequestParams
|
1299
|
+
# The account's preference for whether or not to display this payment method.
|
1300
|
+
attr_accessor :preference
|
1301
|
+
|
1302
|
+
def initialize(preference: nil)
|
1303
|
+
@preference = preference
|
1304
|
+
end
|
1305
|
+
end
|
1306
|
+
# Whether or not the payment method should be displayed.
|
1307
|
+
attr_accessor :display_preference
|
1308
|
+
|
1309
|
+
def initialize(display_preference: nil)
|
1310
|
+
@display_preference = display_preference
|
1311
|
+
end
|
1312
|
+
end
|
1313
|
+
|
1314
|
+
class Jcb < Stripe::RequestParams
|
1315
|
+
class DisplayPreference < Stripe::RequestParams
|
1316
|
+
# The account's preference for whether or not to display this payment method.
|
1317
|
+
attr_accessor :preference
|
1318
|
+
|
1319
|
+
def initialize(preference: nil)
|
1320
|
+
@preference = preference
|
1321
|
+
end
|
1322
|
+
end
|
1323
|
+
# Whether or not the payment method should be displayed.
|
1324
|
+
attr_accessor :display_preference
|
1325
|
+
|
1326
|
+
def initialize(display_preference: nil)
|
1327
|
+
@display_preference = display_preference
|
1328
|
+
end
|
1329
|
+
end
|
1330
|
+
|
1331
|
+
class Klarna < Stripe::RequestParams
|
1332
|
+
class DisplayPreference < Stripe::RequestParams
|
1333
|
+
# The account's preference for whether or not to display this payment method.
|
1334
|
+
attr_accessor :preference
|
1335
|
+
|
1336
|
+
def initialize(preference: nil)
|
1337
|
+
@preference = preference
|
1338
|
+
end
|
1339
|
+
end
|
1340
|
+
# Whether or not the payment method should be displayed.
|
1341
|
+
attr_accessor :display_preference
|
1342
|
+
|
1343
|
+
def initialize(display_preference: nil)
|
1344
|
+
@display_preference = display_preference
|
1345
|
+
end
|
1346
|
+
end
|
1347
|
+
|
1348
|
+
class Konbini < Stripe::RequestParams
|
1349
|
+
class DisplayPreference < Stripe::RequestParams
|
1350
|
+
# The account's preference for whether or not to display this payment method.
|
1351
|
+
attr_accessor :preference
|
1352
|
+
|
1353
|
+
def initialize(preference: nil)
|
1354
|
+
@preference = preference
|
1355
|
+
end
|
1356
|
+
end
|
1357
|
+
# Whether or not the payment method should be displayed.
|
1358
|
+
attr_accessor :display_preference
|
1359
|
+
|
1360
|
+
def initialize(display_preference: nil)
|
1361
|
+
@display_preference = display_preference
|
1362
|
+
end
|
1363
|
+
end
|
1364
|
+
|
1365
|
+
class Link < Stripe::RequestParams
|
1366
|
+
class DisplayPreference < Stripe::RequestParams
|
1367
|
+
# The account's preference for whether or not to display this payment method.
|
1368
|
+
attr_accessor :preference
|
1369
|
+
|
1370
|
+
def initialize(preference: nil)
|
1371
|
+
@preference = preference
|
1372
|
+
end
|
1373
|
+
end
|
1374
|
+
# Whether or not the payment method should be displayed.
|
1375
|
+
attr_accessor :display_preference
|
1376
|
+
|
1377
|
+
def initialize(display_preference: nil)
|
1378
|
+
@display_preference = display_preference
|
1379
|
+
end
|
1380
|
+
end
|
1381
|
+
|
1382
|
+
class Mobilepay < Stripe::RequestParams
|
1383
|
+
class DisplayPreference < Stripe::RequestParams
|
1384
|
+
# The account's preference for whether or not to display this payment method.
|
1385
|
+
attr_accessor :preference
|
1386
|
+
|
1387
|
+
def initialize(preference: nil)
|
1388
|
+
@preference = preference
|
1389
|
+
end
|
1390
|
+
end
|
1391
|
+
# Whether or not the payment method should be displayed.
|
1392
|
+
attr_accessor :display_preference
|
1393
|
+
|
1394
|
+
def initialize(display_preference: nil)
|
1395
|
+
@display_preference = display_preference
|
1396
|
+
end
|
1397
|
+
end
|
1398
|
+
|
1399
|
+
class Multibanco < Stripe::RequestParams
|
1400
|
+
class DisplayPreference < Stripe::RequestParams
|
1401
|
+
# The account's preference for whether or not to display this payment method.
|
1402
|
+
attr_accessor :preference
|
1403
|
+
|
1404
|
+
def initialize(preference: nil)
|
1405
|
+
@preference = preference
|
1406
|
+
end
|
1407
|
+
end
|
1408
|
+
# Whether or not the payment method should be displayed.
|
1409
|
+
attr_accessor :display_preference
|
1410
|
+
|
1411
|
+
def initialize(display_preference: nil)
|
1412
|
+
@display_preference = display_preference
|
1413
|
+
end
|
1414
|
+
end
|
1415
|
+
|
1416
|
+
class Oxxo < Stripe::RequestParams
|
1417
|
+
class DisplayPreference < Stripe::RequestParams
|
1418
|
+
# The account's preference for whether or not to display this payment method.
|
1419
|
+
attr_accessor :preference
|
1420
|
+
|
1421
|
+
def initialize(preference: nil)
|
1422
|
+
@preference = preference
|
1423
|
+
end
|
1424
|
+
end
|
1425
|
+
# Whether or not the payment method should be displayed.
|
1426
|
+
attr_accessor :display_preference
|
1427
|
+
|
1428
|
+
def initialize(display_preference: nil)
|
1429
|
+
@display_preference = display_preference
|
1430
|
+
end
|
1431
|
+
end
|
1432
|
+
|
1433
|
+
class P24 < Stripe::RequestParams
|
1434
|
+
class DisplayPreference < Stripe::RequestParams
|
1435
|
+
# The account's preference for whether or not to display this payment method.
|
1436
|
+
attr_accessor :preference
|
1437
|
+
|
1438
|
+
def initialize(preference: nil)
|
1439
|
+
@preference = preference
|
1440
|
+
end
|
1441
|
+
end
|
1442
|
+
# Whether or not the payment method should be displayed.
|
1443
|
+
attr_accessor :display_preference
|
1444
|
+
|
1445
|
+
def initialize(display_preference: nil)
|
1446
|
+
@display_preference = display_preference
|
1447
|
+
end
|
1448
|
+
end
|
1449
|
+
|
1450
|
+
class Paynow < Stripe::RequestParams
|
1451
|
+
class DisplayPreference < Stripe::RequestParams
|
1452
|
+
# The account's preference for whether or not to display this payment method.
|
1453
|
+
attr_accessor :preference
|
1454
|
+
|
1455
|
+
def initialize(preference: nil)
|
1456
|
+
@preference = preference
|
1457
|
+
end
|
1458
|
+
end
|
1459
|
+
# Whether or not the payment method should be displayed.
|
1460
|
+
attr_accessor :display_preference
|
1461
|
+
|
1462
|
+
def initialize(display_preference: nil)
|
1463
|
+
@display_preference = display_preference
|
1464
|
+
end
|
1465
|
+
end
|
1466
|
+
|
1467
|
+
class Paypal < Stripe::RequestParams
|
1468
|
+
class DisplayPreference < Stripe::RequestParams
|
1469
|
+
# The account's preference for whether or not to display this payment method.
|
1470
|
+
attr_accessor :preference
|
1471
|
+
|
1472
|
+
def initialize(preference: nil)
|
1473
|
+
@preference = preference
|
1474
|
+
end
|
1475
|
+
end
|
1476
|
+
# Whether or not the payment method should be displayed.
|
1477
|
+
attr_accessor :display_preference
|
1478
|
+
|
1479
|
+
def initialize(display_preference: nil)
|
1480
|
+
@display_preference = display_preference
|
1481
|
+
end
|
1482
|
+
end
|
1483
|
+
|
1484
|
+
class Payto < Stripe::RequestParams
|
1485
|
+
class DisplayPreference < Stripe::RequestParams
|
1486
|
+
# The account's preference for whether or not to display this payment method.
|
1487
|
+
attr_accessor :preference
|
1488
|
+
|
1489
|
+
def initialize(preference: nil)
|
1490
|
+
@preference = preference
|
1491
|
+
end
|
1492
|
+
end
|
1493
|
+
# Whether or not the payment method should be displayed.
|
1494
|
+
attr_accessor :display_preference
|
1495
|
+
|
1496
|
+
def initialize(display_preference: nil)
|
1497
|
+
@display_preference = display_preference
|
1498
|
+
end
|
1499
|
+
end
|
1500
|
+
|
1501
|
+
class Promptpay < Stripe::RequestParams
|
1502
|
+
class DisplayPreference < Stripe::RequestParams
|
1503
|
+
# The account's preference for whether or not to display this payment method.
|
1504
|
+
attr_accessor :preference
|
1505
|
+
|
1506
|
+
def initialize(preference: nil)
|
1507
|
+
@preference = preference
|
1508
|
+
end
|
1509
|
+
end
|
1510
|
+
# Whether or not the payment method should be displayed.
|
1511
|
+
attr_accessor :display_preference
|
1512
|
+
|
1513
|
+
def initialize(display_preference: nil)
|
1514
|
+
@display_preference = display_preference
|
1515
|
+
end
|
1516
|
+
end
|
1517
|
+
|
1518
|
+
class Qris < Stripe::RequestParams
|
1519
|
+
class DisplayPreference < Stripe::RequestParams
|
1520
|
+
# The account's preference for whether or not to display this payment method.
|
1521
|
+
attr_accessor :preference
|
1522
|
+
|
1523
|
+
def initialize(preference: nil)
|
1524
|
+
@preference = preference
|
1525
|
+
end
|
1526
|
+
end
|
1527
|
+
# Whether or not the payment method should be displayed.
|
1528
|
+
attr_accessor :display_preference
|
1529
|
+
|
1530
|
+
def initialize(display_preference: nil)
|
1531
|
+
@display_preference = display_preference
|
1532
|
+
end
|
1533
|
+
end
|
1534
|
+
|
1535
|
+
class RevolutPay < Stripe::RequestParams
|
1536
|
+
class DisplayPreference < Stripe::RequestParams
|
1537
|
+
# The account's preference for whether or not to display this payment method.
|
1538
|
+
attr_accessor :preference
|
1539
|
+
|
1540
|
+
def initialize(preference: nil)
|
1541
|
+
@preference = preference
|
1542
|
+
end
|
1543
|
+
end
|
1544
|
+
# Whether or not the payment method should be displayed.
|
1545
|
+
attr_accessor :display_preference
|
1546
|
+
|
1547
|
+
def initialize(display_preference: nil)
|
1548
|
+
@display_preference = display_preference
|
1549
|
+
end
|
1550
|
+
end
|
1551
|
+
|
1552
|
+
class SepaDebit < Stripe::RequestParams
|
1553
|
+
class DisplayPreference < Stripe::RequestParams
|
1554
|
+
# The account's preference for whether or not to display this payment method.
|
1555
|
+
attr_accessor :preference
|
1556
|
+
|
1557
|
+
def initialize(preference: nil)
|
1558
|
+
@preference = preference
|
1559
|
+
end
|
1560
|
+
end
|
1561
|
+
# Whether or not the payment method should be displayed.
|
1562
|
+
attr_accessor :display_preference
|
1563
|
+
|
1564
|
+
def initialize(display_preference: nil)
|
1565
|
+
@display_preference = display_preference
|
1566
|
+
end
|
1567
|
+
end
|
1568
|
+
|
1569
|
+
class Shopeepay < Stripe::RequestParams
|
1570
|
+
class DisplayPreference < Stripe::RequestParams
|
1571
|
+
# The account's preference for whether or not to display this payment method.
|
1572
|
+
attr_accessor :preference
|
1573
|
+
|
1574
|
+
def initialize(preference: nil)
|
1575
|
+
@preference = preference
|
1576
|
+
end
|
1577
|
+
end
|
1578
|
+
# Whether or not the payment method should be displayed.
|
1579
|
+
attr_accessor :display_preference
|
1580
|
+
|
1581
|
+
def initialize(display_preference: nil)
|
1582
|
+
@display_preference = display_preference
|
1583
|
+
end
|
1584
|
+
end
|
1585
|
+
|
1586
|
+
class Sofort < Stripe::RequestParams
|
1587
|
+
class DisplayPreference < Stripe::RequestParams
|
1588
|
+
# The account's preference for whether or not to display this payment method.
|
1589
|
+
attr_accessor :preference
|
1590
|
+
|
1591
|
+
def initialize(preference: nil)
|
1592
|
+
@preference = preference
|
1593
|
+
end
|
1594
|
+
end
|
1595
|
+
# Whether or not the payment method should be displayed.
|
1596
|
+
attr_accessor :display_preference
|
1597
|
+
|
1598
|
+
def initialize(display_preference: nil)
|
1599
|
+
@display_preference = display_preference
|
1600
|
+
end
|
1601
|
+
end
|
1602
|
+
|
1603
|
+
class Swish < Stripe::RequestParams
|
1604
|
+
class DisplayPreference < Stripe::RequestParams
|
1605
|
+
# The account's preference for whether or not to display this payment method.
|
1606
|
+
attr_accessor :preference
|
1607
|
+
|
1608
|
+
def initialize(preference: nil)
|
1609
|
+
@preference = preference
|
1610
|
+
end
|
1611
|
+
end
|
1612
|
+
# Whether or not the payment method should be displayed.
|
1613
|
+
attr_accessor :display_preference
|
1614
|
+
|
1615
|
+
def initialize(display_preference: nil)
|
1616
|
+
@display_preference = display_preference
|
1617
|
+
end
|
1618
|
+
end
|
1619
|
+
|
1620
|
+
class Twint < Stripe::RequestParams
|
1621
|
+
class DisplayPreference < Stripe::RequestParams
|
1622
|
+
# The account's preference for whether or not to display this payment method.
|
1623
|
+
attr_accessor :preference
|
1624
|
+
|
1625
|
+
def initialize(preference: nil)
|
1626
|
+
@preference = preference
|
1627
|
+
end
|
1628
|
+
end
|
1629
|
+
# Whether or not the payment method should be displayed.
|
1630
|
+
attr_accessor :display_preference
|
1631
|
+
|
1632
|
+
def initialize(display_preference: nil)
|
1633
|
+
@display_preference = display_preference
|
1634
|
+
end
|
1635
|
+
end
|
1636
|
+
|
1637
|
+
class UsBankAccount < Stripe::RequestParams
|
1638
|
+
class DisplayPreference < Stripe::RequestParams
|
1639
|
+
# The account's preference for whether or not to display this payment method.
|
1640
|
+
attr_accessor :preference
|
1641
|
+
|
1642
|
+
def initialize(preference: nil)
|
1643
|
+
@preference = preference
|
1644
|
+
end
|
1645
|
+
end
|
1646
|
+
# Whether or not the payment method should be displayed.
|
1647
|
+
attr_accessor :display_preference
|
1648
|
+
|
1649
|
+
def initialize(display_preference: nil)
|
1650
|
+
@display_preference = display_preference
|
1651
|
+
end
|
1652
|
+
end
|
1653
|
+
|
1654
|
+
class WechatPay < Stripe::RequestParams
|
1655
|
+
class DisplayPreference < Stripe::RequestParams
|
1656
|
+
# The account's preference for whether or not to display this payment method.
|
1657
|
+
attr_accessor :preference
|
1658
|
+
|
1659
|
+
def initialize(preference: nil)
|
1660
|
+
@preference = preference
|
1661
|
+
end
|
1662
|
+
end
|
1663
|
+
# Whether or not the payment method should be displayed.
|
1664
|
+
attr_accessor :display_preference
|
1665
|
+
|
1666
|
+
def initialize(display_preference: nil)
|
1667
|
+
@display_preference = display_preference
|
1668
|
+
end
|
1669
|
+
end
|
1670
|
+
|
1671
|
+
class Zip < Stripe::RequestParams
|
1672
|
+
class DisplayPreference < Stripe::RequestParams
|
1673
|
+
# The account's preference for whether or not to display this payment method.
|
1674
|
+
attr_accessor :preference
|
1675
|
+
|
1676
|
+
def initialize(preference: nil)
|
1677
|
+
@preference = preference
|
1678
|
+
end
|
1679
|
+
end
|
1680
|
+
# Whether or not the payment method should be displayed.
|
1681
|
+
attr_accessor :display_preference
|
1682
|
+
|
1683
|
+
def initialize(display_preference: nil)
|
1684
|
+
@display_preference = display_preference
|
1685
|
+
end
|
1686
|
+
end
|
1687
|
+
# Canadian pre-authorized debit payments, check this [page](https://stripe.com/docs/payments/acss-debit) for more details like country availability.
|
1688
|
+
attr_accessor :acss_debit
|
1689
|
+
|
1690
|
+
# [Affirm](https://www.affirm.com/) gives your customers a way to split purchases over a series of payments. Depending on the purchase, they can pay with four interest-free payments (Split Pay) or pay over a longer term (Installments), which might include interest. Check this [page](https://stripe.com/docs/payments/affirm) for more details like country availability.
|
1691
|
+
attr_accessor :affirm
|
1692
|
+
|
1693
|
+
# Afterpay gives your customers a way to pay for purchases in installments, check this [page](https://stripe.com/docs/payments/afterpay-clearpay) for more details like country availability. Afterpay is particularly popular among businesses selling fashion, beauty, and sports products.
|
1694
|
+
attr_accessor :afterpay_clearpay
|
1695
|
+
|
1696
|
+
# Alipay is a digital wallet in China that has more than a billion active users worldwide. Alipay users can pay on the web or on a mobile device using login credentials or their Alipay app. Alipay has a low dispute rate and reduces fraud by authenticating payments using the customer's login credentials. Check this [page](https://stripe.com/docs/payments/alipay) for more details.
|
1697
|
+
attr_accessor :alipay
|
1698
|
+
|
1699
|
+
# Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments.
|
1700
|
+
attr_accessor :alma
|
1701
|
+
|
1702
|
+
# Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
|
1703
|
+
attr_accessor :amazon_pay
|
1704
|
+
|
1705
|
+
# Stripe users can accept [Apple Pay](/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
|
1706
|
+
attr_accessor :apple_pay
|
1707
|
+
|
1708
|
+
# Apple Pay Later, a payment method for customers to buy now and pay later, gives your customers a way to split purchases into four installments across six weeks.
|
1709
|
+
attr_accessor :apple_pay_later
|
1710
|
+
|
1711
|
+
# Stripe users in Australia can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with an Australian bank account. Check this [page](https://stripe.com/docs/payments/au-becs-debit) for more details.
|
1712
|
+
attr_accessor :au_becs_debit
|
1713
|
+
|
1714
|
+
# Stripe users in the UK can accept Bacs Direct Debit payments from customers with a UK bank account, check this [page](https://stripe.com/docs/payments/payment-methods/bacs-debit) for more details.
|
1715
|
+
attr_accessor :bacs_debit
|
1716
|
+
|
1717
|
+
# Bancontact is the most popular online payment method in Belgium, with over 15 million cards in circulation. [Customers](https://stripe.com/docs/api/customers) use a Bancontact card or mobile app linked to a Belgian bank account to make online payments that are secure, guaranteed, and confirmed immediately. Check this [page](https://stripe.com/docs/payments/bancontact) for more details.
|
1718
|
+
attr_accessor :bancontact
|
1719
|
+
|
1720
|
+
# BLIK is a [single use](https://stripe.com/docs/payments/payment-methods#usage) payment method that requires customers to authenticate their payments. When customers want to pay online using BLIK, they request a six-digit code from their banking application and enter it into the payment collection form. Check this [page](https://stripe.com/docs/payments/blik) for more details.
|
1721
|
+
attr_accessor :blik
|
1722
|
+
|
1723
|
+
# Boleto is an official (regulated by the Central Bank of Brazil) payment method in Brazil. Check this [page](https://stripe.com/docs/payments/boleto) for more details.
|
1724
|
+
attr_accessor :boleto
|
1725
|
+
|
1726
|
+
# Cards are a popular way for consumers and businesses to pay online or in person. Stripe supports global and local card networks.
|
1727
|
+
attr_accessor :card
|
1728
|
+
|
1729
|
+
# Cartes Bancaires is France's local card network. More than 95% of these cards are co-branded with either Visa or Mastercard, meaning you can process these cards over either Cartes Bancaires or the Visa or Mastercard networks. Check this [page](https://stripe.com/docs/payments/cartes-bancaires) for more details.
|
1730
|
+
attr_accessor :cartes_bancaires
|
1731
|
+
|
1732
|
+
# Cash App is a popular consumer app in the US that allows customers to bank, invest, send, and receive money using their digital wallet. Check this [page](https://stripe.com/docs/payments/cash-app-pay) for more details.
|
1733
|
+
attr_accessor :cashapp
|
1734
|
+
|
1735
|
+
# Uses a customer’s [cash balance](https://stripe.com/docs/payments/customer-balance) for the payment. The cash balance can be funded via a bank transfer. Check this [page](https://stripe.com/docs/payments/bank-transfers) for more details.
|
1736
|
+
attr_accessor :customer_balance
|
1737
|
+
|
1738
|
+
# EPS is an Austria-based payment method that allows customers to complete transactions online using their bank credentials. EPS is supported by all Austrian banks and is accepted by over 80% of Austrian online retailers. Check this [page](https://stripe.com/docs/payments/eps) for more details.
|
1739
|
+
attr_accessor :eps
|
1740
|
+
|
1741
|
+
# Specifies which fields in the response should be expanded.
|
1742
|
+
attr_accessor :expand
|
1743
|
+
|
1744
|
+
# Financial Process Exchange (FPX) is a Malaysia-based payment method that allows customers to complete transactions online using their bank credentials. Bank Negara Malaysia (BNM), the Central Bank of Malaysia, and eleven other major Malaysian financial institutions are members of the PayNet Group, which owns and operates FPX. It is one of the most popular online payment methods in Malaysia, with nearly 90 million transactions in 2018 according to BNM. Check this [page](https://stripe.com/docs/payments/fpx) for more details.
|
1745
|
+
attr_accessor :fpx
|
1746
|
+
|
1747
|
+
# giropay is a German payment method based on online banking, introduced in 2006. It allows customers to complete transactions online using their online banking environment, with funds debited from their bank account. Depending on their bank, customers confirm payments on giropay using a second factor of authentication or a PIN. giropay accounts for 10% of online checkouts in Germany. Check this [page](https://stripe.com/docs/payments/giropay) for more details.
|
1748
|
+
attr_accessor :giropay
|
1749
|
+
|
1750
|
+
# Google Pay allows customers to make payments in your app or website using any credit or debit card saved to their Google Account, including those from Google Play, YouTube, Chrome, or an Android device. Use the Google Pay API to request any credit or debit card stored in your customer's Google account. Check this [page](https://stripe.com/docs/google-pay) for more details.
|
1751
|
+
attr_accessor :google_pay
|
1752
|
+
|
1753
|
+
# GoPay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Gojek app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Gojek app to confirm payment.
|
1754
|
+
attr_accessor :gopay
|
1755
|
+
|
1756
|
+
# GrabPay is a payment method developed by [Grab](https://www.grab.com/sg/consumer/finance/pay/). GrabPay is a digital wallet - customers maintain a balance in their wallets that they pay out with. Check this [page](https://stripe.com/docs/payments/grabpay) for more details.
|
1757
|
+
attr_accessor :grabpay
|
1758
|
+
|
1759
|
+
# Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
|
1760
|
+
attr_accessor :id_bank_transfer
|
1761
|
+
|
1762
|
+
# iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://stripe.com/docs/payments/ideal) for more details.
|
1763
|
+
attr_accessor :ideal
|
1764
|
+
|
1765
|
+
# JCB is a credit card company based in Japan. JCB is currently available in Japan to businesses approved by JCB, and available to all businesses in Australia, Canada, Hong Kong, Japan, New Zealand, Singapore, Switzerland, United Kingdom, United States, and all countries in the European Economic Area except Iceland. Check this [page](https://support.stripe.com/questions/accepting-japan-credit-bureau-%28jcb%29-payments) for more details.
|
1766
|
+
attr_accessor :jcb
|
1767
|
+
|
1768
|
+
# Klarna gives customers a range of [payment options](https://stripe.com/docs/payments/klarna#payment-options) during checkout. Available payment options vary depending on the customer's billing address and the transaction amount. These payment options make it convenient for customers to purchase items in all price ranges. Check this [page](https://stripe.com/docs/payments/klarna) for more details.
|
1769
|
+
attr_accessor :klarna
|
1770
|
+
|
1771
|
+
# Konbini allows customers in Japan to pay for bills and online purchases at convenience stores with cash. Check this [page](https://stripe.com/docs/payments/konbini) for more details.
|
1772
|
+
attr_accessor :konbini
|
1773
|
+
|
1774
|
+
# [Link](https://stripe.com/docs/payments/link) is a payment method network. With Link, users save their payment details once, then reuse that information to pay with one click for any business on the network.
|
1775
|
+
attr_accessor :link
|
1776
|
+
|
1777
|
+
# MobilePay is a [single-use](https://stripe.com/docs/payments/payment-methods#usage) card wallet payment method used in Denmark and Finland. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the MobilePay app. Check this [page](https://stripe.com/docs/payments/mobilepay) for more details.
|
1778
|
+
attr_accessor :mobilepay
|
1779
|
+
|
1780
|
+
# Stripe users in Europe and the United States can accept Multibanco payments from customers in Portugal using [Sources](https://stripe.com/docs/sources)—a single integration path for creating payments using any supported method.
|
1781
|
+
attr_accessor :multibanco
|
1782
|
+
|
1783
|
+
# Configuration name.
|
1784
|
+
attr_accessor :name
|
1785
|
+
|
1786
|
+
# OXXO is a Mexican chain of convenience stores with thousands of locations across Latin America and represents nearly 20% of online transactions in Mexico. OXXO allows customers to pay bills and online purchases in-store with cash. Check this [page](https://stripe.com/docs/payments/oxxo) for more details.
|
1787
|
+
attr_accessor :oxxo
|
1788
|
+
|
1789
|
+
# Przelewy24 is a Poland-based payment method aggregator that allows customers to complete transactions online using bank transfers and other methods. Bank transfers account for 30% of online payments in Poland and Przelewy24 provides a way for customers to pay with over 165 banks. Check this [page](https://stripe.com/docs/payments/p24) for more details.
|
1790
|
+
attr_accessor :p24
|
1791
|
+
|
1792
|
+
# Configuration's parent configuration. Specify to create a child configuration.
|
1793
|
+
attr_accessor :parent
|
1794
|
+
|
1795
|
+
# PayNow is a Singapore-based payment method that allows customers to make a payment using their preferred app from participating banks and participating non-bank financial institutions. Check this [page](https://stripe.com/docs/payments/paynow) for more details.
|
1796
|
+
attr_accessor :paynow
|
1797
|
+
|
1798
|
+
# PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://stripe.com/docs/payments/paypal) for more details.
|
1799
|
+
attr_accessor :paypal
|
1800
|
+
|
1801
|
+
# PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.
|
1802
|
+
attr_accessor :payto
|
1803
|
+
|
1804
|
+
# PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
|
1805
|
+
attr_accessor :promptpay
|
1806
|
+
|
1807
|
+
# QRIS is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Indonesia. When paying with QRIS, customers authenticate and approve payments by scanning a QR code in their preferred digital wallet app.
|
1808
|
+
attr_accessor :qris
|
1809
|
+
|
1810
|
+
# Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer’s stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
|
1811
|
+
attr_accessor :revolut_pay
|
1812
|
+
|
1813
|
+
# The [Single Euro Payments Area (SEPA)](https://en.wikipedia.org/wiki/Single_Euro_Payments_Area) is an initiative of the European Union to simplify payments within and across member countries. SEPA established and enforced banking standards to allow for the direct debiting of every EUR-denominated bank account within the SEPA region, check this [page](https://stripe.com/docs/payments/sepa-debit) for more details.
|
1814
|
+
attr_accessor :sepa_debit
|
1815
|
+
|
1816
|
+
# ShopeePay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Shopee app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Shopee app to confirm payment.
|
1817
|
+
attr_accessor :shopeepay
|
1818
|
+
|
1819
|
+
# Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://stripe.com/docs/payments/sofort) for more details.
|
1820
|
+
attr_accessor :sofort
|
1821
|
+
|
1822
|
+
# Swish is a [real-time](https://stripe.com/docs/payments/real-time) payment method popular in Sweden. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the Swish mobile app and the Swedish BankID mobile app. Check this [page](https://stripe.com/docs/payments/swish) for more details.
|
1823
|
+
attr_accessor :swish
|
1824
|
+
|
1825
|
+
# Twint is a payment method popular in Switzerland. It allows customers to pay using their mobile phone. Check this [page](https://docs.stripe.com/payments/twint) for more details.
|
1826
|
+
attr_accessor :twint
|
1827
|
+
|
1828
|
+
# Stripe users in the United States can accept ACH direct debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this [page](https://stripe.com/docs/payments/ach-direct-debit) for more details.
|
1829
|
+
attr_accessor :us_bank_account
|
1830
|
+
|
1831
|
+
# WeChat, owned by Tencent, is China's leading mobile app with over 1 billion monthly active users. Chinese consumers can use WeChat Pay to pay for goods and services inside of businesses' apps and websites. WeChat Pay users buy most frequently in gaming, e-commerce, travel, online education, and food/nutrition. Check this [page](https://stripe.com/docs/payments/wechat-pay) for more details.
|
1832
|
+
attr_accessor :wechat_pay
|
1833
|
+
|
1834
|
+
# Zip gives your customers a way to split purchases over a series of payments. Check this [page](https://stripe.com/docs/payments/zip) for more details like country availability.
|
1835
|
+
attr_accessor :zip
|
1836
|
+
|
1837
|
+
def initialize(
|
1838
|
+
acss_debit: nil,
|
1839
|
+
affirm: nil,
|
1840
|
+
afterpay_clearpay: nil,
|
1841
|
+
alipay: nil,
|
1842
|
+
alma: nil,
|
1843
|
+
amazon_pay: nil,
|
1844
|
+
apple_pay: nil,
|
1845
|
+
apple_pay_later: nil,
|
1846
|
+
au_becs_debit: nil,
|
1847
|
+
bacs_debit: nil,
|
1848
|
+
bancontact: nil,
|
1849
|
+
blik: nil,
|
1850
|
+
boleto: nil,
|
1851
|
+
card: nil,
|
1852
|
+
cartes_bancaires: nil,
|
1853
|
+
cashapp: nil,
|
1854
|
+
customer_balance: nil,
|
1855
|
+
eps: nil,
|
1856
|
+
expand: nil,
|
1857
|
+
fpx: nil,
|
1858
|
+
giropay: nil,
|
1859
|
+
google_pay: nil,
|
1860
|
+
gopay: nil,
|
1861
|
+
grabpay: nil,
|
1862
|
+
id_bank_transfer: nil,
|
1863
|
+
ideal: nil,
|
1864
|
+
jcb: nil,
|
1865
|
+
klarna: nil,
|
1866
|
+
konbini: nil,
|
1867
|
+
link: nil,
|
1868
|
+
mobilepay: nil,
|
1869
|
+
multibanco: nil,
|
1870
|
+
name: nil,
|
1871
|
+
oxxo: nil,
|
1872
|
+
p24: nil,
|
1873
|
+
parent: nil,
|
1874
|
+
paynow: nil,
|
1875
|
+
paypal: nil,
|
1876
|
+
payto: nil,
|
1877
|
+
promptpay: nil,
|
1878
|
+
qris: nil,
|
1879
|
+
revolut_pay: nil,
|
1880
|
+
sepa_debit: nil,
|
1881
|
+
shopeepay: nil,
|
1882
|
+
sofort: nil,
|
1883
|
+
swish: nil,
|
1884
|
+
twint: nil,
|
1885
|
+
us_bank_account: nil,
|
1886
|
+
wechat_pay: nil,
|
1887
|
+
zip: nil
|
1888
|
+
)
|
1889
|
+
@acss_debit = acss_debit
|
1890
|
+
@affirm = affirm
|
1891
|
+
@afterpay_clearpay = afterpay_clearpay
|
1892
|
+
@alipay = alipay
|
1893
|
+
@alma = alma
|
1894
|
+
@amazon_pay = amazon_pay
|
1895
|
+
@apple_pay = apple_pay
|
1896
|
+
@apple_pay_later = apple_pay_later
|
1897
|
+
@au_becs_debit = au_becs_debit
|
1898
|
+
@bacs_debit = bacs_debit
|
1899
|
+
@bancontact = bancontact
|
1900
|
+
@blik = blik
|
1901
|
+
@boleto = boleto
|
1902
|
+
@card = card
|
1903
|
+
@cartes_bancaires = cartes_bancaires
|
1904
|
+
@cashapp = cashapp
|
1905
|
+
@customer_balance = customer_balance
|
1906
|
+
@eps = eps
|
1907
|
+
@expand = expand
|
1908
|
+
@fpx = fpx
|
1909
|
+
@giropay = giropay
|
1910
|
+
@google_pay = google_pay
|
1911
|
+
@gopay = gopay
|
1912
|
+
@grabpay = grabpay
|
1913
|
+
@id_bank_transfer = id_bank_transfer
|
1914
|
+
@ideal = ideal
|
1915
|
+
@jcb = jcb
|
1916
|
+
@klarna = klarna
|
1917
|
+
@konbini = konbini
|
1918
|
+
@link = link
|
1919
|
+
@mobilepay = mobilepay
|
1920
|
+
@multibanco = multibanco
|
1921
|
+
@name = name
|
1922
|
+
@oxxo = oxxo
|
1923
|
+
@p24 = p24
|
1924
|
+
@parent = parent
|
1925
|
+
@paynow = paynow
|
1926
|
+
@paypal = paypal
|
1927
|
+
@payto = payto
|
1928
|
+
@promptpay = promptpay
|
1929
|
+
@qris = qris
|
1930
|
+
@revolut_pay = revolut_pay
|
1931
|
+
@sepa_debit = sepa_debit
|
1932
|
+
@shopeepay = shopeepay
|
1933
|
+
@sofort = sofort
|
1934
|
+
@swish = swish
|
1935
|
+
@twint = twint
|
1936
|
+
@us_bank_account = us_bank_account
|
1937
|
+
@wechat_pay = wechat_pay
|
1938
|
+
@zip = zip
|
1939
|
+
end
|
1940
|
+
end
|
1941
|
+
|
1942
|
+
class RetrieveParams < Stripe::RequestParams
|
1943
|
+
# Specifies which fields in the response should be expanded.
|
1944
|
+
attr_accessor :expand
|
1945
|
+
|
1946
|
+
def initialize(expand: nil)
|
1947
|
+
@expand = expand
|
1948
|
+
end
|
1949
|
+
end
|
1950
|
+
|
1951
|
+
class UpdateParams < Stripe::RequestParams
|
1952
|
+
class AcssDebit < Stripe::RequestParams
|
1953
|
+
class DisplayPreference < Stripe::RequestParams
|
1954
|
+
# The account's preference for whether or not to display this payment method.
|
1955
|
+
attr_accessor :preference
|
1956
|
+
|
1957
|
+
def initialize(preference: nil)
|
1958
|
+
@preference = preference
|
1959
|
+
end
|
1960
|
+
end
|
1961
|
+
# Whether or not the payment method should be displayed.
|
1962
|
+
attr_accessor :display_preference
|
1963
|
+
|
1964
|
+
def initialize(display_preference: nil)
|
1965
|
+
@display_preference = display_preference
|
1966
|
+
end
|
1967
|
+
end
|
1968
|
+
|
1969
|
+
class Affirm < Stripe::RequestParams
|
1970
|
+
class DisplayPreference < Stripe::RequestParams
|
1971
|
+
# The account's preference for whether or not to display this payment method.
|
1972
|
+
attr_accessor :preference
|
1973
|
+
|
1974
|
+
def initialize(preference: nil)
|
1975
|
+
@preference = preference
|
1976
|
+
end
|
1977
|
+
end
|
1978
|
+
# Whether or not the payment method should be displayed.
|
1979
|
+
attr_accessor :display_preference
|
1980
|
+
|
1981
|
+
def initialize(display_preference: nil)
|
1982
|
+
@display_preference = display_preference
|
1983
|
+
end
|
1984
|
+
end
|
1985
|
+
|
1986
|
+
class AfterpayClearpay < Stripe::RequestParams
|
1987
|
+
class DisplayPreference < Stripe::RequestParams
|
1988
|
+
# The account's preference for whether or not to display this payment method.
|
1989
|
+
attr_accessor :preference
|
1990
|
+
|
1991
|
+
def initialize(preference: nil)
|
1992
|
+
@preference = preference
|
1993
|
+
end
|
1994
|
+
end
|
1995
|
+
# Whether or not the payment method should be displayed.
|
1996
|
+
attr_accessor :display_preference
|
1997
|
+
|
1998
|
+
def initialize(display_preference: nil)
|
1999
|
+
@display_preference = display_preference
|
2000
|
+
end
|
2001
|
+
end
|
2002
|
+
|
2003
|
+
class Alipay < Stripe::RequestParams
|
2004
|
+
class DisplayPreference < Stripe::RequestParams
|
2005
|
+
# The account's preference for whether or not to display this payment method.
|
2006
|
+
attr_accessor :preference
|
2007
|
+
|
2008
|
+
def initialize(preference: nil)
|
2009
|
+
@preference = preference
|
2010
|
+
end
|
2011
|
+
end
|
2012
|
+
# Whether or not the payment method should be displayed.
|
2013
|
+
attr_accessor :display_preference
|
2014
|
+
|
2015
|
+
def initialize(display_preference: nil)
|
2016
|
+
@display_preference = display_preference
|
2017
|
+
end
|
2018
|
+
end
|
2019
|
+
|
2020
|
+
class Alma < Stripe::RequestParams
|
2021
|
+
class DisplayPreference < Stripe::RequestParams
|
2022
|
+
# The account's preference for whether or not to display this payment method.
|
2023
|
+
attr_accessor :preference
|
2024
|
+
|
2025
|
+
def initialize(preference: nil)
|
2026
|
+
@preference = preference
|
2027
|
+
end
|
2028
|
+
end
|
2029
|
+
# Whether or not the payment method should be displayed.
|
2030
|
+
attr_accessor :display_preference
|
2031
|
+
|
2032
|
+
def initialize(display_preference: nil)
|
2033
|
+
@display_preference = display_preference
|
2034
|
+
end
|
2035
|
+
end
|
2036
|
+
|
2037
|
+
class AmazonPay < Stripe::RequestParams
|
2038
|
+
class DisplayPreference < Stripe::RequestParams
|
2039
|
+
# The account's preference for whether or not to display this payment method.
|
2040
|
+
attr_accessor :preference
|
2041
|
+
|
2042
|
+
def initialize(preference: nil)
|
2043
|
+
@preference = preference
|
2044
|
+
end
|
2045
|
+
end
|
2046
|
+
# Whether or not the payment method should be displayed.
|
2047
|
+
attr_accessor :display_preference
|
2048
|
+
|
2049
|
+
def initialize(display_preference: nil)
|
2050
|
+
@display_preference = display_preference
|
2051
|
+
end
|
2052
|
+
end
|
2053
|
+
|
2054
|
+
class ApplePay < Stripe::RequestParams
|
2055
|
+
class DisplayPreference < Stripe::RequestParams
|
2056
|
+
# The account's preference for whether or not to display this payment method.
|
2057
|
+
attr_accessor :preference
|
2058
|
+
|
2059
|
+
def initialize(preference: nil)
|
2060
|
+
@preference = preference
|
2061
|
+
end
|
2062
|
+
end
|
2063
|
+
# Whether or not the payment method should be displayed.
|
2064
|
+
attr_accessor :display_preference
|
2065
|
+
|
2066
|
+
def initialize(display_preference: nil)
|
2067
|
+
@display_preference = display_preference
|
2068
|
+
end
|
2069
|
+
end
|
2070
|
+
|
2071
|
+
class ApplePayLater < Stripe::RequestParams
|
2072
|
+
class DisplayPreference < Stripe::RequestParams
|
2073
|
+
# The account's preference for whether or not to display this payment method.
|
2074
|
+
attr_accessor :preference
|
2075
|
+
|
2076
|
+
def initialize(preference: nil)
|
2077
|
+
@preference = preference
|
2078
|
+
end
|
2079
|
+
end
|
2080
|
+
# Whether or not the payment method should be displayed.
|
2081
|
+
attr_accessor :display_preference
|
2082
|
+
|
2083
|
+
def initialize(display_preference: nil)
|
2084
|
+
@display_preference = display_preference
|
2085
|
+
end
|
2086
|
+
end
|
2087
|
+
|
2088
|
+
class AuBecsDebit < Stripe::RequestParams
|
2089
|
+
class DisplayPreference < Stripe::RequestParams
|
2090
|
+
# The account's preference for whether or not to display this payment method.
|
2091
|
+
attr_accessor :preference
|
2092
|
+
|
2093
|
+
def initialize(preference: nil)
|
2094
|
+
@preference = preference
|
2095
|
+
end
|
2096
|
+
end
|
2097
|
+
# Whether or not the payment method should be displayed.
|
2098
|
+
attr_accessor :display_preference
|
2099
|
+
|
2100
|
+
def initialize(display_preference: nil)
|
2101
|
+
@display_preference = display_preference
|
2102
|
+
end
|
2103
|
+
end
|
2104
|
+
|
2105
|
+
class BacsDebit < Stripe::RequestParams
|
2106
|
+
class DisplayPreference < Stripe::RequestParams
|
2107
|
+
# The account's preference for whether or not to display this payment method.
|
2108
|
+
attr_accessor :preference
|
2109
|
+
|
2110
|
+
def initialize(preference: nil)
|
2111
|
+
@preference = preference
|
2112
|
+
end
|
2113
|
+
end
|
2114
|
+
# Whether or not the payment method should be displayed.
|
2115
|
+
attr_accessor :display_preference
|
2116
|
+
|
2117
|
+
def initialize(display_preference: nil)
|
2118
|
+
@display_preference = display_preference
|
2119
|
+
end
|
2120
|
+
end
|
2121
|
+
|
2122
|
+
class Bancontact < Stripe::RequestParams
|
2123
|
+
class DisplayPreference < Stripe::RequestParams
|
2124
|
+
# The account's preference for whether or not to display this payment method.
|
2125
|
+
attr_accessor :preference
|
2126
|
+
|
2127
|
+
def initialize(preference: nil)
|
2128
|
+
@preference = preference
|
2129
|
+
end
|
2130
|
+
end
|
2131
|
+
# Whether or not the payment method should be displayed.
|
2132
|
+
attr_accessor :display_preference
|
2133
|
+
|
2134
|
+
def initialize(display_preference: nil)
|
2135
|
+
@display_preference = display_preference
|
2136
|
+
end
|
2137
|
+
end
|
2138
|
+
|
2139
|
+
class Blik < Stripe::RequestParams
|
2140
|
+
class DisplayPreference < Stripe::RequestParams
|
2141
|
+
# The account's preference for whether or not to display this payment method.
|
2142
|
+
attr_accessor :preference
|
2143
|
+
|
2144
|
+
def initialize(preference: nil)
|
2145
|
+
@preference = preference
|
2146
|
+
end
|
2147
|
+
end
|
2148
|
+
# Whether or not the payment method should be displayed.
|
2149
|
+
attr_accessor :display_preference
|
2150
|
+
|
2151
|
+
def initialize(display_preference: nil)
|
2152
|
+
@display_preference = display_preference
|
2153
|
+
end
|
2154
|
+
end
|
2155
|
+
|
2156
|
+
class Boleto < Stripe::RequestParams
|
2157
|
+
class DisplayPreference < Stripe::RequestParams
|
2158
|
+
# The account's preference for whether or not to display this payment method.
|
2159
|
+
attr_accessor :preference
|
2160
|
+
|
2161
|
+
def initialize(preference: nil)
|
2162
|
+
@preference = preference
|
2163
|
+
end
|
2164
|
+
end
|
2165
|
+
# Whether or not the payment method should be displayed.
|
2166
|
+
attr_accessor :display_preference
|
2167
|
+
|
2168
|
+
def initialize(display_preference: nil)
|
2169
|
+
@display_preference = display_preference
|
2170
|
+
end
|
2171
|
+
end
|
2172
|
+
|
2173
|
+
class Card < Stripe::RequestParams
|
2174
|
+
class DisplayPreference < Stripe::RequestParams
|
2175
|
+
# The account's preference for whether or not to display this payment method.
|
2176
|
+
attr_accessor :preference
|
2177
|
+
|
2178
|
+
def initialize(preference: nil)
|
2179
|
+
@preference = preference
|
2180
|
+
end
|
2181
|
+
end
|
2182
|
+
# Whether or not the payment method should be displayed.
|
2183
|
+
attr_accessor :display_preference
|
2184
|
+
|
2185
|
+
def initialize(display_preference: nil)
|
2186
|
+
@display_preference = display_preference
|
2187
|
+
end
|
2188
|
+
end
|
2189
|
+
|
2190
|
+
class CartesBancaires < Stripe::RequestParams
|
2191
|
+
class DisplayPreference < Stripe::RequestParams
|
2192
|
+
# The account's preference for whether or not to display this payment method.
|
2193
|
+
attr_accessor :preference
|
2194
|
+
|
2195
|
+
def initialize(preference: nil)
|
2196
|
+
@preference = preference
|
2197
|
+
end
|
2198
|
+
end
|
2199
|
+
# Whether or not the payment method should be displayed.
|
2200
|
+
attr_accessor :display_preference
|
2201
|
+
|
2202
|
+
def initialize(display_preference: nil)
|
2203
|
+
@display_preference = display_preference
|
2204
|
+
end
|
2205
|
+
end
|
2206
|
+
|
2207
|
+
class Cashapp < Stripe::RequestParams
|
2208
|
+
class DisplayPreference < Stripe::RequestParams
|
2209
|
+
# The account's preference for whether or not to display this payment method.
|
2210
|
+
attr_accessor :preference
|
2211
|
+
|
2212
|
+
def initialize(preference: nil)
|
2213
|
+
@preference = preference
|
2214
|
+
end
|
2215
|
+
end
|
2216
|
+
# Whether or not the payment method should be displayed.
|
2217
|
+
attr_accessor :display_preference
|
2218
|
+
|
2219
|
+
def initialize(display_preference: nil)
|
2220
|
+
@display_preference = display_preference
|
2221
|
+
end
|
2222
|
+
end
|
2223
|
+
|
2224
|
+
class CustomerBalance < Stripe::RequestParams
|
2225
|
+
class DisplayPreference < Stripe::RequestParams
|
2226
|
+
# The account's preference for whether or not to display this payment method.
|
2227
|
+
attr_accessor :preference
|
2228
|
+
|
2229
|
+
def initialize(preference: nil)
|
2230
|
+
@preference = preference
|
2231
|
+
end
|
2232
|
+
end
|
2233
|
+
# Whether or not the payment method should be displayed.
|
2234
|
+
attr_accessor :display_preference
|
2235
|
+
|
2236
|
+
def initialize(display_preference: nil)
|
2237
|
+
@display_preference = display_preference
|
2238
|
+
end
|
2239
|
+
end
|
2240
|
+
|
2241
|
+
class Eps < Stripe::RequestParams
|
2242
|
+
class DisplayPreference < Stripe::RequestParams
|
2243
|
+
# The account's preference for whether or not to display this payment method.
|
2244
|
+
attr_accessor :preference
|
2245
|
+
|
2246
|
+
def initialize(preference: nil)
|
2247
|
+
@preference = preference
|
2248
|
+
end
|
2249
|
+
end
|
2250
|
+
# Whether or not the payment method should be displayed.
|
2251
|
+
attr_accessor :display_preference
|
2252
|
+
|
2253
|
+
def initialize(display_preference: nil)
|
2254
|
+
@display_preference = display_preference
|
2255
|
+
end
|
2256
|
+
end
|
2257
|
+
|
2258
|
+
class Fpx < Stripe::RequestParams
|
2259
|
+
class DisplayPreference < Stripe::RequestParams
|
2260
|
+
# The account's preference for whether or not to display this payment method.
|
2261
|
+
attr_accessor :preference
|
2262
|
+
|
2263
|
+
def initialize(preference: nil)
|
2264
|
+
@preference = preference
|
2265
|
+
end
|
2266
|
+
end
|
2267
|
+
# Whether or not the payment method should be displayed.
|
2268
|
+
attr_accessor :display_preference
|
2269
|
+
|
2270
|
+
def initialize(display_preference: nil)
|
2271
|
+
@display_preference = display_preference
|
2272
|
+
end
|
2273
|
+
end
|
2274
|
+
|
2275
|
+
class Giropay < Stripe::RequestParams
|
2276
|
+
class DisplayPreference < Stripe::RequestParams
|
2277
|
+
# The account's preference for whether or not to display this payment method.
|
2278
|
+
attr_accessor :preference
|
2279
|
+
|
2280
|
+
def initialize(preference: nil)
|
2281
|
+
@preference = preference
|
2282
|
+
end
|
2283
|
+
end
|
2284
|
+
# Whether or not the payment method should be displayed.
|
2285
|
+
attr_accessor :display_preference
|
2286
|
+
|
2287
|
+
def initialize(display_preference: nil)
|
2288
|
+
@display_preference = display_preference
|
2289
|
+
end
|
2290
|
+
end
|
2291
|
+
|
2292
|
+
class GooglePay < Stripe::RequestParams
|
2293
|
+
class DisplayPreference < Stripe::RequestParams
|
2294
|
+
# The account's preference for whether or not to display this payment method.
|
2295
|
+
attr_accessor :preference
|
2296
|
+
|
2297
|
+
def initialize(preference: nil)
|
2298
|
+
@preference = preference
|
2299
|
+
end
|
2300
|
+
end
|
2301
|
+
# Whether or not the payment method should be displayed.
|
2302
|
+
attr_accessor :display_preference
|
2303
|
+
|
2304
|
+
def initialize(display_preference: nil)
|
2305
|
+
@display_preference = display_preference
|
2306
|
+
end
|
2307
|
+
end
|
2308
|
+
|
2309
|
+
class Gopay < Stripe::RequestParams
|
2310
|
+
class DisplayPreference < Stripe::RequestParams
|
2311
|
+
# The account's preference for whether or not to display this payment method.
|
2312
|
+
attr_accessor :preference
|
2313
|
+
|
2314
|
+
def initialize(preference: nil)
|
2315
|
+
@preference = preference
|
2316
|
+
end
|
2317
|
+
end
|
2318
|
+
# Whether or not the payment method should be displayed.
|
2319
|
+
attr_accessor :display_preference
|
2320
|
+
|
2321
|
+
def initialize(display_preference: nil)
|
2322
|
+
@display_preference = display_preference
|
2323
|
+
end
|
2324
|
+
end
|
2325
|
+
|
2326
|
+
class Grabpay < Stripe::RequestParams
|
2327
|
+
class DisplayPreference < Stripe::RequestParams
|
2328
|
+
# The account's preference for whether or not to display this payment method.
|
2329
|
+
attr_accessor :preference
|
2330
|
+
|
2331
|
+
def initialize(preference: nil)
|
2332
|
+
@preference = preference
|
2333
|
+
end
|
2334
|
+
end
|
2335
|
+
# Whether or not the payment method should be displayed.
|
2336
|
+
attr_accessor :display_preference
|
2337
|
+
|
2338
|
+
def initialize(display_preference: nil)
|
2339
|
+
@display_preference = display_preference
|
2340
|
+
end
|
2341
|
+
end
|
2342
|
+
|
2343
|
+
class IdBankTransfer < Stripe::RequestParams
|
2344
|
+
class DisplayPreference < Stripe::RequestParams
|
2345
|
+
# The account's preference for whether or not to display this payment method.
|
2346
|
+
attr_accessor :preference
|
2347
|
+
|
2348
|
+
def initialize(preference: nil)
|
2349
|
+
@preference = preference
|
2350
|
+
end
|
2351
|
+
end
|
2352
|
+
# Whether or not the payment method should be displayed.
|
2353
|
+
attr_accessor :display_preference
|
2354
|
+
|
2355
|
+
def initialize(display_preference: nil)
|
2356
|
+
@display_preference = display_preference
|
2357
|
+
end
|
2358
|
+
end
|
2359
|
+
|
2360
|
+
class Ideal < Stripe::RequestParams
|
2361
|
+
class DisplayPreference < Stripe::RequestParams
|
2362
|
+
# The account's preference for whether or not to display this payment method.
|
2363
|
+
attr_accessor :preference
|
2364
|
+
|
2365
|
+
def initialize(preference: nil)
|
2366
|
+
@preference = preference
|
2367
|
+
end
|
2368
|
+
end
|
2369
|
+
# Whether or not the payment method should be displayed.
|
2370
|
+
attr_accessor :display_preference
|
2371
|
+
|
2372
|
+
def initialize(display_preference: nil)
|
2373
|
+
@display_preference = display_preference
|
2374
|
+
end
|
2375
|
+
end
|
2376
|
+
|
2377
|
+
class Jcb < Stripe::RequestParams
|
2378
|
+
class DisplayPreference < Stripe::RequestParams
|
2379
|
+
# The account's preference for whether or not to display this payment method.
|
2380
|
+
attr_accessor :preference
|
2381
|
+
|
2382
|
+
def initialize(preference: nil)
|
2383
|
+
@preference = preference
|
2384
|
+
end
|
2385
|
+
end
|
2386
|
+
# Whether or not the payment method should be displayed.
|
2387
|
+
attr_accessor :display_preference
|
2388
|
+
|
2389
|
+
def initialize(display_preference: nil)
|
2390
|
+
@display_preference = display_preference
|
2391
|
+
end
|
2392
|
+
end
|
2393
|
+
|
2394
|
+
class Klarna < Stripe::RequestParams
|
2395
|
+
class DisplayPreference < Stripe::RequestParams
|
2396
|
+
# The account's preference for whether or not to display this payment method.
|
2397
|
+
attr_accessor :preference
|
2398
|
+
|
2399
|
+
def initialize(preference: nil)
|
2400
|
+
@preference = preference
|
2401
|
+
end
|
2402
|
+
end
|
2403
|
+
# Whether or not the payment method should be displayed.
|
2404
|
+
attr_accessor :display_preference
|
2405
|
+
|
2406
|
+
def initialize(display_preference: nil)
|
2407
|
+
@display_preference = display_preference
|
2408
|
+
end
|
2409
|
+
end
|
2410
|
+
|
2411
|
+
class Konbini < Stripe::RequestParams
|
2412
|
+
class DisplayPreference < Stripe::RequestParams
|
2413
|
+
# The account's preference for whether or not to display this payment method.
|
2414
|
+
attr_accessor :preference
|
2415
|
+
|
2416
|
+
def initialize(preference: nil)
|
2417
|
+
@preference = preference
|
2418
|
+
end
|
2419
|
+
end
|
2420
|
+
# Whether or not the payment method should be displayed.
|
2421
|
+
attr_accessor :display_preference
|
2422
|
+
|
2423
|
+
def initialize(display_preference: nil)
|
2424
|
+
@display_preference = display_preference
|
2425
|
+
end
|
2426
|
+
end
|
2427
|
+
|
2428
|
+
class Link < Stripe::RequestParams
|
2429
|
+
class DisplayPreference < Stripe::RequestParams
|
2430
|
+
# The account's preference for whether or not to display this payment method.
|
2431
|
+
attr_accessor :preference
|
2432
|
+
|
2433
|
+
def initialize(preference: nil)
|
2434
|
+
@preference = preference
|
2435
|
+
end
|
2436
|
+
end
|
2437
|
+
# Whether or not the payment method should be displayed.
|
2438
|
+
attr_accessor :display_preference
|
2439
|
+
|
2440
|
+
def initialize(display_preference: nil)
|
2441
|
+
@display_preference = display_preference
|
2442
|
+
end
|
2443
|
+
end
|
2444
|
+
|
2445
|
+
class Mobilepay < Stripe::RequestParams
|
2446
|
+
class DisplayPreference < Stripe::RequestParams
|
2447
|
+
# The account's preference for whether or not to display this payment method.
|
2448
|
+
attr_accessor :preference
|
2449
|
+
|
2450
|
+
def initialize(preference: nil)
|
2451
|
+
@preference = preference
|
2452
|
+
end
|
2453
|
+
end
|
2454
|
+
# Whether or not the payment method should be displayed.
|
2455
|
+
attr_accessor :display_preference
|
2456
|
+
|
2457
|
+
def initialize(display_preference: nil)
|
2458
|
+
@display_preference = display_preference
|
2459
|
+
end
|
2460
|
+
end
|
2461
|
+
|
2462
|
+
class Multibanco < Stripe::RequestParams
|
2463
|
+
class DisplayPreference < Stripe::RequestParams
|
2464
|
+
# The account's preference for whether or not to display this payment method.
|
2465
|
+
attr_accessor :preference
|
2466
|
+
|
2467
|
+
def initialize(preference: nil)
|
2468
|
+
@preference = preference
|
2469
|
+
end
|
2470
|
+
end
|
2471
|
+
# Whether or not the payment method should be displayed.
|
2472
|
+
attr_accessor :display_preference
|
2473
|
+
|
2474
|
+
def initialize(display_preference: nil)
|
2475
|
+
@display_preference = display_preference
|
2476
|
+
end
|
2477
|
+
end
|
2478
|
+
|
2479
|
+
class Oxxo < Stripe::RequestParams
|
2480
|
+
class DisplayPreference < Stripe::RequestParams
|
2481
|
+
# The account's preference for whether or not to display this payment method.
|
2482
|
+
attr_accessor :preference
|
2483
|
+
|
2484
|
+
def initialize(preference: nil)
|
2485
|
+
@preference = preference
|
2486
|
+
end
|
2487
|
+
end
|
2488
|
+
# Whether or not the payment method should be displayed.
|
2489
|
+
attr_accessor :display_preference
|
2490
|
+
|
2491
|
+
def initialize(display_preference: nil)
|
2492
|
+
@display_preference = display_preference
|
2493
|
+
end
|
2494
|
+
end
|
2495
|
+
|
2496
|
+
class P24 < Stripe::RequestParams
|
2497
|
+
class DisplayPreference < Stripe::RequestParams
|
2498
|
+
# The account's preference for whether or not to display this payment method.
|
2499
|
+
attr_accessor :preference
|
2500
|
+
|
2501
|
+
def initialize(preference: nil)
|
2502
|
+
@preference = preference
|
2503
|
+
end
|
2504
|
+
end
|
2505
|
+
# Whether or not the payment method should be displayed.
|
2506
|
+
attr_accessor :display_preference
|
2507
|
+
|
2508
|
+
def initialize(display_preference: nil)
|
2509
|
+
@display_preference = display_preference
|
2510
|
+
end
|
2511
|
+
end
|
2512
|
+
|
2513
|
+
class Paynow < Stripe::RequestParams
|
2514
|
+
class DisplayPreference < Stripe::RequestParams
|
2515
|
+
# The account's preference for whether or not to display this payment method.
|
2516
|
+
attr_accessor :preference
|
2517
|
+
|
2518
|
+
def initialize(preference: nil)
|
2519
|
+
@preference = preference
|
2520
|
+
end
|
2521
|
+
end
|
2522
|
+
# Whether or not the payment method should be displayed.
|
2523
|
+
attr_accessor :display_preference
|
2524
|
+
|
2525
|
+
def initialize(display_preference: nil)
|
2526
|
+
@display_preference = display_preference
|
2527
|
+
end
|
2528
|
+
end
|
2529
|
+
|
2530
|
+
class Paypal < Stripe::RequestParams
|
2531
|
+
class DisplayPreference < Stripe::RequestParams
|
2532
|
+
# The account's preference for whether or not to display this payment method.
|
2533
|
+
attr_accessor :preference
|
2534
|
+
|
2535
|
+
def initialize(preference: nil)
|
2536
|
+
@preference = preference
|
2537
|
+
end
|
2538
|
+
end
|
2539
|
+
# Whether or not the payment method should be displayed.
|
2540
|
+
attr_accessor :display_preference
|
2541
|
+
|
2542
|
+
def initialize(display_preference: nil)
|
2543
|
+
@display_preference = display_preference
|
2544
|
+
end
|
2545
|
+
end
|
2546
|
+
|
2547
|
+
class Payto < Stripe::RequestParams
|
2548
|
+
class DisplayPreference < Stripe::RequestParams
|
2549
|
+
# The account's preference for whether or not to display this payment method.
|
2550
|
+
attr_accessor :preference
|
2551
|
+
|
2552
|
+
def initialize(preference: nil)
|
2553
|
+
@preference = preference
|
2554
|
+
end
|
2555
|
+
end
|
2556
|
+
# Whether or not the payment method should be displayed.
|
2557
|
+
attr_accessor :display_preference
|
2558
|
+
|
2559
|
+
def initialize(display_preference: nil)
|
2560
|
+
@display_preference = display_preference
|
2561
|
+
end
|
2562
|
+
end
|
2563
|
+
|
2564
|
+
class Promptpay < Stripe::RequestParams
|
2565
|
+
class DisplayPreference < Stripe::RequestParams
|
2566
|
+
# The account's preference for whether or not to display this payment method.
|
2567
|
+
attr_accessor :preference
|
2568
|
+
|
2569
|
+
def initialize(preference: nil)
|
2570
|
+
@preference = preference
|
2571
|
+
end
|
2572
|
+
end
|
2573
|
+
# Whether or not the payment method should be displayed.
|
2574
|
+
attr_accessor :display_preference
|
2575
|
+
|
2576
|
+
def initialize(display_preference: nil)
|
2577
|
+
@display_preference = display_preference
|
2578
|
+
end
|
2579
|
+
end
|
2580
|
+
|
2581
|
+
class Qris < Stripe::RequestParams
|
2582
|
+
class DisplayPreference < Stripe::RequestParams
|
2583
|
+
# The account's preference for whether or not to display this payment method.
|
2584
|
+
attr_accessor :preference
|
2585
|
+
|
2586
|
+
def initialize(preference: nil)
|
2587
|
+
@preference = preference
|
2588
|
+
end
|
2589
|
+
end
|
2590
|
+
# Whether or not the payment method should be displayed.
|
2591
|
+
attr_accessor :display_preference
|
2592
|
+
|
2593
|
+
def initialize(display_preference: nil)
|
2594
|
+
@display_preference = display_preference
|
2595
|
+
end
|
2596
|
+
end
|
2597
|
+
|
2598
|
+
class RevolutPay < Stripe::RequestParams
|
2599
|
+
class DisplayPreference < Stripe::RequestParams
|
2600
|
+
# The account's preference for whether or not to display this payment method.
|
2601
|
+
attr_accessor :preference
|
2602
|
+
|
2603
|
+
def initialize(preference: nil)
|
2604
|
+
@preference = preference
|
2605
|
+
end
|
2606
|
+
end
|
2607
|
+
# Whether or not the payment method should be displayed.
|
2608
|
+
attr_accessor :display_preference
|
2609
|
+
|
2610
|
+
def initialize(display_preference: nil)
|
2611
|
+
@display_preference = display_preference
|
2612
|
+
end
|
2613
|
+
end
|
2614
|
+
|
2615
|
+
class SepaDebit < Stripe::RequestParams
|
2616
|
+
class DisplayPreference < Stripe::RequestParams
|
2617
|
+
# The account's preference for whether or not to display this payment method.
|
2618
|
+
attr_accessor :preference
|
2619
|
+
|
2620
|
+
def initialize(preference: nil)
|
2621
|
+
@preference = preference
|
2622
|
+
end
|
2623
|
+
end
|
2624
|
+
# Whether or not the payment method should be displayed.
|
2625
|
+
attr_accessor :display_preference
|
2626
|
+
|
2627
|
+
def initialize(display_preference: nil)
|
2628
|
+
@display_preference = display_preference
|
2629
|
+
end
|
2630
|
+
end
|
2631
|
+
|
2632
|
+
class Shopeepay < Stripe::RequestParams
|
2633
|
+
class DisplayPreference < Stripe::RequestParams
|
2634
|
+
# The account's preference for whether or not to display this payment method.
|
2635
|
+
attr_accessor :preference
|
2636
|
+
|
2637
|
+
def initialize(preference: nil)
|
2638
|
+
@preference = preference
|
2639
|
+
end
|
2640
|
+
end
|
2641
|
+
# Whether or not the payment method should be displayed.
|
2642
|
+
attr_accessor :display_preference
|
2643
|
+
|
2644
|
+
def initialize(display_preference: nil)
|
2645
|
+
@display_preference = display_preference
|
2646
|
+
end
|
2647
|
+
end
|
2648
|
+
|
2649
|
+
class Sofort < Stripe::RequestParams
|
2650
|
+
class DisplayPreference < Stripe::RequestParams
|
2651
|
+
# The account's preference for whether or not to display this payment method.
|
2652
|
+
attr_accessor :preference
|
2653
|
+
|
2654
|
+
def initialize(preference: nil)
|
2655
|
+
@preference = preference
|
2656
|
+
end
|
2657
|
+
end
|
2658
|
+
# Whether or not the payment method should be displayed.
|
2659
|
+
attr_accessor :display_preference
|
2660
|
+
|
2661
|
+
def initialize(display_preference: nil)
|
2662
|
+
@display_preference = display_preference
|
2663
|
+
end
|
2664
|
+
end
|
2665
|
+
|
2666
|
+
class Swish < Stripe::RequestParams
|
2667
|
+
class DisplayPreference < Stripe::RequestParams
|
2668
|
+
# The account's preference for whether or not to display this payment method.
|
2669
|
+
attr_accessor :preference
|
2670
|
+
|
2671
|
+
def initialize(preference: nil)
|
2672
|
+
@preference = preference
|
2673
|
+
end
|
2674
|
+
end
|
2675
|
+
# Whether or not the payment method should be displayed.
|
2676
|
+
attr_accessor :display_preference
|
2677
|
+
|
2678
|
+
def initialize(display_preference: nil)
|
2679
|
+
@display_preference = display_preference
|
2680
|
+
end
|
2681
|
+
end
|
2682
|
+
|
2683
|
+
class Twint < Stripe::RequestParams
|
2684
|
+
class DisplayPreference < Stripe::RequestParams
|
2685
|
+
# The account's preference for whether or not to display this payment method.
|
2686
|
+
attr_accessor :preference
|
2687
|
+
|
2688
|
+
def initialize(preference: nil)
|
2689
|
+
@preference = preference
|
2690
|
+
end
|
2691
|
+
end
|
2692
|
+
# Whether or not the payment method should be displayed.
|
2693
|
+
attr_accessor :display_preference
|
2694
|
+
|
2695
|
+
def initialize(display_preference: nil)
|
2696
|
+
@display_preference = display_preference
|
2697
|
+
end
|
2698
|
+
end
|
2699
|
+
|
2700
|
+
class UsBankAccount < Stripe::RequestParams
|
2701
|
+
class DisplayPreference < Stripe::RequestParams
|
2702
|
+
# The account's preference for whether or not to display this payment method.
|
2703
|
+
attr_accessor :preference
|
2704
|
+
|
2705
|
+
def initialize(preference: nil)
|
2706
|
+
@preference = preference
|
2707
|
+
end
|
2708
|
+
end
|
2709
|
+
# Whether or not the payment method should be displayed.
|
2710
|
+
attr_accessor :display_preference
|
2711
|
+
|
2712
|
+
def initialize(display_preference: nil)
|
2713
|
+
@display_preference = display_preference
|
2714
|
+
end
|
2715
|
+
end
|
2716
|
+
|
2717
|
+
class WechatPay < Stripe::RequestParams
|
2718
|
+
class DisplayPreference < Stripe::RequestParams
|
2719
|
+
# The account's preference for whether or not to display this payment method.
|
2720
|
+
attr_accessor :preference
|
2721
|
+
|
2722
|
+
def initialize(preference: nil)
|
2723
|
+
@preference = preference
|
2724
|
+
end
|
2725
|
+
end
|
2726
|
+
# Whether or not the payment method should be displayed.
|
2727
|
+
attr_accessor :display_preference
|
2728
|
+
|
2729
|
+
def initialize(display_preference: nil)
|
2730
|
+
@display_preference = display_preference
|
2731
|
+
end
|
2732
|
+
end
|
2733
|
+
|
2734
|
+
class Zip < Stripe::RequestParams
|
2735
|
+
class DisplayPreference < Stripe::RequestParams
|
2736
|
+
# The account's preference for whether or not to display this payment method.
|
2737
|
+
attr_accessor :preference
|
2738
|
+
|
2739
|
+
def initialize(preference: nil)
|
2740
|
+
@preference = preference
|
2741
|
+
end
|
2742
|
+
end
|
2743
|
+
# Whether or not the payment method should be displayed.
|
2744
|
+
attr_accessor :display_preference
|
2745
|
+
|
2746
|
+
def initialize(display_preference: nil)
|
2747
|
+
@display_preference = display_preference
|
2748
|
+
end
|
2749
|
+
end
|
2750
|
+
# Canadian pre-authorized debit payments, check this [page](https://stripe.com/docs/payments/acss-debit) for more details like country availability.
|
2751
|
+
attr_accessor :acss_debit
|
2752
|
+
|
2753
|
+
# Whether the configuration can be used for new payments.
|
2754
|
+
attr_accessor :active
|
2755
|
+
|
2756
|
+
# [Affirm](https://www.affirm.com/) gives your customers a way to split purchases over a series of payments. Depending on the purchase, they can pay with four interest-free payments (Split Pay) or pay over a longer term (Installments), which might include interest. Check this [page](https://stripe.com/docs/payments/affirm) for more details like country availability.
|
2757
|
+
attr_accessor :affirm
|
2758
|
+
|
2759
|
+
# Afterpay gives your customers a way to pay for purchases in installments, check this [page](https://stripe.com/docs/payments/afterpay-clearpay) for more details like country availability. Afterpay is particularly popular among businesses selling fashion, beauty, and sports products.
|
2760
|
+
attr_accessor :afterpay_clearpay
|
2761
|
+
|
2762
|
+
# Alipay is a digital wallet in China that has more than a billion active users worldwide. Alipay users can pay on the web or on a mobile device using login credentials or their Alipay app. Alipay has a low dispute rate and reduces fraud by authenticating payments using the customer's login credentials. Check this [page](https://stripe.com/docs/payments/alipay) for more details.
|
2763
|
+
attr_accessor :alipay
|
2764
|
+
|
2765
|
+
# Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments.
|
2766
|
+
attr_accessor :alma
|
2767
|
+
|
2768
|
+
# Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
|
2769
|
+
attr_accessor :amazon_pay
|
2770
|
+
|
2771
|
+
# Stripe users can accept [Apple Pay](/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
|
2772
|
+
attr_accessor :apple_pay
|
2773
|
+
|
2774
|
+
# Apple Pay Later, a payment method for customers to buy now and pay later, gives your customers a way to split purchases into four installments across six weeks.
|
2775
|
+
attr_accessor :apple_pay_later
|
2776
|
+
|
2777
|
+
# Stripe users in Australia can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with an Australian bank account. Check this [page](https://stripe.com/docs/payments/au-becs-debit) for more details.
|
2778
|
+
attr_accessor :au_becs_debit
|
2779
|
+
|
2780
|
+
# Stripe users in the UK can accept Bacs Direct Debit payments from customers with a UK bank account, check this [page](https://stripe.com/docs/payments/payment-methods/bacs-debit) for more details.
|
2781
|
+
attr_accessor :bacs_debit
|
2782
|
+
|
2783
|
+
# Bancontact is the most popular online payment method in Belgium, with over 15 million cards in circulation. [Customers](https://stripe.com/docs/api/customers) use a Bancontact card or mobile app linked to a Belgian bank account to make online payments that are secure, guaranteed, and confirmed immediately. Check this [page](https://stripe.com/docs/payments/bancontact) for more details.
|
2784
|
+
attr_accessor :bancontact
|
2785
|
+
|
2786
|
+
# BLIK is a [single use](https://stripe.com/docs/payments/payment-methods#usage) payment method that requires customers to authenticate their payments. When customers want to pay online using BLIK, they request a six-digit code from their banking application and enter it into the payment collection form. Check this [page](https://stripe.com/docs/payments/blik) for more details.
|
2787
|
+
attr_accessor :blik
|
2788
|
+
|
2789
|
+
# Boleto is an official (regulated by the Central Bank of Brazil) payment method in Brazil. Check this [page](https://stripe.com/docs/payments/boleto) for more details.
|
2790
|
+
attr_accessor :boleto
|
2791
|
+
|
2792
|
+
# Cards are a popular way for consumers and businesses to pay online or in person. Stripe supports global and local card networks.
|
2793
|
+
attr_accessor :card
|
2794
|
+
|
2795
|
+
# Cartes Bancaires is France's local card network. More than 95% of these cards are co-branded with either Visa or Mastercard, meaning you can process these cards over either Cartes Bancaires or the Visa or Mastercard networks. Check this [page](https://stripe.com/docs/payments/cartes-bancaires) for more details.
|
2796
|
+
attr_accessor :cartes_bancaires
|
2797
|
+
|
2798
|
+
# Cash App is a popular consumer app in the US that allows customers to bank, invest, send, and receive money using their digital wallet. Check this [page](https://stripe.com/docs/payments/cash-app-pay) for more details.
|
2799
|
+
attr_accessor :cashapp
|
2800
|
+
|
2801
|
+
# Uses a customer’s [cash balance](https://stripe.com/docs/payments/customer-balance) for the payment. The cash balance can be funded via a bank transfer. Check this [page](https://stripe.com/docs/payments/bank-transfers) for more details.
|
2802
|
+
attr_accessor :customer_balance
|
2803
|
+
|
2804
|
+
# EPS is an Austria-based payment method that allows customers to complete transactions online using their bank credentials. EPS is supported by all Austrian banks and is accepted by over 80% of Austrian online retailers. Check this [page](https://stripe.com/docs/payments/eps) for more details.
|
2805
|
+
attr_accessor :eps
|
2806
|
+
|
2807
|
+
# Specifies which fields in the response should be expanded.
|
2808
|
+
attr_accessor :expand
|
2809
|
+
|
2810
|
+
# Financial Process Exchange (FPX) is a Malaysia-based payment method that allows customers to complete transactions online using their bank credentials. Bank Negara Malaysia (BNM), the Central Bank of Malaysia, and eleven other major Malaysian financial institutions are members of the PayNet Group, which owns and operates FPX. It is one of the most popular online payment methods in Malaysia, with nearly 90 million transactions in 2018 according to BNM. Check this [page](https://stripe.com/docs/payments/fpx) for more details.
|
2811
|
+
attr_accessor :fpx
|
2812
|
+
|
2813
|
+
# giropay is a German payment method based on online banking, introduced in 2006. It allows customers to complete transactions online using their online banking environment, with funds debited from their bank account. Depending on their bank, customers confirm payments on giropay using a second factor of authentication or a PIN. giropay accounts for 10% of online checkouts in Germany. Check this [page](https://stripe.com/docs/payments/giropay) for more details.
|
2814
|
+
attr_accessor :giropay
|
2815
|
+
|
2816
|
+
# Google Pay allows customers to make payments in your app or website using any credit or debit card saved to their Google Account, including those from Google Play, YouTube, Chrome, or an Android device. Use the Google Pay API to request any credit or debit card stored in your customer's Google account. Check this [page](https://stripe.com/docs/google-pay) for more details.
|
2817
|
+
attr_accessor :google_pay
|
2818
|
+
|
2819
|
+
# GoPay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Gojek app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Gojek app to confirm payment.
|
2820
|
+
attr_accessor :gopay
|
2821
|
+
|
2822
|
+
# GrabPay is a payment method developed by [Grab](https://www.grab.com/sg/consumer/finance/pay/). GrabPay is a digital wallet - customers maintain a balance in their wallets that they pay out with. Check this [page](https://stripe.com/docs/payments/grabpay) for more details.
|
2823
|
+
attr_accessor :grabpay
|
2824
|
+
|
2825
|
+
# Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
|
2826
|
+
attr_accessor :id_bank_transfer
|
2827
|
+
|
2828
|
+
# iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://stripe.com/docs/payments/ideal) for more details.
|
2829
|
+
attr_accessor :ideal
|
2830
|
+
|
2831
|
+
# JCB is a credit card company based in Japan. JCB is currently available in Japan to businesses approved by JCB, and available to all businesses in Australia, Canada, Hong Kong, Japan, New Zealand, Singapore, Switzerland, United Kingdom, United States, and all countries in the European Economic Area except Iceland. Check this [page](https://support.stripe.com/questions/accepting-japan-credit-bureau-%28jcb%29-payments) for more details.
|
2832
|
+
attr_accessor :jcb
|
2833
|
+
|
2834
|
+
# Klarna gives customers a range of [payment options](https://stripe.com/docs/payments/klarna#payment-options) during checkout. Available payment options vary depending on the customer's billing address and the transaction amount. These payment options make it convenient for customers to purchase items in all price ranges. Check this [page](https://stripe.com/docs/payments/klarna) for more details.
|
2835
|
+
attr_accessor :klarna
|
2836
|
+
|
2837
|
+
# Konbini allows customers in Japan to pay for bills and online purchases at convenience stores with cash. Check this [page](https://stripe.com/docs/payments/konbini) for more details.
|
2838
|
+
attr_accessor :konbini
|
2839
|
+
|
2840
|
+
# [Link](https://stripe.com/docs/payments/link) is a payment method network. With Link, users save their payment details once, then reuse that information to pay with one click for any business on the network.
|
2841
|
+
attr_accessor :link
|
2842
|
+
|
2843
|
+
# MobilePay is a [single-use](https://stripe.com/docs/payments/payment-methods#usage) card wallet payment method used in Denmark and Finland. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the MobilePay app. Check this [page](https://stripe.com/docs/payments/mobilepay) for more details.
|
2844
|
+
attr_accessor :mobilepay
|
2845
|
+
|
2846
|
+
# Stripe users in Europe and the United States can accept Multibanco payments from customers in Portugal using [Sources](https://stripe.com/docs/sources)—a single integration path for creating payments using any supported method.
|
2847
|
+
attr_accessor :multibanco
|
2848
|
+
|
2849
|
+
# Configuration name.
|
2850
|
+
attr_accessor :name
|
2851
|
+
|
2852
|
+
# OXXO is a Mexican chain of convenience stores with thousands of locations across Latin America and represents nearly 20% of online transactions in Mexico. OXXO allows customers to pay bills and online purchases in-store with cash. Check this [page](https://stripe.com/docs/payments/oxxo) for more details.
|
2853
|
+
attr_accessor :oxxo
|
2854
|
+
|
2855
|
+
# Przelewy24 is a Poland-based payment method aggregator that allows customers to complete transactions online using bank transfers and other methods. Bank transfers account for 30% of online payments in Poland and Przelewy24 provides a way for customers to pay with over 165 banks. Check this [page](https://stripe.com/docs/payments/p24) for more details.
|
2856
|
+
attr_accessor :p24
|
2857
|
+
|
2858
|
+
# PayNow is a Singapore-based payment method that allows customers to make a payment using their preferred app from participating banks and participating non-bank financial institutions. Check this [page](https://stripe.com/docs/payments/paynow) for more details.
|
2859
|
+
attr_accessor :paynow
|
2860
|
+
|
2861
|
+
# PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://stripe.com/docs/payments/paypal) for more details.
|
2862
|
+
attr_accessor :paypal
|
2863
|
+
|
2864
|
+
# PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.
|
2865
|
+
attr_accessor :payto
|
2866
|
+
|
2867
|
+
# PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
|
2868
|
+
attr_accessor :promptpay
|
2869
|
+
|
2870
|
+
# QRIS is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Indonesia. When paying with QRIS, customers authenticate and approve payments by scanning a QR code in their preferred digital wallet app.
|
2871
|
+
attr_accessor :qris
|
2872
|
+
|
2873
|
+
# Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer’s stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
|
2874
|
+
attr_accessor :revolut_pay
|
2875
|
+
|
2876
|
+
# The [Single Euro Payments Area (SEPA)](https://en.wikipedia.org/wiki/Single_Euro_Payments_Area) is an initiative of the European Union to simplify payments within and across member countries. SEPA established and enforced banking standards to allow for the direct debiting of every EUR-denominated bank account within the SEPA region, check this [page](https://stripe.com/docs/payments/sepa-debit) for more details.
|
2877
|
+
attr_accessor :sepa_debit
|
2878
|
+
|
2879
|
+
# ShopeePay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Shopee app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Shopee app to confirm payment.
|
2880
|
+
attr_accessor :shopeepay
|
2881
|
+
|
2882
|
+
# Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://stripe.com/docs/payments/sofort) for more details.
|
2883
|
+
attr_accessor :sofort
|
2884
|
+
|
2885
|
+
# Swish is a [real-time](https://stripe.com/docs/payments/real-time) payment method popular in Sweden. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the Swish mobile app and the Swedish BankID mobile app. Check this [page](https://stripe.com/docs/payments/swish) for more details.
|
2886
|
+
attr_accessor :swish
|
2887
|
+
|
2888
|
+
# Twint is a payment method popular in Switzerland. It allows customers to pay using their mobile phone. Check this [page](https://docs.stripe.com/payments/twint) for more details.
|
2889
|
+
attr_accessor :twint
|
2890
|
+
|
2891
|
+
# Stripe users in the United States can accept ACH direct debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this [page](https://stripe.com/docs/payments/ach-direct-debit) for more details.
|
2892
|
+
attr_accessor :us_bank_account
|
2893
|
+
|
2894
|
+
# WeChat, owned by Tencent, is China's leading mobile app with over 1 billion monthly active users. Chinese consumers can use WeChat Pay to pay for goods and services inside of businesses' apps and websites. WeChat Pay users buy most frequently in gaming, e-commerce, travel, online education, and food/nutrition. Check this [page](https://stripe.com/docs/payments/wechat-pay) for more details.
|
2895
|
+
attr_accessor :wechat_pay
|
2896
|
+
|
2897
|
+
# Zip gives your customers a way to split purchases over a series of payments. Check this [page](https://stripe.com/docs/payments/zip) for more details like country availability.
|
2898
|
+
attr_accessor :zip
|
2899
|
+
|
2900
|
+
def initialize(
|
2901
|
+
acss_debit: nil,
|
2902
|
+
active: nil,
|
2903
|
+
affirm: nil,
|
2904
|
+
afterpay_clearpay: nil,
|
2905
|
+
alipay: nil,
|
2906
|
+
alma: nil,
|
2907
|
+
amazon_pay: nil,
|
2908
|
+
apple_pay: nil,
|
2909
|
+
apple_pay_later: nil,
|
2910
|
+
au_becs_debit: nil,
|
2911
|
+
bacs_debit: nil,
|
2912
|
+
bancontact: nil,
|
2913
|
+
blik: nil,
|
2914
|
+
boleto: nil,
|
2915
|
+
card: nil,
|
2916
|
+
cartes_bancaires: nil,
|
2917
|
+
cashapp: nil,
|
2918
|
+
customer_balance: nil,
|
2919
|
+
eps: nil,
|
2920
|
+
expand: nil,
|
2921
|
+
fpx: nil,
|
2922
|
+
giropay: nil,
|
2923
|
+
google_pay: nil,
|
2924
|
+
gopay: nil,
|
2925
|
+
grabpay: nil,
|
2926
|
+
id_bank_transfer: nil,
|
2927
|
+
ideal: nil,
|
2928
|
+
jcb: nil,
|
2929
|
+
klarna: nil,
|
2930
|
+
konbini: nil,
|
2931
|
+
link: nil,
|
2932
|
+
mobilepay: nil,
|
2933
|
+
multibanco: nil,
|
2934
|
+
name: nil,
|
2935
|
+
oxxo: nil,
|
2936
|
+
p24: nil,
|
2937
|
+
paynow: nil,
|
2938
|
+
paypal: nil,
|
2939
|
+
payto: nil,
|
2940
|
+
promptpay: nil,
|
2941
|
+
qris: nil,
|
2942
|
+
revolut_pay: nil,
|
2943
|
+
sepa_debit: nil,
|
2944
|
+
shopeepay: nil,
|
2945
|
+
sofort: nil,
|
2946
|
+
swish: nil,
|
2947
|
+
twint: nil,
|
2948
|
+
us_bank_account: nil,
|
2949
|
+
wechat_pay: nil,
|
2950
|
+
zip: nil
|
2951
|
+
)
|
2952
|
+
@acss_debit = acss_debit
|
2953
|
+
@active = active
|
2954
|
+
@affirm = affirm
|
2955
|
+
@afterpay_clearpay = afterpay_clearpay
|
2956
|
+
@alipay = alipay
|
2957
|
+
@alma = alma
|
2958
|
+
@amazon_pay = amazon_pay
|
2959
|
+
@apple_pay = apple_pay
|
2960
|
+
@apple_pay_later = apple_pay_later
|
2961
|
+
@au_becs_debit = au_becs_debit
|
2962
|
+
@bacs_debit = bacs_debit
|
2963
|
+
@bancontact = bancontact
|
2964
|
+
@blik = blik
|
2965
|
+
@boleto = boleto
|
2966
|
+
@card = card
|
2967
|
+
@cartes_bancaires = cartes_bancaires
|
2968
|
+
@cashapp = cashapp
|
2969
|
+
@customer_balance = customer_balance
|
2970
|
+
@eps = eps
|
2971
|
+
@expand = expand
|
2972
|
+
@fpx = fpx
|
2973
|
+
@giropay = giropay
|
2974
|
+
@google_pay = google_pay
|
2975
|
+
@gopay = gopay
|
2976
|
+
@grabpay = grabpay
|
2977
|
+
@id_bank_transfer = id_bank_transfer
|
2978
|
+
@ideal = ideal
|
2979
|
+
@jcb = jcb
|
2980
|
+
@klarna = klarna
|
2981
|
+
@konbini = konbini
|
2982
|
+
@link = link
|
2983
|
+
@mobilepay = mobilepay
|
2984
|
+
@multibanco = multibanco
|
2985
|
+
@name = name
|
2986
|
+
@oxxo = oxxo
|
2987
|
+
@p24 = p24
|
2988
|
+
@paynow = paynow
|
2989
|
+
@paypal = paypal
|
2990
|
+
@payto = payto
|
2991
|
+
@promptpay = promptpay
|
2992
|
+
@qris = qris
|
2993
|
+
@revolut_pay = revolut_pay
|
2994
|
+
@sepa_debit = sepa_debit
|
2995
|
+
@shopeepay = shopeepay
|
2996
|
+
@sofort = sofort
|
2997
|
+
@swish = swish
|
2998
|
+
@twint = twint
|
2999
|
+
@us_bank_account = us_bank_account
|
3000
|
+
@wechat_pay = wechat_pay
|
3001
|
+
@zip = zip
|
3002
|
+
end
|
3003
|
+
end
|
3004
|
+
# Attribute for field acss_debit
|
3005
|
+
attr_reader :acss_debit
|
3006
|
+
|
3007
|
+
# Whether the configuration can be used for new payments.
|
3008
|
+
attr_reader :active
|
3009
|
+
|
3010
|
+
# Attribute for field affirm
|
3011
|
+
attr_reader :affirm
|
3012
|
+
|
3013
|
+
# Attribute for field afterpay_clearpay
|
3014
|
+
attr_reader :afterpay_clearpay
|
3015
|
+
|
3016
|
+
# Attribute for field alipay
|
3017
|
+
attr_reader :alipay
|
3018
|
+
|
3019
|
+
# Attribute for field alma
|
3020
|
+
attr_reader :alma
|
3021
|
+
|
3022
|
+
# Attribute for field amazon_pay
|
3023
|
+
attr_reader :amazon_pay
|
3024
|
+
|
3025
|
+
# Attribute for field apple_pay
|
3026
|
+
attr_reader :apple_pay
|
3027
|
+
|
3028
|
+
# For child configs, the Connect application associated with the configuration.
|
3029
|
+
attr_reader :application
|
3030
|
+
|
3031
|
+
# Attribute for field au_becs_debit
|
3032
|
+
attr_reader :au_becs_debit
|
3033
|
+
|
3034
|
+
# Attribute for field bacs_debit
|
3035
|
+
attr_reader :bacs_debit
|
3036
|
+
|
3037
|
+
# Attribute for field bancontact
|
3038
|
+
attr_reader :bancontact
|
3039
|
+
|
3040
|
+
# Attribute for field blik
|
3041
|
+
attr_reader :blik
|
3042
|
+
|
3043
|
+
# Attribute for field boleto
|
3044
|
+
attr_reader :boleto
|
3045
|
+
|
3046
|
+
# Attribute for field card
|
3047
|
+
attr_reader :card
|
3048
|
+
|
3049
|
+
# Attribute for field cartes_bancaires
|
3050
|
+
attr_reader :cartes_bancaires
|
3051
|
+
|
3052
|
+
# Attribute for field cashapp
|
3053
|
+
attr_reader :cashapp
|
3054
|
+
|
3055
|
+
# Attribute for field customer_balance
|
3056
|
+
attr_reader :customer_balance
|
3057
|
+
|
3058
|
+
# Attribute for field eps
|
3059
|
+
attr_reader :eps
|
3060
|
+
|
3061
|
+
# Attribute for field fpx
|
3062
|
+
attr_reader :fpx
|
3063
|
+
|
3064
|
+
# Attribute for field giropay
|
3065
|
+
attr_reader :giropay
|
3066
|
+
|
3067
|
+
# Attribute for field google_pay
|
3068
|
+
attr_reader :google_pay
|
3069
|
+
|
3070
|
+
# Attribute for field gopay
|
3071
|
+
attr_reader :gopay
|
3072
|
+
|
3073
|
+
# Attribute for field grabpay
|
3074
|
+
attr_reader :grabpay
|
3075
|
+
|
3076
|
+
# Unique identifier for the object.
|
3077
|
+
attr_reader :id
|
3078
|
+
|
3079
|
+
# Attribute for field id_bank_transfer
|
3080
|
+
attr_reader :id_bank_transfer
|
3081
|
+
|
3082
|
+
# Attribute for field ideal
|
3083
|
+
attr_reader :ideal
|
3084
|
+
|
3085
|
+
# The default configuration is used whenever a payment method configuration is not specified.
|
3086
|
+
attr_reader :is_default
|
3087
|
+
|
3088
|
+
# Attribute for field jcb
|
3089
|
+
attr_reader :jcb
|
3090
|
+
|
3091
|
+
# Attribute for field klarna
|
3092
|
+
attr_reader :klarna
|
3093
|
+
|
3094
|
+
# Attribute for field konbini
|
3095
|
+
attr_reader :konbini
|
3096
|
+
|
3097
|
+
# Attribute for field link
|
3098
|
+
attr_reader :link
|
3099
|
+
|
3100
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
3101
|
+
attr_reader :livemode
|
3102
|
+
|
3103
|
+
# Attribute for field mobilepay
|
3104
|
+
attr_reader :mobilepay
|
3105
|
+
|
3106
|
+
# Attribute for field multibanco
|
3107
|
+
attr_reader :multibanco
|
3108
|
+
|
3109
|
+
# The configuration's name.
|
3110
|
+
attr_reader :name
|
3111
|
+
|
3112
|
+
# String representing the object's type. Objects of the same type share the same value.
|
3113
|
+
attr_reader :object
|
3114
|
+
|
3115
|
+
# Attribute for field oxxo
|
3116
|
+
attr_reader :oxxo
|
3117
|
+
|
3118
|
+
# Attribute for field p24
|
3119
|
+
attr_reader :p24
|
3120
|
+
|
3121
|
+
# For child configs, the configuration's parent configuration.
|
3122
|
+
attr_reader :parent
|
3123
|
+
|
3124
|
+
# Attribute for field paynow
|
3125
|
+
attr_reader :paynow
|
3126
|
+
|
3127
|
+
# Attribute for field paypal
|
3128
|
+
attr_reader :paypal
|
3129
|
+
|
3130
|
+
# Attribute for field payto
|
3131
|
+
attr_reader :payto
|
3132
|
+
|
3133
|
+
# Attribute for field promptpay
|
3134
|
+
attr_reader :promptpay
|
3135
|
+
|
3136
|
+
# Attribute for field qris
|
3137
|
+
attr_reader :qris
|
3138
|
+
|
3139
|
+
# Attribute for field revolut_pay
|
3140
|
+
attr_reader :revolut_pay
|
3141
|
+
|
3142
|
+
# Attribute for field sepa_debit
|
3143
|
+
attr_reader :sepa_debit
|
3144
|
+
|
3145
|
+
# Attribute for field shopeepay
|
3146
|
+
attr_reader :shopeepay
|
3147
|
+
|
3148
|
+
# Attribute for field sofort
|
3149
|
+
attr_reader :sofort
|
3150
|
+
|
3151
|
+
# Attribute for field swish
|
3152
|
+
attr_reader :swish
|
3153
|
+
|
3154
|
+
# Attribute for field twint
|
3155
|
+
attr_reader :twint
|
3156
|
+
|
3157
|
+
# Attribute for field us_bank_account
|
3158
|
+
attr_reader :us_bank_account
|
3159
|
+
|
3160
|
+
# Attribute for field wechat_pay
|
3161
|
+
attr_reader :wechat_pay
|
3162
|
+
|
3163
|
+
# Attribute for field zip
|
3164
|
+
attr_reader :zip
|
3165
|
+
|
29
3166
|
# Creates a payment method configuration
|
30
3167
|
def self.create(params = {}, opts = {})
|
31
3168
|
request_stripe_object(
|