stripe 15.2.0.pre.beta.1 → 15.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +718 -1556
- data/CONTRIBUTING.md +25 -0
- data/OPENAPI_VERSION +1 -1
- data/README.md +10 -7
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +0 -28
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/errors.rb +0 -54
- data/lib/stripe/event_types.rb +0 -89
- data/lib/stripe/object_types.rb +0 -52
- data/lib/stripe/resources/account.rb +32 -657
- data/lib/stripe/resources/account_session.rb +59 -253
- data/lib/stripe/resources/apple_pay_domain.rb +1 -2
- data/lib/stripe/resources/balance.rb +42 -0
- data/lib/stripe/resources/balance_transaction.rb +2 -0
- data/lib/stripe/resources/bank_account.rb +2 -2
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -4
- data/lib/stripe/resources/billing/credit_grant.rb +0 -10
- data/lib/stripe/resources/billing_portal/session.rb +1 -7
- data/lib/stripe/resources/capability.rb +1 -1
- data/lib/stripe/resources/card.rb +0 -2
- data/lib/stripe/resources/cash_balance.rb +0 -2
- data/lib/stripe/resources/charge.rb +13 -1475
- data/lib/stripe/resources/checkout/session.rb +21 -333
- data/lib/stripe/resources/confirmation_token.rb +33 -263
- data/lib/stripe/resources/country_spec.rb +1 -1
- data/lib/stripe/resources/coupon.rb +2 -32
- data/lib/stripe/resources/credit_note.rb +10 -17
- data/lib/stripe/resources/credit_note_line_item.rb +0 -9
- data/lib/stripe/resources/customer.rb +2 -6
- data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
- data/lib/stripe/resources/customer_session.rb +4 -9
- data/lib/stripe/resources/discount.rb +0 -2
- data/lib/stripe/resources/dispute.rb +2 -2
- data/lib/stripe/resources/event.rb +1 -32
- data/lib/stripe/resources/file.rb +1 -1
- data/lib/stripe/resources/financial_connections/account.rb +1 -20
- data/lib/stripe/resources/financial_connections/session.rb +2 -62
- data/lib/stripe/resources/identity/verification_report.rb +6 -0
- data/lib/stripe/resources/identity/verification_session.rb +17 -21
- data/lib/stripe/resources/invoice.rb +79 -1106
- data/lib/stripe/resources/invoice_item.rb +4 -81
- data/lib/stripe/resources/invoice_line_item.rb +2 -56
- data/lib/stripe/resources/invoice_payment.rb +62 -4
- data/lib/stripe/resources/issuing/authorization.rb +8 -8
- data/lib/stripe/resources/issuing/card.rb +1 -1
- data/lib/stripe/resources/issuing/cardholder.rb +1 -2
- data/lib/stripe/resources/issuing/dispute.rb +3 -3
- data/lib/stripe/resources/issuing/transaction.rb +0 -6
- data/lib/stripe/resources/line_item.rb +0 -37
- data/lib/stripe/resources/mandate.rb +0 -24
- data/lib/stripe/resources/payment_intent.rb +1912 -6840
- data/lib/stripe/resources/payment_method.rb +47 -301
- data/lib/stripe/resources/payment_method_configuration.rb +112 -112
- data/lib/stripe/resources/payment_method_domain.rb +2 -2
- data/lib/stripe/resources/payout.rb +4 -10
- data/lib/stripe/resources/person.rb +2 -2
- data/lib/stripe/resources/plan.rb +2 -3
- data/lib/stripe/resources/price.rb +1 -31
- data/lib/stripe/resources/product.rb +1 -61
- data/lib/stripe/resources/promotion_code.rb +0 -10
- data/lib/stripe/resources/quote.rb +6 -2046
- data/lib/stripe/resources/radar/value_list.rb +1 -2
- data/lib/stripe/resources/radar/value_list_item.rb +1 -2
- data/lib/stripe/resources/refund.rb +6 -10
- data/lib/stripe/resources/reversal.rb +1 -1
- data/lib/stripe/resources/review.rb +1 -1
- data/lib/stripe/resources/setup_attempt.rb +0 -21
- data/lib/stripe/resources/setup_intent.rb +120 -877
- data/lib/stripe/resources/source.rb +1 -30
- data/lib/stripe/resources/subscription.rb +97 -326
- data/lib/stripe/resources/subscription_item.rb +32 -80
- data/lib/stripe/resources/subscription_schedule.rb +127 -1015
- data/lib/stripe/resources/tax/calculation.rb +4 -0
- data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
- data/lib/stripe/resources/tax/registration.rb +1 -1
- data/lib/stripe/resources/tax_id.rb +3 -14
- data/lib/stripe/resources/tax_rate.rb +2 -2
- data/lib/stripe/resources/terminal/configuration.rb +1 -2
- data/lib/stripe/resources/terminal/location.rb +2 -3
- data/lib/stripe/resources/terminal/reader.rb +8 -142
- data/lib/stripe/resources/test_helpers/test_clock.rb +1 -2
- data/lib/stripe/resources/token.rb +2 -2
- data/lib/stripe/resources/transfer.rb +1 -7
- data/lib/stripe/resources/treasury/financial_account.rb +3 -22
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -37
- data/lib/stripe/resources/treasury/received_credit.rb +1 -38
- data/lib/stripe/resources/treasury/received_debit.rb +1 -40
- data/lib/stripe/resources/webhook_endpoint.rb +1 -2
- data/lib/stripe/resources.rb +0 -99
- data/lib/stripe/services/account_external_account_service.rb +2 -3
- data/lib/stripe/services/account_login_link_service.rb +1 -1
- data/lib/stripe/services/account_person_service.rb +1 -2
- data/lib/stripe/services/account_service.rb +23 -559
- data/lib/stripe/services/account_session_service.rb +29 -229
- data/lib/stripe/services/apple_pay_domain_service.rb +1 -2
- data/lib/stripe/services/balance_service.rb +1 -1
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +1 -4
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -4
- data/lib/stripe/services/billing/credit_grant_service.rb +0 -8
- data/lib/stripe/services/billing_portal/session_service.rb +0 -4
- data/lib/stripe/services/charge_service.rb +4 -1354
- data/lib/stripe/services/checkout/session_service.rb +13 -250
- data/lib/stripe/services/coupon_service.rb +2 -19
- data/lib/stripe/services/credit_note_service.rb +7 -12
- data/lib/stripe/services/customer_balance_transaction_service.rb +3 -3
- data/lib/stripe/services/customer_cash_balance_transaction_service.rb +2 -2
- data/lib/stripe/services/customer_payment_source_service.rb +1 -1
- data/lib/stripe/services/customer_service.rb +3 -5
- data/lib/stripe/services/customer_session_service.rb +1 -4
- data/lib/stripe/services/customer_tax_id_service.rb +1 -2
- data/lib/stripe/services/dispute_service.rb +1 -1
- data/lib/stripe/services/file_service.rb +1 -1
- data/lib/stripe/services/financial_connections/account_service.rb +2 -7
- data/lib/stripe/services/financial_connections/session_service.rb +2 -34
- data/lib/stripe/services/financial_connections_service.rb +1 -2
- data/lib/stripe/services/identity/verification_session_service.rb +5 -13
- data/lib/stripe/services/invoice_item_service.rb +3 -76
- data/lib/stripe/services/invoice_line_item_service.rb +1 -33
- data/lib/stripe/services/invoice_payment_service.rb +83 -0
- data/lib/stripe/services/invoice_service.rb +74 -1049
- data/lib/stripe/services/issuing/authorization_service.rb +4 -4
- data/lib/stripe/services/issuing/card_service.rb +1 -1
- data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
- data/lib/stripe/services/issuing/dispute_service.rb +2 -2
- data/lib/stripe/services/issuing/transaction_service.rb +0 -4
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/payment_intent_service.rb +439 -4928
- data/lib/stripe/services/payment_method_configuration_service.rb +82 -82
- data/lib/stripe/services/payment_method_domain_service.rb +1 -1
- data/lib/stripe/services/payment_method_service.rb +44 -226
- data/lib/stripe/services/payout_service.rb +2 -6
- data/lib/stripe/services/plan_service.rb +2 -3
- data/lib/stripe/services/price_service.rb +2 -21
- data/lib/stripe/services/product_feature_service.rb +1 -2
- data/lib/stripe/services/product_service.rb +2 -41
- data/lib/stripe/services/promotion_code_service.rb +1 -9
- data/lib/stripe/services/quote_service.rb +7 -1730
- data/lib/stripe/services/radar/early_fraud_warning_service.rb +1 -1
- data/lib/stripe/services/radar/value_list_item_service.rb +1 -2
- data/lib/stripe/services/radar/value_list_service.rb +1 -2
- data/lib/stripe/services/setup_intent_service.rb +119 -836
- data/lib/stripe/services/source_service.rb +1 -1
- data/lib/stripe/services/subscription_item_service.rb +27 -73
- data/lib/stripe/services/subscription_schedule_service.rb +101 -916
- data/lib/stripe/services/subscription_service.rb +85 -282
- data/lib/stripe/services/tax/calculation_service.rb +4 -0
- data/lib/stripe/services/tax/registration_service.rb +1 -1
- data/lib/stripe/services/tax_id_service.rb +3 -10
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal/configuration_service.rb +1 -2
- data/lib/stripe/services/terminal/location_service.rb +2 -3
- data/lib/stripe/services/terminal/reader_service.rb +5 -81
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +33 -190
- data/lib/stripe/services/test_helpers/test_clock_service.rb +1 -2
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
- data/lib/stripe/services/token_service.rb +1 -1
- data/lib/stripe/services/transfer_service.rb +1 -5
- data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
- data/lib/stripe/services/treasury/financial_account_service.rb +2 -16
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
- data/lib/stripe/services/v1_services.rb +2 -12
- data/lib/stripe/services/v2/billing/meter_event_session_service.rb +1 -2
- data/lib/stripe/services/v2/core/event_destination_service.rb +4 -10
- data/lib/stripe/services/v2/core/event_service.rb +1 -2
- data/lib/stripe/services/v2/core_service.rb +1 -4
- data/lib/stripe/services/v2_services.rb +2 -4
- data/lib/stripe/services/webhook_endpoint_service.rb +1 -2
- data/lib/stripe/services.rb +1 -54
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -53
- data/rbi/stripe/resources/account.rbi +4926 -0
- data/rbi/stripe/resources/account_link.rbi +74 -0
- data/rbi/stripe/resources/account_session.rbi +1013 -0
- data/rbi/stripe/resources/apple_pay_domain.rbi +88 -0
- data/rbi/stripe/resources/application.rbi +20 -0
- data/rbi/stripe/resources/application_fee.rbi +118 -0
- data/rbi/stripe/resources/application_fee_refund.rbi +37 -0
- data/rbi/stripe/resources/apps/secret.rbi +195 -0
- data/rbi/stripe/resources/balance.rbi +235 -0
- data/rbi/stripe/resources/balance_transaction.rbi +147 -0
- data/rbi/stripe/resources/bank_account.rbi +127 -0
- data/rbi/stripe/resources/billing/alert.rbi +201 -0
- data/rbi/stripe/resources/billing/alert_triggered.rbi +28 -0
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +63 -0
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +147 -0
- data/rbi/stripe/resources/billing/credit_grant.rbi +291 -0
- data/rbi/stripe/resources/billing/meter.rbi +226 -0
- data/rbi/stripe/resources/billing/meter_event.rbi +64 -0
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +64 -0
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +35 -0
- data/rbi/stripe/resources/billing_portal/configuration.rbi +645 -0
- data/rbi/stripe/resources/billing_portal/session.rbi +345 -0
- data/rbi/stripe/resources/capability.rbi +125 -0
- data/rbi/stripe/resources/card.rbi +125 -0
- data/rbi/stripe/resources/cash_balance.rbi +32 -0
- data/rbi/stripe/resources/charge.rbi +2069 -0
- data/rbi/stripe/resources/checkout/session.rbi +4004 -0
- data/rbi/stripe/resources/climate/order.rbi +245 -0
- data/rbi/stripe/resources/climate/product.rbi +75 -0
- data/rbi/stripe/resources/climate/supplier.rbi +72 -0
- data/rbi/stripe/resources/confirmation_token.rbi +1807 -0
- data/rbi/stripe/resources/connect_collection_transfer.rbi +26 -0
- data/rbi/stripe/resources/country_spec.rbi +85 -0
- data/rbi/stripe/resources/coupon.rbi +250 -0
- data/rbi/stripe/resources/credit_note.rbi +752 -0
- data/rbi/stripe/resources/credit_note_line_item.rbi +101 -0
- data/rbi/stripe/resources/customer.rbi +1005 -0
- data/rbi/stripe/resources/customer_balance_transaction.rbi +56 -0
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +151 -0
- data/rbi/stripe/resources/customer_session.rbi +200 -0
- data/rbi/stripe/resources/discount.rbi +53 -0
- data/rbi/stripe/resources/dispute.rbi +761 -0
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +58 -0
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +23 -0
- data/rbi/stripe/resources/entitlements/feature.rbi +117 -0
- data/rbi/stripe/resources/ephemeral_key.rbi +44 -0
- data/rbi/stripe/resources/event.rbi +149 -0
- data/rbi/stripe/resources/exchange_rate.rbi +66 -0
- data/rbi/stripe/resources/file.rbi +143 -0
- data/rbi/stripe/resources/file_link.rbi +141 -0
- data/rbi/stripe/resources/financial_connections/account.rbi +339 -0
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +35 -0
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +23 -0
- data/rbi/stripe/resources/financial_connections/session.rbi +123 -0
- data/rbi/stripe/resources/financial_connections/transaction.rbi +124 -0
- data/rbi/stripe/resources/forwarding/request.rbi +216 -0
- data/rbi/stripe/resources/funding_instructions.rbi +437 -0
- data/rbi/stripe/resources/identity/verification_report.rbi +360 -0
- data/rbi/stripe/resources/identity/verification_session.rbi +526 -0
- data/rbi/stripe/resources/invoice.rbi +3812 -0
- data/rbi/stripe/resources/invoice_item.rbi +473 -0
- data/rbi/stripe/resources/invoice_line_item.rbi +432 -0
- data/rbi/stripe/resources/invoice_payment.rbi +121 -0
- data/rbi/stripe/resources/invoice_rendering_template.rbi +104 -0
- data/rbi/stripe/resources/issuing/authorization.rbi +1283 -0
- data/rbi/stripe/resources/issuing/card.rbi +741 -0
- data/rbi/stripe/resources/issuing/cardholder.rbi +744 -0
- data/rbi/stripe/resources/issuing/dispute.rbi +913 -0
- data/rbi/stripe/resources/issuing/personalization_design.rbi +338 -0
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +79 -0
- data/rbi/stripe/resources/issuing/token.rbi +226 -0
- data/rbi/stripe/resources/issuing/transaction.rbi +1061 -0
- data/rbi/stripe/resources/line_item.rbi +72 -0
- data/rbi/stripe/resources/login_link.rbi +19 -0
- data/rbi/stripe/resources/mandate.rbi +187 -0
- data/rbi/stripe/resources/payment_intent.rbi +9647 -0
- data/rbi/stripe/resources/payment_link.rbi +1801 -0
- data/rbi/stripe/resources/payment_method.rbi +1761 -0
- data/rbi/stripe/resources/payment_method_configuration.rbi +3550 -0
- data/rbi/stripe/resources/payment_method_domain.rbi +228 -0
- data/rbi/stripe/resources/payout.rbi +300 -0
- data/rbi/stripe/resources/person.rbi +401 -0
- data/rbi/stripe/resources/plan.rbi +371 -0
- data/rbi/stripe/resources/price.rbi +694 -0
- data/rbi/stripe/resources/product.rbi +555 -0
- data/rbi/stripe/resources/product_feature.rbi +26 -0
- data/rbi/stripe/resources/promotion_code.rbi +261 -0
- data/rbi/stripe/resources/quote.rbi +1126 -0
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +98 -0
- data/rbi/stripe/resources/radar/value_list.rbi +168 -0
- data/rbi/stripe/resources/radar/value_list_item.rbi +129 -0
- data/rbi/stripe/resources/refund.rbi +523 -0
- data/rbi/stripe/resources/reporting/report_run.rbi +191 -0
- data/rbi/stripe/resources/reporting/report_type.rbi +57 -0
- data/rbi/stripe/resources/reserve_transaction.rbi +23 -0
- data/rbi/stripe/resources/reversal.rbi +51 -0
- data/rbi/stripe/resources/review.rbi +154 -0
- data/rbi/stripe/resources/setup_attempt.rbi +477 -0
- data/rbi/stripe/resources/setup_intent.rbi +3655 -0
- data/rbi/stripe/resources/shipping_rate.rbi +305 -0
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +75 -0
- data/rbi/stripe/resources/source.rbi +1496 -0
- data/rbi/stripe/resources/source_mandate_notification.rbi +77 -0
- data/rbi/stripe/resources/source_transaction.rbi +127 -0
- data/rbi/stripe/resources/subscription.rbi +2027 -0
- data/rbi/stripe/resources/subscription_item.rbi +404 -0
- data/rbi/stripe/resources/subscription_schedule.rbi +1623 -0
- data/rbi/stripe/resources/tax/calculation.rbi +478 -0
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +91 -0
- data/rbi/stripe/resources/tax/registration.rbi +2713 -0
- data/rbi/stripe/resources/tax/settings.rbi +141 -0
- data/rbi/stripe/resources/tax/transaction.rbi +351 -0
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +54 -0
- data/rbi/stripe/resources/tax_code.rbi +44 -0
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +23 -0
- data/rbi/stripe/resources/tax_id.rbi +165 -0
- data/rbi/stripe/resources/tax_rate.rbi +239 -0
- data/rbi/stripe/resources/terminal/configuration.rbi +1386 -0
- data/rbi/stripe/resources/terminal/connection_token.rbi +37 -0
- data/rbi/stripe/resources/terminal/location.rbi +222 -0
- data/rbi/stripe/resources/terminal/reader.rbi +847 -0
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +132 -0
- data/rbi/stripe/resources/token.rbi +1283 -0
- data/rbi/stripe/resources/topup.rbi +222 -0
- data/rbi/stripe/resources/transfer.rbi +199 -0
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +119 -0
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +131 -0
- data/rbi/stripe/resources/treasury/financial_account.rbi +865 -0
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +260 -0
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +295 -0
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +592 -0
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +431 -0
- data/rbi/stripe/resources/treasury/received_credit.rbi +302 -0
- data/rbi/stripe/resources/treasury/received_debit.rbi +256 -0
- data/rbi/stripe/resources/treasury/transaction.rbi +215 -0
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +192 -0
- data/rbi/stripe/resources/v2/amount.rbi +14 -0
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +37 -0
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +41 -0
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +31 -0
- data/rbi/stripe/resources/v2/event.rbi +48 -0
- data/rbi/stripe/resources/v2/event_destination.rbi +91 -0
- data/rbi/stripe/resources/webhook_endpoint.rbi +168 -0
- data/rbi/stripe/services/account_capability_service.rbi +51 -0
- data/{lib/stripe/services/external_account_service.rb → rbi/stripe/services/account_external_account_service.rbi} +124 -138
- data/rbi/stripe/services/account_link_service.rbi +58 -0
- data/rbi/stripe/services/account_login_link_service.rbi +22 -0
- data/rbi/stripe/services/account_person_service.rbi +1011 -0
- data/rbi/stripe/services/account_service.rbi +4213 -0
- data/rbi/stripe/services/account_session_service.rbi +646 -0
- data/rbi/stripe/services/apple_pay_domain_service.rbi +76 -0
- data/rbi/stripe/services/application_fee_refund_service.rbi +93 -0
- data/rbi/stripe/services/application_fee_service.rbi +78 -0
- data/rbi/stripe/services/apps/secret_service.rbi +151 -0
- data/rbi/stripe/services/apps_service.rbi +9 -0
- data/rbi/stripe/services/balance_service.rbi +21 -0
- data/rbi/stripe/services/balance_transaction_service.rbi +93 -0
- data/rbi/stripe/services/billing/alert_service.rbi +152 -0
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +68 -0
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +59 -0
- data/rbi/stripe/services/billing/credit_grant_service.rbi +211 -0
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +42 -0
- data/rbi/stripe/services/billing/meter_event_service.rbi +42 -0
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +54 -0
- data/rbi/stripe/services/billing/meter_service.rbi +163 -0
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +511 -0
- data/rbi/stripe/services/billing_portal/session_service.rbi +204 -0
- data/rbi/stripe/services/billing_portal_service.rbi +10 -0
- data/rbi/stripe/services/billing_service.rbi +15 -0
- data/rbi/stripe/services/charge_service.rbi +448 -0
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +33 -0
- data/rbi/stripe/services/checkout/session_service.rbi +2614 -0
- data/rbi/stripe/services/checkout_service.rbi +9 -0
- data/rbi/stripe/services/climate/order_service.rbi +142 -0
- data/rbi/stripe/services/climate/product_service.rbi +46 -0
- data/{lib/stripe/services/financial_connections/institution_service.rb → rbi/stripe/services/climate/supplier_service.rbi} +25 -36
- data/rbi/stripe/services/climate_service.rbi +11 -0
- data/rbi/stripe/services/confirmation_token_service.rbi +20 -0
- data/rbi/stripe/services/country_spec_service.rbi +44 -0
- data/rbi/stripe/services/coupon_service.rbi +194 -0
- data/{lib/stripe/services/quote_preview_invoice_service.rb → rbi/stripe/services/credit_note_line_item_service.rbi} +16 -20
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +167 -0
- data/rbi/stripe/services/credit_note_service.rbi +415 -0
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +92 -0
- data/rbi/stripe/services/customer_cash_balance_service.rbi +45 -0
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +44 -0
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +59 -0
- data/rbi/stripe/services/customer_payment_method_service.rbi +57 -0
- data/rbi/stripe/services/customer_payment_source_service.rbi +232 -0
- data/rbi/stripe/services/customer_service.rbi +647 -0
- data/rbi/stripe/services/customer_session_service.rbi +116 -0
- data/rbi/stripe/services/customer_tax_id_service.rbi +70 -0
- data/rbi/stripe/services/dispute_service.rbi +424 -0
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +55 -0
- data/rbi/stripe/services/entitlements/feature_service.rbi +107 -0
- data/rbi/stripe/services/entitlements_service.rbi +10 -0
- data/rbi/stripe/services/ephemeral_key_service.rbi +53 -0
- data/rbi/stripe/services/event_service.rbi +83 -0
- data/rbi/stripe/services/exchange_rate_service.rbi +44 -0
- data/rbi/stripe/services/file_link_service.rbi +124 -0
- data/rbi/stripe/services/file_service.rbi +116 -0
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +42 -0
- data/rbi/stripe/services/financial_connections/account_service.rbi +133 -0
- data/rbi/stripe/services/financial_connections/session_service.rbi +88 -0
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +92 -0
- data/rbi/stripe/services/financial_connections_service.rbi +11 -0
- data/rbi/stripe/services/forwarding/request_service.rbi +134 -0
- data/rbi/stripe/services/forwarding_service.rbi +9 -0
- data/rbi/stripe/services/identity/verification_report_service.rbi +87 -0
- data/rbi/stripe/services/identity/verification_session_service.rbi +323 -0
- data/rbi/stripe/services/identity_service.rbi +10 -0
- data/rbi/stripe/services/invoice_item_service.rbi +366 -0
- data/rbi/stripe/services/invoice_line_item_service.rbi +259 -0
- data/rbi/stripe/services/invoice_payment_service.rbi +71 -0
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +82 -0
- data/rbi/stripe/services/invoice_service.rbi +2981 -0
- data/rbi/stripe/services/issuing/authorization_service.rbi +146 -0
- data/rbi/stripe/services/issuing/card_service.rbi +495 -0
- data/rbi/stripe/services/issuing/cardholder_service.rbi +587 -0
- data/rbi/stripe/services/issuing/dispute_service.rbi +707 -0
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +243 -0
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +59 -0
- data/rbi/stripe/services/issuing/token_service.rbi +99 -0
- data/rbi/stripe/services/issuing/transaction_service.rbi +105 -0
- data/rbi/stripe/services/issuing_service.rbi +16 -0
- data/rbi/stripe/services/mandate_service.rbi +20 -0
- data/rbi/stripe/services/payment_intent_service.rbi +7659 -0
- data/{lib/stripe/services/payment_intent_amount_details_line_item_service.rb → rbi/stripe/services/payment_link_line_item_service.rbi} +16 -20
- data/rbi/stripe/services/payment_link_service.rbi +1352 -0
- data/rbi/stripe/services/payment_method_configuration_service.rbi +2487 -0
- data/rbi/stripe/services/payment_method_domain_service.rbi +112 -0
- data/rbi/stripe/services/payment_method_service.rbi +776 -0
- data/rbi/stripe/services/payout_service.rbi +205 -0
- data/rbi/stripe/services/plan_service.rbi +282 -0
- data/rbi/stripe/services/price_service.rbi +546 -0
- data/rbi/stripe/services/product_feature_service.rbi +67 -0
- data/rbi/stripe/services/product_service.rbi +477 -0
- data/rbi/stripe/services/promotion_code_service.rbi +214 -0
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +31 -0
- data/{lib/stripe/services/order_line_item_service.rb → rbi/stripe/services/quote_line_item_service.rbi} +16 -20
- data/rbi/stripe/services/quote_service.rbi +686 -0
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +85 -0
- data/rbi/stripe/services/radar/value_list_item_service.rbi +109 -0
- data/rbi/stripe/services/radar/value_list_service.rbi +141 -0
- data/rbi/stripe/services/radar_service.rbi +11 -0
- data/rbi/stripe/services/refund_service.rbi +185 -0
- data/rbi/stripe/services/reporting/report_run_service.rbi +135 -0
- data/rbi/stripe/services/reporting/report_type_service.rbi +35 -0
- data/rbi/stripe/services/reporting_service.rbi +10 -0
- data/rbi/stripe/services/review_service.rbi +84 -0
- data/rbi/stripe/services/setup_attempt_service.rbi +65 -0
- data/rbi/stripe/services/setup_intent_service.rbi +3391 -0
- data/rbi/stripe/services/shipping_rate_service.rbi +241 -0
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +46 -0
- data/rbi/stripe/services/sigma_service.rbi +9 -0
- data/rbi/stripe/services/source_service.rbi +663 -0
- data/{lib/stripe/services/quote_line_service.rb → rbi/stripe/services/source_transaction_service.rbi} +16 -20
- data/rbi/stripe/services/subscription_item_service.rbi +350 -0
- data/rbi/stripe/services/subscription_schedule_service.rbi +1290 -0
- data/rbi/stripe/services/subscription_service.rbi +1648 -0
- data/{lib/stripe/services/financial_connections/account_inferred_balance_service.rb → rbi/stripe/services/tax/calculation_line_item_service.rbi} +17 -21
- data/rbi/stripe/services/tax/calculation_service.rbi +234 -0
- data/rbi/stripe/services/tax/registration_service.rbi +1845 -0
- data/rbi/stripe/services/tax/settings_service.rbi +93 -0
- data/{lib/stripe/services/privacy/redaction_job_validation_error_service.rb → rbi/stripe/services/tax/transaction_line_item_service.rbi} +17 -21
- data/rbi/stripe/services/tax/transaction_service.rbi +146 -0
- data/rbi/stripe/services/tax_code_service.rbi +44 -0
- data/rbi/stripe/services/tax_id_service.rbi +110 -0
- data/rbi/stripe/services/tax_rate_service.rbi +185 -0
- data/rbi/stripe/services/tax_service.rbi +12 -0
- data/rbi/stripe/services/terminal/configuration_service.rbi +1118 -0
- data/rbi/stripe/services/terminal/connection_token_service.rbi +25 -0
- data/rbi/stripe/services/terminal/location_service.rbi +182 -0
- data/rbi/stripe/services/terminal/reader_service.rbi +455 -0
- data/rbi/stripe/services/terminal_service.rbi +12 -0
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +739 -0
- data/rbi/stripe/services/test_helpers/customer_service.rbi +33 -0
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +848 -0
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +76 -0
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +69 -0
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +711 -0
- data/rbi/stripe/services/test_helpers/issuing_service.rbi +14 -0
- data/rbi/stripe/services/test_helpers/refund_service.rbi +22 -0
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +93 -0
- data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +90 -0
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +64 -0
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +125 -0
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +125 -0
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +87 -0
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +87 -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 +1257 -0
- data/rbi/stripe/services/topup_service.rbi +176 -0
- data/rbi/stripe/services/transfer_reversal_service.rbi +101 -0
- data/rbi/stripe/services/transfer_service.rbi +152 -0
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +84 -0
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +88 -0
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +198 -0
- data/rbi/stripe/services/treasury/financial_account_service.rbi +562 -0
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +117 -0
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +304 -0
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +157 -0
- data/rbi/stripe/services/treasury/received_credit_service.rbi +72 -0
- data/rbi/stripe/services/treasury/received_debit_service.rbi +59 -0
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +111 -0
- data/rbi/stripe/services/treasury/transaction_service.rbi +122 -0
- data/rbi/stripe/services/treasury_service.rbi +18 -0
- data/rbi/stripe/services/v1_services.rbi +77 -0
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +39 -0
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +42 -0
- data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +18 -0
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +55 -0
- data/rbi/stripe/services/v2/billing_service.rbi +14 -0
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +192 -0
- data/rbi/stripe/services/v2/core/event_service.rbi +36 -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 +129 -0
- data/stripe.gemspec +1 -4
- metadata +326 -158
- data/lib/stripe/events/v2_core_account_closed_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_created_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_link_completed_event.rb +0 -13
- data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -23
- data/lib/stripe/events/v2_core_account_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -23
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -23
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -21
- data/lib/stripe/resources/account_notice.rb +0 -123
- data/lib/stripe/resources/balance_settings.rb +0 -105
- data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
- data/lib/stripe/resources/capital/financing_offer.rb +0 -179
- data/lib/stripe/resources/capital/financing_summary.rb +0 -55
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -114
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
- data/lib/stripe/resources/financial_connections/institution.rb +0 -90
- data/lib/stripe/resources/fx_quote.rb +0 -184
- data/lib/stripe/resources/gift_cards/card.rb +0 -208
- data/lib/stripe/resources/gift_cards/transaction.rb +0 -272
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -602
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -82
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -86
- data/lib/stripe/resources/issuing/settlement.rb +0 -53
- data/lib/stripe/resources/margin.rb +0 -115
- data/lib/stripe/resources/order.rb +0 -2859
- data/lib/stripe/resources/payment_attempt_record.rb +0 -1078
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -65
- data/lib/stripe/resources/payment_record.rb +0 -1607
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -275
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -25
- data/lib/stripe/resources/quote_line.rb +0 -274
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -663
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -339
- data/lib/stripe/resources/tax/association.rb +0 -89
- data/lib/stripe/resources/tax/form.rb +0 -211
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -31
- data/lib/stripe/resources/v2/core/account.rb +0 -1746
- data/lib/stripe/resources/v2/core/account_link.rb +0 -56
- data/lib/stripe/resources/v2/core/person.rb +0 -276
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -74
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -39
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -20
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -22
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -51
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -58
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -68
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -94
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -129
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -82
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -45
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -117
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -75
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -49
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -136
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -108
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -78
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -68
- data/lib/stripe/services/account_notice_service.rb +0 -101
- data/lib/stripe/services/balance_settings_service.rb +0 -96
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/fx_quote_service.rb +0 -123
- data/lib/stripe/services/gift_cards/card_service.rb +0 -170
- data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
- data/lib/stripe/services/gift_cards_service.rb +0 -14
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
- data/lib/stripe/services/margin_service.rb +0 -119
- data/lib/stripe/services/order_service.rb +0 -2268
- data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
- data/lib/stripe/services/payment_record_service.rb +0 -542
- data/lib/stripe/services/privacy/redaction_job_service.rb +0 -231
- data/lib/stripe/services/privacy_service.rb +0 -13
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
- data/lib/stripe/services/tax/association_service.rb +0 -31
- data/lib/stripe/services/tax/form_service.rb +0 -100
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
- data/lib/stripe/services/v2/core/account_link_service.rb +0 -76
- data/lib/stripe/services/v2/core/account_service.rb +0 -4138
- data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1048
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -135
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -109
- data/lib/stripe/services/v2/core/vault_service.rb +0 -18
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -75
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -44
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -81
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -126
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -96
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -202
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -237
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -174
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -95
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -71
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -44
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -70
- data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -74
- data/lib/stripe/services/v2/money_management_service.rb +0 -31
- data/lib/stripe/services/v2/test_helper_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -50
- data/rbi/stripe.rbi +0 -191867
@@ -18,8 +18,6 @@ module Stripe
|
|
18
18
|
end
|
19
19
|
|
20
20
|
class AcssDebit < Stripe::StripeObject
|
21
|
-
# Account number of the bank account.
|
22
|
-
attr_reader :account_number
|
23
21
|
# Name of the bank associated with the bank account.
|
24
22
|
attr_reader :bank_name
|
25
23
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
@@ -439,20 +437,8 @@ module Stripe
|
|
439
437
|
end
|
440
438
|
|
441
439
|
class Giropay < Stripe::StripeObject; end
|
442
|
-
class Gopay < Stripe::StripeObject; end
|
443
440
|
class Grabpay < Stripe::StripeObject; end
|
444
441
|
|
445
|
-
class IdBankTransfer < Stripe::StripeObject
|
446
|
-
# Attribute for field bank
|
447
|
-
attr_reader :bank
|
448
|
-
# Attribute for field bank_code
|
449
|
-
attr_reader :bank_code
|
450
|
-
# Attribute for field bank_name
|
451
|
-
attr_reader :bank_name
|
452
|
-
# Attribute for field display_name
|
453
|
-
attr_reader :display_name
|
454
|
-
end
|
455
|
-
|
456
442
|
class Ideal < Stripe::StripeObject
|
457
443
|
# The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
458
444
|
attr_reader :bank
|
@@ -530,7 +516,6 @@ module Stripe
|
|
530
516
|
attr_reader :persistent_token
|
531
517
|
end
|
532
518
|
|
533
|
-
class MbWay < Stripe::StripeObject; end
|
534
519
|
class Mobilepay < Stripe::StripeObject; end
|
535
520
|
class Multibanco < Stripe::StripeObject; end
|
536
521
|
|
@@ -570,49 +555,21 @@ module Stripe
|
|
570
555
|
class Paypal < Stripe::StripeObject
|
571
556
|
# Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
572
557
|
attr_reader :country
|
573
|
-
# Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
|
574
|
-
attr_reader :fingerprint
|
575
558
|
# Owner's email. Values are provided by PayPal directly
|
576
559
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
577
560
|
attr_reader :payer_email
|
578
561
|
# PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
579
562
|
attr_reader :payer_id
|
580
|
-
# Owner's verified email. Values are verified or provided by PayPal directly
|
581
|
-
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
582
|
-
attr_reader :verified_email
|
583
|
-
end
|
584
|
-
|
585
|
-
class Payto < Stripe::StripeObject
|
586
|
-
# Bank-State-Branch number of the bank account.
|
587
|
-
attr_reader :bsb_number
|
588
|
-
# Last four digits of the bank account number.
|
589
|
-
attr_reader :last4
|
590
|
-
# The PayID alias for the bank account.
|
591
|
-
attr_reader :pay_id
|
592
563
|
end
|
593
564
|
|
594
565
|
class Pix < Stripe::StripeObject; end
|
595
566
|
class Promptpay < Stripe::StripeObject; end
|
596
|
-
class Qris < Stripe::StripeObject; end
|
597
567
|
|
598
568
|
class RadarOptions < Stripe::StripeObject
|
599
569
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
600
570
|
attr_reader :session
|
601
571
|
end
|
602
572
|
|
603
|
-
class Rechnung < Stripe::StripeObject
|
604
|
-
class Dob < Stripe::StripeObject
|
605
|
-
# The day of birth, between 1 and 31.
|
606
|
-
attr_reader :day
|
607
|
-
# The month of birth, between 1 and 12.
|
608
|
-
attr_reader :month
|
609
|
-
# The four-digit year of birth.
|
610
|
-
attr_reader :year
|
611
|
-
end
|
612
|
-
# Attribute for field dob
|
613
|
-
attr_reader :dob
|
614
|
-
end
|
615
|
-
|
616
573
|
class RevolutPay < Stripe::StripeObject; end
|
617
574
|
class SamsungPay < Stripe::StripeObject; end
|
618
575
|
class Satispay < Stripe::StripeObject; end
|
@@ -638,20 +595,11 @@ module Stripe
|
|
638
595
|
attr_reader :last4
|
639
596
|
end
|
640
597
|
|
641
|
-
class Shopeepay < Stripe::StripeObject; end
|
642
|
-
|
643
598
|
class Sofort < Stripe::StripeObject
|
644
599
|
# Two-letter ISO code representing the country the bank account is located in.
|
645
600
|
attr_reader :country
|
646
601
|
end
|
647
602
|
|
648
|
-
class StripeBalance < Stripe::StripeObject
|
649
|
-
# The connected account ID whose Stripe balance to use as the source of payment
|
650
|
-
attr_reader :account
|
651
|
-
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
652
|
-
attr_reader :source_type
|
653
|
-
end
|
654
|
-
|
655
603
|
class Swish < Stripe::StripeObject; end
|
656
604
|
class Twint < Stripe::StripeObject; end
|
657
605
|
|
@@ -675,8 +623,6 @@ module Stripe
|
|
675
623
|
end
|
676
624
|
# Account holder type: individual or company.
|
677
625
|
attr_reader :account_holder_type
|
678
|
-
# Account number of the bank account.
|
679
|
-
attr_reader :account_number
|
680
626
|
# Account type: checkings or savings. Defaults to checking if omitted.
|
681
627
|
attr_reader :account_type
|
682
628
|
# The name of the bank.
|
@@ -745,20 +691,11 @@ module Stripe
|
|
745
691
|
end
|
746
692
|
end
|
747
693
|
|
748
|
-
class Affirm < Stripe::RequestParams
|
749
|
-
end
|
750
|
-
|
751
|
-
class
|
752
|
-
end
|
753
|
-
|
754
|
-
class Alipay < Stripe::RequestParams
|
755
|
-
end
|
756
|
-
|
757
|
-
class Alma < Stripe::RequestParams
|
758
|
-
end
|
759
|
-
|
760
|
-
class AmazonPay < Stripe::RequestParams
|
761
|
-
end
|
694
|
+
class Affirm < Stripe::RequestParams; end
|
695
|
+
class AfterpayClearpay < Stripe::RequestParams; end
|
696
|
+
class Alipay < Stripe::RequestParams; end
|
697
|
+
class Alma < Stripe::RequestParams; end
|
698
|
+
class AmazonPay < Stripe::RequestParams; end
|
762
699
|
|
763
700
|
class AuBecsDebit < Stripe::RequestParams
|
764
701
|
# The account number for the bank account.
|
@@ -784,11 +721,8 @@ module Stripe
|
|
784
721
|
end
|
785
722
|
end
|
786
723
|
|
787
|
-
class Bancontact < Stripe::RequestParams
|
788
|
-
end
|
789
|
-
|
790
|
-
class Billie < Stripe::RequestParams
|
791
|
-
end
|
724
|
+
class Bancontact < Stripe::RequestParams; end
|
725
|
+
class Billie < Stripe::RequestParams; end
|
792
726
|
|
793
727
|
class BillingDetails < Stripe::RequestParams
|
794
728
|
class Address < Stripe::RequestParams
|
@@ -841,8 +775,7 @@ module Stripe
|
|
841
775
|
end
|
842
776
|
end
|
843
777
|
|
844
|
-
class Blik < Stripe::RequestParams
|
845
|
-
end
|
778
|
+
class Blik < Stripe::RequestParams; end
|
846
779
|
|
847
780
|
class Boleto < Stripe::RequestParams
|
848
781
|
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
@@ -892,11 +825,8 @@ module Stripe
|
|
892
825
|
end
|
893
826
|
end
|
894
827
|
|
895
|
-
class Cashapp < Stripe::RequestParams
|
896
|
-
end
|
897
|
-
|
898
|
-
class CustomerBalance < Stripe::RequestParams
|
899
|
-
end
|
828
|
+
class Cashapp < Stripe::RequestParams; end
|
829
|
+
class CustomerBalance < Stripe::RequestParams; end
|
900
830
|
|
901
831
|
class Eps < Stripe::RequestParams
|
902
832
|
# The customer's bank.
|
@@ -919,23 +849,8 @@ module Stripe
|
|
919
849
|
end
|
920
850
|
end
|
921
851
|
|
922
|
-
class Giropay < Stripe::RequestParams
|
923
|
-
end
|
924
|
-
|
925
|
-
class Gopay < Stripe::RequestParams
|
926
|
-
end
|
927
|
-
|
928
|
-
class Grabpay < Stripe::RequestParams
|
929
|
-
end
|
930
|
-
|
931
|
-
class IdBankTransfer < Stripe::RequestParams
|
932
|
-
# Bank where the account is held.
|
933
|
-
attr_accessor :bank
|
934
|
-
|
935
|
-
def initialize(bank: nil)
|
936
|
-
@bank = bank
|
937
|
-
end
|
938
|
-
end
|
852
|
+
class Giropay < Stripe::RequestParams; end
|
853
|
+
class Grabpay < Stripe::RequestParams; end
|
939
854
|
|
940
855
|
class Ideal < Stripe::RequestParams
|
941
856
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
@@ -946,11 +861,8 @@ module Stripe
|
|
946
861
|
end
|
947
862
|
end
|
948
863
|
|
949
|
-
class InteracPresent < Stripe::RequestParams
|
950
|
-
end
|
951
|
-
|
952
|
-
class KakaoPay < Stripe::RequestParams
|
953
|
-
end
|
864
|
+
class InteracPresent < Stripe::RequestParams; end
|
865
|
+
class KakaoPay < Stripe::RequestParams; end
|
954
866
|
|
955
867
|
class Klarna < Stripe::RequestParams
|
956
868
|
class Dob < Stripe::RequestParams
|
@@ -975,23 +887,11 @@ module Stripe
|
|
975
887
|
end
|
976
888
|
end
|
977
889
|
|
978
|
-
class Konbini < Stripe::RequestParams
|
979
|
-
end
|
980
|
-
|
981
|
-
class
|
982
|
-
end
|
983
|
-
|
984
|
-
class Link < Stripe::RequestParams
|
985
|
-
end
|
986
|
-
|
987
|
-
class MbWay < Stripe::RequestParams
|
988
|
-
end
|
989
|
-
|
990
|
-
class Mobilepay < Stripe::RequestParams
|
991
|
-
end
|
992
|
-
|
993
|
-
class Multibanco < Stripe::RequestParams
|
994
|
-
end
|
890
|
+
class Konbini < Stripe::RequestParams; end
|
891
|
+
class KrCard < Stripe::RequestParams; end
|
892
|
+
class Link < Stripe::RequestParams; end
|
893
|
+
class Mobilepay < Stripe::RequestParams; end
|
894
|
+
class Multibanco < Stripe::RequestParams; end
|
995
895
|
|
996
896
|
class NaverPay < Stripe::RequestParams
|
997
897
|
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
@@ -1033,8 +933,7 @@ module Stripe
|
|
1033
933
|
end
|
1034
934
|
end
|
1035
935
|
|
1036
|
-
class Oxxo < Stripe::RequestParams
|
1037
|
-
end
|
936
|
+
class Oxxo < Stripe::RequestParams; end
|
1038
937
|
|
1039
938
|
class P24 < Stripe::RequestParams
|
1040
939
|
# The customer's bank.
|
@@ -1045,41 +944,12 @@ module Stripe
|
|
1045
944
|
end
|
1046
945
|
end
|
1047
946
|
|
1048
|
-
class PayByBank < Stripe::RequestParams
|
1049
|
-
end
|
1050
|
-
|
1051
|
-
class
|
1052
|
-
end
|
1053
|
-
|
1054
|
-
class Paynow < Stripe::RequestParams
|
1055
|
-
end
|
1056
|
-
|
1057
|
-
class Paypal < Stripe::RequestParams
|
1058
|
-
end
|
1059
|
-
|
1060
|
-
class Payto < Stripe::RequestParams
|
1061
|
-
# The account number for the bank account.
|
1062
|
-
attr_accessor :account_number
|
1063
|
-
# Bank-State-Branch number of the bank account.
|
1064
|
-
attr_accessor :bsb_number
|
1065
|
-
# The PayID alias for the bank account.
|
1066
|
-
attr_accessor :pay_id
|
1067
|
-
|
1068
|
-
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
1069
|
-
@account_number = account_number
|
1070
|
-
@bsb_number = bsb_number
|
1071
|
-
@pay_id = pay_id
|
1072
|
-
end
|
1073
|
-
end
|
1074
|
-
|
1075
|
-
class Pix < Stripe::RequestParams
|
1076
|
-
end
|
1077
|
-
|
1078
|
-
class Promptpay < Stripe::RequestParams
|
1079
|
-
end
|
1080
|
-
|
1081
|
-
class Qris < Stripe::RequestParams
|
1082
|
-
end
|
947
|
+
class PayByBank < Stripe::RequestParams; end
|
948
|
+
class Payco < Stripe::RequestParams; end
|
949
|
+
class Paynow < Stripe::RequestParams; end
|
950
|
+
class Paypal < Stripe::RequestParams; end
|
951
|
+
class Pix < Stripe::RequestParams; end
|
952
|
+
class Promptpay < Stripe::RequestParams; end
|
1083
953
|
|
1084
954
|
class RadarOptions < Stripe::RequestParams
|
1085
955
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
@@ -1090,37 +960,9 @@ module Stripe
|
|
1090
960
|
end
|
1091
961
|
end
|
1092
962
|
|
1093
|
-
class
|
1094
|
-
|
1095
|
-
|
1096
|
-
attr_accessor :day
|
1097
|
-
# The month of birth, between 1 and 12.
|
1098
|
-
attr_accessor :month
|
1099
|
-
# The four-digit year of birth.
|
1100
|
-
attr_accessor :year
|
1101
|
-
|
1102
|
-
def initialize(day: nil, month: nil, year: nil)
|
1103
|
-
@day = day
|
1104
|
-
@month = month
|
1105
|
-
@year = year
|
1106
|
-
end
|
1107
|
-
end
|
1108
|
-
# Customer's date of birth
|
1109
|
-
attr_accessor :dob
|
1110
|
-
|
1111
|
-
def initialize(dob: nil)
|
1112
|
-
@dob = dob
|
1113
|
-
end
|
1114
|
-
end
|
1115
|
-
|
1116
|
-
class RevolutPay < Stripe::RequestParams
|
1117
|
-
end
|
1118
|
-
|
1119
|
-
class SamsungPay < Stripe::RequestParams
|
1120
|
-
end
|
1121
|
-
|
1122
|
-
class Satispay < Stripe::RequestParams
|
1123
|
-
end
|
963
|
+
class RevolutPay < Stripe::RequestParams; end
|
964
|
+
class SamsungPay < Stripe::RequestParams; end
|
965
|
+
class Satispay < Stripe::RequestParams; end
|
1124
966
|
|
1125
967
|
class SepaDebit < Stripe::RequestParams
|
1126
968
|
# IBAN of the bank account.
|
@@ -1131,9 +973,6 @@ module Stripe
|
|
1131
973
|
end
|
1132
974
|
end
|
1133
975
|
|
1134
|
-
class Shopeepay < Stripe::RequestParams
|
1135
|
-
end
|
1136
|
-
|
1137
976
|
class Sofort < Stripe::RequestParams
|
1138
977
|
# Two-letter ISO code representing the country the bank account is located in.
|
1139
978
|
attr_accessor :country
|
@@ -1143,23 +982,8 @@ module Stripe
|
|
1143
982
|
end
|
1144
983
|
end
|
1145
984
|
|
1146
|
-
class
|
1147
|
-
|
1148
|
-
attr_accessor :account
|
1149
|
-
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
1150
|
-
attr_accessor :source_type
|
1151
|
-
|
1152
|
-
def initialize(account: nil, source_type: nil)
|
1153
|
-
@account = account
|
1154
|
-
@source_type = source_type
|
1155
|
-
end
|
1156
|
-
end
|
1157
|
-
|
1158
|
-
class Swish < Stripe::RequestParams
|
1159
|
-
end
|
1160
|
-
|
1161
|
-
class Twint < Stripe::RequestParams
|
1162
|
-
end
|
985
|
+
class Swish < Stripe::RequestParams; end
|
986
|
+
class Twint < Stripe::RequestParams; end
|
1163
987
|
|
1164
988
|
class UsBankAccount < Stripe::RequestParams
|
1165
989
|
# Account holder type: individual or company.
|
@@ -1188,11 +1012,8 @@ module Stripe
|
|
1188
1012
|
end
|
1189
1013
|
end
|
1190
1014
|
|
1191
|
-
class WechatPay < Stripe::RequestParams
|
1192
|
-
end
|
1193
|
-
|
1194
|
-
class Zip < Stripe::RequestParams
|
1195
|
-
end
|
1015
|
+
class WechatPay < Stripe::RequestParams; end
|
1016
|
+
class Zip < Stripe::RequestParams; end
|
1196
1017
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
1197
1018
|
attr_accessor :acss_debit
|
1198
1019
|
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
@@ -1237,12 +1058,8 @@ module Stripe
|
|
1237
1058
|
attr_accessor :fpx
|
1238
1059
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
1239
1060
|
attr_accessor :giropay
|
1240
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
1241
|
-
attr_accessor :gopay
|
1242
1061
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
1243
1062
|
attr_accessor :grabpay
|
1244
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
1245
|
-
attr_accessor :id_bank_transfer
|
1246
1063
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
1247
1064
|
attr_accessor :ideal
|
1248
1065
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -1257,8 +1074,6 @@ module Stripe
|
|
1257
1074
|
attr_accessor :kr_card
|
1258
1075
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
1259
1076
|
attr_accessor :link
|
1260
|
-
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
1261
|
-
attr_accessor :mb_way
|
1262
1077
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
1263
1078
|
attr_accessor :metadata
|
1264
1079
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -1283,18 +1098,12 @@ module Stripe
|
|
1283
1098
|
attr_accessor :paynow
|
1284
1099
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
1285
1100
|
attr_accessor :paypal
|
1286
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
1287
|
-
attr_accessor :payto
|
1288
1101
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
1289
1102
|
attr_accessor :pix
|
1290
1103
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
1291
1104
|
attr_accessor :promptpay
|
1292
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
1293
|
-
attr_accessor :qris
|
1294
1105
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
1295
1106
|
attr_accessor :radar_options
|
1296
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
1297
|
-
attr_accessor :rechnung
|
1298
1107
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
1299
1108
|
attr_accessor :revolut_pay
|
1300
1109
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
@@ -1303,12 +1112,8 @@ module Stripe
|
|
1303
1112
|
attr_accessor :satispay
|
1304
1113
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
1305
1114
|
attr_accessor :sepa_debit
|
1306
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
1307
|
-
attr_accessor :shopeepay
|
1308
1115
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
1309
1116
|
attr_accessor :sofort
|
1310
|
-
# This hash contains details about the Stripe balance payment method.
|
1311
|
-
attr_accessor :stripe_balance
|
1312
1117
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
1313
1118
|
attr_accessor :swish
|
1314
1119
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
@@ -1345,9 +1150,7 @@ module Stripe
|
|
1345
1150
|
expand: nil,
|
1346
1151
|
fpx: nil,
|
1347
1152
|
giropay: nil,
|
1348
|
-
gopay: nil,
|
1349
1153
|
grabpay: nil,
|
1350
|
-
id_bank_transfer: nil,
|
1351
1154
|
ideal: nil,
|
1352
1155
|
interac_present: nil,
|
1353
1156
|
kakao_pay: nil,
|
@@ -1355,7 +1158,6 @@ module Stripe
|
|
1355
1158
|
konbini: nil,
|
1356
1159
|
kr_card: nil,
|
1357
1160
|
link: nil,
|
1358
|
-
mb_way: nil,
|
1359
1161
|
metadata: nil,
|
1360
1162
|
mobilepay: nil,
|
1361
1163
|
multibanco: nil,
|
@@ -1368,19 +1170,14 @@ module Stripe
|
|
1368
1170
|
payment_method: nil,
|
1369
1171
|
paynow: nil,
|
1370
1172
|
paypal: nil,
|
1371
|
-
payto: nil,
|
1372
1173
|
pix: nil,
|
1373
1174
|
promptpay: nil,
|
1374
|
-
qris: nil,
|
1375
1175
|
radar_options: nil,
|
1376
|
-
rechnung: nil,
|
1377
1176
|
revolut_pay: nil,
|
1378
1177
|
samsung_pay: nil,
|
1379
1178
|
satispay: nil,
|
1380
1179
|
sepa_debit: nil,
|
1381
|
-
shopeepay: nil,
|
1382
1180
|
sofort: nil,
|
1383
|
-
stripe_balance: nil,
|
1384
1181
|
swish: nil,
|
1385
1182
|
twint: nil,
|
1386
1183
|
type: nil,
|
@@ -1410,9 +1207,7 @@ module Stripe
|
|
1410
1207
|
@expand = expand
|
1411
1208
|
@fpx = fpx
|
1412
1209
|
@giropay = giropay
|
1413
|
-
@gopay = gopay
|
1414
1210
|
@grabpay = grabpay
|
1415
|
-
@id_bank_transfer = id_bank_transfer
|
1416
1211
|
@ideal = ideal
|
1417
1212
|
@interac_present = interac_present
|
1418
1213
|
@kakao_pay = kakao_pay
|
@@ -1420,7 +1215,6 @@ module Stripe
|
|
1420
1215
|
@konbini = konbini
|
1421
1216
|
@kr_card = kr_card
|
1422
1217
|
@link = link
|
1423
|
-
@mb_way = mb_way
|
1424
1218
|
@metadata = metadata
|
1425
1219
|
@mobilepay = mobilepay
|
1426
1220
|
@multibanco = multibanco
|
@@ -1433,19 +1227,14 @@ module Stripe
|
|
1433
1227
|
@payment_method = payment_method
|
1434
1228
|
@paynow = paynow
|
1435
1229
|
@paypal = paypal
|
1436
|
-
@payto = payto
|
1437
1230
|
@pix = pix
|
1438
1231
|
@promptpay = promptpay
|
1439
|
-
@qris = qris
|
1440
1232
|
@radar_options = radar_options
|
1441
|
-
@rechnung = rechnung
|
1442
1233
|
@revolut_pay = revolut_pay
|
1443
1234
|
@samsung_pay = samsung_pay
|
1444
1235
|
@satispay = satispay
|
1445
1236
|
@sepa_debit = sepa_debit
|
1446
|
-
@shopeepay = shopeepay
|
1447
1237
|
@sofort = sofort
|
1448
|
-
@stripe_balance = stripe_balance
|
1449
1238
|
@swish = swish
|
1450
1239
|
@twint = twint
|
1451
1240
|
@type = type
|
@@ -1530,26 +1319,8 @@ module Stripe
|
|
1530
1319
|
end
|
1531
1320
|
end
|
1532
1321
|
|
1533
|
-
class Link < Stripe::RequestParams
|
1534
|
-
end
|
1535
|
-
|
1536
|
-
class PayByBank < Stripe::RequestParams
|
1537
|
-
end
|
1538
|
-
|
1539
|
-
class Payto < Stripe::RequestParams
|
1540
|
-
# The account number for the bank account.
|
1541
|
-
attr_accessor :account_number
|
1542
|
-
# Bank-State-Branch number of the bank account.
|
1543
|
-
attr_accessor :bsb_number
|
1544
|
-
# The PayID alias for the bank account.
|
1545
|
-
attr_accessor :pay_id
|
1546
|
-
|
1547
|
-
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
1548
|
-
@account_number = account_number
|
1549
|
-
@bsb_number = bsb_number
|
1550
|
-
@pay_id = pay_id
|
1551
|
-
end
|
1552
|
-
end
|
1322
|
+
class Link < Stripe::RequestParams; end
|
1323
|
+
class PayByBank < Stripe::RequestParams; end
|
1553
1324
|
|
1554
1325
|
class UsBankAccount < Stripe::RequestParams
|
1555
1326
|
# Bank account holder type.
|
@@ -1576,8 +1347,6 @@ module Stripe
|
|
1576
1347
|
attr_accessor :metadata
|
1577
1348
|
# If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
|
1578
1349
|
attr_accessor :pay_by_bank
|
1579
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
1580
|
-
attr_accessor :payto
|
1581
1350
|
# If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
|
1582
1351
|
attr_accessor :us_bank_account
|
1583
1352
|
|
@@ -1589,7 +1358,6 @@ module Stripe
|
|
1589
1358
|
link: nil,
|
1590
1359
|
metadata: nil,
|
1591
1360
|
pay_by_bank: nil,
|
1592
|
-
payto: nil,
|
1593
1361
|
us_bank_account: nil
|
1594
1362
|
)
|
1595
1363
|
@allow_redisplay = allow_redisplay
|
@@ -1599,7 +1367,6 @@ module Stripe
|
|
1599
1367
|
@link = link
|
1600
1368
|
@metadata = metadata
|
1601
1369
|
@pay_by_bank = pay_by_bank
|
1602
|
-
@payto = payto
|
1603
1370
|
@us_bank_account = us_bank_account
|
1604
1371
|
end
|
1605
1372
|
end
|
@@ -1607,14 +1374,11 @@ module Stripe
|
|
1607
1374
|
class AttachParams < Stripe::RequestParams
|
1608
1375
|
# The ID of the customer to which to attach the PaymentMethod.
|
1609
1376
|
attr_accessor :customer
|
1610
|
-
# The ID of the account to which to attach the PaymentMethod.
|
1611
|
-
attr_accessor :customer_account
|
1612
1377
|
# Specifies which fields in the response should be expanded.
|
1613
1378
|
attr_accessor :expand
|
1614
1379
|
|
1615
|
-
def initialize(customer: nil,
|
1380
|
+
def initialize(customer: nil, expand: nil)
|
1616
1381
|
@customer = customer
|
1617
|
-
@customer_account = customer_account
|
1618
1382
|
@expand = expand
|
1619
1383
|
end
|
1620
1384
|
end
|
@@ -1665,8 +1429,6 @@ module Stripe
|
|
1665
1429
|
attr_reader :created
|
1666
1430
|
# The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer.
|
1667
1431
|
attr_reader :customer
|
1668
|
-
# Attribute for field customer_account
|
1669
|
-
attr_reader :customer_account
|
1670
1432
|
# Attribute for field customer_balance
|
1671
1433
|
attr_reader :customer_balance
|
1672
1434
|
# Attribute for field eps
|
@@ -1675,14 +1437,10 @@ module Stripe
|
|
1675
1437
|
attr_reader :fpx
|
1676
1438
|
# Attribute for field giropay
|
1677
1439
|
attr_reader :giropay
|
1678
|
-
# Attribute for field gopay
|
1679
|
-
attr_reader :gopay
|
1680
1440
|
# Attribute for field grabpay
|
1681
1441
|
attr_reader :grabpay
|
1682
1442
|
# Unique identifier for the object.
|
1683
1443
|
attr_reader :id
|
1684
|
-
# Attribute for field id_bank_transfer
|
1685
|
-
attr_reader :id_bank_transfer
|
1686
1444
|
# Attribute for field ideal
|
1687
1445
|
attr_reader :ideal
|
1688
1446
|
# Attribute for field interac_present
|
@@ -1699,8 +1457,6 @@ module Stripe
|
|
1699
1457
|
attr_reader :link
|
1700
1458
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
1701
1459
|
attr_reader :livemode
|
1702
|
-
# Attribute for field mb_way
|
1703
|
-
attr_reader :mb_way
|
1704
1460
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
1705
1461
|
attr_reader :metadata
|
1706
1462
|
# Attribute for field mobilepay
|
@@ -1725,18 +1481,12 @@ module Stripe
|
|
1725
1481
|
attr_reader :paynow
|
1726
1482
|
# Attribute for field paypal
|
1727
1483
|
attr_reader :paypal
|
1728
|
-
# Attribute for field payto
|
1729
|
-
attr_reader :payto
|
1730
1484
|
# Attribute for field pix
|
1731
1485
|
attr_reader :pix
|
1732
1486
|
# Attribute for field promptpay
|
1733
1487
|
attr_reader :promptpay
|
1734
|
-
# Attribute for field qris
|
1735
|
-
attr_reader :qris
|
1736
1488
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
1737
1489
|
attr_reader :radar_options
|
1738
|
-
# Attribute for field rechnung
|
1739
|
-
attr_reader :rechnung
|
1740
1490
|
# Attribute for field revolut_pay
|
1741
1491
|
attr_reader :revolut_pay
|
1742
1492
|
# Attribute for field samsung_pay
|
@@ -1745,12 +1495,8 @@ module Stripe
|
|
1745
1495
|
attr_reader :satispay
|
1746
1496
|
# Attribute for field sepa_debit
|
1747
1497
|
attr_reader :sepa_debit
|
1748
|
-
# Attribute for field shopeepay
|
1749
|
-
attr_reader :shopeepay
|
1750
1498
|
# Attribute for field sofort
|
1751
1499
|
attr_reader :sofort
|
1752
|
-
# Attribute for field stripe_balance
|
1753
|
-
attr_reader :stripe_balance
|
1754
1500
|
# Attribute for field swish
|
1755
1501
|
attr_reader :swish
|
1756
1502
|
# Attribute for field twint
|
@@ -1766,16 +1512,16 @@ module Stripe
|
|
1766
1512
|
|
1767
1513
|
# Attaches a PaymentMethod object to a Customer.
|
1768
1514
|
#
|
1769
|
-
# To attach a new PaymentMethod to a customer for future payments, we recommend you use a [SetupIntent](https://stripe.com/docs/api/setup_intents)
|
1770
|
-
# or a PaymentIntent with [setup_future_usage](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-setup_future_usage).
|
1515
|
+
# To attach a new PaymentMethod to a customer for future payments, we recommend you use a [SetupIntent](https://docs.stripe.com/docs/api/setup_intents)
|
1516
|
+
# or a PaymentIntent with [setup_future_usage](https://docs.stripe.com/docs/api/payment_intents/create#create_payment_intent-setup_future_usage).
|
1771
1517
|
# These approaches will perform any necessary steps to set up the PaymentMethod for future payments. Using the /v1/payment_methods/:id/attach
|
1772
1518
|
# endpoint without first using a SetupIntent or PaymentIntent with setup_future_usage does not optimize the PaymentMethod for
|
1773
1519
|
# future use, which makes later declines and payment friction more likely.
|
1774
|
-
# See [Optimizing cards for future payments](https://stripe.com/docs/payments/payment-intents#future-usage) for more information about setting up
|
1520
|
+
# See [Optimizing cards for future payments](https://docs.stripe.com/docs/payments/payment-intents#future-usage) for more information about setting up
|
1775
1521
|
# future payments.
|
1776
1522
|
#
|
1777
1523
|
# To use this PaymentMethod as the default for invoice or subscription payments,
|
1778
|
-
# set [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method),
|
1524
|
+
# set [invoice_settings.default_payment_method](https://docs.stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method),
|
1779
1525
|
# on the Customer to the PaymentMethod's ID.
|
1780
1526
|
def attach(params = {}, opts = {})
|
1781
1527
|
request_stripe_object(
|
@@ -1788,16 +1534,16 @@ module Stripe
|
|
1788
1534
|
|
1789
1535
|
# Attaches a PaymentMethod object to a Customer.
|
1790
1536
|
#
|
1791
|
-
# To attach a new PaymentMethod to a customer for future payments, we recommend you use a [SetupIntent](https://stripe.com/docs/api/setup_intents)
|
1792
|
-
# or a PaymentIntent with [setup_future_usage](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-setup_future_usage).
|
1537
|
+
# To attach a new PaymentMethod to a customer for future payments, we recommend you use a [SetupIntent](https://docs.stripe.com/docs/api/setup_intents)
|
1538
|
+
# or a PaymentIntent with [setup_future_usage](https://docs.stripe.com/docs/api/payment_intents/create#create_payment_intent-setup_future_usage).
|
1793
1539
|
# These approaches will perform any necessary steps to set up the PaymentMethod for future payments. Using the /v1/payment_methods/:id/attach
|
1794
1540
|
# endpoint without first using a SetupIntent or PaymentIntent with setup_future_usage does not optimize the PaymentMethod for
|
1795
1541
|
# future use, which makes later declines and payment friction more likely.
|
1796
|
-
# See [Optimizing cards for future payments](https://stripe.com/docs/payments/payment-intents#future-usage) for more information about setting up
|
1542
|
+
# See [Optimizing cards for future payments](https://docs.stripe.com/docs/payments/payment-intents#future-usage) for more information about setting up
|
1797
1543
|
# future payments.
|
1798
1544
|
#
|
1799
1545
|
# To use this PaymentMethod as the default for invoice or subscription payments,
|
1800
|
-
# set [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method),
|
1546
|
+
# set [invoice_settings.default_payment_method](https://docs.stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method),
|
1801
1547
|
# on the Customer to the PaymentMethod's ID.
|
1802
1548
|
def self.attach(payment_method, params = {}, opts = {})
|
1803
1549
|
request_stripe_object(
|
@@ -1808,9 +1554,9 @@ module Stripe
|
|
1808
1554
|
)
|
1809
1555
|
end
|
1810
1556
|
|
1811
|
-
# Creates a PaymentMethod object. Read the [Stripe.js reference](https://stripe.com/docs/stripe-js/reference#stripe-create-payment-method) to learn how to create PaymentMethods via Stripe.js.
|
1557
|
+
# Creates a PaymentMethod object. Read the [Stripe.js reference](https://docs.stripe.com/docs/stripe-js/reference#stripe-create-payment-method) to learn how to create PaymentMethods via Stripe.js.
|
1812
1558
|
#
|
1813
|
-
# Instead of creating a PaymentMethod directly, we recommend using the [PaymentIntents API to accept a payment immediately or the <a href="/docs/payments/save-and-reuse">SetupIntent](https://stripe.com/docs/payments/accept-a-payment) API to collect payment method details ahead of a future payment.
|
1559
|
+
# Instead of creating a PaymentMethod directly, we recommend using the [PaymentIntents API to accept a payment immediately or the <a href="/docs/payments/save-and-reuse">SetupIntent](https://docs.stripe.com/docs/payments/accept-a-payment) API to collect payment method details ahead of a future payment.
|
1814
1560
|
def self.create(params = {}, opts = {})
|
1815
1561
|
request_stripe_object(method: :post, path: "/v1/payment_methods", params: params, opts: opts)
|
1816
1562
|
end
|
@@ -1835,7 +1581,7 @@ module Stripe
|
|
1835
1581
|
)
|
1836
1582
|
end
|
1837
1583
|
|
1838
|
-
# Returns a list of PaymentMethods for Treasury flows. If you want to list the PaymentMethods attached to a Customer for payments, you should use the [List a Customer's PaymentMethods](https://stripe.com/docs/api/payment_methods/customer_list) API instead.
|
1584
|
+
# Returns a list of PaymentMethods for Treasury flows. If you want to list the PaymentMethods attached to a Customer for payments, you should use the [List a Customer's PaymentMethods](https://docs.stripe.com/docs/api/payment_methods/customer_list) API instead.
|
1839
1585
|
def self.list(params = {}, opts = {})
|
1840
1586
|
request_stripe_object(method: :get, path: "/v1/payment_methods", params: params, opts: opts)
|
1841
1587
|
end
|