stripe 13.4.0.pre.beta.1 → 13.4.0.pre.beta.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -1
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/resources/account.rb +23 -745
- data/lib/stripe/resources/account_link.rb +0 -10
- data/lib/stripe/resources/account_notice.rb +0 -22
- data/lib/stripe/resources/account_session.rb +0 -125
- data/lib/stripe/resources/apple_pay_domain.rb +0 -10
- data/lib/stripe/resources/application.rb +0 -3
- data/lib/stripe/resources/application_fee.rb +0 -24
- data/lib/stripe/resources/application_fee_refund.rb +0 -7
- data/lib/stripe/resources/apps/secret.rb +0 -25
- data/lib/stripe/resources/balance.rb +0 -31
- data/lib/stripe/resources/balance_transaction.rb +0 -29
- data/lib/stripe/resources/bank_account.rb +0 -29
- data/lib/stripe/resources/billing/alert.rb +0 -22
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -5
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -12
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -24
- data/lib/stripe/resources/billing/credit_grant.rb +0 -32
- data/lib/stripe/resources/billing/meter.rb +0 -25
- data/lib/stripe/resources/billing/meter_error_report.rb +0 -11
- data/lib/stripe/resources/billing/meter_event.rb +0 -10
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +0 -8
- data/lib/stripe/resources/billing/meter_event_summary.rb +0 -6
- data/lib/stripe/resources/billing_portal/configuration.rb +0 -77
- data/lib/stripe/resources/billing_portal/session.rb +0 -42
- data/lib/stripe/resources/capability.rb +2 -29
- data/lib/stripe/resources/capital/financing_offer.rb +0 -33
- data/lib/stripe/resources/capital/financing_summary.rb +0 -13
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -24
- data/lib/stripe/resources/card.rb +2 -34
- data/lib/stripe/resources/cash_balance.rb +0 -5
- data/lib/stripe/resources/charge.rb +4 -665
- data/lib/stripe/resources/checkout/session.rb +4 -512
- data/lib/stripe/resources/climate/order.rb +0 -40
- data/lib/stripe/resources/climate/product.rb +0 -13
- data/lib/stripe/resources/climate/supplier.rb +0 -13
- data/lib/stripe/resources/confirmation_token.rb +2 -337
- data/lib/stripe/resources/connect_collection_transfer.rb +0 -5
- data/lib/stripe/resources/country_spec.rb +0 -13
- data/lib/stripe/resources/coupon.rb +0 -39
- data/lib/stripe/resources/credit_note.rb +0 -138
- data/lib/stripe/resources/credit_note_line_item.rb +0 -24
- data/lib/stripe/resources/customer.rb +1 -156
- data/lib/stripe/resources/customer_balance_transaction.rb +0 -12
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -27
- data/lib/stripe/resources/customer_session.rb +0 -24
- data/lib/stripe/resources/discount.rb +0 -12
- data/lib/stripe/resources/dispute.rb +4 -152
- data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -8
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +0 -3
- data/lib/stripe/resources/entitlements/feature.rb +0 -17
- data/lib/stripe/resources/ephemeral_key.rb +0 -5
- data/lib/stripe/resources/event.rb +0 -27
- data/lib/stripe/resources/exchange_rate.rb +0 -5
- data/lib/stripe/resources/file.rb +0 -23
- data/lib/stripe/resources/file_link.rb +0 -22
- data/lib/stripe/resources/financial_connections/account.rb +0 -47
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -3
- data/lib/stripe/resources/financial_connections/account_owner.rb +0 -7
- data/lib/stripe/resources/financial_connections/account_ownership.rb +0 -3
- data/lib/stripe/resources/financial_connections/institution.rb +0 -13
- data/lib/stripe/resources/financial_connections/session.rb +0 -28
- data/lib/stripe/resources/financial_connections/transaction.rb +0 -21
- data/lib/stripe/resources/forwarding/request.rb +0 -31
- data/lib/stripe/resources/funding_instructions.rb +0 -107
- data/lib/stripe/resources/gift_cards/card.rb +0 -28
- data/lib/stripe/resources/gift_cards/transaction.rb +0 -32
- data/lib/stripe/resources/identity/verification_report.rb +0 -69
- data/lib/stripe/resources/identity/verification_session.rb +0 -69
- data/lib/stripe/resources/invoice.rb +6 -1276
- data/lib/stripe/resources/invoice_item.rb +0 -91
- data/lib/stripe/resources/invoice_line_item.rb +0 -76
- data/lib/stripe/resources/invoice_payment.rb +0 -16
- data/lib/stripe/resources/invoice_rendering_template.rb +0 -12
- data/lib/stripe/resources/issuing/authorization.rb +0 -199
- data/lib/stripe/resources/issuing/card.rb +0 -128
- data/lib/stripe/resources/issuing/cardholder.rb +0 -110
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -82
- data/lib/stripe/resources/issuing/dispute.rb +0 -151
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -14
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -14
- data/lib/stripe/resources/issuing/personalization_design.rb +0 -48
- data/lib/stripe/resources/issuing/physical_bundle.rb +0 -13
- data/lib/stripe/resources/issuing/settlement.rb +0 -16
- data/lib/stripe/resources/issuing/token.rb +0 -46
- data/lib/stripe/resources/issuing/transaction.rb +0 -171
- data/lib/stripe/resources/line_item.rb +0 -23
- data/lib/stripe/resources/login_link.rb +0 -2
- data/lib/stripe/resources/mandate.rb +0 -45
- data/lib/stripe/resources/margin.rb +0 -19
- data/lib/stripe/resources/order.rb +3 -391
- data/lib/stripe/resources/payment_attempt_record.rb +0 -42
- data/lib/stripe/resources/payment_intent.rb +2 -1768
- data/lib/stripe/resources/payment_link.rb +15 -213
- data/lib/stripe/resources/payment_method.rb +2 -345
- data/lib/stripe/resources/payment_method_configuration.rb +0 -293
- data/lib/stripe/resources/payment_method_domain.rb +0 -23
- data/lib/stripe/resources/payment_record.rb +0 -109
- data/lib/stripe/resources/payout.rb +0 -49
- data/lib/stripe/resources/person.rb +2 -92
- data/lib/stripe/resources/plan.rb +0 -69
- data/lib/stripe/resources/price.rb +0 -133
- data/lib/stripe/resources/product.rb +0 -100
- data/lib/stripe/resources/product_feature.rb +0 -4
- data/lib/stripe/resources/promotion_code.rb +0 -40
- data/lib/stripe/resources/quote.rb +0 -458
- data/lib/stripe/resources/quote_line.rb +0 -66
- data/lib/stripe/resources/quote_preview_invoice.rb +3 -184
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -101
- data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -16
- data/lib/stripe/resources/radar/value_list.rb +0 -26
- data/lib/stripe/resources/radar/value_list_item.rb +0 -18
- data/lib/stripe/resources/refund.rb +0 -92
- data/lib/stripe/resources/reporting/report_run.rb +0 -32
- data/lib/stripe/resources/reporting/report_type.rb +0 -8
- data/lib/stripe/resources/reserve_transaction.rb +0 -4
- data/lib/stripe/resources/reversal.rb +0 -9
- data/lib/stripe/resources/review.rb +0 -27
- data/lib/stripe/resources/setup_attempt.rb +2 -103
- data/lib/stripe/resources/setup_intent.rb +2 -539
- data/lib/stripe/resources/shipping_rate.rb +0 -44
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -13
- data/lib/stripe/resources/source.rb +6 -338
- data/lib/stripe/resources/source_mandate_notification.rb +0 -13
- data/lib/stripe/resources/source_transaction.rb +0 -29
- data/lib/stripe/resources/subscription.rb +0 -338
- data/lib/stripe/resources/subscription_item.rb +0 -69
- data/lib/stripe/resources/subscription_schedule.rb +0 -388
- data/lib/stripe/resources/tax/association.rb +0 -11
- data/lib/stripe/resources/tax/calculation.rb +2 -89
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -20
- data/lib/stripe/resources/tax/form.rb +2 -35
- data/lib/stripe/resources/tax/registration.rb +421 -213
- data/lib/stripe/resources/tax/settings.rb +0 -20
- data/lib/stripe/resources/tax/transaction.rb +1 -66
- data/lib/stripe/resources/tax/transaction_line_item.rb +0 -12
- data/lib/stripe/resources/tax_code.rb +0 -6
- data/lib/stripe/resources/tax_deducted_at_source.rb +0 -4
- data/lib/stripe/resources/tax_id.rb +2 -28
- data/lib/stripe/resources/tax_rate.rb +0 -45
- data/lib/stripe/resources/terminal/configuration.rb +0 -164
- data/lib/stripe/resources/terminal/connection_token.rb +0 -3
- data/lib/stripe/resources/terminal/location.rb +0 -33
- data/lib/stripe/resources/terminal/reader.rb +0 -129
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -5
- data/lib/stripe/resources/test_helpers/test_clock.rb +0 -15
- data/lib/stripe/resources/token.rb +4 -192
- data/lib/stripe/resources/topup.rb +0 -36
- data/lib/stripe/resources/transfer.rb +0 -35
- data/lib/stripe/resources/treasury/credit_reversal.rb +0 -21
- data/lib/stripe/resources/treasury/debit_reversal.rb +0 -23
- data/lib/stripe/resources/treasury/financial_account.rb +77 -71
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -46
- data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -50
- data/lib/stripe/resources/treasury/outbound_payment.rb +0 -92
- data/lib/stripe/resources/treasury/outbound_transfer.rb +25 -66
- data/lib/stripe/resources/treasury/received_credit.rb +6 -58
- data/lib/stripe/resources/treasury/received_debit.rb +0 -54
- data/lib/stripe/resources/treasury/transaction.rb +0 -39
- data/lib/stripe/resources/treasury/transaction_entry.rb +0 -36
- data/lib/stripe/resources/usage_record.rb +0 -5
- data/lib/stripe/resources/usage_record_summary.rb +0 -7
- data/lib/stripe/resources/v2/billing/meter_event.rb +0 -6
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +0 -7
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +0 -5
- data/lib/stripe/resources/v2/event.rb +0 -8
- data/lib/stripe/resources/v2/event_destination.rb +0 -19
- data/lib/stripe/resources/webhook_endpoint.rb +0 -26
- data/lib/stripe/services/account_capability_service.rb +0 -1
- data/lib/stripe/services/account_external_account_service.rb +0 -43
- data/lib/stripe/services/account_link_service.rb +0 -7
- data/lib/stripe/services/account_notice_service.rb +0 -9
- data/lib/stripe/services/account_person_service.rb +0 -139
- data/lib/stripe/services/account_service.rb +8 -519
- data/lib/stripe/services/account_session_service.rb +0 -76
- data/lib/stripe/services/apple_pay_domain_service.rb +0 -5
- data/lib/stripe/services/application_fee_refund_service.rb +0 -6
- data/lib/stripe/services/application_fee_service.rb +0 -8
- data/lib/stripe/services/apps/secret_service.rb +0 -16
- data/lib/stripe/services/balance_transaction_service.rb +0 -11
- data/lib/stripe/services/billing/alert_service.rb +0 -12
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +0 -4
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -5
- data/lib/stripe/services/billing/credit_grant_service.rb +0 -16
- data/lib/stripe/services/billing/meter_event_adjustment_service.rb +0 -3
- data/lib/stripe/services/billing/meter_event_service.rb +0 -4
- data/lib/stripe/services/billing/meter_event_summary_service.rb +0 -7
- data/lib/stripe/services/billing/meter_service.rb +0 -12
- data/lib/stripe/services/billing_portal/configuration_service.rb +0 -48
- data/lib/stripe/services/billing_portal/session_service.rb +0 -19
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -9
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -7
- data/lib/stripe/services/charge_service.rb +0 -274
- data/lib/stripe/services/checkout/session_line_item_service.rb +0 -3
- data/lib/stripe/services/checkout/session_service.rb +2 -273
- data/lib/stripe/services/climate/order_service.rb +0 -11
- data/lib/stripe/services/climate/product_service.rb +0 -3
- data/lib/stripe/services/climate/supplier_service.rb +0 -3
- data/lib/stripe/services/country_spec_service.rb +0 -3
- data/lib/stripe/services/coupon_service.rb +0 -22
- data/lib/stripe/services/credit_note_line_item_service.rb +0 -3
- data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -28
- data/lib/stripe/services/credit_note_service.rb +0 -61
- data/lib/stripe/services/customer_balance_transaction_service.rb +0 -9
- data/lib/stripe/services/customer_cash_balance_service.rb +0 -1
- data/lib/stripe/services/customer_cash_balance_transaction_service.rb +0 -3
- data/lib/stripe/services/customer_funding_instructions_service.rb +0 -5
- data/lib/stripe/services/customer_payment_method_service.rb +0 -5
- data/lib/stripe/services/customer_payment_source_service.rb +0 -29
- data/lib/stripe/services/customer_service.rb +1 -92
- data/lib/stripe/services/customer_session_service.rb +0 -10
- data/lib/stripe/services/customer_tax_id_service.rb +1 -6
- data/lib/stripe/services/dispute_service.rb +2 -67
- data/lib/stripe/services/entitlements/active_entitlement_service.rb +0 -4
- data/lib/stripe/services/entitlements/feature_service.rb +0 -11
- data/lib/stripe/services/ephemeral_key_service.rb +0 -4
- data/lib/stripe/services/event_service.rb +0 -10
- data/lib/stripe/services/exchange_rate_service.rb +0 -3
- data/lib/stripe/services/file_link_service.rb +0 -14
- data/lib/stripe/services/file_service.rb +0 -13
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -3
- data/lib/stripe/services/financial_connections/account_owner_service.rb +0 -4
- data/lib/stripe/services/financial_connections/account_service.rb +0 -9
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -3
- data/lib/stripe/services/financial_connections/session_service.rb +0 -11
- data/lib/stripe/services/financial_connections/transaction_service.rb +0 -9
- data/lib/stripe/services/forwarding/request_service.rb +0 -14
- data/lib/stripe/services/gift_cards/card_service.rb +0 -13
- data/lib/stripe/services/gift_cards/transaction_service.rb +0 -16
- data/lib/stripe/services/identity/verification_report_service.rb +0 -10
- data/lib/stripe/services/identity/verification_session_service.rb +0 -30
- data/lib/stripe/services/invoice_item_service.rb +0 -66
- data/lib/stripe/services/invoice_line_item_service.rb +0 -40
- data/lib/stripe/services/invoice_payment_service.rb +0 -3
- data/lib/stripe/services/invoice_rendering_template_service.rb +0 -5
- data/lib/stripe/services/invoice_service.rb +2 -810
- data/lib/stripe/services/invoice_upcoming_lines_service.rb +1 -279
- data/lib/stripe/services/issuing/authorization_service.rb +0 -14
- data/lib/stripe/services/issuing/card_service.rb +0 -70
- data/lib/stripe/services/issuing/cardholder_service.rb +0 -73
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -56
- data/lib/stripe/services/issuing/dispute_service.rb +0 -98
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -4
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -7
- data/lib/stripe/services/issuing/personalization_design_service.rb +0 -29
- data/lib/stripe/services/issuing/physical_bundle_service.rb +0 -5
- data/lib/stripe/services/issuing/token_service.rb +0 -10
- data/lib/stripe/services/issuing/transaction_service.rb +0 -12
- data/lib/stripe/services/margin_service.rb +0 -11
- data/lib/stripe/services/order_line_item_service.rb +0 -3
- data/lib/stripe/services/order_service.rb +2 -266
- data/lib/stripe/services/payment_attempt_record_service.rb +0 -1
- data/lib/stripe/services/payment_intent_service.rb +0 -1309
- data/lib/stripe/services/payment_link_line_item_service.rb +0 -3
- data/lib/stripe/services/payment_link_service.rb +15 -135
- data/lib/stripe/services/payment_method_configuration_service.rb +0 -102
- data/lib/stripe/services/payment_method_domain_service.rb +0 -8
- data/lib/stripe/services/payment_method_service.rb +0 -113
- data/lib/stripe/services/payment_record_service.rb +0 -68
- data/lib/stripe/services/payout_service.rb +0 -23
- data/lib/stripe/services/plan_service.rb +0 -43
- data/lib/stripe/services/price_service.rb +0 -87
- data/lib/stripe/services/product_feature_service.rb +0 -4
- data/lib/stripe/services/product_service.rb +0 -74
- data/lib/stripe/services/promotion_code_service.rb +0 -25
- data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +0 -3
- data/lib/stripe/services/quote_line_item_service.rb +0 -3
- data/lib/stripe/services/quote_line_service.rb +0 -3
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -3
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -3
- data/lib/stripe/services/quote_service.rb +0 -309
- data/lib/stripe/services/radar/early_fraud_warning_service.rb +0 -9
- data/lib/stripe/services/radar/value_list_item_service.rb +0 -11
- data/lib/stripe/services/radar/value_list_service.rb +0 -16
- data/lib/stripe/services/refund_service.rb +0 -21
- data/lib/stripe/services/reporting/report_run_service.rb +0 -16
- data/lib/stripe/services/review_service.rb +0 -7
- data/lib/stripe/services/setup_attempt_service.rb +0 -8
- data/lib/stripe/services/setup_intent_service.rb +0 -447
- data/lib/stripe/services/shipping_rate_service.rb +0 -27
- data/lib/stripe/services/sigma/scheduled_query_run_service.rb +0 -3
- data/lib/stripe/services/source_service.rb +0 -92
- data/lib/stripe/services/source_transaction_service.rb +0 -3
- data/lib/stripe/services/subscription_item_service.rb +0 -56
- data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -3
- data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -3
- data/lib/stripe/services/subscription_schedule_service.rb +0 -290
- data/lib/stripe/services/subscription_service.rb +0 -245
- data/lib/stripe/services/tax/association_service.rb +0 -1
- data/lib/stripe/services/tax/calculation_line_item_service.rb +0 -3
- data/lib/stripe/services/tax/calculation_service.rb +1 -31
- data/lib/stripe/services/tax/form_service.rb +0 -7
- data/lib/stripe/services/tax/registration_service.rb +274 -108
- data/lib/stripe/services/tax/settings_service.rb +0 -8
- data/lib/stripe/services/tax/transaction_line_item_service.rb +0 -3
- data/lib/stripe/services/tax/transaction_service.rb +0 -17
- data/lib/stripe/services/tax_code_service.rb +0 -3
- data/lib/stripe/services/tax_id_service.rb +1 -12
- data/lib/stripe/services/tax_rate_service.rb +0 -27
- data/lib/stripe/services/terminal/configuration_service.rb +0 -108
- data/lib/stripe/services/terminal/connection_token_service.rb +0 -1
- data/lib/stripe/services/terminal/location_service.rb +0 -21
- data/lib/stripe/services/terminal/reader_service.rb +0 -53
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +0 -89
- data/lib/stripe/services/test_helpers/customer_service.rb +0 -3
- data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +0 -99
- data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +0 -2
- data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +0 -91
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -4
- data/lib/stripe/services/test_helpers/test_clock_service.rb +0 -6
- data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +0 -1
- data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +0 -6
- data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +0 -6
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +0 -11
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +0 -11
- data/lib/stripe/services/token_service.rb +4 -184
- data/lib/stripe/services/topup_service.rb +0 -21
- data/lib/stripe/services/transfer_reversal_service.rb +0 -8
- data/lib/stripe/services/transfer_service.rb +0 -19
- data/lib/stripe/services/treasury/credit_reversal_service.rb +0 -8
- data/lib/stripe/services/treasury/debit_reversal_service.rb +0 -9
- data/lib/stripe/services/treasury/financial_account_features_service.rb +0 -10
- data/lib/stripe/services/treasury/financial_account_service.rb +64 -36
- data/lib/stripe/services/treasury/inbound_transfer_service.rb +0 -12
- data/lib/stripe/services/treasury/outbound_payment_service.rb +0 -38
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +16 -15
- data/lib/stripe/services/treasury/received_credit_service.rb +0 -6
- data/lib/stripe/services/treasury/received_debit_service.rb +0 -5
- data/lib/stripe/services/treasury/transaction_entry_service.rb +0 -14
- data/lib/stripe/services/treasury/transaction_service.rb +0 -14
- data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +0 -2
- data/lib/stripe/services/v2/billing/meter_event_service.rb +0 -3
- data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +0 -3
- data/lib/stripe/services/v2/core/event_destination_service.rb +0 -18
- data/lib/stripe/services/v2/core/event_service.rb +0 -2
- data/lib/stripe/services/webhook_endpoint_service.rb +0 -14
- data/lib/stripe/stripe_client.rb +1 -1
- data/lib/stripe/stripe_object.rb +3 -3
- data/lib/stripe/util.rb +1 -1
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe/resources/account.rbi +29 -1001
- data/rbi/stripe/resources/account_link.rbi +0 -13
- data/rbi/stripe/resources/account_notice.rbi +0 -27
- data/rbi/stripe/resources/account_session.rbi +0 -166
- data/rbi/stripe/resources/apple_pay_domain.rbi +0 -14
- data/rbi/stripe/resources/application.rbi +0 -3
- data/rbi/stripe/resources/application_fee.rbi +0 -28
- data/rbi/stripe/resources/application_fee_refund.rbi +0 -7
- data/rbi/stripe/resources/apps/secret.rbi +0 -34
- data/rbi/stripe/resources/balance.rbi +0 -33
- data/rbi/stripe/resources/balance_transaction.rbi +0 -33
- data/rbi/stripe/resources/bank_account.rbi +0 -29
- data/rbi/stripe/resources/billing/alert.rbi +0 -31
- data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -5
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -16
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -27
- data/rbi/stripe/resources/billing/credit_grant.rbi +0 -43
- data/rbi/stripe/resources/billing/meter.rbi +0 -35
- data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -11
- data/rbi/stripe/resources/billing/meter_event.rbi +0 -12
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -11
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -6
- data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -106
- data/rbi/stripe/resources/billing_portal/session.rbi +0 -55
- data/rbi/stripe/resources/capability.rbi +2 -29
- data/rbi/stripe/resources/capital/financing_offer.rbi +0 -38
- data/rbi/stripe/resources/capital/financing_summary.rbi +0 -15
- data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -27
- data/rbi/stripe/resources/card.rbi +3 -34
- data/rbi/stripe/resources/cash_balance.rbi +0 -5
- data/rbi/stripe/resources/charge.rbi +6 -738
- data/rbi/stripe/resources/checkout/session.rbi +4 -636
- data/rbi/stripe/resources/climate/order.rbi +0 -48
- data/rbi/stripe/resources/climate/product.rbi +0 -16
- data/rbi/stripe/resources/climate/supplier.rbi +0 -16
- data/rbi/stripe/resources/confirmation_token.rbi +3 -364
- data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -5
- data/rbi/stripe/resources/country_spec.rbi +0 -16
- data/rbi/stripe/resources/coupon.rbi +0 -48
- data/rbi/stripe/resources/credit_note.rbi +0 -159
- data/rbi/stripe/resources/credit_note_line_item.rbi +0 -24
- data/rbi/stripe/resources/customer.rbi +1 -188
- data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -12
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -27
- data/rbi/stripe/resources/customer_session.rbi +0 -31
- data/rbi/stripe/resources/discount.rbi +0 -12
- data/rbi/stripe/resources/dispute.rbi +4 -166
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -11
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -3
- data/rbi/stripe/resources/entitlements/feature.rbi +0 -22
- data/rbi/stripe/resources/ephemeral_key.rbi +0 -7
- data/rbi/stripe/resources/event.rbi +0 -31
- data/rbi/stripe/resources/exchange_rate.rbi +0 -8
- data/rbi/stripe/resources/file.rbi +0 -29
- data/rbi/stripe/resources/file_link.rbi +0 -28
- data/rbi/stripe/resources/financial_connections/account.rbi +0 -56
- data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -3
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -7
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -3
- data/rbi/stripe/resources/financial_connections/institution.rbi +0 -16
- data/rbi/stripe/resources/financial_connections/session.rbi +0 -35
- data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -26
- data/rbi/stripe/resources/forwarding/request.rbi +0 -38
- data/rbi/stripe/resources/funding_instructions.rbi +0 -107
- data/rbi/stripe/resources/gift_cards/card.rbi +0 -36
- data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -41
- data/rbi/stripe/resources/identity/verification_report.rbi +0 -73
- data/rbi/stripe/resources/identity/verification_session.rbi +0 -83
- data/rbi/stripe/resources/invoice.rbi +7 -1663
- data/rbi/stripe/resources/invoice_item.rbi +0 -107
- data/rbi/stripe/resources/invoice_line_item.rbi +0 -86
- data/rbi/stripe/resources/invoice_payment.rbi +0 -16
- data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -17
- data/rbi/stripe/resources/issuing/authorization.rbi +0 -245
- data/rbi/stripe/resources/issuing/card.rbi +0 -153
- data/rbi/stripe/resources/issuing/cardholder.rbi +0 -138
- data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -109
- data/rbi/stripe/resources/issuing/dispute.rbi +0 -177
- data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -17
- data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -18
- data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -62
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -16
- data/rbi/stripe/resources/issuing/settlement.rbi +0 -16
- data/rbi/stripe/resources/issuing/token.rbi +0 -51
- data/rbi/stripe/resources/issuing/transaction.rbi +0 -205
- data/rbi/stripe/resources/line_item.rbi +0 -23
- data/rbi/stripe/resources/login_link.rbi +0 -2
- data/rbi/stripe/resources/mandate.rbi +0 -47
- data/rbi/stripe/resources/margin.rbi +0 -24
- data/rbi/stripe/resources/order.rbi +3 -492
- data/rbi/stripe/resources/payment_attempt_record.rbi +0 -45
- data/rbi/stripe/resources/payment_intent.rbi +3 -2224
- data/rbi/stripe/resources/payment_link.rbi +14 -291
- data/rbi/stripe/resources/payment_method.rbi +3 -382
- data/rbi/stripe/resources/payment_method_configuration.rbi +0 -486
- data/rbi/stripe/resources/payment_method_domain.rbi +0 -29
- data/rbi/stripe/resources/payment_record.rbi +0 -134
- data/rbi/stripe/resources/payout.rbi +0 -58
- data/rbi/stripe/resources/person.rbi +2 -92
- data/rbi/stripe/resources/plan.rbi +0 -78
- data/rbi/stripe/resources/price.rbi +0 -153
- data/rbi/stripe/resources/product.rbi +0 -120
- data/rbi/stripe/resources/product_feature.rbi +0 -4
- data/rbi/stripe/resources/promotion_code.rbi +0 -50
- data/rbi/stripe/resources/quote.rbi +0 -593
- data/rbi/stripe/resources/quote_line.rbi +0 -66
- data/rbi/stripe/resources/quote_preview_invoice.rbi +4 -184
- data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -101
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -20
- data/rbi/stripe/resources/radar/value_list.rbi +0 -32
- data/rbi/stripe/resources/radar/value_list_item.rbi +0 -23
- data/rbi/stripe/resources/refund.rbi +0 -100
- data/rbi/stripe/resources/reporting/report_run.rbi +0 -38
- data/rbi/stripe/resources/reporting/report_type.rbi +0 -11
- data/rbi/stripe/resources/reserve_transaction.rbi +0 -4
- data/rbi/stripe/resources/reversal.rbi +0 -9
- data/rbi/stripe/resources/review.rbi +0 -32
- data/rbi/stripe/resources/setup_attempt.rbi +3 -106
- data/rbi/stripe/resources/setup_intent.rbi +3 -688
- data/rbi/stripe/resources/shipping_rate.rbi +0 -57
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -16
- data/rbi/stripe/resources/source.rbi +9 -365
- data/rbi/stripe/resources/source_mandate_notification.rbi +0 -13
- data/rbi/stripe/resources/source_transaction.rbi +0 -29
- data/rbi/stripe/resources/subscription.rbi +0 -431
- data/rbi/stripe/resources/subscription_item.rbi +0 -88
- data/rbi/stripe/resources/subscription_schedule.rbi +0 -504
- data/rbi/stripe/resources/tax/association.rbi +0 -13
- data/rbi/stripe/resources/tax/calculation.rbi +2 -100
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -20
- data/rbi/stripe/resources/tax/form.rbi +2 -40
- data/rbi/stripe/resources/tax/registration.rbi +401 -317
- data/rbi/stripe/resources/tax/settings.rbi +0 -26
- data/rbi/stripe/resources/tax/transaction.rbi +1 -73
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -12
- data/rbi/stripe/resources/tax_code.rbi +0 -9
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -4
- data/rbi/stripe/resources/tax_id.rbi +2 -34
- data/rbi/stripe/resources/tax_rate.rbi +0 -51
- data/rbi/stripe/resources/terminal/configuration.rbi +0 -211
- data/rbi/stripe/resources/terminal/connection_token.rbi +0 -5
- data/rbi/stripe/resources/terminal/location.rbi +0 -40
- data/rbi/stripe/resources/terminal/reader.rbi +0 -158
- data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -7
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -20
- data/rbi/stripe/resources/token.rbi +5 -235
- data/rbi/stripe/resources/topup.rbi +0 -44
- data/rbi/stripe/resources/transfer.rbi +0 -41
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -25
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -27
- data/rbi/stripe/resources/treasury/financial_account.rbi +70 -124
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -46
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -59
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -113
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +28 -84
- data/rbi/stripe/resources/treasury/received_credit.rbi +7 -67
- data/rbi/stripe/resources/treasury/received_debit.rbi +0 -62
- data/rbi/stripe/resources/treasury/transaction.rbi +0 -45
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -41
- data/rbi/stripe/resources/usage_record.rbi +0 -5
- data/rbi/stripe/resources/usage_record_summary.rbi +0 -7
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -6
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -7
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -5
- data/rbi/stripe/resources/v2/event.rbi +0 -8
- data/rbi/stripe/resources/v2/event_destination.rbi +0 -19
- data/rbi/stripe/resources/webhook_endpoint.rbi +0 -31
- data/rbi/stripe/services/account_capability_service.rbi +0 -4
- data/rbi/stripe/services/account_external_account_service.rbi +0 -52
- data/rbi/stripe/services/account_link_service.rbi +0 -9
- data/rbi/stripe/services/account_login_link_service.rbi +0 -1
- data/rbi/stripe/services/account_notice_service.rbi +0 -13
- data/rbi/stripe/services/account_person_service.rbi +0 -174
- data/rbi/stripe/services/account_service.rbi +10 -773
- data/rbi/stripe/services/account_session_service.rbi +0 -116
- data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -8
- data/rbi/stripe/services/application_fee_refund_service.rbi +0 -10
- data/rbi/stripe/services/application_fee_service.rbi +0 -11
- data/rbi/stripe/services/apps/secret_service.rbi +0 -24
- data/rbi/stripe/services/balance_service.rbi +0 -1
- data/rbi/stripe/services/balance_transaction_service.rbi +0 -14
- data/rbi/stripe/services/billing/alert_service.rbi +0 -20
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -7
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -7
- data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -26
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -5
- data/rbi/stripe/services/billing/meter_event_service.rbi +0 -5
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -8
- data/rbi/stripe/services/billing/meter_service.rbi +0 -21
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -76
- data/rbi/stripe/services/billing_portal/session_service.rbi +0 -31
- data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -13
- data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -1
- data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -9
- data/rbi/stripe/services/charge_service.rbi +0 -346
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -4
- data/rbi/stripe/services/checkout/session_service.rbi +2 -395
- data/rbi/stripe/services/climate/order_service.rbi +0 -18
- data/rbi/stripe/services/climate/product_service.rbi +0 -5
- data/rbi/stripe/services/climate/supplier_service.rbi +0 -5
- data/rbi/stripe/services/confirmation_token_service.rbi +0 -1
- data/rbi/stripe/services/country_spec_service.rbi +0 -5
- data/rbi/stripe/services/coupon_service.rbi +0 -30
- data/rbi/stripe/services/credit_note_line_item_service.rbi +0 -4
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -33
- data/rbi/stripe/services/credit_note_service.rbi +0 -76
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -13
- data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -4
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -5
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -8
- data/rbi/stripe/services/customer_payment_method_service.rbi +0 -7
- data/rbi/stripe/services/customer_payment_source_service.rbi +0 -37
- data/rbi/stripe/services/customer_service.rbi +1 -117
- data/rbi/stripe/services/customer_session_service.rbi +0 -16
- data/rbi/stripe/services/customer_tax_id_service.rbi +1 -9
- data/rbi/stripe/services/dispute_service.rbi +2 -80
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -6
- data/rbi/stripe/services/entitlements/feature_service.rbi +0 -15
- data/rbi/stripe/services/ephemeral_key_service.rbi +0 -6
- data/rbi/stripe/services/event_service.rbi +0 -13
- data/rbi/stripe/services/exchange_rate_service.rbi +0 -5
- data/rbi/stripe/services/file_link_service.rbi +0 -19
- data/rbi/stripe/services/file_service.rbi +0 -18
- data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -4
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -5
- data/rbi/stripe/services/financial_connections/account_service.rbi +0 -16
- data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -5
- data/rbi/stripe/services/financial_connections/session_service.rbi +0 -17
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -13
- data/rbi/stripe/services/forwarding/request_service.rbi +0 -20
- data/rbi/stripe/services/gift_cards/card_service.rbi +0 -20
- data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -24
- data/rbi/stripe/services/identity/verification_report_service.rbi +0 -13
- data/rbi/stripe/services/identity/verification_session_service.rbi +0 -43
- data/rbi/stripe/services/invoice_item_service.rbi +0 -81
- data/rbi/stripe/services/invoice_line_item_service.rbi +0 -50
- data/rbi/stripe/services/invoice_payment_service.rbi +0 -5
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -9
- data/rbi/stripe/services/invoice_service.rbi +2 -1100
- data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +1 -375
- data/rbi/stripe/services/issuing/authorization_service.rbi +0 -20
- data/rbi/stripe/services/issuing/card_service.rbi +0 -89
- data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -100
- data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -82
- data/rbi/stripe/services/issuing/dispute_service.rbi +0 -123
- data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -6
- data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -10
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -38
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -7
- data/rbi/stripe/services/issuing/token_service.rbi +0 -14
- data/rbi/stripe/services/issuing/transaction_service.rbi +0 -16
- data/rbi/stripe/services/mandate_service.rbi +0 -1
- data/rbi/stripe/services/margin_service.rbi +0 -15
- data/rbi/stripe/services/order_line_item_service.rbi +0 -4
- data/rbi/stripe/services/order_service.rbi +2 -365
- data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -3
- data/rbi/stripe/services/payment_intent_service.rbi +0 -1764
- data/rbi/stripe/services/payment_link_line_item_service.rbi +0 -4
- data/rbi/stripe/services/payment_link_service.rbi +14 -211
- data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -294
- data/rbi/stripe/services/payment_method_domain_service.rbi +0 -13
- data/rbi/stripe/services/payment_method_service.rbi +0 -149
- data/rbi/stripe/services/payment_record_service.rbi +0 -92
- data/rbi/stripe/services/payout_service.rbi +0 -31
- data/rbi/stripe/services/plan_service.rbi +0 -51
- data/rbi/stripe/services/price_service.rbi +0 -106
- data/rbi/stripe/services/product_feature_service.rbi +0 -7
- data/rbi/stripe/services/product_service.rbi +0 -93
- data/rbi/stripe/services/promotion_code_service.rbi +0 -34
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -4
- data/rbi/stripe/services/quote_line_item_service.rbi +0 -4
- data/rbi/stripe/services/quote_line_service.rbi +0 -4
- data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -4
- data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -4
- data/rbi/stripe/services/quote_service.rbi +0 -440
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -12
- data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -15
- data/rbi/stripe/services/radar/value_list_service.rbi +0 -21
- data/rbi/stripe/services/refund_service.rbi +0 -27
- data/rbi/stripe/services/reporting/report_run_service.rbi +0 -21
- data/rbi/stripe/services/reporting/report_type_service.rbi +0 -2
- data/rbi/stripe/services/review_service.rbi +0 -11
- data/rbi/stripe/services/setup_attempt_service.rbi +0 -10
- data/rbi/stripe/services/setup_intent_service.rbi +0 -595
- data/rbi/stripe/services/shipping_rate_service.rbi +0 -39
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -5
- data/rbi/stripe/services/source_service.rbi +0 -119
- data/rbi/stripe/services/source_transaction_service.rbi +0 -4
- data/rbi/stripe/services/subscription_item_service.rbi +0 -74
- data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -4
- data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -4
- data/rbi/stripe/services/subscription_schedule_service.rbi +0 -405
- data/rbi/stripe/services/subscription_service.rbi +0 -337
- data/rbi/stripe/services/tax/association_service.rbi +0 -2
- data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -4
- data/rbi/stripe/services/tax/calculation_service.rbi +1 -40
- data/rbi/stripe/services/tax/form_service.rbi +0 -11
- data/rbi/stripe/services/tax/registration_service.rbi +233 -211
- data/rbi/stripe/services/tax/settings_service.rbi +0 -13
- data/rbi/stripe/services/tax/transaction_line_item_service.rbi +0 -4
- data/rbi/stripe/services/tax/transaction_service.rbi +0 -22
- data/rbi/stripe/services/tax_code_service.rbi +0 -5
- data/rbi/stripe/services/tax_id_service.rbi +1 -17
- data/rbi/stripe/services/tax_rate_service.rbi +0 -32
- data/rbi/stripe/services/terminal/configuration_service.rbi +0 -154
- data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -2
- data/rbi/stripe/services/terminal/location_service.rbi +0 -27
- data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -1
- data/rbi/stripe/services/terminal/reader_service.rbi +0 -78
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -114
- data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -4
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -138
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -5
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -6
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -120
- data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -1
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -7
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -10
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -5
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -14
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -14
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -16
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -16
- data/rbi/stripe/services/token_service.rbi +5 -226
- data/rbi/stripe/services/topup_service.rbi +0 -28
- data/rbi/stripe/services/transfer_reversal_service.rbi +0 -12
- data/rbi/stripe/services/transfer_service.rbi +0 -24
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -11
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -12
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -25
- data/rbi/stripe/services/treasury/financial_account_service.rbi +62 -73
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -16
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -50
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +17 -24
- data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -9
- data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -7
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -18
- data/rbi/stripe/services/treasury/transaction_service.rbi +0 -19
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -4
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -4
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -5
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -25
- data/rbi/stripe/services/v2/core/event_service.rbi +0 -3
- data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -18
- metadata +2 -2
@@ -10,23 +10,18 @@ module Stripe
|
|
10
10
|
# City, district, suburb, town, or village.
|
11
11
|
sig { returns(T.nilable(String)) }
|
12
12
|
attr_reader :city
|
13
|
-
|
14
13
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
15
14
|
sig { returns(T.nilable(String)) }
|
16
15
|
attr_reader :country
|
17
|
-
|
18
16
|
# Address line 1 (e.g., street, PO Box, or company name).
|
19
17
|
sig { returns(T.nilable(String)) }
|
20
18
|
attr_reader :line1
|
21
|
-
|
22
19
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
23
20
|
sig { returns(T.nilable(String)) }
|
24
21
|
attr_reader :line2
|
25
|
-
|
26
22
|
# ZIP or postal code.
|
27
23
|
sig { returns(T.nilable(String)) }
|
28
24
|
attr_reader :postal_code
|
29
|
-
|
30
25
|
# State, county, province, or region.
|
31
26
|
sig { returns(T.nilable(String)) }
|
32
27
|
attr_reader :state
|
@@ -36,7 +31,6 @@ module Stripe
|
|
36
31
|
# The name of the custom field.
|
37
32
|
sig { returns(String) }
|
38
33
|
attr_reader :name
|
39
|
-
|
40
34
|
# The value of the custom field.
|
41
35
|
sig { returns(String) }
|
42
36
|
attr_reader :value
|
@@ -45,7 +39,6 @@ module Stripe
|
|
45
39
|
# How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.
|
46
40
|
sig { returns(T.nilable(String)) }
|
47
41
|
attr_reader :amount_tax_display
|
48
|
-
|
49
42
|
# ID of the invoice rendering template to be used for this customer's invoices. If set, the template will be used on all invoices for this customer unless a template is set directly on the invoice.
|
50
43
|
sig { returns(T.nilable(String)) }
|
51
44
|
attr_reader :template
|
@@ -53,15 +46,12 @@ module Stripe
|
|
53
46
|
# Default custom fields to be displayed on invoices for this customer.
|
54
47
|
sig { returns(T.nilable(T::Array[CustomField])) }
|
55
48
|
attr_reader :custom_fields
|
56
|
-
|
57
49
|
# ID of a payment method that's attached to the customer, to be used as the customer's default payment method for subscriptions and invoices.
|
58
50
|
sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) }
|
59
51
|
attr_reader :default_payment_method
|
60
|
-
|
61
52
|
# Default footer to be displayed on invoices for this customer.
|
62
53
|
sig { returns(T.nilable(String)) }
|
63
54
|
attr_reader :footer
|
64
|
-
|
65
55
|
# Default options for invoice PDF rendering for this customer.
|
66
56
|
sig { returns(T.nilable(RenderingOptions)) }
|
67
57
|
attr_reader :rendering_options
|
@@ -71,23 +61,18 @@ module Stripe
|
|
71
61
|
# City, district, suburb, town, or village.
|
72
62
|
sig { returns(T.nilable(String)) }
|
73
63
|
attr_reader :city
|
74
|
-
|
75
64
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
76
65
|
sig { returns(T.nilable(String)) }
|
77
66
|
attr_reader :country
|
78
|
-
|
79
67
|
# Address line 1 (e.g., street, PO Box, or company name).
|
80
68
|
sig { returns(T.nilable(String)) }
|
81
69
|
attr_reader :line1
|
82
|
-
|
83
70
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
84
71
|
sig { returns(T.nilable(String)) }
|
85
72
|
attr_reader :line2
|
86
|
-
|
87
73
|
# ZIP or postal code.
|
88
74
|
sig { returns(T.nilable(String)) }
|
89
75
|
attr_reader :postal_code
|
90
|
-
|
91
76
|
# State, county, province, or region.
|
92
77
|
sig { returns(T.nilable(String)) }
|
93
78
|
attr_reader :state
|
@@ -95,19 +80,15 @@ module Stripe
|
|
95
80
|
# Attribute for field address
|
96
81
|
sig { returns(Address) }
|
97
82
|
attr_reader :address
|
98
|
-
|
99
83
|
# The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
|
100
84
|
sig { returns(T.nilable(String)) }
|
101
85
|
attr_reader :carrier
|
102
|
-
|
103
86
|
# Recipient name.
|
104
87
|
sig { returns(String) }
|
105
88
|
attr_reader :name
|
106
|
-
|
107
89
|
# Recipient phone (including extension).
|
108
90
|
sig { returns(T.nilable(String)) }
|
109
91
|
attr_reader :phone
|
110
|
-
|
111
92
|
# The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
|
112
93
|
sig { returns(T.nilable(String)) }
|
113
94
|
attr_reader :tracking_number
|
@@ -117,11 +98,9 @@ module Stripe
|
|
117
98
|
# The customer's country as identified by Stripe Tax.
|
118
99
|
sig { returns(String) }
|
119
100
|
attr_reader :country
|
120
|
-
|
121
101
|
# The data source used to infer the customer's location.
|
122
102
|
sig { returns(String) }
|
123
103
|
attr_reader :source
|
124
|
-
|
125
104
|
# The customer's state, county, province, or region as identified by Stripe Tax.
|
126
105
|
sig { returns(T.nilable(String)) }
|
127
106
|
attr_reader :state
|
@@ -129,11 +108,9 @@ module Stripe
|
|
129
108
|
# Surfaces if automatic tax computation is possible given the current customer location information.
|
130
109
|
sig { returns(String) }
|
131
110
|
attr_reader :automatic_tax
|
132
|
-
|
133
111
|
# A recent IP address of the customer used for tax reporting and tax location inference.
|
134
112
|
sig { returns(T.nilable(String)) }
|
135
113
|
attr_reader :ip_address
|
136
|
-
|
137
114
|
# The customer's location as identified by Stripe Tax.
|
138
115
|
sig { returns(T.nilable(Location)) }
|
139
116
|
attr_reader :location
|
@@ -141,23 +118,18 @@ module Stripe
|
|
141
118
|
# The customer's address.
|
142
119
|
sig { returns(T.nilable(Address)) }
|
143
120
|
attr_reader :address
|
144
|
-
|
145
121
|
# The current balance, if any, that's stored on the customer. If negative, the customer has credit to apply to their next invoice. If positive, the customer has an amount owed that's added to their next invoice. The balance only considers amounts that Stripe hasn't successfully applied to any invoice. It doesn't reflect unpaid invoices. This balance is only taken into account after invoices finalize.
|
146
122
|
sig { returns(Integer) }
|
147
123
|
attr_reader :balance
|
148
|
-
|
149
124
|
# The current funds being held by Stripe on behalf of the customer. You can apply these funds towards payment intents when the source is "cash_balance". The `settings[reconciliation_mode]` field describes if these funds apply to these payment intents manually or automatically.
|
150
125
|
sig { returns(T.nilable(Stripe::CashBalance)) }
|
151
126
|
attr_reader :cash_balance
|
152
|
-
|
153
127
|
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
154
128
|
sig { returns(Integer) }
|
155
129
|
attr_reader :created
|
156
|
-
|
157
130
|
# Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) the customer can be charged in for recurring billing purposes.
|
158
131
|
sig { returns(T.nilable(String)) }
|
159
132
|
attr_reader :currency
|
160
|
-
|
161
133
|
# ID of the default payment source for the customer.
|
162
134
|
#
|
163
135
|
# If you use payment methods created through the PaymentMethods API, see the [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) field instead.
|
@@ -165,7 +137,6 @@ module Stripe
|
|
165
137
|
returns(T.nilable(T.any(String, T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source))))
|
166
138
|
}
|
167
139
|
attr_reader :default_source
|
168
|
-
|
169
140
|
# Tracks the most recent state change on any invoice belonging to the customer. Paying an invoice or marking it uncollectible via the API will set this field to false. An automatic payment failure or passing the `invoice.due_date` will set this field to `true`.
|
170
141
|
#
|
171
142
|
# If an invoice becomes uncollectible by [dunning](https://stripe.com/docs/billing/automatic-collection), `delinquent` doesn't reset to `false`.
|
@@ -173,95 +144,72 @@ module Stripe
|
|
173
144
|
# If you care whether the customer has paid their most recent subscription invoice, use `subscription.status` instead. Paying or marking uncollectible any customer invoice regardless of whether it is the latest invoice for a subscription will always set this field to `false`.
|
174
145
|
sig { returns(T.nilable(T::Boolean)) }
|
175
146
|
attr_reader :delinquent
|
176
|
-
|
177
147
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
178
148
|
sig { returns(T.nilable(String)) }
|
179
149
|
attr_reader :description
|
180
|
-
|
181
150
|
# Describes the current discount active on the customer, if there is one.
|
182
151
|
sig { returns(T.nilable(Stripe::Discount)) }
|
183
152
|
attr_reader :discount
|
184
|
-
|
185
153
|
# The customer's email address.
|
186
154
|
sig { returns(T.nilable(String)) }
|
187
155
|
attr_reader :email
|
188
|
-
|
189
156
|
# Unique identifier for the object.
|
190
157
|
sig { returns(String) }
|
191
158
|
attr_reader :id
|
192
|
-
|
193
159
|
# The current multi-currency balances, if any, that's stored on the customer. If positive in a currency, the customer has a credit to apply to their next invoice denominated in that currency. If negative, the customer has an amount owed that's added to their next invoice denominated in that currency. These balances don't apply to unpaid invoices. They solely track amounts that Stripe hasn't successfully applied to any invoice. Stripe only applies a balance in a specific currency to an invoice after that invoice (which is in the same currency) finalizes.
|
194
160
|
sig { returns(T::Hash[String, Integer]) }
|
195
161
|
attr_reader :invoice_credit_balance
|
196
|
-
|
197
162
|
# The prefix for the customer used to generate unique invoice numbers.
|
198
163
|
sig { returns(T.nilable(String)) }
|
199
164
|
attr_reader :invoice_prefix
|
200
|
-
|
201
165
|
# Attribute for field invoice_settings
|
202
166
|
sig { returns(InvoiceSettings) }
|
203
167
|
attr_reader :invoice_settings
|
204
|
-
|
205
168
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
206
169
|
sig { returns(T::Boolean) }
|
207
170
|
attr_reader :livemode
|
208
|
-
|
209
171
|
# 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.
|
210
172
|
sig { returns(T::Hash[String, String]) }
|
211
173
|
attr_reader :metadata
|
212
|
-
|
213
174
|
# The customer's full name or business name.
|
214
175
|
sig { returns(T.nilable(String)) }
|
215
176
|
attr_reader :name
|
216
|
-
|
217
177
|
# The suffix of the customer's next invoice number (for example, 0001). When the account uses account level sequencing, this parameter is ignored in API requests and the field omitted in API responses.
|
218
178
|
sig { returns(Integer) }
|
219
179
|
attr_reader :next_invoice_sequence
|
220
|
-
|
221
180
|
# String representing the object's type. Objects of the same type share the same value.
|
222
181
|
sig { returns(String) }
|
223
182
|
attr_reader :object
|
224
|
-
|
225
183
|
# The customer's phone number.
|
226
184
|
sig { returns(T.nilable(String)) }
|
227
185
|
attr_reader :phone
|
228
|
-
|
229
186
|
# The customer's preferred locales (languages), ordered by preference.
|
230
187
|
sig { returns(T.nilable(T::Array[String])) }
|
231
188
|
attr_reader :preferred_locales
|
232
|
-
|
233
189
|
# Mailing and shipping address for the customer. Appears on invoices emailed to this customer.
|
234
190
|
sig { returns(T.nilable(Shipping)) }
|
235
191
|
attr_reader :shipping
|
236
|
-
|
237
192
|
# The customer's payment sources, if any.
|
238
193
|
sig { returns(Stripe::ListObject) }
|
239
194
|
attr_reader :sources
|
240
|
-
|
241
195
|
# The customer's current subscriptions, if any.
|
242
196
|
sig { returns(Stripe::ListObject) }
|
243
197
|
attr_reader :subscriptions
|
244
|
-
|
245
198
|
# Attribute for field tax
|
246
199
|
sig { returns(Tax) }
|
247
200
|
attr_reader :tax
|
248
|
-
|
249
201
|
# Describes the customer's tax exemption status, which is `none`, `exempt`, or `reverse`. When set to `reverse`, invoice and receipt PDFs include the following text: **"Reverse charge"**.
|
250
202
|
sig { returns(T.nilable(String)) }
|
251
203
|
attr_reader :tax_exempt
|
252
|
-
|
253
204
|
# The customer's tax IDs.
|
254
205
|
sig { returns(Stripe::ListObject) }
|
255
206
|
attr_reader :tax_ids
|
256
|
-
|
257
207
|
# ID of the test clock that this customer belongs to.
|
258
208
|
sig { returns(T.nilable(T.any(String, Stripe::TestHelpers::TestClock))) }
|
259
209
|
attr_reader :test_clock
|
260
|
-
|
261
210
|
# Always true for a deleted object
|
262
211
|
sig { returns(T::Boolean) }
|
263
212
|
attr_reader :deleted
|
264
|
-
|
265
213
|
class DeleteParams < Stripe::RequestParams
|
266
214
|
|
267
215
|
end
|
@@ -269,7 +217,6 @@ module Stripe
|
|
269
217
|
# Specifies which fields in the response should be expanded.
|
270
218
|
sig { returns(T::Array[String]) }
|
271
219
|
attr_accessor :expand
|
272
|
-
|
273
220
|
sig { params(expand: T::Array[String]).void }
|
274
221
|
def initialize(expand: nil); end
|
275
222
|
end
|
@@ -278,27 +225,21 @@ module Stripe
|
|
278
225
|
# City, district, suburb, town, or village.
|
279
226
|
sig { returns(String) }
|
280
227
|
attr_accessor :city
|
281
|
-
|
282
228
|
# A freeform text field for the country. However, in order to activate some tax features, the format should be a two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
283
229
|
sig { returns(String) }
|
284
230
|
attr_accessor :country
|
285
|
-
|
286
231
|
# Address line 1 (e.g., street, PO Box, or company name).
|
287
232
|
sig { returns(String) }
|
288
233
|
attr_accessor :line1
|
289
|
-
|
290
234
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
291
235
|
sig { returns(String) }
|
292
236
|
attr_accessor :line2
|
293
|
-
|
294
237
|
# ZIP or postal code.
|
295
238
|
sig { returns(String) }
|
296
239
|
attr_accessor :postal_code
|
297
|
-
|
298
240
|
# State, county, province, or region.
|
299
241
|
sig { returns(String) }
|
300
242
|
attr_accessor :state
|
301
|
-
|
302
243
|
sig {
|
303
244
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
304
245
|
}
|
@@ -316,7 +257,6 @@ module Stripe
|
|
316
257
|
# Controls how funds transferred by the customer are applied to payment intents and invoices. Valid options are `automatic`, `manual`, or `merchant_default`. For more information about these reconciliation modes, see [Reconciliation](https://stripe.com/docs/payments/customer-balance/reconciliation).
|
317
258
|
sig { returns(String) }
|
318
259
|
attr_accessor :reconciliation_mode
|
319
|
-
|
320
260
|
sig { params(reconciliation_mode: String).void }
|
321
261
|
def initialize(reconciliation_mode: nil); end
|
322
262
|
end
|
@@ -324,7 +264,6 @@ module Stripe
|
|
324
264
|
# such as reconciliation of funds received.
|
325
265
|
sig { returns(::Stripe::Customer::UpdateParams::CashBalance::Settings) }
|
326
266
|
attr_accessor :settings
|
327
|
-
|
328
267
|
sig { params(settings: ::Stripe::Customer::UpdateParams::CashBalance::Settings).void }
|
329
268
|
def initialize(settings: nil); end
|
330
269
|
end
|
@@ -333,11 +272,9 @@ module Stripe
|
|
333
272
|
# The name of the custom field. This may be up to 40 characters.
|
334
273
|
sig { returns(String) }
|
335
274
|
attr_accessor :name
|
336
|
-
|
337
275
|
# The value of the custom field. This may be up to 140 characters.
|
338
276
|
sig { returns(String) }
|
339
277
|
attr_accessor :value
|
340
|
-
|
341
278
|
sig { params(name: String, value: String).void }
|
342
279
|
def initialize(name: nil, value: nil); end
|
343
280
|
end
|
@@ -345,11 +282,9 @@ module Stripe
|
|
345
282
|
# How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.
|
346
283
|
sig { returns(T.nilable(String)) }
|
347
284
|
attr_accessor :amount_tax_display
|
348
|
-
|
349
285
|
# ID of the invoice rendering template to use for future invoices.
|
350
286
|
sig { returns(String) }
|
351
287
|
attr_accessor :template
|
352
|
-
|
353
288
|
sig { params(amount_tax_display: T.nilable(String), template: String).void }
|
354
289
|
def initialize(amount_tax_display: nil, template: nil); end
|
355
290
|
end
|
@@ -358,21 +293,17 @@ module Stripe
|
|
358
293
|
returns(T.nilable(T::Array[::Stripe::Customer::UpdateParams::InvoiceSettings::CustomField]))
|
359
294
|
}
|
360
295
|
attr_accessor :custom_fields
|
361
|
-
|
362
296
|
# ID of a payment method that's attached to the customer, to be used as the customer's default payment method for subscriptions and invoices.
|
363
297
|
sig { returns(String) }
|
364
298
|
attr_accessor :default_payment_method
|
365
|
-
|
366
299
|
# Default footer to be displayed on invoices for this customer.
|
367
300
|
sig { returns(String) }
|
368
301
|
attr_accessor :footer
|
369
|
-
|
370
302
|
# Default options for invoice PDF rendering for this customer.
|
371
303
|
sig {
|
372
304
|
returns(T.nilable(::Stripe::Customer::UpdateParams::InvoiceSettings::RenderingOptions))
|
373
305
|
}
|
374
306
|
attr_accessor :rendering_options
|
375
|
-
|
376
307
|
sig {
|
377
308
|
params(custom_fields: T.nilable(T::Array[::Stripe::Customer::UpdateParams::InvoiceSettings::CustomField]), default_payment_method: String, footer: String, rendering_options: T.nilable(::Stripe::Customer::UpdateParams::InvoiceSettings::RenderingOptions)).void
|
378
309
|
}
|
@@ -388,27 +319,21 @@ module Stripe
|
|
388
319
|
# City, district, suburb, town, or village.
|
389
320
|
sig { returns(String) }
|
390
321
|
attr_accessor :city
|
391
|
-
|
392
322
|
# A freeform text field for the country. However, in order to activate some tax features, the format should be a two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
393
323
|
sig { returns(String) }
|
394
324
|
attr_accessor :country
|
395
|
-
|
396
325
|
# Address line 1 (e.g., street, PO Box, or company name).
|
397
326
|
sig { returns(String) }
|
398
327
|
attr_accessor :line1
|
399
|
-
|
400
328
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
401
329
|
sig { returns(String) }
|
402
330
|
attr_accessor :line2
|
403
|
-
|
404
331
|
# ZIP or postal code.
|
405
332
|
sig { returns(String) }
|
406
333
|
attr_accessor :postal_code
|
407
|
-
|
408
334
|
# State, county, province, or region.
|
409
335
|
sig { returns(String) }
|
410
336
|
attr_accessor :state
|
411
|
-
|
412
337
|
sig {
|
413
338
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
414
339
|
}
|
@@ -424,15 +349,12 @@ module Stripe
|
|
424
349
|
# Customer shipping address.
|
425
350
|
sig { returns(::Stripe::Customer::UpdateParams::Shipping::Address) }
|
426
351
|
attr_accessor :address
|
427
|
-
|
428
352
|
# Customer name.
|
429
353
|
sig { returns(String) }
|
430
354
|
attr_accessor :name
|
431
|
-
|
432
355
|
# Customer phone (including extension).
|
433
356
|
sig { returns(String) }
|
434
357
|
attr_accessor :phone
|
435
|
-
|
436
358
|
sig {
|
437
359
|
params(address: ::Stripe::Customer::UpdateParams::Shipping::Address, name: String, phone: String).void
|
438
360
|
}
|
@@ -442,30 +364,24 @@ module Stripe
|
|
442
364
|
# A recent IP address of the customer used for tax reporting and tax location inference. Stripe recommends updating the IP address when a new PaymentMethod is attached or the address field on the customer is updated. We recommend against updating this field more frequently since it could result in unexpected tax location/reporting outcomes.
|
443
365
|
sig { returns(T.nilable(String)) }
|
444
366
|
attr_accessor :ip_address
|
445
|
-
|
446
367
|
# A flag that indicates when Stripe should validate the customer tax location. Defaults to `auto`.
|
447
368
|
sig { returns(String) }
|
448
369
|
attr_accessor :validate_location
|
449
|
-
|
450
370
|
sig { params(ip_address: T.nilable(String), validate_location: String).void }
|
451
371
|
def initialize(ip_address: nil, validate_location: nil); end
|
452
372
|
end
|
453
373
|
# The customer's address.
|
454
374
|
sig { returns(T.nilable(::Stripe::Customer::UpdateParams::Address)) }
|
455
375
|
attr_accessor :address
|
456
|
-
|
457
376
|
# An integer amount in cents (or local equivalent) that represents the customer's current balance, which affect the customer's future invoices. A negative amount represents a credit that decreases the amount due on an invoice; a positive amount increases the amount due on an invoice.
|
458
377
|
sig { returns(Integer) }
|
459
378
|
attr_accessor :balance
|
460
|
-
|
461
379
|
# Balance information and default balance settings for this customer.
|
462
380
|
sig { returns(::Stripe::Customer::UpdateParams::CashBalance) }
|
463
381
|
attr_accessor :cash_balance
|
464
|
-
|
465
382
|
# Attribute for param field coupon
|
466
383
|
sig { returns(String) }
|
467
384
|
attr_accessor :coupon
|
468
|
-
|
469
385
|
# If you are using payment methods created via the PaymentMethods API, see the [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method) parameter.
|
470
386
|
#
|
471
387
|
# Provide the ID of a payment source already attached to this customer to make it this customer's default payment source.
|
@@ -473,71 +389,54 @@ module Stripe
|
|
473
389
|
# If you want to add a new payment source and make it the default, see the [source](https://stripe.com/docs/api/customers/update#update_customer-source) property.
|
474
390
|
sig { returns(String) }
|
475
391
|
attr_accessor :default_source
|
476
|
-
|
477
392
|
# An arbitrary string that you can attach to a customer object. It is displayed alongside the customer in the dashboard.
|
478
393
|
sig { returns(String) }
|
479
394
|
attr_accessor :description
|
480
|
-
|
481
395
|
# Customer's email address. It's displayed alongside the customer in your dashboard and can be useful for searching and tracking. This may be up to *512 characters*.
|
482
396
|
sig { returns(String) }
|
483
397
|
attr_accessor :email
|
484
|
-
|
485
398
|
# Specifies which fields in the response should be expanded.
|
486
399
|
sig { returns(T::Array[String]) }
|
487
400
|
attr_accessor :expand
|
488
|
-
|
489
401
|
# The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers.
|
490
402
|
sig { returns(String) }
|
491
403
|
attr_accessor :invoice_prefix
|
492
|
-
|
493
404
|
# Default invoice settings for this customer.
|
494
405
|
sig { returns(::Stripe::Customer::UpdateParams::InvoiceSettings) }
|
495
406
|
attr_accessor :invoice_settings
|
496
|
-
|
497
407
|
# 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`.
|
498
408
|
sig { returns(T.nilable(T::Hash[String, String])) }
|
499
409
|
attr_accessor :metadata
|
500
|
-
|
501
410
|
# The customer's full name or business name.
|
502
411
|
sig { returns(String) }
|
503
412
|
attr_accessor :name
|
504
|
-
|
505
413
|
# The sequence to be used on the customer's next invoice. Defaults to 1.
|
506
414
|
sig { returns(Integer) }
|
507
415
|
attr_accessor :next_invoice_sequence
|
508
|
-
|
509
416
|
# The customer's phone number.
|
510
417
|
sig { returns(String) }
|
511
418
|
attr_accessor :phone
|
512
|
-
|
513
419
|
# Customer's preferred languages, ordered by preference.
|
514
420
|
sig { returns(T::Array[String]) }
|
515
421
|
attr_accessor :preferred_locales
|
516
|
-
|
517
422
|
# The ID of a promotion code to apply to the customer. The customer will have a discount applied on all recurring payments. Charges you create through the API will not have the discount.
|
518
423
|
sig { returns(String) }
|
519
424
|
attr_accessor :promotion_code
|
520
|
-
|
521
425
|
# The customer's shipping information. Appears on invoices emailed to this customer.
|
522
426
|
sig { returns(T.nilable(::Stripe::Customer::UpdateParams::Shipping)) }
|
523
427
|
attr_accessor :shipping
|
524
|
-
|
525
428
|
# Attribute for param field source
|
526
429
|
sig { returns(String) }
|
527
430
|
attr_accessor :source
|
528
|
-
|
529
431
|
# Tax details about the customer.
|
530
432
|
sig { returns(::Stripe::Customer::UpdateParams::Tax) }
|
531
433
|
attr_accessor :tax
|
532
|
-
|
533
434
|
# The customer's tax exemption. One of `none`, `exempt`, or `reverse`.
|
534
435
|
sig { returns(T.nilable(String)) }
|
535
436
|
attr_accessor :tax_exempt
|
536
|
-
|
537
437
|
# Attribute for param field validate
|
538
438
|
sig { returns(T::Boolean) }
|
539
439
|
attr_accessor :validate
|
540
|
-
|
541
440
|
sig {
|
542
441
|
params(address: T.nilable(::Stripe::Customer::UpdateParams::Address), balance: Integer, cash_balance: ::Stripe::Customer::UpdateParams::CashBalance, coupon: String, default_source: String, description: String, email: String, expand: T::Array[String], invoice_prefix: String, invoice_settings: ::Stripe::Customer::UpdateParams::InvoiceSettings, metadata: T.nilable(T::Hash[String, String]), name: String, next_invoice_sequence: Integer, phone: String, preferred_locales: T::Array[String], promotion_code: String, shipping: T.nilable(::Stripe::Customer::UpdateParams::Shipping), source: String, tax: ::Stripe::Customer::UpdateParams::Tax, tax_exempt: T.nilable(String), validate: T::Boolean).void
|
543
442
|
}
|
@@ -573,50 +472,39 @@ module Stripe
|
|
573
472
|
# Minimum value to filter by (exclusive)
|
574
473
|
sig { returns(Integer) }
|
575
474
|
attr_accessor :gt
|
576
|
-
|
577
475
|
# Minimum value to filter by (inclusive)
|
578
476
|
sig { returns(Integer) }
|
579
477
|
attr_accessor :gte
|
580
|
-
|
581
478
|
# Maximum value to filter by (exclusive)
|
582
479
|
sig { returns(Integer) }
|
583
480
|
attr_accessor :lt
|
584
|
-
|
585
481
|
# Maximum value to filter by (inclusive)
|
586
482
|
sig { returns(Integer) }
|
587
483
|
attr_accessor :lte
|
588
|
-
|
589
484
|
sig { params(gt: Integer, gte: Integer, lt: Integer, lte: Integer).void }
|
590
485
|
def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end
|
591
486
|
end
|
592
487
|
# Only return customers that were created during the given date interval.
|
593
488
|
sig { returns(T.any(::Stripe::Customer::ListParams::Created, Integer)) }
|
594
489
|
attr_accessor :created
|
595
|
-
|
596
490
|
# A case-sensitive filter on the list based on the customer's `email` field. The value must be a string.
|
597
491
|
sig { returns(String) }
|
598
492
|
attr_accessor :email
|
599
|
-
|
600
493
|
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
601
494
|
sig { returns(String) }
|
602
495
|
attr_accessor :ending_before
|
603
|
-
|
604
496
|
# Specifies which fields in the response should be expanded.
|
605
497
|
sig { returns(T::Array[String]) }
|
606
498
|
attr_accessor :expand
|
607
|
-
|
608
499
|
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
609
500
|
sig { returns(Integer) }
|
610
501
|
attr_accessor :limit
|
611
|
-
|
612
502
|
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
613
503
|
sig { returns(String) }
|
614
504
|
attr_accessor :starting_after
|
615
|
-
|
616
505
|
# Provides a list of customers that are associated with the specified test clock. The response will not include customers with test clocks if this parameter is not set.
|
617
506
|
sig { returns(String) }
|
618
507
|
attr_accessor :test_clock
|
619
|
-
|
620
508
|
sig {
|
621
509
|
params(created: T.any(::Stripe::Customer::ListParams::Created, Integer), email: String, ending_before: String, expand: T::Array[String], limit: Integer, starting_after: String, test_clock: String).void
|
622
510
|
}
|
@@ -635,27 +523,21 @@ module Stripe
|
|
635
523
|
# City, district, suburb, town, or village.
|
636
524
|
sig { returns(String) }
|
637
525
|
attr_accessor :city
|
638
|
-
|
639
526
|
# A freeform text field for the country. However, in order to activate some tax features, the format should be a two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
640
527
|
sig { returns(String) }
|
641
528
|
attr_accessor :country
|
642
|
-
|
643
529
|
# Address line 1 (e.g., street, PO Box, or company name).
|
644
530
|
sig { returns(String) }
|
645
531
|
attr_accessor :line1
|
646
|
-
|
647
532
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
648
533
|
sig { returns(String) }
|
649
534
|
attr_accessor :line2
|
650
|
-
|
651
535
|
# ZIP or postal code.
|
652
536
|
sig { returns(String) }
|
653
537
|
attr_accessor :postal_code
|
654
|
-
|
655
538
|
# State, county, province, or region.
|
656
539
|
sig { returns(String) }
|
657
540
|
attr_accessor :state
|
658
|
-
|
659
541
|
sig {
|
660
542
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
661
543
|
}
|
@@ -673,7 +555,6 @@ module Stripe
|
|
673
555
|
# Controls how funds transferred by the customer are applied to payment intents and invoices. Valid options are `automatic`, `manual`, or `merchant_default`. For more information about these reconciliation modes, see [Reconciliation](https://stripe.com/docs/payments/customer-balance/reconciliation).
|
674
556
|
sig { returns(String) }
|
675
557
|
attr_accessor :reconciliation_mode
|
676
|
-
|
677
558
|
sig { params(reconciliation_mode: String).void }
|
678
559
|
def initialize(reconciliation_mode: nil); end
|
679
560
|
end
|
@@ -681,7 +562,6 @@ module Stripe
|
|
681
562
|
# such as reconciliation of funds received.
|
682
563
|
sig { returns(::Stripe::Customer::CreateParams::CashBalance::Settings) }
|
683
564
|
attr_accessor :settings
|
684
|
-
|
685
565
|
sig { params(settings: ::Stripe::Customer::CreateParams::CashBalance::Settings).void }
|
686
566
|
def initialize(settings: nil); end
|
687
567
|
end
|
@@ -690,11 +570,9 @@ module Stripe
|
|
690
570
|
# The name of the custom field. This may be up to 40 characters.
|
691
571
|
sig { returns(String) }
|
692
572
|
attr_accessor :name
|
693
|
-
|
694
573
|
# The value of the custom field. This may be up to 140 characters.
|
695
574
|
sig { returns(String) }
|
696
575
|
attr_accessor :value
|
697
|
-
|
698
576
|
sig { params(name: String, value: String).void }
|
699
577
|
def initialize(name: nil, value: nil); end
|
700
578
|
end
|
@@ -702,11 +580,9 @@ module Stripe
|
|
702
580
|
# How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of `exclude_tax` or `include_inclusive_tax`. `include_inclusive_tax` will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. `exclude_tax` will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.
|
703
581
|
sig { returns(T.nilable(String)) }
|
704
582
|
attr_accessor :amount_tax_display
|
705
|
-
|
706
583
|
# ID of the invoice rendering template to use for future invoices.
|
707
584
|
sig { returns(String) }
|
708
585
|
attr_accessor :template
|
709
|
-
|
710
586
|
sig { params(amount_tax_display: T.nilable(String), template: String).void }
|
711
587
|
def initialize(amount_tax_display: nil, template: nil); end
|
712
588
|
end
|
@@ -715,21 +591,17 @@ module Stripe
|
|
715
591
|
returns(T.nilable(T::Array[::Stripe::Customer::CreateParams::InvoiceSettings::CustomField]))
|
716
592
|
}
|
717
593
|
attr_accessor :custom_fields
|
718
|
-
|
719
594
|
# ID of a payment method that's attached to the customer, to be used as the customer's default payment method for subscriptions and invoices.
|
720
595
|
sig { returns(String) }
|
721
596
|
attr_accessor :default_payment_method
|
722
|
-
|
723
597
|
# Default footer to be displayed on invoices for this customer.
|
724
598
|
sig { returns(String) }
|
725
599
|
attr_accessor :footer
|
726
|
-
|
727
600
|
# Default options for invoice PDF rendering for this customer.
|
728
601
|
sig {
|
729
602
|
returns(T.nilable(::Stripe::Customer::CreateParams::InvoiceSettings::RenderingOptions))
|
730
603
|
}
|
731
604
|
attr_accessor :rendering_options
|
732
|
-
|
733
605
|
sig {
|
734
606
|
params(custom_fields: T.nilable(T::Array[::Stripe::Customer::CreateParams::InvoiceSettings::CustomField]), default_payment_method: String, footer: String, rendering_options: T.nilable(::Stripe::Customer::CreateParams::InvoiceSettings::RenderingOptions)).void
|
735
607
|
}
|
@@ -745,27 +617,21 @@ module Stripe
|
|
745
617
|
# City, district, suburb, town, or village.
|
746
618
|
sig { returns(String) }
|
747
619
|
attr_accessor :city
|
748
|
-
|
749
620
|
# A freeform text field for the country. However, in order to activate some tax features, the format should be a two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
750
621
|
sig { returns(String) }
|
751
622
|
attr_accessor :country
|
752
|
-
|
753
623
|
# Address line 1 (e.g., street, PO Box, or company name).
|
754
624
|
sig { returns(String) }
|
755
625
|
attr_accessor :line1
|
756
|
-
|
757
626
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
758
627
|
sig { returns(String) }
|
759
628
|
attr_accessor :line2
|
760
|
-
|
761
629
|
# ZIP or postal code.
|
762
630
|
sig { returns(String) }
|
763
631
|
attr_accessor :postal_code
|
764
|
-
|
765
632
|
# State, county, province, or region.
|
766
633
|
sig { returns(String) }
|
767
634
|
attr_accessor :state
|
768
|
-
|
769
635
|
sig {
|
770
636
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
771
637
|
}
|
@@ -781,15 +647,12 @@ module Stripe
|
|
781
647
|
# Customer shipping address.
|
782
648
|
sig { returns(::Stripe::Customer::CreateParams::Shipping::Address) }
|
783
649
|
attr_accessor :address
|
784
|
-
|
785
650
|
# Customer name.
|
786
651
|
sig { returns(String) }
|
787
652
|
attr_accessor :name
|
788
|
-
|
789
653
|
# Customer phone (including extension).
|
790
654
|
sig { returns(String) }
|
791
655
|
attr_accessor :phone
|
792
|
-
|
793
656
|
sig {
|
794
657
|
params(address: ::Stripe::Customer::CreateParams::Shipping::Address, name: String, phone: String).void
|
795
658
|
}
|
@@ -799,118 +662,91 @@ module Stripe
|
|
799
662
|
# A recent IP address of the customer used for tax reporting and tax location inference. Stripe recommends updating the IP address when a new PaymentMethod is attached or the address field on the customer is updated. We recommend against updating this field more frequently since it could result in unexpected tax location/reporting outcomes.
|
800
663
|
sig { returns(T.nilable(String)) }
|
801
664
|
attr_accessor :ip_address
|
802
|
-
|
803
665
|
# A flag that indicates when Stripe should validate the customer tax location. Defaults to `deferred`.
|
804
666
|
sig { returns(String) }
|
805
667
|
attr_accessor :validate_location
|
806
|
-
|
807
668
|
sig { params(ip_address: T.nilable(String), validate_location: String).void }
|
808
669
|
def initialize(ip_address: nil, validate_location: nil); end
|
809
670
|
end
|
810
671
|
class TaxIdDatum < Stripe::RequestParams
|
811
|
-
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
672
|
+
# Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `ba_tin`, `bb_tin`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kh_tin`, `kr_brn`, `kz_bin`, `li_uid`, `li_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`
|
812
673
|
sig { returns(String) }
|
813
674
|
attr_accessor :type
|
814
|
-
|
815
675
|
# Value of the tax ID.
|
816
676
|
sig { returns(String) }
|
817
677
|
attr_accessor :value
|
818
|
-
|
819
678
|
sig { params(type: String, value: String).void }
|
820
679
|
def initialize(type: nil, value: nil); end
|
821
680
|
end
|
822
681
|
# The customer's address.
|
823
682
|
sig { returns(T.nilable(::Stripe::Customer::CreateParams::Address)) }
|
824
683
|
attr_accessor :address
|
825
|
-
|
826
684
|
# An integer amount in cents (or local equivalent) that represents the customer's current balance, which affect the customer's future invoices. A negative amount represents a credit that decreases the amount due on an invoice; a positive amount increases the amount due on an invoice.
|
827
685
|
sig { returns(Integer) }
|
828
686
|
attr_accessor :balance
|
829
|
-
|
830
687
|
# Balance information and default balance settings for this customer.
|
831
688
|
sig { returns(::Stripe::Customer::CreateParams::CashBalance) }
|
832
689
|
attr_accessor :cash_balance
|
833
|
-
|
834
690
|
# Attribute for param field coupon
|
835
691
|
sig { returns(String) }
|
836
692
|
attr_accessor :coupon
|
837
|
-
|
838
693
|
# An arbitrary string that you can attach to a customer object. It is displayed alongside the customer in the dashboard.
|
839
694
|
sig { returns(String) }
|
840
695
|
attr_accessor :description
|
841
|
-
|
842
696
|
# Customer's email address. It's displayed alongside the customer in your dashboard and can be useful for searching and tracking. This may be up to *512 characters*.
|
843
697
|
sig { returns(String) }
|
844
698
|
attr_accessor :email
|
845
|
-
|
846
699
|
# Specifies which fields in the response should be expanded.
|
847
700
|
sig { returns(T::Array[String]) }
|
848
701
|
attr_accessor :expand
|
849
|
-
|
850
702
|
# The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers.
|
851
703
|
sig { returns(String) }
|
852
704
|
attr_accessor :invoice_prefix
|
853
|
-
|
854
705
|
# Default invoice settings for this customer.
|
855
706
|
sig { returns(::Stripe::Customer::CreateParams::InvoiceSettings) }
|
856
707
|
attr_accessor :invoice_settings
|
857
|
-
|
858
708
|
# 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`.
|
859
709
|
sig { returns(T.nilable(T::Hash[String, String])) }
|
860
710
|
attr_accessor :metadata
|
861
|
-
|
862
711
|
# The customer's full name or business name.
|
863
712
|
sig { returns(String) }
|
864
713
|
attr_accessor :name
|
865
|
-
|
866
714
|
# The sequence to be used on the customer's next invoice. Defaults to 1.
|
867
715
|
sig { returns(Integer) }
|
868
716
|
attr_accessor :next_invoice_sequence
|
869
|
-
|
870
717
|
# Attribute for param field payment_method
|
871
718
|
sig { returns(String) }
|
872
719
|
attr_accessor :payment_method
|
873
|
-
|
874
720
|
# The customer's phone number.
|
875
721
|
sig { returns(String) }
|
876
722
|
attr_accessor :phone
|
877
|
-
|
878
723
|
# Customer's preferred languages, ordered by preference.
|
879
724
|
sig { returns(T::Array[String]) }
|
880
725
|
attr_accessor :preferred_locales
|
881
|
-
|
882
726
|
# The ID of a promotion code to apply to the customer. The customer will have a discount applied on all recurring payments. Charges you create through the API will not have the discount.
|
883
727
|
sig { returns(String) }
|
884
728
|
attr_accessor :promotion_code
|
885
|
-
|
886
729
|
# The customer's shipping information. Appears on invoices emailed to this customer.
|
887
730
|
sig { returns(T.nilable(::Stripe::Customer::CreateParams::Shipping)) }
|
888
731
|
attr_accessor :shipping
|
889
|
-
|
890
732
|
# Attribute for param field source
|
891
733
|
sig { returns(String) }
|
892
734
|
attr_accessor :source
|
893
|
-
|
894
735
|
# Tax details about the customer.
|
895
736
|
sig { returns(::Stripe::Customer::CreateParams::Tax) }
|
896
737
|
attr_accessor :tax
|
897
|
-
|
898
738
|
# The customer's tax exemption. One of `none`, `exempt`, or `reverse`.
|
899
739
|
sig { returns(T.nilable(String)) }
|
900
740
|
attr_accessor :tax_exempt
|
901
|
-
|
902
741
|
# The customer's tax IDs.
|
903
742
|
sig { returns(T::Array[::Stripe::Customer::CreateParams::TaxIdDatum]) }
|
904
743
|
attr_accessor :tax_id_data
|
905
|
-
|
906
744
|
# ID of the test clock to attach to the customer.
|
907
745
|
sig { returns(String) }
|
908
746
|
attr_accessor :test_clock
|
909
|
-
|
910
747
|
# Attribute for param field validate
|
911
748
|
sig { returns(T::Boolean) }
|
912
749
|
attr_accessor :validate
|
913
|
-
|
914
750
|
sig {
|
915
751
|
params(address: T.nilable(::Stripe::Customer::CreateParams::Address), balance: Integer, cash_balance: ::Stripe::Customer::CreateParams::CashBalance, coupon: String, description: String, email: String, expand: T::Array[String], invoice_prefix: String, invoice_settings: ::Stripe::Customer::CreateParams::InvoiceSettings, metadata: T.nilable(T::Hash[String, String]), name: String, next_invoice_sequence: Integer, payment_method: String, phone: String, preferred_locales: T::Array[String], promotion_code: String, shipping: T.nilable(::Stripe::Customer::CreateParams::Shipping), source: String, tax: ::Stripe::Customer::CreateParams::Tax, tax_exempt: T.nilable(String), tax_id_data: T::Array[::Stripe::Customer::CreateParams::TaxIdDatum], test_clock: String, validate: T::Boolean).void
|
916
752
|
}
|
@@ -944,27 +780,21 @@ module Stripe
|
|
944
780
|
# 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`.
|
945
781
|
sig { returns(String) }
|
946
782
|
attr_accessor :allow_redisplay
|
947
|
-
|
948
783
|
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
949
784
|
sig { returns(String) }
|
950
785
|
attr_accessor :ending_before
|
951
|
-
|
952
786
|
# Specifies which fields in the response should be expanded.
|
953
787
|
sig { returns(T::Array[String]) }
|
954
788
|
attr_accessor :expand
|
955
|
-
|
956
789
|
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
957
790
|
sig { returns(Integer) }
|
958
791
|
attr_accessor :limit
|
959
|
-
|
960
792
|
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
961
793
|
sig { returns(String) }
|
962
794
|
attr_accessor :starting_after
|
963
|
-
|
964
795
|
# An optional filter on the list, based on the object `type` field. Without the filter, the list includes all current and future payment method types. If your integration expects only one type of payment method in the response, make sure to provide a type value in the request.
|
965
796
|
sig { returns(String) }
|
966
797
|
attr_accessor :type
|
967
|
-
|
968
798
|
sig {
|
969
799
|
params(allow_redisplay: String, ending_before: String, expand: T::Array[String], limit: Integer, starting_after: String, type: String).void
|
970
800
|
}
|
@@ -981,7 +811,6 @@ module Stripe
|
|
981
811
|
# Specifies which fields in the response should be expanded.
|
982
812
|
sig { returns(T::Array[String]) }
|
983
813
|
attr_accessor :expand
|
984
|
-
|
985
814
|
sig { params(expand: T::Array[String]).void }
|
986
815
|
def initialize(expand: nil); end
|
987
816
|
end
|
@@ -989,19 +818,15 @@ module Stripe
|
|
989
818
|
# Specifies which fields in the response should be expanded.
|
990
819
|
sig { returns(T::Array[String]) }
|
991
820
|
attr_accessor :expand
|
992
|
-
|
993
821
|
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
994
822
|
sig { returns(Integer) }
|
995
823
|
attr_accessor :limit
|
996
|
-
|
997
824
|
# A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.
|
998
825
|
sig { returns(String) }
|
999
826
|
attr_accessor :page
|
1000
|
-
|
1001
827
|
# The search query string. See [search query language](https://stripe.com/docs/search#search-query-language) and the list of supported [query fields for customers](https://stripe.com/docs/search#query-fields-for-customers).
|
1002
828
|
sig { returns(String) }
|
1003
829
|
attr_accessor :query
|
1004
|
-
|
1005
830
|
sig { params(expand: T::Array[String], limit: Integer, page: String, query: String).void }
|
1006
831
|
def initialize(expand: nil, limit: nil, page: nil, query: nil); end
|
1007
832
|
end
|
@@ -1011,7 +836,6 @@ module Stripe
|
|
1011
836
|
# The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.
|
1012
837
|
sig { returns(String) }
|
1013
838
|
attr_accessor :country
|
1014
|
-
|
1015
839
|
sig { params(country: String).void }
|
1016
840
|
def initialize(country: nil); end
|
1017
841
|
end
|
@@ -1020,17 +844,14 @@ module Stripe
|
|
1020
844
|
returns(::Stripe::Customer::CreateFundingInstructionsParams::BankTransfer::EuBankTransfer)
|
1021
845
|
}
|
1022
846
|
attr_accessor :eu_bank_transfer
|
1023
|
-
|
1024
847
|
# List of address types that should be returned in the financial_addresses response. If not specified, all valid types will be returned.
|
1025
848
|
#
|
1026
849
|
# Permitted values include: `sort_code`, `zengin`, `iban`, or `spei`.
|
1027
850
|
sig { returns(T::Array[String]) }
|
1028
851
|
attr_accessor :requested_address_types
|
1029
|
-
|
1030
852
|
# The type of the `bank_transfer`
|
1031
853
|
sig { returns(String) }
|
1032
854
|
attr_accessor :type
|
1033
|
-
|
1034
855
|
sig {
|
1035
856
|
params(eu_bank_transfer: ::Stripe::Customer::CreateFundingInstructionsParams::BankTransfer::EuBankTransfer, requested_address_types: T::Array[String], type: String).void
|
1036
857
|
}
|
@@ -1039,19 +860,15 @@ module Stripe
|
|
1039
860
|
# Additional parameters for `bank_transfer` funding types
|
1040
861
|
sig { returns(::Stripe::Customer::CreateFundingInstructionsParams::BankTransfer) }
|
1041
862
|
attr_accessor :bank_transfer
|
1042
|
-
|
1043
863
|
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
1044
864
|
sig { returns(String) }
|
1045
865
|
attr_accessor :currency
|
1046
|
-
|
1047
866
|
# Specifies which fields in the response should be expanded.
|
1048
867
|
sig { returns(T::Array[String]) }
|
1049
868
|
attr_accessor :expand
|
1050
|
-
|
1051
869
|
# The `funding_type` to get the instructions for.
|
1052
870
|
sig { returns(String) }
|
1053
871
|
attr_accessor :funding_type
|
1054
|
-
|
1055
872
|
sig {
|
1056
873
|
params(bank_transfer: ::Stripe::Customer::CreateFundingInstructionsParams::BankTransfer, currency: String, expand: T::Array[String], funding_type: String).void
|
1057
874
|
}
|
@@ -1061,19 +878,15 @@ module Stripe
|
|
1061
878
|
# Amount to be used for this test cash balance transaction. A positive integer representing how much to fund in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to fund $1.00 or 100 to fund ¥100, a zero-decimal currency).
|
1062
879
|
sig { returns(Integer) }
|
1063
880
|
attr_accessor :amount
|
1064
|
-
|
1065
881
|
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
1066
882
|
sig { returns(String) }
|
1067
883
|
attr_accessor :currency
|
1068
|
-
|
1069
884
|
# Specifies which fields in the response should be expanded.
|
1070
885
|
sig { returns(T::Array[String]) }
|
1071
886
|
attr_accessor :expand
|
1072
|
-
|
1073
887
|
# A description of the test funding. This simulates free-text references supplied by customers when making bank transfers to their cash balance. You can use this to test how Stripe's [reconciliation algorithm](https://stripe.com/docs/payments/customer-balance/reconciliation) applies to different user inputs.
|
1074
888
|
sig { returns(String) }
|
1075
889
|
attr_accessor :reference
|
1076
|
-
|
1077
890
|
sig {
|
1078
891
|
params(amount: Integer, currency: String, expand: T::Array[String], reference: String).void
|
1079
892
|
}
|