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
@@ -15,15 +15,12 @@ module Stripe
|
|
15
15
|
# Customize the default description for this input
|
16
16
|
sig { returns(T.nilable(String)) }
|
17
17
|
attr_reader :description
|
18
|
-
|
19
18
|
# Customize the default label for this input's skip button
|
20
19
|
sig { returns(T.nilable(String)) }
|
21
20
|
attr_reader :skip_button
|
22
|
-
|
23
21
|
# Customize the default label for this input's submit button
|
24
22
|
sig { returns(T.nilable(String)) }
|
25
23
|
attr_reader :submit_button
|
26
|
-
|
27
24
|
# Customize the default title for this input
|
28
25
|
sig { returns(T.nilable(String)) }
|
29
26
|
attr_reader :title
|
@@ -48,7 +45,6 @@ module Stripe
|
|
48
45
|
# The button style for the choice
|
49
46
|
sig { returns(T.nilable(String)) }
|
50
47
|
attr_reader :style
|
51
|
-
|
52
48
|
# A value to be selected
|
53
49
|
sig { returns(String) }
|
54
50
|
attr_reader :value
|
@@ -56,7 +52,6 @@ module Stripe
|
|
56
52
|
# List of possible choices to be selected
|
57
53
|
sig { returns(T::Array[Choice]) }
|
58
54
|
attr_reader :choices
|
59
|
-
|
60
55
|
# The value of the selected choice
|
61
56
|
sig { returns(T.nilable(String)) }
|
62
57
|
attr_reader :value
|
@@ -75,15 +70,12 @@ module Stripe
|
|
75
70
|
# The toggle's default value
|
76
71
|
sig { returns(T.nilable(String)) }
|
77
72
|
attr_reader :default_value
|
78
|
-
|
79
73
|
# The toggle's description text
|
80
74
|
sig { returns(T.nilable(String)) }
|
81
75
|
attr_reader :description
|
82
|
-
|
83
76
|
# The toggle's title text
|
84
77
|
sig { returns(T.nilable(String)) }
|
85
78
|
attr_reader :title
|
86
|
-
|
87
79
|
# The toggle's collected value
|
88
80
|
sig { returns(T.nilable(String)) }
|
89
81
|
attr_reader :value
|
@@ -91,43 +83,33 @@ module Stripe
|
|
91
83
|
# Default text of input being collected.
|
92
84
|
sig { returns(T.nilable(CustomText)) }
|
93
85
|
attr_reader :custom_text
|
94
|
-
|
95
86
|
# Information about a email being collected using a reader
|
96
87
|
sig { returns(Email) }
|
97
88
|
attr_reader :email
|
98
|
-
|
99
89
|
# Information about a number being collected using a reader
|
100
90
|
sig { returns(Numeric) }
|
101
91
|
attr_reader :numeric
|
102
|
-
|
103
92
|
# Information about a phone number being collected using a reader
|
104
93
|
sig { returns(Phone) }
|
105
94
|
attr_reader :phone
|
106
|
-
|
107
95
|
# Indicate that this input is required, disabling the skip button.
|
108
96
|
sig { returns(T.nilable(T::Boolean)) }
|
109
97
|
attr_reader :required
|
110
|
-
|
111
98
|
# Information about a selection being collected using a reader
|
112
99
|
sig { returns(Selection) }
|
113
100
|
attr_reader :selection
|
114
|
-
|
115
101
|
# Information about a signature being collected using a reader
|
116
102
|
sig { returns(Signature) }
|
117
103
|
attr_reader :signature
|
118
|
-
|
119
104
|
# Indicate that this input was skipped by the user.
|
120
105
|
sig { returns(T::Boolean) }
|
121
106
|
attr_reader :skipped
|
122
|
-
|
123
107
|
# Information about text being collected using a reader
|
124
108
|
sig { returns(Text) }
|
125
109
|
attr_reader :text
|
126
|
-
|
127
110
|
# List of toggles being collected. Values are present if collection is complete.
|
128
111
|
sig { returns(T.nilable(T::Array[Toggle])) }
|
129
112
|
attr_reader :toggles
|
130
|
-
|
131
113
|
# Type of input being collected.
|
132
114
|
sig { returns(String) }
|
133
115
|
attr_reader :type
|
@@ -135,7 +117,6 @@ module Stripe
|
|
135
117
|
# List of inputs to be collected.
|
136
118
|
sig { returns(T::Array[Input]) }
|
137
119
|
attr_reader :inputs
|
138
|
-
|
139
120
|
# 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.
|
140
121
|
sig { returns(T.nilable(T::Hash[String, String])) }
|
141
122
|
attr_reader :metadata
|
@@ -150,11 +131,9 @@ module Stripe
|
|
150
131
|
# Enable customer initiated cancellation when processing this payment.
|
151
132
|
sig { returns(T::Boolean) }
|
152
133
|
attr_reader :enable_customer_cancellation
|
153
|
-
|
154
134
|
# Override showing a tipping selection screen on this transaction.
|
155
135
|
sig { returns(T::Boolean) }
|
156
136
|
attr_reader :skip_tipping
|
157
|
-
|
158
137
|
# Represents a per-transaction tipping configuration
|
159
138
|
sig { returns(Tipping) }
|
160
139
|
attr_reader :tipping
|
@@ -162,15 +141,12 @@ module Stripe
|
|
162
141
|
# Account the payment intent belongs to.
|
163
142
|
sig { returns(String) }
|
164
143
|
attr_reader :account
|
165
|
-
|
166
144
|
# Represents a per-transaction override of a reader configuration
|
167
145
|
sig { returns(CollectConfig) }
|
168
146
|
attr_reader :collect_config
|
169
|
-
|
170
147
|
# Most recent PaymentIntent processed by the reader.
|
171
148
|
sig { returns(T.any(String, Stripe::PaymentIntent)) }
|
172
149
|
attr_reader :payment_intent
|
173
|
-
|
174
150
|
# PaymentMethod objects represent your customer's payment instruments.
|
175
151
|
# You can use them with [PaymentIntents](https://stripe.com/docs/payments/payment-intents) to collect payments or save them to
|
176
152
|
# Customer objects to store instrument details for future payments.
|
@@ -178,7 +154,6 @@ module Stripe
|
|
178
154
|
# Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios).
|
179
155
|
sig { returns(Stripe::PaymentMethod) }
|
180
156
|
attr_reader :payment_method
|
181
|
-
|
182
157
|
# This field will be deprecated. Please use `account` instead.
|
183
158
|
sig { returns(String) }
|
184
159
|
attr_reader :stripe_account
|
@@ -187,11 +162,9 @@ module Stripe
|
|
187
162
|
# Account the payment intent belongs to.
|
188
163
|
sig { returns(String) }
|
189
164
|
attr_reader :account
|
190
|
-
|
191
165
|
# Most recent PaymentIntent processed by the reader.
|
192
166
|
sig { returns(T.any(String, Stripe::PaymentIntent)) }
|
193
167
|
attr_reader :payment_intent
|
194
|
-
|
195
168
|
# This field will be deprecated. Please use `account` instead.
|
196
169
|
sig { returns(String) }
|
197
170
|
attr_reader :stripe_account
|
@@ -206,11 +179,9 @@ module Stripe
|
|
206
179
|
# Enable customer initiated cancellation when processing this payment.
|
207
180
|
sig { returns(T::Boolean) }
|
208
181
|
attr_reader :enable_customer_cancellation
|
209
|
-
|
210
182
|
# Override showing a tipping selection screen on this transaction.
|
211
183
|
sig { returns(T::Boolean) }
|
212
184
|
attr_reader :skip_tipping
|
213
|
-
|
214
185
|
# Represents a per-transaction tipping configuration
|
215
186
|
sig { returns(Tipping) }
|
216
187
|
attr_reader :tipping
|
@@ -218,15 +189,12 @@ module Stripe
|
|
218
189
|
# Account the payment intent belongs to.
|
219
190
|
sig { returns(String) }
|
220
191
|
attr_reader :account
|
221
|
-
|
222
192
|
# Most recent PaymentIntent processed by the reader.
|
223
193
|
sig { returns(T.any(String, Stripe::PaymentIntent)) }
|
224
194
|
attr_reader :payment_intent
|
225
|
-
|
226
195
|
# Represents a per-transaction override of a reader configuration
|
227
196
|
sig { returns(ProcessConfig) }
|
228
197
|
attr_reader :process_config
|
229
|
-
|
230
198
|
# This field will be deprecated. Please use `account` instead.
|
231
199
|
sig { returns(String) }
|
232
200
|
attr_reader :stripe_account
|
@@ -240,11 +208,9 @@ module Stripe
|
|
240
208
|
# ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.
|
241
209
|
sig { returns(String) }
|
242
210
|
attr_reader :generated_card
|
243
|
-
|
244
211
|
# Represents a per-setup override of a reader configuration
|
245
212
|
sig { returns(ProcessConfig) }
|
246
213
|
attr_reader :process_config
|
247
|
-
|
248
214
|
# Most recent SetupIntent processed by the reader.
|
249
215
|
sig { returns(T.any(String, Stripe::SetupIntent)) }
|
250
216
|
attr_reader :setup_intent
|
@@ -258,43 +224,33 @@ module Stripe
|
|
258
224
|
# Account the payment intent belongs to.
|
259
225
|
sig { returns(String) }
|
260
226
|
attr_reader :account
|
261
|
-
|
262
227
|
# The amount being refunded.
|
263
228
|
sig { returns(Integer) }
|
264
229
|
attr_reader :amount
|
265
|
-
|
266
230
|
# Charge that is being refunded.
|
267
231
|
sig { returns(T.any(String, Stripe::Charge)) }
|
268
232
|
attr_reader :charge
|
269
|
-
|
270
233
|
# 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.
|
271
234
|
sig { returns(T::Hash[String, String]) }
|
272
235
|
attr_reader :metadata
|
273
|
-
|
274
236
|
# Payment intent that is being refunded.
|
275
237
|
sig { returns(T.any(String, Stripe::PaymentIntent)) }
|
276
238
|
attr_reader :payment_intent
|
277
|
-
|
278
239
|
# The reason for the refund.
|
279
240
|
sig { returns(String) }
|
280
241
|
attr_reader :reason
|
281
|
-
|
282
242
|
# Unique identifier for the refund object.
|
283
243
|
sig { returns(T.any(String, Stripe::Refund)) }
|
284
244
|
attr_reader :refund
|
285
|
-
|
286
245
|
# Boolean indicating whether the application fee should be refunded when refunding this charge. If a full charge refund is given, the full application fee will be refunded. Otherwise, the application fee will be refunded in an amount proportional to the amount of the charge refunded. An application fee can be refunded only by the application that created the charge.
|
287
246
|
sig { returns(T::Boolean) }
|
288
247
|
attr_reader :refund_application_fee
|
289
|
-
|
290
248
|
# Represents a per-transaction override of a reader configuration
|
291
249
|
sig { returns(RefundPaymentConfig) }
|
292
250
|
attr_reader :refund_payment_config
|
293
|
-
|
294
251
|
# Boolean indicating whether the transfer should be reversed when refunding this charge. The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount). A transfer can be reversed only by the application that created the charge.
|
295
252
|
sig { returns(T::Boolean) }
|
296
253
|
attr_reader :reverse_transfer
|
297
|
-
|
298
254
|
# This field will be deprecated. Please use `account` instead.
|
299
255
|
sig { returns(String) }
|
300
256
|
attr_reader :stripe_account
|
@@ -305,11 +261,9 @@ module Stripe
|
|
305
261
|
# The amount of the line item. A positive integer in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
|
306
262
|
sig { returns(Integer) }
|
307
263
|
attr_reader :amount
|
308
|
-
|
309
264
|
# Description of the line item.
|
310
265
|
sig { returns(String) }
|
311
266
|
attr_reader :description
|
312
|
-
|
313
267
|
# The quantity of the line item.
|
314
268
|
sig { returns(Integer) }
|
315
269
|
attr_reader :quantity
|
@@ -317,15 +271,12 @@ module Stripe
|
|
317
271
|
# 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).
|
318
272
|
sig { returns(String) }
|
319
273
|
attr_reader :currency
|
320
|
-
|
321
274
|
# List of line items in the cart.
|
322
275
|
sig { returns(T::Array[LineItem]) }
|
323
276
|
attr_reader :line_items
|
324
|
-
|
325
277
|
# Tax amount for the entire cart. A positive integer in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
|
326
278
|
sig { returns(T.nilable(Integer)) }
|
327
279
|
attr_reader :tax
|
328
|
-
|
329
280
|
# Total amount for the entire cart, including tax. A positive integer in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
|
330
281
|
sig { returns(Integer) }
|
331
282
|
attr_reader :total
|
@@ -333,7 +284,6 @@ module Stripe
|
|
333
284
|
# Cart object to be displayed by the reader.
|
334
285
|
sig { returns(T.nilable(Cart)) }
|
335
286
|
attr_reader :cart
|
336
|
-
|
337
287
|
# Type of information to be displayed by the reader.
|
338
288
|
sig { returns(String) }
|
339
289
|
attr_reader :type
|
@@ -341,43 +291,33 @@ module Stripe
|
|
341
291
|
# Represents a reader action to collect customer inputs
|
342
292
|
sig { returns(CollectInputs) }
|
343
293
|
attr_reader :collect_inputs
|
344
|
-
|
345
294
|
# Represents a reader action to collect a payment method
|
346
295
|
sig { returns(CollectPaymentMethod) }
|
347
296
|
attr_reader :collect_payment_method
|
348
|
-
|
349
297
|
# Represents a reader action to confirm a payment
|
350
298
|
sig { returns(ConfirmPaymentIntent) }
|
351
299
|
attr_reader :confirm_payment_intent
|
352
|
-
|
353
300
|
# Failure code, only set if status is `failed`.
|
354
301
|
sig { returns(T.nilable(String)) }
|
355
302
|
attr_reader :failure_code
|
356
|
-
|
357
303
|
# Detailed failure message, only set if status is `failed`.
|
358
304
|
sig { returns(T.nilable(String)) }
|
359
305
|
attr_reader :failure_message
|
360
|
-
|
361
306
|
# Represents a reader action to process a payment intent
|
362
307
|
sig { returns(ProcessPaymentIntent) }
|
363
308
|
attr_reader :process_payment_intent
|
364
|
-
|
365
309
|
# Represents a reader action to process a setup intent
|
366
310
|
sig { returns(ProcessSetupIntent) }
|
367
311
|
attr_reader :process_setup_intent
|
368
|
-
|
369
312
|
# Represents a reader action to refund a payment
|
370
313
|
sig { returns(RefundPayment) }
|
371
314
|
attr_reader :refund_payment
|
372
|
-
|
373
315
|
# Represents a reader action to set the reader display
|
374
316
|
sig { returns(SetReaderDisplay) }
|
375
317
|
attr_reader :set_reader_display
|
376
|
-
|
377
318
|
# Status of the action performed by the reader.
|
378
319
|
sig { returns(String) }
|
379
320
|
attr_reader :status
|
380
|
-
|
381
321
|
# Type of action performed by the reader.
|
382
322
|
sig { returns(String) }
|
383
323
|
attr_reader :type
|
@@ -385,55 +325,42 @@ module Stripe
|
|
385
325
|
# The most recent action performed by the reader.
|
386
326
|
sig { returns(T.nilable(Action)) }
|
387
327
|
attr_reader :action
|
388
|
-
|
389
328
|
# The current software version of the reader.
|
390
329
|
sig { returns(T.nilable(String)) }
|
391
330
|
attr_reader :device_sw_version
|
392
|
-
|
393
331
|
# Type of reader, one of `bbpos_wisepad3`, `stripe_m2`, `stripe_s700`, `bbpos_chipper2x`, `bbpos_wisepos_e`, `verifone_P400`, `simulated_wisepos_e`, or `mobile_phone_reader`.
|
394
332
|
sig { returns(String) }
|
395
333
|
attr_reader :device_type
|
396
|
-
|
397
334
|
# Unique identifier for the object.
|
398
335
|
sig { returns(String) }
|
399
336
|
attr_reader :id
|
400
|
-
|
401
337
|
# The local IP address of the reader.
|
402
338
|
sig { returns(T.nilable(String)) }
|
403
339
|
attr_reader :ip_address
|
404
|
-
|
405
340
|
# Custom label given to the reader for easier identification.
|
406
341
|
sig { returns(String) }
|
407
342
|
attr_reader :label
|
408
|
-
|
409
343
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
410
344
|
sig { returns(T::Boolean) }
|
411
345
|
attr_reader :livemode
|
412
|
-
|
413
346
|
# The location identifier of the reader.
|
414
347
|
sig { returns(T.nilable(T.any(String, Stripe::Terminal::Location))) }
|
415
348
|
attr_reader :location
|
416
|
-
|
417
349
|
# 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.
|
418
350
|
sig { returns(T::Hash[String, String]) }
|
419
351
|
attr_reader :metadata
|
420
|
-
|
421
352
|
# String representing the object's type. Objects of the same type share the same value.
|
422
353
|
sig { returns(String) }
|
423
354
|
attr_reader :object
|
424
|
-
|
425
355
|
# Serial number of the reader.
|
426
356
|
sig { returns(String) }
|
427
357
|
attr_reader :serial_number
|
428
|
-
|
429
358
|
# The networking status of the reader. We do not recommend using this field in flows that may block taking payments.
|
430
359
|
sig { returns(T.nilable(String)) }
|
431
360
|
attr_reader :status
|
432
|
-
|
433
361
|
# Always true for a deleted object
|
434
362
|
sig { returns(T::Boolean) }
|
435
363
|
attr_reader :deleted
|
436
|
-
|
437
364
|
class DeleteParams < Stripe::RequestParams
|
438
365
|
|
439
366
|
end
|
@@ -441,7 +368,6 @@ module Stripe
|
|
441
368
|
# Specifies which fields in the response should be expanded.
|
442
369
|
sig { returns(T::Array[String]) }
|
443
370
|
attr_accessor :expand
|
444
|
-
|
445
371
|
sig { params(expand: T::Array[String]).void }
|
446
372
|
def initialize(expand: nil); end
|
447
373
|
end
|
@@ -449,15 +375,12 @@ module Stripe
|
|
449
375
|
# Specifies which fields in the response should be expanded.
|
450
376
|
sig { returns(T::Array[String]) }
|
451
377
|
attr_accessor :expand
|
452
|
-
|
453
378
|
# The new label of the reader.
|
454
379
|
sig { returns(T.nilable(String)) }
|
455
380
|
attr_accessor :label
|
456
|
-
|
457
381
|
# 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`.
|
458
382
|
sig { returns(T.nilable(T::Hash[String, String])) }
|
459
383
|
attr_accessor :metadata
|
460
|
-
|
461
384
|
sig {
|
462
385
|
params(expand: T::Array[String], label: T.nilable(String), metadata: T.nilable(T::Hash[String, String])).void
|
463
386
|
}
|
@@ -467,35 +390,27 @@ module Stripe
|
|
467
390
|
# Filters readers by device type
|
468
391
|
sig { returns(String) }
|
469
392
|
attr_accessor :device_type
|
470
|
-
|
471
393
|
# 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.
|
472
394
|
sig { returns(String) }
|
473
395
|
attr_accessor :ending_before
|
474
|
-
|
475
396
|
# Specifies which fields in the response should be expanded.
|
476
397
|
sig { returns(T::Array[String]) }
|
477
398
|
attr_accessor :expand
|
478
|
-
|
479
399
|
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
480
400
|
sig { returns(Integer) }
|
481
401
|
attr_accessor :limit
|
482
|
-
|
483
402
|
# A location ID to filter the response list to only readers at the specific location
|
484
403
|
sig { returns(String) }
|
485
404
|
attr_accessor :location
|
486
|
-
|
487
405
|
# Filters readers by serial number
|
488
406
|
sig { returns(String) }
|
489
407
|
attr_accessor :serial_number
|
490
|
-
|
491
408
|
# 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.
|
492
409
|
sig { returns(String) }
|
493
410
|
attr_accessor :starting_after
|
494
|
-
|
495
411
|
# A status filter to filter readers to only offline or online readers
|
496
412
|
sig { returns(String) }
|
497
413
|
attr_accessor :status
|
498
|
-
|
499
414
|
sig {
|
500
415
|
params(device_type: String, ending_before: String, expand: T::Array[String], limit: Integer, location: String, serial_number: String, starting_after: String, status: String).void
|
501
416
|
}
|
@@ -514,23 +429,18 @@ module Stripe
|
|
514
429
|
# Specifies which fields in the response should be expanded.
|
515
430
|
sig { returns(T::Array[String]) }
|
516
431
|
attr_accessor :expand
|
517
|
-
|
518
432
|
# Custom label given to the reader for easier identification. If no label is specified, the registration code will be used.
|
519
433
|
sig { returns(String) }
|
520
434
|
attr_accessor :label
|
521
|
-
|
522
435
|
# The location to assign the reader to.
|
523
436
|
sig { returns(String) }
|
524
437
|
attr_accessor :location
|
525
|
-
|
526
438
|
# 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`.
|
527
439
|
sig { returns(T.nilable(T::Hash[String, String])) }
|
528
440
|
attr_accessor :metadata
|
529
|
-
|
530
441
|
# A code generated by the reader used for registering to an account.
|
531
442
|
sig { returns(String) }
|
532
443
|
attr_accessor :registration_code
|
533
|
-
|
534
444
|
sig {
|
535
445
|
params(expand: T::Array[String], label: String, location: String, metadata: T.nilable(T::Hash[String, String]), registration_code: String).void
|
536
446
|
}
|
@@ -546,7 +456,6 @@ module Stripe
|
|
546
456
|
# Specifies which fields in the response should be expanded.
|
547
457
|
sig { returns(T::Array[String]) }
|
548
458
|
attr_accessor :expand
|
549
|
-
|
550
459
|
sig { params(expand: T::Array[String]).void }
|
551
460
|
def initialize(expand: nil); end
|
552
461
|
end
|
@@ -556,19 +465,15 @@ module Stripe
|
|
556
465
|
# The description which will be displayed when collecting this input
|
557
466
|
sig { returns(String) }
|
558
467
|
attr_accessor :description
|
559
|
-
|
560
468
|
# The skip button text
|
561
469
|
sig { returns(String) }
|
562
470
|
attr_accessor :skip_button
|
563
|
-
|
564
471
|
# The submit button text
|
565
472
|
sig { returns(String) }
|
566
473
|
attr_accessor :submit_button
|
567
|
-
|
568
474
|
# The title which will be displayed when collecting this input
|
569
475
|
sig { returns(String) }
|
570
476
|
attr_accessor :title
|
571
|
-
|
572
477
|
sig {
|
573
478
|
params(description: String, skip_button: String, submit_button: String, title: String).void
|
574
479
|
}
|
@@ -579,11 +484,9 @@ module Stripe
|
|
579
484
|
# The style of the button which will be shown for this choice
|
580
485
|
sig { returns(String) }
|
581
486
|
attr_accessor :style
|
582
|
-
|
583
487
|
# The text which will be shown on the button for this choice
|
584
488
|
sig { returns(String) }
|
585
489
|
attr_accessor :value
|
586
|
-
|
587
490
|
sig { params(style: String, value: String).void }
|
588
491
|
def initialize(style: nil, value: nil); end
|
589
492
|
end
|
@@ -592,7 +495,6 @@ module Stripe
|
|
592
495
|
returns(T::Array[::Stripe::Terminal::Reader::CollectInputsParams::Input::Selection::Choice])
|
593
496
|
}
|
594
497
|
attr_accessor :choices
|
595
|
-
|
596
498
|
sig {
|
597
499
|
params(choices: T::Array[::Stripe::Terminal::Reader::CollectInputsParams::Input::Selection::Choice]).void
|
598
500
|
}
|
@@ -602,38 +504,30 @@ module Stripe
|
|
602
504
|
# The default value of the toggle
|
603
505
|
sig { returns(String) }
|
604
506
|
attr_accessor :default_value
|
605
|
-
|
606
507
|
# The description which will be displayed for the toggle
|
607
508
|
sig { returns(String) }
|
608
509
|
attr_accessor :description
|
609
|
-
|
610
510
|
# The title which will be displayed for the toggle
|
611
511
|
sig { returns(String) }
|
612
512
|
attr_accessor :title
|
613
|
-
|
614
513
|
sig { params(default_value: String, description: String, title: String).void }
|
615
514
|
def initialize(default_value: nil, description: nil, title: nil); end
|
616
515
|
end
|
617
516
|
# Customize the text which will be displayed while collecting this input
|
618
517
|
sig { returns(::Stripe::Terminal::Reader::CollectInputsParams::Input::CustomText) }
|
619
518
|
attr_accessor :custom_text
|
620
|
-
|
621
519
|
# Indicate that this input is required, disabling the skip button
|
622
520
|
sig { returns(T::Boolean) }
|
623
521
|
attr_accessor :required
|
624
|
-
|
625
522
|
# Options for the `selection` input
|
626
523
|
sig { returns(::Stripe::Terminal::Reader::CollectInputsParams::Input::Selection) }
|
627
524
|
attr_accessor :selection
|
628
|
-
|
629
525
|
# List of toggles to be displayed and customization for the toggles
|
630
526
|
sig { returns(T::Array[::Stripe::Terminal::Reader::CollectInputsParams::Input::Toggle]) }
|
631
527
|
attr_accessor :toggles
|
632
|
-
|
633
528
|
# The type of input to collect
|
634
529
|
sig { returns(String) }
|
635
530
|
attr_accessor :type
|
636
|
-
|
637
531
|
sig {
|
638
532
|
params(custom_text: ::Stripe::Terminal::Reader::CollectInputsParams::Input::CustomText, required: T::Boolean, selection: ::Stripe::Terminal::Reader::CollectInputsParams::Input::Selection, toggles: T::Array[::Stripe::Terminal::Reader::CollectInputsParams::Input::Toggle], type: String).void
|
639
533
|
}
|
@@ -648,15 +542,12 @@ module Stripe
|
|
648
542
|
# Specifies which fields in the response should be expanded.
|
649
543
|
sig { returns(T::Array[String]) }
|
650
544
|
attr_accessor :expand
|
651
|
-
|
652
545
|
# List of inputs to be collected using the Reader
|
653
546
|
sig { returns(T::Array[::Stripe::Terminal::Reader::CollectInputsParams::Input]) }
|
654
547
|
attr_accessor :inputs
|
655
|
-
|
656
548
|
# 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`.
|
657
549
|
sig { returns(T::Hash[String, String]) }
|
658
550
|
attr_accessor :metadata
|
659
|
-
|
660
551
|
sig {
|
661
552
|
params(expand: T::Array[String], inputs: T::Array[::Stripe::Terminal::Reader::CollectInputsParams::Input], metadata: T::Hash[String, String]).void
|
662
553
|
}
|
@@ -668,28 +559,23 @@ module Stripe
|
|
668
559
|
# Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency).
|
669
560
|
sig { returns(Integer) }
|
670
561
|
attr_accessor :amount_eligible
|
671
|
-
|
672
562
|
sig { params(amount_eligible: Integer).void }
|
673
563
|
def initialize(amount_eligible: nil); end
|
674
564
|
end
|
675
565
|
# 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.
|
676
566
|
sig { returns(String) }
|
677
567
|
attr_accessor :allow_redisplay
|
678
|
-
|
679
568
|
# Enables cancel button on transaction screens.
|
680
569
|
sig { returns(T::Boolean) }
|
681
570
|
attr_accessor :enable_customer_cancellation
|
682
|
-
|
683
571
|
# Override showing a tipping selection screen on this transaction.
|
684
572
|
sig { returns(T::Boolean) }
|
685
573
|
attr_accessor :skip_tipping
|
686
|
-
|
687
574
|
# Tipping configuration for this transaction.
|
688
575
|
sig {
|
689
576
|
returns(::Stripe::Terminal::Reader::CollectPaymentMethodParams::CollectConfig::Tipping)
|
690
577
|
}
|
691
578
|
attr_accessor :tipping
|
692
|
-
|
693
579
|
sig {
|
694
580
|
params(allow_redisplay: String, enable_customer_cancellation: T::Boolean, skip_tipping: T::Boolean, tipping: ::Stripe::Terminal::Reader::CollectPaymentMethodParams::CollectConfig::Tipping).void
|
695
581
|
}
|
@@ -703,15 +589,12 @@ module Stripe
|
|
703
589
|
# Configuration overrides
|
704
590
|
sig { returns(::Stripe::Terminal::Reader::CollectPaymentMethodParams::CollectConfig) }
|
705
591
|
attr_accessor :collect_config
|
706
|
-
|
707
592
|
# Specifies which fields in the response should be expanded.
|
708
593
|
sig { returns(T::Array[String]) }
|
709
594
|
attr_accessor :expand
|
710
|
-
|
711
595
|
# PaymentIntent ID
|
712
596
|
sig { returns(String) }
|
713
597
|
attr_accessor :payment_intent
|
714
|
-
|
715
598
|
sig {
|
716
599
|
params(collect_config: ::Stripe::Terminal::Reader::CollectPaymentMethodParams::CollectConfig, expand: T::Array[String], payment_intent: String).void
|
717
600
|
}
|
@@ -721,11 +604,9 @@ module Stripe
|
|
721
604
|
# Specifies which fields in the response should be expanded.
|
722
605
|
sig { returns(T::Array[String]) }
|
723
606
|
attr_accessor :expand
|
724
|
-
|
725
607
|
# PaymentIntent ID
|
726
608
|
sig { returns(String) }
|
727
609
|
attr_accessor :payment_intent
|
728
|
-
|
729
610
|
sig { params(expand: T::Array[String], payment_intent: String).void }
|
730
611
|
def initialize(expand: nil, payment_intent: nil); end
|
731
612
|
end
|
@@ -735,28 +616,23 @@ module Stripe
|
|
735
616
|
# Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency).
|
736
617
|
sig { returns(Integer) }
|
737
618
|
attr_accessor :amount_eligible
|
738
|
-
|
739
619
|
sig { params(amount_eligible: Integer).void }
|
740
620
|
def initialize(amount_eligible: nil); end
|
741
621
|
end
|
742
622
|
# 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.
|
743
623
|
sig { returns(String) }
|
744
624
|
attr_accessor :allow_redisplay
|
745
|
-
|
746
625
|
# Enables cancel button on transaction screens.
|
747
626
|
sig { returns(T::Boolean) }
|
748
627
|
attr_accessor :enable_customer_cancellation
|
749
|
-
|
750
628
|
# Override showing a tipping selection screen on this transaction.
|
751
629
|
sig { returns(T::Boolean) }
|
752
630
|
attr_accessor :skip_tipping
|
753
|
-
|
754
631
|
# Tipping configuration for this transaction.
|
755
632
|
sig {
|
756
633
|
returns(::Stripe::Terminal::Reader::ProcessPaymentIntentParams::ProcessConfig::Tipping)
|
757
634
|
}
|
758
635
|
attr_accessor :tipping
|
759
|
-
|
760
636
|
sig {
|
761
637
|
params(allow_redisplay: String, enable_customer_cancellation: T::Boolean, skip_tipping: T::Boolean, tipping: ::Stripe::Terminal::Reader::ProcessPaymentIntentParams::ProcessConfig::Tipping).void
|
762
638
|
}
|
@@ -770,15 +646,12 @@ module Stripe
|
|
770
646
|
# Specifies which fields in the response should be expanded.
|
771
647
|
sig { returns(T::Array[String]) }
|
772
648
|
attr_accessor :expand
|
773
|
-
|
774
649
|
# PaymentIntent ID
|
775
650
|
sig { returns(String) }
|
776
651
|
attr_accessor :payment_intent
|
777
|
-
|
778
652
|
# Configuration overrides
|
779
653
|
sig { returns(::Stripe::Terminal::Reader::ProcessPaymentIntentParams::ProcessConfig) }
|
780
654
|
attr_accessor :process_config
|
781
|
-
|
782
655
|
sig {
|
783
656
|
params(expand: T::Array[String], payment_intent: String, process_config: ::Stripe::Terminal::Reader::ProcessPaymentIntentParams::ProcessConfig).void
|
784
657
|
}
|
@@ -789,26 +662,21 @@ module Stripe
|
|
789
662
|
# Enables cancel button on transaction screens.
|
790
663
|
sig { returns(T::Boolean) }
|
791
664
|
attr_accessor :enable_customer_cancellation
|
792
|
-
|
793
665
|
sig { params(enable_customer_cancellation: T::Boolean).void }
|
794
666
|
def initialize(enable_customer_cancellation: nil); end
|
795
667
|
end
|
796
668
|
# 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.
|
797
669
|
sig { returns(String) }
|
798
670
|
attr_accessor :allow_redisplay
|
799
|
-
|
800
671
|
# Specifies which fields in the response should be expanded.
|
801
672
|
sig { returns(T::Array[String]) }
|
802
673
|
attr_accessor :expand
|
803
|
-
|
804
674
|
# Configuration overrides
|
805
675
|
sig { returns(::Stripe::Terminal::Reader::ProcessSetupIntentParams::ProcessConfig) }
|
806
676
|
attr_accessor :process_config
|
807
|
-
|
808
677
|
# SetupIntent ID
|
809
678
|
sig { returns(String) }
|
810
679
|
attr_accessor :setup_intent
|
811
|
-
|
812
680
|
sig {
|
813
681
|
params(allow_redisplay: String, expand: T::Array[String], process_config: ::Stripe::Terminal::Reader::ProcessSetupIntentParams::ProcessConfig, setup_intent: String).void
|
814
682
|
}
|
@@ -824,42 +692,33 @@ module Stripe
|
|
824
692
|
# Enables cancel button on transaction screens.
|
825
693
|
sig { returns(T::Boolean) }
|
826
694
|
attr_accessor :enable_customer_cancellation
|
827
|
-
|
828
695
|
sig { params(enable_customer_cancellation: T::Boolean).void }
|
829
696
|
def initialize(enable_customer_cancellation: nil); end
|
830
697
|
end
|
831
698
|
# A positive integer in __cents__ representing how much of this charge to refund.
|
832
699
|
sig { returns(Integer) }
|
833
700
|
attr_accessor :amount
|
834
|
-
|
835
701
|
# ID of the Charge to refund.
|
836
702
|
sig { returns(String) }
|
837
703
|
attr_accessor :charge
|
838
|
-
|
839
704
|
# Specifies which fields in the response should be expanded.
|
840
705
|
sig { returns(T::Array[String]) }
|
841
706
|
attr_accessor :expand
|
842
|
-
|
843
707
|
# 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`.
|
844
708
|
sig { returns(T::Hash[String, String]) }
|
845
709
|
attr_accessor :metadata
|
846
|
-
|
847
710
|
# ID of the PaymentIntent to refund.
|
848
711
|
sig { returns(String) }
|
849
712
|
attr_accessor :payment_intent
|
850
|
-
|
851
713
|
# Boolean indicating whether the application fee should be refunded when refunding this charge. If a full charge refund is given, the full application fee will be refunded. Otherwise, the application fee will be refunded in an amount proportional to the amount of the charge refunded. An application fee can be refunded only by the application that created the charge.
|
852
714
|
sig { returns(T::Boolean) }
|
853
715
|
attr_accessor :refund_application_fee
|
854
|
-
|
855
716
|
# Configuration overrides
|
856
717
|
sig { returns(::Stripe::Terminal::Reader::RefundPaymentParams::RefundPaymentConfig) }
|
857
718
|
attr_accessor :refund_payment_config
|
858
|
-
|
859
719
|
# Boolean indicating whether the transfer should be reversed when refunding this charge. The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount). A transfer can be reversed only by the application that created the charge.
|
860
720
|
sig { returns(T::Boolean) }
|
861
721
|
attr_accessor :reverse_transfer
|
862
|
-
|
863
722
|
sig {
|
864
723
|
params(amount: Integer, charge: String, expand: T::Array[String], metadata: T::Hash[String, String], payment_intent: String, refund_application_fee: T::Boolean, refund_payment_config: ::Stripe::Terminal::Reader::RefundPaymentParams::RefundPaymentConfig, reverse_transfer: T::Boolean).void
|
865
724
|
}
|
@@ -880,36 +739,29 @@ module Stripe
|
|
880
739
|
# The price of the item in cents.
|
881
740
|
sig { returns(Integer) }
|
882
741
|
attr_accessor :amount
|
883
|
-
|
884
742
|
# The description or name of the item.
|
885
743
|
sig { returns(String) }
|
886
744
|
attr_accessor :description
|
887
|
-
|
888
745
|
# The quantity of the line item being purchased.
|
889
746
|
sig { returns(Integer) }
|
890
747
|
attr_accessor :quantity
|
891
|
-
|
892
748
|
sig { params(amount: Integer, description: String, quantity: Integer).void }
|
893
749
|
def initialize(amount: nil, description: nil, quantity: nil); end
|
894
750
|
end
|
895
751
|
# 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).
|
896
752
|
sig { returns(String) }
|
897
753
|
attr_accessor :currency
|
898
|
-
|
899
754
|
# Array of line items that were purchased.
|
900
755
|
sig {
|
901
756
|
returns(T::Array[::Stripe::Terminal::Reader::SetReaderDisplayParams::Cart::LineItem])
|
902
757
|
}
|
903
758
|
attr_accessor :line_items
|
904
|
-
|
905
759
|
# The amount of tax in cents.
|
906
760
|
sig { returns(Integer) }
|
907
761
|
attr_accessor :tax
|
908
|
-
|
909
762
|
# Total balance of cart due in cents.
|
910
763
|
sig { returns(Integer) }
|
911
764
|
attr_accessor :total
|
912
|
-
|
913
765
|
sig {
|
914
766
|
params(currency: String, line_items: T::Array[::Stripe::Terminal::Reader::SetReaderDisplayParams::Cart::LineItem], tax: Integer, total: Integer).void
|
915
767
|
}
|
@@ -918,15 +770,12 @@ module Stripe
|
|
918
770
|
# Cart
|
919
771
|
sig { returns(::Stripe::Terminal::Reader::SetReaderDisplayParams::Cart) }
|
920
772
|
attr_accessor :cart
|
921
|
-
|
922
773
|
# Specifies which fields in the response should be expanded.
|
923
774
|
sig { returns(T::Array[String]) }
|
924
775
|
attr_accessor :expand
|
925
|
-
|
926
776
|
# Type
|
927
777
|
sig { returns(String) }
|
928
778
|
attr_accessor :type
|
929
|
-
|
930
779
|
sig {
|
931
780
|
params(cart: ::Stripe::Terminal::Reader::SetReaderDisplayParams::Cart, expand: T::Array[String], type: String).void
|
932
781
|
}
|
@@ -937,7 +786,6 @@ module Stripe
|
|
937
786
|
# The card number, as a string without any separators.
|
938
787
|
sig { returns(String) }
|
939
788
|
attr_accessor :number
|
940
|
-
|
941
789
|
sig { params(number: String).void }
|
942
790
|
def initialize(number: nil); end
|
943
791
|
end
|
@@ -945,30 +793,24 @@ module Stripe
|
|
945
793
|
# Card Number
|
946
794
|
sig { returns(String) }
|
947
795
|
attr_accessor :number
|
948
|
-
|
949
796
|
sig { params(number: String).void }
|
950
797
|
def initialize(number: nil); end
|
951
798
|
end
|
952
799
|
# Simulated on-reader tip amount.
|
953
800
|
sig { returns(Integer) }
|
954
801
|
attr_accessor :amount_tip
|
955
|
-
|
956
802
|
# Simulated data for the card_present payment method.
|
957
803
|
sig { returns(::Stripe::Terminal::Reader::PresentPaymentMethodParams::CardPresent) }
|
958
804
|
attr_accessor :card_present
|
959
|
-
|
960
805
|
# Specifies which fields in the response should be expanded.
|
961
806
|
sig { returns(T::Array[String]) }
|
962
807
|
attr_accessor :expand
|
963
|
-
|
964
808
|
# Simulated data for the interac_present payment method.
|
965
809
|
sig { returns(::Stripe::Terminal::Reader::PresentPaymentMethodParams::InteracPresent) }
|
966
810
|
attr_accessor :interac_present
|
967
|
-
|
968
811
|
# Simulated payment type.
|
969
812
|
sig { returns(String) }
|
970
813
|
attr_accessor :type
|
971
|
-
|
972
814
|
sig {
|
973
815
|
params(amount_tip: Integer, card_present: ::Stripe::Terminal::Reader::PresentPaymentMethodParams::CardPresent, expand: T::Array[String], interac_present: ::Stripe::Terminal::Reader::PresentPaymentMethodParams::InteracPresent, type: String).void
|
974
816
|
}
|