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
@@ -106,15 +106,6 @@ module Stripe
|
|
106
106
|
end
|
107
107
|
end
|
108
108
|
|
109
|
-
class RetrieveParams < Stripe::RequestParams
|
110
|
-
# Specifies which fields in the response should be expanded.
|
111
|
-
attr_accessor :expand
|
112
|
-
|
113
|
-
def initialize(expand: nil)
|
114
|
-
@expand = expand
|
115
|
-
end
|
116
|
-
end
|
117
|
-
|
118
109
|
class UpdateParams < Stripe::RequestParams
|
119
110
|
class Beneficiary < Stripe::RequestParams
|
120
111
|
# Publicly displayable name for the end beneficiary of carbon removal.
|
@@ -39,15 +39,6 @@ module Stripe
|
|
39
39
|
@starting_after = starting_after
|
40
40
|
end
|
41
41
|
end
|
42
|
-
|
43
|
-
class RetrieveParams < Stripe::RequestParams
|
44
|
-
# Specifies which fields in the response should be expanded.
|
45
|
-
attr_accessor :expand
|
46
|
-
|
47
|
-
def initialize(expand: nil)
|
48
|
-
@expand = expand
|
49
|
-
end
|
50
|
-
end
|
51
42
|
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
52
43
|
attr_reader :created
|
53
44
|
# Current prices for a metric ton of carbon removal in a currency's smallest unit.
|
@@ -42,15 +42,6 @@ module Stripe
|
|
42
42
|
@starting_after = starting_after
|
43
43
|
end
|
44
44
|
end
|
45
|
-
|
46
|
-
class RetrieveParams < Stripe::RequestParams
|
47
|
-
# Specifies which fields in the response should be expanded.
|
48
|
-
attr_accessor :expand
|
49
|
-
|
50
|
-
def initialize(expand: nil)
|
51
|
-
@expand = expand
|
52
|
-
end
|
53
|
-
end
|
54
45
|
# Unique identifier for the object.
|
55
46
|
attr_reader :id
|
56
47
|
# Link to a webpage to learn more about the supplier.
|
@@ -80,6 +80,7 @@ module Stripe
|
|
80
80
|
end
|
81
81
|
|
82
82
|
class Bancontact < Stripe::StripeObject; end
|
83
|
+
class Billie < Stripe::StripeObject; end
|
83
84
|
|
84
85
|
class BillingDetails < Stripe::StripeObject
|
85
86
|
class Address < Stripe::StripeObject
|
@@ -459,20 +460,8 @@ module Stripe
|
|
459
460
|
end
|
460
461
|
|
461
462
|
class Giropay < Stripe::StripeObject; end
|
462
|
-
class Gopay < Stripe::StripeObject; end
|
463
463
|
class Grabpay < Stripe::StripeObject; end
|
464
464
|
|
465
|
-
class IdBankTransfer < Stripe::StripeObject
|
466
|
-
# Attribute for field bank
|
467
|
-
attr_reader :bank
|
468
|
-
# Attribute for field bank_code
|
469
|
-
attr_reader :bank_code
|
470
|
-
# Attribute for field bank_name
|
471
|
-
attr_reader :bank_name
|
472
|
-
# Attribute for field display_name
|
473
|
-
attr_reader :display_name
|
474
|
-
end
|
475
|
-
|
476
465
|
class Ideal < Stripe::StripeObject
|
477
466
|
# 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`.
|
478
467
|
attr_reader :bank
|
@@ -550,15 +539,31 @@ module Stripe
|
|
550
539
|
attr_reader :persistent_token
|
551
540
|
end
|
552
541
|
|
553
|
-
class MbWay < Stripe::StripeObject; end
|
554
542
|
class Mobilepay < Stripe::StripeObject; end
|
555
543
|
class Multibanco < Stripe::StripeObject; end
|
556
544
|
|
557
545
|
class NaverPay < Stripe::StripeObject
|
546
|
+
# Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same.
|
547
|
+
attr_reader :buyer_id
|
558
548
|
# Whether to fund this transaction with Naver Pay points or a card.
|
559
549
|
attr_reader :funding
|
560
550
|
end
|
561
551
|
|
552
|
+
class NzBankAccount < Stripe::StripeObject
|
553
|
+
# The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details.
|
554
|
+
attr_reader :account_holder_name
|
555
|
+
# The numeric code for the bank account's bank.
|
556
|
+
attr_reader :bank_code
|
557
|
+
# The name of the bank.
|
558
|
+
attr_reader :bank_name
|
559
|
+
# The numeric code for the bank account's bank branch.
|
560
|
+
attr_reader :branch_code
|
561
|
+
# Last four digits of the bank account number.
|
562
|
+
attr_reader :last4
|
563
|
+
# The suffix of the bank account number.
|
564
|
+
attr_reader :suffix
|
565
|
+
end
|
566
|
+
|
562
567
|
class Oxxo < Stripe::StripeObject; end
|
563
568
|
|
564
569
|
class P24 < Stripe::StripeObject
|
@@ -573,46 +578,18 @@ module Stripe
|
|
573
578
|
class Paypal < Stripe::StripeObject
|
574
579
|
# 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.
|
575
580
|
attr_reader :country
|
576
|
-
# Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
|
577
|
-
attr_reader :fingerprint
|
578
581
|
# Owner's email. Values are provided by PayPal directly
|
579
582
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
580
583
|
attr_reader :payer_email
|
581
584
|
# PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
582
585
|
attr_reader :payer_id
|
583
|
-
# Owner's verified email. Values are verified or provided by PayPal directly
|
584
|
-
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
585
|
-
attr_reader :verified_email
|
586
|
-
end
|
587
|
-
|
588
|
-
class Payto < Stripe::StripeObject
|
589
|
-
# Bank-State-Branch number of the bank account.
|
590
|
-
attr_reader :bsb_number
|
591
|
-
# Last four digits of the bank account number.
|
592
|
-
attr_reader :last4
|
593
|
-
# The PayID alias for the bank account.
|
594
|
-
attr_reader :pay_id
|
595
586
|
end
|
596
587
|
|
597
588
|
class Pix < Stripe::StripeObject; end
|
598
589
|
class Promptpay < Stripe::StripeObject; end
|
599
|
-
class Qris < Stripe::StripeObject; end
|
600
|
-
|
601
|
-
class Rechnung < Stripe::StripeObject
|
602
|
-
class Dob < Stripe::StripeObject
|
603
|
-
# The day of birth, between 1 and 31.
|
604
|
-
attr_reader :day
|
605
|
-
# The month of birth, between 1 and 12.
|
606
|
-
attr_reader :month
|
607
|
-
# The four-digit year of birth.
|
608
|
-
attr_reader :year
|
609
|
-
end
|
610
|
-
# Attribute for field dob
|
611
|
-
attr_reader :dob
|
612
|
-
end
|
613
|
-
|
614
590
|
class RevolutPay < Stripe::StripeObject; end
|
615
591
|
class SamsungPay < Stripe::StripeObject; end
|
592
|
+
class Satispay < Stripe::StripeObject; end
|
616
593
|
|
617
594
|
class SepaDebit < Stripe::StripeObject
|
618
595
|
class GeneratedFrom < Stripe::StripeObject
|
@@ -635,8 +612,6 @@ module Stripe
|
|
635
612
|
attr_reader :last4
|
636
613
|
end
|
637
614
|
|
638
|
-
class Shopeepay < Stripe::StripeObject; end
|
639
|
-
|
640
615
|
class Sofort < Stripe::StripeObject
|
641
616
|
# Two-letter ISO code representing the country the bank account is located in.
|
642
617
|
attr_reader :country
|
@@ -665,8 +640,6 @@ module Stripe
|
|
665
640
|
end
|
666
641
|
# Account holder type: individual or company.
|
667
642
|
attr_reader :account_holder_type
|
668
|
-
# Account number of the bank account.
|
669
|
-
attr_reader :account_number
|
670
643
|
# Account type: checkings or savings. Defaults to checking if omitted.
|
671
644
|
attr_reader :account_type
|
672
645
|
# The name of the bank.
|
@@ -707,6 +680,8 @@ module Stripe
|
|
707
680
|
attr_reader :bacs_debit
|
708
681
|
# Attribute for field bancontact
|
709
682
|
attr_reader :bancontact
|
683
|
+
# Attribute for field billie
|
684
|
+
attr_reader :billie
|
710
685
|
# Attribute for field billing_details
|
711
686
|
attr_reader :billing_details
|
712
687
|
# Attribute for field blik
|
@@ -729,12 +704,8 @@ module Stripe
|
|
729
704
|
attr_reader :fpx
|
730
705
|
# Attribute for field giropay
|
731
706
|
attr_reader :giropay
|
732
|
-
# Attribute for field gopay
|
733
|
-
attr_reader :gopay
|
734
707
|
# Attribute for field grabpay
|
735
708
|
attr_reader :grabpay
|
736
|
-
# Attribute for field id_bank_transfer
|
737
|
-
attr_reader :id_bank_transfer
|
738
709
|
# Attribute for field ideal
|
739
710
|
attr_reader :ideal
|
740
711
|
# Attribute for field interac_present
|
@@ -749,14 +720,14 @@ module Stripe
|
|
749
720
|
attr_reader :kr_card
|
750
721
|
# Attribute for field link
|
751
722
|
attr_reader :link
|
752
|
-
# Attribute for field mb_way
|
753
|
-
attr_reader :mb_way
|
754
723
|
# Attribute for field mobilepay
|
755
724
|
attr_reader :mobilepay
|
756
725
|
# Attribute for field multibanco
|
757
726
|
attr_reader :multibanco
|
758
727
|
# Attribute for field naver_pay
|
759
728
|
attr_reader :naver_pay
|
729
|
+
# Attribute for field nz_bank_account
|
730
|
+
attr_reader :nz_bank_account
|
760
731
|
# Attribute for field oxxo
|
761
732
|
attr_reader :oxxo
|
762
733
|
# Attribute for field p24
|
@@ -769,24 +740,18 @@ module Stripe
|
|
769
740
|
attr_reader :paynow
|
770
741
|
# Attribute for field paypal
|
771
742
|
attr_reader :paypal
|
772
|
-
# Attribute for field payto
|
773
|
-
attr_reader :payto
|
774
743
|
# Attribute for field pix
|
775
744
|
attr_reader :pix
|
776
745
|
# Attribute for field promptpay
|
777
746
|
attr_reader :promptpay
|
778
|
-
# Attribute for field qris
|
779
|
-
attr_reader :qris
|
780
|
-
# Attribute for field rechnung
|
781
|
-
attr_reader :rechnung
|
782
747
|
# Attribute for field revolut_pay
|
783
748
|
attr_reader :revolut_pay
|
784
749
|
# Attribute for field samsung_pay
|
785
750
|
attr_reader :samsung_pay
|
751
|
+
# Attribute for field satispay
|
752
|
+
attr_reader :satispay
|
786
753
|
# Attribute for field sepa_debit
|
787
754
|
attr_reader :sepa_debit
|
788
|
-
# Attribute for field shopeepay
|
789
|
-
attr_reader :shopeepay
|
790
755
|
# Attribute for field sofort
|
791
756
|
attr_reader :sofort
|
792
757
|
# Attribute for field swish
|
@@ -826,15 +791,6 @@ module Stripe
|
|
826
791
|
attr_reader :phone
|
827
792
|
end
|
828
793
|
|
829
|
-
class RetrieveParams < Stripe::RequestParams
|
830
|
-
# Specifies which fields in the response should be expanded.
|
831
|
-
attr_accessor :expand
|
832
|
-
|
833
|
-
def initialize(expand: nil)
|
834
|
-
@expand = expand
|
835
|
-
end
|
836
|
-
end
|
837
|
-
|
838
794
|
class CreateParams < Stripe::RequestParams
|
839
795
|
class PaymentMethodData < Stripe::RequestParams
|
840
796
|
class AcssDebit < Stripe::RequestParams
|
@@ -894,6 +850,9 @@ module Stripe
|
|
894
850
|
class Bancontact < Stripe::RequestParams
|
895
851
|
end
|
896
852
|
|
853
|
+
class Billie < Stripe::RequestParams
|
854
|
+
end
|
855
|
+
|
897
856
|
class BillingDetails < Stripe::RequestParams
|
898
857
|
class Address < Stripe::RequestParams
|
899
858
|
# City, district, suburb, town, or village.
|
@@ -984,21 +943,9 @@ module Stripe
|
|
984
943
|
class Giropay < Stripe::RequestParams
|
985
944
|
end
|
986
945
|
|
987
|
-
class Gopay < Stripe::RequestParams
|
988
|
-
end
|
989
|
-
|
990
946
|
class Grabpay < Stripe::RequestParams
|
991
947
|
end
|
992
948
|
|
993
|
-
class IdBankTransfer < Stripe::RequestParams
|
994
|
-
# Bank where the account is held.
|
995
|
-
attr_accessor :bank
|
996
|
-
|
997
|
-
def initialize(bank: nil)
|
998
|
-
@bank = bank
|
999
|
-
end
|
1000
|
-
end
|
1001
|
-
|
1002
949
|
class Ideal < Stripe::RequestParams
|
1003
950
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
1004
951
|
attr_accessor :bank
|
@@ -1046,9 +993,6 @@ module Stripe
|
|
1046
993
|
class Link < Stripe::RequestParams
|
1047
994
|
end
|
1048
995
|
|
1049
|
-
class MbWay < Stripe::RequestParams
|
1050
|
-
end
|
1051
|
-
|
1052
996
|
class Mobilepay < Stripe::RequestParams
|
1053
997
|
end
|
1054
998
|
|
@@ -1064,6 +1008,37 @@ module Stripe
|
|
1064
1008
|
end
|
1065
1009
|
end
|
1066
1010
|
|
1011
|
+
class NzBankAccount < Stripe::RequestParams
|
1012
|
+
# 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.
|
1013
|
+
attr_accessor :account_holder_name
|
1014
|
+
# The account number for the bank account.
|
1015
|
+
attr_accessor :account_number
|
1016
|
+
# The numeric code for the bank account's bank.
|
1017
|
+
attr_accessor :bank_code
|
1018
|
+
# The numeric code for the bank account's bank branch.
|
1019
|
+
attr_accessor :branch_code
|
1020
|
+
# Attribute for param field reference
|
1021
|
+
attr_accessor :reference
|
1022
|
+
# The suffix of the bank account number.
|
1023
|
+
attr_accessor :suffix
|
1024
|
+
|
1025
|
+
def initialize(
|
1026
|
+
account_holder_name: nil,
|
1027
|
+
account_number: nil,
|
1028
|
+
bank_code: nil,
|
1029
|
+
branch_code: nil,
|
1030
|
+
reference: nil,
|
1031
|
+
suffix: nil
|
1032
|
+
)
|
1033
|
+
@account_holder_name = account_holder_name
|
1034
|
+
@account_number = account_number
|
1035
|
+
@bank_code = bank_code
|
1036
|
+
@branch_code = branch_code
|
1037
|
+
@reference = reference
|
1038
|
+
@suffix = suffix
|
1039
|
+
end
|
1040
|
+
end
|
1041
|
+
|
1067
1042
|
class Oxxo < Stripe::RequestParams
|
1068
1043
|
end
|
1069
1044
|
|
@@ -1088,30 +1063,12 @@ module Stripe
|
|
1088
1063
|
class Paypal < Stripe::RequestParams
|
1089
1064
|
end
|
1090
1065
|
|
1091
|
-
class Payto < Stripe::RequestParams
|
1092
|
-
# The account number for the bank account.
|
1093
|
-
attr_accessor :account_number
|
1094
|
-
# Bank-State-Branch number of the bank account.
|
1095
|
-
attr_accessor :bsb_number
|
1096
|
-
# The PayID alias for the bank account.
|
1097
|
-
attr_accessor :pay_id
|
1098
|
-
|
1099
|
-
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
1100
|
-
@account_number = account_number
|
1101
|
-
@bsb_number = bsb_number
|
1102
|
-
@pay_id = pay_id
|
1103
|
-
end
|
1104
|
-
end
|
1105
|
-
|
1106
1066
|
class Pix < Stripe::RequestParams
|
1107
1067
|
end
|
1108
1068
|
|
1109
1069
|
class Promptpay < Stripe::RequestParams
|
1110
1070
|
end
|
1111
1071
|
|
1112
|
-
class Qris < Stripe::RequestParams
|
1113
|
-
end
|
1114
|
-
|
1115
1072
|
class RadarOptions < Stripe::RequestParams
|
1116
1073
|
# 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.
|
1117
1074
|
attr_accessor :session
|
@@ -1121,35 +1078,15 @@ module Stripe
|
|
1121
1078
|
end
|
1122
1079
|
end
|
1123
1080
|
|
1124
|
-
class Rechnung < Stripe::RequestParams
|
1125
|
-
class Dob < Stripe::RequestParams
|
1126
|
-
# The day of birth, between 1 and 31.
|
1127
|
-
attr_accessor :day
|
1128
|
-
# The month of birth, between 1 and 12.
|
1129
|
-
attr_accessor :month
|
1130
|
-
# The four-digit year of birth.
|
1131
|
-
attr_accessor :year
|
1132
|
-
|
1133
|
-
def initialize(day: nil, month: nil, year: nil)
|
1134
|
-
@day = day
|
1135
|
-
@month = month
|
1136
|
-
@year = year
|
1137
|
-
end
|
1138
|
-
end
|
1139
|
-
# Customer's date of birth
|
1140
|
-
attr_accessor :dob
|
1141
|
-
|
1142
|
-
def initialize(dob: nil)
|
1143
|
-
@dob = dob
|
1144
|
-
end
|
1145
|
-
end
|
1146
|
-
|
1147
1081
|
class RevolutPay < Stripe::RequestParams
|
1148
1082
|
end
|
1149
1083
|
|
1150
1084
|
class SamsungPay < Stripe::RequestParams
|
1151
1085
|
end
|
1152
1086
|
|
1087
|
+
class Satispay < Stripe::RequestParams
|
1088
|
+
end
|
1089
|
+
|
1153
1090
|
class SepaDebit < Stripe::RequestParams
|
1154
1091
|
# IBAN of the bank account.
|
1155
1092
|
attr_accessor :iban
|
@@ -1159,9 +1096,6 @@ module Stripe
|
|
1159
1096
|
end
|
1160
1097
|
end
|
1161
1098
|
|
1162
|
-
class Shopeepay < Stripe::RequestParams
|
1163
|
-
end
|
1164
|
-
|
1165
1099
|
class Sofort < Stripe::RequestParams
|
1166
1100
|
# Two-letter ISO code representing the country the bank account is located in.
|
1167
1101
|
attr_accessor :country
|
@@ -1229,6 +1163,8 @@ module Stripe
|
|
1229
1163
|
attr_accessor :bacs_debit
|
1230
1164
|
# If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
|
1231
1165
|
attr_accessor :bancontact
|
1166
|
+
# If this is a `billie` PaymentMethod, this hash contains details about the billie payment method.
|
1167
|
+
attr_accessor :billie
|
1232
1168
|
# Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
|
1233
1169
|
attr_accessor :billing_details
|
1234
1170
|
# If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
|
@@ -1245,12 +1181,8 @@ module Stripe
|
|
1245
1181
|
attr_accessor :fpx
|
1246
1182
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
1247
1183
|
attr_accessor :giropay
|
1248
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
1249
|
-
attr_accessor :gopay
|
1250
1184
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
1251
1185
|
attr_accessor :grabpay
|
1252
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
1253
|
-
attr_accessor :id_bank_transfer
|
1254
1186
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
1255
1187
|
attr_accessor :ideal
|
1256
1188
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
@@ -1265,8 +1197,6 @@ module Stripe
|
|
1265
1197
|
attr_accessor :kr_card
|
1266
1198
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
1267
1199
|
attr_accessor :link
|
1268
|
-
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
1269
|
-
attr_accessor :mb_way
|
1270
1200
|
# 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`.
|
1271
1201
|
attr_accessor :metadata
|
1272
1202
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
@@ -1275,6 +1205,8 @@ module Stripe
|
|
1275
1205
|
attr_accessor :multibanco
|
1276
1206
|
# If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
|
1277
1207
|
attr_accessor :naver_pay
|
1208
|
+
# If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.
|
1209
|
+
attr_accessor :nz_bank_account
|
1278
1210
|
# If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
|
1279
1211
|
attr_accessor :oxxo
|
1280
1212
|
# If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
|
@@ -1287,26 +1219,20 @@ module Stripe
|
|
1287
1219
|
attr_accessor :paynow
|
1288
1220
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
1289
1221
|
attr_accessor :paypal
|
1290
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
1291
|
-
attr_accessor :payto
|
1292
1222
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
1293
1223
|
attr_accessor :pix
|
1294
1224
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
1295
1225
|
attr_accessor :promptpay
|
1296
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
1297
|
-
attr_accessor :qris
|
1298
1226
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
1299
1227
|
attr_accessor :radar_options
|
1300
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
1301
|
-
attr_accessor :rechnung
|
1302
1228
|
# If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
1303
1229
|
attr_accessor :revolut_pay
|
1304
1230
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
1305
1231
|
attr_accessor :samsung_pay
|
1232
|
+
# If this is a `satispay` PaymentMethod, this hash contains details about the satispay payment method.
|
1233
|
+
attr_accessor :satispay
|
1306
1234
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
1307
1235
|
attr_accessor :sepa_debit
|
1308
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
1309
|
-
attr_accessor :shopeepay
|
1310
1236
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
1311
1237
|
attr_accessor :sofort
|
1312
1238
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
@@ -1333,6 +1259,7 @@ module Stripe
|
|
1333
1259
|
au_becs_debit: nil,
|
1334
1260
|
bacs_debit: nil,
|
1335
1261
|
bancontact: nil,
|
1262
|
+
billie: nil,
|
1336
1263
|
billing_details: nil,
|
1337
1264
|
blik: nil,
|
1338
1265
|
boleto: nil,
|
@@ -1341,9 +1268,7 @@ module Stripe
|
|
1341
1268
|
eps: nil,
|
1342
1269
|
fpx: nil,
|
1343
1270
|
giropay: nil,
|
1344
|
-
gopay: nil,
|
1345
1271
|
grabpay: nil,
|
1346
|
-
id_bank_transfer: nil,
|
1347
1272
|
ideal: nil,
|
1348
1273
|
interac_present: nil,
|
1349
1274
|
kakao_pay: nil,
|
@@ -1351,27 +1276,24 @@ module Stripe
|
|
1351
1276
|
konbini: nil,
|
1352
1277
|
kr_card: nil,
|
1353
1278
|
link: nil,
|
1354
|
-
mb_way: nil,
|
1355
1279
|
metadata: nil,
|
1356
1280
|
mobilepay: nil,
|
1357
1281
|
multibanco: nil,
|
1358
1282
|
naver_pay: nil,
|
1283
|
+
nz_bank_account: nil,
|
1359
1284
|
oxxo: nil,
|
1360
1285
|
p24: nil,
|
1361
1286
|
pay_by_bank: nil,
|
1362
1287
|
payco: nil,
|
1363
1288
|
paynow: nil,
|
1364
1289
|
paypal: nil,
|
1365
|
-
payto: nil,
|
1366
1290
|
pix: nil,
|
1367
1291
|
promptpay: nil,
|
1368
|
-
qris: nil,
|
1369
1292
|
radar_options: nil,
|
1370
|
-
rechnung: nil,
|
1371
1293
|
revolut_pay: nil,
|
1372
1294
|
samsung_pay: nil,
|
1295
|
+
satispay: nil,
|
1373
1296
|
sepa_debit: nil,
|
1374
|
-
shopeepay: nil,
|
1375
1297
|
sofort: nil,
|
1376
1298
|
swish: nil,
|
1377
1299
|
twint: nil,
|
@@ -1390,6 +1312,7 @@ module Stripe
|
|
1390
1312
|
@au_becs_debit = au_becs_debit
|
1391
1313
|
@bacs_debit = bacs_debit
|
1392
1314
|
@bancontact = bancontact
|
1315
|
+
@billie = billie
|
1393
1316
|
@billing_details = billing_details
|
1394
1317
|
@blik = blik
|
1395
1318
|
@boleto = boleto
|
@@ -1398,9 +1321,7 @@ module Stripe
|
|
1398
1321
|
@eps = eps
|
1399
1322
|
@fpx = fpx
|
1400
1323
|
@giropay = giropay
|
1401
|
-
@gopay = gopay
|
1402
1324
|
@grabpay = grabpay
|
1403
|
-
@id_bank_transfer = id_bank_transfer
|
1404
1325
|
@ideal = ideal
|
1405
1326
|
@interac_present = interac_present
|
1406
1327
|
@kakao_pay = kakao_pay
|
@@ -1408,27 +1329,24 @@ module Stripe
|
|
1408
1329
|
@konbini = konbini
|
1409
1330
|
@kr_card = kr_card
|
1410
1331
|
@link = link
|
1411
|
-
@mb_way = mb_way
|
1412
1332
|
@metadata = metadata
|
1413
1333
|
@mobilepay = mobilepay
|
1414
1334
|
@multibanco = multibanco
|
1415
1335
|
@naver_pay = naver_pay
|
1336
|
+
@nz_bank_account = nz_bank_account
|
1416
1337
|
@oxxo = oxxo
|
1417
1338
|
@p24 = p24
|
1418
1339
|
@pay_by_bank = pay_by_bank
|
1419
1340
|
@payco = payco
|
1420
1341
|
@paynow = paynow
|
1421
1342
|
@paypal = paypal
|
1422
|
-
@payto = payto
|
1423
1343
|
@pix = pix
|
1424
1344
|
@promptpay = promptpay
|
1425
|
-
@qris = qris
|
1426
1345
|
@radar_options = radar_options
|
1427
|
-
@rechnung = rechnung
|
1428
1346
|
@revolut_pay = revolut_pay
|
1429
1347
|
@samsung_pay = samsung_pay
|
1348
|
+
@satispay = satispay
|
1430
1349
|
@sepa_debit = sepa_debit
|
1431
|
-
@shopeepay = shopeepay
|
1432
1350
|
@sofort = sofort
|
1433
1351
|
@swish = swish
|
1434
1352
|
@twint = twint
|
@@ -53,15 +53,6 @@ module Stripe
|
|
53
53
|
@starting_after = starting_after
|
54
54
|
end
|
55
55
|
end
|
56
|
-
|
57
|
-
class RetrieveParams < Stripe::RequestParams
|
58
|
-
# Specifies which fields in the response should be expanded.
|
59
|
-
attr_accessor :expand
|
60
|
-
|
61
|
-
def initialize(expand: nil)
|
62
|
-
@expand = expand
|
63
|
-
end
|
64
|
-
end
|
65
56
|
# The default currency for this country. This applies to both payment methods and bank accounts.
|
66
57
|
attr_reader :default_currency
|
67
58
|
# Unique identifier for the object. Represented as the ISO country code for this country.
|
@@ -29,15 +29,6 @@ module Stripe
|
|
29
29
|
class DeleteParams < Stripe::RequestParams
|
30
30
|
end
|
31
31
|
|
32
|
-
class RetrieveParams < Stripe::RequestParams
|
33
|
-
# Specifies which fields in the response should be expanded.
|
34
|
-
attr_accessor :expand
|
35
|
-
|
36
|
-
def initialize(expand: nil)
|
37
|
-
@expand = expand
|
38
|
-
end
|
39
|
-
end
|
40
|
-
|
41
32
|
class UpdateParams < Stripe::RequestParams
|
42
33
|
class CurrencyOptions < Stripe::RequestParams
|
43
34
|
# A positive integer representing the amount to subtract from an invoice total.
|