stripe 13.4.0.pre.beta.1 → 13.4.0.pre.beta.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +24 -1
- data/CONTRIBUTING.md +25 -0
- data/Makefile +2 -0
- data/OPENAPI_VERSION +1 -1
- data/README.md +11 -6
- data/Rakefile +0 -5
- data/VERSION +1 -1
- data/justfile +43 -0
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/resources/account.rb +117 -747
- 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 +93 -128
- 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 +2 -79
- 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 +8 -665
- data/lib/stripe/resources/checkout/session.rb +21 -513
- 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 +12 -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 +1 -22
- 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 +48 -1768
- data/lib/stripe/resources/payment_link.rb +15 -213
- data/lib/stripe/resources/payment_method.rb +19 -345
- data/lib/stripe/resources/payment_method_configuration.rb +58 -292
- 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 +23 -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 +46 -161
- 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 +23 -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 +100 -521
- data/lib/stripe/services/account_session_service.rb +22 -80
- 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 +2 -50
- 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 +9 -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 +1 -10
- 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 +42 -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 +42 -102
- data/lib/stripe/services/payment_method_domain_service.rb +0 -8
- data/lib/stripe/services/payment_method_service.rb +14 -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 +21 -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 +36 -106
- 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 +7 -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 +23 -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 +7 -2
- data/lib/stripe/stripe_configuration.rb +21 -1
- data/lib/stripe/stripe_object.rb +3 -3
- data/lib/stripe/thin_event.rb +22 -2
- data/lib/stripe/util.rb +1 -1
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +22 -0
- data/rbi/stripe/resources/account.rbi +120 -1007
- 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 +121 -172
- 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 +2 -108
- 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 +10 -738
- data/rbi/stripe/resources/checkout/session.rbi +26 -638
- 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 +15 -365
- 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 +1 -27
- 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 +61 -2230
- data/rbi/stripe/resources/payment_link.rbi +14 -291
- data/rbi/stripe/resources/payment_method.rbi +23 -384
- data/rbi/stripe/resources/payment_method_configuration.rbi +75 -495
- 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 +27 -691
- 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 +54 -213
- 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 +22 -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 +98 -779
- data/rbi/stripe/services/account_session_service.rbi +29 -122
- 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 +2 -78
- 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 +12 -396
- 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 +1 -14
- 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 +54 -1770
- 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 +46 -296
- data/rbi/stripe/services/payment_method_domain_service.rbi +0 -13
- data/rbi/stripe/services/payment_method_service.rbi +16 -151
- 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 +24 -598
- 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 +40 -156
- 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 +10 -115
- 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 +24 -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 +4 -2
@@ -13,23 +13,18 @@ module Stripe
|
|
13
13
|
# City, district, suburb, town, or village.
|
14
14
|
sig { returns(T.nilable(String)) }
|
15
15
|
attr_reader :city
|
16
|
-
|
17
16
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
18
17
|
sig { returns(T.nilable(String)) }
|
19
18
|
attr_reader :country
|
20
|
-
|
21
19
|
# Address line 1 (e.g., street, PO Box, or company name).
|
22
20
|
sig { returns(T.nilable(String)) }
|
23
21
|
attr_reader :line1
|
24
|
-
|
25
22
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
26
23
|
sig { returns(T.nilable(String)) }
|
27
24
|
attr_reader :line2
|
28
|
-
|
29
25
|
# ZIP or postal code.
|
30
26
|
sig { returns(T.nilable(String)) }
|
31
27
|
attr_reader :postal_code
|
32
|
-
|
33
28
|
# State, county, province, or region.
|
34
29
|
sig { returns(T.nilable(String)) }
|
35
30
|
attr_reader :state
|
@@ -37,15 +32,12 @@ module Stripe
|
|
37
32
|
# Billing address.
|
38
33
|
sig { returns(T.nilable(Address)) }
|
39
34
|
attr_reader :address
|
40
|
-
|
41
35
|
# Email address.
|
42
36
|
sig { returns(T.nilable(String)) }
|
43
37
|
attr_reader :email
|
44
|
-
|
45
38
|
# Full name.
|
46
39
|
sig { returns(T.nilable(String)) }
|
47
40
|
attr_reader :name
|
48
|
-
|
49
41
|
# Billing phone number (including extension).
|
50
42
|
sig { returns(T.nilable(String)) }
|
51
43
|
attr_reader :phone
|
@@ -54,7 +46,6 @@ module Stripe
|
|
54
46
|
# Assessments from Stripe. If set, the value is `fraudulent`.
|
55
47
|
sig { returns(String) }
|
56
48
|
attr_reader :stripe_report
|
57
|
-
|
58
49
|
# Assessments reported by you. If set, possible values of are `safe` and `fraudulent`.
|
59
50
|
sig { returns(String) }
|
60
51
|
attr_reader :user_report
|
@@ -64,23 +55,18 @@ module Stripe
|
|
64
55
|
# Attribute for field discount_amount
|
65
56
|
sig { returns(T.nilable(Integer)) }
|
66
57
|
attr_reader :discount_amount
|
67
|
-
|
68
58
|
# Attribute for field product_code
|
69
59
|
sig { returns(String) }
|
70
60
|
attr_reader :product_code
|
71
|
-
|
72
61
|
# Attribute for field product_description
|
73
62
|
sig { returns(String) }
|
74
63
|
attr_reader :product_description
|
75
|
-
|
76
64
|
# Attribute for field quantity
|
77
65
|
sig { returns(T.nilable(Integer)) }
|
78
66
|
attr_reader :quantity
|
79
|
-
|
80
67
|
# Attribute for field tax_amount
|
81
68
|
sig { returns(T.nilable(Integer)) }
|
82
69
|
attr_reader :tax_amount
|
83
|
-
|
84
70
|
# Attribute for field unit_cost
|
85
71
|
sig { returns(T.nilable(Integer)) }
|
86
72
|
attr_reader :unit_cost
|
@@ -88,23 +74,18 @@ module Stripe
|
|
88
74
|
# Attribute for field customer_reference
|
89
75
|
sig { returns(String) }
|
90
76
|
attr_reader :customer_reference
|
91
|
-
|
92
77
|
# Attribute for field line_items
|
93
78
|
sig { returns(T::Array[LineItem]) }
|
94
79
|
attr_reader :line_items
|
95
|
-
|
96
80
|
# Attribute for field merchant_reference
|
97
81
|
sig { returns(String) }
|
98
82
|
attr_reader :merchant_reference
|
99
|
-
|
100
83
|
# Attribute for field shipping_address_zip
|
101
84
|
sig { returns(String) }
|
102
85
|
attr_reader :shipping_address_zip
|
103
|
-
|
104
86
|
# Attribute for field shipping_amount
|
105
87
|
sig { returns(Integer) }
|
106
88
|
attr_reader :shipping_amount
|
107
|
-
|
108
89
|
# Attribute for field shipping_from_zip
|
109
90
|
sig { returns(String) }
|
110
91
|
attr_reader :shipping_from_zip
|
@@ -114,47 +95,40 @@ module Stripe
|
|
114
95
|
# The action taken on the payment.
|
115
96
|
sig { returns(String) }
|
116
97
|
attr_reader :action
|
117
|
-
|
118
98
|
# Unique identifier for the object.
|
119
99
|
sig { returns(String) }
|
120
100
|
attr_reader :id
|
121
|
-
|
122
101
|
# The predicate to evaluate the payment against.
|
123
102
|
sig { returns(String) }
|
124
103
|
attr_reader :predicate
|
125
104
|
end
|
105
|
+
# An enumerated value providing a more detailed explanation on [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines).
|
106
|
+
sig { returns(T.nilable(String)) }
|
107
|
+
attr_reader :advice_code
|
126
108
|
# For charges declined by the network, a 2 digit code which indicates the advice returned by the network on how to proceed with an error.
|
127
109
|
sig { returns(T.nilable(String)) }
|
128
110
|
attr_reader :network_advice_code
|
129
|
-
|
130
111
|
# For charges declined by the network, a brand specific 2, 3, or 4 digit code which indicates the reason the authorization failed.
|
131
112
|
sig { returns(T.nilable(String)) }
|
132
113
|
attr_reader :network_decline_code
|
133
|
-
|
134
114
|
# Possible values are `approved_by_network`, `declined_by_network`, `not_sent_to_network`, and `reversed_after_approval`. The value `reversed_after_approval` indicates the payment was [blocked by Stripe](https://stripe.com/docs/declines#blocked-payments) after bank authorization, and may temporarily appear as "pending" on a cardholder's statement.
|
135
115
|
sig { returns(T.nilable(String)) }
|
136
116
|
attr_reader :network_status
|
137
|
-
|
138
117
|
# An enumerated value providing a more detailed explanation of the outcome's `type`. Charges blocked by Radar's default block rule have the value `highest_risk_level`. Charges placed in review by Radar's default review rule have the value `elevated_risk_level`. Charges authorized, blocked, or placed in review by custom rules have the value `rule`. See [understanding declines](https://stripe.com/docs/declines) for more details.
|
139
118
|
sig { returns(T.nilable(String)) }
|
140
119
|
attr_reader :reason
|
141
|
-
|
142
120
|
# Stripe Radar's evaluation of the riskiness of the payment. Possible values for evaluated payments are `normal`, `elevated`, `highest`. For non-card payments, and card-based payments predating the public assignment of risk levels, this field will have the value `not_assessed`. In the event of an error in the evaluation, this field will have the value `unknown`. This field is only available with Radar.
|
143
121
|
sig { returns(String) }
|
144
122
|
attr_reader :risk_level
|
145
|
-
|
146
123
|
# Stripe Radar's evaluation of the riskiness of the payment. Possible values for evaluated payments are between 0 and 100. For non-card payments, card-based payments predating the public assignment of risk scores, or in the event of an error during evaluation, this field will not be present. This field is only available with Radar for Fraud Teams.
|
147
124
|
sig { returns(Integer) }
|
148
125
|
attr_reader :risk_score
|
149
|
-
|
150
126
|
# The ID of the Radar rule that matched the payment, if applicable.
|
151
127
|
sig { returns(T.any(String, Rule)) }
|
152
128
|
attr_reader :rule
|
153
|
-
|
154
129
|
# A human-readable description of the outcome type and reason, designed for you (the recipient of the payment), not your customer.
|
155
130
|
sig { returns(T.nilable(String)) }
|
156
131
|
attr_reader :seller_message
|
157
|
-
|
158
132
|
# Possible values are `authorized`, `manual_review`, `issuer_declined`, `blocked`, and `invalid`. See [understanding declines](https://stripe.com/docs/declines) and [Radar reviews](https://stripe.com/docs/radar/reviews) for details.
|
159
133
|
sig { returns(String) }
|
160
134
|
attr_reader :type
|
@@ -164,15 +138,12 @@ module Stripe
|
|
164
138
|
# Account number to transfer funds to.
|
165
139
|
sig { returns(T.nilable(String)) }
|
166
140
|
attr_reader :account_number
|
167
|
-
|
168
141
|
# Name of the bank associated with the routing number.
|
169
142
|
sig { returns(T.nilable(String)) }
|
170
143
|
attr_reader :bank_name
|
171
|
-
|
172
144
|
# Routing transit number for the bank account to transfer funds to.
|
173
145
|
sig { returns(T.nilable(String)) }
|
174
146
|
attr_reader :routing_number
|
175
|
-
|
176
147
|
# SWIFT code of the bank associated with the routing number.
|
177
148
|
sig { returns(T.nilable(String)) }
|
178
149
|
attr_reader :swift_code
|
@@ -181,23 +152,18 @@ module Stripe
|
|
181
152
|
# Type of entity that holds the account. This can be either `individual` or `company`.
|
182
153
|
sig { returns(T.nilable(String)) }
|
183
154
|
attr_reader :account_holder_type
|
184
|
-
|
185
155
|
# Name of the bank associated with the bank account.
|
186
156
|
sig { returns(T.nilable(String)) }
|
187
157
|
attr_reader :bank_name
|
188
|
-
|
189
158
|
# Two-letter ISO code representing the country the bank account is located in.
|
190
159
|
sig { returns(T.nilable(String)) }
|
191
160
|
attr_reader :country
|
192
|
-
|
193
161
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
194
162
|
sig { returns(T.nilable(String)) }
|
195
163
|
attr_reader :fingerprint
|
196
|
-
|
197
164
|
# Last four digits of the bank account number.
|
198
165
|
sig { returns(T.nilable(String)) }
|
199
166
|
attr_reader :last4
|
200
|
-
|
201
167
|
# Routing transit number of the bank account.
|
202
168
|
sig { returns(T.nilable(String)) }
|
203
169
|
attr_reader :routing_number
|
@@ -206,23 +172,18 @@ module Stripe
|
|
206
172
|
# Name of the bank associated with the bank account.
|
207
173
|
sig { returns(T.nilable(String)) }
|
208
174
|
attr_reader :bank_name
|
209
|
-
|
210
175
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
211
176
|
sig { returns(T.nilable(String)) }
|
212
177
|
attr_reader :fingerprint
|
213
|
-
|
214
178
|
# Institution number of the bank account
|
215
179
|
sig { returns(T.nilable(String)) }
|
216
180
|
attr_reader :institution_number
|
217
|
-
|
218
181
|
# Last four digits of the bank account number.
|
219
182
|
sig { returns(T.nilable(String)) }
|
220
183
|
attr_reader :last4
|
221
|
-
|
222
184
|
# ID of the mandate used to make this payment.
|
223
185
|
sig { returns(String) }
|
224
186
|
attr_reader :mandate
|
225
|
-
|
226
187
|
# Transit number of the bank account.
|
227
188
|
sig { returns(T.nilable(String)) }
|
228
189
|
attr_reader :transit_number
|
@@ -236,7 +197,6 @@ module Stripe
|
|
236
197
|
# The Afterpay order ID associated with this payment intent.
|
237
198
|
sig { returns(T.nilable(String)) }
|
238
199
|
attr_reader :order_id
|
239
|
-
|
240
200
|
# Order identifier shown to the merchant in Afterpay’s online portal.
|
241
201
|
sig { returns(T.nilable(String)) }
|
242
202
|
attr_reader :reference
|
@@ -245,11 +205,9 @@ module Stripe
|
|
245
205
|
# Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same.
|
246
206
|
sig { returns(String) }
|
247
207
|
attr_reader :buyer_id
|
248
|
-
|
249
208
|
# Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same.
|
250
209
|
sig { returns(T.nilable(String)) }
|
251
210
|
attr_reader :fingerprint
|
252
|
-
|
253
211
|
# Transaction ID of this particular Alipay transaction.
|
254
212
|
sig { returns(T.nilable(String)) }
|
255
213
|
attr_reader :transaction_id
|
@@ -261,23 +219,18 @@ module Stripe
|
|
261
219
|
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
262
220
|
sig { returns(T.nilable(String)) }
|
263
221
|
attr_reader :brand
|
264
|
-
|
265
222
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
266
223
|
sig { returns(T.nilable(String)) }
|
267
224
|
attr_reader :country
|
268
|
-
|
269
225
|
# Two-digit number representing the card's expiration month.
|
270
226
|
sig { returns(T.nilable(Integer)) }
|
271
227
|
attr_reader :exp_month
|
272
|
-
|
273
228
|
# Four-digit number representing the card's expiration year.
|
274
229
|
sig { returns(T.nilable(Integer)) }
|
275
230
|
attr_reader :exp_year
|
276
|
-
|
277
231
|
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
278
232
|
sig { returns(T.nilable(String)) }
|
279
233
|
attr_reader :funding
|
280
|
-
|
281
234
|
# The last four digits of the card.
|
282
235
|
sig { returns(T.nilable(String)) }
|
283
236
|
attr_reader :last4
|
@@ -285,7 +238,6 @@ module Stripe
|
|
285
238
|
# Attribute for field card
|
286
239
|
sig { returns(Card) }
|
287
240
|
attr_reader :card
|
288
|
-
|
289
241
|
# funding type of the underlying payment method.
|
290
242
|
sig { returns(T.nilable(String)) }
|
291
243
|
attr_reader :type
|
@@ -298,15 +250,12 @@ module Stripe
|
|
298
250
|
# Bank-State-Branch number of the bank account.
|
299
251
|
sig { returns(T.nilable(String)) }
|
300
252
|
attr_reader :bsb_number
|
301
|
-
|
302
253
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
303
254
|
sig { returns(T.nilable(String)) }
|
304
255
|
attr_reader :fingerprint
|
305
|
-
|
306
256
|
# Last four digits of the bank account number.
|
307
257
|
sig { returns(T.nilable(String)) }
|
308
258
|
attr_reader :last4
|
309
|
-
|
310
259
|
# ID of the mandate used to make this payment.
|
311
260
|
sig { returns(String) }
|
312
261
|
attr_reader :mandate
|
@@ -315,15 +264,12 @@ module Stripe
|
|
315
264
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
316
265
|
sig { returns(T.nilable(String)) }
|
317
266
|
attr_reader :fingerprint
|
318
|
-
|
319
267
|
# Last four digits of the bank account number.
|
320
268
|
sig { returns(T.nilable(String)) }
|
321
269
|
attr_reader :last4
|
322
|
-
|
323
270
|
# ID of the mandate used to make this payment.
|
324
271
|
sig { returns(T.nilable(String)) }
|
325
272
|
attr_reader :mandate
|
326
|
-
|
327
273
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
328
274
|
sig { returns(T.nilable(String)) }
|
329
275
|
attr_reader :sort_code
|
@@ -332,32 +278,25 @@ module Stripe
|
|
332
278
|
# Bank code of bank associated with the bank account.
|
333
279
|
sig { returns(T.nilable(String)) }
|
334
280
|
attr_reader :bank_code
|
335
|
-
|
336
281
|
# Name of the bank associated with the bank account.
|
337
282
|
sig { returns(T.nilable(String)) }
|
338
283
|
attr_reader :bank_name
|
339
|
-
|
340
284
|
# Bank Identifier Code of the bank associated with the bank account.
|
341
285
|
sig { returns(T.nilable(String)) }
|
342
286
|
attr_reader :bic
|
343
|
-
|
344
287
|
# The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
|
345
288
|
sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) }
|
346
289
|
attr_reader :generated_sepa_debit
|
347
|
-
|
348
290
|
# The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
|
349
291
|
sig { returns(T.nilable(T.any(String, Stripe::Mandate))) }
|
350
292
|
attr_reader :generated_sepa_debit_mandate
|
351
|
-
|
352
293
|
# Last four characters of the IBAN.
|
353
294
|
sig { returns(T.nilable(String)) }
|
354
295
|
attr_reader :iban_last4
|
355
|
-
|
356
296
|
# Preferred language of the Bancontact authorization page that the customer is redirected to.
|
357
297
|
# Can be one of `en`, `de`, `fr`, or `nl`
|
358
298
|
sig { returns(T.nilable(String)) }
|
359
299
|
attr_reader :preferred_language
|
360
|
-
|
361
300
|
# Owner's verified full name. Values are verified or provided by Bancontact directly
|
362
301
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
363
302
|
sig { returns(T.nilable(String)) }
|
@@ -378,11 +317,9 @@ module Stripe
|
|
378
317
|
# If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
379
318
|
sig { returns(T.nilable(String)) }
|
380
319
|
attr_reader :address_line1_check
|
381
|
-
|
382
320
|
# If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
383
321
|
sig { returns(T.nilable(String)) }
|
384
322
|
attr_reader :address_postal_code_check
|
385
|
-
|
386
323
|
# If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
387
324
|
sig { returns(T.nilable(String)) }
|
388
325
|
attr_reader :cvc_check
|
@@ -407,12 +344,10 @@ module Stripe
|
|
407
344
|
# For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card.
|
408
345
|
sig { returns(T.nilable(Integer)) }
|
409
346
|
attr_reader :count
|
410
|
-
|
411
347
|
# For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card.
|
412
348
|
# One of `month`.
|
413
349
|
sig { returns(T.nilable(String)) }
|
414
350
|
attr_reader :interval
|
415
|
-
|
416
351
|
# Type of installment plan, one of `fixed_count`.
|
417
352
|
sig { returns(String) }
|
418
353
|
attr_reader :type
|
@@ -435,7 +370,6 @@ module Stripe
|
|
435
370
|
# The maximum amount that can be captured.
|
436
371
|
sig { returns(Integer) }
|
437
372
|
attr_reader :maximum_amount_capturable
|
438
|
-
|
439
373
|
# Indicates whether or not the authorized amount can be over-captured.
|
440
374
|
sig { returns(String) }
|
441
375
|
attr_reader :status
|
@@ -450,35 +384,28 @@ module Stripe
|
|
450
384
|
# the issuing bank.
|
451
385
|
sig { returns(T.nilable(String)) }
|
452
386
|
attr_reader :authentication_flow
|
453
|
-
|
454
387
|
# The Electronic Commerce Indicator (ECI). A protocol-level field
|
455
388
|
# indicating what degree of authentication was performed.
|
456
389
|
sig { returns(T.nilable(String)) }
|
457
390
|
attr_reader :electronic_commerce_indicator
|
458
|
-
|
459
391
|
# The exemption requested via 3DS and accepted by the issuer at authentication time.
|
460
392
|
sig { returns(T.nilable(String)) }
|
461
393
|
attr_reader :exemption_indicator
|
462
|
-
|
463
394
|
# Whether Stripe requested the value of `exemption_indicator` in the transaction. This will depend on
|
464
395
|
# the outcome of Stripe's internal risk assessment.
|
465
396
|
sig { returns(T::Boolean) }
|
466
397
|
attr_reader :exemption_indicator_applied
|
467
|
-
|
468
398
|
# Indicates the outcome of 3D Secure authentication.
|
469
399
|
sig { returns(T.nilable(String)) }
|
470
400
|
attr_reader :result
|
471
|
-
|
472
401
|
# Additional information about why 3D Secure succeeded or failed based
|
473
402
|
# on the `result`.
|
474
403
|
sig { returns(T.nilable(String)) }
|
475
404
|
attr_reader :result_reason
|
476
|
-
|
477
405
|
# The 3D Secure 1 XID or 3D Secure 2 Directory Server Transaction ID
|
478
406
|
# (dsTransId) for this payment.
|
479
407
|
sig { returns(T.nilable(String)) }
|
480
408
|
attr_reader :transaction_id
|
481
|
-
|
482
409
|
# The version of 3D Secure that was used.
|
483
410
|
sig { returns(T.nilable(String)) }
|
484
411
|
attr_reader :version
|
@@ -493,23 +420,18 @@ module Stripe
|
|
493
420
|
# City, district, suburb, town, or village.
|
494
421
|
sig { returns(T.nilable(String)) }
|
495
422
|
attr_reader :city
|
496
|
-
|
497
423
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
498
424
|
sig { returns(T.nilable(String)) }
|
499
425
|
attr_reader :country
|
500
|
-
|
501
426
|
# Address line 1 (e.g., street, PO Box, or company name).
|
502
427
|
sig { returns(T.nilable(String)) }
|
503
428
|
attr_reader :line1
|
504
|
-
|
505
429
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
506
430
|
sig { returns(T.nilable(String)) }
|
507
431
|
attr_reader :line2
|
508
|
-
|
509
432
|
# ZIP or postal code.
|
510
433
|
sig { returns(T.nilable(String)) }
|
511
434
|
attr_reader :postal_code
|
512
|
-
|
513
435
|
# State, county, province, or region.
|
514
436
|
sig { returns(T.nilable(String)) }
|
515
437
|
attr_reader :state
|
@@ -518,23 +440,18 @@ module Stripe
|
|
518
440
|
# City, district, suburb, town, or village.
|
519
441
|
sig { returns(T.nilable(String)) }
|
520
442
|
attr_reader :city
|
521
|
-
|
522
443
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
523
444
|
sig { returns(T.nilable(String)) }
|
524
445
|
attr_reader :country
|
525
|
-
|
526
446
|
# Address line 1 (e.g., street, PO Box, or company name).
|
527
447
|
sig { returns(T.nilable(String)) }
|
528
448
|
attr_reader :line1
|
529
|
-
|
530
449
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
531
450
|
sig { returns(T.nilable(String)) }
|
532
451
|
attr_reader :line2
|
533
|
-
|
534
452
|
# ZIP or postal code.
|
535
453
|
sig { returns(T.nilable(String)) }
|
536
454
|
attr_reader :postal_code
|
537
|
-
|
538
455
|
# State, county, province, or region.
|
539
456
|
sig { returns(T.nilable(String)) }
|
540
457
|
attr_reader :state
|
@@ -542,15 +459,12 @@ module Stripe
|
|
542
459
|
# Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
543
460
|
sig { returns(T.nilable(BillingAddress)) }
|
544
461
|
attr_reader :billing_address
|
545
|
-
|
546
462
|
# Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
547
463
|
sig { returns(T.nilable(String)) }
|
548
464
|
attr_reader :email
|
549
|
-
|
550
465
|
# Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
551
466
|
sig { returns(T.nilable(String)) }
|
552
467
|
attr_reader :name
|
553
|
-
|
554
468
|
# Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
555
469
|
sig { returns(T.nilable(ShippingAddress)) }
|
556
470
|
attr_reader :shipping_address
|
@@ -561,23 +475,18 @@ module Stripe
|
|
561
475
|
# City, district, suburb, town, or village.
|
562
476
|
sig { returns(T.nilable(String)) }
|
563
477
|
attr_reader :city
|
564
|
-
|
565
478
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
566
479
|
sig { returns(T.nilable(String)) }
|
567
480
|
attr_reader :country
|
568
|
-
|
569
481
|
# Address line 1 (e.g., street, PO Box, or company name).
|
570
482
|
sig { returns(T.nilable(String)) }
|
571
483
|
attr_reader :line1
|
572
|
-
|
573
484
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
574
485
|
sig { returns(T.nilable(String)) }
|
575
486
|
attr_reader :line2
|
576
|
-
|
577
487
|
# ZIP or postal code.
|
578
488
|
sig { returns(T.nilable(String)) }
|
579
489
|
attr_reader :postal_code
|
580
|
-
|
581
490
|
# State, county, province, or region.
|
582
491
|
sig { returns(T.nilable(String)) }
|
583
492
|
attr_reader :state
|
@@ -586,23 +495,18 @@ module Stripe
|
|
586
495
|
# City, district, suburb, town, or village.
|
587
496
|
sig { returns(T.nilable(String)) }
|
588
497
|
attr_reader :city
|
589
|
-
|
590
498
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
591
499
|
sig { returns(T.nilable(String)) }
|
592
500
|
attr_reader :country
|
593
|
-
|
594
501
|
# Address line 1 (e.g., street, PO Box, or company name).
|
595
502
|
sig { returns(T.nilable(String)) }
|
596
503
|
attr_reader :line1
|
597
|
-
|
598
504
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
599
505
|
sig { returns(T.nilable(String)) }
|
600
506
|
attr_reader :line2
|
601
|
-
|
602
507
|
# ZIP or postal code.
|
603
508
|
sig { returns(T.nilable(String)) }
|
604
509
|
attr_reader :postal_code
|
605
|
-
|
606
510
|
# State, county, province, or region.
|
607
511
|
sig { returns(T.nilable(String)) }
|
608
512
|
attr_reader :state
|
@@ -610,15 +514,12 @@ module Stripe
|
|
610
514
|
# Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
611
515
|
sig { returns(T.nilable(BillingAddress)) }
|
612
516
|
attr_reader :billing_address
|
613
|
-
|
614
517
|
# Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
615
518
|
sig { returns(T.nilable(String)) }
|
616
519
|
attr_reader :email
|
617
|
-
|
618
520
|
# Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
619
521
|
sig { returns(T.nilable(String)) }
|
620
522
|
attr_reader :name
|
621
|
-
|
622
523
|
# Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
623
524
|
sig { returns(T.nilable(ShippingAddress)) }
|
624
525
|
attr_reader :shipping_address
|
@@ -626,35 +527,27 @@ module Stripe
|
|
626
527
|
# Attribute for field amex_express_checkout
|
627
528
|
sig { returns(AmexExpressCheckout) }
|
628
529
|
attr_reader :amex_express_checkout
|
629
|
-
|
630
530
|
# Attribute for field apple_pay
|
631
531
|
sig { returns(ApplePay) }
|
632
532
|
attr_reader :apple_pay
|
633
|
-
|
634
533
|
# (For tokenized numbers only.) The last four digits of the device account number.
|
635
534
|
sig { returns(T.nilable(String)) }
|
636
535
|
attr_reader :dynamic_last4
|
637
|
-
|
638
536
|
# Attribute for field google_pay
|
639
537
|
sig { returns(GooglePay) }
|
640
538
|
attr_reader :google_pay
|
641
|
-
|
642
539
|
# Attribute for field link
|
643
540
|
sig { returns(Link) }
|
644
541
|
attr_reader :link
|
645
|
-
|
646
542
|
# Attribute for field masterpass
|
647
543
|
sig { returns(Masterpass) }
|
648
544
|
attr_reader :masterpass
|
649
|
-
|
650
545
|
# Attribute for field samsung_pay
|
651
546
|
sig { returns(SamsungPay) }
|
652
547
|
attr_reader :samsung_pay
|
653
|
-
|
654
548
|
# The type of the card wallet, one of `amex_express_checkout`, `apple_pay`, `google_pay`, `masterpass`, `samsung_pay`, `visa_checkout`, or `link`. An additional hash is included on the Wallet subhash with a name matching this value. It contains additional information specific to the card wallet type.
|
655
549
|
sig { returns(String) }
|
656
550
|
attr_reader :type
|
657
|
-
|
658
551
|
# Attribute for field visa_checkout
|
659
552
|
sig { returns(VisaCheckout) }
|
660
553
|
attr_reader :visa_checkout
|
@@ -662,123 +555,94 @@ module Stripe
|
|
662
555
|
# The authorized amount.
|
663
556
|
sig { returns(T.nilable(Integer)) }
|
664
557
|
attr_reader :amount_authorized
|
665
|
-
|
666
558
|
# The latest amount intended to be authorized by this charge.
|
667
559
|
sig { returns(T.nilable(Integer)) }
|
668
560
|
attr_reader :amount_requested
|
669
|
-
|
670
561
|
# Authorization code on the charge.
|
671
562
|
sig { returns(T.nilable(String)) }
|
672
563
|
attr_reader :authorization_code
|
673
|
-
|
674
564
|
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
675
565
|
sig { returns(T.nilable(String)) }
|
676
566
|
attr_reader :brand
|
677
|
-
|
678
567
|
# When using manual capture, a future timestamp at which the charge will be automatically refunded if uncaptured.
|
679
568
|
sig { returns(Integer) }
|
680
569
|
attr_reader :capture_before
|
681
|
-
|
682
570
|
# Check results by Card networks on Card address and CVC at time of payment.
|
683
571
|
sig { returns(T.nilable(Checks)) }
|
684
572
|
attr_reader :checks
|
685
|
-
|
686
573
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
687
574
|
sig { returns(T.nilable(String)) }
|
688
575
|
attr_reader :country
|
689
|
-
|
690
576
|
# Attribute for field decremental_authorization
|
691
577
|
sig { returns(DecrementalAuthorization) }
|
692
578
|
attr_reader :decremental_authorization
|
693
|
-
|
694
579
|
# A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
695
580
|
sig { returns(T.nilable(String)) }
|
696
581
|
attr_reader :description
|
697
|
-
|
698
582
|
# Two-digit number representing the card's expiration month.
|
699
583
|
sig { returns(Integer) }
|
700
584
|
attr_reader :exp_month
|
701
|
-
|
702
585
|
# Four-digit number representing the card's expiration year.
|
703
586
|
sig { returns(Integer) }
|
704
587
|
attr_reader :exp_year
|
705
|
-
|
706
588
|
# Attribute for field extended_authorization
|
707
589
|
sig { returns(ExtendedAuthorization) }
|
708
590
|
attr_reader :extended_authorization
|
709
|
-
|
710
591
|
# Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
|
711
592
|
#
|
712
593
|
# *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
|
713
594
|
sig { returns(T.nilable(String)) }
|
714
595
|
attr_reader :fingerprint
|
715
|
-
|
716
596
|
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
717
597
|
sig { returns(T.nilable(String)) }
|
718
598
|
attr_reader :funding
|
719
|
-
|
720
599
|
# Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
|
721
600
|
sig { returns(T.nilable(String)) }
|
722
601
|
attr_reader :iin
|
723
|
-
|
724
602
|
# Attribute for field incremental_authorization
|
725
603
|
sig { returns(IncrementalAuthorization) }
|
726
604
|
attr_reader :incremental_authorization
|
727
|
-
|
728
605
|
# Installment details for this payment (Mexico only).
|
729
606
|
#
|
730
607
|
# For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments).
|
731
608
|
sig { returns(T.nilable(Installments)) }
|
732
609
|
attr_reader :installments
|
733
|
-
|
734
610
|
# The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
|
735
611
|
sig { returns(T.nilable(String)) }
|
736
612
|
attr_reader :issuer
|
737
|
-
|
738
613
|
# The last four digits of the card.
|
739
614
|
sig { returns(T.nilable(String)) }
|
740
615
|
attr_reader :last4
|
741
|
-
|
742
616
|
# ID of the mandate used to make this payment or created by it.
|
743
617
|
sig { returns(T.nilable(String)) }
|
744
618
|
attr_reader :mandate
|
745
|
-
|
746
619
|
# True if this payment was marked as MOTO and out of scope for SCA.
|
747
620
|
sig { returns(T.nilable(T::Boolean)) }
|
748
621
|
attr_reader :moto
|
749
|
-
|
750
622
|
# Attribute for field multicapture
|
751
623
|
sig { returns(Multicapture) }
|
752
624
|
attr_reader :multicapture
|
753
|
-
|
754
625
|
# Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
755
626
|
sig { returns(T.nilable(String)) }
|
756
627
|
attr_reader :network
|
757
|
-
|
758
628
|
# If this card has network token credentials, this contains the details of the network token credentials.
|
759
629
|
sig { returns(T.nilable(NetworkToken)) }
|
760
630
|
attr_reader :network_token
|
761
|
-
|
762
631
|
# This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
|
763
632
|
sig { returns(T.nilable(String)) }
|
764
633
|
attr_reader :network_transaction_id
|
765
|
-
|
766
634
|
# Attribute for field overcapture
|
767
635
|
sig { returns(Overcapture) }
|
768
636
|
attr_reader :overcapture
|
769
|
-
|
770
637
|
# Attribute for field partial_authorization
|
771
638
|
sig { returns(PartialAuthorization) }
|
772
639
|
attr_reader :partial_authorization
|
773
|
-
|
774
640
|
# Status of a card based on the card issuer.
|
775
641
|
sig { returns(T.nilable(String)) }
|
776
642
|
attr_reader :regulated_status
|
777
|
-
|
778
643
|
# Populated if this transaction used 3D Secure authentication.
|
779
644
|
sig { returns(T.nilable(ThreeDSecure)) }
|
780
645
|
attr_reader :three_d_secure
|
781
|
-
|
782
646
|
# If this Card is part of a card wallet, this contains the details of the card wallet.
|
783
647
|
sig { returns(T.nilable(Wallet)) }
|
784
648
|
attr_reader :wallet
|
@@ -788,7 +652,6 @@ module Stripe
|
|
788
652
|
# Time at which the payment was collected while offline
|
789
653
|
sig { returns(T.nilable(Integer)) }
|
790
654
|
attr_reader :stored_at
|
791
|
-
|
792
655
|
# The method used to process this payment method offline. Only deferred is allowed.
|
793
656
|
sig { returns(T.nilable(String)) }
|
794
657
|
attr_reader :type
|
@@ -797,35 +660,27 @@ module Stripe
|
|
797
660
|
# The type of account being debited or credited
|
798
661
|
sig { returns(String) }
|
799
662
|
attr_reader :account_type
|
800
|
-
|
801
663
|
# EMV tag 9F26, cryptogram generated by the integrated circuit chip.
|
802
664
|
sig { returns(T.nilable(String)) }
|
803
665
|
attr_reader :application_cryptogram
|
804
|
-
|
805
666
|
# Mnenomic of the Application Identifier.
|
806
667
|
sig { returns(T.nilable(String)) }
|
807
668
|
attr_reader :application_preferred_name
|
808
|
-
|
809
669
|
# Identifier for this transaction.
|
810
670
|
sig { returns(T.nilable(String)) }
|
811
671
|
attr_reader :authorization_code
|
812
|
-
|
813
672
|
# EMV tag 8A. A code returned by the card issuer.
|
814
673
|
sig { returns(T.nilable(String)) }
|
815
674
|
attr_reader :authorization_response_code
|
816
|
-
|
817
675
|
# Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
|
818
676
|
sig { returns(T.nilable(String)) }
|
819
677
|
attr_reader :cardholder_verification_method
|
820
|
-
|
821
678
|
# EMV tag 84. Similar to the application identifier stored on the integrated circuit chip.
|
822
679
|
sig { returns(T.nilable(String)) }
|
823
680
|
attr_reader :dedicated_file_name
|
824
|
-
|
825
681
|
# The outcome of a series of EMV functions performed by the card reader.
|
826
682
|
sig { returns(T.nilable(String)) }
|
827
683
|
attr_reader :terminal_verification_results
|
828
|
-
|
829
684
|
# An indication of various EMV functions performed during the transaction.
|
830
685
|
sig { returns(T.nilable(String)) }
|
831
686
|
attr_reader :transaction_status_information
|
@@ -838,101 +693,77 @@ module Stripe
|
|
838
693
|
# The authorized amount
|
839
694
|
sig { returns(T.nilable(Integer)) }
|
840
695
|
attr_reader :amount_authorized
|
841
|
-
|
842
696
|
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
843
697
|
sig { returns(T.nilable(String)) }
|
844
698
|
attr_reader :brand
|
845
|
-
|
846
699
|
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card.
|
847
700
|
sig { returns(T.nilable(String)) }
|
848
701
|
attr_reader :brand_product
|
849
|
-
|
850
702
|
# When using manual capture, a future timestamp after which the charge will be automatically refunded if uncaptured.
|
851
703
|
sig { returns(Integer) }
|
852
704
|
attr_reader :capture_before
|
853
|
-
|
854
705
|
# The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
|
855
706
|
sig { returns(T.nilable(String)) }
|
856
707
|
attr_reader :cardholder_name
|
857
|
-
|
858
708
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
859
709
|
sig { returns(T.nilable(String)) }
|
860
710
|
attr_reader :country
|
861
|
-
|
862
711
|
# A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
863
712
|
sig { returns(T.nilable(String)) }
|
864
713
|
attr_reader :description
|
865
|
-
|
866
714
|
# Authorization response cryptogram.
|
867
715
|
sig { returns(T.nilable(String)) }
|
868
716
|
attr_reader :emv_auth_data
|
869
|
-
|
870
717
|
# Two-digit number representing the card's expiration month.
|
871
718
|
sig { returns(Integer) }
|
872
719
|
attr_reader :exp_month
|
873
|
-
|
874
720
|
# Four-digit number representing the card's expiration year.
|
875
721
|
sig { returns(Integer) }
|
876
722
|
attr_reader :exp_year
|
877
|
-
|
878
723
|
# Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
|
879
724
|
#
|
880
725
|
# *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
|
881
726
|
sig { returns(T.nilable(String)) }
|
882
727
|
attr_reader :fingerprint
|
883
|
-
|
884
728
|
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
885
729
|
sig { returns(T.nilable(String)) }
|
886
730
|
attr_reader :funding
|
887
|
-
|
888
731
|
# ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.
|
889
732
|
sig { returns(T.nilable(String)) }
|
890
733
|
attr_reader :generated_card
|
891
|
-
|
892
734
|
# Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
|
893
735
|
sig { returns(T.nilable(String)) }
|
894
736
|
attr_reader :iin
|
895
|
-
|
896
737
|
# Whether this [PaymentIntent](https://stripe.com/docs/api/payment_intents) is eligible for incremental authorizations. Request support using [request_incremental_authorization_support](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method_options-card_present-request_incremental_authorization_support).
|
897
738
|
sig { returns(T::Boolean) }
|
898
739
|
attr_reader :incremental_authorization_supported
|
899
|
-
|
900
740
|
# The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
|
901
741
|
sig { returns(T.nilable(String)) }
|
902
742
|
attr_reader :issuer
|
903
|
-
|
904
743
|
# The last four digits of the card.
|
905
744
|
sig { returns(T.nilable(String)) }
|
906
745
|
attr_reader :last4
|
907
|
-
|
908
746
|
# Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
909
747
|
sig { returns(T.nilable(String)) }
|
910
748
|
attr_reader :network
|
911
|
-
|
912
749
|
# This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
|
913
750
|
sig { returns(T.nilable(String)) }
|
914
751
|
attr_reader :network_transaction_id
|
915
|
-
|
916
752
|
# Details about payments collected offline.
|
917
753
|
sig { returns(T.nilable(Offline)) }
|
918
754
|
attr_reader :offline
|
919
|
-
|
920
755
|
# Defines whether the authorized amount can be over-captured or not
|
921
756
|
sig { returns(T::Boolean) }
|
922
757
|
attr_reader :overcapture_supported
|
923
|
-
|
924
758
|
# EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.
|
925
759
|
sig { returns(T.nilable(T::Array[String])) }
|
926
760
|
attr_reader :preferred_locales
|
927
|
-
|
928
761
|
# How card details were read in this transaction.
|
929
762
|
sig { returns(T.nilable(String)) }
|
930
763
|
attr_reader :read_method
|
931
|
-
|
932
764
|
# A collection of fields required to be displayed on receipts. Only required for EMV transactions.
|
933
765
|
sig { returns(T.nilable(Receipt)) }
|
934
766
|
attr_reader :receipt
|
935
|
-
|
936
767
|
# Attribute for field wallet
|
937
768
|
sig { returns(Wallet) }
|
938
769
|
attr_reader :wallet
|
@@ -941,7 +772,6 @@ module Stripe
|
|
941
772
|
# A unique and immutable identifier assigned by Cash App to every buyer.
|
942
773
|
sig { returns(T.nilable(String)) }
|
943
774
|
attr_reader :buyer_id
|
944
|
-
|
945
775
|
# A public identifier for buyers using Cash App.
|
946
776
|
sig { returns(T.nilable(String)) }
|
947
777
|
attr_reader :cashtag
|
@@ -951,7 +781,6 @@ module Stripe
|
|
951
781
|
# The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`.
|
952
782
|
sig { returns(T.nilable(String)) }
|
953
783
|
attr_reader :bank
|
954
|
-
|
955
784
|
# Owner's verified full name. Values are verified or provided by EPS directly
|
956
785
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
957
786
|
# EPS rarely provides this information so the attribute is usually empty.
|
@@ -962,11 +791,9 @@ module Stripe
|
|
962
791
|
# Account holder type, if provided. Can be one of `individual` or `company`.
|
963
792
|
sig { returns(T.nilable(String)) }
|
964
793
|
attr_reader :account_holder_type
|
965
|
-
|
966
794
|
# The customer's bank. Can be one of `affin_bank`, `agrobank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, `pb_enterprise`, or `bank_of_china`.
|
967
795
|
sig { returns(String) }
|
968
796
|
attr_reader :bank
|
969
|
-
|
970
797
|
# Unique transaction id generated by FPX for every request from the merchant
|
971
798
|
sig { returns(T.nilable(String)) }
|
972
799
|
attr_reader :transaction_id
|
@@ -975,15 +802,12 @@ module Stripe
|
|
975
802
|
# Bank code of bank associated with the bank account.
|
976
803
|
sig { returns(T.nilable(String)) }
|
977
804
|
attr_reader :bank_code
|
978
|
-
|
979
805
|
# Name of the bank associated with the bank account.
|
980
806
|
sig { returns(T.nilable(String)) }
|
981
807
|
attr_reader :bank_name
|
982
|
-
|
983
808
|
# Bank Identifier Code of the bank associated with the bank account.
|
984
809
|
sig { returns(T.nilable(String)) }
|
985
810
|
attr_reader :bic
|
986
|
-
|
987
811
|
# Owner's verified full name. Values are verified or provided by Giropay directly
|
988
812
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
989
813
|
# Giropay rarely provides this information so the attribute is usually empty.
|
@@ -1000,19 +824,15 @@ module Stripe
|
|
1000
824
|
# Account number of the bank account to transfer funds to.
|
1001
825
|
sig { returns(String) }
|
1002
826
|
attr_reader :account_number
|
1003
|
-
|
1004
827
|
# Bank where the account is located.
|
1005
828
|
sig { returns(String) }
|
1006
829
|
attr_reader :bank
|
1007
|
-
|
1008
830
|
# Local bank code of the bank.
|
1009
831
|
sig { returns(String) }
|
1010
832
|
attr_reader :bank_code
|
1011
|
-
|
1012
833
|
# Name of the bank associated with the bank account.
|
1013
834
|
sig { returns(String) }
|
1014
835
|
attr_reader :bank_name
|
1015
|
-
|
1016
836
|
# Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
1017
837
|
sig { returns(String) }
|
1018
838
|
attr_reader :display_name
|
@@ -1021,23 +841,18 @@ module Stripe
|
|
1021
841
|
# The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
1022
842
|
sig { returns(T.nilable(String)) }
|
1023
843
|
attr_reader :bank
|
1024
|
-
|
1025
844
|
# The Bank Identifier Code of the customer's bank.
|
1026
845
|
sig { returns(T.nilable(String)) }
|
1027
846
|
attr_reader :bic
|
1028
|
-
|
1029
847
|
# The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
|
1030
848
|
sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) }
|
1031
849
|
attr_reader :generated_sepa_debit
|
1032
|
-
|
1033
850
|
# The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
|
1034
851
|
sig { returns(T.nilable(T.any(String, Stripe::Mandate))) }
|
1035
852
|
attr_reader :generated_sepa_debit_mandate
|
1036
|
-
|
1037
853
|
# Last four characters of the IBAN.
|
1038
854
|
sig { returns(T.nilable(String)) }
|
1039
855
|
attr_reader :iban_last4
|
1040
|
-
|
1041
856
|
# Owner's verified full name. Values are verified or provided by iDEAL directly
|
1042
857
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
1043
858
|
sig { returns(T.nilable(String)) }
|
@@ -1048,35 +863,27 @@ module Stripe
|
|
1048
863
|
# The type of account being debited or credited
|
1049
864
|
sig { returns(String) }
|
1050
865
|
attr_reader :account_type
|
1051
|
-
|
1052
866
|
# EMV tag 9F26, cryptogram generated by the integrated circuit chip.
|
1053
867
|
sig { returns(T.nilable(String)) }
|
1054
868
|
attr_reader :application_cryptogram
|
1055
|
-
|
1056
869
|
# Mnenomic of the Application Identifier.
|
1057
870
|
sig { returns(T.nilable(String)) }
|
1058
871
|
attr_reader :application_preferred_name
|
1059
|
-
|
1060
872
|
# Identifier for this transaction.
|
1061
873
|
sig { returns(T.nilable(String)) }
|
1062
874
|
attr_reader :authorization_code
|
1063
|
-
|
1064
875
|
# EMV tag 8A. A code returned by the card issuer.
|
1065
876
|
sig { returns(T.nilable(String)) }
|
1066
877
|
attr_reader :authorization_response_code
|
1067
|
-
|
1068
878
|
# Describes the method used by the cardholder to verify ownership of the card. One of the following: `approval`, `failure`, `none`, `offline_pin`, `offline_pin_and_signature`, `online_pin`, or `signature`.
|
1069
879
|
sig { returns(T.nilable(String)) }
|
1070
880
|
attr_reader :cardholder_verification_method
|
1071
|
-
|
1072
881
|
# EMV tag 84. Similar to the application identifier stored on the integrated circuit chip.
|
1073
882
|
sig { returns(T.nilable(String)) }
|
1074
883
|
attr_reader :dedicated_file_name
|
1075
|
-
|
1076
884
|
# The outcome of a series of EMV functions performed by the card reader.
|
1077
885
|
sig { returns(T.nilable(String)) }
|
1078
886
|
attr_reader :terminal_verification_results
|
1079
|
-
|
1080
887
|
# An indication of various EMV functions performed during the transaction.
|
1081
888
|
sig { returns(T.nilable(String)) }
|
1082
889
|
attr_reader :transaction_status_information
|
@@ -1084,73 +891,56 @@ module Stripe
|
|
1084
891
|
# Card brand. Can be `interac`, `mastercard` or `visa`.
|
1085
892
|
sig { returns(T.nilable(String)) }
|
1086
893
|
attr_reader :brand
|
1087
|
-
|
1088
894
|
# The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.
|
1089
895
|
sig { returns(T.nilable(String)) }
|
1090
896
|
attr_reader :cardholder_name
|
1091
|
-
|
1092
897
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
1093
898
|
sig { returns(T.nilable(String)) }
|
1094
899
|
attr_reader :country
|
1095
|
-
|
1096
900
|
# A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
1097
901
|
sig { returns(T.nilable(String)) }
|
1098
902
|
attr_reader :description
|
1099
|
-
|
1100
903
|
# Authorization response cryptogram.
|
1101
904
|
sig { returns(T.nilable(String)) }
|
1102
905
|
attr_reader :emv_auth_data
|
1103
|
-
|
1104
906
|
# Two-digit number representing the card's expiration month.
|
1105
907
|
sig { returns(Integer) }
|
1106
908
|
attr_reader :exp_month
|
1107
|
-
|
1108
909
|
# Four-digit number representing the card's expiration year.
|
1109
910
|
sig { returns(Integer) }
|
1110
911
|
attr_reader :exp_year
|
1111
|
-
|
1112
912
|
# Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
|
1113
913
|
#
|
1114
914
|
# *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
|
1115
915
|
sig { returns(T.nilable(String)) }
|
1116
916
|
attr_reader :fingerprint
|
1117
|
-
|
1118
917
|
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
1119
918
|
sig { returns(T.nilable(String)) }
|
1120
919
|
attr_reader :funding
|
1121
|
-
|
1122
920
|
# ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.
|
1123
921
|
sig { returns(T.nilable(String)) }
|
1124
922
|
attr_reader :generated_card
|
1125
|
-
|
1126
923
|
# Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
|
1127
924
|
sig { returns(T.nilable(String)) }
|
1128
925
|
attr_reader :iin
|
1129
|
-
|
1130
926
|
# The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
|
1131
927
|
sig { returns(T.nilable(String)) }
|
1132
928
|
attr_reader :issuer
|
1133
|
-
|
1134
929
|
# The last four digits of the card.
|
1135
930
|
sig { returns(T.nilable(String)) }
|
1136
931
|
attr_reader :last4
|
1137
|
-
|
1138
932
|
# Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
1139
933
|
sig { returns(T.nilable(String)) }
|
1140
934
|
attr_reader :network
|
1141
|
-
|
1142
935
|
# This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
|
1143
936
|
sig { returns(T.nilable(String)) }
|
1144
937
|
attr_reader :network_transaction_id
|
1145
|
-
|
1146
938
|
# EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.
|
1147
939
|
sig { returns(T.nilable(T::Array[String])) }
|
1148
940
|
attr_reader :preferred_locales
|
1149
|
-
|
1150
941
|
# How card details were read in this transaction.
|
1151
942
|
sig { returns(T.nilable(String)) }
|
1152
943
|
attr_reader :read_method
|
1153
|
-
|
1154
944
|
# A collection of fields required to be displayed on receipts. Only required for EMV transactions.
|
1155
945
|
sig { returns(T.nilable(Receipt)) }
|
1156
946
|
attr_reader :receipt
|
@@ -1174,12 +964,10 @@ module Stripe
|
|
1174
964
|
# The payer details for this transaction.
|
1175
965
|
sig { returns(T.nilable(PayerDetails)) }
|
1176
966
|
attr_reader :payer_details
|
1177
|
-
|
1178
967
|
# The Klarna payment method used for this transaction.
|
1179
968
|
# Can be one of `pay_later`, `pay_now`, `pay_with_financing`, or `pay_in_installments`
|
1180
969
|
sig { returns(T.nilable(String)) }
|
1181
970
|
attr_reader :payment_method_category
|
1182
|
-
|
1183
971
|
# Preferred language of the Klarna authorization page that the customer is redirected to.
|
1184
972
|
# Can be one of `de-AT`, `en-AT`, `nl-BE`, `fr-BE`, `en-BE`, `de-DE`, `en-DE`, `da-DK`, `en-DK`, `es-ES`, `en-ES`, `fi-FI`, `sv-FI`, `en-FI`, `en-GB`, `en-IE`, `it-IT`, `en-IT`, `nl-NL`, `en-NL`, `nb-NO`, `en-NO`, `sv-SE`, `en-SE`, `en-US`, `es-US`, `fr-FR`, `en-FR`, `cs-CZ`, `en-CZ`, `ro-RO`, `en-RO`, `el-GR`, `en-GR`, `en-AU`, `en-NZ`, `en-CA`, `fr-CA`, `pl-PL`, `en-PL`, `pt-PT`, `en-PT`, `de-CH`, `fr-CH`, `it-CH`, or `en-CH`
|
1185
973
|
sig { returns(T.nilable(String)) }
|
@@ -1199,11 +987,9 @@ module Stripe
|
|
1199
987
|
# The local credit or debit card brand.
|
1200
988
|
sig { returns(T.nilable(String)) }
|
1201
989
|
attr_reader :brand
|
1202
|
-
|
1203
990
|
# A unique identifier for the buyer as determined by the local payment processor.
|
1204
991
|
sig { returns(T.nilable(String)) }
|
1205
992
|
attr_reader :buyer_id
|
1206
|
-
|
1207
993
|
# The last four digits of the card. This may not be present for American Express cards.
|
1208
994
|
sig { returns(T.nilable(String)) }
|
1209
995
|
attr_reader :last4
|
@@ -1220,19 +1006,15 @@ module Stripe
|
|
1220
1006
|
# Brand of the card used in the transaction
|
1221
1007
|
sig { returns(T.nilable(String)) }
|
1222
1008
|
attr_reader :brand
|
1223
|
-
|
1224
1009
|
# Two-letter ISO code representing the country of the card
|
1225
1010
|
sig { returns(T.nilable(String)) }
|
1226
1011
|
attr_reader :country
|
1227
|
-
|
1228
1012
|
# Two digit number representing the card's expiration month
|
1229
1013
|
sig { returns(T.nilable(Integer)) }
|
1230
1014
|
attr_reader :exp_month
|
1231
|
-
|
1232
1015
|
# Two digit number representing the card's expiration year
|
1233
1016
|
sig { returns(T.nilable(Integer)) }
|
1234
1017
|
attr_reader :exp_year
|
1235
|
-
|
1236
1018
|
# The last 4 digits of the card
|
1237
1019
|
sig { returns(T.nilable(String)) }
|
1238
1020
|
attr_reader :last4
|
@@ -1245,7 +1027,6 @@ module Stripe
|
|
1245
1027
|
# Entity number associated with this Multibanco payment.
|
1246
1028
|
sig { returns(T.nilable(String)) }
|
1247
1029
|
attr_reader :entity
|
1248
|
-
|
1249
1030
|
# Reference number associated with this Multibanco payment.
|
1250
1031
|
sig { returns(T.nilable(String)) }
|
1251
1032
|
attr_reader :reference
|
@@ -1264,17 +1045,16 @@ module Stripe
|
|
1264
1045
|
# The customer's bank. Can be one of `ing`, `citi_handlowy`, `tmobile_usbugi_bankowe`, `plus_bank`, `etransfer_pocztowy24`, `banki_spbdzielcze`, `bank_nowy_bfg_sa`, `getin_bank`, `velobank`, `blik`, `noble_pay`, `ideabank`, `envelobank`, `santander_przelew24`, `nest_przelew`, `mbank_mtransfer`, `inteligo`, `pbac_z_ipko`, `bnp_paribas`, `credit_agricole`, `toyota_bank`, `bank_pekao_sa`, `volkswagen_bank`, `bank_millennium`, `alior_bank`, or `boz`.
|
1265
1046
|
sig { returns(T.nilable(String)) }
|
1266
1047
|
attr_reader :bank
|
1267
|
-
|
1268
1048
|
# Unique reference for this Przelewy24 payment.
|
1269
1049
|
sig { returns(T.nilable(String)) }
|
1270
1050
|
attr_reader :reference
|
1271
|
-
|
1272
1051
|
# Owner's verified full name. Values are verified or provided by Przelewy24 directly
|
1273
1052
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
1274
1053
|
# Przelewy24 rarely provides this information so the attribute is usually empty.
|
1275
1054
|
sig { returns(T.nilable(String)) }
|
1276
1055
|
attr_reader :verified_name
|
1277
1056
|
end
|
1057
|
+
class PayByBank < Stripe::StripeObject; end
|
1278
1058
|
class Payco < Stripe::StripeObject
|
1279
1059
|
# A unique identifier for the buyer as determined by the local payment processor.
|
1280
1060
|
sig { returns(T.nilable(String)) }
|
@@ -1290,7 +1070,6 @@ module Stripe
|
|
1290
1070
|
# An array of conditions that are covered for the transaction, if applicable.
|
1291
1071
|
sig { returns(T.nilable(T::Array[String])) }
|
1292
1072
|
attr_reader :dispute_categories
|
1293
|
-
|
1294
1073
|
# Indicates whether the transaction is eligible for PayPal's seller protection.
|
1295
1074
|
sig { returns(String) }
|
1296
1075
|
attr_reader :status
|
@@ -1299,23 +1078,18 @@ module Stripe
|
|
1299
1078
|
# City, district, suburb, town, or village.
|
1300
1079
|
sig { returns(T.nilable(String)) }
|
1301
1080
|
attr_reader :city
|
1302
|
-
|
1303
1081
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1304
1082
|
sig { returns(T.nilable(String)) }
|
1305
1083
|
attr_reader :country
|
1306
|
-
|
1307
1084
|
# Address line 1 (e.g., street, PO Box, or company name).
|
1308
1085
|
sig { returns(T.nilable(String)) }
|
1309
1086
|
attr_reader :line1
|
1310
|
-
|
1311
1087
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1312
1088
|
sig { returns(T.nilable(String)) }
|
1313
1089
|
attr_reader :line2
|
1314
|
-
|
1315
1090
|
# ZIP or postal code.
|
1316
1091
|
sig { returns(T.nilable(String)) }
|
1317
1092
|
attr_reader :postal_code
|
1318
|
-
|
1319
1093
|
# State, county, province, or region.
|
1320
1094
|
sig { returns(T.nilable(String)) }
|
1321
1095
|
attr_reader :state
|
@@ -1324,66 +1098,56 @@ module Stripe
|
|
1324
1098
|
# City, district, suburb, town, or village.
|
1325
1099
|
sig { returns(T.nilable(String)) }
|
1326
1100
|
attr_reader :city
|
1327
|
-
|
1328
1101
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1329
1102
|
sig { returns(T.nilable(String)) }
|
1330
1103
|
attr_reader :country
|
1331
|
-
|
1332
1104
|
# Address line 1 (e.g., street, PO Box, or company name).
|
1333
1105
|
sig { returns(T.nilable(String)) }
|
1334
1106
|
attr_reader :line1
|
1335
|
-
|
1336
1107
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1337
1108
|
sig { returns(T.nilable(String)) }
|
1338
1109
|
attr_reader :line2
|
1339
|
-
|
1340
1110
|
# ZIP or postal code.
|
1341
1111
|
sig { returns(T.nilable(String)) }
|
1342
1112
|
attr_reader :postal_code
|
1343
|
-
|
1344
1113
|
# State, county, province, or region.
|
1345
1114
|
sig { returns(T.nilable(String)) }
|
1346
1115
|
attr_reader :state
|
1347
1116
|
end
|
1117
|
+
# Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
1118
|
+
sig { returns(T.nilable(String)) }
|
1119
|
+
attr_reader :country
|
1348
1120
|
# Owner's email. Values are provided by PayPal directly
|
1349
1121
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
1350
1122
|
sig { returns(T.nilable(String)) }
|
1351
1123
|
attr_reader :payer_email
|
1352
|
-
|
1353
1124
|
# PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
1354
1125
|
sig { returns(T.nilable(String)) }
|
1355
1126
|
attr_reader :payer_id
|
1356
|
-
|
1357
1127
|
# Owner's full name. Values provided by PayPal directly
|
1358
1128
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
1359
1129
|
sig { returns(T.nilable(String)) }
|
1360
1130
|
attr_reader :payer_name
|
1361
|
-
|
1362
1131
|
# The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
|
1363
1132
|
sig { returns(T.nilable(SellerProtection)) }
|
1364
1133
|
attr_reader :seller_protection
|
1365
|
-
|
1366
1134
|
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
1367
1135
|
# execution. This shipping address will not be updated if the merchant updates the shipping
|
1368
1136
|
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
1369
1137
|
sig { returns(T.nilable(Shipping)) }
|
1370
1138
|
attr_reader :shipping
|
1371
|
-
|
1372
1139
|
# A unique ID generated by PayPal for this transaction.
|
1373
1140
|
sig { returns(T.nilable(String)) }
|
1374
1141
|
attr_reader :transaction_id
|
1375
|
-
|
1376
1142
|
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
1377
1143
|
# execution. This shipping address will not be updated if the merchant updates the shipping
|
1378
1144
|
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
1379
1145
|
sig { returns(T.nilable(VerifiedAddress)) }
|
1380
1146
|
attr_reader :verified_address
|
1381
|
-
|
1382
1147
|
# Owner's verified email. Values are verified or provided by PayPal directly
|
1383
1148
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
1384
1149
|
sig { returns(T.nilable(String)) }
|
1385
1150
|
attr_reader :verified_email
|
1386
|
-
|
1387
1151
|
# Owner's verified full name. Values are verified or provided by PayPal directly
|
1388
1152
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
1389
1153
|
sig { returns(T.nilable(String)) }
|
@@ -1393,15 +1157,12 @@ module Stripe
|
|
1393
1157
|
# Bank-State-Branch number of the bank account.
|
1394
1158
|
sig { returns(T.nilable(String)) }
|
1395
1159
|
attr_reader :bsb_number
|
1396
|
-
|
1397
1160
|
# Last four digits of the bank account number.
|
1398
1161
|
sig { returns(T.nilable(String)) }
|
1399
1162
|
attr_reader :last4
|
1400
|
-
|
1401
1163
|
# ID of the mandate used to make this payment.
|
1402
1164
|
sig { returns(String) }
|
1403
1165
|
attr_reader :mandate
|
1404
|
-
|
1405
1166
|
# The PayID alias for the bank account.
|
1406
1167
|
sig { returns(T.nilable(String)) }
|
1407
1168
|
attr_reader :pay_id
|
@@ -1424,23 +1185,18 @@ module Stripe
|
|
1424
1185
|
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
1425
1186
|
sig { returns(T.nilable(String)) }
|
1426
1187
|
attr_reader :brand
|
1427
|
-
|
1428
1188
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
1429
1189
|
sig { returns(T.nilable(String)) }
|
1430
1190
|
attr_reader :country
|
1431
|
-
|
1432
1191
|
# Two-digit number representing the card's expiration month.
|
1433
1192
|
sig { returns(T.nilable(Integer)) }
|
1434
1193
|
attr_reader :exp_month
|
1435
|
-
|
1436
1194
|
# Four-digit number representing the card's expiration year.
|
1437
1195
|
sig { returns(T.nilable(Integer)) }
|
1438
1196
|
attr_reader :exp_year
|
1439
|
-
|
1440
1197
|
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
1441
1198
|
sig { returns(T.nilable(String)) }
|
1442
1199
|
attr_reader :funding
|
1443
|
-
|
1444
1200
|
# The last four digits of the card.
|
1445
1201
|
sig { returns(T.nilable(String)) }
|
1446
1202
|
attr_reader :last4
|
@@ -1448,7 +1204,6 @@ module Stripe
|
|
1448
1204
|
# Attribute for field card
|
1449
1205
|
sig { returns(Card) }
|
1450
1206
|
attr_reader :card
|
1451
|
-
|
1452
1207
|
# funding type of the underlying payment method.
|
1453
1208
|
sig { returns(T.nilable(String)) }
|
1454
1209
|
attr_reader :type
|
@@ -1466,11 +1221,9 @@ module Stripe
|
|
1466
1221
|
# Name of the bank associated with the bank account.
|
1467
1222
|
sig { returns(T.nilable(String)) }
|
1468
1223
|
attr_reader :bank_name
|
1469
|
-
|
1470
1224
|
# Bank Identifier Code of the bank associated with the bank account.
|
1471
1225
|
sig { returns(T.nilable(String)) }
|
1472
1226
|
attr_reader :bic
|
1473
|
-
|
1474
1227
|
# IBAN of the bank account to transfer funds to.
|
1475
1228
|
sig { returns(T.nilable(String)) }
|
1476
1229
|
attr_reader :iban
|
@@ -1479,23 +1232,18 @@ module Stripe
|
|
1479
1232
|
# Bank code of bank associated with the bank account.
|
1480
1233
|
sig { returns(T.nilable(String)) }
|
1481
1234
|
attr_reader :bank_code
|
1482
|
-
|
1483
1235
|
# Branch code of bank associated with the bank account.
|
1484
1236
|
sig { returns(T.nilable(String)) }
|
1485
1237
|
attr_reader :branch_code
|
1486
|
-
|
1487
1238
|
# Two-letter ISO code representing the country the bank account is located in.
|
1488
1239
|
sig { returns(T.nilable(String)) }
|
1489
1240
|
attr_reader :country
|
1490
|
-
|
1491
1241
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
1492
1242
|
sig { returns(T.nilable(String)) }
|
1493
1243
|
attr_reader :fingerprint
|
1494
|
-
|
1495
1244
|
# Last four characters of the IBAN.
|
1496
1245
|
sig { returns(T.nilable(String)) }
|
1497
1246
|
attr_reader :last4
|
1498
|
-
|
1499
1247
|
# Find the ID of the mandate used for this payment under the [payment_method_details.sepa_debit.mandate](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-sepa_debit-mandate) property on the Charge. Use this mandate ID to [retrieve the Mandate](https://stripe.com/docs/api/mandates/retrieve).
|
1500
1248
|
sig { returns(T.nilable(String)) }
|
1501
1249
|
attr_reader :mandate
|
@@ -1505,36 +1253,28 @@ module Stripe
|
|
1505
1253
|
# Bank code of bank associated with the bank account.
|
1506
1254
|
sig { returns(T.nilable(String)) }
|
1507
1255
|
attr_reader :bank_code
|
1508
|
-
|
1509
1256
|
# Name of the bank associated with the bank account.
|
1510
1257
|
sig { returns(T.nilable(String)) }
|
1511
1258
|
attr_reader :bank_name
|
1512
|
-
|
1513
1259
|
# Bank Identifier Code of the bank associated with the bank account.
|
1514
1260
|
sig { returns(T.nilable(String)) }
|
1515
1261
|
attr_reader :bic
|
1516
|
-
|
1517
1262
|
# Two-letter ISO code representing the country the bank account is located in.
|
1518
1263
|
sig { returns(T.nilable(String)) }
|
1519
1264
|
attr_reader :country
|
1520
|
-
|
1521
1265
|
# The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
|
1522
1266
|
sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) }
|
1523
1267
|
attr_reader :generated_sepa_debit
|
1524
|
-
|
1525
1268
|
# The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
|
1526
1269
|
sig { returns(T.nilable(T.any(String, Stripe::Mandate))) }
|
1527
1270
|
attr_reader :generated_sepa_debit_mandate
|
1528
|
-
|
1529
1271
|
# Last four characters of the IBAN.
|
1530
1272
|
sig { returns(T.nilable(String)) }
|
1531
1273
|
attr_reader :iban_last4
|
1532
|
-
|
1533
1274
|
# Preferred language of the SOFORT authorization page that the customer is redirected to.
|
1534
1275
|
# Can be one of `de`, `en`, `es`, `fr`, `it`, `nl`, or `pl`
|
1535
1276
|
sig { returns(T.nilable(String)) }
|
1536
1277
|
attr_reader :preferred_language
|
1537
|
-
|
1538
1278
|
# Owner's verified full name. Values are verified or provided by SOFORT directly
|
1539
1279
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
1540
1280
|
sig { returns(T.nilable(String)) }
|
@@ -1545,11 +1285,9 @@ module Stripe
|
|
1545
1285
|
# Uniquely identifies the payer's Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer
|
1546
1286
|
sig { returns(T.nilable(String)) }
|
1547
1287
|
attr_reader :fingerprint
|
1548
|
-
|
1549
1288
|
# Payer bank reference number for the payment
|
1550
1289
|
sig { returns(T.nilable(String)) }
|
1551
1290
|
attr_reader :payment_reference
|
1552
|
-
|
1553
1291
|
# The last four digits of the Swish account phone number
|
1554
1292
|
sig { returns(T.nilable(String)) }
|
1555
1293
|
attr_reader :verified_phone_last4
|
@@ -1559,31 +1297,24 @@ module Stripe
|
|
1559
1297
|
# Account holder type: individual or company.
|
1560
1298
|
sig { returns(T.nilable(String)) }
|
1561
1299
|
attr_reader :account_holder_type
|
1562
|
-
|
1563
1300
|
# Account type: checkings or savings. Defaults to checking if omitted.
|
1564
1301
|
sig { returns(T.nilable(String)) }
|
1565
1302
|
attr_reader :account_type
|
1566
|
-
|
1567
1303
|
# Name of the bank associated with the bank account.
|
1568
1304
|
sig { returns(T.nilable(String)) }
|
1569
1305
|
attr_reader :bank_name
|
1570
|
-
|
1571
1306
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
1572
1307
|
sig { returns(T.nilable(String)) }
|
1573
1308
|
attr_reader :fingerprint
|
1574
|
-
|
1575
1309
|
# Last four digits of the bank account number.
|
1576
1310
|
sig { returns(T.nilable(String)) }
|
1577
1311
|
attr_reader :last4
|
1578
|
-
|
1579
1312
|
# ID of the mandate used to make this payment.
|
1580
1313
|
sig { returns(T.any(String, Stripe::Mandate)) }
|
1581
1314
|
attr_reader :mandate
|
1582
|
-
|
1583
1315
|
# Reference number to locate ACH payments with customer's bank.
|
1584
1316
|
sig { returns(T.nilable(String)) }
|
1585
1317
|
attr_reader :payment_reference
|
1586
|
-
|
1587
1318
|
# Routing number of the bank account.
|
1588
1319
|
sig { returns(T.nilable(String)) }
|
1589
1320
|
attr_reader :routing_number
|
@@ -1593,7 +1324,6 @@ module Stripe
|
|
1593
1324
|
# Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.
|
1594
1325
|
sig { returns(T.nilable(String)) }
|
1595
1326
|
attr_reader :fingerprint
|
1596
|
-
|
1597
1327
|
# Transaction ID of this particular WeChat Pay transaction.
|
1598
1328
|
sig { returns(T.nilable(String)) }
|
1599
1329
|
attr_reader :transaction_id
|
@@ -1602,233 +1332,179 @@ module Stripe
|
|
1602
1332
|
# Attribute for field ach_credit_transfer
|
1603
1333
|
sig { returns(AchCreditTransfer) }
|
1604
1334
|
attr_reader :ach_credit_transfer
|
1605
|
-
|
1606
1335
|
# Attribute for field ach_debit
|
1607
1336
|
sig { returns(AchDebit) }
|
1608
1337
|
attr_reader :ach_debit
|
1609
|
-
|
1610
1338
|
# Attribute for field acss_debit
|
1611
1339
|
sig { returns(AcssDebit) }
|
1612
1340
|
attr_reader :acss_debit
|
1613
|
-
|
1614
1341
|
# Attribute for field affirm
|
1615
1342
|
sig { returns(Affirm) }
|
1616
1343
|
attr_reader :affirm
|
1617
|
-
|
1618
1344
|
# Attribute for field afterpay_clearpay
|
1619
1345
|
sig { returns(AfterpayClearpay) }
|
1620
1346
|
attr_reader :afterpay_clearpay
|
1621
|
-
|
1622
1347
|
# Attribute for field alipay
|
1623
1348
|
sig { returns(Alipay) }
|
1624
1349
|
attr_reader :alipay
|
1625
|
-
|
1626
1350
|
# Attribute for field alma
|
1627
1351
|
sig { returns(Alma) }
|
1628
1352
|
attr_reader :alma
|
1629
|
-
|
1630
1353
|
# Attribute for field amazon_pay
|
1631
1354
|
sig { returns(AmazonPay) }
|
1632
1355
|
attr_reader :amazon_pay
|
1633
|
-
|
1634
1356
|
# Attribute for field au_becs_debit
|
1635
1357
|
sig { returns(AuBecsDebit) }
|
1636
1358
|
attr_reader :au_becs_debit
|
1637
|
-
|
1638
1359
|
# Attribute for field bacs_debit
|
1639
1360
|
sig { returns(BacsDebit) }
|
1640
1361
|
attr_reader :bacs_debit
|
1641
|
-
|
1642
1362
|
# Attribute for field bancontact
|
1643
1363
|
sig { returns(Bancontact) }
|
1644
1364
|
attr_reader :bancontact
|
1645
|
-
|
1646
1365
|
# Attribute for field blik
|
1647
1366
|
sig { returns(Blik) }
|
1648
1367
|
attr_reader :blik
|
1649
|
-
|
1650
1368
|
# Attribute for field boleto
|
1651
1369
|
sig { returns(Boleto) }
|
1652
1370
|
attr_reader :boleto
|
1653
|
-
|
1654
1371
|
# Attribute for field card
|
1655
1372
|
sig { returns(Card) }
|
1656
1373
|
attr_reader :card
|
1657
|
-
|
1658
1374
|
# Attribute for field card_present
|
1659
1375
|
sig { returns(CardPresent) }
|
1660
1376
|
attr_reader :card_present
|
1661
|
-
|
1662
1377
|
# Attribute for field cashapp
|
1663
1378
|
sig { returns(Cashapp) }
|
1664
1379
|
attr_reader :cashapp
|
1665
|
-
|
1666
1380
|
# Attribute for field customer_balance
|
1667
1381
|
sig { returns(CustomerBalance) }
|
1668
1382
|
attr_reader :customer_balance
|
1669
|
-
|
1670
1383
|
# Attribute for field eps
|
1671
1384
|
sig { returns(Eps) }
|
1672
1385
|
attr_reader :eps
|
1673
|
-
|
1674
1386
|
# Attribute for field fpx
|
1675
1387
|
sig { returns(Fpx) }
|
1676
1388
|
attr_reader :fpx
|
1677
|
-
|
1678
1389
|
# Attribute for field giropay
|
1679
1390
|
sig { returns(Giropay) }
|
1680
1391
|
attr_reader :giropay
|
1681
|
-
|
1682
1392
|
# Attribute for field gopay
|
1683
1393
|
sig { returns(Gopay) }
|
1684
1394
|
attr_reader :gopay
|
1685
|
-
|
1686
1395
|
# Attribute for field grabpay
|
1687
1396
|
sig { returns(Grabpay) }
|
1688
1397
|
attr_reader :grabpay
|
1689
|
-
|
1690
1398
|
# Attribute for field id_bank_transfer
|
1691
1399
|
sig { returns(IdBankTransfer) }
|
1692
1400
|
attr_reader :id_bank_transfer
|
1693
|
-
|
1694
1401
|
# Attribute for field ideal
|
1695
1402
|
sig { returns(Ideal) }
|
1696
1403
|
attr_reader :ideal
|
1697
|
-
|
1698
1404
|
# Attribute for field interac_present
|
1699
1405
|
sig { returns(InteracPresent) }
|
1700
1406
|
attr_reader :interac_present
|
1701
|
-
|
1702
1407
|
# Attribute for field kakao_pay
|
1703
1408
|
sig { returns(KakaoPay) }
|
1704
1409
|
attr_reader :kakao_pay
|
1705
|
-
|
1706
1410
|
# Attribute for field klarna
|
1707
1411
|
sig { returns(Klarna) }
|
1708
1412
|
attr_reader :klarna
|
1709
|
-
|
1710
1413
|
# Attribute for field konbini
|
1711
1414
|
sig { returns(Konbini) }
|
1712
1415
|
attr_reader :konbini
|
1713
|
-
|
1714
1416
|
# Attribute for field kr_card
|
1715
1417
|
sig { returns(KrCard) }
|
1716
1418
|
attr_reader :kr_card
|
1717
|
-
|
1718
1419
|
# Attribute for field link
|
1719
1420
|
sig { returns(Link) }
|
1720
1421
|
attr_reader :link
|
1721
|
-
|
1722
1422
|
# Attribute for field mb_way
|
1723
1423
|
sig { returns(MbWay) }
|
1724
1424
|
attr_reader :mb_way
|
1725
|
-
|
1726
1425
|
# Attribute for field mobilepay
|
1727
1426
|
sig { returns(Mobilepay) }
|
1728
1427
|
attr_reader :mobilepay
|
1729
|
-
|
1730
1428
|
# Attribute for field multibanco
|
1731
1429
|
sig { returns(Multibanco) }
|
1732
1430
|
attr_reader :multibanco
|
1733
|
-
|
1734
1431
|
# Attribute for field naver_pay
|
1735
1432
|
sig { returns(NaverPay) }
|
1736
1433
|
attr_reader :naver_pay
|
1737
|
-
|
1738
1434
|
# Attribute for field oxxo
|
1739
1435
|
sig { returns(Oxxo) }
|
1740
1436
|
attr_reader :oxxo
|
1741
|
-
|
1742
1437
|
# Attribute for field p24
|
1743
1438
|
sig { returns(P24) }
|
1744
1439
|
attr_reader :p24
|
1745
|
-
|
1440
|
+
# Attribute for field pay_by_bank
|
1441
|
+
sig { returns(PayByBank) }
|
1442
|
+
attr_reader :pay_by_bank
|
1746
1443
|
# Attribute for field payco
|
1747
1444
|
sig { returns(Payco) }
|
1748
1445
|
attr_reader :payco
|
1749
|
-
|
1750
1446
|
# Attribute for field paynow
|
1751
1447
|
sig { returns(Paynow) }
|
1752
1448
|
attr_reader :paynow
|
1753
|
-
|
1754
1449
|
# Attribute for field paypal
|
1755
1450
|
sig { returns(Paypal) }
|
1756
1451
|
attr_reader :paypal
|
1757
|
-
|
1758
1452
|
# Attribute for field payto
|
1759
1453
|
sig { returns(Payto) }
|
1760
1454
|
attr_reader :payto
|
1761
|
-
|
1762
1455
|
# Attribute for field pix
|
1763
1456
|
sig { returns(Pix) }
|
1764
1457
|
attr_reader :pix
|
1765
|
-
|
1766
1458
|
# Attribute for field promptpay
|
1767
1459
|
sig { returns(Promptpay) }
|
1768
1460
|
attr_reader :promptpay
|
1769
|
-
|
1770
1461
|
# Attribute for field qris
|
1771
1462
|
sig { returns(Qris) }
|
1772
1463
|
attr_reader :qris
|
1773
|
-
|
1774
1464
|
# Attribute for field rechnung
|
1775
1465
|
sig { returns(Rechnung) }
|
1776
1466
|
attr_reader :rechnung
|
1777
|
-
|
1778
1467
|
# Attribute for field revolut_pay
|
1779
1468
|
sig { returns(RevolutPay) }
|
1780
1469
|
attr_reader :revolut_pay
|
1781
|
-
|
1782
1470
|
# Attribute for field samsung_pay
|
1783
1471
|
sig { returns(SamsungPay) }
|
1784
1472
|
attr_reader :samsung_pay
|
1785
|
-
|
1786
1473
|
# Attribute for field sepa_credit_transfer
|
1787
1474
|
sig { returns(SepaCreditTransfer) }
|
1788
1475
|
attr_reader :sepa_credit_transfer
|
1789
|
-
|
1790
1476
|
# Attribute for field sepa_debit
|
1791
1477
|
sig { returns(SepaDebit) }
|
1792
1478
|
attr_reader :sepa_debit
|
1793
|
-
|
1794
1479
|
# Attribute for field shopeepay
|
1795
1480
|
sig { returns(Shopeepay) }
|
1796
1481
|
attr_reader :shopeepay
|
1797
|
-
|
1798
1482
|
# Attribute for field sofort
|
1799
1483
|
sig { returns(Sofort) }
|
1800
1484
|
attr_reader :sofort
|
1801
|
-
|
1802
1485
|
# Attribute for field stripe_account
|
1803
1486
|
sig { returns(StripeAccount) }
|
1804
1487
|
attr_reader :stripe_account
|
1805
|
-
|
1806
1488
|
# Attribute for field swish
|
1807
1489
|
sig { returns(Swish) }
|
1808
1490
|
attr_reader :swish
|
1809
|
-
|
1810
1491
|
# Attribute for field twint
|
1811
1492
|
sig { returns(Twint) }
|
1812
1493
|
attr_reader :twint
|
1813
|
-
|
1814
1494
|
# The type of transaction-specific details of the payment method used in the payment, one of `ach_credit_transfer`, `ach_debit`, `acss_debit`, `alipay`, `au_becs_debit`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `klarna`, `multibanco`, `p24`, `sepa_debit`, `sofort`, `stripe_account`, or `wechat`.
|
1815
1495
|
# An additional hash is included on `payment_method_details` with a name matching this value.
|
1816
1496
|
# It contains information specific to the payment method.
|
1817
1497
|
sig { returns(String) }
|
1818
1498
|
attr_reader :type
|
1819
|
-
|
1820
1499
|
# Attribute for field us_bank_account
|
1821
1500
|
sig { returns(UsBankAccount) }
|
1822
1501
|
attr_reader :us_bank_account
|
1823
|
-
|
1824
1502
|
# Attribute for field wechat
|
1825
1503
|
sig { returns(Wechat) }
|
1826
1504
|
attr_reader :wechat
|
1827
|
-
|
1828
1505
|
# Attribute for field wechat_pay
|
1829
1506
|
sig { returns(WechatPay) }
|
1830
1507
|
attr_reader :wechat_pay
|
1831
|
-
|
1832
1508
|
# Attribute for field zip
|
1833
1509
|
sig { returns(Zip) }
|
1834
1510
|
attr_reader :zip
|
@@ -1843,23 +1519,18 @@ module Stripe
|
|
1843
1519
|
# City, district, suburb, town, or village.
|
1844
1520
|
sig { returns(T.nilable(String)) }
|
1845
1521
|
attr_reader :city
|
1846
|
-
|
1847
1522
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1848
1523
|
sig { returns(T.nilable(String)) }
|
1849
1524
|
attr_reader :country
|
1850
|
-
|
1851
1525
|
# Address line 1 (e.g., street, PO Box, or company name).
|
1852
1526
|
sig { returns(T.nilable(String)) }
|
1853
1527
|
attr_reader :line1
|
1854
|
-
|
1855
1528
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1856
1529
|
sig { returns(T.nilable(String)) }
|
1857
1530
|
attr_reader :line2
|
1858
|
-
|
1859
1531
|
# ZIP or postal code.
|
1860
1532
|
sig { returns(T.nilable(String)) }
|
1861
1533
|
attr_reader :postal_code
|
1862
|
-
|
1863
1534
|
# State, county, province, or region.
|
1864
1535
|
sig { returns(T.nilable(String)) }
|
1865
1536
|
attr_reader :state
|
@@ -1867,19 +1538,15 @@ module Stripe
|
|
1867
1538
|
# Attribute for field address
|
1868
1539
|
sig { returns(Address) }
|
1869
1540
|
attr_reader :address
|
1870
|
-
|
1871
1541
|
# The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
|
1872
1542
|
sig { returns(T.nilable(String)) }
|
1873
1543
|
attr_reader :carrier
|
1874
|
-
|
1875
1544
|
# Recipient name.
|
1876
1545
|
sig { returns(String) }
|
1877
1546
|
attr_reader :name
|
1878
|
-
|
1879
1547
|
# Recipient phone (including extension).
|
1880
1548
|
sig { returns(T.nilable(String)) }
|
1881
1549
|
attr_reader :phone
|
1882
|
-
|
1883
1550
|
# 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.
|
1884
1551
|
sig { returns(T.nilable(String)) }
|
1885
1552
|
attr_reader :tracking_number
|
@@ -1888,7 +1555,6 @@ module Stripe
|
|
1888
1555
|
# The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
|
1889
1556
|
sig { returns(T.nilable(Integer)) }
|
1890
1557
|
attr_reader :amount
|
1891
|
-
|
1892
1558
|
# ID of an existing, connected Stripe account to transfer funds to if `transfer_data` was specified in the charge request.
|
1893
1559
|
sig { returns(T.any(String, Stripe::Account)) }
|
1894
1560
|
attr_reader :destination
|
@@ -1896,252 +1562,192 @@ module Stripe
|
|
1896
1562
|
# Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
1897
1563
|
sig { returns(Integer) }
|
1898
1564
|
attr_reader :amount
|
1899
|
-
|
1900
1565
|
# Amount in cents (or local equivalent) captured (can be less than the amount attribute on the charge if a partial capture was made).
|
1901
1566
|
sig { returns(Integer) }
|
1902
1567
|
attr_reader :amount_captured
|
1903
|
-
|
1904
1568
|
# Amount in cents (or local equivalent) refunded (can be less than the amount attribute on the charge if a partial refund was issued).
|
1905
1569
|
sig { returns(Integer) }
|
1906
1570
|
attr_reader :amount_refunded
|
1907
|
-
|
1908
1571
|
# ID of the Connect application that created the charge.
|
1909
1572
|
sig { returns(T.nilable(T.any(String, Stripe::Application))) }
|
1910
1573
|
attr_reader :application
|
1911
|
-
|
1912
1574
|
# The application fee (if any) for the charge. [See the Connect documentation](https://stripe.com/docs/connect/direct-charges#collect-fees) for details.
|
1913
1575
|
sig { returns(T.nilable(T.any(String, Stripe::ApplicationFee))) }
|
1914
1576
|
attr_reader :application_fee
|
1915
|
-
|
1916
1577
|
# The amount of the application fee (if any) requested for the charge. [See the Connect documentation](https://stripe.com/docs/connect/direct-charges#collect-fees) for details.
|
1917
1578
|
sig { returns(T.nilable(Integer)) }
|
1918
1579
|
attr_reader :application_fee_amount
|
1919
|
-
|
1920
1580
|
# Authorization code on the charge.
|
1921
1581
|
sig { returns(String) }
|
1922
1582
|
attr_reader :authorization_code
|
1923
|
-
|
1924
1583
|
# ID of the balance transaction that describes the impact of this charge on your account balance (not including refunds or disputes).
|
1925
1584
|
sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) }
|
1926
1585
|
attr_reader :balance_transaction
|
1927
|
-
|
1928
1586
|
# Attribute for field billing_details
|
1929
1587
|
sig { returns(BillingDetails) }
|
1930
1588
|
attr_reader :billing_details
|
1931
|
-
|
1932
1589
|
# The full statement descriptor that is passed to card networks, and that is displayed on your customers' credit card and bank statements. Allows you to see what the statement descriptor looks like after the static and dynamic portions are combined. This value only exists for card payments.
|
1933
1590
|
sig { returns(T.nilable(String)) }
|
1934
1591
|
attr_reader :calculated_statement_descriptor
|
1935
|
-
|
1936
1592
|
# If the charge was created without capturing, this Boolean represents whether it is still uncaptured or has since been captured.
|
1937
1593
|
sig { returns(T::Boolean) }
|
1938
1594
|
attr_reader :captured
|
1939
|
-
|
1940
1595
|
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
1941
1596
|
sig { returns(Integer) }
|
1942
1597
|
attr_reader :created
|
1943
|
-
|
1944
1598
|
# 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).
|
1945
1599
|
sig { returns(String) }
|
1946
1600
|
attr_reader :currency
|
1947
|
-
|
1948
1601
|
# ID of the customer this charge is for if one exists.
|
1949
1602
|
sig { returns(T.nilable(T.any(String, Stripe::Customer))) }
|
1950
1603
|
attr_reader :customer
|
1951
|
-
|
1952
1604
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
1953
1605
|
sig { returns(T.nilable(String)) }
|
1954
1606
|
attr_reader :description
|
1955
|
-
|
1956
1607
|
# Whether the charge has been disputed.
|
1957
1608
|
sig { returns(T::Boolean) }
|
1958
1609
|
attr_reader :disputed
|
1959
|
-
|
1960
1610
|
# ID of the balance transaction that describes the reversal of the balance on your account due to payment failure.
|
1961
1611
|
sig { returns(T.nilable(T.any(String, Stripe::BalanceTransaction))) }
|
1962
1612
|
attr_reader :failure_balance_transaction
|
1963
|
-
|
1964
1613
|
# Error code explaining reason for charge failure if available (see [the errors section](https://stripe.com/docs/error-codes) for a list of codes).
|
1965
1614
|
sig { returns(T.nilable(String)) }
|
1966
1615
|
attr_reader :failure_code
|
1967
|
-
|
1968
1616
|
# Message to user further explaining reason for charge failure if available.
|
1969
1617
|
sig { returns(T.nilable(String)) }
|
1970
1618
|
attr_reader :failure_message
|
1971
|
-
|
1972
1619
|
# Information on fraud assessments for the charge.
|
1973
1620
|
sig { returns(T.nilable(FraudDetails)) }
|
1974
1621
|
attr_reader :fraud_details
|
1975
|
-
|
1976
1622
|
# Unique identifier for the object.
|
1977
1623
|
sig { returns(String) }
|
1978
1624
|
attr_reader :id
|
1979
|
-
|
1980
1625
|
# ID of the invoice this charge is for if one exists.
|
1981
1626
|
sig { returns(T.nilable(T.any(String, Stripe::Invoice))) }
|
1982
1627
|
attr_reader :invoice
|
1983
|
-
|
1984
1628
|
# Attribute for field level3
|
1985
1629
|
sig { returns(Level3) }
|
1986
1630
|
attr_reader :level3
|
1987
|
-
|
1988
1631
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
1989
1632
|
sig { returns(T::Boolean) }
|
1990
1633
|
attr_reader :livemode
|
1991
|
-
|
1992
1634
|
# 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.
|
1993
1635
|
sig { returns(T::Hash[String, String]) }
|
1994
1636
|
attr_reader :metadata
|
1995
|
-
|
1996
1637
|
# String representing the object's type. Objects of the same type share the same value.
|
1997
1638
|
sig { returns(String) }
|
1998
1639
|
attr_reader :object
|
1999
|
-
|
2000
1640
|
# The account (if any) the charge was made on behalf of without triggering an automatic transfer. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers) for details.
|
2001
1641
|
sig { returns(T.nilable(T.any(String, Stripe::Account))) }
|
2002
1642
|
attr_reader :on_behalf_of
|
2003
|
-
|
2004
1643
|
# Details about whether the payment was accepted, and why. See [understanding declines](https://stripe.com/docs/declines) for details.
|
2005
1644
|
sig { returns(T.nilable(Outcome)) }
|
2006
1645
|
attr_reader :outcome
|
2007
|
-
|
2008
1646
|
# `true` if the charge succeeded, or was successfully authorized for later capture.
|
2009
1647
|
sig { returns(T::Boolean) }
|
2010
1648
|
attr_reader :paid
|
2011
|
-
|
2012
1649
|
# ID of the PaymentIntent associated with this charge, if one exists.
|
2013
1650
|
sig { returns(T.nilable(T.any(String, Stripe::PaymentIntent))) }
|
2014
1651
|
attr_reader :payment_intent
|
2015
|
-
|
2016
1652
|
# ID of the payment method used in this charge.
|
2017
1653
|
sig { returns(T.nilable(String)) }
|
2018
1654
|
attr_reader :payment_method
|
2019
|
-
|
2020
1655
|
# Details about the payment method at the time of the transaction.
|
2021
1656
|
sig { returns(T.nilable(PaymentMethodDetails)) }
|
2022
1657
|
attr_reader :payment_method_details
|
2023
|
-
|
2024
1658
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
2025
1659
|
sig { returns(RadarOptions) }
|
2026
1660
|
attr_reader :radar_options
|
2027
|
-
|
2028
1661
|
# This is the email address that the receipt for this charge was sent to.
|
2029
1662
|
sig { returns(T.nilable(String)) }
|
2030
1663
|
attr_reader :receipt_email
|
2031
|
-
|
2032
1664
|
# This is the transaction number that appears on email receipts sent for this charge. This attribute will be `null` until a receipt has been sent.
|
2033
1665
|
sig { returns(T.nilable(String)) }
|
2034
1666
|
attr_reader :receipt_number
|
2035
|
-
|
2036
1667
|
# This is the URL to view the receipt for this charge. The receipt is kept up-to-date to the latest state of the charge, including any refunds. If the charge is for an Invoice, the receipt will be stylized as an Invoice receipt.
|
2037
1668
|
sig { returns(T.nilable(String)) }
|
2038
1669
|
attr_reader :receipt_url
|
2039
|
-
|
2040
1670
|
# Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.
|
2041
1671
|
sig { returns(T::Boolean) }
|
2042
1672
|
attr_reader :refunded
|
2043
|
-
|
2044
1673
|
# A list of refunds that have been applied to the charge.
|
2045
1674
|
sig { returns(T.nilable(Stripe::ListObject)) }
|
2046
1675
|
attr_reader :refunds
|
2047
|
-
|
2048
1676
|
# ID of the review associated with this charge if one exists.
|
2049
1677
|
sig { returns(T.nilable(T.any(String, Stripe::Review))) }
|
2050
1678
|
attr_reader :review
|
2051
|
-
|
2052
1679
|
# Shipping information for the charge.
|
2053
1680
|
sig { returns(T.nilable(Shipping)) }
|
2054
1681
|
attr_reader :shipping
|
2055
|
-
|
2056
1682
|
# This is a legacy field that will be removed in the future. It contains the Source, Card, or BankAccount object used for the charge. For details about the payment method used for this charge, refer to `payment_method` or `payment_method_details` instead.
|
2057
1683
|
sig {
|
2058
1684
|
returns(T.nilable(T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source)))
|
2059
1685
|
}
|
2060
1686
|
attr_reader :source
|
2061
|
-
|
2062
1687
|
# The transfer ID which created this charge. Only present if the charge came from another Stripe account. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details.
|
2063
1688
|
sig { returns(T.nilable(T.any(String, Stripe::Transfer))) }
|
2064
1689
|
attr_reader :source_transfer
|
2065
|
-
|
2066
1690
|
# For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
|
2067
1691
|
#
|
2068
1692
|
# For a card charge, this value is ignored unless you don't specify a `statement_descriptor_suffix`, in which case this value is used as the suffix.
|
2069
1693
|
sig { returns(T.nilable(String)) }
|
2070
1694
|
attr_reader :statement_descriptor
|
2071
|
-
|
2072
1695
|
# Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.
|
2073
1696
|
sig { returns(T.nilable(String)) }
|
2074
1697
|
attr_reader :statement_descriptor_suffix
|
2075
|
-
|
2076
1698
|
# The status of the payment is either `succeeded`, `pending`, or `failed`.
|
2077
1699
|
sig { returns(String) }
|
2078
1700
|
attr_reader :status
|
2079
|
-
|
2080
1701
|
# ID of the transfer to the `destination` account (only applicable if the charge was created using the `destination` parameter).
|
2081
1702
|
sig { returns(T.any(String, Stripe::Transfer)) }
|
2082
1703
|
attr_reader :transfer
|
2083
|
-
|
2084
1704
|
# An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://stripe.com/docs/connect/destination-charges) for details.
|
2085
1705
|
sig { returns(T.nilable(TransferData)) }
|
2086
1706
|
attr_reader :transfer_data
|
2087
|
-
|
2088
1707
|
# A string that identifies this transaction as part of a group. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options) for details.
|
2089
1708
|
sig { returns(T.nilable(String)) }
|
2090
1709
|
attr_reader :transfer_group
|
2091
|
-
|
2092
1710
|
class ListParams < Stripe::RequestParams
|
2093
1711
|
class Created < Stripe::RequestParams
|
2094
1712
|
# Minimum value to filter by (exclusive)
|
2095
1713
|
sig { returns(Integer) }
|
2096
1714
|
attr_accessor :gt
|
2097
|
-
|
2098
1715
|
# Minimum value to filter by (inclusive)
|
2099
1716
|
sig { returns(Integer) }
|
2100
1717
|
attr_accessor :gte
|
2101
|
-
|
2102
1718
|
# Maximum value to filter by (exclusive)
|
2103
1719
|
sig { returns(Integer) }
|
2104
1720
|
attr_accessor :lt
|
2105
|
-
|
2106
1721
|
# Maximum value to filter by (inclusive)
|
2107
1722
|
sig { returns(Integer) }
|
2108
1723
|
attr_accessor :lte
|
2109
|
-
|
2110
1724
|
sig { params(gt: Integer, gte: Integer, lt: Integer, lte: Integer).void }
|
2111
1725
|
def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end
|
2112
1726
|
end
|
2113
1727
|
# Only return charges that were created during the given date interval.
|
2114
1728
|
sig { returns(T.any(::Stripe::Charge::ListParams::Created, Integer)) }
|
2115
1729
|
attr_accessor :created
|
2116
|
-
|
2117
1730
|
# Only return charges for the customer specified by this customer ID.
|
2118
1731
|
sig { returns(String) }
|
2119
1732
|
attr_accessor :customer
|
2120
|
-
|
2121
1733
|
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
2122
1734
|
sig { returns(String) }
|
2123
1735
|
attr_accessor :ending_before
|
2124
|
-
|
2125
1736
|
# Specifies which fields in the response should be expanded.
|
2126
1737
|
sig { returns(T::Array[String]) }
|
2127
1738
|
attr_accessor :expand
|
2128
|
-
|
2129
1739
|
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
2130
1740
|
sig { returns(Integer) }
|
2131
1741
|
attr_accessor :limit
|
2132
|
-
|
2133
1742
|
# Only return charges that were created by the PaymentIntent specified by this PaymentIntent ID.
|
2134
1743
|
sig { returns(String) }
|
2135
1744
|
attr_accessor :payment_intent
|
2136
|
-
|
2137
1745
|
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
2138
1746
|
sig { returns(String) }
|
2139
1747
|
attr_accessor :starting_after
|
2140
|
-
|
2141
1748
|
# Only return charges for this transfer group, limited to 100.
|
2142
1749
|
sig { returns(String) }
|
2143
1750
|
attr_accessor :transfer_group
|
2144
|
-
|
2145
1751
|
sig {
|
2146
1752
|
params(created: T.any(::Stripe::Charge::ListParams::Created, Integer), customer: String, ending_before: String, expand: T::Array[String], limit: Integer, payment_intent: String, starting_after: String, transfer_group: String).void
|
2147
1753
|
}
|
@@ -2161,11 +1767,9 @@ module Stripe
|
|
2161
1767
|
# ID of an existing, connected Stripe account.
|
2162
1768
|
sig { returns(String) }
|
2163
1769
|
attr_accessor :account
|
2164
|
-
|
2165
1770
|
# The amount to transfer to the destination account without creating an `Application Fee` object. Cannot be combined with the `application_fee` parameter. Must be less than or equal to the charge amount.
|
2166
1771
|
sig { returns(Integer) }
|
2167
1772
|
attr_accessor :amount
|
2168
|
-
|
2169
1773
|
sig { params(account: String, amount: Integer).void }
|
2170
1774
|
def initialize(account: nil, amount: nil); end
|
2171
1775
|
end
|
@@ -2173,7 +1777,6 @@ module Stripe
|
|
2173
1777
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
2174
1778
|
sig { returns(String) }
|
2175
1779
|
attr_accessor :session
|
2176
|
-
|
2177
1780
|
sig { params(session: String).void }
|
2178
1781
|
def initialize(session: nil); end
|
2179
1782
|
end
|
@@ -2182,27 +1785,21 @@ module Stripe
|
|
2182
1785
|
# City, district, suburb, town, or village.
|
2183
1786
|
sig { returns(String) }
|
2184
1787
|
attr_accessor :city
|
2185
|
-
|
2186
1788
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2187
1789
|
sig { returns(String) }
|
2188
1790
|
attr_accessor :country
|
2189
|
-
|
2190
1791
|
# Address line 1 (e.g., street, PO Box, or company name).
|
2191
1792
|
sig { returns(String) }
|
2192
1793
|
attr_accessor :line1
|
2193
|
-
|
2194
1794
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2195
1795
|
sig { returns(String) }
|
2196
1796
|
attr_accessor :line2
|
2197
|
-
|
2198
1797
|
# ZIP or postal code.
|
2199
1798
|
sig { returns(String) }
|
2200
1799
|
attr_accessor :postal_code
|
2201
|
-
|
2202
1800
|
# State, county, province, or region.
|
2203
1801
|
sig { returns(String) }
|
2204
1802
|
attr_accessor :state
|
2205
|
-
|
2206
1803
|
sig {
|
2207
1804
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
2208
1805
|
}
|
@@ -2218,23 +1815,18 @@ module Stripe
|
|
2218
1815
|
# Shipping address.
|
2219
1816
|
sig { returns(::Stripe::Charge::CreateParams::Shipping::Address) }
|
2220
1817
|
attr_accessor :address
|
2221
|
-
|
2222
1818
|
# The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
|
2223
1819
|
sig { returns(String) }
|
2224
1820
|
attr_accessor :carrier
|
2225
|
-
|
2226
1821
|
# Recipient name.
|
2227
1822
|
sig { returns(String) }
|
2228
1823
|
attr_accessor :name
|
2229
|
-
|
2230
1824
|
# Recipient phone (including extension).
|
2231
1825
|
sig { returns(String) }
|
2232
1826
|
attr_accessor :phone
|
2233
|
-
|
2234
1827
|
# 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.
|
2235
1828
|
sig { returns(String) }
|
2236
1829
|
attr_accessor :tracking_number
|
2237
|
-
|
2238
1830
|
sig {
|
2239
1831
|
params(address: ::Stripe::Charge::CreateParams::Shipping::Address, carrier: String, name: String, phone: String, tracking_number: String).void
|
2240
1832
|
}
|
@@ -2244,92 +1836,71 @@ module Stripe
|
|
2244
1836
|
# The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
|
2245
1837
|
sig { returns(Integer) }
|
2246
1838
|
attr_accessor :amount
|
2247
|
-
|
2248
1839
|
# ID of an existing, connected Stripe account.
|
2249
1840
|
sig { returns(String) }
|
2250
1841
|
attr_accessor :destination
|
2251
|
-
|
2252
1842
|
sig { params(amount: Integer, destination: String).void }
|
2253
1843
|
def initialize(amount: nil, destination: nil); end
|
2254
1844
|
end
|
2255
1845
|
# Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
2256
1846
|
sig { returns(Integer) }
|
2257
1847
|
attr_accessor :amount
|
2258
|
-
|
2259
1848
|
# Attribute for param field application_fee
|
2260
1849
|
sig { returns(Integer) }
|
2261
1850
|
attr_accessor :application_fee
|
2262
|
-
|
2263
1851
|
# A fee in cents (or local equivalent) that will be applied to the charge and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the `Stripe-Account` header in order to take an application fee. For more information, see the application fees [documentation](https://stripe.com/docs/connect/direct-charges#collect-fees).
|
2264
1852
|
sig { returns(Integer) }
|
2265
1853
|
attr_accessor :application_fee_amount
|
2266
|
-
|
2267
1854
|
# Whether to immediately capture the charge. Defaults to `true`. When `false`, the charge issues an authorization (or pre-authorization), and will need to be [captured](https://stripe.com/docs/api#capture_charge) later. Uncaptured charges expire after a set number of days (7 by default). For more information, see the [authorizing charges and settling later](https://stripe.com/docs/charges/placing-a-hold) documentation.
|
2268
1855
|
sig { returns(T::Boolean) }
|
2269
1856
|
attr_accessor :capture
|
2270
|
-
|
2271
1857
|
# 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).
|
2272
1858
|
sig { returns(String) }
|
2273
1859
|
attr_accessor :currency
|
2274
|
-
|
2275
1860
|
# The ID of an existing customer that will be charged in this request.
|
2276
1861
|
sig { returns(String) }
|
2277
1862
|
attr_accessor :customer
|
2278
|
-
|
2279
1863
|
# An arbitrary string which you can attach to a `Charge` object. It is displayed when in the web interface alongside the charge. Note that if you use Stripe to send automatic email receipts to your customers, your receipt emails will include the `description` of the charge(s) that they are describing.
|
2280
1864
|
sig { returns(String) }
|
2281
1865
|
attr_accessor :description
|
2282
|
-
|
2283
1866
|
# Attribute for param field destination
|
2284
1867
|
sig { returns(::Stripe::Charge::CreateParams::Destination) }
|
2285
1868
|
attr_accessor :destination
|
2286
|
-
|
2287
1869
|
# Specifies which fields in the response should be expanded.
|
2288
1870
|
sig { returns(T::Array[String]) }
|
2289
1871
|
attr_accessor :expand
|
2290
|
-
|
2291
1872
|
# 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`.
|
2292
1873
|
sig { returns(T.nilable(T::Hash[String, String])) }
|
2293
1874
|
attr_accessor :metadata
|
2294
|
-
|
2295
1875
|
# The Stripe account ID for which these funds are intended. Automatically set if you use the `destination` parameter. For details, see [Creating Separate Charges and Transfers](https://stripe.com/docs/connect/separate-charges-and-transfers#settlement-merchant).
|
2296
1876
|
sig { returns(String) }
|
2297
1877
|
attr_accessor :on_behalf_of
|
2298
|
-
|
2299
1878
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
2300
1879
|
sig { returns(::Stripe::Charge::CreateParams::RadarOptions) }
|
2301
1880
|
attr_accessor :radar_options
|
2302
|
-
|
2303
1881
|
# The email address to which this charge's [receipt](https://stripe.com/docs/dashboard/receipts) will be sent. The receipt will not be sent until the charge is paid, and no receipts will be sent for test mode charges. If this charge is for a [Customer](https://stripe.com/docs/api/customers/object), the email address specified here will override the customer's email address. If `receipt_email` is specified for a charge in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
|
2304
1882
|
sig { returns(String) }
|
2305
1883
|
attr_accessor :receipt_email
|
2306
|
-
|
2307
1884
|
# Shipping information for the charge. Helps prevent fraud on charges for physical goods.
|
2308
1885
|
sig { returns(::Stripe::Charge::CreateParams::Shipping) }
|
2309
1886
|
attr_accessor :shipping
|
2310
|
-
|
2311
1887
|
# A payment source to be charged. This can be the ID of a [card](https://stripe.com/docs/api#cards) (i.e., credit or debit card), a [bank account](https://stripe.com/docs/api#bank_accounts), a [source](https://stripe.com/docs/api#sources), a [token](https://stripe.com/docs/api#tokens), or a [connected account](https://stripe.com/docs/connect/account-debits#charging-a-connected-account). For certain sources---namely, [cards](https://stripe.com/docs/api#cards), [bank accounts](https://stripe.com/docs/api#bank_accounts), and attached [sources](https://stripe.com/docs/api#sources)---you must also pass the ID of the associated customer.
|
2312
1888
|
sig { returns(String) }
|
2313
1889
|
attr_accessor :source
|
2314
|
-
|
2315
1890
|
# For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
|
2316
1891
|
#
|
2317
1892
|
# For a card charge, this value is ignored unless you don't specify a `statement_descriptor_suffix`, in which case this value is used as the suffix.
|
2318
1893
|
sig { returns(String) }
|
2319
1894
|
attr_accessor :statement_descriptor
|
2320
|
-
|
2321
1895
|
# Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.
|
2322
1896
|
sig { returns(String) }
|
2323
1897
|
attr_accessor :statement_descriptor_suffix
|
2324
|
-
|
2325
1898
|
# An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://stripe.com/docs/connect/destination-charges) for details.
|
2326
1899
|
sig { returns(::Stripe::Charge::CreateParams::TransferData) }
|
2327
1900
|
attr_accessor :transfer_data
|
2328
|
-
|
2329
1901
|
# A string that identifies this transaction as part of a group. For details, see [Grouping transactions](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options).
|
2330
1902
|
sig { returns(String) }
|
2331
1903
|
attr_accessor :transfer_group
|
2332
|
-
|
2333
1904
|
sig {
|
2334
1905
|
params(amount: Integer, application_fee: Integer, application_fee_amount: Integer, capture: T::Boolean, currency: String, customer: String, description: String, destination: ::Stripe::Charge::CreateParams::Destination, expand: T::Array[String], metadata: T.nilable(T::Hash[String, String]), on_behalf_of: String, radar_options: ::Stripe::Charge::CreateParams::RadarOptions, receipt_email: String, shipping: ::Stripe::Charge::CreateParams::Shipping, source: String, statement_descriptor: String, statement_descriptor_suffix: String, transfer_data: ::Stripe::Charge::CreateParams::TransferData, transfer_group: String).void
|
2335
1906
|
}
|
@@ -2359,7 +1930,6 @@ module Stripe
|
|
2359
1930
|
# Specifies which fields in the response should be expanded.
|
2360
1931
|
sig { returns(T::Array[String]) }
|
2361
1932
|
attr_accessor :expand
|
2362
|
-
|
2363
1933
|
sig { params(expand: T::Array[String]).void }
|
2364
1934
|
def initialize(expand: nil); end
|
2365
1935
|
end
|
@@ -2368,7 +1938,6 @@ module Stripe
|
|
2368
1938
|
# Either `safe` or `fraudulent`.
|
2369
1939
|
sig { returns(T.nilable(String)) }
|
2370
1940
|
attr_accessor :user_report
|
2371
|
-
|
2372
1941
|
sig { params(user_report: T.nilable(String)).void }
|
2373
1942
|
def initialize(user_report: nil); end
|
2374
1943
|
end
|
@@ -2378,7 +1947,6 @@ module Stripe
|
|
2378
1947
|
# The name of the affiliate that originated the purchase.
|
2379
1948
|
sig { returns(String) }
|
2380
1949
|
attr_accessor :name
|
2381
|
-
|
2382
1950
|
sig { params(name: String).void }
|
2383
1951
|
def initialize(name: nil); end
|
2384
1952
|
end
|
@@ -2387,28 +1955,23 @@ module Stripe
|
|
2387
1955
|
# The email of the recipient the ticket is delivered to.
|
2388
1956
|
sig { returns(String) }
|
2389
1957
|
attr_accessor :email
|
2390
|
-
|
2391
1958
|
# The name of the recipient the ticket is delivered to.
|
2392
1959
|
sig { returns(String) }
|
2393
1960
|
attr_accessor :name
|
2394
|
-
|
2395
1961
|
# The phone number of the recipient the ticket is delivered to.
|
2396
1962
|
sig { returns(String) }
|
2397
1963
|
attr_accessor :phone
|
2398
|
-
|
2399
1964
|
sig { params(email: String, name: String, phone: String).void }
|
2400
1965
|
def initialize(email: nil, name: nil, phone: nil); end
|
2401
1966
|
end
|
2402
1967
|
# The delivery method for the payment
|
2403
1968
|
sig { returns(String) }
|
2404
1969
|
attr_accessor :mode
|
2405
|
-
|
2406
1970
|
# Details of the recipient.
|
2407
1971
|
sig {
|
2408
1972
|
returns(::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::Delivery::Recipient)
|
2409
1973
|
}
|
2410
1974
|
attr_accessor :recipient
|
2411
|
-
|
2412
1975
|
sig {
|
2413
1976
|
params(mode: String, recipient: ::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::Delivery::Recipient).void
|
2414
1977
|
}
|
@@ -2418,7 +1981,6 @@ module Stripe
|
|
2418
1981
|
# Full name of the person or entity on the car reservation.
|
2419
1982
|
sig { returns(String) }
|
2420
1983
|
attr_accessor :name
|
2421
|
-
|
2422
1984
|
sig { params(name: String).void }
|
2423
1985
|
def initialize(name: nil); end
|
2424
1986
|
end
|
@@ -2426,27 +1988,21 @@ module Stripe
|
|
2426
1988
|
# City, district, suburb, town, or village.
|
2427
1989
|
sig { returns(String) }
|
2428
1990
|
attr_accessor :city
|
2429
|
-
|
2430
1991
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2431
1992
|
sig { returns(String) }
|
2432
1993
|
attr_accessor :country
|
2433
|
-
|
2434
1994
|
# Address line 1 (e.g., street, PO Box, or company name).
|
2435
1995
|
sig { returns(String) }
|
2436
1996
|
attr_accessor :line1
|
2437
|
-
|
2438
1997
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2439
1998
|
sig { returns(String) }
|
2440
1999
|
attr_accessor :line2
|
2441
|
-
|
2442
2000
|
# ZIP or postal code.
|
2443
2001
|
sig { returns(String) }
|
2444
2002
|
attr_accessor :postal_code
|
2445
|
-
|
2446
2003
|
# State, county, province, or region.
|
2447
2004
|
sig { returns(String) }
|
2448
2005
|
attr_accessor :state
|
2449
|
-
|
2450
2006
|
sig {
|
2451
2007
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
2452
2008
|
}
|
@@ -2463,27 +2019,21 @@ module Stripe
|
|
2463
2019
|
# City, district, suburb, town, or village.
|
2464
2020
|
sig { returns(String) }
|
2465
2021
|
attr_accessor :city
|
2466
|
-
|
2467
2022
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2468
2023
|
sig { returns(String) }
|
2469
2024
|
attr_accessor :country
|
2470
|
-
|
2471
2025
|
# Address line 1 (e.g., street, PO Box, or company name).
|
2472
2026
|
sig { returns(String) }
|
2473
2027
|
attr_accessor :line1
|
2474
|
-
|
2475
2028
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2476
2029
|
sig { returns(String) }
|
2477
2030
|
attr_accessor :line2
|
2478
|
-
|
2479
2031
|
# ZIP or postal code.
|
2480
2032
|
sig { returns(String) }
|
2481
2033
|
attr_accessor :postal_code
|
2482
|
-
|
2483
2034
|
# State, county, province, or region.
|
2484
2035
|
sig { returns(String) }
|
2485
2036
|
attr_accessor :state
|
2486
|
-
|
2487
2037
|
sig {
|
2488
2038
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
2489
2039
|
}
|
@@ -2499,85 +2049,65 @@ module Stripe
|
|
2499
2049
|
# Affiliate details for this purchase.
|
2500
2050
|
sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::Affiliate) }
|
2501
2051
|
attr_accessor :affiliate
|
2502
|
-
|
2503
2052
|
# The booking number associated with the car rental.
|
2504
2053
|
sig { returns(String) }
|
2505
2054
|
attr_accessor :booking_number
|
2506
|
-
|
2507
2055
|
# Class code of the car.
|
2508
2056
|
sig { returns(String) }
|
2509
2057
|
attr_accessor :car_class_code
|
2510
|
-
|
2511
2058
|
# Make of the car.
|
2512
2059
|
sig { returns(String) }
|
2513
2060
|
attr_accessor :car_make
|
2514
|
-
|
2515
2061
|
# Model of the car.
|
2516
2062
|
sig { returns(String) }
|
2517
2063
|
attr_accessor :car_model
|
2518
|
-
|
2519
2064
|
# The name of the rental car company.
|
2520
2065
|
sig { returns(String) }
|
2521
2066
|
attr_accessor :company
|
2522
|
-
|
2523
2067
|
# The customer service phone number of the car rental company.
|
2524
2068
|
sig { returns(String) }
|
2525
2069
|
attr_accessor :customer_service_phone_number
|
2526
|
-
|
2527
2070
|
# Number of days the car is being rented.
|
2528
2071
|
sig { returns(Integer) }
|
2529
2072
|
attr_accessor :days_rented
|
2530
|
-
|
2531
2073
|
# Delivery details for this purchase.
|
2532
2074
|
sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::Delivery) }
|
2533
2075
|
attr_accessor :delivery
|
2534
|
-
|
2535
2076
|
# The details of the passengers in the travel reservation
|
2536
2077
|
sig {
|
2537
2078
|
returns(T::Array[::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::Driver])
|
2538
2079
|
}
|
2539
2080
|
attr_accessor :drivers
|
2540
|
-
|
2541
2081
|
# List of additional charges being billed.
|
2542
2082
|
sig { returns(T::Array[String]) }
|
2543
2083
|
attr_accessor :extra_charges
|
2544
|
-
|
2545
2084
|
# Indicates if the customer did not keep nor cancel their booking.
|
2546
2085
|
sig { returns(T::Boolean) }
|
2547
2086
|
attr_accessor :no_show
|
2548
|
-
|
2549
2087
|
# Car pick-up address.
|
2550
2088
|
sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::PickupAddress) }
|
2551
2089
|
attr_accessor :pickup_address
|
2552
|
-
|
2553
2090
|
# Car pick-up time. Measured in seconds since the Unix epoch.
|
2554
2091
|
sig { returns(Integer) }
|
2555
2092
|
attr_accessor :pickup_at
|
2556
|
-
|
2557
2093
|
# Rental rate.
|
2558
2094
|
sig { returns(Integer) }
|
2559
2095
|
attr_accessor :rate_amount
|
2560
|
-
|
2561
2096
|
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
2562
2097
|
sig { returns(String) }
|
2563
2098
|
attr_accessor :rate_interval
|
2564
|
-
|
2565
2099
|
# The name of the person or entity renting the car.
|
2566
2100
|
sig { returns(String) }
|
2567
2101
|
attr_accessor :renter_name
|
2568
|
-
|
2569
2102
|
# Car return address.
|
2570
2103
|
sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::ReturnAddress) }
|
2571
2104
|
attr_accessor :return_address
|
2572
|
-
|
2573
2105
|
# Car return time. Measured in seconds since the Unix epoch.
|
2574
2106
|
sig { returns(Integer) }
|
2575
2107
|
attr_accessor :return_at
|
2576
|
-
|
2577
2108
|
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
2578
2109
|
sig { returns(T::Boolean) }
|
2579
2110
|
attr_accessor :tax_exempt
|
2580
|
-
|
2581
2111
|
sig {
|
2582
2112
|
params(affiliate: ::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::Affiliate, booking_number: String, car_class_code: String, car_make: String, car_model: String, company: String, customer_service_phone_number: String, days_rented: Integer, delivery: ::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::Delivery, drivers: T::Array[::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::Driver], extra_charges: T::Array[String], no_show: T::Boolean, pickup_address: ::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::PickupAddress, pickup_at: Integer, rate_amount: Integer, rate_interval: String, renter_name: String, return_address: ::Stripe::Charge::UpdateParams::PaymentDetails::CarRental::ReturnAddress, return_at: Integer, tax_exempt: T::Boolean).void
|
2583
2113
|
}
|
@@ -2609,27 +2139,21 @@ module Stripe
|
|
2609
2139
|
# City, district, suburb, town, or village.
|
2610
2140
|
sig { returns(String) }
|
2611
2141
|
attr_accessor :city
|
2612
|
-
|
2613
2142
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2614
2143
|
sig { returns(String) }
|
2615
2144
|
attr_accessor :country
|
2616
|
-
|
2617
2145
|
# Address line 1 (e.g., street, PO Box, or company name).
|
2618
2146
|
sig { returns(String) }
|
2619
2147
|
attr_accessor :line1
|
2620
|
-
|
2621
2148
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2622
2149
|
sig { returns(String) }
|
2623
2150
|
attr_accessor :line2
|
2624
|
-
|
2625
2151
|
# ZIP or postal code.
|
2626
2152
|
sig { returns(String) }
|
2627
2153
|
attr_accessor :postal_code
|
2628
|
-
|
2629
2154
|
# State, county, province, or region.
|
2630
2155
|
sig { returns(String) }
|
2631
2156
|
attr_accessor :state
|
2632
|
-
|
2633
2157
|
sig {
|
2634
2158
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
2635
2159
|
}
|
@@ -2646,7 +2170,6 @@ module Stripe
|
|
2646
2170
|
# The name of the affiliate that originated the purchase.
|
2647
2171
|
sig { returns(String) }
|
2648
2172
|
attr_accessor :name
|
2649
|
-
|
2650
2173
|
sig { params(name: String).void }
|
2651
2174
|
def initialize(name: nil); end
|
2652
2175
|
end
|
@@ -2655,28 +2178,23 @@ module Stripe
|
|
2655
2178
|
# The email of the recipient the ticket is delivered to.
|
2656
2179
|
sig { returns(String) }
|
2657
2180
|
attr_accessor :email
|
2658
|
-
|
2659
2181
|
# The name of the recipient the ticket is delivered to.
|
2660
2182
|
sig { returns(String) }
|
2661
2183
|
attr_accessor :name
|
2662
|
-
|
2663
2184
|
# The phone number of the recipient the ticket is delivered to.
|
2664
2185
|
sig { returns(String) }
|
2665
2186
|
attr_accessor :phone
|
2666
|
-
|
2667
2187
|
sig { params(email: String, name: String, phone: String).void }
|
2668
2188
|
def initialize(email: nil, name: nil, phone: nil); end
|
2669
2189
|
end
|
2670
2190
|
# The delivery method for the payment
|
2671
2191
|
sig { returns(String) }
|
2672
2192
|
attr_accessor :mode
|
2673
|
-
|
2674
2193
|
# Details of the recipient.
|
2675
2194
|
sig {
|
2676
2195
|
returns(::Stripe::Charge::UpdateParams::PaymentDetails::EventDetails::Delivery::Recipient)
|
2677
2196
|
}
|
2678
2197
|
attr_accessor :recipient
|
2679
|
-
|
2680
2198
|
sig {
|
2681
2199
|
params(mode: String, recipient: ::Stripe::Charge::UpdateParams::PaymentDetails::EventDetails::Delivery::Recipient).void
|
2682
2200
|
}
|
@@ -2685,39 +2203,30 @@ module Stripe
|
|
2685
2203
|
# Indicates if the tickets are digitally checked when entering the venue.
|
2686
2204
|
sig { returns(T::Boolean) }
|
2687
2205
|
attr_accessor :access_controlled_venue
|
2688
|
-
|
2689
2206
|
# The event location's address.
|
2690
2207
|
sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::EventDetails::Address) }
|
2691
2208
|
attr_accessor :address
|
2692
|
-
|
2693
2209
|
# Affiliate details for this purchase.
|
2694
2210
|
sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::EventDetails::Affiliate) }
|
2695
2211
|
attr_accessor :affiliate
|
2696
|
-
|
2697
2212
|
# The name of the company
|
2698
2213
|
sig { returns(String) }
|
2699
2214
|
attr_accessor :company
|
2700
|
-
|
2701
2215
|
# Delivery details for this purchase.
|
2702
2216
|
sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::EventDetails::Delivery) }
|
2703
2217
|
attr_accessor :delivery
|
2704
|
-
|
2705
2218
|
# Event end time. Measured in seconds since the Unix epoch.
|
2706
2219
|
sig { returns(Integer) }
|
2707
2220
|
attr_accessor :ends_at
|
2708
|
-
|
2709
2221
|
# Type of the event entertainment (concert, sports event etc)
|
2710
2222
|
sig { returns(String) }
|
2711
2223
|
attr_accessor :genre
|
2712
|
-
|
2713
2224
|
# The name of the event.
|
2714
2225
|
sig { returns(String) }
|
2715
2226
|
attr_accessor :name
|
2716
|
-
|
2717
2227
|
# Event start time. Measured in seconds since the Unix epoch.
|
2718
2228
|
sig { returns(Integer) }
|
2719
2229
|
attr_accessor :starts_at
|
2720
|
-
|
2721
2230
|
sig {
|
2722
2231
|
params(access_controlled_venue: T::Boolean, address: ::Stripe::Charge::UpdateParams::PaymentDetails::EventDetails::Address, affiliate: ::Stripe::Charge::UpdateParams::PaymentDetails::EventDetails::Affiliate, company: String, delivery: ::Stripe::Charge::UpdateParams::PaymentDetails::EventDetails::Delivery, ends_at: Integer, genre: String, name: String, starts_at: Integer).void
|
2723
2232
|
}
|
@@ -2738,7 +2247,6 @@ module Stripe
|
|
2738
2247
|
# The name of the affiliate that originated the purchase.
|
2739
2248
|
sig { returns(String) }
|
2740
2249
|
attr_accessor :name
|
2741
|
-
|
2742
2250
|
sig { params(name: String).void }
|
2743
2251
|
def initialize(name: nil); end
|
2744
2252
|
end
|
@@ -2747,28 +2255,23 @@ module Stripe
|
|
2747
2255
|
# The email of the recipient the ticket is delivered to.
|
2748
2256
|
sig { returns(String) }
|
2749
2257
|
attr_accessor :email
|
2750
|
-
|
2751
2258
|
# The name of the recipient the ticket is delivered to.
|
2752
2259
|
sig { returns(String) }
|
2753
2260
|
attr_accessor :name
|
2754
|
-
|
2755
2261
|
# The phone number of the recipient the ticket is delivered to.
|
2756
2262
|
sig { returns(String) }
|
2757
2263
|
attr_accessor :phone
|
2758
|
-
|
2759
2264
|
sig { params(email: String, name: String, phone: String).void }
|
2760
2265
|
def initialize(email: nil, name: nil, phone: nil); end
|
2761
2266
|
end
|
2762
2267
|
# The delivery method for the payment
|
2763
2268
|
sig { returns(String) }
|
2764
2269
|
attr_accessor :mode
|
2765
|
-
|
2766
2270
|
# Details of the recipient.
|
2767
2271
|
sig {
|
2768
2272
|
returns(::Stripe::Charge::UpdateParams::PaymentDetails::Flight::Delivery::Recipient)
|
2769
2273
|
}
|
2770
2274
|
attr_accessor :recipient
|
2771
|
-
|
2772
2275
|
sig {
|
2773
2276
|
params(mode: String, recipient: ::Stripe::Charge::UpdateParams::PaymentDetails::Flight::Delivery::Recipient).void
|
2774
2277
|
}
|
@@ -2778,7 +2281,6 @@ module Stripe
|
|
2778
2281
|
# Full name of the person or entity on the flight reservation.
|
2779
2282
|
sig { returns(String) }
|
2780
2283
|
attr_accessor :name
|
2781
|
-
|
2782
2284
|
sig { params(name: String).void }
|
2783
2285
|
def initialize(name: nil); end
|
2784
2286
|
end
|
@@ -2786,35 +2288,27 @@ module Stripe
|
|
2786
2288
|
# The flight segment amount.
|
2787
2289
|
sig { returns(Integer) }
|
2788
2290
|
attr_accessor :amount
|
2789
|
-
|
2790
2291
|
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
2791
2292
|
sig { returns(String) }
|
2792
2293
|
attr_accessor :arrival_airport
|
2793
|
-
|
2794
2294
|
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
2795
2295
|
sig { returns(Integer) }
|
2796
2296
|
attr_accessor :arrives_at
|
2797
|
-
|
2798
2297
|
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
2799
2298
|
sig { returns(String) }
|
2800
2299
|
attr_accessor :carrier
|
2801
|
-
|
2802
2300
|
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
2803
2301
|
sig { returns(Integer) }
|
2804
2302
|
attr_accessor :departs_at
|
2805
|
-
|
2806
2303
|
# The International Air Transport Association (IATA) airport code for the departure airport.
|
2807
2304
|
sig { returns(String) }
|
2808
2305
|
attr_accessor :departure_airport
|
2809
|
-
|
2810
2306
|
# The flight number associated with the segment
|
2811
2307
|
sig { returns(String) }
|
2812
2308
|
attr_accessor :flight_number
|
2813
|
-
|
2814
2309
|
# The fare class for the segment.
|
2815
2310
|
sig { returns(String) }
|
2816
2311
|
attr_accessor :service_class
|
2817
|
-
|
2818
2312
|
sig {
|
2819
2313
|
params(amount: Integer, arrival_airport: String, arrives_at: Integer, carrier: String, departs_at: Integer, departure_airport: String, flight_number: String, service_class: String).void
|
2820
2314
|
}
|
@@ -2832,37 +2326,29 @@ module Stripe
|
|
2832
2326
|
# Affiliate details for this purchase.
|
2833
2327
|
sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::Flight::Affiliate) }
|
2834
2328
|
attr_accessor :affiliate
|
2835
|
-
|
2836
2329
|
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
2837
2330
|
sig { returns(String) }
|
2838
2331
|
attr_accessor :agency_number
|
2839
|
-
|
2840
2332
|
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
2841
2333
|
sig { returns(String) }
|
2842
2334
|
attr_accessor :carrier
|
2843
|
-
|
2844
2335
|
# Delivery details for this purchase.
|
2845
2336
|
sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::Flight::Delivery) }
|
2846
2337
|
attr_accessor :delivery
|
2847
|
-
|
2848
2338
|
# The name of the person or entity on the reservation.
|
2849
2339
|
sig { returns(String) }
|
2850
2340
|
attr_accessor :passenger_name
|
2851
|
-
|
2852
2341
|
# The details of the passengers in the travel reservation.
|
2853
2342
|
sig {
|
2854
2343
|
returns(T::Array[::Stripe::Charge::UpdateParams::PaymentDetails::Flight::Passenger])
|
2855
2344
|
}
|
2856
2345
|
attr_accessor :passengers
|
2857
|
-
|
2858
2346
|
# The individual flight segments associated with the trip.
|
2859
2347
|
sig { returns(T::Array[::Stripe::Charge::UpdateParams::PaymentDetails::Flight::Segment]) }
|
2860
2348
|
attr_accessor :segments
|
2861
|
-
|
2862
2349
|
# The ticket number associated with the travel reservation.
|
2863
2350
|
sig { returns(String) }
|
2864
2351
|
attr_accessor :ticket_number
|
2865
|
-
|
2866
2352
|
sig {
|
2867
2353
|
params(affiliate: ::Stripe::Charge::UpdateParams::PaymentDetails::Flight::Affiliate, agency_number: String, carrier: String, delivery: ::Stripe::Charge::UpdateParams::PaymentDetails::Flight::Delivery, passenger_name: String, passengers: T::Array[::Stripe::Charge::UpdateParams::PaymentDetails::Flight::Passenger], segments: T::Array[::Stripe::Charge::UpdateParams::PaymentDetails::Flight::Segment], ticket_number: String).void
|
2868
2354
|
}
|
@@ -2882,27 +2368,21 @@ module Stripe
|
|
2882
2368
|
# City, district, suburb, town, or village.
|
2883
2369
|
sig { returns(String) }
|
2884
2370
|
attr_accessor :city
|
2885
|
-
|
2886
2371
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2887
2372
|
sig { returns(String) }
|
2888
2373
|
attr_accessor :country
|
2889
|
-
|
2890
2374
|
# Address line 1 (e.g., street, PO Box, or company name).
|
2891
2375
|
sig { returns(String) }
|
2892
2376
|
attr_accessor :line1
|
2893
|
-
|
2894
2377
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2895
2378
|
sig { returns(String) }
|
2896
2379
|
attr_accessor :line2
|
2897
|
-
|
2898
2380
|
# ZIP or postal code.
|
2899
2381
|
sig { returns(String) }
|
2900
2382
|
attr_accessor :postal_code
|
2901
|
-
|
2902
2383
|
# State, county, province, or region.
|
2903
2384
|
sig { returns(String) }
|
2904
2385
|
attr_accessor :state
|
2905
|
-
|
2906
2386
|
sig {
|
2907
2387
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
2908
2388
|
}
|
@@ -2919,7 +2399,6 @@ module Stripe
|
|
2919
2399
|
# The name of the affiliate that originated the purchase.
|
2920
2400
|
sig { returns(String) }
|
2921
2401
|
attr_accessor :name
|
2922
|
-
|
2923
2402
|
sig { params(name: String).void }
|
2924
2403
|
def initialize(name: nil); end
|
2925
2404
|
end
|
@@ -2928,28 +2407,23 @@ module Stripe
|
|
2928
2407
|
# The email of the recipient the ticket is delivered to.
|
2929
2408
|
sig { returns(String) }
|
2930
2409
|
attr_accessor :email
|
2931
|
-
|
2932
2410
|
# The name of the recipient the ticket is delivered to.
|
2933
2411
|
sig { returns(String) }
|
2934
2412
|
attr_accessor :name
|
2935
|
-
|
2936
2413
|
# The phone number of the recipient the ticket is delivered to.
|
2937
2414
|
sig { returns(String) }
|
2938
2415
|
attr_accessor :phone
|
2939
|
-
|
2940
2416
|
sig { params(email: String, name: String, phone: String).void }
|
2941
2417
|
def initialize(email: nil, name: nil, phone: nil); end
|
2942
2418
|
end
|
2943
2419
|
# The delivery method for the payment
|
2944
2420
|
sig { returns(String) }
|
2945
2421
|
attr_accessor :mode
|
2946
|
-
|
2947
2422
|
# Details of the recipient.
|
2948
2423
|
sig {
|
2949
2424
|
returns(::Stripe::Charge::UpdateParams::PaymentDetails::Lodging::Delivery::Recipient)
|
2950
2425
|
}
|
2951
2426
|
attr_accessor :recipient
|
2952
|
-
|
2953
2427
|
sig {
|
2954
2428
|
params(mode: String, recipient: ::Stripe::Charge::UpdateParams::PaymentDetails::Lodging::Delivery::Recipient).void
|
2955
2429
|
}
|
@@ -2959,96 +2433,74 @@ module Stripe
|
|
2959
2433
|
# Full name of the person or entity on the lodging reservation.
|
2960
2434
|
sig { returns(String) }
|
2961
2435
|
attr_accessor :name
|
2962
|
-
|
2963
2436
|
sig { params(name: String).void }
|
2964
2437
|
def initialize(name: nil); end
|
2965
2438
|
end
|
2966
2439
|
# The lodging location's address.
|
2967
2440
|
sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::Lodging::Address) }
|
2968
2441
|
attr_accessor :address
|
2969
|
-
|
2970
2442
|
# The number of adults on the booking
|
2971
2443
|
sig { returns(Integer) }
|
2972
2444
|
attr_accessor :adults
|
2973
|
-
|
2974
2445
|
# Affiliate details for this purchase.
|
2975
2446
|
sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::Lodging::Affiliate) }
|
2976
2447
|
attr_accessor :affiliate
|
2977
|
-
|
2978
2448
|
# The booking number associated with the lodging reservation.
|
2979
2449
|
sig { returns(String) }
|
2980
2450
|
attr_accessor :booking_number
|
2981
|
-
|
2982
2451
|
# The lodging category
|
2983
2452
|
sig { returns(String) }
|
2984
2453
|
attr_accessor :category
|
2985
|
-
|
2986
2454
|
# Loding check-in time. Measured in seconds since the Unix epoch.
|
2987
2455
|
sig { returns(Integer) }
|
2988
2456
|
attr_accessor :checkin_at
|
2989
|
-
|
2990
2457
|
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
2991
2458
|
sig { returns(Integer) }
|
2992
2459
|
attr_accessor :checkout_at
|
2993
|
-
|
2994
2460
|
# The customer service phone number of the lodging company.
|
2995
2461
|
sig { returns(String) }
|
2996
2462
|
attr_accessor :customer_service_phone_number
|
2997
|
-
|
2998
2463
|
# The daily lodging room rate.
|
2999
2464
|
sig { returns(Integer) }
|
3000
2465
|
attr_accessor :daily_room_rate_amount
|
3001
|
-
|
3002
2466
|
# Delivery details for this purchase.
|
3003
2467
|
sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::Lodging::Delivery) }
|
3004
2468
|
attr_accessor :delivery
|
3005
|
-
|
3006
2469
|
# List of additional charges being billed.
|
3007
2470
|
sig { returns(T::Array[String]) }
|
3008
2471
|
attr_accessor :extra_charges
|
3009
|
-
|
3010
2472
|
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
3011
2473
|
sig { returns(T::Boolean) }
|
3012
2474
|
attr_accessor :fire_safety_act_compliance
|
3013
|
-
|
3014
2475
|
# The name of the lodging location.
|
3015
2476
|
sig { returns(String) }
|
3016
2477
|
attr_accessor :name
|
3017
|
-
|
3018
2478
|
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
3019
2479
|
sig { returns(T::Boolean) }
|
3020
2480
|
attr_accessor :no_show
|
3021
|
-
|
3022
2481
|
# The number of rooms on the booking
|
3023
2482
|
sig { returns(Integer) }
|
3024
2483
|
attr_accessor :number_of_rooms
|
3025
|
-
|
3026
2484
|
# The details of the passengers in the travel reservation
|
3027
2485
|
sig {
|
3028
2486
|
returns(T::Array[::Stripe::Charge::UpdateParams::PaymentDetails::Lodging::Passenger])
|
3029
2487
|
}
|
3030
2488
|
attr_accessor :passengers
|
3031
|
-
|
3032
2489
|
# The phone number of the lodging location.
|
3033
2490
|
sig { returns(String) }
|
3034
2491
|
attr_accessor :property_phone_number
|
3035
|
-
|
3036
2492
|
# The room class for this purchase.
|
3037
2493
|
sig { returns(String) }
|
3038
2494
|
attr_accessor :room_class
|
3039
|
-
|
3040
2495
|
# The number of room nights
|
3041
2496
|
sig { returns(Integer) }
|
3042
2497
|
attr_accessor :room_nights
|
3043
|
-
|
3044
2498
|
# The total tax amount associating with the room reservation.
|
3045
2499
|
sig { returns(Integer) }
|
3046
2500
|
attr_accessor :total_room_tax_amount
|
3047
|
-
|
3048
2501
|
# The total tax amount
|
3049
2502
|
sig { returns(Integer) }
|
3050
2503
|
attr_accessor :total_tax_amount
|
3051
|
-
|
3052
2504
|
sig {
|
3053
2505
|
params(address: ::Stripe::Charge::UpdateParams::PaymentDetails::Lodging::Address, adults: Integer, affiliate: ::Stripe::Charge::UpdateParams::PaymentDetails::Lodging::Affiliate, booking_number: String, category: String, checkin_at: Integer, checkout_at: Integer, customer_service_phone_number: String, daily_room_rate_amount: Integer, delivery: ::Stripe::Charge::UpdateParams::PaymentDetails::Lodging::Delivery, extra_charges: T::Array[String], fire_safety_act_compliance: T::Boolean, name: String, no_show: T::Boolean, number_of_rooms: Integer, passengers: T::Array[::Stripe::Charge::UpdateParams::PaymentDetails::Lodging::Passenger], property_phone_number: String, room_class: String, room_nights: Integer, total_room_tax_amount: Integer, total_tax_amount: Integer).void
|
3054
2506
|
}
|
@@ -3081,7 +2533,6 @@ module Stripe
|
|
3081
2533
|
# The name of the affiliate that originated the purchase.
|
3082
2534
|
sig { returns(String) }
|
3083
2535
|
attr_accessor :name
|
3084
|
-
|
3085
2536
|
sig { params(name: String).void }
|
3086
2537
|
def initialize(name: nil); end
|
3087
2538
|
end
|
@@ -3089,40 +2540,32 @@ module Stripe
|
|
3089
2540
|
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
3090
2541
|
sig { returns(Integer) }
|
3091
2542
|
attr_accessor :count
|
3092
|
-
|
3093
2543
|
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
3094
2544
|
sig { returns(String) }
|
3095
2545
|
attr_accessor :interval
|
3096
|
-
|
3097
2546
|
sig { params(count: Integer, interval: String).void }
|
3098
2547
|
def initialize(count: nil, interval: nil); end
|
3099
2548
|
end
|
3100
2549
|
# Affiliate details for this purchase.
|
3101
2550
|
sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::Subscription::Affiliate) }
|
3102
2551
|
attr_accessor :affiliate
|
3103
|
-
|
3104
2552
|
# Info whether the subscription will be auto renewed upon expiry.
|
3105
2553
|
sig { returns(T::Boolean) }
|
3106
2554
|
attr_accessor :auto_renewal
|
3107
|
-
|
3108
2555
|
# Subscription billing details for this purchase.
|
3109
2556
|
sig {
|
3110
2557
|
returns(::Stripe::Charge::UpdateParams::PaymentDetails::Subscription::BillingInterval)
|
3111
2558
|
}
|
3112
2559
|
attr_accessor :billing_interval
|
3113
|
-
|
3114
2560
|
# Subscription end time. Measured in seconds since the Unix epoch.
|
3115
2561
|
sig { returns(Integer) }
|
3116
2562
|
attr_accessor :ends_at
|
3117
|
-
|
3118
2563
|
# Name of the product on subscription. e.g. Apple Music Subscription
|
3119
2564
|
sig { returns(String) }
|
3120
2565
|
attr_accessor :name
|
3121
|
-
|
3122
2566
|
# Subscription start time. Measured in seconds since the Unix epoch.
|
3123
2567
|
sig { returns(Integer) }
|
3124
2568
|
attr_accessor :starts_at
|
3125
|
-
|
3126
2569
|
sig {
|
3127
2570
|
params(affiliate: ::Stripe::Charge::UpdateParams::PaymentDetails::Subscription::Affiliate, auto_renewal: T::Boolean, billing_interval: ::Stripe::Charge::UpdateParams::PaymentDetails::Subscription::BillingInterval, ends_at: Integer, name: String, starts_at: Integer).void
|
3128
2571
|
}
|
@@ -3138,23 +2581,18 @@ module Stripe
|
|
3138
2581
|
# Car rental details for this PaymentIntent.
|
3139
2582
|
sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::CarRental) }
|
3140
2583
|
attr_accessor :car_rental
|
3141
|
-
|
3142
2584
|
# Event details for this PaymentIntent
|
3143
2585
|
sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::EventDetails) }
|
3144
2586
|
attr_accessor :event_details
|
3145
|
-
|
3146
2587
|
# Flight reservation details for this PaymentIntent
|
3147
2588
|
sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::Flight) }
|
3148
2589
|
attr_accessor :flight
|
3149
|
-
|
3150
2590
|
# Lodging reservation details for this PaymentIntent
|
3151
2591
|
sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::Lodging) }
|
3152
2592
|
attr_accessor :lodging
|
3153
|
-
|
3154
2593
|
# Subscription details for this PaymentIntent
|
3155
2594
|
sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails::Subscription) }
|
3156
2595
|
attr_accessor :subscription
|
3157
|
-
|
3158
2596
|
sig {
|
3159
2597
|
params(car_rental: ::Stripe::Charge::UpdateParams::PaymentDetails::CarRental, event_details: ::Stripe::Charge::UpdateParams::PaymentDetails::EventDetails, flight: ::Stripe::Charge::UpdateParams::PaymentDetails::Flight, lodging: ::Stripe::Charge::UpdateParams::PaymentDetails::Lodging, subscription: ::Stripe::Charge::UpdateParams::PaymentDetails::Subscription).void
|
3160
2598
|
}
|
@@ -3171,27 +2609,21 @@ module Stripe
|
|
3171
2609
|
# City, district, suburb, town, or village.
|
3172
2610
|
sig { returns(String) }
|
3173
2611
|
attr_accessor :city
|
3174
|
-
|
3175
2612
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
3176
2613
|
sig { returns(String) }
|
3177
2614
|
attr_accessor :country
|
3178
|
-
|
3179
2615
|
# Address line 1 (e.g., street, PO Box, or company name).
|
3180
2616
|
sig { returns(String) }
|
3181
2617
|
attr_accessor :line1
|
3182
|
-
|
3183
2618
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
3184
2619
|
sig { returns(String) }
|
3185
2620
|
attr_accessor :line2
|
3186
|
-
|
3187
2621
|
# ZIP or postal code.
|
3188
2622
|
sig { returns(String) }
|
3189
2623
|
attr_accessor :postal_code
|
3190
|
-
|
3191
2624
|
# State, county, province, or region.
|
3192
2625
|
sig { returns(String) }
|
3193
2626
|
attr_accessor :state
|
3194
|
-
|
3195
2627
|
sig {
|
3196
2628
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
3197
2629
|
}
|
@@ -3207,23 +2639,18 @@ module Stripe
|
|
3207
2639
|
# Shipping address.
|
3208
2640
|
sig { returns(::Stripe::Charge::UpdateParams::Shipping::Address) }
|
3209
2641
|
attr_accessor :address
|
3210
|
-
|
3211
2642
|
# The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
|
3212
2643
|
sig { returns(String) }
|
3213
2644
|
attr_accessor :carrier
|
3214
|
-
|
3215
2645
|
# Recipient name.
|
3216
2646
|
sig { returns(String) }
|
3217
2647
|
attr_accessor :name
|
3218
|
-
|
3219
2648
|
# Recipient phone (including extension).
|
3220
2649
|
sig { returns(String) }
|
3221
2650
|
attr_accessor :phone
|
3222
|
-
|
3223
2651
|
# 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.
|
3224
2652
|
sig { returns(String) }
|
3225
2653
|
attr_accessor :tracking_number
|
3226
|
-
|
3227
2654
|
sig {
|
3228
2655
|
params(address: ::Stripe::Charge::UpdateParams::Shipping::Address, carrier: String, name: String, phone: String, tracking_number: String).void
|
3229
2656
|
}
|
@@ -3232,39 +2659,30 @@ module Stripe
|
|
3232
2659
|
# The ID of an existing customer that will be associated with this request. This field may only be updated if there is no existing associated customer with this charge.
|
3233
2660
|
sig { returns(String) }
|
3234
2661
|
attr_accessor :customer
|
3235
|
-
|
3236
2662
|
# An arbitrary string which you can attach to a charge object. It is displayed when in the web interface alongside the charge. Note that if you use Stripe to send automatic email receipts to your customers, your receipt emails will include the `description` of the charge(s) that they are describing.
|
3237
2663
|
sig { returns(String) }
|
3238
2664
|
attr_accessor :description
|
3239
|
-
|
3240
2665
|
# Specifies which fields in the response should be expanded.
|
3241
2666
|
sig { returns(T::Array[String]) }
|
3242
2667
|
attr_accessor :expand
|
3243
|
-
|
3244
2668
|
# A set of key-value pairs you can attach to a charge giving information about its riskiness. If you believe a charge is fraudulent, include a `user_report` key with a value of `fraudulent`. If you believe a charge is safe, include a `user_report` key with a value of `safe`. Stripe will use the information you send to improve our fraud detection algorithms.
|
3245
2669
|
sig { returns(::Stripe::Charge::UpdateParams::FraudDetails) }
|
3246
2670
|
attr_accessor :fraud_details
|
3247
|
-
|
3248
2671
|
# 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`.
|
3249
2672
|
sig { returns(T.nilable(T::Hash[String, String])) }
|
3250
2673
|
attr_accessor :metadata
|
3251
|
-
|
3252
2674
|
# Provides industry-specific information about the charge.
|
3253
2675
|
sig { returns(::Stripe::Charge::UpdateParams::PaymentDetails) }
|
3254
2676
|
attr_accessor :payment_details
|
3255
|
-
|
3256
2677
|
# This is the email address that the receipt for this charge will be sent to. If this field is updated, then a new email receipt will be sent to the updated address.
|
3257
2678
|
sig { returns(String) }
|
3258
2679
|
attr_accessor :receipt_email
|
3259
|
-
|
3260
2680
|
# Shipping information for the charge. Helps prevent fraud on charges for physical goods.
|
3261
2681
|
sig { returns(::Stripe::Charge::UpdateParams::Shipping) }
|
3262
2682
|
attr_accessor :shipping
|
3263
|
-
|
3264
2683
|
# A string that identifies this transaction as part of a group. `transfer_group` may only be provided if it has not been set. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options) for details.
|
3265
2684
|
sig { returns(String) }
|
3266
2685
|
attr_accessor :transfer_group
|
3267
|
-
|
3268
2686
|
sig {
|
3269
2687
|
params(customer: String, description: String, expand: T::Array[String], fraud_details: ::Stripe::Charge::UpdateParams::FraudDetails, metadata: T.nilable(T::Hash[String, String]), payment_details: ::Stripe::Charge::UpdateParams::PaymentDetails, receipt_email: String, shipping: ::Stripe::Charge::UpdateParams::Shipping, transfer_group: String).void
|
3270
2688
|
}
|
@@ -3284,19 +2702,15 @@ module Stripe
|
|
3284
2702
|
# Specifies which fields in the response should be expanded.
|
3285
2703
|
sig { returns(T::Array[String]) }
|
3286
2704
|
attr_accessor :expand
|
3287
|
-
|
3288
2705
|
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
3289
2706
|
sig { returns(Integer) }
|
3290
2707
|
attr_accessor :limit
|
3291
|
-
|
3292
2708
|
# A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.
|
3293
2709
|
sig { returns(String) }
|
3294
2710
|
attr_accessor :page
|
3295
|
-
|
3296
2711
|
# The search query string. See [search query language](https://stripe.com/docs/search#search-query-language) and the list of supported [query fields for charges](https://stripe.com/docs/search#query-fields-for-charges).
|
3297
2712
|
sig { returns(String) }
|
3298
2713
|
attr_accessor :query
|
3299
|
-
|
3300
2714
|
sig { params(expand: T::Array[String], limit: Integer, page: String, query: String).void }
|
3301
2715
|
def initialize(expand: nil, limit: nil, page: nil, query: nil); end
|
3302
2716
|
end
|
@@ -3307,7 +2721,6 @@ module Stripe
|
|
3307
2721
|
# The name of the affiliate that originated the purchase.
|
3308
2722
|
sig { returns(String) }
|
3309
2723
|
attr_accessor :name
|
3310
|
-
|
3311
2724
|
sig { params(name: String).void }
|
3312
2725
|
def initialize(name: nil); end
|
3313
2726
|
end
|
@@ -3316,28 +2729,23 @@ module Stripe
|
|
3316
2729
|
# The email of the recipient the ticket is delivered to.
|
3317
2730
|
sig { returns(String) }
|
3318
2731
|
attr_accessor :email
|
3319
|
-
|
3320
2732
|
# The name of the recipient the ticket is delivered to.
|
3321
2733
|
sig { returns(String) }
|
3322
2734
|
attr_accessor :name
|
3323
|
-
|
3324
2735
|
# The phone number of the recipient the ticket is delivered to.
|
3325
2736
|
sig { returns(String) }
|
3326
2737
|
attr_accessor :phone
|
3327
|
-
|
3328
2738
|
sig { params(email: String, name: String, phone: String).void }
|
3329
2739
|
def initialize(email: nil, name: nil, phone: nil); end
|
3330
2740
|
end
|
3331
2741
|
# The delivery method for the payment
|
3332
2742
|
sig { returns(String) }
|
3333
2743
|
attr_accessor :mode
|
3334
|
-
|
3335
2744
|
# Details of the recipient.
|
3336
2745
|
sig {
|
3337
2746
|
returns(::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::Delivery::Recipient)
|
3338
2747
|
}
|
3339
2748
|
attr_accessor :recipient
|
3340
|
-
|
3341
2749
|
sig {
|
3342
2750
|
params(mode: String, recipient: ::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::Delivery::Recipient).void
|
3343
2751
|
}
|
@@ -3347,7 +2755,6 @@ module Stripe
|
|
3347
2755
|
# Full name of the person or entity on the car reservation.
|
3348
2756
|
sig { returns(String) }
|
3349
2757
|
attr_accessor :name
|
3350
|
-
|
3351
2758
|
sig { params(name: String).void }
|
3352
2759
|
def initialize(name: nil); end
|
3353
2760
|
end
|
@@ -3355,27 +2762,21 @@ module Stripe
|
|
3355
2762
|
# City, district, suburb, town, or village.
|
3356
2763
|
sig { returns(String) }
|
3357
2764
|
attr_accessor :city
|
3358
|
-
|
3359
2765
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
3360
2766
|
sig { returns(String) }
|
3361
2767
|
attr_accessor :country
|
3362
|
-
|
3363
2768
|
# Address line 1 (e.g., street, PO Box, or company name).
|
3364
2769
|
sig { returns(String) }
|
3365
2770
|
attr_accessor :line1
|
3366
|
-
|
3367
2771
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
3368
2772
|
sig { returns(String) }
|
3369
2773
|
attr_accessor :line2
|
3370
|
-
|
3371
2774
|
# ZIP or postal code.
|
3372
2775
|
sig { returns(String) }
|
3373
2776
|
attr_accessor :postal_code
|
3374
|
-
|
3375
2777
|
# State, county, province, or region.
|
3376
2778
|
sig { returns(String) }
|
3377
2779
|
attr_accessor :state
|
3378
|
-
|
3379
2780
|
sig {
|
3380
2781
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
3381
2782
|
}
|
@@ -3392,27 +2793,21 @@ module Stripe
|
|
3392
2793
|
# City, district, suburb, town, or village.
|
3393
2794
|
sig { returns(String) }
|
3394
2795
|
attr_accessor :city
|
3395
|
-
|
3396
2796
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
3397
2797
|
sig { returns(String) }
|
3398
2798
|
attr_accessor :country
|
3399
|
-
|
3400
2799
|
# Address line 1 (e.g., street, PO Box, or company name).
|
3401
2800
|
sig { returns(String) }
|
3402
2801
|
attr_accessor :line1
|
3403
|
-
|
3404
2802
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
3405
2803
|
sig { returns(String) }
|
3406
2804
|
attr_accessor :line2
|
3407
|
-
|
3408
2805
|
# ZIP or postal code.
|
3409
2806
|
sig { returns(String) }
|
3410
2807
|
attr_accessor :postal_code
|
3411
|
-
|
3412
2808
|
# State, county, province, or region.
|
3413
2809
|
sig { returns(String) }
|
3414
2810
|
attr_accessor :state
|
3415
|
-
|
3416
2811
|
sig {
|
3417
2812
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
3418
2813
|
}
|
@@ -3428,85 +2823,65 @@ module Stripe
|
|
3428
2823
|
# Affiliate details for this purchase.
|
3429
2824
|
sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::Affiliate) }
|
3430
2825
|
attr_accessor :affiliate
|
3431
|
-
|
3432
2826
|
# The booking number associated with the car rental.
|
3433
2827
|
sig { returns(String) }
|
3434
2828
|
attr_accessor :booking_number
|
3435
|
-
|
3436
2829
|
# Class code of the car.
|
3437
2830
|
sig { returns(String) }
|
3438
2831
|
attr_accessor :car_class_code
|
3439
|
-
|
3440
2832
|
# Make of the car.
|
3441
2833
|
sig { returns(String) }
|
3442
2834
|
attr_accessor :car_make
|
3443
|
-
|
3444
2835
|
# Model of the car.
|
3445
2836
|
sig { returns(String) }
|
3446
2837
|
attr_accessor :car_model
|
3447
|
-
|
3448
2838
|
# The name of the rental car company.
|
3449
2839
|
sig { returns(String) }
|
3450
2840
|
attr_accessor :company
|
3451
|
-
|
3452
2841
|
# The customer service phone number of the car rental company.
|
3453
2842
|
sig { returns(String) }
|
3454
2843
|
attr_accessor :customer_service_phone_number
|
3455
|
-
|
3456
2844
|
# Number of days the car is being rented.
|
3457
2845
|
sig { returns(Integer) }
|
3458
2846
|
attr_accessor :days_rented
|
3459
|
-
|
3460
2847
|
# Delivery details for this purchase.
|
3461
2848
|
sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::Delivery) }
|
3462
2849
|
attr_accessor :delivery
|
3463
|
-
|
3464
2850
|
# The details of the passengers in the travel reservation
|
3465
2851
|
sig {
|
3466
2852
|
returns(T::Array[::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::Driver])
|
3467
2853
|
}
|
3468
2854
|
attr_accessor :drivers
|
3469
|
-
|
3470
2855
|
# List of additional charges being billed.
|
3471
2856
|
sig { returns(T::Array[String]) }
|
3472
2857
|
attr_accessor :extra_charges
|
3473
|
-
|
3474
2858
|
# Indicates if the customer did not keep nor cancel their booking.
|
3475
2859
|
sig { returns(T::Boolean) }
|
3476
2860
|
attr_accessor :no_show
|
3477
|
-
|
3478
2861
|
# Car pick-up address.
|
3479
2862
|
sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::PickupAddress) }
|
3480
2863
|
attr_accessor :pickup_address
|
3481
|
-
|
3482
2864
|
# Car pick-up time. Measured in seconds since the Unix epoch.
|
3483
2865
|
sig { returns(Integer) }
|
3484
2866
|
attr_accessor :pickup_at
|
3485
|
-
|
3486
2867
|
# Rental rate.
|
3487
2868
|
sig { returns(Integer) }
|
3488
2869
|
attr_accessor :rate_amount
|
3489
|
-
|
3490
2870
|
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
3491
2871
|
sig { returns(String) }
|
3492
2872
|
attr_accessor :rate_interval
|
3493
|
-
|
3494
2873
|
# The name of the person or entity renting the car.
|
3495
2874
|
sig { returns(String) }
|
3496
2875
|
attr_accessor :renter_name
|
3497
|
-
|
3498
2876
|
# Car return address.
|
3499
2877
|
sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::ReturnAddress) }
|
3500
2878
|
attr_accessor :return_address
|
3501
|
-
|
3502
2879
|
# Car return time. Measured in seconds since the Unix epoch.
|
3503
2880
|
sig { returns(Integer) }
|
3504
2881
|
attr_accessor :return_at
|
3505
|
-
|
3506
2882
|
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
3507
2883
|
sig { returns(T::Boolean) }
|
3508
2884
|
attr_accessor :tax_exempt
|
3509
|
-
|
3510
2885
|
sig {
|
3511
2886
|
params(affiliate: ::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::Affiliate, booking_number: String, car_class_code: String, car_make: String, car_model: String, company: String, customer_service_phone_number: String, days_rented: Integer, delivery: ::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::Delivery, drivers: T::Array[::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::Driver], extra_charges: T::Array[String], no_show: T::Boolean, pickup_address: ::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::PickupAddress, pickup_at: Integer, rate_amount: Integer, rate_interval: String, renter_name: String, return_address: ::Stripe::Charge::CaptureParams::PaymentDetails::CarRental::ReturnAddress, return_at: Integer, tax_exempt: T::Boolean).void
|
3512
2887
|
}
|
@@ -3538,27 +2913,21 @@ module Stripe
|
|
3538
2913
|
# City, district, suburb, town, or village.
|
3539
2914
|
sig { returns(String) }
|
3540
2915
|
attr_accessor :city
|
3541
|
-
|
3542
2916
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
3543
2917
|
sig { returns(String) }
|
3544
2918
|
attr_accessor :country
|
3545
|
-
|
3546
2919
|
# Address line 1 (e.g., street, PO Box, or company name).
|
3547
2920
|
sig { returns(String) }
|
3548
2921
|
attr_accessor :line1
|
3549
|
-
|
3550
2922
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
3551
2923
|
sig { returns(String) }
|
3552
2924
|
attr_accessor :line2
|
3553
|
-
|
3554
2925
|
# ZIP or postal code.
|
3555
2926
|
sig { returns(String) }
|
3556
2927
|
attr_accessor :postal_code
|
3557
|
-
|
3558
2928
|
# State, county, province, or region.
|
3559
2929
|
sig { returns(String) }
|
3560
2930
|
attr_accessor :state
|
3561
|
-
|
3562
2931
|
sig {
|
3563
2932
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
3564
2933
|
}
|
@@ -3575,7 +2944,6 @@ module Stripe
|
|
3575
2944
|
# The name of the affiliate that originated the purchase.
|
3576
2945
|
sig { returns(String) }
|
3577
2946
|
attr_accessor :name
|
3578
|
-
|
3579
2947
|
sig { params(name: String).void }
|
3580
2948
|
def initialize(name: nil); end
|
3581
2949
|
end
|
@@ -3584,28 +2952,23 @@ module Stripe
|
|
3584
2952
|
# The email of the recipient the ticket is delivered to.
|
3585
2953
|
sig { returns(String) }
|
3586
2954
|
attr_accessor :email
|
3587
|
-
|
3588
2955
|
# The name of the recipient the ticket is delivered to.
|
3589
2956
|
sig { returns(String) }
|
3590
2957
|
attr_accessor :name
|
3591
|
-
|
3592
2958
|
# The phone number of the recipient the ticket is delivered to.
|
3593
2959
|
sig { returns(String) }
|
3594
2960
|
attr_accessor :phone
|
3595
|
-
|
3596
2961
|
sig { params(email: String, name: String, phone: String).void }
|
3597
2962
|
def initialize(email: nil, name: nil, phone: nil); end
|
3598
2963
|
end
|
3599
2964
|
# The delivery method for the payment
|
3600
2965
|
sig { returns(String) }
|
3601
2966
|
attr_accessor :mode
|
3602
|
-
|
3603
2967
|
# Details of the recipient.
|
3604
2968
|
sig {
|
3605
2969
|
returns(::Stripe::Charge::CaptureParams::PaymentDetails::EventDetails::Delivery::Recipient)
|
3606
2970
|
}
|
3607
2971
|
attr_accessor :recipient
|
3608
|
-
|
3609
2972
|
sig {
|
3610
2973
|
params(mode: String, recipient: ::Stripe::Charge::CaptureParams::PaymentDetails::EventDetails::Delivery::Recipient).void
|
3611
2974
|
}
|
@@ -3614,39 +2977,30 @@ module Stripe
|
|
3614
2977
|
# Indicates if the tickets are digitally checked when entering the venue.
|
3615
2978
|
sig { returns(T::Boolean) }
|
3616
2979
|
attr_accessor :access_controlled_venue
|
3617
|
-
|
3618
2980
|
# The event location's address.
|
3619
2981
|
sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::EventDetails::Address) }
|
3620
2982
|
attr_accessor :address
|
3621
|
-
|
3622
2983
|
# Affiliate details for this purchase.
|
3623
2984
|
sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::EventDetails::Affiliate) }
|
3624
2985
|
attr_accessor :affiliate
|
3625
|
-
|
3626
2986
|
# The name of the company
|
3627
2987
|
sig { returns(String) }
|
3628
2988
|
attr_accessor :company
|
3629
|
-
|
3630
2989
|
# Delivery details for this purchase.
|
3631
2990
|
sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::EventDetails::Delivery) }
|
3632
2991
|
attr_accessor :delivery
|
3633
|
-
|
3634
2992
|
# Event end time. Measured in seconds since the Unix epoch.
|
3635
2993
|
sig { returns(Integer) }
|
3636
2994
|
attr_accessor :ends_at
|
3637
|
-
|
3638
2995
|
# Type of the event entertainment (concert, sports event etc)
|
3639
2996
|
sig { returns(String) }
|
3640
2997
|
attr_accessor :genre
|
3641
|
-
|
3642
2998
|
# The name of the event.
|
3643
2999
|
sig { returns(String) }
|
3644
3000
|
attr_accessor :name
|
3645
|
-
|
3646
3001
|
# Event start time. Measured in seconds since the Unix epoch.
|
3647
3002
|
sig { returns(Integer) }
|
3648
3003
|
attr_accessor :starts_at
|
3649
|
-
|
3650
3004
|
sig {
|
3651
3005
|
params(access_controlled_venue: T::Boolean, address: ::Stripe::Charge::CaptureParams::PaymentDetails::EventDetails::Address, affiliate: ::Stripe::Charge::CaptureParams::PaymentDetails::EventDetails::Affiliate, company: String, delivery: ::Stripe::Charge::CaptureParams::PaymentDetails::EventDetails::Delivery, ends_at: Integer, genre: String, name: String, starts_at: Integer).void
|
3652
3006
|
}
|
@@ -3667,7 +3021,6 @@ module Stripe
|
|
3667
3021
|
# The name of the affiliate that originated the purchase.
|
3668
3022
|
sig { returns(String) }
|
3669
3023
|
attr_accessor :name
|
3670
|
-
|
3671
3024
|
sig { params(name: String).void }
|
3672
3025
|
def initialize(name: nil); end
|
3673
3026
|
end
|
@@ -3676,28 +3029,23 @@ module Stripe
|
|
3676
3029
|
# The email of the recipient the ticket is delivered to.
|
3677
3030
|
sig { returns(String) }
|
3678
3031
|
attr_accessor :email
|
3679
|
-
|
3680
3032
|
# The name of the recipient the ticket is delivered to.
|
3681
3033
|
sig { returns(String) }
|
3682
3034
|
attr_accessor :name
|
3683
|
-
|
3684
3035
|
# The phone number of the recipient the ticket is delivered to.
|
3685
3036
|
sig { returns(String) }
|
3686
3037
|
attr_accessor :phone
|
3687
|
-
|
3688
3038
|
sig { params(email: String, name: String, phone: String).void }
|
3689
3039
|
def initialize(email: nil, name: nil, phone: nil); end
|
3690
3040
|
end
|
3691
3041
|
# The delivery method for the payment
|
3692
3042
|
sig { returns(String) }
|
3693
3043
|
attr_accessor :mode
|
3694
|
-
|
3695
3044
|
# Details of the recipient.
|
3696
3045
|
sig {
|
3697
3046
|
returns(::Stripe::Charge::CaptureParams::PaymentDetails::Flight::Delivery::Recipient)
|
3698
3047
|
}
|
3699
3048
|
attr_accessor :recipient
|
3700
|
-
|
3701
3049
|
sig {
|
3702
3050
|
params(mode: String, recipient: ::Stripe::Charge::CaptureParams::PaymentDetails::Flight::Delivery::Recipient).void
|
3703
3051
|
}
|
@@ -3707,7 +3055,6 @@ module Stripe
|
|
3707
3055
|
# Full name of the person or entity on the flight reservation.
|
3708
3056
|
sig { returns(String) }
|
3709
3057
|
attr_accessor :name
|
3710
|
-
|
3711
3058
|
sig { params(name: String).void }
|
3712
3059
|
def initialize(name: nil); end
|
3713
3060
|
end
|
@@ -3715,35 +3062,27 @@ module Stripe
|
|
3715
3062
|
# The flight segment amount.
|
3716
3063
|
sig { returns(Integer) }
|
3717
3064
|
attr_accessor :amount
|
3718
|
-
|
3719
3065
|
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
3720
3066
|
sig { returns(String) }
|
3721
3067
|
attr_accessor :arrival_airport
|
3722
|
-
|
3723
3068
|
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
3724
3069
|
sig { returns(Integer) }
|
3725
3070
|
attr_accessor :arrives_at
|
3726
|
-
|
3727
3071
|
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
3728
3072
|
sig { returns(String) }
|
3729
3073
|
attr_accessor :carrier
|
3730
|
-
|
3731
3074
|
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
3732
3075
|
sig { returns(Integer) }
|
3733
3076
|
attr_accessor :departs_at
|
3734
|
-
|
3735
3077
|
# The International Air Transport Association (IATA) airport code for the departure airport.
|
3736
3078
|
sig { returns(String) }
|
3737
3079
|
attr_accessor :departure_airport
|
3738
|
-
|
3739
3080
|
# The flight number associated with the segment
|
3740
3081
|
sig { returns(String) }
|
3741
3082
|
attr_accessor :flight_number
|
3742
|
-
|
3743
3083
|
# The fare class for the segment.
|
3744
3084
|
sig { returns(String) }
|
3745
3085
|
attr_accessor :service_class
|
3746
|
-
|
3747
3086
|
sig {
|
3748
3087
|
params(amount: Integer, arrival_airport: String, arrives_at: Integer, carrier: String, departs_at: Integer, departure_airport: String, flight_number: String, service_class: String).void
|
3749
3088
|
}
|
@@ -3761,39 +3100,31 @@ module Stripe
|
|
3761
3100
|
# Affiliate details for this purchase.
|
3762
3101
|
sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::Flight::Affiliate) }
|
3763
3102
|
attr_accessor :affiliate
|
3764
|
-
|
3765
3103
|
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
3766
3104
|
sig { returns(String) }
|
3767
3105
|
attr_accessor :agency_number
|
3768
|
-
|
3769
3106
|
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
3770
3107
|
sig { returns(String) }
|
3771
3108
|
attr_accessor :carrier
|
3772
|
-
|
3773
3109
|
# Delivery details for this purchase.
|
3774
3110
|
sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::Flight::Delivery) }
|
3775
3111
|
attr_accessor :delivery
|
3776
|
-
|
3777
3112
|
# The name of the person or entity on the reservation.
|
3778
3113
|
sig { returns(String) }
|
3779
3114
|
attr_accessor :passenger_name
|
3780
|
-
|
3781
3115
|
# The details of the passengers in the travel reservation.
|
3782
3116
|
sig {
|
3783
3117
|
returns(T::Array[::Stripe::Charge::CaptureParams::PaymentDetails::Flight::Passenger])
|
3784
3118
|
}
|
3785
3119
|
attr_accessor :passengers
|
3786
|
-
|
3787
3120
|
# The individual flight segments associated with the trip.
|
3788
3121
|
sig {
|
3789
3122
|
returns(T::Array[::Stripe::Charge::CaptureParams::PaymentDetails::Flight::Segment])
|
3790
3123
|
}
|
3791
3124
|
attr_accessor :segments
|
3792
|
-
|
3793
3125
|
# The ticket number associated with the travel reservation.
|
3794
3126
|
sig { returns(String) }
|
3795
3127
|
attr_accessor :ticket_number
|
3796
|
-
|
3797
3128
|
sig {
|
3798
3129
|
params(affiliate: ::Stripe::Charge::CaptureParams::PaymentDetails::Flight::Affiliate, agency_number: String, carrier: String, delivery: ::Stripe::Charge::CaptureParams::PaymentDetails::Flight::Delivery, passenger_name: String, passengers: T::Array[::Stripe::Charge::CaptureParams::PaymentDetails::Flight::Passenger], segments: T::Array[::Stripe::Charge::CaptureParams::PaymentDetails::Flight::Segment], ticket_number: String).void
|
3799
3130
|
}
|
@@ -3813,27 +3144,21 @@ module Stripe
|
|
3813
3144
|
# City, district, suburb, town, or village.
|
3814
3145
|
sig { returns(String) }
|
3815
3146
|
attr_accessor :city
|
3816
|
-
|
3817
3147
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
3818
3148
|
sig { returns(String) }
|
3819
3149
|
attr_accessor :country
|
3820
|
-
|
3821
3150
|
# Address line 1 (e.g., street, PO Box, or company name).
|
3822
3151
|
sig { returns(String) }
|
3823
3152
|
attr_accessor :line1
|
3824
|
-
|
3825
3153
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
3826
3154
|
sig { returns(String) }
|
3827
3155
|
attr_accessor :line2
|
3828
|
-
|
3829
3156
|
# ZIP or postal code.
|
3830
3157
|
sig { returns(String) }
|
3831
3158
|
attr_accessor :postal_code
|
3832
|
-
|
3833
3159
|
# State, county, province, or region.
|
3834
3160
|
sig { returns(String) }
|
3835
3161
|
attr_accessor :state
|
3836
|
-
|
3837
3162
|
sig {
|
3838
3163
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
3839
3164
|
}
|
@@ -3850,7 +3175,6 @@ module Stripe
|
|
3850
3175
|
# The name of the affiliate that originated the purchase.
|
3851
3176
|
sig { returns(String) }
|
3852
3177
|
attr_accessor :name
|
3853
|
-
|
3854
3178
|
sig { params(name: String).void }
|
3855
3179
|
def initialize(name: nil); end
|
3856
3180
|
end
|
@@ -3859,28 +3183,23 @@ module Stripe
|
|
3859
3183
|
# The email of the recipient the ticket is delivered to.
|
3860
3184
|
sig { returns(String) }
|
3861
3185
|
attr_accessor :email
|
3862
|
-
|
3863
3186
|
# The name of the recipient the ticket is delivered to.
|
3864
3187
|
sig { returns(String) }
|
3865
3188
|
attr_accessor :name
|
3866
|
-
|
3867
3189
|
# The phone number of the recipient the ticket is delivered to.
|
3868
3190
|
sig { returns(String) }
|
3869
3191
|
attr_accessor :phone
|
3870
|
-
|
3871
3192
|
sig { params(email: String, name: String, phone: String).void }
|
3872
3193
|
def initialize(email: nil, name: nil, phone: nil); end
|
3873
3194
|
end
|
3874
3195
|
# The delivery method for the payment
|
3875
3196
|
sig { returns(String) }
|
3876
3197
|
attr_accessor :mode
|
3877
|
-
|
3878
3198
|
# Details of the recipient.
|
3879
3199
|
sig {
|
3880
3200
|
returns(::Stripe::Charge::CaptureParams::PaymentDetails::Lodging::Delivery::Recipient)
|
3881
3201
|
}
|
3882
3202
|
attr_accessor :recipient
|
3883
|
-
|
3884
3203
|
sig {
|
3885
3204
|
params(mode: String, recipient: ::Stripe::Charge::CaptureParams::PaymentDetails::Lodging::Delivery::Recipient).void
|
3886
3205
|
}
|
@@ -3890,96 +3209,74 @@ module Stripe
|
|
3890
3209
|
# Full name of the person or entity on the lodging reservation.
|
3891
3210
|
sig { returns(String) }
|
3892
3211
|
attr_accessor :name
|
3893
|
-
|
3894
3212
|
sig { params(name: String).void }
|
3895
3213
|
def initialize(name: nil); end
|
3896
3214
|
end
|
3897
3215
|
# The lodging location's address.
|
3898
3216
|
sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::Lodging::Address) }
|
3899
3217
|
attr_accessor :address
|
3900
|
-
|
3901
3218
|
# The number of adults on the booking
|
3902
3219
|
sig { returns(Integer) }
|
3903
3220
|
attr_accessor :adults
|
3904
|
-
|
3905
3221
|
# Affiliate details for this purchase.
|
3906
3222
|
sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::Lodging::Affiliate) }
|
3907
3223
|
attr_accessor :affiliate
|
3908
|
-
|
3909
3224
|
# The booking number associated with the lodging reservation.
|
3910
3225
|
sig { returns(String) }
|
3911
3226
|
attr_accessor :booking_number
|
3912
|
-
|
3913
3227
|
# The lodging category
|
3914
3228
|
sig { returns(String) }
|
3915
3229
|
attr_accessor :category
|
3916
|
-
|
3917
3230
|
# Loding check-in time. Measured in seconds since the Unix epoch.
|
3918
3231
|
sig { returns(Integer) }
|
3919
3232
|
attr_accessor :checkin_at
|
3920
|
-
|
3921
3233
|
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
3922
3234
|
sig { returns(Integer) }
|
3923
3235
|
attr_accessor :checkout_at
|
3924
|
-
|
3925
3236
|
# The customer service phone number of the lodging company.
|
3926
3237
|
sig { returns(String) }
|
3927
3238
|
attr_accessor :customer_service_phone_number
|
3928
|
-
|
3929
3239
|
# The daily lodging room rate.
|
3930
3240
|
sig { returns(Integer) }
|
3931
3241
|
attr_accessor :daily_room_rate_amount
|
3932
|
-
|
3933
3242
|
# Delivery details for this purchase.
|
3934
3243
|
sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::Lodging::Delivery) }
|
3935
3244
|
attr_accessor :delivery
|
3936
|
-
|
3937
3245
|
# List of additional charges being billed.
|
3938
3246
|
sig { returns(T::Array[String]) }
|
3939
3247
|
attr_accessor :extra_charges
|
3940
|
-
|
3941
3248
|
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
3942
3249
|
sig { returns(T::Boolean) }
|
3943
3250
|
attr_accessor :fire_safety_act_compliance
|
3944
|
-
|
3945
3251
|
# The name of the lodging location.
|
3946
3252
|
sig { returns(String) }
|
3947
3253
|
attr_accessor :name
|
3948
|
-
|
3949
3254
|
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
3950
3255
|
sig { returns(T::Boolean) }
|
3951
3256
|
attr_accessor :no_show
|
3952
|
-
|
3953
3257
|
# The number of rooms on the booking
|
3954
3258
|
sig { returns(Integer) }
|
3955
3259
|
attr_accessor :number_of_rooms
|
3956
|
-
|
3957
3260
|
# The details of the passengers in the travel reservation
|
3958
3261
|
sig {
|
3959
3262
|
returns(T::Array[::Stripe::Charge::CaptureParams::PaymentDetails::Lodging::Passenger])
|
3960
3263
|
}
|
3961
3264
|
attr_accessor :passengers
|
3962
|
-
|
3963
3265
|
# The phone number of the lodging location.
|
3964
3266
|
sig { returns(String) }
|
3965
3267
|
attr_accessor :property_phone_number
|
3966
|
-
|
3967
3268
|
# The room class for this purchase.
|
3968
3269
|
sig { returns(String) }
|
3969
3270
|
attr_accessor :room_class
|
3970
|
-
|
3971
3271
|
# The number of room nights
|
3972
3272
|
sig { returns(Integer) }
|
3973
3273
|
attr_accessor :room_nights
|
3974
|
-
|
3975
3274
|
# The total tax amount associating with the room reservation.
|
3976
3275
|
sig { returns(Integer) }
|
3977
3276
|
attr_accessor :total_room_tax_amount
|
3978
|
-
|
3979
3277
|
# The total tax amount
|
3980
3278
|
sig { returns(Integer) }
|
3981
3279
|
attr_accessor :total_tax_amount
|
3982
|
-
|
3983
3280
|
sig {
|
3984
3281
|
params(address: ::Stripe::Charge::CaptureParams::PaymentDetails::Lodging::Address, adults: Integer, affiliate: ::Stripe::Charge::CaptureParams::PaymentDetails::Lodging::Affiliate, booking_number: String, category: String, checkin_at: Integer, checkout_at: Integer, customer_service_phone_number: String, daily_room_rate_amount: Integer, delivery: ::Stripe::Charge::CaptureParams::PaymentDetails::Lodging::Delivery, extra_charges: T::Array[String], fire_safety_act_compliance: T::Boolean, name: String, no_show: T::Boolean, number_of_rooms: Integer, passengers: T::Array[::Stripe::Charge::CaptureParams::PaymentDetails::Lodging::Passenger], property_phone_number: String, room_class: String, room_nights: Integer, total_room_tax_amount: Integer, total_tax_amount: Integer).void
|
3985
3282
|
}
|
@@ -4012,7 +3309,6 @@ module Stripe
|
|
4012
3309
|
# The name of the affiliate that originated the purchase.
|
4013
3310
|
sig { returns(String) }
|
4014
3311
|
attr_accessor :name
|
4015
|
-
|
4016
3312
|
sig { params(name: String).void }
|
4017
3313
|
def initialize(name: nil); end
|
4018
3314
|
end
|
@@ -4020,40 +3316,32 @@ module Stripe
|
|
4020
3316
|
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
4021
3317
|
sig { returns(Integer) }
|
4022
3318
|
attr_accessor :count
|
4023
|
-
|
4024
3319
|
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
4025
3320
|
sig { returns(String) }
|
4026
3321
|
attr_accessor :interval
|
4027
|
-
|
4028
3322
|
sig { params(count: Integer, interval: String).void }
|
4029
3323
|
def initialize(count: nil, interval: nil); end
|
4030
3324
|
end
|
4031
3325
|
# Affiliate details for this purchase.
|
4032
3326
|
sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::Subscription::Affiliate) }
|
4033
3327
|
attr_accessor :affiliate
|
4034
|
-
|
4035
3328
|
# Info whether the subscription will be auto renewed upon expiry.
|
4036
3329
|
sig { returns(T::Boolean) }
|
4037
3330
|
attr_accessor :auto_renewal
|
4038
|
-
|
4039
3331
|
# Subscription billing details for this purchase.
|
4040
3332
|
sig {
|
4041
3333
|
returns(::Stripe::Charge::CaptureParams::PaymentDetails::Subscription::BillingInterval)
|
4042
3334
|
}
|
4043
3335
|
attr_accessor :billing_interval
|
4044
|
-
|
4045
3336
|
# Subscription end time. Measured in seconds since the Unix epoch.
|
4046
3337
|
sig { returns(Integer) }
|
4047
3338
|
attr_accessor :ends_at
|
4048
|
-
|
4049
3339
|
# Name of the product on subscription. e.g. Apple Music Subscription
|
4050
3340
|
sig { returns(String) }
|
4051
3341
|
attr_accessor :name
|
4052
|
-
|
4053
3342
|
# Subscription start time. Measured in seconds since the Unix epoch.
|
4054
3343
|
sig { returns(Integer) }
|
4055
3344
|
attr_accessor :starts_at
|
4056
|
-
|
4057
3345
|
sig {
|
4058
3346
|
params(affiliate: ::Stripe::Charge::CaptureParams::PaymentDetails::Subscription::Affiliate, auto_renewal: T::Boolean, billing_interval: ::Stripe::Charge::CaptureParams::PaymentDetails::Subscription::BillingInterval, ends_at: Integer, name: String, starts_at: Integer).void
|
4059
3347
|
}
|
@@ -4069,23 +3357,18 @@ module Stripe
|
|
4069
3357
|
# Car rental details for this PaymentIntent.
|
4070
3358
|
sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::CarRental) }
|
4071
3359
|
attr_accessor :car_rental
|
4072
|
-
|
4073
3360
|
# Event details for this PaymentIntent
|
4074
3361
|
sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::EventDetails) }
|
4075
3362
|
attr_accessor :event_details
|
4076
|
-
|
4077
3363
|
# Flight reservation details for this PaymentIntent
|
4078
3364
|
sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::Flight) }
|
4079
3365
|
attr_accessor :flight
|
4080
|
-
|
4081
3366
|
# Lodging reservation details for this PaymentIntent
|
4082
3367
|
sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::Lodging) }
|
4083
3368
|
attr_accessor :lodging
|
4084
|
-
|
4085
3369
|
# Subscription details for this PaymentIntent
|
4086
3370
|
sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails::Subscription) }
|
4087
3371
|
attr_accessor :subscription
|
4088
|
-
|
4089
3372
|
sig {
|
4090
3373
|
params(car_rental: ::Stripe::Charge::CaptureParams::PaymentDetails::CarRental, event_details: ::Stripe::Charge::CaptureParams::PaymentDetails::EventDetails, flight: ::Stripe::Charge::CaptureParams::PaymentDetails::Flight, lodging: ::Stripe::Charge::CaptureParams::PaymentDetails::Lodging, subscription: ::Stripe::Charge::CaptureParams::PaymentDetails::Subscription).void
|
4091
3374
|
}
|
@@ -4101,52 +3384,41 @@ module Stripe
|
|
4101
3384
|
# The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
|
4102
3385
|
sig { returns(Integer) }
|
4103
3386
|
attr_accessor :amount
|
4104
|
-
|
4105
3387
|
sig { params(amount: Integer).void }
|
4106
3388
|
def initialize(amount: nil); end
|
4107
3389
|
end
|
4108
3390
|
# The amount to capture, which must be less than or equal to the original amount. Any additional amount will be automatically refunded.
|
4109
3391
|
sig { returns(Integer) }
|
4110
3392
|
attr_accessor :amount
|
4111
|
-
|
4112
3393
|
# An application fee to add on to this charge.
|
4113
3394
|
sig { returns(Integer) }
|
4114
3395
|
attr_accessor :application_fee
|
4115
|
-
|
4116
3396
|
# An application fee amount to add on to this charge, which must be less than or equal to the original amount.
|
4117
3397
|
sig { returns(Integer) }
|
4118
3398
|
attr_accessor :application_fee_amount
|
4119
|
-
|
4120
3399
|
# Specifies which fields in the response should be expanded.
|
4121
3400
|
sig { returns(T::Array[String]) }
|
4122
3401
|
attr_accessor :expand
|
4123
|
-
|
4124
3402
|
# Provides industry-specific information about the charge.
|
4125
3403
|
sig { returns(::Stripe::Charge::CaptureParams::PaymentDetails) }
|
4126
3404
|
attr_accessor :payment_details
|
4127
|
-
|
4128
3405
|
# The email address to send this charge's receipt to. This will override the previously-specified email address for this charge, if one was set. Receipts will not be sent in test mode.
|
4129
3406
|
sig { returns(String) }
|
4130
3407
|
attr_accessor :receipt_email
|
4131
|
-
|
4132
3408
|
# For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
|
4133
3409
|
#
|
4134
3410
|
# For a card charge, this value is ignored unless you don't specify a `statement_descriptor_suffix`, in which case this value is used as the suffix.
|
4135
3411
|
sig { returns(String) }
|
4136
3412
|
attr_accessor :statement_descriptor
|
4137
|
-
|
4138
3413
|
# Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.
|
4139
3414
|
sig { returns(String) }
|
4140
3415
|
attr_accessor :statement_descriptor_suffix
|
4141
|
-
|
4142
3416
|
# An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://stripe.com/docs/connect/destination-charges) for details.
|
4143
3417
|
sig { returns(::Stripe::Charge::CaptureParams::TransferData) }
|
4144
3418
|
attr_accessor :transfer_data
|
4145
|
-
|
4146
3419
|
# A string that identifies this transaction as part of a group. `transfer_group` may only be provided if it has not been set. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options) for details.
|
4147
3420
|
sig { returns(String) }
|
4148
3421
|
attr_accessor :transfer_group
|
4149
|
-
|
4150
3422
|
sig {
|
4151
3423
|
params(amount: Integer, application_fee: Integer, application_fee_amount: Integer, expand: T::Array[String], payment_details: ::Stripe::Charge::CaptureParams::PaymentDetails, receipt_email: String, statement_descriptor: String, statement_descriptor_suffix: String, transfer_data: ::Stripe::Charge::CaptureParams::TransferData, transfer_group: String).void
|
4152
3424
|
}
|