stripe 13.6.0.pre.beta.1 → 14.0.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 +699 -1457
- data/OPENAPI_VERSION +1 -1
- data/README.md +29 -0
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +2 -0
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/errors.rb +0 -7
- data/lib/stripe/object_types.rb +0 -26
- data/lib/stripe/resources/account.rb +83 -614
- data/lib/stripe/resources/account_session.rb +1 -247
- data/lib/stripe/resources/apple_pay_domain.rb +0 -9
- data/lib/stripe/resources/application_fee.rb +1 -10
- data/lib/stripe/resources/balance.rb +0 -9
- data/lib/stripe/resources/balance_transaction.rb +2 -11
- data/lib/stripe/resources/bank_account.rb +1 -1
- data/lib/stripe/resources/billing/alert.rb +0 -9
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -48
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -9
- data/lib/stripe/resources/billing/credit_grant.rb +4 -13
- data/lib/stripe/resources/billing/meter.rb +1 -10
- data/lib/stripe/resources/billing_portal/configuration.rb +0 -9
- data/lib/stripe/resources/card.rb +2 -4
- data/lib/stripe/resources/charge.rb +35 -1457
- data/lib/stripe/resources/checkout/session.rb +100 -293
- data/lib/stripe/resources/climate/order.rb +0 -9
- data/lib/stripe/resources/climate/product.rb +0 -9
- data/lib/stripe/resources/climate/supplier.rb +0 -9
- data/lib/stripe/resources/confirmation_token.rb +74 -156
- data/lib/stripe/resources/country_spec.rb +0 -9
- data/lib/stripe/resources/coupon.rb +0 -9
- data/lib/stripe/resources/credit_note.rb +14 -35
- data/lib/stripe/resources/credit_note_line_item.rb +14 -12
- data/lib/stripe/resources/customer.rb +12 -28
- data/lib/stripe/resources/customer_balance_transaction.rb +3 -1
- data/lib/stripe/resources/dispute.rb +0 -9
- data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -9
- data/lib/stripe/resources/entitlements/feature.rb +0 -9
- data/lib/stripe/resources/event.rb +0 -40
- data/lib/stripe/resources/exchange_rate.rb +0 -9
- data/lib/stripe/resources/file.rb +0 -9
- data/lib/stripe/resources/file_link.rb +0 -9
- data/lib/stripe/resources/financial_connections/account.rb +0 -23
- data/lib/stripe/resources/financial_connections/session.rb +1 -65
- data/lib/stripe/resources/financial_connections/transaction.rb +0 -9
- data/lib/stripe/resources/forwarding/request.rb +0 -9
- data/lib/stripe/resources/identity/verification_report.rb +0 -9
- data/lib/stripe/resources/identity/verification_session.rb +0 -9
- data/lib/stripe/resources/invoice.rb +225 -5120
- data/lib/stripe/resources/invoice_item.rb +65 -110
- data/lib/stripe/resources/invoice_line_item.rb +106 -89
- data/lib/stripe/resources/invoice_payment.rb +53 -4
- data/lib/stripe/resources/invoice_rendering_template.rb +0 -12
- data/lib/stripe/resources/issuing/authorization.rb +0 -9
- data/lib/stripe/resources/issuing/card.rb +0 -9
- data/lib/stripe/resources/issuing/cardholder.rb +1 -11
- data/lib/stripe/resources/issuing/dispute.rb +0 -9
- data/lib/stripe/resources/issuing/personalization_design.rb +0 -9
- data/lib/stripe/resources/issuing/physical_bundle.rb +0 -9
- data/lib/stripe/resources/issuing/token.rb +0 -9
- data/lib/stripe/resources/issuing/transaction.rb +0 -15
- data/lib/stripe/resources/line_item.rb +0 -28
- data/lib/stripe/resources/mandate.rb +6 -33
- data/lib/stripe/resources/payment_intent.rb +642 -4975
- data/lib/stripe/resources/payment_link.rb +84 -15
- data/lib/stripe/resources/payment_method.rb +74 -187
- data/lib/stripe/resources/payment_method_configuration.rb +87 -214
- data/lib/stripe/resources/payment_method_domain.rb +9 -18
- data/lib/stripe/resources/payout.rb +0 -9
- data/lib/stripe/resources/person.rb +9 -9
- data/lib/stripe/resources/plan.rb +0 -15
- data/lib/stripe/resources/price.rb +2 -47
- data/lib/stripe/resources/product.rb +0 -68
- data/lib/stripe/resources/promotion_code.rb +0 -9
- data/lib/stripe/resources/quote.rb +8 -2037
- data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -9
- data/lib/stripe/resources/radar/value_list.rb +0 -9
- data/lib/stripe/resources/radar/value_list_item.rb +0 -9
- data/lib/stripe/resources/refund.rb +13 -18
- data/lib/stripe/resources/reporting/report_run.rb +0 -9
- data/lib/stripe/resources/reporting/report_type.rb +0 -9
- data/lib/stripe/resources/review.rb +2 -11
- data/lib/stripe/resources/setup_attempt.rb +11 -16
- data/lib/stripe/resources/setup_intent.rb +158 -540
- data/lib/stripe/resources/shipping_rate.rb +0 -9
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -9
- data/lib/stripe/resources/source.rb +0 -41
- data/lib/stripe/resources/subscription.rb +14 -385
- data/lib/stripe/resources/subscription_item.rb +9 -134
- data/lib/stripe/resources/subscription_schedule.rb +14 -1135
- data/lib/stripe/resources/tax/calculation.rb +0 -9
- data/lib/stripe/resources/tax/registration.rb +1 -10
- data/lib/stripe/resources/tax/settings.rb +0 -9
- data/lib/stripe/resources/tax/transaction.rb +0 -9
- data/lib/stripe/resources/tax_code.rb +0 -9
- data/lib/stripe/resources/tax_id.rb +0 -9
- data/lib/stripe/resources/tax_rate.rb +0 -9
- data/lib/stripe/resources/terminal/configuration.rb +214 -14
- data/lib/stripe/resources/terminal/location.rb +0 -9
- data/lib/stripe/resources/terminal/reader.rb +0 -408
- data/lib/stripe/resources/test_helpers/test_clock.rb +0 -9
- data/lib/stripe/resources/token.rb +1 -10
- data/lib/stripe/resources/topup.rb +0 -9
- data/lib/stripe/resources/transfer.rb +0 -9
- data/lib/stripe/resources/treasury/credit_reversal.rb +0 -9
- data/lib/stripe/resources/treasury/debit_reversal.rb +0 -9
- data/lib/stripe/resources/treasury/financial_account.rb +4 -32
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -9
- data/lib/stripe/resources/treasury/outbound_payment.rb +0 -9
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -46
- data/lib/stripe/resources/treasury/received_credit.rb +1 -47
- data/lib/stripe/resources/treasury/received_debit.rb +1 -49
- data/lib/stripe/resources/treasury/transaction.rb +0 -9
- data/lib/stripe/resources/treasury/transaction_entry.rb +0 -9
- data/lib/stripe/resources/v2/event.rb +1 -0
- data/lib/stripe/resources/v2/event_destination.rb +1 -0
- data/lib/stripe/resources/webhook_endpoint.rb +0 -9
- data/lib/stripe/resources.rb +0 -25
- data/lib/stripe/services/account_external_account_service.rb +1 -1
- data/lib/stripe/services/account_service.rb +68 -509
- data/lib/stripe/services/account_session_service.rb +1 -217
- data/lib/stripe/services/balance_transaction_service.rb +1 -1
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +2 -2
- data/lib/stripe/services/billing/credit_grant_service.rb +2 -2
- data/lib/stripe/services/billing/meter_service.rb +1 -1
- data/lib/stripe/services/charge_service.rb +1 -1335
- data/lib/stripe/services/checkout/session_service.rb +60 -168
- data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -4
- data/lib/stripe/services/credit_note_service.rb +0 -8
- data/lib/stripe/services/customer_service.rb +0 -16
- data/lib/stripe/services/financial_connections/account_service.rb +1 -3
- data/lib/stripe/services/financial_connections/session_service.rb +1 -30
- data/lib/stripe/services/financial_connections_service.rb +1 -2
- data/lib/stripe/services/invoice_item_service.rb +34 -88
- data/lib/stripe/services/invoice_line_item_service.rb +25 -41
- data/lib/stripe/services/invoice_payment_service.rb +33 -5
- data/lib/stripe/services/invoice_service.rb +210 -3147
- data/lib/stripe/services/issuing/cardholder_service.rb +1 -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 +568 -4513
- data/lib/stripe/services/payment_link_service.rb +59 -6
- data/lib/stripe/services/payment_method_configuration_service.rb +62 -146
- data/lib/stripe/services/payment_method_domain_service.rb +6 -6
- data/lib/stripe/services/payment_method_service.rb +49 -119
- data/lib/stripe/services/plan_service.rb +0 -4
- data/lib/stripe/services/price_service.rb +2 -25
- data/lib/stripe/services/product_service.rb +0 -38
- data/lib/stripe/services/quote_service.rb +9 -1716
- data/lib/stripe/services/setup_intent_service.rb +158 -492
- data/lib/stripe/services/subscription_item_service.rb +5 -111
- data/lib/stripe/services/subscription_schedule_service.rb +14 -1005
- data/lib/stripe/services/subscription_service.rb +13 -323
- data/lib/stripe/services/tax/registration_service.rb +1 -1
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal/configuration_service.rb +170 -4
- data/lib/stripe/services/terminal/reader_service.rb +0 -177
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +49 -87
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -43
- 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/treasury/financial_account_features_service.rb +1 -4
- data/lib/stripe/services/treasury/financial_account_service.rb +3 -17
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
- data/lib/stripe/services/v1_services.rb +2 -8
- data/lib/stripe/services/v2/core/event_destination_service.rb +1 -4
- data/lib/stripe/services/v2/core/event_service.rb +1 -4
- data/lib/stripe/services.rb +0 -27
- data/lib/stripe/stripe_client.rb +1 -0
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -45
- data/rbi/stripe/resources/account.rbi +1131 -1479
- data/rbi/stripe/resources/account_link.rbi +9 -9
- data/rbi/stripe/resources/account_session.rbi +118 -367
- data/rbi/stripe/resources/apple_pay_domain.rbi +8 -15
- data/rbi/stripe/resources/application_fee.rbi +15 -20
- data/rbi/stripe/resources/apps/secret.rbi +20 -20
- data/rbi/stripe/resources/balance.rbi +0 -7
- data/rbi/stripe/resources/balance_transaction.rbi +19 -24
- data/rbi/stripe/resources/bank_account.rbi +1 -1
- data/rbi/stripe/resources/billing/alert.rbi +23 -28
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -53
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +6 -13
- data/rbi/stripe/resources/billing/credit_grant.rbi +30 -37
- data/rbi/stripe/resources/billing/meter.rbi +19 -26
- data/rbi/stripe/resources/billing/meter_event.rbi +4 -4
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +5 -5
- data/rbi/stripe/resources/billing_portal/configuration.rbi +86 -81
- data/rbi/stripe/resources/billing_portal/session.rbi +31 -27
- data/rbi/stripe/resources/card.rbi +2 -5
- data/rbi/stripe/resources/charge.rbi +136 -1576
- data/rbi/stripe/resources/checkout/session.rbi +631 -748
- data/rbi/stripe/resources/climate/order.rbi +20 -25
- data/rbi/stripe/resources/climate/product.rbi +5 -12
- data/rbi/stripe/resources/climate/supplier.rbi +5 -12
- data/rbi/stripe/resources/confirmation_token.rbi +274 -268
- data/rbi/stripe/resources/country_spec.rbi +5 -12
- data/rbi/stripe/resources/coupon.rbi +34 -39
- data/rbi/stripe/resources/credit_note.rbi +134 -146
- data/rbi/stripe/resources/credit_note_line_item.rbi +20 -18
- data/rbi/stripe/resources/customer.rbi +172 -164
- data/rbi/stripe/resources/customer_balance_transaction.rbi +4 -1
- data/rbi/stripe/resources/customer_session.rbi +19 -15
- data/rbi/stripe/resources/dispute.rbi +92 -95
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +5 -12
- data/rbi/stripe/resources/entitlements/feature.rbi +15 -22
- data/rbi/stripe/resources/ephemeral_key.rbi +2 -2
- data/rbi/stripe/resources/event.rbi +16 -60
- data/rbi/stripe/resources/exchange_rate.rbi +5 -12
- data/rbi/stripe/resources/file.rbi +20 -25
- data/rbi/stripe/resources/file_link.rbi +23 -28
- data/rbi/stripe/resources/financial_connections/account.rbi +25 -44
- data/rbi/stripe/resources/financial_connections/session.rbi +12 -75
- data/rbi/stripe/resources/financial_connections/transaction.rbi +16 -19
- data/rbi/stripe/resources/forwarding/request.rbi +21 -24
- data/rbi/stripe/resources/identity/verification_report.rbi +18 -21
- data/rbi/stripe/resources/identity/verification_session.rbi +60 -61
- data/rbi/stripe/resources/invoice.rbi +723 -5918
- data/rbi/stripe/resources/invoice_item.rbi +138 -177
- data/rbi/stripe/resources/invoice_line_item.rbi +199 -264
- data/rbi/stripe/resources/invoice_payment.rbi +51 -7
- data/rbi/stripe/resources/invoice_rendering_template.rbi +10 -20
- data/rbi/stripe/resources/issuing/authorization.rbi +216 -199
- data/rbi/stripe/resources/issuing/card.rbi +104 -101
- data/rbi/stripe/resources/issuing/cardholder.rbi +120 -108
- data/rbi/stripe/resources/issuing/dispute.rbi +164 -151
- data/rbi/stripe/resources/issuing/personalization_design.rbi +61 -56
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +7 -14
- data/rbi/stripe/resources/issuing/token.rbi +16 -21
- data/rbi/stripe/resources/issuing/transaction.rbi +180 -176
- data/rbi/stripe/resources/line_item.rbi +0 -36
- data/rbi/stripe/resources/mandate.rbi +8 -40
- data/rbi/stripe/resources/payment_intent.rbi +2252 -6482
- data/rbi/stripe/resources/payment_link.rbi +346 -211
- data/rbi/stripe/resources/payment_method.rbi +226 -330
- data/rbi/stripe/resources/payment_method_configuration.rbi +602 -685
- data/rbi/stripe/resources/payment_method_domain.rbi +26 -31
- data/rbi/stripe/resources/payout.rbi +43 -42
- data/rbi/stripe/resources/person.rbi +9 -9
- data/rbi/stripe/resources/plan.rbi +51 -63
- data/rbi/stripe/resources/price.rbi +114 -151
- data/rbi/stripe/resources/product.rbi +90 -152
- data/rbi/stripe/resources/promotion_code.rbi +42 -47
- data/rbi/stripe/resources/quote.rbi +168 -2231
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +17 -20
- data/rbi/stripe/resources/radar/value_list.rbi +24 -29
- data/rbi/stripe/resources/radar/value_list_item.rbi +18 -21
- data/rbi/stripe/resources/refund.rbi +52 -51
- data/rbi/stripe/resources/reporting/report_run.rbi +27 -30
- data/rbi/stripe/resources/reporting/report_type.rbi +2 -9
- data/rbi/stripe/resources/review.rbi +17 -22
- data/rbi/stripe/resources/setup_attempt.rbi +25 -32
- data/rbi/stripe/resources/setup_intent.rbi +900 -1102
- data/rbi/stripe/resources/shipping_rate.rbi +41 -46
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +5 -12
- data/rbi/stripe/resources/source.rbi +132 -179
- data/rbi/stripe/resources/subscription.rbi +363 -707
- data/rbi/stripe/resources/subscription_item.rbi +69 -177
- data/rbi/stripe/resources/subscription_schedule.rbi +289 -1447
- data/rbi/stripe/resources/tax/calculation.rbi +43 -48
- data/rbi/stripe/resources/tax/registration.rbi +217 -170
- data/rbi/stripe/resources/tax/settings.rbi +14 -21
- data/rbi/stripe/resources/tax/transaction.rbi +20 -25
- data/rbi/stripe/resources/tax_code.rbi +5 -12
- data/rbi/stripe/resources/tax_id.rbi +15 -22
- data/rbi/stripe/resources/tax_rate.rbi +34 -39
- data/rbi/stripe/resources/terminal/configuration.rbi +457 -212
- data/rbi/stripe/resources/terminal/connection_token.rbi +3 -3
- data/rbi/stripe/resources/terminal/location.rbi +28 -35
- data/rbi/stripe/resources/terminal/reader.rbi +71 -441
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +12 -17
- data/rbi/stripe/resources/token.rbi +288 -263
- data/rbi/stripe/resources/topup.rbi +35 -38
- data/rbi/stripe/resources/transfer.rbi +27 -32
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +10 -17
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +11 -18
- data/rbi/stripe/resources/treasury/financial_account.rbi +125 -130
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -3
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +22 -29
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +82 -79
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +44 -86
- data/rbi/stripe/resources/treasury/received_credit.rbi +18 -64
- data/rbi/stripe/resources/treasury/received_debit.rbi +17 -66
- data/rbi/stripe/resources/treasury/transaction.rbi +27 -28
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +25 -26
- data/rbi/stripe/resources/v2/amount.rbi +1 -1
- data/rbi/stripe/resources/v2/event.rbi +1 -0
- data/rbi/stripe/resources/v2/event_destination.rbi +1 -0
- data/rbi/stripe/resources/webhook_endpoint.rbi +18 -25
- data/rbi/stripe/services/account_capability_service.rbi +7 -7
- data/rbi/stripe/services/account_external_account_service.rbi +52 -52
- data/rbi/stripe/services/account_link_service.rbi +9 -9
- data/rbi/stripe/services/account_login_link_service.rbi +2 -2
- data/rbi/stripe/services/account_person_service.rbi +221 -201
- data/rbi/stripe/services/account_service.rbi +1221 -1345
- data/rbi/stripe/services/account_session_service.rbi +115 -346
- data/rbi/stripe/services/apple_pay_domain_service.rbi +10 -10
- data/rbi/stripe/services/application_fee_refund_service.rbi +16 -14
- data/rbi/stripe/services/application_fee_service.rbi +18 -14
- data/rbi/stripe/services/apps/secret_service.rbi +20 -20
- data/rbi/stripe/services/balance_service.rbi +2 -2
- data/rbi/stripe/services/balance_transaction_service.rbi +22 -18
- data/rbi/stripe/services/billing/alert_service.rbi +23 -23
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +10 -10
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +8 -8
- data/rbi/stripe/services/billing/credit_grant_service.rbi +32 -30
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +7 -5
- data/rbi/stripe/services/billing/meter_event_service.rbi +4 -4
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +6 -6
- data/rbi/stripe/services/billing/meter_service.rbi +21 -21
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +90 -76
- data/rbi/stripe/services/billing_portal/session_service.rbi +29 -27
- data/rbi/stripe/services/charge_service.rbi +96 -1464
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +5 -5
- data/rbi/stripe/services/checkout/session_service.rbi +555 -591
- data/rbi/stripe/services/climate/order_service.rbi +22 -20
- data/rbi/stripe/services/climate/product_service.rbi +7 -7
- data/rbi/stripe/services/climate/supplier_service.rbi +7 -7
- data/rbi/stripe/services/confirmation_token_service.rbi +2 -2
- data/rbi/stripe/services/country_spec_service.rbi +7 -7
- data/rbi/stripe/services/coupon_service.rbi +40 -34
- data/rbi/stripe/services/credit_note_line_item_service.rbi +5 -5
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +35 -35
- data/rbi/stripe/services/credit_note_service.rbi +81 -85
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +15 -15
- data/rbi/stripe/services/customer_cash_balance_service.rbi +7 -7
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +7 -7
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +5 -5
- data/rbi/stripe/services/customer_payment_method_service.rbi +9 -9
- data/rbi/stripe/services/customer_payment_source_service.rbi +48 -44
- data/rbi/stripe/services/customer_service.rbi +143 -139
- data/rbi/stripe/services/customer_session_service.rbi +21 -15
- data/rbi/stripe/services/customer_tax_id_service.rbi +9 -9
- data/rbi/stripe/services/dispute_service.rbi +92 -90
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +7 -7
- data/rbi/stripe/services/entitlements/feature_service.rbi +17 -17
- data/rbi/stripe/services/ephemeral_key_service.rbi +8 -8
- data/rbi/stripe/services/event_service.rbi +18 -16
- data/rbi/stripe/services/exchange_rate_service.rbi +7 -7
- data/rbi/stripe/services/file_link_service.rbi +25 -23
- data/rbi/stripe/services/file_service.rbi +22 -20
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +5 -5
- data/rbi/stripe/services/financial_connections/account_service.rbi +22 -21
- data/rbi/stripe/services/financial_connections/session_service.rbi +16 -39
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +16 -14
- data/rbi/stripe/services/financial_connections_service.rbi +0 -1
- data/rbi/stripe/services/forwarding/request_service.rbi +21 -19
- data/rbi/stripe/services/identity/verification_report_service.rbi +18 -16
- data/rbi/stripe/services/identity/verification_session_service.rbi +62 -56
- data/rbi/stripe/services/invoice_item_service.rbi +99 -155
- data/rbi/stripe/services/invoice_line_item_service.rbi +71 -82
- data/rbi/stripe/services/invoice_payment_service.rbi +39 -12
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +13 -13
- data/rbi/stripe/services/invoice_service.rbi +679 -3799
- data/rbi/stripe/services/issuing/authorization_service.rbi +32 -26
- data/rbi/stripe/services/issuing/card_service.rbi +102 -86
- data/rbi/stripe/services/issuing/cardholder_service.rbi +122 -103
- data/rbi/stripe/services/issuing/dispute_service.rbi +152 -146
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +52 -42
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +9 -9
- data/rbi/stripe/services/issuing/token_service.rbi +20 -16
- data/rbi/stripe/services/issuing/transaction_service.rbi +25 -23
- data/rbi/stripe/services/issuing_service.rbi +0 -3
- data/rbi/stripe/services/mandate_service.rbi +2 -2
- data/rbi/stripe/services/payment_intent_service.rbi +2312 -6081
- data/rbi/stripe/services/payment_link_line_item_service.rbi +5 -5
- data/rbi/stripe/services/payment_link_service.rbi +303 -201
- data/rbi/stripe/services/payment_method_configuration_service.rbi +616 -620
- data/rbi/stripe/services/payment_method_domain_service.rbi +25 -23
- data/rbi/stripe/services/payment_method_service.rbi +192 -249
- data/rbi/stripe/services/payout_service.rbi +45 -37
- data/rbi/stripe/services/plan_service.rbi +53 -55
- data/rbi/stripe/services/price_service.rbi +124 -129
- data/rbi/stripe/services/product_feature_service.rbi +9 -9
- data/rbi/stripe/services/product_service.rbi +94 -122
- data/rbi/stripe/services/promotion_code_service.rbi +46 -42
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +5 -5
- data/rbi/stripe/services/quote_line_item_service.rbi +5 -5
- data/rbi/stripe/services/quote_service.rbi +159 -1863
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +17 -15
- data/rbi/stripe/services/radar/value_list_item_service.rbi +20 -16
- data/rbi/stripe/services/radar/value_list_service.rbi +28 -24
- data/rbi/stripe/services/refund_service.rbi +37 -33
- data/rbi/stripe/services/reporting/report_run_service.rbi +29 -25
- data/rbi/stripe/services/reporting/report_type_service.rbi +4 -4
- data/rbi/stripe/services/review_service.rbi +17 -15
- data/rbi/stripe/services/setup_attempt_service.rbi +13 -11
- data/rbi/stripe/services/setup_intent_service.rbi +1028 -1062
- data/rbi/stripe/services/shipping_rate_service.rbi +47 -41
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +7 -7
- data/rbi/stripe/services/source_service.rbi +149 -133
- data/rbi/stripe/services/source_transaction_service.rbi +5 -5
- data/rbi/stripe/services/subscription_item_service.rbi +61 -159
- data/rbi/stripe/services/subscription_schedule_service.rbi +289 -1305
- data/rbi/stripe/services/subscription_service.rbi +366 -640
- data/rbi/stripe/services/tax/calculation_line_item_service.rbi +5 -5
- data/rbi/stripe/services/tax/calculation_service.rbi +40 -38
- data/rbi/stripe/services/tax/registration_service.rbi +337 -165
- data/rbi/stripe/services/tax/settings_service.rbi +16 -16
- data/rbi/stripe/services/tax/transaction_line_item_service.rbi +5 -5
- data/rbi/stripe/services/tax/transaction_service.rbi +19 -15
- data/rbi/stripe/services/tax_code_service.rbi +7 -7
- data/rbi/stripe/services/tax_id_service.rbi +17 -17
- data/rbi/stripe/services/tax_rate_service.rbi +36 -34
- data/rbi/stripe/services/tax_service.rbi +0 -2
- data/rbi/stripe/services/terminal/configuration_service.rbi +464 -204
- data/rbi/stripe/services/terminal/connection_token_service.rbi +3 -3
- data/rbi/stripe/services/terminal/location_service.rbi +30 -30
- data/rbi/stripe/services/terminal/reader_service.rbi +57 -226
- data/rbi/stripe/services/terminal_service.rbi +0 -1
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +157 -198
- data/rbi/stripe/services/test_helpers/customer_service.rbi +3 -3
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +180 -168
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +10 -10
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +11 -9
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +151 -145
- data/rbi/stripe/services/test_helpers/refund_service.rbi +2 -2
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +10 -39
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +14 -12
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +9 -9
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +20 -18
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +20 -18
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +11 -38
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +11 -38
- data/rbi/stripe/services/token_service.rbi +292 -258
- data/rbi/stripe/services/topup_service.rbi +37 -33
- data/rbi/stripe/services/transfer_reversal_service.rbi +18 -16
- data/rbi/stripe/services/transfer_service.rbi +29 -27
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +12 -12
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +13 -13
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +23 -26
- data/rbi/stripe/services/treasury/financial_account_service.rbi +92 -96
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +15 -15
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +60 -56
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +24 -49
- data/rbi/stripe/services/treasury/received_credit_service.rbi +11 -9
- data/rbi/stripe/services/treasury/received_debit_service.rbi +8 -8
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +25 -21
- data/rbi/stripe/services/treasury/transaction_service.rbi +31 -23
- data/rbi/stripe/services/v1_services.rbi +1 -7
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +3 -3
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +3 -3
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +21 -24
- data/rbi/stripe/services/v2/core/event_service.rbi +3 -6
- data/rbi/stripe/services/webhook_endpoint_service.rbi +20 -20
- metadata +4 -109
- data/lib/stripe/request_signing_authenticator.rb +0 -79
- data/lib/stripe/resources/account_notice.rb +0 -132
- data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
- data/lib/stripe/resources/capital/financing_offer.rb +0 -188
- data/lib/stripe/resources/capital/financing_summary.rb +0 -64
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -123
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
- data/lib/stripe/resources/financial_connections/institution.rb +0 -99
- data/lib/stripe/resources/gift_cards/card.rb +0 -217
- data/lib/stripe/resources/gift_cards/transaction.rb +0 -281
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -611
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -84
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -95
- data/lib/stripe/resources/issuing/settlement.rb +0 -49
- data/lib/stripe/resources/margin.rb +0 -124
- data/lib/stripe/resources/order.rb +0 -2868
- data/lib/stripe/resources/payment_attempt_record.rb +0 -184
- data/lib/stripe/resources/payment_record.rb +0 -715
- data/lib/stripe/resources/quote_line.rb +0 -274
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -652
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -362
- data/lib/stripe/resources/tax/association.rb +0 -89
- data/lib/stripe/resources/tax/form.rb +0 -220
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -40
- data/lib/stripe/resources/usage_record.rb +0 -30
- data/lib/stripe/resources/usage_record_summary.rb +0 -33
- data/lib/stripe/services/account_notice_service.rb +0 -101
- 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/financial_connections/account_inferred_balance_service.rb +0 -37
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -57
- 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/invoice_upcoming_lines_service.rb +0 -1881
- 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_line_item_service.rb +0 -35
- 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/quote_line_service.rb +0 -35
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -35
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
- data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -41
- data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -37
- 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/rbi/stripe/resources/account_notice.rbi +0 -139
- data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -71
- data/rbi/stripe/resources/capital/financing_offer.rbi +0 -190
- data/rbi/stripe/resources/capital/financing_summary.rbi +0 -74
- data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -130
- data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -27
- data/rbi/stripe/resources/financial_connections/institution.rbi +0 -99
- data/rbi/stripe/resources/gift_cards/card.rbi +0 -206
- data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -257
- data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -622
- data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -83
- data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -90
- data/rbi/stripe/resources/issuing/settlement.rbi +0 -62
- data/rbi/stripe/resources/margin.rbi +0 -127
- data/rbi/stripe/resources/order.rbi +0 -3036
- data/rbi/stripe/resources/payment_attempt_record.rbi +0 -215
- data/rbi/stripe/resources/payment_record.rbi +0 -722
- data/rbi/stripe/resources/quote_line.rbi +0 -350
- data/rbi/stripe/resources/quote_preview_invoice.rbi +0 -850
- data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -474
- data/rbi/stripe/resources/tax/association.rbi +0 -94
- data/rbi/stripe/resources/tax/form.rbi +0 -224
- data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -41
- data/rbi/stripe/resources/usage_record.rbi +0 -32
- data/rbi/stripe/resources/usage_record_summary.rbi +0 -38
- data/rbi/stripe/services/account_notice_service.rbi +0 -90
- data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -95
- data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -22
- data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -68
- data/rbi/stripe/services/capital_service.rbi +0 -11
- data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -33
- data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -46
- data/rbi/stripe/services/gift_cards/card_service.rbi +0 -142
- data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -174
- data/rbi/stripe/services/gift_cards_service.rbi +0 -10
- data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +0 -2023
- data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -498
- data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -55
- data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -73
- data/rbi/stripe/services/margin_service.rbi +0 -104
- data/rbi/stripe/services/order_line_item_service.rbi +0 -31
- data/rbi/stripe/services/order_service.rbi +0 -2320
- data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -36
- data/rbi/stripe/services/payment_record_service.rbi +0 -521
- data/rbi/stripe/services/quote_line_service.rbi +0 -31
- data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -31
- data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -31
- data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -37
- data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -33
- data/rbi/stripe/services/tax/association_service.rbi +0 -25
- data/rbi/stripe/services/tax/form_service.rbi +0 -85
- data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -22
@@ -49,39 +49,42 @@ module Stripe
|
|
49
49
|
end
|
50
50
|
class BacsDebit < Stripe::RequestParams
|
51
51
|
# Account number of the bank account that the funds will be debited from.
|
52
|
-
sig { returns(String) }
|
52
|
+
sig { returns(T.nilable(String)) }
|
53
53
|
attr_accessor :account_number
|
54
54
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
55
|
-
sig { returns(String) }
|
55
|
+
sig { returns(T.nilable(String)) }
|
56
56
|
attr_accessor :sort_code
|
57
|
-
sig { params(account_number: String, sort_code: String).void }
|
57
|
+
sig { params(account_number: T.nilable(String), sort_code: T.nilable(String)).void }
|
58
58
|
def initialize(account_number: nil, sort_code: nil); end
|
59
59
|
end
|
60
60
|
class Bancontact < Stripe::RequestParams
|
61
61
|
|
62
|
+
end
|
63
|
+
class Billie < Stripe::RequestParams
|
64
|
+
|
62
65
|
end
|
63
66
|
class BillingDetails < Stripe::RequestParams
|
64
67
|
class Address < Stripe::RequestParams
|
65
68
|
# City, district, suburb, town, or village.
|
66
|
-
sig { returns(String) }
|
69
|
+
sig { returns(T.nilable(String)) }
|
67
70
|
attr_accessor :city
|
68
71
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
69
|
-
sig { returns(String) }
|
72
|
+
sig { returns(T.nilable(String)) }
|
70
73
|
attr_accessor :country
|
71
74
|
# Address line 1 (e.g., street, PO Box, or company name).
|
72
|
-
sig { returns(String) }
|
75
|
+
sig { returns(T.nilable(String)) }
|
73
76
|
attr_accessor :line1
|
74
77
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
75
|
-
sig { returns(String) }
|
78
|
+
sig { returns(T.nilable(String)) }
|
76
79
|
attr_accessor :line2
|
77
80
|
# ZIP or postal code.
|
78
|
-
sig { returns(String) }
|
81
|
+
sig { returns(T.nilable(String)) }
|
79
82
|
attr_accessor :postal_code
|
80
83
|
# State, county, province, or region.
|
81
|
-
sig { returns(String) }
|
84
|
+
sig { returns(T.nilable(String)) }
|
82
85
|
attr_accessor :state
|
83
86
|
sig {
|
84
|
-
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
87
|
+
params(city: T.nilable(String), country: T.nilable(String), line1: T.nilable(String), line2: T.nilable(String), postal_code: T.nilable(String), state: T.nilable(String)).void
|
85
88
|
}
|
86
89
|
def initialize(
|
87
90
|
city: nil,
|
@@ -94,20 +97,20 @@ module Stripe
|
|
94
97
|
end
|
95
98
|
# Billing address.
|
96
99
|
sig {
|
97
|
-
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::BillingDetails::Address))
|
100
|
+
returns(T.nilable(T.nilable(T.any(String, ::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::BillingDetails::Address))))
|
98
101
|
}
|
99
102
|
attr_accessor :address
|
100
103
|
# Email address.
|
101
|
-
sig { returns(T.nilable(String)) }
|
104
|
+
sig { returns(T.nilable(T.nilable(String))) }
|
102
105
|
attr_accessor :email
|
103
106
|
# Full name.
|
104
|
-
sig { returns(T.nilable(String)) }
|
107
|
+
sig { returns(T.nilable(T.nilable(String))) }
|
105
108
|
attr_accessor :name
|
106
109
|
# Billing phone number (including extension).
|
107
|
-
sig { returns(T.nilable(String)) }
|
110
|
+
sig { returns(T.nilable(T.nilable(String))) }
|
108
111
|
attr_accessor :phone
|
109
112
|
sig {
|
110
|
-
params(address: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::BillingDetails::Address), email: T.nilable(String), name: T.nilable(String), phone: T.nilable(String)).void
|
113
|
+
params(address: T.nilable(T.nilable(T.any(String, ::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::BillingDetails::Address))), email: T.nilable(T.nilable(String)), name: T.nilable(T.nilable(String)), phone: T.nilable(T.nilable(String))).void
|
111
114
|
}
|
112
115
|
def initialize(address: nil, email: nil, name: nil, phone: nil); end
|
113
116
|
end
|
@@ -129,42 +132,32 @@ module Stripe
|
|
129
132
|
end
|
130
133
|
class Eps < Stripe::RequestParams
|
131
134
|
# The customer's bank.
|
132
|
-
sig { returns(String) }
|
135
|
+
sig { returns(T.nilable(String)) }
|
133
136
|
attr_accessor :bank
|
134
|
-
sig { params(bank: String).void }
|
137
|
+
sig { params(bank: T.nilable(String)).void }
|
135
138
|
def initialize(bank: nil); end
|
136
139
|
end
|
137
140
|
class Fpx < Stripe::RequestParams
|
138
141
|
# Account holder type for FPX transaction
|
139
|
-
sig { returns(String) }
|
142
|
+
sig { returns(T.nilable(String)) }
|
140
143
|
attr_accessor :account_holder_type
|
141
144
|
# The customer's bank.
|
142
145
|
sig { returns(String) }
|
143
146
|
attr_accessor :bank
|
144
|
-
sig { params(account_holder_type: String, bank: String).void }
|
147
|
+
sig { params(account_holder_type: T.nilable(String), bank: String).void }
|
145
148
|
def initialize(account_holder_type: nil, bank: nil); end
|
146
149
|
end
|
147
150
|
class Giropay < Stripe::RequestParams
|
148
151
|
|
149
|
-
end
|
150
|
-
class Gopay < Stripe::RequestParams
|
151
|
-
|
152
152
|
end
|
153
153
|
class Grabpay < Stripe::RequestParams
|
154
154
|
|
155
|
-
end
|
156
|
-
class IdBankTransfer < Stripe::RequestParams
|
157
|
-
# Bank where the account is held.
|
158
|
-
sig { returns(String) }
|
159
|
-
attr_accessor :bank
|
160
|
-
sig { params(bank: String).void }
|
161
|
-
def initialize(bank: nil); end
|
162
155
|
end
|
163
156
|
class Ideal < Stripe::RequestParams
|
164
157
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
165
|
-
sig { returns(String) }
|
158
|
+
sig { returns(T.nilable(String)) }
|
166
159
|
attr_accessor :bank
|
167
|
-
sig { params(bank: String).void }
|
160
|
+
sig { params(bank: T.nilable(String)).void }
|
168
161
|
def initialize(bank: nil); end
|
169
162
|
end
|
170
163
|
class InteracPresent < Stripe::RequestParams
|
@@ -189,11 +182,11 @@ module Stripe
|
|
189
182
|
end
|
190
183
|
# Customer's date of birth
|
191
184
|
sig {
|
192
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Klarna::Dob)
|
185
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Klarna::Dob))
|
193
186
|
}
|
194
187
|
attr_accessor :dob
|
195
188
|
sig {
|
196
|
-
params(dob: ::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Klarna::Dob).void
|
189
|
+
params(dob: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Klarna::Dob)).void
|
197
190
|
}
|
198
191
|
def initialize(dob: nil); end
|
199
192
|
end
|
@@ -205,9 +198,6 @@ module Stripe
|
|
205
198
|
end
|
206
199
|
class Link < Stripe::RequestParams
|
207
200
|
|
208
|
-
end
|
209
|
-
class MbWay < Stripe::RequestParams
|
210
|
-
|
211
201
|
end
|
212
202
|
class Mobilepay < Stripe::RequestParams
|
213
203
|
|
@@ -217,19 +207,50 @@ module Stripe
|
|
217
207
|
end
|
218
208
|
class NaverPay < Stripe::RequestParams
|
219
209
|
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
220
|
-
sig { returns(String) }
|
210
|
+
sig { returns(T.nilable(String)) }
|
221
211
|
attr_accessor :funding
|
222
|
-
sig { params(funding: String).void }
|
212
|
+
sig { params(funding: T.nilable(String)).void }
|
223
213
|
def initialize(funding: nil); end
|
224
214
|
end
|
215
|
+
class NzBankAccount < Stripe::RequestParams
|
216
|
+
# The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details.
|
217
|
+
sig { returns(T.nilable(String)) }
|
218
|
+
attr_accessor :account_holder_name
|
219
|
+
# The account number for the bank account.
|
220
|
+
sig { returns(String) }
|
221
|
+
attr_accessor :account_number
|
222
|
+
# The numeric code for the bank account's bank.
|
223
|
+
sig { returns(String) }
|
224
|
+
attr_accessor :bank_code
|
225
|
+
# The numeric code for the bank account's bank branch.
|
226
|
+
sig { returns(String) }
|
227
|
+
attr_accessor :branch_code
|
228
|
+
# Attribute for param field reference
|
229
|
+
sig { returns(T.nilable(String)) }
|
230
|
+
attr_accessor :reference
|
231
|
+
# The suffix of the bank account number.
|
232
|
+
sig { returns(String) }
|
233
|
+
attr_accessor :suffix
|
234
|
+
sig {
|
235
|
+
params(account_holder_name: T.nilable(String), account_number: String, bank_code: String, branch_code: String, reference: T.nilable(String), suffix: String).void
|
236
|
+
}
|
237
|
+
def initialize(
|
238
|
+
account_holder_name: nil,
|
239
|
+
account_number: nil,
|
240
|
+
bank_code: nil,
|
241
|
+
branch_code: nil,
|
242
|
+
reference: nil,
|
243
|
+
suffix: nil
|
244
|
+
); end
|
245
|
+
end
|
225
246
|
class Oxxo < Stripe::RequestParams
|
226
247
|
|
227
248
|
end
|
228
249
|
class P24 < Stripe::RequestParams
|
229
250
|
# The customer's bank.
|
230
|
-
sig { returns(String) }
|
251
|
+
sig { returns(T.nilable(String)) }
|
231
252
|
attr_accessor :bank
|
232
|
-
sig { params(bank: String).void }
|
253
|
+
sig { params(bank: T.nilable(String)).void }
|
233
254
|
def initialize(bank: nil); end
|
234
255
|
end
|
235
256
|
class PayByBank < Stripe::RequestParams
|
@@ -243,65 +264,28 @@ module Stripe
|
|
243
264
|
end
|
244
265
|
class Paypal < Stripe::RequestParams
|
245
266
|
|
246
|
-
end
|
247
|
-
class Payto < Stripe::RequestParams
|
248
|
-
# The account number for the bank account.
|
249
|
-
sig { returns(String) }
|
250
|
-
attr_accessor :account_number
|
251
|
-
# Bank-State-Branch number of the bank account.
|
252
|
-
sig { returns(String) }
|
253
|
-
attr_accessor :bsb_number
|
254
|
-
# The PayID alias for the bank account.
|
255
|
-
sig { returns(String) }
|
256
|
-
attr_accessor :pay_id
|
257
|
-
sig { params(account_number: String, bsb_number: String, pay_id: String).void }
|
258
|
-
def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end
|
259
267
|
end
|
260
268
|
class Pix < Stripe::RequestParams
|
261
269
|
|
262
270
|
end
|
263
271
|
class Promptpay < Stripe::RequestParams
|
264
272
|
|
265
|
-
end
|
266
|
-
class Qris < Stripe::RequestParams
|
267
|
-
|
268
273
|
end
|
269
274
|
class RadarOptions < Stripe::RequestParams
|
270
275
|
# 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.
|
271
|
-
sig { returns(String) }
|
276
|
+
sig { returns(T.nilable(String)) }
|
272
277
|
attr_accessor :session
|
273
|
-
sig { params(session: String).void }
|
278
|
+
sig { params(session: T.nilable(String)).void }
|
274
279
|
def initialize(session: nil); end
|
275
280
|
end
|
276
|
-
class Rechnung < Stripe::RequestParams
|
277
|
-
class Dob < Stripe::RequestParams
|
278
|
-
# The day of birth, between 1 and 31.
|
279
|
-
sig { returns(Integer) }
|
280
|
-
attr_accessor :day
|
281
|
-
# The month of birth, between 1 and 12.
|
282
|
-
sig { returns(Integer) }
|
283
|
-
attr_accessor :month
|
284
|
-
# The four-digit year of birth.
|
285
|
-
sig { returns(Integer) }
|
286
|
-
attr_accessor :year
|
287
|
-
sig { params(day: Integer, month: Integer, year: Integer).void }
|
288
|
-
def initialize(day: nil, month: nil, year: nil); end
|
289
|
-
end
|
290
|
-
# Customer's date of birth
|
291
|
-
sig {
|
292
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Rechnung::Dob)
|
293
|
-
}
|
294
|
-
attr_accessor :dob
|
295
|
-
sig {
|
296
|
-
params(dob: ::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Rechnung::Dob).void
|
297
|
-
}
|
298
|
-
def initialize(dob: nil); end
|
299
|
-
end
|
300
281
|
class RevolutPay < Stripe::RequestParams
|
301
282
|
|
302
283
|
end
|
303
284
|
class SamsungPay < Stripe::RequestParams
|
304
285
|
|
286
|
+
end
|
287
|
+
class Satispay < Stripe::RequestParams
|
288
|
+
|
305
289
|
end
|
306
290
|
class SepaDebit < Stripe::RequestParams
|
307
291
|
# IBAN of the bank account.
|
@@ -309,9 +293,6 @@ module Stripe
|
|
309
293
|
attr_accessor :iban
|
310
294
|
sig { params(iban: String).void }
|
311
295
|
def initialize(iban: nil); end
|
312
|
-
end
|
313
|
-
class Shopeepay < Stripe::RequestParams
|
314
|
-
|
315
296
|
end
|
316
297
|
class Sofort < Stripe::RequestParams
|
317
298
|
# Two-letter ISO code representing the country the bank account is located in.
|
@@ -328,22 +309,22 @@ module Stripe
|
|
328
309
|
end
|
329
310
|
class UsBankAccount < Stripe::RequestParams
|
330
311
|
# Account holder type: individual or company.
|
331
|
-
sig { returns(String) }
|
312
|
+
sig { returns(T.nilable(String)) }
|
332
313
|
attr_accessor :account_holder_type
|
333
314
|
# Account number of the bank account.
|
334
|
-
sig { returns(String) }
|
315
|
+
sig { returns(T.nilable(String)) }
|
335
316
|
attr_accessor :account_number
|
336
317
|
# Account type: checkings or savings. Defaults to checking if omitted.
|
337
|
-
sig { returns(String) }
|
318
|
+
sig { returns(T.nilable(String)) }
|
338
319
|
attr_accessor :account_type
|
339
320
|
# The ID of a Financial Connections Account to use as a payment method.
|
340
|
-
sig { returns(String) }
|
321
|
+
sig { returns(T.nilable(String)) }
|
341
322
|
attr_accessor :financial_connections_account
|
342
323
|
# Routing number of the bank account.
|
343
|
-
sig { returns(String) }
|
324
|
+
sig { returns(T.nilable(String)) }
|
344
325
|
attr_accessor :routing_number
|
345
326
|
sig {
|
346
|
-
params(account_holder_type: String, account_number: String, account_type: String, financial_connections_account: String, routing_number: String).void
|
327
|
+
params(account_holder_type: T.nilable(String), account_number: T.nilable(String), account_type: T.nilable(String), financial_connections_account: T.nilable(String), routing_number: T.nilable(String)).void
|
347
328
|
}
|
348
329
|
def initialize(
|
349
330
|
account_holder_type: nil,
|
@@ -361,258 +342,238 @@ module Stripe
|
|
361
342
|
end
|
362
343
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
363
344
|
sig {
|
364
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::AcssDebit)
|
345
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::AcssDebit))
|
365
346
|
}
|
366
347
|
attr_accessor :acss_debit
|
367
348
|
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
368
349
|
sig {
|
369
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Affirm)
|
350
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Affirm))
|
370
351
|
}
|
371
352
|
attr_accessor :affirm
|
372
353
|
# If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
|
373
354
|
sig {
|
374
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::AfterpayClearpay)
|
355
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::AfterpayClearpay))
|
375
356
|
}
|
376
357
|
attr_accessor :afterpay_clearpay
|
377
358
|
# If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
|
378
359
|
sig {
|
379
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Alipay)
|
360
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Alipay))
|
380
361
|
}
|
381
362
|
attr_accessor :alipay
|
382
363
|
# This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.
|
383
|
-
sig { returns(String) }
|
364
|
+
sig { returns(T.nilable(String)) }
|
384
365
|
attr_accessor :allow_redisplay
|
385
366
|
# If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
|
386
367
|
sig {
|
387
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Alma)
|
368
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Alma))
|
388
369
|
}
|
389
370
|
attr_accessor :alma
|
390
371
|
# If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
|
391
372
|
sig {
|
392
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::AmazonPay)
|
373
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::AmazonPay))
|
393
374
|
}
|
394
375
|
attr_accessor :amazon_pay
|
395
376
|
# If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
|
396
377
|
sig {
|
397
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::AuBecsDebit)
|
378
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::AuBecsDebit))
|
398
379
|
}
|
399
380
|
attr_accessor :au_becs_debit
|
400
381
|
# If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
|
401
382
|
sig {
|
402
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::BacsDebit)
|
383
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::BacsDebit))
|
403
384
|
}
|
404
385
|
attr_accessor :bacs_debit
|
405
386
|
# If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
|
406
387
|
sig {
|
407
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Bancontact)
|
388
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Bancontact))
|
408
389
|
}
|
409
390
|
attr_accessor :bancontact
|
391
|
+
# If this is a `billie` PaymentMethod, this hash contains details about the billie payment method.
|
392
|
+
sig {
|
393
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Billie))
|
394
|
+
}
|
395
|
+
attr_accessor :billie
|
410
396
|
# Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
|
411
397
|
sig {
|
412
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::BillingDetails)
|
398
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::BillingDetails))
|
413
399
|
}
|
414
400
|
attr_accessor :billing_details
|
415
401
|
# If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
|
416
402
|
sig {
|
417
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Blik)
|
403
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Blik))
|
418
404
|
}
|
419
405
|
attr_accessor :blik
|
420
406
|
# If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
|
421
407
|
sig {
|
422
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Boleto)
|
408
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Boleto))
|
423
409
|
}
|
424
410
|
attr_accessor :boleto
|
425
411
|
# If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
|
426
412
|
sig {
|
427
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Cashapp)
|
413
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Cashapp))
|
428
414
|
}
|
429
415
|
attr_accessor :cashapp
|
430
416
|
# If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
|
431
417
|
sig {
|
432
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::CustomerBalance)
|
418
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::CustomerBalance))
|
433
419
|
}
|
434
420
|
attr_accessor :customer_balance
|
435
421
|
# If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
|
436
422
|
sig {
|
437
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Eps)
|
423
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Eps))
|
438
424
|
}
|
439
425
|
attr_accessor :eps
|
440
426
|
# If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
|
441
427
|
sig {
|
442
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Fpx)
|
428
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Fpx))
|
443
429
|
}
|
444
430
|
attr_accessor :fpx
|
445
431
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
446
432
|
sig {
|
447
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Giropay)
|
433
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Giropay))
|
448
434
|
}
|
449
435
|
attr_accessor :giropay
|
450
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
451
|
-
sig {
|
452
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Gopay)
|
453
|
-
}
|
454
|
-
attr_accessor :gopay
|
455
436
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
456
437
|
sig {
|
457
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Grabpay)
|
438
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Grabpay))
|
458
439
|
}
|
459
440
|
attr_accessor :grabpay
|
460
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
461
|
-
sig {
|
462
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::IdBankTransfer)
|
463
|
-
}
|
464
|
-
attr_accessor :id_bank_transfer
|
465
441
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
466
442
|
sig {
|
467
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Ideal)
|
443
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Ideal))
|
468
444
|
}
|
469
445
|
attr_accessor :ideal
|
470
446
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
471
447
|
sig {
|
472
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::InteracPresent)
|
448
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::InteracPresent))
|
473
449
|
}
|
474
450
|
attr_accessor :interac_present
|
475
451
|
# If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
|
476
452
|
sig {
|
477
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::KakaoPay)
|
453
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::KakaoPay))
|
478
454
|
}
|
479
455
|
attr_accessor :kakao_pay
|
480
456
|
# If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
|
481
457
|
sig {
|
482
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Klarna)
|
458
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Klarna))
|
483
459
|
}
|
484
460
|
attr_accessor :klarna
|
485
461
|
# If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
|
486
462
|
sig {
|
487
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Konbini)
|
463
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Konbini))
|
488
464
|
}
|
489
465
|
attr_accessor :konbini
|
490
466
|
# If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
|
491
467
|
sig {
|
492
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::KrCard)
|
468
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::KrCard))
|
493
469
|
}
|
494
470
|
attr_accessor :kr_card
|
495
471
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
496
472
|
sig {
|
497
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Link)
|
473
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Link))
|
498
474
|
}
|
499
475
|
attr_accessor :link
|
500
|
-
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
501
|
-
sig {
|
502
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::MbWay)
|
503
|
-
}
|
504
|
-
attr_accessor :mb_way
|
505
476
|
# 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`.
|
506
|
-
sig { returns(T::Hash[String, String]) }
|
477
|
+
sig { returns(T.nilable(T::Hash[String, String])) }
|
507
478
|
attr_accessor :metadata
|
508
479
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
509
480
|
sig {
|
510
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Mobilepay)
|
481
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Mobilepay))
|
511
482
|
}
|
512
483
|
attr_accessor :mobilepay
|
513
484
|
# If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
|
514
485
|
sig {
|
515
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Multibanco)
|
486
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Multibanco))
|
516
487
|
}
|
517
488
|
attr_accessor :multibanco
|
518
489
|
# If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
|
519
490
|
sig {
|
520
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::NaverPay)
|
491
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::NaverPay))
|
521
492
|
}
|
522
493
|
attr_accessor :naver_pay
|
494
|
+
# If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.
|
495
|
+
sig {
|
496
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::NzBankAccount))
|
497
|
+
}
|
498
|
+
attr_accessor :nz_bank_account
|
523
499
|
# If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
|
524
500
|
sig {
|
525
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Oxxo)
|
501
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Oxxo))
|
526
502
|
}
|
527
503
|
attr_accessor :oxxo
|
528
504
|
# If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
|
529
505
|
sig {
|
530
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::P24)
|
506
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::P24))
|
531
507
|
}
|
532
508
|
attr_accessor :p24
|
533
509
|
# If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method.
|
534
510
|
sig {
|
535
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::PayByBank)
|
511
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::PayByBank))
|
536
512
|
}
|
537
513
|
attr_accessor :pay_by_bank
|
538
514
|
# If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
|
539
515
|
sig {
|
540
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Payco)
|
516
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Payco))
|
541
517
|
}
|
542
518
|
attr_accessor :payco
|
543
519
|
# If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
|
544
520
|
sig {
|
545
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Paynow)
|
521
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Paynow))
|
546
522
|
}
|
547
523
|
attr_accessor :paynow
|
548
524
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
549
525
|
sig {
|
550
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Paypal)
|
526
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Paypal))
|
551
527
|
}
|
552
528
|
attr_accessor :paypal
|
553
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
554
|
-
sig {
|
555
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Payto)
|
556
|
-
}
|
557
|
-
attr_accessor :payto
|
558
529
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
559
530
|
sig {
|
560
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Pix)
|
531
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Pix))
|
561
532
|
}
|
562
533
|
attr_accessor :pix
|
563
534
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
564
535
|
sig {
|
565
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Promptpay)
|
536
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Promptpay))
|
566
537
|
}
|
567
538
|
attr_accessor :promptpay
|
568
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
569
|
-
sig {
|
570
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Qris)
|
571
|
-
}
|
572
|
-
attr_accessor :qris
|
573
539
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
574
540
|
sig {
|
575
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::RadarOptions)
|
541
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::RadarOptions))
|
576
542
|
}
|
577
543
|
attr_accessor :radar_options
|
578
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
579
|
-
sig {
|
580
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Rechnung)
|
581
|
-
}
|
582
|
-
attr_accessor :rechnung
|
583
544
|
# If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
584
545
|
sig {
|
585
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::RevolutPay)
|
546
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::RevolutPay))
|
586
547
|
}
|
587
548
|
attr_accessor :revolut_pay
|
588
549
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
589
550
|
sig {
|
590
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::SamsungPay)
|
551
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::SamsungPay))
|
591
552
|
}
|
592
553
|
attr_accessor :samsung_pay
|
593
|
-
# If this is a `
|
554
|
+
# If this is a `satispay` PaymentMethod, this hash contains details about the satispay payment method.
|
594
555
|
sig {
|
595
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::
|
556
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Satispay))
|
596
557
|
}
|
597
|
-
attr_accessor :
|
598
|
-
# If this is a
|
558
|
+
attr_accessor :satispay
|
559
|
+
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
599
560
|
sig {
|
600
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::
|
561
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::SepaDebit))
|
601
562
|
}
|
602
|
-
attr_accessor :
|
563
|
+
attr_accessor :sepa_debit
|
603
564
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
604
565
|
sig {
|
605
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Sofort)
|
566
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Sofort))
|
606
567
|
}
|
607
568
|
attr_accessor :sofort
|
608
569
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
609
570
|
sig {
|
610
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Swish)
|
571
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Swish))
|
611
572
|
}
|
612
573
|
attr_accessor :swish
|
613
574
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
614
575
|
sig {
|
615
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Twint)
|
576
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Twint))
|
616
577
|
}
|
617
578
|
attr_accessor :twint
|
618
579
|
# The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
|
@@ -620,21 +581,21 @@ module Stripe
|
|
620
581
|
attr_accessor :type
|
621
582
|
# If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
|
622
583
|
sig {
|
623
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::UsBankAccount)
|
584
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::UsBankAccount))
|
624
585
|
}
|
625
586
|
attr_accessor :us_bank_account
|
626
587
|
# If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
|
627
588
|
sig {
|
628
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::WechatPay)
|
589
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::WechatPay))
|
629
590
|
}
|
630
591
|
attr_accessor :wechat_pay
|
631
592
|
# If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
|
632
593
|
sig {
|
633
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Zip)
|
594
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Zip))
|
634
595
|
}
|
635
596
|
attr_accessor :zip
|
636
597
|
sig {
|
637
|
-
params(acss_debit: ::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::AcssDebit, affirm: ::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Affirm, afterpay_clearpay: ::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::AfterpayClearpay, alipay: ::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Alipay, allow_redisplay: String, alma: ::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Alma, amazon_pay: ::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::AmazonPay, au_becs_debit: ::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::AuBecsDebit, bacs_debit: ::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::BacsDebit, bancontact: ::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Bancontact, billing_details: ::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::BillingDetails, blik: ::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Blik, boleto: ::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Boleto, cashapp: ::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Cashapp, customer_balance: ::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::CustomerBalance, eps: ::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Eps, fpx: ::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Fpx, giropay: ::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Giropay,
|
598
|
+
params(acss_debit: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::AcssDebit), affirm: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Affirm), afterpay_clearpay: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::AfterpayClearpay), alipay: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Alipay), allow_redisplay: T.nilable(String), alma: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Alma), amazon_pay: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::AmazonPay), au_becs_debit: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::AuBecsDebit), bacs_debit: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::BacsDebit), bancontact: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Bancontact), billie: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Billie), billing_details: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::BillingDetails), blik: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Blik), boleto: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Boleto), cashapp: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Cashapp), customer_balance: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::CustomerBalance), eps: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Eps), fpx: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Fpx), giropay: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Giropay), grabpay: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Grabpay), ideal: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Ideal), interac_present: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::InteracPresent), kakao_pay: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::KakaoPay), klarna: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Klarna), konbini: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Konbini), kr_card: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::KrCard), link: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Link), metadata: T.nilable(T::Hash[String, String]), mobilepay: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Mobilepay), multibanco: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Multibanco), naver_pay: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::NaverPay), nz_bank_account: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::NzBankAccount), oxxo: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Oxxo), p24: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::P24), pay_by_bank: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::PayByBank), payco: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Payco), paynow: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Paynow), paypal: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Paypal), pix: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Pix), promptpay: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Promptpay), radar_options: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::RadarOptions), revolut_pay: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::RevolutPay), samsung_pay: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::SamsungPay), satispay: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Satispay), sepa_debit: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::SepaDebit), sofort: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Sofort), swish: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Swish), twint: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Twint), type: String, us_bank_account: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::UsBankAccount), wechat_pay: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::WechatPay), zip: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::Zip)).void
|
638
599
|
}
|
639
600
|
def initialize(
|
640
601
|
acss_debit: nil,
|
@@ -647,6 +608,7 @@ module Stripe
|
|
647
608
|
au_becs_debit: nil,
|
648
609
|
bacs_debit: nil,
|
649
610
|
bancontact: nil,
|
611
|
+
billie: nil,
|
650
612
|
billing_details: nil,
|
651
613
|
blik: nil,
|
652
614
|
boleto: nil,
|
@@ -655,9 +617,7 @@ module Stripe
|
|
655
617
|
eps: nil,
|
656
618
|
fpx: nil,
|
657
619
|
giropay: nil,
|
658
|
-
gopay: nil,
|
659
620
|
grabpay: nil,
|
660
|
-
id_bank_transfer: nil,
|
661
621
|
ideal: nil,
|
662
622
|
interac_present: nil,
|
663
623
|
kakao_pay: nil,
|
@@ -665,27 +625,24 @@ module Stripe
|
|
665
625
|
konbini: nil,
|
666
626
|
kr_card: nil,
|
667
627
|
link: nil,
|
668
|
-
mb_way: nil,
|
669
628
|
metadata: nil,
|
670
629
|
mobilepay: nil,
|
671
630
|
multibanco: nil,
|
672
631
|
naver_pay: nil,
|
632
|
+
nz_bank_account: nil,
|
673
633
|
oxxo: nil,
|
674
634
|
p24: nil,
|
675
635
|
pay_by_bank: nil,
|
676
636
|
payco: nil,
|
677
637
|
paynow: nil,
|
678
638
|
paypal: nil,
|
679
|
-
payto: nil,
|
680
639
|
pix: nil,
|
681
640
|
promptpay: nil,
|
682
|
-
qris: nil,
|
683
641
|
radar_options: nil,
|
684
|
-
rechnung: nil,
|
685
642
|
revolut_pay: nil,
|
686
643
|
samsung_pay: nil,
|
644
|
+
satispay: nil,
|
687
645
|
sepa_debit: nil,
|
688
|
-
shopeepay: nil,
|
689
646
|
sofort: nil,
|
690
647
|
swish: nil,
|
691
648
|
twint: nil,
|
@@ -698,25 +655,25 @@ module Stripe
|
|
698
655
|
class Shipping < Stripe::RequestParams
|
699
656
|
class Address < Stripe::RequestParams
|
700
657
|
# City, district, suburb, town, or village.
|
701
|
-
sig { returns(String) }
|
658
|
+
sig { returns(T.nilable(String)) }
|
702
659
|
attr_accessor :city
|
703
660
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
704
|
-
sig { returns(String) }
|
661
|
+
sig { returns(T.nilable(String)) }
|
705
662
|
attr_accessor :country
|
706
663
|
# Address line 1 (e.g., street, PO Box, or company name).
|
707
|
-
sig { returns(String) }
|
664
|
+
sig { returns(T.nilable(String)) }
|
708
665
|
attr_accessor :line1
|
709
666
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
710
|
-
sig { returns(String) }
|
667
|
+
sig { returns(T.nilable(String)) }
|
711
668
|
attr_accessor :line2
|
712
669
|
# ZIP or postal code.
|
713
|
-
sig { returns(String) }
|
670
|
+
sig { returns(T.nilable(String)) }
|
714
671
|
attr_accessor :postal_code
|
715
672
|
# State, county, province, or region.
|
716
|
-
sig { returns(String) }
|
673
|
+
sig { returns(T.nilable(String)) }
|
717
674
|
attr_accessor :state
|
718
675
|
sig {
|
719
|
-
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
676
|
+
params(city: T.nilable(String), country: T.nilable(String), line1: T.nilable(String), line2: T.nilable(String), postal_code: T.nilable(String), state: T.nilable(String)).void
|
720
677
|
}
|
721
678
|
def initialize(
|
722
679
|
city: nil,
|
@@ -736,37 +693,39 @@ module Stripe
|
|
736
693
|
sig { returns(String) }
|
737
694
|
attr_accessor :name
|
738
695
|
# Recipient phone (including extension)
|
739
|
-
sig { returns(T.nilable(String)) }
|
696
|
+
sig { returns(T.nilable(T.nilable(String))) }
|
740
697
|
attr_accessor :phone
|
741
698
|
sig {
|
742
|
-
params(address: ::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::Shipping::Address, name: String, phone: T.nilable(String)).void
|
699
|
+
params(address: ::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::Shipping::Address, name: String, phone: T.nilable(T.nilable(String))).void
|
743
700
|
}
|
744
701
|
def initialize(address: nil, name: nil, phone: nil); end
|
745
702
|
end
|
746
703
|
# Specifies which fields in the response should be expanded.
|
747
|
-
sig { returns(T::Array[String]) }
|
704
|
+
sig { returns(T.nilable(T::Array[String])) }
|
748
705
|
attr_accessor :expand
|
749
706
|
# ID of an existing PaymentMethod.
|
750
|
-
sig { returns(String) }
|
707
|
+
sig { returns(T.nilable(String)) }
|
751
708
|
attr_accessor :payment_method
|
752
709
|
# If provided, this hash will be used to create a PaymentMethod.
|
753
710
|
sig {
|
754
|
-
returns(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData)
|
711
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData))
|
755
712
|
}
|
756
713
|
attr_accessor :payment_method_data
|
757
714
|
# Return URL used to confirm the Intent.
|
758
|
-
sig { returns(String) }
|
715
|
+
sig { returns(T.nilable(String)) }
|
759
716
|
attr_accessor :return_url
|
760
717
|
# Indicates that you intend to make future payments with this ConfirmationToken's payment method.
|
761
718
|
#
|
762
719
|
# The presence of this property will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete.
|
763
|
-
sig { returns(String) }
|
720
|
+
sig { returns(T.nilable(String)) }
|
764
721
|
attr_accessor :setup_future_usage
|
765
722
|
# Shipping information for this ConfirmationToken.
|
766
|
-
sig {
|
723
|
+
sig {
|
724
|
+
returns(T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::Shipping))
|
725
|
+
}
|
767
726
|
attr_accessor :shipping
|
768
727
|
sig {
|
769
|
-
params(expand: T::Array[String], payment_method: String, payment_method_data: ::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData, return_url: String, setup_future_usage: String, shipping: ::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::Shipping).void
|
728
|
+
params(expand: T.nilable(T::Array[String]), payment_method: T.nilable(String), payment_method_data: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData), return_url: T.nilable(String), setup_future_usage: T.nilable(String), shipping: T.nilable(::Stripe::TestHelpers::ConfirmationTokenService::CreateParams::Shipping)).void
|
770
729
|
}
|
771
730
|
def initialize(
|
772
731
|
expand: nil,
|