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
@@ -18,31 +18,24 @@ module Stripe
|
|
18
18
|
# Attribute for field account_number
|
19
19
|
sig { returns(T.nilable(String)) }
|
20
20
|
attr_reader :account_number
|
21
|
-
|
22
21
|
# Attribute for field bank_name
|
23
22
|
sig { returns(T.nilable(String)) }
|
24
23
|
attr_reader :bank_name
|
25
|
-
|
26
24
|
# Attribute for field fingerprint
|
27
25
|
sig { returns(T.nilable(String)) }
|
28
26
|
attr_reader :fingerprint
|
29
|
-
|
30
27
|
# Attribute for field refund_account_holder_name
|
31
28
|
sig { returns(T.nilable(String)) }
|
32
29
|
attr_reader :refund_account_holder_name
|
33
|
-
|
34
30
|
# Attribute for field refund_account_holder_type
|
35
31
|
sig { returns(T.nilable(String)) }
|
36
32
|
attr_reader :refund_account_holder_type
|
37
|
-
|
38
33
|
# Attribute for field refund_routing_number
|
39
34
|
sig { returns(T.nilable(String)) }
|
40
35
|
attr_reader :refund_routing_number
|
41
|
-
|
42
36
|
# Attribute for field routing_number
|
43
37
|
sig { returns(T.nilable(String)) }
|
44
38
|
attr_reader :routing_number
|
45
|
-
|
46
39
|
# Attribute for field swift_code
|
47
40
|
sig { returns(T.nilable(String)) }
|
48
41
|
attr_reader :swift_code
|
@@ -51,23 +44,18 @@ module Stripe
|
|
51
44
|
# Attribute for field bank_name
|
52
45
|
sig { returns(T.nilable(String)) }
|
53
46
|
attr_reader :bank_name
|
54
|
-
|
55
47
|
# Attribute for field country
|
56
48
|
sig { returns(T.nilable(String)) }
|
57
49
|
attr_reader :country
|
58
|
-
|
59
50
|
# Attribute for field fingerprint
|
60
51
|
sig { returns(T.nilable(String)) }
|
61
52
|
attr_reader :fingerprint
|
62
|
-
|
63
53
|
# Attribute for field last4
|
64
54
|
sig { returns(T.nilable(String)) }
|
65
55
|
attr_reader :last4
|
66
|
-
|
67
56
|
# Attribute for field routing_number
|
68
57
|
sig { returns(T.nilable(String)) }
|
69
58
|
attr_reader :routing_number
|
70
|
-
|
71
59
|
# Attribute for field type
|
72
60
|
sig { returns(T.nilable(String)) }
|
73
61
|
attr_reader :type
|
@@ -76,39 +64,30 @@ module Stripe
|
|
76
64
|
# Attribute for field bank_address_city
|
77
65
|
sig { returns(T.nilable(String)) }
|
78
66
|
attr_reader :bank_address_city
|
79
|
-
|
80
67
|
# Attribute for field bank_address_line_1
|
81
68
|
sig { returns(T.nilable(String)) }
|
82
69
|
attr_reader :bank_address_line_1
|
83
|
-
|
84
70
|
# Attribute for field bank_address_line_2
|
85
71
|
sig { returns(T.nilable(String)) }
|
86
72
|
attr_reader :bank_address_line_2
|
87
|
-
|
88
73
|
# Attribute for field bank_address_postal_code
|
89
74
|
sig { returns(T.nilable(String)) }
|
90
75
|
attr_reader :bank_address_postal_code
|
91
|
-
|
92
76
|
# Attribute for field bank_name
|
93
77
|
sig { returns(T.nilable(String)) }
|
94
78
|
attr_reader :bank_name
|
95
|
-
|
96
79
|
# Attribute for field category
|
97
80
|
sig { returns(T.nilable(String)) }
|
98
81
|
attr_reader :category
|
99
|
-
|
100
82
|
# Attribute for field country
|
101
83
|
sig { returns(T.nilable(String)) }
|
102
84
|
attr_reader :country
|
103
|
-
|
104
85
|
# Attribute for field fingerprint
|
105
86
|
sig { returns(T.nilable(String)) }
|
106
87
|
attr_reader :fingerprint
|
107
|
-
|
108
88
|
# Attribute for field last4
|
109
89
|
sig { returns(T.nilable(String)) }
|
110
90
|
attr_reader :last4
|
111
|
-
|
112
91
|
# Attribute for field routing_number
|
113
92
|
sig { returns(T.nilable(String)) }
|
114
93
|
attr_reader :routing_number
|
@@ -117,11 +96,9 @@ module Stripe
|
|
117
96
|
# Attribute for field data_string
|
118
97
|
sig { returns(T.nilable(String)) }
|
119
98
|
attr_reader :data_string
|
120
|
-
|
121
99
|
# Attribute for field native_url
|
122
100
|
sig { returns(T.nilable(String)) }
|
123
101
|
attr_reader :native_url
|
124
|
-
|
125
102
|
# Attribute for field statement_descriptor
|
126
103
|
sig { returns(T.nilable(String)) }
|
127
104
|
attr_reader :statement_descriptor
|
@@ -130,11 +107,9 @@ module Stripe
|
|
130
107
|
# Attribute for field bsb_number
|
131
108
|
sig { returns(T.nilable(String)) }
|
132
109
|
attr_reader :bsb_number
|
133
|
-
|
134
110
|
# Attribute for field fingerprint
|
135
111
|
sig { returns(T.nilable(String)) }
|
136
112
|
attr_reader :fingerprint
|
137
|
-
|
138
113
|
# Attribute for field last4
|
139
114
|
sig { returns(T.nilable(String)) }
|
140
115
|
attr_reader :last4
|
@@ -143,23 +118,18 @@ module Stripe
|
|
143
118
|
# Attribute for field bank_code
|
144
119
|
sig { returns(T.nilable(String)) }
|
145
120
|
attr_reader :bank_code
|
146
|
-
|
147
121
|
# Attribute for field bank_name
|
148
122
|
sig { returns(T.nilable(String)) }
|
149
123
|
attr_reader :bank_name
|
150
|
-
|
151
124
|
# Attribute for field bic
|
152
125
|
sig { returns(T.nilable(String)) }
|
153
126
|
attr_reader :bic
|
154
|
-
|
155
127
|
# Attribute for field iban_last4
|
156
128
|
sig { returns(T.nilable(String)) }
|
157
129
|
attr_reader :iban_last4
|
158
|
-
|
159
130
|
# Attribute for field preferred_language
|
160
131
|
sig { returns(T.nilable(String)) }
|
161
132
|
attr_reader :preferred_language
|
162
|
-
|
163
133
|
# Attribute for field statement_descriptor
|
164
134
|
sig { returns(T.nilable(String)) }
|
165
135
|
attr_reader :statement_descriptor
|
@@ -168,67 +138,54 @@ module Stripe
|
|
168
138
|
# Attribute for field address_line1_check
|
169
139
|
sig { returns(T.nilable(String)) }
|
170
140
|
attr_reader :address_line1_check
|
171
|
-
|
172
141
|
# Attribute for field address_zip_check
|
173
142
|
sig { returns(T.nilable(String)) }
|
174
143
|
attr_reader :address_zip_check
|
175
|
-
|
176
144
|
# Attribute for field brand
|
177
145
|
sig { returns(T.nilable(String)) }
|
178
146
|
attr_reader :brand
|
179
|
-
|
147
|
+
# Attribute for field brand_product
|
148
|
+
sig { returns(T.nilable(String)) }
|
149
|
+
attr_reader :brand_product
|
180
150
|
# Attribute for field country
|
181
151
|
sig { returns(T.nilable(String)) }
|
182
152
|
attr_reader :country
|
183
|
-
|
184
153
|
# Attribute for field cvc_check
|
185
154
|
sig { returns(T.nilable(String)) }
|
186
155
|
attr_reader :cvc_check
|
187
|
-
|
188
156
|
# Attribute for field description
|
189
157
|
sig { returns(String) }
|
190
158
|
attr_reader :description
|
191
|
-
|
192
159
|
# Attribute for field dynamic_last4
|
193
160
|
sig { returns(T.nilable(String)) }
|
194
161
|
attr_reader :dynamic_last4
|
195
|
-
|
196
162
|
# Attribute for field exp_month
|
197
163
|
sig { returns(T.nilable(Integer)) }
|
198
164
|
attr_reader :exp_month
|
199
|
-
|
200
165
|
# Attribute for field exp_year
|
201
166
|
sig { returns(T.nilable(Integer)) }
|
202
167
|
attr_reader :exp_year
|
203
|
-
|
204
168
|
# Attribute for field fingerprint
|
205
169
|
sig { returns(String) }
|
206
170
|
attr_reader :fingerprint
|
207
|
-
|
208
171
|
# Attribute for field funding
|
209
172
|
sig { returns(T.nilable(String)) }
|
210
173
|
attr_reader :funding
|
211
|
-
|
212
174
|
# Attribute for field iin
|
213
175
|
sig { returns(String) }
|
214
176
|
attr_reader :iin
|
215
|
-
|
216
177
|
# Attribute for field issuer
|
217
178
|
sig { returns(String) }
|
218
179
|
attr_reader :issuer
|
219
|
-
|
220
180
|
# Attribute for field last4
|
221
181
|
sig { returns(T.nilable(String)) }
|
222
182
|
attr_reader :last4
|
223
|
-
|
224
183
|
# Attribute for field name
|
225
184
|
sig { returns(T.nilable(String)) }
|
226
185
|
attr_reader :name
|
227
|
-
|
228
186
|
# Attribute for field three_d_secure
|
229
187
|
sig { returns(String) }
|
230
188
|
attr_reader :three_d_secure
|
231
|
-
|
232
189
|
# Attribute for field tokenization_method
|
233
190
|
sig { returns(T.nilable(String)) }
|
234
191
|
attr_reader :tokenization_method
|
@@ -237,103 +194,81 @@ module Stripe
|
|
237
194
|
# Attribute for field application_cryptogram
|
238
195
|
sig { returns(String) }
|
239
196
|
attr_reader :application_cryptogram
|
240
|
-
|
241
197
|
# Attribute for field application_preferred_name
|
242
198
|
sig { returns(String) }
|
243
199
|
attr_reader :application_preferred_name
|
244
|
-
|
245
200
|
# Attribute for field authorization_code
|
246
201
|
sig { returns(T.nilable(String)) }
|
247
202
|
attr_reader :authorization_code
|
248
|
-
|
249
203
|
# Attribute for field authorization_response_code
|
250
204
|
sig { returns(String) }
|
251
205
|
attr_reader :authorization_response_code
|
252
|
-
|
253
206
|
# Attribute for field brand
|
254
207
|
sig { returns(T.nilable(String)) }
|
255
208
|
attr_reader :brand
|
256
|
-
|
209
|
+
# Attribute for field brand_product
|
210
|
+
sig { returns(T.nilable(String)) }
|
211
|
+
attr_reader :brand_product
|
257
212
|
# Attribute for field country
|
258
213
|
sig { returns(T.nilable(String)) }
|
259
214
|
attr_reader :country
|
260
|
-
|
261
215
|
# Attribute for field cvm_type
|
262
216
|
sig { returns(String) }
|
263
217
|
attr_reader :cvm_type
|
264
|
-
|
265
218
|
# Attribute for field data_type
|
266
219
|
sig { returns(T.nilable(String)) }
|
267
220
|
attr_reader :data_type
|
268
|
-
|
269
221
|
# Attribute for field dedicated_file_name
|
270
222
|
sig { returns(String) }
|
271
223
|
attr_reader :dedicated_file_name
|
272
|
-
|
273
224
|
# Attribute for field description
|
274
225
|
sig { returns(String) }
|
275
226
|
attr_reader :description
|
276
|
-
|
277
227
|
# Attribute for field emv_auth_data
|
278
228
|
sig { returns(String) }
|
279
229
|
attr_reader :emv_auth_data
|
280
|
-
|
281
230
|
# Attribute for field evidence_customer_signature
|
282
231
|
sig { returns(T.nilable(String)) }
|
283
232
|
attr_reader :evidence_customer_signature
|
284
|
-
|
285
233
|
# Attribute for field evidence_transaction_certificate
|
286
234
|
sig { returns(T.nilable(String)) }
|
287
235
|
attr_reader :evidence_transaction_certificate
|
288
|
-
|
289
236
|
# Attribute for field exp_month
|
290
237
|
sig { returns(T.nilable(Integer)) }
|
291
238
|
attr_reader :exp_month
|
292
|
-
|
293
239
|
# Attribute for field exp_year
|
294
240
|
sig { returns(T.nilable(Integer)) }
|
295
241
|
attr_reader :exp_year
|
296
|
-
|
297
242
|
# Attribute for field fingerprint
|
298
243
|
sig { returns(String) }
|
299
244
|
attr_reader :fingerprint
|
300
|
-
|
301
245
|
# Attribute for field funding
|
302
246
|
sig { returns(T.nilable(String)) }
|
303
247
|
attr_reader :funding
|
304
|
-
|
305
248
|
# Attribute for field iin
|
306
249
|
sig { returns(String) }
|
307
250
|
attr_reader :iin
|
308
|
-
|
309
251
|
# Attribute for field issuer
|
310
252
|
sig { returns(String) }
|
311
253
|
attr_reader :issuer
|
312
|
-
|
313
254
|
# Attribute for field last4
|
314
255
|
sig { returns(T.nilable(String)) }
|
315
256
|
attr_reader :last4
|
316
|
-
|
317
257
|
# Attribute for field pos_device_id
|
318
258
|
sig { returns(T.nilable(String)) }
|
319
259
|
attr_reader :pos_device_id
|
320
|
-
|
321
260
|
# Attribute for field pos_entry_mode
|
322
261
|
sig { returns(String) }
|
323
262
|
attr_reader :pos_entry_mode
|
324
|
-
|
325
263
|
# Attribute for field read_method
|
326
264
|
sig { returns(T.nilable(String)) }
|
327
265
|
attr_reader :read_method
|
328
|
-
|
329
266
|
# Attribute for field reader
|
330
267
|
sig { returns(T.nilable(String)) }
|
331
268
|
attr_reader :reader
|
332
|
-
|
333
269
|
# Attribute for field terminal_verification_results
|
334
270
|
sig { returns(String) }
|
335
271
|
attr_reader :terminal_verification_results
|
336
|
-
|
337
272
|
# Attribute for field transaction_status_information
|
338
273
|
sig { returns(String) }
|
339
274
|
attr_reader :transaction_status_information
|
@@ -342,7 +277,6 @@ module Stripe
|
|
342
277
|
# The number of attempts remaining to authenticate the source object with a verification code.
|
343
278
|
sig { returns(Integer) }
|
344
279
|
attr_reader :attempts_remaining
|
345
|
-
|
346
280
|
# The status of the code verification, either `pending` (awaiting verification, `attempts_remaining` should be greater than 0), `succeeded` (successful verification) or `failed` (failed verification, cannot be verified anymore as `attempts_remaining` should be 0).
|
347
281
|
sig { returns(String) }
|
348
282
|
attr_reader :status
|
@@ -351,7 +285,6 @@ module Stripe
|
|
351
285
|
# Attribute for field reference
|
352
286
|
sig { returns(T.nilable(String)) }
|
353
287
|
attr_reader :reference
|
354
|
-
|
355
288
|
# Attribute for field statement_descriptor
|
356
289
|
sig { returns(T.nilable(String)) }
|
357
290
|
attr_reader :statement_descriptor
|
@@ -360,15 +293,12 @@ module Stripe
|
|
360
293
|
# Attribute for field bank_code
|
361
294
|
sig { returns(T.nilable(String)) }
|
362
295
|
attr_reader :bank_code
|
363
|
-
|
364
296
|
# Attribute for field bank_name
|
365
297
|
sig { returns(T.nilable(String)) }
|
366
298
|
attr_reader :bank_name
|
367
|
-
|
368
299
|
# Attribute for field bic
|
369
300
|
sig { returns(T.nilable(String)) }
|
370
301
|
attr_reader :bic
|
371
|
-
|
372
302
|
# Attribute for field statement_descriptor
|
373
303
|
sig { returns(T.nilable(String)) }
|
374
304
|
attr_reader :statement_descriptor
|
@@ -377,15 +307,12 @@ module Stripe
|
|
377
307
|
# Attribute for field bank
|
378
308
|
sig { returns(T.nilable(String)) }
|
379
309
|
attr_reader :bank
|
380
|
-
|
381
310
|
# Attribute for field bic
|
382
311
|
sig { returns(T.nilable(String)) }
|
383
312
|
attr_reader :bic
|
384
|
-
|
385
313
|
# Attribute for field iban_last4
|
386
314
|
sig { returns(T.nilable(String)) }
|
387
315
|
attr_reader :iban_last4
|
388
|
-
|
389
316
|
# Attribute for field statement_descriptor
|
390
317
|
sig { returns(T.nilable(String)) }
|
391
318
|
attr_reader :statement_descriptor
|
@@ -394,103 +321,78 @@ module Stripe
|
|
394
321
|
# Attribute for field background_image_url
|
395
322
|
sig { returns(String) }
|
396
323
|
attr_reader :background_image_url
|
397
|
-
|
398
324
|
# Attribute for field client_token
|
399
325
|
sig { returns(T.nilable(String)) }
|
400
326
|
attr_reader :client_token
|
401
|
-
|
402
327
|
# Attribute for field first_name
|
403
328
|
sig { returns(String) }
|
404
329
|
attr_reader :first_name
|
405
|
-
|
406
330
|
# Attribute for field last_name
|
407
331
|
sig { returns(String) }
|
408
332
|
attr_reader :last_name
|
409
|
-
|
410
333
|
# Attribute for field locale
|
411
334
|
sig { returns(String) }
|
412
335
|
attr_reader :locale
|
413
|
-
|
414
336
|
# Attribute for field logo_url
|
415
337
|
sig { returns(String) }
|
416
338
|
attr_reader :logo_url
|
417
|
-
|
418
339
|
# Attribute for field page_title
|
419
340
|
sig { returns(String) }
|
420
341
|
attr_reader :page_title
|
421
|
-
|
422
342
|
# Attribute for field pay_later_asset_urls_descriptive
|
423
343
|
sig { returns(String) }
|
424
344
|
attr_reader :pay_later_asset_urls_descriptive
|
425
|
-
|
426
345
|
# Attribute for field pay_later_asset_urls_standard
|
427
346
|
sig { returns(String) }
|
428
347
|
attr_reader :pay_later_asset_urls_standard
|
429
|
-
|
430
348
|
# Attribute for field pay_later_name
|
431
349
|
sig { returns(String) }
|
432
350
|
attr_reader :pay_later_name
|
433
|
-
|
434
351
|
# Attribute for field pay_later_redirect_url
|
435
352
|
sig { returns(String) }
|
436
353
|
attr_reader :pay_later_redirect_url
|
437
|
-
|
438
354
|
# Attribute for field pay_now_asset_urls_descriptive
|
439
355
|
sig { returns(String) }
|
440
356
|
attr_reader :pay_now_asset_urls_descriptive
|
441
|
-
|
442
357
|
# Attribute for field pay_now_asset_urls_standard
|
443
358
|
sig { returns(String) }
|
444
359
|
attr_reader :pay_now_asset_urls_standard
|
445
|
-
|
446
360
|
# Attribute for field pay_now_name
|
447
361
|
sig { returns(String) }
|
448
362
|
attr_reader :pay_now_name
|
449
|
-
|
450
363
|
# Attribute for field pay_now_redirect_url
|
451
364
|
sig { returns(String) }
|
452
365
|
attr_reader :pay_now_redirect_url
|
453
|
-
|
454
366
|
# Attribute for field pay_over_time_asset_urls_descriptive
|
455
367
|
sig { returns(String) }
|
456
368
|
attr_reader :pay_over_time_asset_urls_descriptive
|
457
|
-
|
458
369
|
# Attribute for field pay_over_time_asset_urls_standard
|
459
370
|
sig { returns(String) }
|
460
371
|
attr_reader :pay_over_time_asset_urls_standard
|
461
|
-
|
462
372
|
# Attribute for field pay_over_time_name
|
463
373
|
sig { returns(String) }
|
464
374
|
attr_reader :pay_over_time_name
|
465
|
-
|
466
375
|
# Attribute for field pay_over_time_redirect_url
|
467
376
|
sig { returns(String) }
|
468
377
|
attr_reader :pay_over_time_redirect_url
|
469
|
-
|
470
378
|
# Attribute for field payment_method_categories
|
471
379
|
sig { returns(String) }
|
472
380
|
attr_reader :payment_method_categories
|
473
|
-
|
474
381
|
# Attribute for field purchase_country
|
475
382
|
sig { returns(String) }
|
476
383
|
attr_reader :purchase_country
|
477
|
-
|
478
384
|
# Attribute for field purchase_type
|
479
385
|
sig { returns(String) }
|
480
386
|
attr_reader :purchase_type
|
481
|
-
|
482
387
|
# Attribute for field redirect_url
|
483
388
|
sig { returns(String) }
|
484
389
|
attr_reader :redirect_url
|
485
|
-
|
486
390
|
# Attribute for field shipping_delay
|
487
391
|
sig { returns(Integer) }
|
488
392
|
attr_reader :shipping_delay
|
489
|
-
|
490
393
|
# Attribute for field shipping_first_name
|
491
394
|
sig { returns(String) }
|
492
395
|
attr_reader :shipping_first_name
|
493
|
-
|
494
396
|
# Attribute for field shipping_last_name
|
495
397
|
sig { returns(String) }
|
496
398
|
attr_reader :shipping_last_name
|
@@ -499,39 +401,30 @@ module Stripe
|
|
499
401
|
# Attribute for field entity
|
500
402
|
sig { returns(T.nilable(String)) }
|
501
403
|
attr_reader :entity
|
502
|
-
|
503
404
|
# Attribute for field reference
|
504
405
|
sig { returns(T.nilable(String)) }
|
505
406
|
attr_reader :reference
|
506
|
-
|
507
407
|
# Attribute for field refund_account_holder_address_city
|
508
408
|
sig { returns(T.nilable(String)) }
|
509
409
|
attr_reader :refund_account_holder_address_city
|
510
|
-
|
511
410
|
# Attribute for field refund_account_holder_address_country
|
512
411
|
sig { returns(T.nilable(String)) }
|
513
412
|
attr_reader :refund_account_holder_address_country
|
514
|
-
|
515
413
|
# Attribute for field refund_account_holder_address_line1
|
516
414
|
sig { returns(T.nilable(String)) }
|
517
415
|
attr_reader :refund_account_holder_address_line1
|
518
|
-
|
519
416
|
# Attribute for field refund_account_holder_address_line2
|
520
417
|
sig { returns(T.nilable(String)) }
|
521
418
|
attr_reader :refund_account_holder_address_line2
|
522
|
-
|
523
419
|
# Attribute for field refund_account_holder_address_postal_code
|
524
420
|
sig { returns(T.nilable(String)) }
|
525
421
|
attr_reader :refund_account_holder_address_postal_code
|
526
|
-
|
527
422
|
# Attribute for field refund_account_holder_address_state
|
528
423
|
sig { returns(T.nilable(String)) }
|
529
424
|
attr_reader :refund_account_holder_address_state
|
530
|
-
|
531
425
|
# Attribute for field refund_account_holder_name
|
532
426
|
sig { returns(T.nilable(String)) }
|
533
427
|
attr_reader :refund_account_holder_name
|
534
|
-
|
535
428
|
# Attribute for field refund_iban
|
536
429
|
sig { returns(T.nilable(String)) }
|
537
430
|
attr_reader :refund_iban
|
@@ -541,23 +434,18 @@ module Stripe
|
|
541
434
|
# City, district, suburb, town, or village.
|
542
435
|
sig { returns(T.nilable(String)) }
|
543
436
|
attr_reader :city
|
544
|
-
|
545
437
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
546
438
|
sig { returns(T.nilable(String)) }
|
547
439
|
attr_reader :country
|
548
|
-
|
549
440
|
# Address line 1 (e.g., street, PO Box, or company name).
|
550
441
|
sig { returns(T.nilable(String)) }
|
551
442
|
attr_reader :line1
|
552
|
-
|
553
443
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
554
444
|
sig { returns(T.nilable(String)) }
|
555
445
|
attr_reader :line2
|
556
|
-
|
557
446
|
# ZIP or postal code.
|
558
447
|
sig { returns(T.nilable(String)) }
|
559
448
|
attr_reader :postal_code
|
560
|
-
|
561
449
|
# State, county, province, or region.
|
562
450
|
sig { returns(T.nilable(String)) }
|
563
451
|
attr_reader :state
|
@@ -566,23 +454,18 @@ module Stripe
|
|
566
454
|
# City, district, suburb, town, or village.
|
567
455
|
sig { returns(T.nilable(String)) }
|
568
456
|
attr_reader :city
|
569
|
-
|
570
457
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
571
458
|
sig { returns(T.nilable(String)) }
|
572
459
|
attr_reader :country
|
573
|
-
|
574
460
|
# Address line 1 (e.g., street, PO Box, or company name).
|
575
461
|
sig { returns(T.nilable(String)) }
|
576
462
|
attr_reader :line1
|
577
|
-
|
578
463
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
579
464
|
sig { returns(T.nilable(String)) }
|
580
465
|
attr_reader :line2
|
581
|
-
|
582
466
|
# ZIP or postal code.
|
583
467
|
sig { returns(T.nilable(String)) }
|
584
468
|
attr_reader :postal_code
|
585
|
-
|
586
469
|
# State, county, province, or region.
|
587
470
|
sig { returns(T.nilable(String)) }
|
588
471
|
attr_reader :state
|
@@ -590,31 +473,24 @@ module Stripe
|
|
590
473
|
# Owner's address.
|
591
474
|
sig { returns(T.nilable(Address)) }
|
592
475
|
attr_reader :address
|
593
|
-
|
594
476
|
# Owner's email address.
|
595
477
|
sig { returns(T.nilable(String)) }
|
596
478
|
attr_reader :email
|
597
|
-
|
598
479
|
# Owner's full name.
|
599
480
|
sig { returns(T.nilable(String)) }
|
600
481
|
attr_reader :name
|
601
|
-
|
602
482
|
# Owner's phone number (including extension).
|
603
483
|
sig { returns(T.nilable(String)) }
|
604
484
|
attr_reader :phone
|
605
|
-
|
606
485
|
# Verified owner's address. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
607
486
|
sig { returns(T.nilable(VerifiedAddress)) }
|
608
487
|
attr_reader :verified_address
|
609
|
-
|
610
488
|
# Verified owner's email address. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
611
489
|
sig { returns(T.nilable(String)) }
|
612
490
|
attr_reader :verified_email
|
613
|
-
|
614
491
|
# Verified owner's full name. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
615
492
|
sig { returns(T.nilable(String)) }
|
616
493
|
attr_reader :verified_name
|
617
|
-
|
618
494
|
# Verified owner's phone number (including extension). Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
619
495
|
sig { returns(T.nilable(String)) }
|
620
496
|
attr_reader :verified_phone
|
@@ -628,35 +504,27 @@ module Stripe
|
|
628
504
|
# Attribute for field billing_agreement
|
629
505
|
sig { returns(T.nilable(String)) }
|
630
506
|
attr_reader :billing_agreement
|
631
|
-
|
632
507
|
# Attribute for field fingerprint
|
633
508
|
sig { returns(T.nilable(String)) }
|
634
509
|
attr_reader :fingerprint
|
635
|
-
|
636
510
|
# Attribute for field payer_id
|
637
511
|
sig { returns(T.nilable(String)) }
|
638
512
|
attr_reader :payer_id
|
639
|
-
|
640
513
|
# Attribute for field reference_id
|
641
514
|
sig { returns(String) }
|
642
515
|
attr_reader :reference_id
|
643
|
-
|
644
516
|
# Attribute for field reference_transaction_amount
|
645
517
|
sig { returns(String) }
|
646
518
|
attr_reader :reference_transaction_amount
|
647
|
-
|
648
519
|
# Attribute for field reference_transaction_charged
|
649
520
|
sig { returns(T::Boolean) }
|
650
521
|
attr_reader :reference_transaction_charged
|
651
|
-
|
652
522
|
# Attribute for field statement_descriptor
|
653
523
|
sig { returns(T.nilable(String)) }
|
654
524
|
attr_reader :statement_descriptor
|
655
|
-
|
656
525
|
# Attribute for field transaction_id
|
657
526
|
sig { returns(String) }
|
658
527
|
attr_reader :transaction_id
|
659
|
-
|
660
528
|
# Attribute for field verified_email
|
661
529
|
sig { returns(T.nilable(String)) }
|
662
530
|
attr_reader :verified_email
|
@@ -665,23 +533,18 @@ module Stripe
|
|
665
533
|
# The address of the receiver source. This is the value that should be communicated to the customer to send their funds to.
|
666
534
|
sig { returns(T.nilable(String)) }
|
667
535
|
attr_reader :address
|
668
|
-
|
669
536
|
# The total amount that was moved to your balance. This is almost always equal to the amount charged. In rare cases when customers deposit excess funds and we are unable to refund those, those funds get moved to your balance and show up in amount_charged as well. The amount charged is expressed in the source's currency.
|
670
537
|
sig { returns(Integer) }
|
671
538
|
attr_reader :amount_charged
|
672
|
-
|
673
539
|
# The total amount received by the receiver source. `amount_received = amount_returned + amount_charged` should be true for consumed sources unless customers deposit excess funds. The amount received is expressed in the source's currency.
|
674
540
|
sig { returns(Integer) }
|
675
541
|
attr_reader :amount_received
|
676
|
-
|
677
542
|
# The total amount that was returned to the customer. The amount returned is expressed in the source's currency.
|
678
543
|
sig { returns(Integer) }
|
679
544
|
attr_reader :amount_returned
|
680
|
-
|
681
545
|
# Type of refund attribute method, one of `email`, `manual`, or `none`.
|
682
546
|
sig { returns(String) }
|
683
547
|
attr_reader :refund_attributes_method
|
684
|
-
|
685
548
|
# Type of refund attribute status, one of `missing`, `requested`, or `available`.
|
686
549
|
sig { returns(String) }
|
687
550
|
attr_reader :refund_attributes_status
|
@@ -690,15 +553,12 @@ module Stripe
|
|
690
553
|
# The failure reason for the redirect, either `user_abort` (the customer aborted or dropped out of the redirect flow), `declined` (the authentication failed or the transaction was declined), or `processing_error` (the redirect failed due to a technical error). Present only if the redirect status is `failed`.
|
691
554
|
sig { returns(T.nilable(String)) }
|
692
555
|
attr_reader :failure_reason
|
693
|
-
|
694
556
|
# The URL you provide to redirect the customer to after they authenticated their payment.
|
695
557
|
sig { returns(String) }
|
696
558
|
attr_reader :return_url
|
697
|
-
|
698
559
|
# The status of the redirect, either `pending` (ready to be used by your customer to authenticate the transaction), `succeeded` (succesful authentication, cannot be reused) or `not_required` (redirect should not be used) or `failed` (failed authentication, cannot be reused).
|
699
560
|
sig { returns(String) }
|
700
561
|
attr_reader :status
|
701
|
-
|
702
562
|
# The URL provided to you to redirect a customer to as part of a `redirect` authentication flow.
|
703
563
|
sig { returns(String) }
|
704
564
|
attr_reader :url
|
@@ -707,43 +567,33 @@ module Stripe
|
|
707
567
|
# Attribute for field bank_name
|
708
568
|
sig { returns(T.nilable(String)) }
|
709
569
|
attr_reader :bank_name
|
710
|
-
|
711
570
|
# Attribute for field bic
|
712
571
|
sig { returns(T.nilable(String)) }
|
713
572
|
attr_reader :bic
|
714
|
-
|
715
573
|
# Attribute for field iban
|
716
574
|
sig { returns(T.nilable(String)) }
|
717
575
|
attr_reader :iban
|
718
|
-
|
719
576
|
# Attribute for field refund_account_holder_address_city
|
720
577
|
sig { returns(T.nilable(String)) }
|
721
578
|
attr_reader :refund_account_holder_address_city
|
722
|
-
|
723
579
|
# Attribute for field refund_account_holder_address_country
|
724
580
|
sig { returns(T.nilable(String)) }
|
725
581
|
attr_reader :refund_account_holder_address_country
|
726
|
-
|
727
582
|
# Attribute for field refund_account_holder_address_line1
|
728
583
|
sig { returns(T.nilable(String)) }
|
729
584
|
attr_reader :refund_account_holder_address_line1
|
730
|
-
|
731
585
|
# Attribute for field refund_account_holder_address_line2
|
732
586
|
sig { returns(T.nilable(String)) }
|
733
587
|
attr_reader :refund_account_holder_address_line2
|
734
|
-
|
735
588
|
# Attribute for field refund_account_holder_address_postal_code
|
736
589
|
sig { returns(T.nilable(String)) }
|
737
590
|
attr_reader :refund_account_holder_address_postal_code
|
738
|
-
|
739
591
|
# Attribute for field refund_account_holder_address_state
|
740
592
|
sig { returns(T.nilable(String)) }
|
741
593
|
attr_reader :refund_account_holder_address_state
|
742
|
-
|
743
594
|
# Attribute for field refund_account_holder_name
|
744
595
|
sig { returns(T.nilable(String)) }
|
745
596
|
attr_reader :refund_account_holder_name
|
746
|
-
|
747
597
|
# Attribute for field refund_iban
|
748
598
|
sig { returns(T.nilable(String)) }
|
749
599
|
attr_reader :refund_iban
|
@@ -752,27 +602,21 @@ module Stripe
|
|
752
602
|
# Attribute for field bank_code
|
753
603
|
sig { returns(T.nilable(String)) }
|
754
604
|
attr_reader :bank_code
|
755
|
-
|
756
605
|
# Attribute for field branch_code
|
757
606
|
sig { returns(T.nilable(String)) }
|
758
607
|
attr_reader :branch_code
|
759
|
-
|
760
608
|
# Attribute for field country
|
761
609
|
sig { returns(T.nilable(String)) }
|
762
610
|
attr_reader :country
|
763
|
-
|
764
611
|
# Attribute for field fingerprint
|
765
612
|
sig { returns(T.nilable(String)) }
|
766
613
|
attr_reader :fingerprint
|
767
|
-
|
768
614
|
# Attribute for field last4
|
769
615
|
sig { returns(T.nilable(String)) }
|
770
616
|
attr_reader :last4
|
771
|
-
|
772
617
|
# Attribute for field mandate_reference
|
773
618
|
sig { returns(T.nilable(String)) }
|
774
619
|
attr_reader :mandate_reference
|
775
|
-
|
776
620
|
# Attribute for field mandate_url
|
777
621
|
sig { returns(T.nilable(String)) }
|
778
622
|
attr_reader :mandate_url
|
@@ -781,27 +625,21 @@ module Stripe
|
|
781
625
|
# Attribute for field bank_code
|
782
626
|
sig { returns(T.nilable(String)) }
|
783
627
|
attr_reader :bank_code
|
784
|
-
|
785
628
|
# Attribute for field bank_name
|
786
629
|
sig { returns(T.nilable(String)) }
|
787
630
|
attr_reader :bank_name
|
788
|
-
|
789
631
|
# Attribute for field bic
|
790
632
|
sig { returns(T.nilable(String)) }
|
791
633
|
attr_reader :bic
|
792
|
-
|
793
634
|
# Attribute for field country
|
794
635
|
sig { returns(T.nilable(String)) }
|
795
636
|
attr_reader :country
|
796
|
-
|
797
637
|
# Attribute for field iban_last4
|
798
638
|
sig { returns(T.nilable(String)) }
|
799
639
|
attr_reader :iban_last4
|
800
|
-
|
801
640
|
# Attribute for field preferred_language
|
802
641
|
sig { returns(T.nilable(String)) }
|
803
642
|
attr_reader :preferred_language
|
804
|
-
|
805
643
|
# Attribute for field statement_descriptor
|
806
644
|
sig { returns(T.nilable(String)) }
|
807
645
|
attr_reader :statement_descriptor
|
@@ -811,23 +649,18 @@ module Stripe
|
|
811
649
|
# The amount (price) for this order item.
|
812
650
|
sig { returns(T.nilable(Integer)) }
|
813
651
|
attr_reader :amount
|
814
|
-
|
815
652
|
# This currency of this order item. Required when `amount` is present.
|
816
653
|
sig { returns(T.nilable(String)) }
|
817
654
|
attr_reader :currency
|
818
|
-
|
819
655
|
# Human-readable description for this order item.
|
820
656
|
sig { returns(T.nilable(String)) }
|
821
657
|
attr_reader :description
|
822
|
-
|
823
658
|
# The ID of the associated object for this line item. Expandable if not null (e.g., expandable to a SKU).
|
824
659
|
sig { returns(T.nilable(String)) }
|
825
660
|
attr_reader :parent
|
826
|
-
|
827
661
|
# The quantity of this order item. When type is `sku`, this is the number of instances of the SKU to be ordered.
|
828
662
|
sig { returns(Integer) }
|
829
663
|
attr_reader :quantity
|
830
|
-
|
831
664
|
# The type of this order item. Must be `sku`, `tax`, or `shipping`.
|
832
665
|
sig { returns(T.nilable(String)) }
|
833
666
|
attr_reader :type
|
@@ -837,23 +670,18 @@ module Stripe
|
|
837
670
|
# City, district, suburb, town, or village.
|
838
671
|
sig { returns(T.nilable(String)) }
|
839
672
|
attr_reader :city
|
840
|
-
|
841
673
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
842
674
|
sig { returns(T.nilable(String)) }
|
843
675
|
attr_reader :country
|
844
|
-
|
845
676
|
# Address line 1 (e.g., street, PO Box, or company name).
|
846
677
|
sig { returns(T.nilable(String)) }
|
847
678
|
attr_reader :line1
|
848
|
-
|
849
679
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
850
680
|
sig { returns(T.nilable(String)) }
|
851
681
|
attr_reader :line2
|
852
|
-
|
853
682
|
# ZIP or postal code.
|
854
683
|
sig { returns(T.nilable(String)) }
|
855
684
|
attr_reader :postal_code
|
856
|
-
|
857
685
|
# State, county, province, or region.
|
858
686
|
sig { returns(T.nilable(String)) }
|
859
687
|
attr_reader :state
|
@@ -861,19 +689,15 @@ module Stripe
|
|
861
689
|
# Attribute for field address
|
862
690
|
sig { returns(Address) }
|
863
691
|
attr_reader :address
|
864
|
-
|
865
692
|
# The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
|
866
693
|
sig { returns(T.nilable(String)) }
|
867
694
|
attr_reader :carrier
|
868
|
-
|
869
695
|
# Recipient name.
|
870
696
|
sig { returns(String) }
|
871
697
|
attr_reader :name
|
872
|
-
|
873
698
|
# Recipient phone (including extension).
|
874
699
|
sig { returns(T.nilable(String)) }
|
875
700
|
attr_reader :phone
|
876
|
-
|
877
701
|
# 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.
|
878
702
|
sig { returns(T.nilable(String)) }
|
879
703
|
attr_reader :tracking_number
|
@@ -881,19 +705,15 @@ module Stripe
|
|
881
705
|
# A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount for the order.
|
882
706
|
sig { returns(Integer) }
|
883
707
|
attr_reader :amount
|
884
|
-
|
885
708
|
# 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).
|
886
709
|
sig { returns(String) }
|
887
710
|
attr_reader :currency
|
888
|
-
|
889
711
|
# The email address of the customer placing the order.
|
890
712
|
sig { returns(String) }
|
891
713
|
attr_reader :email
|
892
|
-
|
893
714
|
# List of items constituting the order.
|
894
715
|
sig { returns(T.nilable(T::Array[Item])) }
|
895
716
|
attr_reader :items
|
896
|
-
|
897
717
|
# Attribute for field shipping
|
898
718
|
sig { returns(Shipping) }
|
899
719
|
attr_reader :shipping
|
@@ -902,79 +722,63 @@ module Stripe
|
|
902
722
|
# Attribute for field address_line1_check
|
903
723
|
sig { returns(T.nilable(String)) }
|
904
724
|
attr_reader :address_line1_check
|
905
|
-
|
906
725
|
# Attribute for field address_zip_check
|
907
726
|
sig { returns(T.nilable(String)) }
|
908
727
|
attr_reader :address_zip_check
|
909
|
-
|
910
728
|
# Attribute for field authenticated
|
911
729
|
sig { returns(T.nilable(T::Boolean)) }
|
912
730
|
attr_reader :authenticated
|
913
|
-
|
914
731
|
# Attribute for field brand
|
915
732
|
sig { returns(T.nilable(String)) }
|
916
733
|
attr_reader :brand
|
917
|
-
|
734
|
+
# Attribute for field brand_product
|
735
|
+
sig { returns(T.nilable(String)) }
|
736
|
+
attr_reader :brand_product
|
918
737
|
# Attribute for field card
|
919
738
|
sig { returns(T.nilable(String)) }
|
920
739
|
attr_reader :card
|
921
|
-
|
922
740
|
# Attribute for field country
|
923
741
|
sig { returns(T.nilable(String)) }
|
924
742
|
attr_reader :country
|
925
|
-
|
926
743
|
# Attribute for field customer
|
927
744
|
sig { returns(T.nilable(String)) }
|
928
745
|
attr_reader :customer
|
929
|
-
|
930
746
|
# Attribute for field cvc_check
|
931
747
|
sig { returns(T.nilable(String)) }
|
932
748
|
attr_reader :cvc_check
|
933
|
-
|
934
749
|
# Attribute for field description
|
935
750
|
sig { returns(String) }
|
936
751
|
attr_reader :description
|
937
|
-
|
938
752
|
# Attribute for field dynamic_last4
|
939
753
|
sig { returns(T.nilable(String)) }
|
940
754
|
attr_reader :dynamic_last4
|
941
|
-
|
942
755
|
# Attribute for field exp_month
|
943
756
|
sig { returns(T.nilable(Integer)) }
|
944
757
|
attr_reader :exp_month
|
945
|
-
|
946
758
|
# Attribute for field exp_year
|
947
759
|
sig { returns(T.nilable(Integer)) }
|
948
760
|
attr_reader :exp_year
|
949
|
-
|
950
761
|
# Attribute for field fingerprint
|
951
762
|
sig { returns(String) }
|
952
763
|
attr_reader :fingerprint
|
953
|
-
|
954
764
|
# Attribute for field funding
|
955
765
|
sig { returns(T.nilable(String)) }
|
956
766
|
attr_reader :funding
|
957
|
-
|
958
767
|
# Attribute for field iin
|
959
768
|
sig { returns(String) }
|
960
769
|
attr_reader :iin
|
961
|
-
|
962
770
|
# Attribute for field issuer
|
963
771
|
sig { returns(String) }
|
964
772
|
attr_reader :issuer
|
965
|
-
|
966
773
|
# Attribute for field last4
|
967
774
|
sig { returns(T.nilable(String)) }
|
968
775
|
attr_reader :last4
|
969
|
-
|
970
776
|
# Attribute for field name
|
971
777
|
sig { returns(T.nilable(String)) }
|
972
778
|
attr_reader :name
|
973
|
-
|
974
779
|
# Attribute for field three_d_secure
|
975
780
|
sig { returns(String) }
|
976
781
|
attr_reader :three_d_secure
|
977
|
-
|
978
782
|
# Attribute for field tokenization_method
|
979
783
|
sig { returns(T.nilable(String)) }
|
980
784
|
attr_reader :tokenization_method
|
@@ -983,11 +787,9 @@ module Stripe
|
|
983
787
|
# Attribute for field prepay_id
|
984
788
|
sig { returns(String) }
|
985
789
|
attr_reader :prepay_id
|
986
|
-
|
987
790
|
# Attribute for field qr_code_url
|
988
791
|
sig { returns(T.nilable(String)) }
|
989
792
|
attr_reader :qr_code_url
|
990
|
-
|
991
793
|
# Attribute for field statement_descriptor
|
992
794
|
sig { returns(String) }
|
993
795
|
attr_reader :statement_descriptor
|
@@ -995,172 +797,130 @@ module Stripe
|
|
995
797
|
# Attribute for field ach_credit_transfer
|
996
798
|
sig { returns(AchCreditTransfer) }
|
997
799
|
attr_reader :ach_credit_transfer
|
998
|
-
|
999
800
|
# Attribute for field ach_debit
|
1000
801
|
sig { returns(AchDebit) }
|
1001
802
|
attr_reader :ach_debit
|
1002
|
-
|
1003
803
|
# Attribute for field acss_debit
|
1004
804
|
sig { returns(AcssDebit) }
|
1005
805
|
attr_reader :acss_debit
|
1006
|
-
|
1007
806
|
# Attribute for field alipay
|
1008
807
|
sig { returns(Alipay) }
|
1009
808
|
attr_reader :alipay
|
1010
|
-
|
1011
809
|
# 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”.
|
1012
810
|
sig { returns(T.nilable(String)) }
|
1013
811
|
attr_reader :allow_redisplay
|
1014
|
-
|
1015
812
|
# A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount associated with the source. This is the amount for which the source will be chargeable once ready. Required for `single_use` sources.
|
1016
813
|
sig { returns(T.nilable(Integer)) }
|
1017
814
|
attr_reader :amount
|
1018
|
-
|
1019
815
|
# Attribute for field au_becs_debit
|
1020
816
|
sig { returns(AuBecsDebit) }
|
1021
817
|
attr_reader :au_becs_debit
|
1022
|
-
|
1023
818
|
# Attribute for field bancontact
|
1024
819
|
sig { returns(Bancontact) }
|
1025
820
|
attr_reader :bancontact
|
1026
|
-
|
1027
821
|
# Attribute for field card
|
1028
822
|
sig { returns(Card) }
|
1029
823
|
attr_reader :card
|
1030
|
-
|
1031
824
|
# Attribute for field card_present
|
1032
825
|
sig { returns(CardPresent) }
|
1033
826
|
attr_reader :card_present
|
1034
|
-
|
1035
827
|
# The client secret of the source. Used for client-side retrieval using a publishable key.
|
1036
828
|
sig { returns(String) }
|
1037
829
|
attr_reader :client_secret
|
1038
|
-
|
1039
830
|
# Attribute for field code_verification
|
1040
831
|
sig { returns(CodeVerification) }
|
1041
832
|
attr_reader :code_verification
|
1042
|
-
|
1043
833
|
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
1044
834
|
sig { returns(Integer) }
|
1045
835
|
attr_reader :created
|
1046
|
-
|
1047
836
|
# Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) associated with the source. This is the currency for which the source will be chargeable once ready. Required for `single_use` sources.
|
1048
837
|
sig { returns(T.nilable(String)) }
|
1049
838
|
attr_reader :currency
|
1050
|
-
|
1051
839
|
# The ID of the customer to which this source is attached. This will not be present when the source has not been attached to a customer.
|
1052
840
|
sig { returns(String) }
|
1053
841
|
attr_reader :customer
|
1054
|
-
|
1055
842
|
# Attribute for field eps
|
1056
843
|
sig { returns(Eps) }
|
1057
844
|
attr_reader :eps
|
1058
|
-
|
1059
845
|
# The authentication `flow` of the source. `flow` is one of `redirect`, `receiver`, `code_verification`, `none`.
|
1060
846
|
sig { returns(String) }
|
1061
847
|
attr_reader :flow
|
1062
|
-
|
1063
848
|
# Attribute for field giropay
|
1064
849
|
sig { returns(Giropay) }
|
1065
850
|
attr_reader :giropay
|
1066
|
-
|
1067
851
|
# Unique identifier for the object.
|
1068
852
|
sig { returns(String) }
|
1069
853
|
attr_reader :id
|
1070
|
-
|
1071
854
|
# Attribute for field ideal
|
1072
855
|
sig { returns(Ideal) }
|
1073
856
|
attr_reader :ideal
|
1074
|
-
|
1075
857
|
# Attribute for field klarna
|
1076
858
|
sig { returns(Klarna) }
|
1077
859
|
attr_reader :klarna
|
1078
|
-
|
1079
860
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
1080
861
|
sig { returns(T::Boolean) }
|
1081
862
|
attr_reader :livemode
|
1082
|
-
|
1083
863
|
# 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.
|
1084
864
|
sig { returns(T.nilable(T::Hash[String, String])) }
|
1085
865
|
attr_reader :metadata
|
1086
|
-
|
1087
866
|
# Attribute for field multibanco
|
1088
867
|
sig { returns(Multibanco) }
|
1089
868
|
attr_reader :multibanco
|
1090
|
-
|
1091
869
|
# String representing the object's type. Objects of the same type share the same value.
|
1092
870
|
sig { returns(String) }
|
1093
871
|
attr_reader :object
|
1094
|
-
|
1095
872
|
# Information about the owner of the payment instrument that may be used or required by particular source types.
|
1096
873
|
sig { returns(T.nilable(Owner)) }
|
1097
874
|
attr_reader :owner
|
1098
|
-
|
1099
875
|
# Attribute for field p24
|
1100
876
|
sig { returns(P24) }
|
1101
877
|
attr_reader :p24
|
1102
|
-
|
1103
878
|
# Attribute for field paypal
|
1104
879
|
sig { returns(Paypal) }
|
1105
880
|
attr_reader :paypal
|
1106
|
-
|
1107
881
|
# Attribute for field receiver
|
1108
882
|
sig { returns(Receiver) }
|
1109
883
|
attr_reader :receiver
|
1110
|
-
|
1111
884
|
# Attribute for field redirect
|
1112
885
|
sig { returns(Redirect) }
|
1113
886
|
attr_reader :redirect
|
1114
|
-
|
1115
887
|
# Attribute for field sepa_credit_transfer
|
1116
888
|
sig { returns(SepaCreditTransfer) }
|
1117
889
|
attr_reader :sepa_credit_transfer
|
1118
|
-
|
1119
890
|
# Attribute for field sepa_debit
|
1120
891
|
sig { returns(SepaDebit) }
|
1121
892
|
attr_reader :sepa_debit
|
1122
|
-
|
1123
893
|
# Attribute for field sofort
|
1124
894
|
sig { returns(Sofort) }
|
1125
895
|
attr_reader :sofort
|
1126
|
-
|
1127
896
|
# Attribute for field source_order
|
1128
897
|
sig { returns(SourceOrder) }
|
1129
898
|
attr_reader :source_order
|
1130
|
-
|
1131
899
|
# Extra information about a source. This will appear on your customer's statement every time you charge the source.
|
1132
900
|
sig { returns(T.nilable(String)) }
|
1133
901
|
attr_reader :statement_descriptor
|
1134
|
-
|
1135
902
|
# The status of the source, one of `canceled`, `chargeable`, `consumed`, `failed`, or `pending`. Only `chargeable` sources can be used to create a charge.
|
1136
903
|
sig { returns(String) }
|
1137
904
|
attr_reader :status
|
1138
|
-
|
1139
905
|
# Attribute for field three_d_secure
|
1140
906
|
sig { returns(ThreeDSecure) }
|
1141
907
|
attr_reader :three_d_secure
|
1142
|
-
|
1143
908
|
# The `type` of the source. The `type` is a payment method, one of `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`, `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An additional hash is included on the source with a name matching this value. It contains additional information specific to the [payment method](https://stripe.com/docs/sources) used.
|
1144
909
|
sig { returns(String) }
|
1145
910
|
attr_reader :type
|
1146
|
-
|
1147
911
|
# Either `reusable` or `single_use`. Whether this source should be reusable or not. Some source types may or may not be reusable by construction, while others may leave the option at creation. If an incompatible value is passed, an error will be returned.
|
1148
912
|
sig { returns(T.nilable(String)) }
|
1149
913
|
attr_reader :usage
|
1150
|
-
|
1151
914
|
# Attribute for field wechat
|
1152
915
|
sig { returns(Wechat) }
|
1153
916
|
attr_reader :wechat
|
1154
|
-
|
1155
917
|
class RetrieveParams < Stripe::RequestParams
|
1156
918
|
# The client secret of the source. Required if a publishable key is used to retrieve the source.
|
1157
919
|
sig { returns(String) }
|
1158
920
|
attr_accessor :client_secret
|
1159
|
-
|
1160
921
|
# Specifies which fields in the response should be expanded.
|
1161
922
|
sig { returns(T::Array[String]) }
|
1162
923
|
attr_accessor :expand
|
1163
|
-
|
1164
924
|
sig { params(client_secret: String, expand: T::Array[String]).void }
|
1165
925
|
def initialize(client_secret: nil, expand: nil); end
|
1166
926
|
end
|
@@ -1171,7 +931,6 @@ module Stripe
|
|
1171
931
|
# An email to contact you with if a copy of the mandate is requested, required if `type` is `offline`.
|
1172
932
|
sig { returns(String) }
|
1173
933
|
attr_accessor :contact_email
|
1174
|
-
|
1175
934
|
sig { params(contact_email: String).void }
|
1176
935
|
def initialize(contact_email: nil); end
|
1177
936
|
end
|
@@ -1179,46 +938,36 @@ module Stripe
|
|
1179
938
|
# The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer.
|
1180
939
|
sig { returns(Integer) }
|
1181
940
|
attr_accessor :date
|
1182
|
-
|
1183
941
|
# The IP address from which the mandate was accepted or refused by the customer.
|
1184
942
|
sig { returns(String) }
|
1185
943
|
attr_accessor :ip
|
1186
|
-
|
1187
944
|
# The user agent of the browser from which the mandate was accepted or refused by the customer.
|
1188
945
|
sig { returns(String) }
|
1189
946
|
attr_accessor :user_agent
|
1190
|
-
|
1191
947
|
sig { params(date: Integer, ip: String, user_agent: String).void }
|
1192
948
|
def initialize(date: nil, ip: nil, user_agent: nil); end
|
1193
949
|
end
|
1194
950
|
# The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer.
|
1195
951
|
sig { returns(Integer) }
|
1196
952
|
attr_accessor :date
|
1197
|
-
|
1198
953
|
# The IP address from which the mandate was accepted or refused by the customer.
|
1199
954
|
sig { returns(String) }
|
1200
955
|
attr_accessor :ip
|
1201
|
-
|
1202
956
|
# The parameters required to store a mandate accepted offline. Should only be set if `mandate[type]` is `offline`
|
1203
957
|
sig { returns(::Stripe::Source::UpdateParams::Mandate::Acceptance::Offline) }
|
1204
958
|
attr_accessor :offline
|
1205
|
-
|
1206
959
|
# The parameters required to store a mandate accepted online. Should only be set if `mandate[type]` is `online`
|
1207
960
|
sig { returns(::Stripe::Source::UpdateParams::Mandate::Acceptance::Online) }
|
1208
961
|
attr_accessor :online
|
1209
|
-
|
1210
962
|
# The status of the mandate acceptance. Either `accepted` (the mandate was accepted) or `refused` (the mandate was refused).
|
1211
963
|
sig { returns(String) }
|
1212
964
|
attr_accessor :status
|
1213
|
-
|
1214
965
|
# The type of acceptance information included with the mandate. Either `online` or `offline`
|
1215
966
|
sig { returns(String) }
|
1216
967
|
attr_accessor :type
|
1217
|
-
|
1218
968
|
# The user agent of the browser from which the mandate was accepted or refused by the customer.
|
1219
969
|
sig { returns(String) }
|
1220
970
|
attr_accessor :user_agent
|
1221
|
-
|
1222
971
|
sig {
|
1223
972
|
params(date: Integer, ip: String, offline: ::Stripe::Source::UpdateParams::Mandate::Acceptance::Offline, online: ::Stripe::Source::UpdateParams::Mandate::Acceptance::Online, status: String, type: String, user_agent: String).void
|
1224
973
|
}
|
@@ -1235,23 +984,18 @@ module Stripe
|
|
1235
984
|
# The parameters required to notify Stripe of a mandate acceptance or refusal by the customer.
|
1236
985
|
sig { returns(::Stripe::Source::UpdateParams::Mandate::Acceptance) }
|
1237
986
|
attr_accessor :acceptance
|
1238
|
-
|
1239
987
|
# The amount specified by the mandate. (Leave null for a mandate covering all amounts)
|
1240
988
|
sig { returns(T.nilable(Integer)) }
|
1241
989
|
attr_accessor :amount
|
1242
|
-
|
1243
990
|
# The currency specified by the mandate. (Must match `currency` of the source)
|
1244
991
|
sig { returns(String) }
|
1245
992
|
attr_accessor :currency
|
1246
|
-
|
1247
993
|
# The interval of debits permitted by the mandate. Either `one_time` (just permitting a single debit), `scheduled` (with debits on an agreed schedule or for clearly-defined events), or `variable`(for debits with any frequency)
|
1248
994
|
sig { returns(String) }
|
1249
995
|
attr_accessor :interval
|
1250
|
-
|
1251
996
|
# The method Stripe should use to notify the customer of upcoming debit instructions and/or mandate confirmation as required by the underlying debit network. Either `email` (an email is sent directly to the customer), `manual` (a `source.mandate_notification` event is sent to your webhooks endpoint and you should handle the notification) or `none` (the underlying debit network does not require any notification).
|
1252
997
|
sig { returns(String) }
|
1253
998
|
attr_accessor :notification_method
|
1254
|
-
|
1255
999
|
sig {
|
1256
1000
|
params(acceptance: ::Stripe::Source::UpdateParams::Mandate::Acceptance, amount: T.nilable(Integer), currency: String, interval: String, notification_method: String).void
|
1257
1001
|
}
|
@@ -1268,27 +1012,21 @@ module Stripe
|
|
1268
1012
|
# City, district, suburb, town, or village.
|
1269
1013
|
sig { returns(String) }
|
1270
1014
|
attr_accessor :city
|
1271
|
-
|
1272
1015
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1273
1016
|
sig { returns(String) }
|
1274
1017
|
attr_accessor :country
|
1275
|
-
|
1276
1018
|
# Address line 1 (e.g., street, PO Box, or company name).
|
1277
1019
|
sig { returns(String) }
|
1278
1020
|
attr_accessor :line1
|
1279
|
-
|
1280
1021
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1281
1022
|
sig { returns(String) }
|
1282
1023
|
attr_accessor :line2
|
1283
|
-
|
1284
1024
|
# ZIP or postal code.
|
1285
1025
|
sig { returns(String) }
|
1286
1026
|
attr_accessor :postal_code
|
1287
|
-
|
1288
1027
|
# State, county, province, or region.
|
1289
1028
|
sig { returns(String) }
|
1290
1029
|
attr_accessor :state
|
1291
|
-
|
1292
1030
|
sig {
|
1293
1031
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
1294
1032
|
}
|
@@ -1304,19 +1042,15 @@ module Stripe
|
|
1304
1042
|
# Owner's address.
|
1305
1043
|
sig { returns(::Stripe::Source::UpdateParams::Owner::Address) }
|
1306
1044
|
attr_accessor :address
|
1307
|
-
|
1308
1045
|
# Owner's email address.
|
1309
1046
|
sig { returns(String) }
|
1310
1047
|
attr_accessor :email
|
1311
|
-
|
1312
1048
|
# Owner's full name.
|
1313
1049
|
sig { returns(String) }
|
1314
1050
|
attr_accessor :name
|
1315
|
-
|
1316
1051
|
# Owner's phone number.
|
1317
1052
|
sig { returns(String) }
|
1318
1053
|
attr_accessor :phone
|
1319
|
-
|
1320
1054
|
sig {
|
1321
1055
|
params(address: ::Stripe::Source::UpdateParams::Owner::Address, email: String, name: String, phone: String).void
|
1322
1056
|
}
|
@@ -1327,27 +1061,21 @@ module Stripe
|
|
1327
1061
|
# Attribute for param field amount
|
1328
1062
|
sig { returns(Integer) }
|
1329
1063
|
attr_accessor :amount
|
1330
|
-
|
1331
1064
|
# Attribute for param field currency
|
1332
1065
|
sig { returns(String) }
|
1333
1066
|
attr_accessor :currency
|
1334
|
-
|
1335
1067
|
# Attribute for param field description
|
1336
1068
|
sig { returns(String) }
|
1337
1069
|
attr_accessor :description
|
1338
|
-
|
1339
1070
|
# The ID of the SKU being ordered.
|
1340
1071
|
sig { returns(String) }
|
1341
1072
|
attr_accessor :parent
|
1342
|
-
|
1343
1073
|
# The quantity of this order item. When type is `sku`, this is the number of instances of the SKU to be ordered.
|
1344
1074
|
sig { returns(Integer) }
|
1345
1075
|
attr_accessor :quantity
|
1346
|
-
|
1347
1076
|
# Attribute for param field type
|
1348
1077
|
sig { returns(String) }
|
1349
1078
|
attr_accessor :type
|
1350
|
-
|
1351
1079
|
sig {
|
1352
1080
|
params(amount: Integer, currency: String, description: String, parent: String, quantity: Integer, type: String).void
|
1353
1081
|
}
|
@@ -1365,27 +1093,21 @@ module Stripe
|
|
1365
1093
|
# City, district, suburb, town, or village.
|
1366
1094
|
sig { returns(String) }
|
1367
1095
|
attr_accessor :city
|
1368
|
-
|
1369
1096
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1370
1097
|
sig { returns(String) }
|
1371
1098
|
attr_accessor :country
|
1372
|
-
|
1373
1099
|
# Address line 1 (e.g., street, PO Box, or company name).
|
1374
1100
|
sig { returns(String) }
|
1375
1101
|
attr_accessor :line1
|
1376
|
-
|
1377
1102
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1378
1103
|
sig { returns(String) }
|
1379
1104
|
attr_accessor :line2
|
1380
|
-
|
1381
1105
|
# ZIP or postal code.
|
1382
1106
|
sig { returns(String) }
|
1383
1107
|
attr_accessor :postal_code
|
1384
|
-
|
1385
1108
|
# State, county, province, or region.
|
1386
1109
|
sig { returns(String) }
|
1387
1110
|
attr_accessor :state
|
1388
|
-
|
1389
1111
|
sig {
|
1390
1112
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
1391
1113
|
}
|
@@ -1401,23 +1123,18 @@ module Stripe
|
|
1401
1123
|
# Shipping address.
|
1402
1124
|
sig { returns(::Stripe::Source::UpdateParams::SourceOrder::Shipping::Address) }
|
1403
1125
|
attr_accessor :address
|
1404
|
-
|
1405
1126
|
# The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
|
1406
1127
|
sig { returns(String) }
|
1407
1128
|
attr_accessor :carrier
|
1408
|
-
|
1409
1129
|
# Recipient name.
|
1410
1130
|
sig { returns(String) }
|
1411
1131
|
attr_accessor :name
|
1412
|
-
|
1413
1132
|
# Recipient phone (including extension).
|
1414
1133
|
sig { returns(String) }
|
1415
1134
|
attr_accessor :phone
|
1416
|
-
|
1417
1135
|
# 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.
|
1418
1136
|
sig { returns(String) }
|
1419
1137
|
attr_accessor :tracking_number
|
1420
|
-
|
1421
1138
|
sig {
|
1422
1139
|
params(address: ::Stripe::Source::UpdateParams::SourceOrder::Shipping::Address, carrier: String, name: String, phone: String, tracking_number: String).void
|
1423
1140
|
}
|
@@ -1432,11 +1149,9 @@ module Stripe
|
|
1432
1149
|
# List of items constituting the order.
|
1433
1150
|
sig { returns(T::Array[::Stripe::Source::UpdateParams::SourceOrder::Item]) }
|
1434
1151
|
attr_accessor :items
|
1435
|
-
|
1436
1152
|
# Shipping address for the order. Required if any of the SKUs are for products that have `shippable` set to true.
|
1437
1153
|
sig { returns(::Stripe::Source::UpdateParams::SourceOrder::Shipping) }
|
1438
1154
|
attr_accessor :shipping
|
1439
|
-
|
1440
1155
|
sig {
|
1441
1156
|
params(items: T::Array[::Stripe::Source::UpdateParams::SourceOrder::Item], shipping: ::Stripe::Source::UpdateParams::SourceOrder::Shipping).void
|
1442
1157
|
}
|
@@ -1445,27 +1160,21 @@ module Stripe
|
|
1445
1160
|
# Amount associated with the source.
|
1446
1161
|
sig { returns(Integer) }
|
1447
1162
|
attr_accessor :amount
|
1448
|
-
|
1449
1163
|
# Specifies which fields in the response should be expanded.
|
1450
1164
|
sig { returns(T::Array[String]) }
|
1451
1165
|
attr_accessor :expand
|
1452
|
-
|
1453
1166
|
# Information about a mandate possibility attached to a source object (generally for bank debits) as well as its acceptance status.
|
1454
1167
|
sig { returns(::Stripe::Source::UpdateParams::Mandate) }
|
1455
1168
|
attr_accessor :mandate
|
1456
|
-
|
1457
1169
|
# 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`.
|
1458
1170
|
sig { returns(T.nilable(T::Hash[String, String])) }
|
1459
1171
|
attr_accessor :metadata
|
1460
|
-
|
1461
1172
|
# Information about the owner of the payment instrument that may be used or required by particular source types.
|
1462
1173
|
sig { returns(::Stripe::Source::UpdateParams::Owner) }
|
1463
1174
|
attr_accessor :owner
|
1464
|
-
|
1465
1175
|
# Information about the items and shipping associated with the source. Required for transactional credit (for example Klarna) sources before you can charge it.
|
1466
1176
|
sig { returns(::Stripe::Source::UpdateParams::SourceOrder) }
|
1467
1177
|
attr_accessor :source_order
|
1468
|
-
|
1469
1178
|
sig {
|
1470
1179
|
params(amount: Integer, expand: T::Array[String], mandate: ::Stripe::Source::UpdateParams::Mandate, metadata: T.nilable(T::Hash[String, String]), owner: ::Stripe::Source::UpdateParams::Owner, source_order: ::Stripe::Source::UpdateParams::SourceOrder).void
|
1471
1180
|
}
|
@@ -1485,7 +1194,6 @@ module Stripe
|
|
1485
1194
|
# An email to contact you with if a copy of the mandate is requested, required if `type` is `offline`.
|
1486
1195
|
sig { returns(String) }
|
1487
1196
|
attr_accessor :contact_email
|
1488
|
-
|
1489
1197
|
sig { params(contact_email: String).void }
|
1490
1198
|
def initialize(contact_email: nil); end
|
1491
1199
|
end
|
@@ -1493,46 +1201,36 @@ module Stripe
|
|
1493
1201
|
# The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer.
|
1494
1202
|
sig { returns(Integer) }
|
1495
1203
|
attr_accessor :date
|
1496
|
-
|
1497
1204
|
# The IP address from which the mandate was accepted or refused by the customer.
|
1498
1205
|
sig { returns(String) }
|
1499
1206
|
attr_accessor :ip
|
1500
|
-
|
1501
1207
|
# The user agent of the browser from which the mandate was accepted or refused by the customer.
|
1502
1208
|
sig { returns(String) }
|
1503
1209
|
attr_accessor :user_agent
|
1504
|
-
|
1505
1210
|
sig { params(date: Integer, ip: String, user_agent: String).void }
|
1506
1211
|
def initialize(date: nil, ip: nil, user_agent: nil); end
|
1507
1212
|
end
|
1508
1213
|
# The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer.
|
1509
1214
|
sig { returns(Integer) }
|
1510
1215
|
attr_accessor :date
|
1511
|
-
|
1512
1216
|
# The IP address from which the mandate was accepted or refused by the customer.
|
1513
1217
|
sig { returns(String) }
|
1514
1218
|
attr_accessor :ip
|
1515
|
-
|
1516
1219
|
# The parameters required to store a mandate accepted offline. Should only be set if `mandate[type]` is `offline`
|
1517
1220
|
sig { returns(::Stripe::Source::CreateParams::Mandate::Acceptance::Offline) }
|
1518
1221
|
attr_accessor :offline
|
1519
|
-
|
1520
1222
|
# The parameters required to store a mandate accepted online. Should only be set if `mandate[type]` is `online`
|
1521
1223
|
sig { returns(::Stripe::Source::CreateParams::Mandate::Acceptance::Online) }
|
1522
1224
|
attr_accessor :online
|
1523
|
-
|
1524
1225
|
# The status of the mandate acceptance. Either `accepted` (the mandate was accepted) or `refused` (the mandate was refused).
|
1525
1226
|
sig { returns(String) }
|
1526
1227
|
attr_accessor :status
|
1527
|
-
|
1528
1228
|
# The type of acceptance information included with the mandate. Either `online` or `offline`
|
1529
1229
|
sig { returns(String) }
|
1530
1230
|
attr_accessor :type
|
1531
|
-
|
1532
1231
|
# The user agent of the browser from which the mandate was accepted or refused by the customer.
|
1533
1232
|
sig { returns(String) }
|
1534
1233
|
attr_accessor :user_agent
|
1535
|
-
|
1536
1234
|
sig {
|
1537
1235
|
params(date: Integer, ip: String, offline: ::Stripe::Source::CreateParams::Mandate::Acceptance::Offline, online: ::Stripe::Source::CreateParams::Mandate::Acceptance::Online, status: String, type: String, user_agent: String).void
|
1538
1236
|
}
|
@@ -1549,23 +1247,18 @@ module Stripe
|
|
1549
1247
|
# The parameters required to notify Stripe of a mandate acceptance or refusal by the customer.
|
1550
1248
|
sig { returns(::Stripe::Source::CreateParams::Mandate::Acceptance) }
|
1551
1249
|
attr_accessor :acceptance
|
1552
|
-
|
1553
1250
|
# The amount specified by the mandate. (Leave null for a mandate covering all amounts)
|
1554
1251
|
sig { returns(T.nilable(Integer)) }
|
1555
1252
|
attr_accessor :amount
|
1556
|
-
|
1557
1253
|
# The currency specified by the mandate. (Must match `currency` of the source)
|
1558
1254
|
sig { returns(String) }
|
1559
1255
|
attr_accessor :currency
|
1560
|
-
|
1561
1256
|
# The interval of debits permitted by the mandate. Either `one_time` (just permitting a single debit), `scheduled` (with debits on an agreed schedule or for clearly-defined events), or `variable`(for debits with any frequency)
|
1562
1257
|
sig { returns(String) }
|
1563
1258
|
attr_accessor :interval
|
1564
|
-
|
1565
1259
|
# The method Stripe should use to notify the customer of upcoming debit instructions and/or mandate confirmation as required by the underlying debit network. Either `email` (an email is sent directly to the customer), `manual` (a `source.mandate_notification` event is sent to your webhooks endpoint and you should handle the notification) or `none` (the underlying debit network does not require any notification).
|
1566
1260
|
sig { returns(String) }
|
1567
1261
|
attr_accessor :notification_method
|
1568
|
-
|
1569
1262
|
sig {
|
1570
1263
|
params(acceptance: ::Stripe::Source::CreateParams::Mandate::Acceptance, amount: T.nilable(Integer), currency: String, interval: String, notification_method: String).void
|
1571
1264
|
}
|
@@ -1582,27 +1275,21 @@ module Stripe
|
|
1582
1275
|
# City, district, suburb, town, or village.
|
1583
1276
|
sig { returns(String) }
|
1584
1277
|
attr_accessor :city
|
1585
|
-
|
1586
1278
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1587
1279
|
sig { returns(String) }
|
1588
1280
|
attr_accessor :country
|
1589
|
-
|
1590
1281
|
# Address line 1 (e.g., street, PO Box, or company name).
|
1591
1282
|
sig { returns(String) }
|
1592
1283
|
attr_accessor :line1
|
1593
|
-
|
1594
1284
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1595
1285
|
sig { returns(String) }
|
1596
1286
|
attr_accessor :line2
|
1597
|
-
|
1598
1287
|
# ZIP or postal code.
|
1599
1288
|
sig { returns(String) }
|
1600
1289
|
attr_accessor :postal_code
|
1601
|
-
|
1602
1290
|
# State, county, province, or region.
|
1603
1291
|
sig { returns(String) }
|
1604
1292
|
attr_accessor :state
|
1605
|
-
|
1606
1293
|
sig {
|
1607
1294
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
1608
1295
|
}
|
@@ -1618,19 +1305,15 @@ module Stripe
|
|
1618
1305
|
# Owner's address.
|
1619
1306
|
sig { returns(::Stripe::Source::CreateParams::Owner::Address) }
|
1620
1307
|
attr_accessor :address
|
1621
|
-
|
1622
1308
|
# Owner's email address.
|
1623
1309
|
sig { returns(String) }
|
1624
1310
|
attr_accessor :email
|
1625
|
-
|
1626
1311
|
# Owner's full name.
|
1627
1312
|
sig { returns(String) }
|
1628
1313
|
attr_accessor :name
|
1629
|
-
|
1630
1314
|
# Owner's phone number.
|
1631
1315
|
sig { returns(String) }
|
1632
1316
|
attr_accessor :phone
|
1633
|
-
|
1634
1317
|
sig {
|
1635
1318
|
params(address: ::Stripe::Source::CreateParams::Owner::Address, email: String, name: String, phone: String).void
|
1636
1319
|
}
|
@@ -1640,7 +1323,6 @@ module Stripe
|
|
1640
1323
|
# The method Stripe should use to request information needed to process a refund or mispayment. Either `email` (an email is sent directly to the customer) or `manual` (a `source.refund_attributes_required` event is sent to your webhooks endpoint). Refer to each payment method's documentation to learn which refund attributes may be required.
|
1641
1324
|
sig { returns(String) }
|
1642
1325
|
attr_accessor :refund_attributes_method
|
1643
|
-
|
1644
1326
|
sig { params(refund_attributes_method: String).void }
|
1645
1327
|
def initialize(refund_attributes_method: nil); end
|
1646
1328
|
end
|
@@ -1648,7 +1330,6 @@ module Stripe
|
|
1648
1330
|
# The URL you provide to redirect the customer back to you after they authenticated their payment. It can use your application URI scheme in the context of a mobile application.
|
1649
1331
|
sig { returns(String) }
|
1650
1332
|
attr_accessor :return_url
|
1651
|
-
|
1652
1333
|
sig { params(return_url: String).void }
|
1653
1334
|
def initialize(return_url: nil); end
|
1654
1335
|
end
|
@@ -1657,27 +1338,21 @@ module Stripe
|
|
1657
1338
|
# Attribute for param field amount
|
1658
1339
|
sig { returns(Integer) }
|
1659
1340
|
attr_accessor :amount
|
1660
|
-
|
1661
1341
|
# Attribute for param field currency
|
1662
1342
|
sig { returns(String) }
|
1663
1343
|
attr_accessor :currency
|
1664
|
-
|
1665
1344
|
# Attribute for param field description
|
1666
1345
|
sig { returns(String) }
|
1667
1346
|
attr_accessor :description
|
1668
|
-
|
1669
1347
|
# The ID of the SKU being ordered.
|
1670
1348
|
sig { returns(String) }
|
1671
1349
|
attr_accessor :parent
|
1672
|
-
|
1673
1350
|
# The quantity of this order item. When type is `sku`, this is the number of instances of the SKU to be ordered.
|
1674
1351
|
sig { returns(Integer) }
|
1675
1352
|
attr_accessor :quantity
|
1676
|
-
|
1677
1353
|
# Attribute for param field type
|
1678
1354
|
sig { returns(String) }
|
1679
1355
|
attr_accessor :type
|
1680
|
-
|
1681
1356
|
sig {
|
1682
1357
|
params(amount: Integer, currency: String, description: String, parent: String, quantity: Integer, type: String).void
|
1683
1358
|
}
|
@@ -1695,27 +1370,21 @@ module Stripe
|
|
1695
1370
|
# City, district, suburb, town, or village.
|
1696
1371
|
sig { returns(String) }
|
1697
1372
|
attr_accessor :city
|
1698
|
-
|
1699
1373
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1700
1374
|
sig { returns(String) }
|
1701
1375
|
attr_accessor :country
|
1702
|
-
|
1703
1376
|
# Address line 1 (e.g., street, PO Box, or company name).
|
1704
1377
|
sig { returns(String) }
|
1705
1378
|
attr_accessor :line1
|
1706
|
-
|
1707
1379
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1708
1380
|
sig { returns(String) }
|
1709
1381
|
attr_accessor :line2
|
1710
|
-
|
1711
1382
|
# ZIP or postal code.
|
1712
1383
|
sig { returns(String) }
|
1713
1384
|
attr_accessor :postal_code
|
1714
|
-
|
1715
1385
|
# State, county, province, or region.
|
1716
1386
|
sig { returns(String) }
|
1717
1387
|
attr_accessor :state
|
1718
|
-
|
1719
1388
|
sig {
|
1720
1389
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
1721
1390
|
}
|
@@ -1731,23 +1400,18 @@ module Stripe
|
|
1731
1400
|
# Shipping address.
|
1732
1401
|
sig { returns(::Stripe::Source::CreateParams::SourceOrder::Shipping::Address) }
|
1733
1402
|
attr_accessor :address
|
1734
|
-
|
1735
1403
|
# The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
|
1736
1404
|
sig { returns(String) }
|
1737
1405
|
attr_accessor :carrier
|
1738
|
-
|
1739
1406
|
# Recipient name.
|
1740
1407
|
sig { returns(String) }
|
1741
1408
|
attr_accessor :name
|
1742
|
-
|
1743
1409
|
# Recipient phone (including extension).
|
1744
1410
|
sig { returns(String) }
|
1745
1411
|
attr_accessor :phone
|
1746
|
-
|
1747
1412
|
# 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.
|
1748
1413
|
sig { returns(String) }
|
1749
1414
|
attr_accessor :tracking_number
|
1750
|
-
|
1751
1415
|
sig {
|
1752
1416
|
params(address: ::Stripe::Source::CreateParams::SourceOrder::Shipping::Address, carrier: String, name: String, phone: String, tracking_number: String).void
|
1753
1417
|
}
|
@@ -1762,11 +1426,9 @@ module Stripe
|
|
1762
1426
|
# List of items constituting the order.
|
1763
1427
|
sig { returns(T::Array[::Stripe::Source::CreateParams::SourceOrder::Item]) }
|
1764
1428
|
attr_accessor :items
|
1765
|
-
|
1766
1429
|
# Shipping address for the order. Required if any of the SKUs are for products that have `shippable` set to true.
|
1767
1430
|
sig { returns(::Stripe::Source::CreateParams::SourceOrder::Shipping) }
|
1768
1431
|
attr_accessor :shipping
|
1769
|
-
|
1770
1432
|
sig {
|
1771
1433
|
params(items: T::Array[::Stripe::Source::CreateParams::SourceOrder::Item], shipping: ::Stripe::Source::CreateParams::SourceOrder::Shipping).void
|
1772
1434
|
}
|
@@ -1775,67 +1437,51 @@ module Stripe
|
|
1775
1437
|
# Amount associated with the source. This is the amount for which the source will be chargeable once ready. Required for `single_use` sources. Not supported for `receiver` type sources, where charge amount may not be specified until funds land.
|
1776
1438
|
sig { returns(Integer) }
|
1777
1439
|
attr_accessor :amount
|
1778
|
-
|
1779
1440
|
# Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) associated with the source. This is the currency for which the source will be chargeable once ready.
|
1780
1441
|
sig { returns(String) }
|
1781
1442
|
attr_accessor :currency
|
1782
|
-
|
1783
1443
|
# The `Customer` to whom the original source is attached to. Must be set when the original source is not a `Source` (e.g., `Card`).
|
1784
1444
|
sig { returns(String) }
|
1785
1445
|
attr_accessor :customer
|
1786
|
-
|
1787
1446
|
# Specifies which fields in the response should be expanded.
|
1788
1447
|
sig { returns(T::Array[String]) }
|
1789
1448
|
attr_accessor :expand
|
1790
|
-
|
1791
1449
|
# The authentication `flow` of the source to create. `flow` is one of `redirect`, `receiver`, `code_verification`, `none`. It is generally inferred unless a type supports multiple flows.
|
1792
1450
|
sig { returns(String) }
|
1793
1451
|
attr_accessor :flow
|
1794
|
-
|
1795
1452
|
# Information about a mandate possibility attached to a source object (generally for bank debits) as well as its acceptance status.
|
1796
1453
|
sig { returns(::Stripe::Source::CreateParams::Mandate) }
|
1797
1454
|
attr_accessor :mandate
|
1798
|
-
|
1799
1455
|
# Attribute for param field metadata
|
1800
1456
|
sig { returns(T::Hash[String, String]) }
|
1801
1457
|
attr_accessor :metadata
|
1802
|
-
|
1803
1458
|
# The source to share.
|
1804
1459
|
sig { returns(String) }
|
1805
1460
|
attr_accessor :original_source
|
1806
|
-
|
1807
1461
|
# Information about the owner of the payment instrument that may be used or required by particular source types.
|
1808
1462
|
sig { returns(::Stripe::Source::CreateParams::Owner) }
|
1809
1463
|
attr_accessor :owner
|
1810
|
-
|
1811
1464
|
# Optional parameters for the receiver flow. Can be set only if the source is a receiver (`flow` is `receiver`).
|
1812
1465
|
sig { returns(::Stripe::Source::CreateParams::Receiver) }
|
1813
1466
|
attr_accessor :receiver
|
1814
|
-
|
1815
1467
|
# Parameters required for the redirect flow. Required if the source is authenticated by a redirect (`flow` is `redirect`).
|
1816
1468
|
sig { returns(::Stripe::Source::CreateParams::Redirect) }
|
1817
1469
|
attr_accessor :redirect
|
1818
|
-
|
1819
1470
|
# Information about the items and shipping associated with the source. Required for transactional credit (for example Klarna) sources before you can charge it.
|
1820
1471
|
sig { returns(::Stripe::Source::CreateParams::SourceOrder) }
|
1821
1472
|
attr_accessor :source_order
|
1822
|
-
|
1823
1473
|
# An arbitrary string to be displayed on your customer's statement. As an example, if your website is `RunClub` and the item you're charging for is a race ticket, you may want to specify a `statement_descriptor` of `RunClub 5K race ticket.` While many payment types will display this information, some may not display it at all.
|
1824
1474
|
sig { returns(String) }
|
1825
1475
|
attr_accessor :statement_descriptor
|
1826
|
-
|
1827
1476
|
# An optional token used to create the source. When passed, token properties will override source parameters.
|
1828
1477
|
sig { returns(String) }
|
1829
1478
|
attr_accessor :token
|
1830
|
-
|
1831
1479
|
# The `type` of the source to create. Required unless `customer` and `original_source` are specified (see the [Cloning card Sources](https://stripe.com/docs/sources/connect#cloning-card-sources) guide)
|
1832
1480
|
sig { returns(String) }
|
1833
1481
|
attr_accessor :type
|
1834
|
-
|
1835
1482
|
# Attribute for param field usage
|
1836
1483
|
sig { returns(String) }
|
1837
1484
|
attr_accessor :usage
|
1838
|
-
|
1839
1485
|
sig {
|
1840
1486
|
params(amount: Integer, currency: String, customer: String, expand: T::Array[String], flow: String, mandate: ::Stripe::Source::CreateParams::Mandate, metadata: T::Hash[String, String], original_source: String, owner: ::Stripe::Source::CreateParams::Owner, receiver: ::Stripe::Source::CreateParams::Receiver, redirect: ::Stripe::Source::CreateParams::Redirect, source_order: ::Stripe::Source::CreateParams::SourceOrder, statement_descriptor: String, token: String, type: String, usage: String).void
|
1841
1487
|
}
|
@@ -1862,11 +1508,9 @@ module Stripe
|
|
1862
1508
|
# Specifies which fields in the response should be expanded.
|
1863
1509
|
sig { returns(T::Array[String]) }
|
1864
1510
|
attr_accessor :expand
|
1865
|
-
|
1866
1511
|
# The values needed to verify the source.
|
1867
1512
|
sig { returns(T::Array[String]) }
|
1868
1513
|
attr_accessor :values
|
1869
|
-
|
1870
1514
|
sig { params(expand: T::Array[String], values: T::Array[String]).void }
|
1871
1515
|
def initialize(expand: nil, values: nil); end
|
1872
1516
|
end
|