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
@@ -24,31 +24,23 @@ module Stripe
|
|
24
24
|
class Address < Stripe::StripeObject
|
25
25
|
# City, district, suburb, town, or village.
|
26
26
|
attr_reader :city
|
27
|
-
|
28
27
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
29
28
|
attr_reader :country
|
30
|
-
|
31
29
|
# Address line 1 (e.g., street, PO Box, or company name).
|
32
30
|
attr_reader :line1
|
33
|
-
|
34
31
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
35
32
|
attr_reader :line2
|
36
|
-
|
37
33
|
# ZIP or postal code.
|
38
34
|
attr_reader :postal_code
|
39
|
-
|
40
35
|
# State, county, province, or region.
|
41
36
|
attr_reader :state
|
42
37
|
end
|
43
38
|
# Billing address.
|
44
39
|
attr_reader :address
|
45
|
-
|
46
40
|
# Email address.
|
47
41
|
attr_reader :email
|
48
|
-
|
49
42
|
# Full name.
|
50
43
|
attr_reader :name
|
51
|
-
|
52
44
|
# Billing phone number (including extension).
|
53
45
|
attr_reader :phone
|
54
46
|
end
|
@@ -56,7 +48,6 @@ module Stripe
|
|
56
48
|
class FraudDetails < Stripe::StripeObject
|
57
49
|
# Assessments from Stripe. If set, the value is `fraudulent`.
|
58
50
|
attr_reader :stripe_report
|
59
|
-
|
60
51
|
# Assessments reported by you. If set, possible values of are `safe` and `fraudulent`.
|
61
52
|
attr_reader :user_report
|
62
53
|
end
|
@@ -65,37 +56,27 @@ module Stripe
|
|
65
56
|
class LineItem < Stripe::StripeObject
|
66
57
|
# Attribute for field discount_amount
|
67
58
|
attr_reader :discount_amount
|
68
|
-
|
69
59
|
# Attribute for field product_code
|
70
60
|
attr_reader :product_code
|
71
|
-
|
72
61
|
# Attribute for field product_description
|
73
62
|
attr_reader :product_description
|
74
|
-
|
75
63
|
# Attribute for field quantity
|
76
64
|
attr_reader :quantity
|
77
|
-
|
78
65
|
# Attribute for field tax_amount
|
79
66
|
attr_reader :tax_amount
|
80
|
-
|
81
67
|
# Attribute for field unit_cost
|
82
68
|
attr_reader :unit_cost
|
83
69
|
end
|
84
70
|
# Attribute for field customer_reference
|
85
71
|
attr_reader :customer_reference
|
86
|
-
|
87
72
|
# Attribute for field line_items
|
88
73
|
attr_reader :line_items
|
89
|
-
|
90
74
|
# Attribute for field merchant_reference
|
91
75
|
attr_reader :merchant_reference
|
92
|
-
|
93
76
|
# Attribute for field shipping_address_zip
|
94
77
|
attr_reader :shipping_address_zip
|
95
|
-
|
96
78
|
# Attribute for field shipping_amount
|
97
79
|
attr_reader :shipping_amount
|
98
|
-
|
99
80
|
# Attribute for field shipping_from_zip
|
100
81
|
attr_reader :shipping_from_zip
|
101
82
|
end
|
@@ -104,37 +85,29 @@ module Stripe
|
|
104
85
|
class Rule < Stripe::StripeObject
|
105
86
|
# The action taken on the payment.
|
106
87
|
attr_reader :action
|
107
|
-
|
108
88
|
# Unique identifier for the object.
|
109
89
|
attr_reader :id
|
110
|
-
|
111
90
|
# The predicate to evaluate the payment against.
|
112
91
|
attr_reader :predicate
|
113
92
|
end
|
93
|
+
# An enumerated value providing a more detailed explanation on [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines).
|
94
|
+
attr_reader :advice_code
|
114
95
|
# 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.
|
115
96
|
attr_reader :network_advice_code
|
116
|
-
|
117
97
|
# For charges declined by the network, a brand specific 2, 3, or 4 digit code which indicates the reason the authorization failed.
|
118
98
|
attr_reader :network_decline_code
|
119
|
-
|
120
99
|
# 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.
|
121
100
|
attr_reader :network_status
|
122
|
-
|
123
101
|
# 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.
|
124
102
|
attr_reader :reason
|
125
|
-
|
126
103
|
# 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.
|
127
104
|
attr_reader :risk_level
|
128
|
-
|
129
105
|
# 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.
|
130
106
|
attr_reader :risk_score
|
131
|
-
|
132
107
|
# The ID of the Radar rule that matched the payment, if applicable.
|
133
108
|
attr_reader :rule
|
134
|
-
|
135
109
|
# A human-readable description of the outcome type and reason, designed for you (the recipient of the payment), not your customer.
|
136
110
|
attr_reader :seller_message
|
137
|
-
|
138
111
|
# 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.
|
139
112
|
attr_reader :type
|
140
113
|
end
|
@@ -143,13 +116,10 @@ module Stripe
|
|
143
116
|
class AchCreditTransfer < Stripe::StripeObject
|
144
117
|
# Account number to transfer funds to.
|
145
118
|
attr_reader :account_number
|
146
|
-
|
147
119
|
# Name of the bank associated with the routing number.
|
148
120
|
attr_reader :bank_name
|
149
|
-
|
150
121
|
# Routing transit number for the bank account to transfer funds to.
|
151
122
|
attr_reader :routing_number
|
152
|
-
|
153
123
|
# SWIFT code of the bank associated with the routing number.
|
154
124
|
attr_reader :swift_code
|
155
125
|
end
|
@@ -157,19 +127,14 @@ module Stripe
|
|
157
127
|
class AchDebit < Stripe::StripeObject
|
158
128
|
# Type of entity that holds the account. This can be either `individual` or `company`.
|
159
129
|
attr_reader :account_holder_type
|
160
|
-
|
161
130
|
# Name of the bank associated with the bank account.
|
162
131
|
attr_reader :bank_name
|
163
|
-
|
164
132
|
# Two-letter ISO code representing the country the bank account is located in.
|
165
133
|
attr_reader :country
|
166
|
-
|
167
134
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
168
135
|
attr_reader :fingerprint
|
169
|
-
|
170
136
|
# Last four digits of the bank account number.
|
171
137
|
attr_reader :last4
|
172
|
-
|
173
138
|
# Routing transit number of the bank account.
|
174
139
|
attr_reader :routing_number
|
175
140
|
end
|
@@ -177,19 +142,14 @@ module Stripe
|
|
177
142
|
class AcssDebit < Stripe::StripeObject
|
178
143
|
# Name of the bank associated with the bank account.
|
179
144
|
attr_reader :bank_name
|
180
|
-
|
181
145
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
182
146
|
attr_reader :fingerprint
|
183
|
-
|
184
147
|
# Institution number of the bank account
|
185
148
|
attr_reader :institution_number
|
186
|
-
|
187
149
|
# Last four digits of the bank account number.
|
188
150
|
attr_reader :last4
|
189
|
-
|
190
151
|
# ID of the mandate used to make this payment.
|
191
152
|
attr_reader :mandate
|
192
|
-
|
193
153
|
# Transit number of the bank account.
|
194
154
|
attr_reader :transit_number
|
195
155
|
end
|
@@ -202,7 +162,6 @@ module Stripe
|
|
202
162
|
class AfterpayClearpay < Stripe::StripeObject
|
203
163
|
# The Afterpay order ID associated with this payment intent.
|
204
164
|
attr_reader :order_id
|
205
|
-
|
206
165
|
# Order identifier shown to the merchant in Afterpay’s online portal.
|
207
166
|
attr_reader :reference
|
208
167
|
end
|
@@ -210,10 +169,8 @@ module Stripe
|
|
210
169
|
class Alipay < Stripe::StripeObject
|
211
170
|
# Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same.
|
212
171
|
attr_reader :buyer_id
|
213
|
-
|
214
172
|
# Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same.
|
215
173
|
attr_reader :fingerprint
|
216
|
-
|
217
174
|
# Transaction ID of this particular Alipay transaction.
|
218
175
|
attr_reader :transaction_id
|
219
176
|
end
|
@@ -225,25 +182,19 @@ module Stripe
|
|
225
182
|
class Card < Stripe::StripeObject
|
226
183
|
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
227
184
|
attr_reader :brand
|
228
|
-
|
229
185
|
# 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.
|
230
186
|
attr_reader :country
|
231
|
-
|
232
187
|
# Two-digit number representing the card's expiration month.
|
233
188
|
attr_reader :exp_month
|
234
|
-
|
235
189
|
# Four-digit number representing the card's expiration year.
|
236
190
|
attr_reader :exp_year
|
237
|
-
|
238
191
|
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
239
192
|
attr_reader :funding
|
240
|
-
|
241
193
|
# The last four digits of the card.
|
242
194
|
attr_reader :last4
|
243
195
|
end
|
244
196
|
# Attribute for field card
|
245
197
|
attr_reader :card
|
246
|
-
|
247
198
|
# funding type of the underlying payment method.
|
248
199
|
attr_reader :type
|
249
200
|
end
|
@@ -254,13 +205,10 @@ module Stripe
|
|
254
205
|
class AuBecsDebit < Stripe::StripeObject
|
255
206
|
# Bank-State-Branch number of the bank account.
|
256
207
|
attr_reader :bsb_number
|
257
|
-
|
258
208
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
259
209
|
attr_reader :fingerprint
|
260
|
-
|
261
210
|
# Last four digits of the bank account number.
|
262
211
|
attr_reader :last4
|
263
|
-
|
264
212
|
# ID of the mandate used to make this payment.
|
265
213
|
attr_reader :mandate
|
266
214
|
end
|
@@ -268,13 +216,10 @@ module Stripe
|
|
268
216
|
class BacsDebit < Stripe::StripeObject
|
269
217
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
270
218
|
attr_reader :fingerprint
|
271
|
-
|
272
219
|
# Last four digits of the bank account number.
|
273
220
|
attr_reader :last4
|
274
|
-
|
275
221
|
# ID of the mandate used to make this payment.
|
276
222
|
attr_reader :mandate
|
277
|
-
|
278
223
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
279
224
|
attr_reader :sort_code
|
280
225
|
end
|
@@ -282,26 +227,19 @@ module Stripe
|
|
282
227
|
class Bancontact < Stripe::StripeObject
|
283
228
|
# Bank code of bank associated with the bank account.
|
284
229
|
attr_reader :bank_code
|
285
|
-
|
286
230
|
# Name of the bank associated with the bank account.
|
287
231
|
attr_reader :bank_name
|
288
|
-
|
289
232
|
# Bank Identifier Code of the bank associated with the bank account.
|
290
233
|
attr_reader :bic
|
291
|
-
|
292
234
|
# The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
|
293
235
|
attr_reader :generated_sepa_debit
|
294
|
-
|
295
236
|
# The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
|
296
237
|
attr_reader :generated_sepa_debit_mandate
|
297
|
-
|
298
238
|
# Last four characters of the IBAN.
|
299
239
|
attr_reader :iban_last4
|
300
|
-
|
301
240
|
# Preferred language of the Bancontact authorization page that the customer is redirected to.
|
302
241
|
# Can be one of `en`, `de`, `fr`, or `nl`
|
303
242
|
attr_reader :preferred_language
|
304
|
-
|
305
243
|
# Owner's verified full name. Values are verified or provided by Bancontact directly
|
306
244
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
307
245
|
attr_reader :verified_name
|
@@ -321,10 +259,8 @@ module Stripe
|
|
321
259
|
class Checks < Stripe::StripeObject
|
322
260
|
# If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
323
261
|
attr_reader :address_line1_check
|
324
|
-
|
325
262
|
# If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
326
263
|
attr_reader :address_postal_code_check
|
327
|
-
|
328
264
|
# If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
329
265
|
attr_reader :cvc_check
|
330
266
|
end
|
@@ -348,11 +284,9 @@ module Stripe
|
|
348
284
|
class Plan < Stripe::StripeObject
|
349
285
|
# For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card.
|
350
286
|
attr_reader :count
|
351
|
-
|
352
287
|
# For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card.
|
353
288
|
# One of `month`.
|
354
289
|
attr_reader :interval
|
355
|
-
|
356
290
|
# Type of installment plan, one of `fixed_count`.
|
357
291
|
attr_reader :type
|
358
292
|
end
|
@@ -373,7 +307,6 @@ module Stripe
|
|
373
307
|
class Overcapture < Stripe::StripeObject
|
374
308
|
# The maximum amount that can be captured.
|
375
309
|
attr_reader :maximum_amount_capturable
|
376
|
-
|
377
310
|
# Indicates whether or not the authorized amount can be over-captured.
|
378
311
|
attr_reader :status
|
379
312
|
end
|
@@ -387,29 +320,22 @@ module Stripe
|
|
387
320
|
# For authenticated transactions: how the customer was authenticated by
|
388
321
|
# the issuing bank.
|
389
322
|
attr_reader :authentication_flow
|
390
|
-
|
391
323
|
# The Electronic Commerce Indicator (ECI). A protocol-level field
|
392
324
|
# indicating what degree of authentication was performed.
|
393
325
|
attr_reader :electronic_commerce_indicator
|
394
|
-
|
395
326
|
# The exemption requested via 3DS and accepted by the issuer at authentication time.
|
396
327
|
attr_reader :exemption_indicator
|
397
|
-
|
398
328
|
# Whether Stripe requested the value of `exemption_indicator` in the transaction. This will depend on
|
399
329
|
# the outcome of Stripe's internal risk assessment.
|
400
330
|
attr_reader :exemption_indicator_applied
|
401
|
-
|
402
331
|
# Indicates the outcome of 3D Secure authentication.
|
403
332
|
attr_reader :result
|
404
|
-
|
405
333
|
# Additional information about why 3D Secure succeeded or failed based
|
406
334
|
# on the `result`.
|
407
335
|
attr_reader :result_reason
|
408
|
-
|
409
336
|
# The 3D Secure 1 XID or 3D Secure 2 Directory Server Transaction ID
|
410
337
|
# (dsTransId) for this payment.
|
411
338
|
attr_reader :transaction_id
|
412
|
-
|
413
339
|
# The version of 3D Secure that was used.
|
414
340
|
attr_reader :version
|
415
341
|
end
|
@@ -424,19 +350,14 @@ module Stripe
|
|
424
350
|
class BillingAddress < Stripe::StripeObject
|
425
351
|
# City, district, suburb, town, or village.
|
426
352
|
attr_reader :city
|
427
|
-
|
428
353
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
429
354
|
attr_reader :country
|
430
|
-
|
431
355
|
# Address line 1 (e.g., street, PO Box, or company name).
|
432
356
|
attr_reader :line1
|
433
|
-
|
434
357
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
435
358
|
attr_reader :line2
|
436
|
-
|
437
359
|
# ZIP or postal code.
|
438
360
|
attr_reader :postal_code
|
439
|
-
|
440
361
|
# State, county, province, or region.
|
441
362
|
attr_reader :state
|
442
363
|
end
|
@@ -444,31 +365,23 @@ module Stripe
|
|
444
365
|
class ShippingAddress < Stripe::StripeObject
|
445
366
|
# City, district, suburb, town, or village.
|
446
367
|
attr_reader :city
|
447
|
-
|
448
368
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
449
369
|
attr_reader :country
|
450
|
-
|
451
370
|
# Address line 1 (e.g., street, PO Box, or company name).
|
452
371
|
attr_reader :line1
|
453
|
-
|
454
372
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
455
373
|
attr_reader :line2
|
456
|
-
|
457
374
|
# ZIP or postal code.
|
458
375
|
attr_reader :postal_code
|
459
|
-
|
460
376
|
# State, county, province, or region.
|
461
377
|
attr_reader :state
|
462
378
|
end
|
463
379
|
# 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.
|
464
380
|
attr_reader :billing_address
|
465
|
-
|
466
381
|
# 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.
|
467
382
|
attr_reader :email
|
468
|
-
|
469
383
|
# 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.
|
470
384
|
attr_reader :name
|
471
|
-
|
472
385
|
# 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.
|
473
386
|
attr_reader :shipping_address
|
474
387
|
end
|
@@ -479,19 +392,14 @@ module Stripe
|
|
479
392
|
class BillingAddress < Stripe::StripeObject
|
480
393
|
# City, district, suburb, town, or village.
|
481
394
|
attr_reader :city
|
482
|
-
|
483
395
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
484
396
|
attr_reader :country
|
485
|
-
|
486
397
|
# Address line 1 (e.g., street, PO Box, or company name).
|
487
398
|
attr_reader :line1
|
488
|
-
|
489
399
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
490
400
|
attr_reader :line2
|
491
|
-
|
492
401
|
# ZIP or postal code.
|
493
402
|
attr_reader :postal_code
|
494
|
-
|
495
403
|
# State, county, province, or region.
|
496
404
|
attr_reader :state
|
497
405
|
end
|
@@ -499,152 +407,107 @@ module Stripe
|
|
499
407
|
class ShippingAddress < Stripe::StripeObject
|
500
408
|
# City, district, suburb, town, or village.
|
501
409
|
attr_reader :city
|
502
|
-
|
503
410
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
504
411
|
attr_reader :country
|
505
|
-
|
506
412
|
# Address line 1 (e.g., street, PO Box, or company name).
|
507
413
|
attr_reader :line1
|
508
|
-
|
509
414
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
510
415
|
attr_reader :line2
|
511
|
-
|
512
416
|
# ZIP or postal code.
|
513
417
|
attr_reader :postal_code
|
514
|
-
|
515
418
|
# State, county, province, or region.
|
516
419
|
attr_reader :state
|
517
420
|
end
|
518
421
|
# 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.
|
519
422
|
attr_reader :billing_address
|
520
|
-
|
521
423
|
# 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.
|
522
424
|
attr_reader :email
|
523
|
-
|
524
425
|
# 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.
|
525
426
|
attr_reader :name
|
526
|
-
|
527
427
|
# 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.
|
528
428
|
attr_reader :shipping_address
|
529
429
|
end
|
530
430
|
# Attribute for field amex_express_checkout
|
531
431
|
attr_reader :amex_express_checkout
|
532
|
-
|
533
432
|
# Attribute for field apple_pay
|
534
433
|
attr_reader :apple_pay
|
535
|
-
|
536
434
|
# (For tokenized numbers only.) The last four digits of the device account number.
|
537
435
|
attr_reader :dynamic_last4
|
538
|
-
|
539
436
|
# Attribute for field google_pay
|
540
437
|
attr_reader :google_pay
|
541
|
-
|
542
438
|
# Attribute for field link
|
543
439
|
attr_reader :link
|
544
|
-
|
545
440
|
# Attribute for field masterpass
|
546
441
|
attr_reader :masterpass
|
547
|
-
|
548
442
|
# Attribute for field samsung_pay
|
549
443
|
attr_reader :samsung_pay
|
550
|
-
|
551
444
|
# 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.
|
552
445
|
attr_reader :type
|
553
|
-
|
554
446
|
# Attribute for field visa_checkout
|
555
447
|
attr_reader :visa_checkout
|
556
448
|
end
|
557
449
|
# The authorized amount.
|
558
450
|
attr_reader :amount_authorized
|
559
|
-
|
560
451
|
# The latest amount intended to be authorized by this charge.
|
561
452
|
attr_reader :amount_requested
|
562
|
-
|
563
453
|
# Authorization code on the charge.
|
564
454
|
attr_reader :authorization_code
|
565
|
-
|
566
455
|
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
567
456
|
attr_reader :brand
|
568
|
-
|
569
457
|
# When using manual capture, a future timestamp at which the charge will be automatically refunded if uncaptured.
|
570
458
|
attr_reader :capture_before
|
571
|
-
|
572
459
|
# Check results by Card networks on Card address and CVC at time of payment.
|
573
460
|
attr_reader :checks
|
574
|
-
|
575
461
|
# 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.
|
576
462
|
attr_reader :country
|
577
|
-
|
578
463
|
# Attribute for field decremental_authorization
|
579
464
|
attr_reader :decremental_authorization
|
580
|
-
|
581
465
|
# 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.)
|
582
466
|
attr_reader :description
|
583
|
-
|
584
467
|
# Two-digit number representing the card's expiration month.
|
585
468
|
attr_reader :exp_month
|
586
|
-
|
587
469
|
# Four-digit number representing the card's expiration year.
|
588
470
|
attr_reader :exp_year
|
589
|
-
|
590
471
|
# Attribute for field extended_authorization
|
591
472
|
attr_reader :extended_authorization
|
592
|
-
|
593
473
|
# 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.
|
594
474
|
#
|
595
475
|
# *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.*
|
596
476
|
attr_reader :fingerprint
|
597
|
-
|
598
477
|
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
599
478
|
attr_reader :funding
|
600
|
-
|
601
479
|
# Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
|
602
480
|
attr_reader :iin
|
603
|
-
|
604
481
|
# Attribute for field incremental_authorization
|
605
482
|
attr_reader :incremental_authorization
|
606
|
-
|
607
483
|
# Installment details for this payment (Mexico only).
|
608
484
|
#
|
609
485
|
# For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments).
|
610
486
|
attr_reader :installments
|
611
|
-
|
612
487
|
# The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
|
613
488
|
attr_reader :issuer
|
614
|
-
|
615
489
|
# The last four digits of the card.
|
616
490
|
attr_reader :last4
|
617
|
-
|
618
491
|
# ID of the mandate used to make this payment or created by it.
|
619
492
|
attr_reader :mandate
|
620
|
-
|
621
493
|
# True if this payment was marked as MOTO and out of scope for SCA.
|
622
494
|
attr_reader :moto
|
623
|
-
|
624
495
|
# Attribute for field multicapture
|
625
496
|
attr_reader :multicapture
|
626
|
-
|
627
497
|
# 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`.
|
628
498
|
attr_reader :network
|
629
|
-
|
630
499
|
# If this card has network token credentials, this contains the details of the network token credentials.
|
631
500
|
attr_reader :network_token
|
632
|
-
|
633
501
|
# 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.
|
634
502
|
attr_reader :network_transaction_id
|
635
|
-
|
636
503
|
# Attribute for field overcapture
|
637
504
|
attr_reader :overcapture
|
638
|
-
|
639
505
|
# Attribute for field partial_authorization
|
640
506
|
attr_reader :partial_authorization
|
641
|
-
|
642
507
|
# Status of a card based on the card issuer.
|
643
508
|
attr_reader :regulated_status
|
644
|
-
|
645
509
|
# Populated if this transaction used 3D Secure authentication.
|
646
510
|
attr_reader :three_d_secure
|
647
|
-
|
648
511
|
# If this Card is part of a card wallet, this contains the details of the card wallet.
|
649
512
|
attr_reader :wallet
|
650
513
|
end
|
@@ -653,7 +516,6 @@ module Stripe
|
|
653
516
|
class Offline < Stripe::StripeObject
|
654
517
|
# Time at which the payment was collected while offline
|
655
518
|
attr_reader :stored_at
|
656
|
-
|
657
519
|
# The method used to process this payment method offline. Only deferred is allowed.
|
658
520
|
attr_reader :type
|
659
521
|
end
|
@@ -661,28 +523,20 @@ module Stripe
|
|
661
523
|
class Receipt < Stripe::StripeObject
|
662
524
|
# The type of account being debited or credited
|
663
525
|
attr_reader :account_type
|
664
|
-
|
665
526
|
# EMV tag 9F26, cryptogram generated by the integrated circuit chip.
|
666
527
|
attr_reader :application_cryptogram
|
667
|
-
|
668
528
|
# Mnenomic of the Application Identifier.
|
669
529
|
attr_reader :application_preferred_name
|
670
|
-
|
671
530
|
# Identifier for this transaction.
|
672
531
|
attr_reader :authorization_code
|
673
|
-
|
674
532
|
# EMV tag 8A. A code returned by the card issuer.
|
675
533
|
attr_reader :authorization_response_code
|
676
|
-
|
677
534
|
# 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`.
|
678
535
|
attr_reader :cardholder_verification_method
|
679
|
-
|
680
536
|
# EMV tag 84. Similar to the application identifier stored on the integrated circuit chip.
|
681
537
|
attr_reader :dedicated_file_name
|
682
|
-
|
683
538
|
# The outcome of a series of EMV functions performed by the card reader.
|
684
539
|
attr_reader :terminal_verification_results
|
685
|
-
|
686
540
|
# An indication of various EMV functions performed during the transaction.
|
687
541
|
attr_reader :transaction_status_information
|
688
542
|
end
|
@@ -693,78 +547,54 @@ module Stripe
|
|
693
547
|
end
|
694
548
|
# The authorized amount
|
695
549
|
attr_reader :amount_authorized
|
696
|
-
|
697
550
|
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
698
551
|
attr_reader :brand
|
699
|
-
|
700
552
|
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card.
|
701
553
|
attr_reader :brand_product
|
702
|
-
|
703
554
|
# When using manual capture, a future timestamp after which the charge will be automatically refunded if uncaptured.
|
704
555
|
attr_reader :capture_before
|
705
|
-
|
706
556
|
# 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.
|
707
557
|
attr_reader :cardholder_name
|
708
|
-
|
709
558
|
# 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.
|
710
559
|
attr_reader :country
|
711
|
-
|
712
560
|
# 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.)
|
713
561
|
attr_reader :description
|
714
|
-
|
715
562
|
# Authorization response cryptogram.
|
716
563
|
attr_reader :emv_auth_data
|
717
|
-
|
718
564
|
# Two-digit number representing the card's expiration month.
|
719
565
|
attr_reader :exp_month
|
720
|
-
|
721
566
|
# Four-digit number representing the card's expiration year.
|
722
567
|
attr_reader :exp_year
|
723
|
-
|
724
568
|
# 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.
|
725
569
|
#
|
726
570
|
# *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.*
|
727
571
|
attr_reader :fingerprint
|
728
|
-
|
729
572
|
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
730
573
|
attr_reader :funding
|
731
|
-
|
732
574
|
# 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.
|
733
575
|
attr_reader :generated_card
|
734
|
-
|
735
576
|
# Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
|
736
577
|
attr_reader :iin
|
737
|
-
|
738
578
|
# 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).
|
739
579
|
attr_reader :incremental_authorization_supported
|
740
|
-
|
741
580
|
# The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
|
742
581
|
attr_reader :issuer
|
743
|
-
|
744
582
|
# The last four digits of the card.
|
745
583
|
attr_reader :last4
|
746
|
-
|
747
584
|
# 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`.
|
748
585
|
attr_reader :network
|
749
|
-
|
750
586
|
# 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.
|
751
587
|
attr_reader :network_transaction_id
|
752
|
-
|
753
588
|
# Details about payments collected offline.
|
754
589
|
attr_reader :offline
|
755
|
-
|
756
590
|
# Defines whether the authorized amount can be over-captured or not
|
757
591
|
attr_reader :overcapture_supported
|
758
|
-
|
759
592
|
# EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.
|
760
593
|
attr_reader :preferred_locales
|
761
|
-
|
762
594
|
# How card details were read in this transaction.
|
763
595
|
attr_reader :read_method
|
764
|
-
|
765
596
|
# A collection of fields required to be displayed on receipts. Only required for EMV transactions.
|
766
597
|
attr_reader :receipt
|
767
|
-
|
768
598
|
# Attribute for field wallet
|
769
599
|
attr_reader :wallet
|
770
600
|
end
|
@@ -772,7 +602,6 @@ module Stripe
|
|
772
602
|
class Cashapp < Stripe::StripeObject
|
773
603
|
# A unique and immutable identifier assigned by Cash App to every buyer.
|
774
604
|
attr_reader :buyer_id
|
775
|
-
|
776
605
|
# A public identifier for buyers using Cash App.
|
777
606
|
attr_reader :cashtag
|
778
607
|
end
|
@@ -782,7 +611,6 @@ module Stripe
|
|
782
611
|
class Eps < Stripe::StripeObject
|
783
612
|
# 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`.
|
784
613
|
attr_reader :bank
|
785
|
-
|
786
614
|
# Owner's verified full name. Values are verified or provided by EPS directly
|
787
615
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
788
616
|
# EPS rarely provides this information so the attribute is usually empty.
|
@@ -792,10 +620,8 @@ module Stripe
|
|
792
620
|
class Fpx < Stripe::StripeObject
|
793
621
|
# Account holder type, if provided. Can be one of `individual` or `company`.
|
794
622
|
attr_reader :account_holder_type
|
795
|
-
|
796
623
|
# 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`.
|
797
624
|
attr_reader :bank
|
798
|
-
|
799
625
|
# Unique transaction id generated by FPX for every request from the merchant
|
800
626
|
attr_reader :transaction_id
|
801
627
|
end
|
@@ -803,13 +629,10 @@ module Stripe
|
|
803
629
|
class Giropay < Stripe::StripeObject
|
804
630
|
# Bank code of bank associated with the bank account.
|
805
631
|
attr_reader :bank_code
|
806
|
-
|
807
632
|
# Name of the bank associated with the bank account.
|
808
633
|
attr_reader :bank_name
|
809
|
-
|
810
634
|
# Bank Identifier Code of the bank associated with the bank account.
|
811
635
|
attr_reader :bic
|
812
|
-
|
813
636
|
# Owner's verified full name. Values are verified or provided by Giropay directly
|
814
637
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
815
638
|
# Giropay rarely provides this information so the attribute is usually empty.
|
@@ -826,16 +649,12 @@ module Stripe
|
|
826
649
|
class IdBankTransfer < Stripe::StripeObject
|
827
650
|
# Account number of the bank account to transfer funds to.
|
828
651
|
attr_reader :account_number
|
829
|
-
|
830
652
|
# Bank where the account is located.
|
831
653
|
attr_reader :bank
|
832
|
-
|
833
654
|
# Local bank code of the bank.
|
834
655
|
attr_reader :bank_code
|
835
|
-
|
836
656
|
# Name of the bank associated with the bank account.
|
837
657
|
attr_reader :bank_name
|
838
|
-
|
839
658
|
# Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
840
659
|
attr_reader :display_name
|
841
660
|
end
|
@@ -843,19 +662,14 @@ module Stripe
|
|
843
662
|
class Ideal < Stripe::StripeObject
|
844
663
|
# 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`.
|
845
664
|
attr_reader :bank
|
846
|
-
|
847
665
|
# The Bank Identifier Code of the customer's bank.
|
848
666
|
attr_reader :bic
|
849
|
-
|
850
667
|
# The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
|
851
668
|
attr_reader :generated_sepa_debit
|
852
|
-
|
853
669
|
# The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
|
854
670
|
attr_reader :generated_sepa_debit_mandate
|
855
|
-
|
856
671
|
# Last four characters of the IBAN.
|
857
672
|
attr_reader :iban_last4
|
858
|
-
|
859
673
|
# Owner's verified full name. Values are verified or provided by iDEAL directly
|
860
674
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
861
675
|
attr_reader :verified_name
|
@@ -865,84 +679,59 @@ module Stripe
|
|
865
679
|
class Receipt < Stripe::StripeObject
|
866
680
|
# The type of account being debited or credited
|
867
681
|
attr_reader :account_type
|
868
|
-
|
869
682
|
# EMV tag 9F26, cryptogram generated by the integrated circuit chip.
|
870
683
|
attr_reader :application_cryptogram
|
871
|
-
|
872
684
|
# Mnenomic of the Application Identifier.
|
873
685
|
attr_reader :application_preferred_name
|
874
|
-
|
875
686
|
# Identifier for this transaction.
|
876
687
|
attr_reader :authorization_code
|
877
|
-
|
878
688
|
# EMV tag 8A. A code returned by the card issuer.
|
879
689
|
attr_reader :authorization_response_code
|
880
|
-
|
881
690
|
# 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`.
|
882
691
|
attr_reader :cardholder_verification_method
|
883
|
-
|
884
692
|
# EMV tag 84. Similar to the application identifier stored on the integrated circuit chip.
|
885
693
|
attr_reader :dedicated_file_name
|
886
|
-
|
887
694
|
# The outcome of a series of EMV functions performed by the card reader.
|
888
695
|
attr_reader :terminal_verification_results
|
889
|
-
|
890
696
|
# An indication of various EMV functions performed during the transaction.
|
891
697
|
attr_reader :transaction_status_information
|
892
698
|
end
|
893
699
|
# Card brand. Can be `interac`, `mastercard` or `visa`.
|
894
700
|
attr_reader :brand
|
895
|
-
|
896
701
|
# 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.
|
897
702
|
attr_reader :cardholder_name
|
898
|
-
|
899
703
|
# 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.
|
900
704
|
attr_reader :country
|
901
|
-
|
902
705
|
# 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.)
|
903
706
|
attr_reader :description
|
904
|
-
|
905
707
|
# Authorization response cryptogram.
|
906
708
|
attr_reader :emv_auth_data
|
907
|
-
|
908
709
|
# Two-digit number representing the card's expiration month.
|
909
710
|
attr_reader :exp_month
|
910
|
-
|
911
711
|
# Four-digit number representing the card's expiration year.
|
912
712
|
attr_reader :exp_year
|
913
|
-
|
914
713
|
# 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.
|
915
714
|
#
|
916
715
|
# *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.*
|
917
716
|
attr_reader :fingerprint
|
918
|
-
|
919
717
|
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
920
718
|
attr_reader :funding
|
921
|
-
|
922
719
|
# 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.
|
923
720
|
attr_reader :generated_card
|
924
|
-
|
925
721
|
# Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
|
926
722
|
attr_reader :iin
|
927
|
-
|
928
723
|
# The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
|
929
724
|
attr_reader :issuer
|
930
|
-
|
931
725
|
# The last four digits of the card.
|
932
726
|
attr_reader :last4
|
933
|
-
|
934
727
|
# 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`.
|
935
728
|
attr_reader :network
|
936
|
-
|
937
729
|
# 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.
|
938
730
|
attr_reader :network_transaction_id
|
939
|
-
|
940
731
|
# EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.
|
941
732
|
attr_reader :preferred_locales
|
942
|
-
|
943
733
|
# How card details were read in this transaction.
|
944
734
|
attr_reader :read_method
|
945
|
-
|
946
735
|
# A collection of fields required to be displayed on receipts. Only required for EMV transactions.
|
947
736
|
attr_reader :receipt
|
948
737
|
end
|
@@ -963,11 +752,9 @@ module Stripe
|
|
963
752
|
end
|
964
753
|
# The payer details for this transaction.
|
965
754
|
attr_reader :payer_details
|
966
|
-
|
967
755
|
# The Klarna payment method used for this transaction.
|
968
756
|
# Can be one of `pay_later`, `pay_now`, `pay_with_financing`, or `pay_in_installments`
|
969
757
|
attr_reader :payment_method_category
|
970
|
-
|
971
758
|
# Preferred language of the Klarna authorization page that the customer is redirected to.
|
972
759
|
# 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`
|
973
760
|
attr_reader :preferred_locale
|
@@ -985,10 +772,8 @@ module Stripe
|
|
985
772
|
class KrCard < Stripe::StripeObject
|
986
773
|
# The local credit or debit card brand.
|
987
774
|
attr_reader :brand
|
988
|
-
|
989
775
|
# A unique identifier for the buyer as determined by the local payment processor.
|
990
776
|
attr_reader :buyer_id
|
991
|
-
|
992
777
|
# The last four digits of the card. This may not be present for American Express cards.
|
993
778
|
attr_reader :last4
|
994
779
|
end
|
@@ -1005,16 +790,12 @@ module Stripe
|
|
1005
790
|
class Card < Stripe::StripeObject
|
1006
791
|
# Brand of the card used in the transaction
|
1007
792
|
attr_reader :brand
|
1008
|
-
|
1009
793
|
# Two-letter ISO code representing the country of the card
|
1010
794
|
attr_reader :country
|
1011
|
-
|
1012
795
|
# Two digit number representing the card's expiration month
|
1013
796
|
attr_reader :exp_month
|
1014
|
-
|
1015
797
|
# Two digit number representing the card's expiration year
|
1016
798
|
attr_reader :exp_year
|
1017
|
-
|
1018
799
|
# The last 4 digits of the card
|
1019
800
|
attr_reader :last4
|
1020
801
|
end
|
@@ -1025,7 +806,6 @@ module Stripe
|
|
1025
806
|
class Multibanco < Stripe::StripeObject
|
1026
807
|
# Entity number associated with this Multibanco payment.
|
1027
808
|
attr_reader :entity
|
1028
|
-
|
1029
809
|
# Reference number associated with this Multibanco payment.
|
1030
810
|
attr_reader :reference
|
1031
811
|
end
|
@@ -1043,16 +823,16 @@ module Stripe
|
|
1043
823
|
class P24 < Stripe::StripeObject
|
1044
824
|
# 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`.
|
1045
825
|
attr_reader :bank
|
1046
|
-
|
1047
826
|
# Unique reference for this Przelewy24 payment.
|
1048
827
|
attr_reader :reference
|
1049
|
-
|
1050
828
|
# Owner's verified full name. Values are verified or provided by Przelewy24 directly
|
1051
829
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
1052
830
|
# Przelewy24 rarely provides this information so the attribute is usually empty.
|
1053
831
|
attr_reader :verified_name
|
1054
832
|
end
|
1055
833
|
|
834
|
+
class PayByBank < Stripe::StripeObject; end
|
835
|
+
|
1056
836
|
class Payco < Stripe::StripeObject
|
1057
837
|
# A unique identifier for the buyer as determined by the local payment processor.
|
1058
838
|
attr_reader :buyer_id
|
@@ -1067,7 +847,6 @@ module Stripe
|
|
1067
847
|
class SellerProtection < Stripe::StripeObject
|
1068
848
|
# An array of conditions that are covered for the transaction, if applicable.
|
1069
849
|
attr_reader :dispute_categories
|
1070
|
-
|
1071
850
|
# Indicates whether the transaction is eligible for PayPal's seller protection.
|
1072
851
|
attr_reader :status
|
1073
852
|
end
|
@@ -1075,19 +854,14 @@ module Stripe
|
|
1075
854
|
class Shipping < Stripe::StripeObject
|
1076
855
|
# City, district, suburb, town, or village.
|
1077
856
|
attr_reader :city
|
1078
|
-
|
1079
857
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1080
858
|
attr_reader :country
|
1081
|
-
|
1082
859
|
# Address line 1 (e.g., street, PO Box, or company name).
|
1083
860
|
attr_reader :line1
|
1084
|
-
|
1085
861
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1086
862
|
attr_reader :line2
|
1087
|
-
|
1088
863
|
# ZIP or postal code.
|
1089
864
|
attr_reader :postal_code
|
1090
|
-
|
1091
865
|
# State, county, province, or region.
|
1092
866
|
attr_reader :state
|
1093
867
|
end
|
@@ -1095,53 +869,42 @@ module Stripe
|
|
1095
869
|
class VerifiedAddress < Stripe::StripeObject
|
1096
870
|
# City, district, suburb, town, or village.
|
1097
871
|
attr_reader :city
|
1098
|
-
|
1099
872
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1100
873
|
attr_reader :country
|
1101
|
-
|
1102
874
|
# Address line 1 (e.g., street, PO Box, or company name).
|
1103
875
|
attr_reader :line1
|
1104
|
-
|
1105
876
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1106
877
|
attr_reader :line2
|
1107
|
-
|
1108
878
|
# ZIP or postal code.
|
1109
879
|
attr_reader :postal_code
|
1110
|
-
|
1111
880
|
# State, county, province, or region.
|
1112
881
|
attr_reader :state
|
1113
882
|
end
|
883
|
+
# 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.
|
884
|
+
attr_reader :country
|
1114
885
|
# Owner's email. Values are provided by PayPal directly
|
1115
886
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
1116
887
|
attr_reader :payer_email
|
1117
|
-
|
1118
888
|
# PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
1119
889
|
attr_reader :payer_id
|
1120
|
-
|
1121
890
|
# Owner's full name. Values provided by PayPal directly
|
1122
891
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
1123
892
|
attr_reader :payer_name
|
1124
|
-
|
1125
893
|
# The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
|
1126
894
|
attr_reader :seller_protection
|
1127
|
-
|
1128
895
|
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
1129
896
|
# execution. This shipping address will not be updated if the merchant updates the shipping
|
1130
897
|
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
1131
898
|
attr_reader :shipping
|
1132
|
-
|
1133
899
|
# A unique ID generated by PayPal for this transaction.
|
1134
900
|
attr_reader :transaction_id
|
1135
|
-
|
1136
901
|
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
1137
902
|
# execution. This shipping address will not be updated if the merchant updates the shipping
|
1138
903
|
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
1139
904
|
attr_reader :verified_address
|
1140
|
-
|
1141
905
|
# Owner's verified email. Values are verified or provided by PayPal directly
|
1142
906
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
1143
907
|
attr_reader :verified_email
|
1144
|
-
|
1145
908
|
# Owner's verified full name. Values are verified or provided by PayPal directly
|
1146
909
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
1147
910
|
attr_reader :verified_name
|
@@ -1150,13 +913,10 @@ module Stripe
|
|
1150
913
|
class Payto < Stripe::StripeObject
|
1151
914
|
# Bank-State-Branch number of the bank account.
|
1152
915
|
attr_reader :bsb_number
|
1153
|
-
|
1154
916
|
# Last four digits of the bank account number.
|
1155
917
|
attr_reader :last4
|
1156
|
-
|
1157
918
|
# ID of the mandate used to make this payment.
|
1158
919
|
attr_reader :mandate
|
1159
|
-
|
1160
920
|
# The PayID alias for the bank account.
|
1161
921
|
attr_reader :pay_id
|
1162
922
|
end
|
@@ -1179,25 +939,19 @@ module Stripe
|
|
1179
939
|
class Card < Stripe::StripeObject
|
1180
940
|
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
1181
941
|
attr_reader :brand
|
1182
|
-
|
1183
942
|
# 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.
|
1184
943
|
attr_reader :country
|
1185
|
-
|
1186
944
|
# Two-digit number representing the card's expiration month.
|
1187
945
|
attr_reader :exp_month
|
1188
|
-
|
1189
946
|
# Four-digit number representing the card's expiration year.
|
1190
947
|
attr_reader :exp_year
|
1191
|
-
|
1192
948
|
# Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
1193
949
|
attr_reader :funding
|
1194
|
-
|
1195
950
|
# The last four digits of the card.
|
1196
951
|
attr_reader :last4
|
1197
952
|
end
|
1198
953
|
# Attribute for field card
|
1199
954
|
attr_reader :card
|
1200
|
-
|
1201
955
|
# funding type of the underlying payment method.
|
1202
956
|
attr_reader :type
|
1203
957
|
end
|
@@ -1213,10 +967,8 @@ module Stripe
|
|
1213
967
|
class SepaCreditTransfer < Stripe::StripeObject
|
1214
968
|
# Name of the bank associated with the bank account.
|
1215
969
|
attr_reader :bank_name
|
1216
|
-
|
1217
970
|
# Bank Identifier Code of the bank associated with the bank account.
|
1218
971
|
attr_reader :bic
|
1219
|
-
|
1220
972
|
# IBAN of the bank account to transfer funds to.
|
1221
973
|
attr_reader :iban
|
1222
974
|
end
|
@@ -1224,19 +976,14 @@ module Stripe
|
|
1224
976
|
class SepaDebit < Stripe::StripeObject
|
1225
977
|
# Bank code of bank associated with the bank account.
|
1226
978
|
attr_reader :bank_code
|
1227
|
-
|
1228
979
|
# Branch code of bank associated with the bank account.
|
1229
980
|
attr_reader :branch_code
|
1230
|
-
|
1231
981
|
# Two-letter ISO code representing the country the bank account is located in.
|
1232
982
|
attr_reader :country
|
1233
|
-
|
1234
983
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
1235
984
|
attr_reader :fingerprint
|
1236
|
-
|
1237
985
|
# Last four characters of the IBAN.
|
1238
986
|
attr_reader :last4
|
1239
|
-
|
1240
987
|
# 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).
|
1241
988
|
attr_reader :mandate
|
1242
989
|
end
|
@@ -1246,29 +993,21 @@ module Stripe
|
|
1246
993
|
class Sofort < Stripe::StripeObject
|
1247
994
|
# Bank code of bank associated with the bank account.
|
1248
995
|
attr_reader :bank_code
|
1249
|
-
|
1250
996
|
# Name of the bank associated with the bank account.
|
1251
997
|
attr_reader :bank_name
|
1252
|
-
|
1253
998
|
# Bank Identifier Code of the bank associated with the bank account.
|
1254
999
|
attr_reader :bic
|
1255
|
-
|
1256
1000
|
# Two-letter ISO code representing the country the bank account is located in.
|
1257
1001
|
attr_reader :country
|
1258
|
-
|
1259
1002
|
# The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.
|
1260
1003
|
attr_reader :generated_sepa_debit
|
1261
|
-
|
1262
1004
|
# The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.
|
1263
1005
|
attr_reader :generated_sepa_debit_mandate
|
1264
|
-
|
1265
1006
|
# Last four characters of the IBAN.
|
1266
1007
|
attr_reader :iban_last4
|
1267
|
-
|
1268
1008
|
# Preferred language of the SOFORT authorization page that the customer is redirected to.
|
1269
1009
|
# Can be one of `de`, `en`, `es`, `fr`, `it`, `nl`, or `pl`
|
1270
1010
|
attr_reader :preferred_language
|
1271
|
-
|
1272
1011
|
# Owner's verified full name. Values are verified or provided by SOFORT directly
|
1273
1012
|
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
1274
1013
|
attr_reader :verified_name
|
@@ -1279,10 +1018,8 @@ module Stripe
|
|
1279
1018
|
class Swish < Stripe::StripeObject
|
1280
1019
|
# 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
|
1281
1020
|
attr_reader :fingerprint
|
1282
|
-
|
1283
1021
|
# Payer bank reference number for the payment
|
1284
1022
|
attr_reader :payment_reference
|
1285
|
-
|
1286
1023
|
# The last four digits of the Swish account phone number
|
1287
1024
|
attr_reader :verified_phone_last4
|
1288
1025
|
end
|
@@ -1292,25 +1029,18 @@ module Stripe
|
|
1292
1029
|
class UsBankAccount < Stripe::StripeObject
|
1293
1030
|
# Account holder type: individual or company.
|
1294
1031
|
attr_reader :account_holder_type
|
1295
|
-
|
1296
1032
|
# Account type: checkings or savings. Defaults to checking if omitted.
|
1297
1033
|
attr_reader :account_type
|
1298
|
-
|
1299
1034
|
# Name of the bank associated with the bank account.
|
1300
1035
|
attr_reader :bank_name
|
1301
|
-
|
1302
1036
|
# Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
1303
1037
|
attr_reader :fingerprint
|
1304
|
-
|
1305
1038
|
# Last four digits of the bank account number.
|
1306
1039
|
attr_reader :last4
|
1307
|
-
|
1308
1040
|
# ID of the mandate used to make this payment.
|
1309
1041
|
attr_reader :mandate
|
1310
|
-
|
1311
1042
|
# Reference number to locate ACH payments with customer's bank.
|
1312
1043
|
attr_reader :payment_reference
|
1313
|
-
|
1314
1044
|
# Routing number of the bank account.
|
1315
1045
|
attr_reader :routing_number
|
1316
1046
|
end
|
@@ -1320,7 +1050,6 @@ module Stripe
|
|
1320
1050
|
class WechatPay < Stripe::StripeObject
|
1321
1051
|
# Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.
|
1322
1052
|
attr_reader :fingerprint
|
1323
|
-
|
1324
1053
|
# Transaction ID of this particular WeChat Pay transaction.
|
1325
1054
|
attr_reader :transaction_id
|
1326
1055
|
end
|
@@ -1328,177 +1057,122 @@ module Stripe
|
|
1328
1057
|
class Zip < Stripe::StripeObject; end
|
1329
1058
|
# Attribute for field ach_credit_transfer
|
1330
1059
|
attr_reader :ach_credit_transfer
|
1331
|
-
|
1332
1060
|
# Attribute for field ach_debit
|
1333
1061
|
attr_reader :ach_debit
|
1334
|
-
|
1335
1062
|
# Attribute for field acss_debit
|
1336
1063
|
attr_reader :acss_debit
|
1337
|
-
|
1338
1064
|
# Attribute for field affirm
|
1339
1065
|
attr_reader :affirm
|
1340
|
-
|
1341
1066
|
# Attribute for field afterpay_clearpay
|
1342
1067
|
attr_reader :afterpay_clearpay
|
1343
|
-
|
1344
1068
|
# Attribute for field alipay
|
1345
1069
|
attr_reader :alipay
|
1346
|
-
|
1347
1070
|
# Attribute for field alma
|
1348
1071
|
attr_reader :alma
|
1349
|
-
|
1350
1072
|
# Attribute for field amazon_pay
|
1351
1073
|
attr_reader :amazon_pay
|
1352
|
-
|
1353
1074
|
# Attribute for field au_becs_debit
|
1354
1075
|
attr_reader :au_becs_debit
|
1355
|
-
|
1356
1076
|
# Attribute for field bacs_debit
|
1357
1077
|
attr_reader :bacs_debit
|
1358
|
-
|
1359
1078
|
# Attribute for field bancontact
|
1360
1079
|
attr_reader :bancontact
|
1361
|
-
|
1362
1080
|
# Attribute for field blik
|
1363
1081
|
attr_reader :blik
|
1364
|
-
|
1365
1082
|
# Attribute for field boleto
|
1366
1083
|
attr_reader :boleto
|
1367
|
-
|
1368
1084
|
# Attribute for field card
|
1369
1085
|
attr_reader :card
|
1370
|
-
|
1371
1086
|
# Attribute for field card_present
|
1372
1087
|
attr_reader :card_present
|
1373
|
-
|
1374
1088
|
# Attribute for field cashapp
|
1375
1089
|
attr_reader :cashapp
|
1376
|
-
|
1377
1090
|
# Attribute for field customer_balance
|
1378
1091
|
attr_reader :customer_balance
|
1379
|
-
|
1380
1092
|
# Attribute for field eps
|
1381
1093
|
attr_reader :eps
|
1382
|
-
|
1383
1094
|
# Attribute for field fpx
|
1384
1095
|
attr_reader :fpx
|
1385
|
-
|
1386
1096
|
# Attribute for field giropay
|
1387
1097
|
attr_reader :giropay
|
1388
|
-
|
1389
1098
|
# Attribute for field gopay
|
1390
1099
|
attr_reader :gopay
|
1391
|
-
|
1392
1100
|
# Attribute for field grabpay
|
1393
1101
|
attr_reader :grabpay
|
1394
|
-
|
1395
1102
|
# Attribute for field id_bank_transfer
|
1396
1103
|
attr_reader :id_bank_transfer
|
1397
|
-
|
1398
1104
|
# Attribute for field ideal
|
1399
1105
|
attr_reader :ideal
|
1400
|
-
|
1401
1106
|
# Attribute for field interac_present
|
1402
1107
|
attr_reader :interac_present
|
1403
|
-
|
1404
1108
|
# Attribute for field kakao_pay
|
1405
1109
|
attr_reader :kakao_pay
|
1406
|
-
|
1407
1110
|
# Attribute for field klarna
|
1408
1111
|
attr_reader :klarna
|
1409
|
-
|
1410
1112
|
# Attribute for field konbini
|
1411
1113
|
attr_reader :konbini
|
1412
|
-
|
1413
1114
|
# Attribute for field kr_card
|
1414
1115
|
attr_reader :kr_card
|
1415
|
-
|
1416
1116
|
# Attribute for field link
|
1417
1117
|
attr_reader :link
|
1418
|
-
|
1419
1118
|
# Attribute for field mb_way
|
1420
1119
|
attr_reader :mb_way
|
1421
|
-
|
1422
1120
|
# Attribute for field mobilepay
|
1423
1121
|
attr_reader :mobilepay
|
1424
|
-
|
1425
1122
|
# Attribute for field multibanco
|
1426
1123
|
attr_reader :multibanco
|
1427
|
-
|
1428
1124
|
# Attribute for field naver_pay
|
1429
1125
|
attr_reader :naver_pay
|
1430
|
-
|
1431
1126
|
# Attribute for field oxxo
|
1432
1127
|
attr_reader :oxxo
|
1433
|
-
|
1434
1128
|
# Attribute for field p24
|
1435
1129
|
attr_reader :p24
|
1436
|
-
|
1130
|
+
# Attribute for field pay_by_bank
|
1131
|
+
attr_reader :pay_by_bank
|
1437
1132
|
# Attribute for field payco
|
1438
1133
|
attr_reader :payco
|
1439
|
-
|
1440
1134
|
# Attribute for field paynow
|
1441
1135
|
attr_reader :paynow
|
1442
|
-
|
1443
1136
|
# Attribute for field paypal
|
1444
1137
|
attr_reader :paypal
|
1445
|
-
|
1446
1138
|
# Attribute for field payto
|
1447
1139
|
attr_reader :payto
|
1448
|
-
|
1449
1140
|
# Attribute for field pix
|
1450
1141
|
attr_reader :pix
|
1451
|
-
|
1452
1142
|
# Attribute for field promptpay
|
1453
1143
|
attr_reader :promptpay
|
1454
|
-
|
1455
1144
|
# Attribute for field qris
|
1456
1145
|
attr_reader :qris
|
1457
|
-
|
1458
1146
|
# Attribute for field rechnung
|
1459
1147
|
attr_reader :rechnung
|
1460
|
-
|
1461
1148
|
# Attribute for field revolut_pay
|
1462
1149
|
attr_reader :revolut_pay
|
1463
|
-
|
1464
1150
|
# Attribute for field samsung_pay
|
1465
1151
|
attr_reader :samsung_pay
|
1466
|
-
|
1467
1152
|
# Attribute for field sepa_credit_transfer
|
1468
1153
|
attr_reader :sepa_credit_transfer
|
1469
|
-
|
1470
1154
|
# Attribute for field sepa_debit
|
1471
1155
|
attr_reader :sepa_debit
|
1472
|
-
|
1473
1156
|
# Attribute for field shopeepay
|
1474
1157
|
attr_reader :shopeepay
|
1475
|
-
|
1476
1158
|
# Attribute for field sofort
|
1477
1159
|
attr_reader :sofort
|
1478
|
-
|
1479
1160
|
# Attribute for field stripe_account
|
1480
1161
|
attr_reader :stripe_account
|
1481
|
-
|
1482
1162
|
# Attribute for field swish
|
1483
1163
|
attr_reader :swish
|
1484
|
-
|
1485
1164
|
# Attribute for field twint
|
1486
1165
|
attr_reader :twint
|
1487
|
-
|
1488
1166
|
# 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`.
|
1489
1167
|
# An additional hash is included on `payment_method_details` with a name matching this value.
|
1490
1168
|
# It contains information specific to the payment method.
|
1491
1169
|
attr_reader :type
|
1492
|
-
|
1493
1170
|
# Attribute for field us_bank_account
|
1494
1171
|
attr_reader :us_bank_account
|
1495
|
-
|
1496
1172
|
# Attribute for field wechat
|
1497
1173
|
attr_reader :wechat
|
1498
|
-
|
1499
1174
|
# Attribute for field wechat_pay
|
1500
1175
|
attr_reader :wechat_pay
|
1501
|
-
|
1502
1176
|
# Attribute for field zip
|
1503
1177
|
attr_reader :zip
|
1504
1178
|
end
|
@@ -1512,34 +1186,25 @@ module Stripe
|
|
1512
1186
|
class Address < Stripe::StripeObject
|
1513
1187
|
# City, district, suburb, town, or village.
|
1514
1188
|
attr_reader :city
|
1515
|
-
|
1516
1189
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1517
1190
|
attr_reader :country
|
1518
|
-
|
1519
1191
|
# Address line 1 (e.g., street, PO Box, or company name).
|
1520
1192
|
attr_reader :line1
|
1521
|
-
|
1522
1193
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1523
1194
|
attr_reader :line2
|
1524
|
-
|
1525
1195
|
# ZIP or postal code.
|
1526
1196
|
attr_reader :postal_code
|
1527
|
-
|
1528
1197
|
# State, county, province, or region.
|
1529
1198
|
attr_reader :state
|
1530
1199
|
end
|
1531
1200
|
# Attribute for field address
|
1532
1201
|
attr_reader :address
|
1533
|
-
|
1534
1202
|
# The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
|
1535
1203
|
attr_reader :carrier
|
1536
|
-
|
1537
1204
|
# Recipient name.
|
1538
1205
|
attr_reader :name
|
1539
|
-
|
1540
1206
|
# Recipient phone (including extension).
|
1541
1207
|
attr_reader :phone
|
1542
|
-
|
1543
1208
|
# 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.
|
1544
1209
|
attr_reader :tracking_number
|
1545
1210
|
end
|
@@ -1547,7 +1212,6 @@ module Stripe
|
|
1547
1212
|
class TransferData < Stripe::StripeObject
|
1548
1213
|
# The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
|
1549
1214
|
attr_reader :amount
|
1550
|
-
|
1551
1215
|
# ID of an existing, connected Stripe account to transfer funds to if `transfer_data` was specified in the charge request.
|
1552
1216
|
attr_reader :destination
|
1553
1217
|
end
|
@@ -1556,13 +1220,10 @@ module Stripe
|
|
1556
1220
|
class Created < Stripe::RequestParams
|
1557
1221
|
# Minimum value to filter by (exclusive)
|
1558
1222
|
attr_accessor :gt
|
1559
|
-
|
1560
1223
|
# Minimum value to filter by (inclusive)
|
1561
1224
|
attr_accessor :gte
|
1562
|
-
|
1563
1225
|
# Maximum value to filter by (exclusive)
|
1564
1226
|
attr_accessor :lt
|
1565
|
-
|
1566
1227
|
# Maximum value to filter by (inclusive)
|
1567
1228
|
attr_accessor :lte
|
1568
1229
|
|
@@ -1575,25 +1236,18 @@ module Stripe
|
|
1575
1236
|
end
|
1576
1237
|
# Only return charges that were created during the given date interval.
|
1577
1238
|
attr_accessor :created
|
1578
|
-
|
1579
1239
|
# Only return charges for the customer specified by this customer ID.
|
1580
1240
|
attr_accessor :customer
|
1581
|
-
|
1582
1241
|
# 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.
|
1583
1242
|
attr_accessor :ending_before
|
1584
|
-
|
1585
1243
|
# Specifies which fields in the response should be expanded.
|
1586
1244
|
attr_accessor :expand
|
1587
|
-
|
1588
1245
|
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
1589
1246
|
attr_accessor :limit
|
1590
|
-
|
1591
1247
|
# Only return charges that were created by the PaymentIntent specified by this PaymentIntent ID.
|
1592
1248
|
attr_accessor :payment_intent
|
1593
|
-
|
1594
1249
|
# 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.
|
1595
1250
|
attr_accessor :starting_after
|
1596
|
-
|
1597
1251
|
# Only return charges for this transfer group, limited to 100.
|
1598
1252
|
attr_accessor :transfer_group
|
1599
1253
|
|
@@ -1622,7 +1276,6 @@ module Stripe
|
|
1622
1276
|
class Destination < Stripe::RequestParams
|
1623
1277
|
# ID of an existing, connected Stripe account.
|
1624
1278
|
attr_accessor :account
|
1625
|
-
|
1626
1279
|
# 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.
|
1627
1280
|
attr_accessor :amount
|
1628
1281
|
|
@@ -1645,19 +1298,14 @@ module Stripe
|
|
1645
1298
|
class Address < Stripe::RequestParams
|
1646
1299
|
# City, district, suburb, town, or village.
|
1647
1300
|
attr_accessor :city
|
1648
|
-
|
1649
1301
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1650
1302
|
attr_accessor :country
|
1651
|
-
|
1652
1303
|
# Address line 1 (e.g., street, PO Box, or company name).
|
1653
1304
|
attr_accessor :line1
|
1654
|
-
|
1655
1305
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1656
1306
|
attr_accessor :line2
|
1657
|
-
|
1658
1307
|
# ZIP or postal code.
|
1659
1308
|
attr_accessor :postal_code
|
1660
|
-
|
1661
1309
|
# State, county, province, or region.
|
1662
1310
|
attr_accessor :state
|
1663
1311
|
|
@@ -1679,16 +1327,12 @@ module Stripe
|
|
1679
1327
|
end
|
1680
1328
|
# Shipping address.
|
1681
1329
|
attr_accessor :address
|
1682
|
-
|
1683
1330
|
# The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
|
1684
1331
|
attr_accessor :carrier
|
1685
|
-
|
1686
1332
|
# Recipient name.
|
1687
1333
|
attr_accessor :name
|
1688
|
-
|
1689
1334
|
# Recipient phone (including extension).
|
1690
1335
|
attr_accessor :phone
|
1691
|
-
|
1692
1336
|
# 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.
|
1693
1337
|
attr_accessor :tracking_number
|
1694
1338
|
|
@@ -1704,7 +1348,6 @@ module Stripe
|
|
1704
1348
|
class TransferData < Stripe::RequestParams
|
1705
1349
|
# The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
|
1706
1350
|
attr_accessor :amount
|
1707
|
-
|
1708
1351
|
# ID of an existing, connected Stripe account.
|
1709
1352
|
attr_accessor :destination
|
1710
1353
|
|
@@ -1715,60 +1358,42 @@ module Stripe
|
|
1715
1358
|
end
|
1716
1359
|
# 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).
|
1717
1360
|
attr_accessor :amount
|
1718
|
-
|
1719
1361
|
# Attribute for param field application_fee
|
1720
1362
|
attr_accessor :application_fee
|
1721
|
-
|
1722
1363
|
# 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).
|
1723
1364
|
attr_accessor :application_fee_amount
|
1724
|
-
|
1725
1365
|
# 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.
|
1726
1366
|
attr_accessor :capture
|
1727
|
-
|
1728
1367
|
# 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).
|
1729
1368
|
attr_accessor :currency
|
1730
|
-
|
1731
1369
|
# The ID of an existing customer that will be charged in this request.
|
1732
1370
|
attr_accessor :customer
|
1733
|
-
|
1734
1371
|
# 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.
|
1735
1372
|
attr_accessor :description
|
1736
|
-
|
1737
1373
|
# Attribute for param field destination
|
1738
1374
|
attr_accessor :destination
|
1739
|
-
|
1740
1375
|
# Specifies which fields in the response should be expanded.
|
1741
1376
|
attr_accessor :expand
|
1742
|
-
|
1743
1377
|
# 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`.
|
1744
1378
|
attr_accessor :metadata
|
1745
|
-
|
1746
1379
|
# 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).
|
1747
1380
|
attr_accessor :on_behalf_of
|
1748
|
-
|
1749
1381
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
1750
1382
|
attr_accessor :radar_options
|
1751
|
-
|
1752
1383
|
# 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).
|
1753
1384
|
attr_accessor :receipt_email
|
1754
|
-
|
1755
1385
|
# Shipping information for the charge. Helps prevent fraud on charges for physical goods.
|
1756
1386
|
attr_accessor :shipping
|
1757
|
-
|
1758
1387
|
# 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.
|
1759
1388
|
attr_accessor :source
|
1760
|
-
|
1761
1389
|
# 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).
|
1762
1390
|
#
|
1763
1391
|
# 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.
|
1764
1392
|
attr_accessor :statement_descriptor
|
1765
|
-
|
1766
1393
|
# 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.
|
1767
1394
|
attr_accessor :statement_descriptor_suffix
|
1768
|
-
|
1769
1395
|
# 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.
|
1770
1396
|
attr_accessor :transfer_data
|
1771
|
-
|
1772
1397
|
# 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).
|
1773
1398
|
attr_accessor :transfer_group
|
1774
1399
|
|
@@ -1849,10 +1474,8 @@ module Stripe
|
|
1849
1474
|
class Recipient < Stripe::RequestParams
|
1850
1475
|
# The email of the recipient the ticket is delivered to.
|
1851
1476
|
attr_accessor :email
|
1852
|
-
|
1853
1477
|
# The name of the recipient the ticket is delivered to.
|
1854
1478
|
attr_accessor :name
|
1855
|
-
|
1856
1479
|
# The phone number of the recipient the ticket is delivered to.
|
1857
1480
|
attr_accessor :phone
|
1858
1481
|
|
@@ -1864,7 +1487,6 @@ module Stripe
|
|
1864
1487
|
end
|
1865
1488
|
# The delivery method for the payment
|
1866
1489
|
attr_accessor :mode
|
1867
|
-
|
1868
1490
|
# Details of the recipient.
|
1869
1491
|
attr_accessor :recipient
|
1870
1492
|
|
@@ -1886,19 +1508,14 @@ module Stripe
|
|
1886
1508
|
class PickupAddress < Stripe::RequestParams
|
1887
1509
|
# City, district, suburb, town, or village.
|
1888
1510
|
attr_accessor :city
|
1889
|
-
|
1890
1511
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1891
1512
|
attr_accessor :country
|
1892
|
-
|
1893
1513
|
# Address line 1 (e.g., street, PO Box, or company name).
|
1894
1514
|
attr_accessor :line1
|
1895
|
-
|
1896
1515
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1897
1516
|
attr_accessor :line2
|
1898
|
-
|
1899
1517
|
# ZIP or postal code.
|
1900
1518
|
attr_accessor :postal_code
|
1901
|
-
|
1902
1519
|
# State, county, province, or region.
|
1903
1520
|
attr_accessor :state
|
1904
1521
|
|
@@ -1922,19 +1539,14 @@ module Stripe
|
|
1922
1539
|
class ReturnAddress < Stripe::RequestParams
|
1923
1540
|
# City, district, suburb, town, or village.
|
1924
1541
|
attr_accessor :city
|
1925
|
-
|
1926
1542
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1927
1543
|
attr_accessor :country
|
1928
|
-
|
1929
1544
|
# Address line 1 (e.g., street, PO Box, or company name).
|
1930
1545
|
attr_accessor :line1
|
1931
|
-
|
1932
1546
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1933
1547
|
attr_accessor :line2
|
1934
|
-
|
1935
1548
|
# ZIP or postal code.
|
1936
1549
|
attr_accessor :postal_code
|
1937
|
-
|
1938
1550
|
# State, county, province, or region.
|
1939
1551
|
attr_accessor :state
|
1940
1552
|
|
@@ -1956,61 +1568,42 @@ module Stripe
|
|
1956
1568
|
end
|
1957
1569
|
# Affiliate details for this purchase.
|
1958
1570
|
attr_accessor :affiliate
|
1959
|
-
|
1960
1571
|
# The booking number associated with the car rental.
|
1961
1572
|
attr_accessor :booking_number
|
1962
|
-
|
1963
1573
|
# Class code of the car.
|
1964
1574
|
attr_accessor :car_class_code
|
1965
|
-
|
1966
1575
|
# Make of the car.
|
1967
1576
|
attr_accessor :car_make
|
1968
|
-
|
1969
1577
|
# Model of the car.
|
1970
1578
|
attr_accessor :car_model
|
1971
|
-
|
1972
1579
|
# The name of the rental car company.
|
1973
1580
|
attr_accessor :company
|
1974
|
-
|
1975
1581
|
# The customer service phone number of the car rental company.
|
1976
1582
|
attr_accessor :customer_service_phone_number
|
1977
|
-
|
1978
1583
|
# Number of days the car is being rented.
|
1979
1584
|
attr_accessor :days_rented
|
1980
|
-
|
1981
1585
|
# Delivery details for this purchase.
|
1982
1586
|
attr_accessor :delivery
|
1983
|
-
|
1984
1587
|
# The details of the passengers in the travel reservation
|
1985
1588
|
attr_accessor :drivers
|
1986
|
-
|
1987
1589
|
# List of additional charges being billed.
|
1988
1590
|
attr_accessor :extra_charges
|
1989
|
-
|
1990
1591
|
# Indicates if the customer did not keep nor cancel their booking.
|
1991
1592
|
attr_accessor :no_show
|
1992
|
-
|
1993
1593
|
# Car pick-up address.
|
1994
1594
|
attr_accessor :pickup_address
|
1995
|
-
|
1996
1595
|
# Car pick-up time. Measured in seconds since the Unix epoch.
|
1997
1596
|
attr_accessor :pickup_at
|
1998
|
-
|
1999
1597
|
# Rental rate.
|
2000
1598
|
attr_accessor :rate_amount
|
2001
|
-
|
2002
1599
|
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
2003
1600
|
attr_accessor :rate_interval
|
2004
|
-
|
2005
1601
|
# The name of the person or entity renting the car.
|
2006
1602
|
attr_accessor :renter_name
|
2007
|
-
|
2008
1603
|
# Car return address.
|
2009
1604
|
attr_accessor :return_address
|
2010
|
-
|
2011
1605
|
# Car return time. Measured in seconds since the Unix epoch.
|
2012
1606
|
attr_accessor :return_at
|
2013
|
-
|
2014
1607
|
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
2015
1608
|
attr_accessor :tax_exempt
|
2016
1609
|
|
@@ -2063,19 +1656,14 @@ module Stripe
|
|
2063
1656
|
class Address < Stripe::RequestParams
|
2064
1657
|
# City, district, suburb, town, or village.
|
2065
1658
|
attr_accessor :city
|
2066
|
-
|
2067
1659
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2068
1660
|
attr_accessor :country
|
2069
|
-
|
2070
1661
|
# Address line 1 (e.g., street, PO Box, or company name).
|
2071
1662
|
attr_accessor :line1
|
2072
|
-
|
2073
1663
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2074
1664
|
attr_accessor :line2
|
2075
|
-
|
2076
1665
|
# ZIP or postal code.
|
2077
1666
|
attr_accessor :postal_code
|
2078
|
-
|
2079
1667
|
# State, county, province, or region.
|
2080
1668
|
attr_accessor :state
|
2081
1669
|
|
@@ -2109,10 +1697,8 @@ module Stripe
|
|
2109
1697
|
class Recipient < Stripe::RequestParams
|
2110
1698
|
# The email of the recipient the ticket is delivered to.
|
2111
1699
|
attr_accessor :email
|
2112
|
-
|
2113
1700
|
# The name of the recipient the ticket is delivered to.
|
2114
1701
|
attr_accessor :name
|
2115
|
-
|
2116
1702
|
# The phone number of the recipient the ticket is delivered to.
|
2117
1703
|
attr_accessor :phone
|
2118
1704
|
|
@@ -2124,7 +1710,6 @@ module Stripe
|
|
2124
1710
|
end
|
2125
1711
|
# The delivery method for the payment
|
2126
1712
|
attr_accessor :mode
|
2127
|
-
|
2128
1713
|
# Details of the recipient.
|
2129
1714
|
attr_accessor :recipient
|
2130
1715
|
|
@@ -2135,28 +1720,20 @@ module Stripe
|
|
2135
1720
|
end
|
2136
1721
|
# Indicates if the tickets are digitally checked when entering the venue.
|
2137
1722
|
attr_accessor :access_controlled_venue
|
2138
|
-
|
2139
1723
|
# The event location's address.
|
2140
1724
|
attr_accessor :address
|
2141
|
-
|
2142
1725
|
# Affiliate details for this purchase.
|
2143
1726
|
attr_accessor :affiliate
|
2144
|
-
|
2145
1727
|
# The name of the company
|
2146
1728
|
attr_accessor :company
|
2147
|
-
|
2148
1729
|
# Delivery details for this purchase.
|
2149
1730
|
attr_accessor :delivery
|
2150
|
-
|
2151
1731
|
# Event end time. Measured in seconds since the Unix epoch.
|
2152
1732
|
attr_accessor :ends_at
|
2153
|
-
|
2154
1733
|
# Type of the event entertainment (concert, sports event etc)
|
2155
1734
|
attr_accessor :genre
|
2156
|
-
|
2157
1735
|
# The name of the event.
|
2158
1736
|
attr_accessor :name
|
2159
|
-
|
2160
1737
|
# Event start time. Measured in seconds since the Unix epoch.
|
2161
1738
|
attr_accessor :starts_at
|
2162
1739
|
|
@@ -2197,10 +1774,8 @@ module Stripe
|
|
2197
1774
|
class Recipient < Stripe::RequestParams
|
2198
1775
|
# The email of the recipient the ticket is delivered to.
|
2199
1776
|
attr_accessor :email
|
2200
|
-
|
2201
1777
|
# The name of the recipient the ticket is delivered to.
|
2202
1778
|
attr_accessor :name
|
2203
|
-
|
2204
1779
|
# The phone number of the recipient the ticket is delivered to.
|
2205
1780
|
attr_accessor :phone
|
2206
1781
|
|
@@ -2212,7 +1787,6 @@ module Stripe
|
|
2212
1787
|
end
|
2213
1788
|
# The delivery method for the payment
|
2214
1789
|
attr_accessor :mode
|
2215
|
-
|
2216
1790
|
# Details of the recipient.
|
2217
1791
|
attr_accessor :recipient
|
2218
1792
|
|
@@ -2234,25 +1808,18 @@ module Stripe
|
|
2234
1808
|
class Segment < Stripe::RequestParams
|
2235
1809
|
# The flight segment amount.
|
2236
1810
|
attr_accessor :amount
|
2237
|
-
|
2238
1811
|
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
2239
1812
|
attr_accessor :arrival_airport
|
2240
|
-
|
2241
1813
|
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
2242
1814
|
attr_accessor :arrives_at
|
2243
|
-
|
2244
1815
|
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
2245
1816
|
attr_accessor :carrier
|
2246
|
-
|
2247
1817
|
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
2248
1818
|
attr_accessor :departs_at
|
2249
|
-
|
2250
1819
|
# The International Air Transport Association (IATA) airport code for the departure airport.
|
2251
1820
|
attr_accessor :departure_airport
|
2252
|
-
|
2253
1821
|
# The flight number associated with the segment
|
2254
1822
|
attr_accessor :flight_number
|
2255
|
-
|
2256
1823
|
# The fare class for the segment.
|
2257
1824
|
attr_accessor :service_class
|
2258
1825
|
|
@@ -2278,25 +1845,18 @@ module Stripe
|
|
2278
1845
|
end
|
2279
1846
|
# Affiliate details for this purchase.
|
2280
1847
|
attr_accessor :affiliate
|
2281
|
-
|
2282
1848
|
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
2283
1849
|
attr_accessor :agency_number
|
2284
|
-
|
2285
1850
|
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
2286
1851
|
attr_accessor :carrier
|
2287
|
-
|
2288
1852
|
# Delivery details for this purchase.
|
2289
1853
|
attr_accessor :delivery
|
2290
|
-
|
2291
1854
|
# The name of the person or entity on the reservation.
|
2292
1855
|
attr_accessor :passenger_name
|
2293
|
-
|
2294
1856
|
# The details of the passengers in the travel reservation.
|
2295
1857
|
attr_accessor :passengers
|
2296
|
-
|
2297
1858
|
# The individual flight segments associated with the trip.
|
2298
1859
|
attr_accessor :segments
|
2299
|
-
|
2300
1860
|
# The ticket number associated with the travel reservation.
|
2301
1861
|
attr_accessor :ticket_number
|
2302
1862
|
|
@@ -2325,19 +1885,14 @@ module Stripe
|
|
2325
1885
|
class Address < Stripe::RequestParams
|
2326
1886
|
# City, district, suburb, town, or village.
|
2327
1887
|
attr_accessor :city
|
2328
|
-
|
2329
1888
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2330
1889
|
attr_accessor :country
|
2331
|
-
|
2332
1890
|
# Address line 1 (e.g., street, PO Box, or company name).
|
2333
1891
|
attr_accessor :line1
|
2334
|
-
|
2335
1892
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2336
1893
|
attr_accessor :line2
|
2337
|
-
|
2338
1894
|
# ZIP or postal code.
|
2339
1895
|
attr_accessor :postal_code
|
2340
|
-
|
2341
1896
|
# State, county, province, or region.
|
2342
1897
|
attr_accessor :state
|
2343
1898
|
|
@@ -2371,10 +1926,8 @@ module Stripe
|
|
2371
1926
|
class Recipient < Stripe::RequestParams
|
2372
1927
|
# The email of the recipient the ticket is delivered to.
|
2373
1928
|
attr_accessor :email
|
2374
|
-
|
2375
1929
|
# The name of the recipient the ticket is delivered to.
|
2376
1930
|
attr_accessor :name
|
2377
|
-
|
2378
1931
|
# The phone number of the recipient the ticket is delivered to.
|
2379
1932
|
attr_accessor :phone
|
2380
1933
|
|
@@ -2386,7 +1939,6 @@ module Stripe
|
|
2386
1939
|
end
|
2387
1940
|
# The delivery method for the payment
|
2388
1941
|
attr_accessor :mode
|
2389
|
-
|
2390
1942
|
# Details of the recipient.
|
2391
1943
|
attr_accessor :recipient
|
2392
1944
|
|
@@ -2406,64 +1958,44 @@ module Stripe
|
|
2406
1958
|
end
|
2407
1959
|
# The lodging location's address.
|
2408
1960
|
attr_accessor :address
|
2409
|
-
|
2410
1961
|
# The number of adults on the booking
|
2411
1962
|
attr_accessor :adults
|
2412
|
-
|
2413
1963
|
# Affiliate details for this purchase.
|
2414
1964
|
attr_accessor :affiliate
|
2415
|
-
|
2416
1965
|
# The booking number associated with the lodging reservation.
|
2417
1966
|
attr_accessor :booking_number
|
2418
|
-
|
2419
1967
|
# The lodging category
|
2420
1968
|
attr_accessor :category
|
2421
|
-
|
2422
1969
|
# Loding check-in time. Measured in seconds since the Unix epoch.
|
2423
1970
|
attr_accessor :checkin_at
|
2424
|
-
|
2425
1971
|
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
2426
1972
|
attr_accessor :checkout_at
|
2427
|
-
|
2428
1973
|
# The customer service phone number of the lodging company.
|
2429
1974
|
attr_accessor :customer_service_phone_number
|
2430
|
-
|
2431
1975
|
# The daily lodging room rate.
|
2432
1976
|
attr_accessor :daily_room_rate_amount
|
2433
|
-
|
2434
1977
|
# Delivery details for this purchase.
|
2435
1978
|
attr_accessor :delivery
|
2436
|
-
|
2437
1979
|
# List of additional charges being billed.
|
2438
1980
|
attr_accessor :extra_charges
|
2439
|
-
|
2440
1981
|
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
2441
1982
|
attr_accessor :fire_safety_act_compliance
|
2442
|
-
|
2443
1983
|
# The name of the lodging location.
|
2444
1984
|
attr_accessor :name
|
2445
|
-
|
2446
1985
|
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
2447
1986
|
attr_accessor :no_show
|
2448
|
-
|
2449
1987
|
# The number of rooms on the booking
|
2450
1988
|
attr_accessor :number_of_rooms
|
2451
|
-
|
2452
1989
|
# The details of the passengers in the travel reservation
|
2453
1990
|
attr_accessor :passengers
|
2454
|
-
|
2455
1991
|
# The phone number of the lodging location.
|
2456
1992
|
attr_accessor :property_phone_number
|
2457
|
-
|
2458
1993
|
# The room class for this purchase.
|
2459
1994
|
attr_accessor :room_class
|
2460
|
-
|
2461
1995
|
# The number of room nights
|
2462
1996
|
attr_accessor :room_nights
|
2463
|
-
|
2464
1997
|
# The total tax amount associating with the room reservation.
|
2465
1998
|
attr_accessor :total_room_tax_amount
|
2466
|
-
|
2467
1999
|
# The total tax amount
|
2468
2000
|
attr_accessor :total_tax_amount
|
2469
2001
|
|
@@ -2527,7 +2059,6 @@ module Stripe
|
|
2527
2059
|
class BillingInterval < Stripe::RequestParams
|
2528
2060
|
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
2529
2061
|
attr_accessor :count
|
2530
|
-
|
2531
2062
|
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
2532
2063
|
attr_accessor :interval
|
2533
2064
|
|
@@ -2538,19 +2069,14 @@ module Stripe
|
|
2538
2069
|
end
|
2539
2070
|
# Affiliate details for this purchase.
|
2540
2071
|
attr_accessor :affiliate
|
2541
|
-
|
2542
2072
|
# Info whether the subscription will be auto renewed upon expiry.
|
2543
2073
|
attr_accessor :auto_renewal
|
2544
|
-
|
2545
2074
|
# Subscription billing details for this purchase.
|
2546
2075
|
attr_accessor :billing_interval
|
2547
|
-
|
2548
2076
|
# Subscription end time. Measured in seconds since the Unix epoch.
|
2549
2077
|
attr_accessor :ends_at
|
2550
|
-
|
2551
2078
|
# Name of the product on subscription. e.g. Apple Music Subscription
|
2552
2079
|
attr_accessor :name
|
2553
|
-
|
2554
2080
|
# Subscription start time. Measured in seconds since the Unix epoch.
|
2555
2081
|
attr_accessor :starts_at
|
2556
2082
|
|
@@ -2572,16 +2098,12 @@ module Stripe
|
|
2572
2098
|
end
|
2573
2099
|
# Car rental details for this PaymentIntent.
|
2574
2100
|
attr_accessor :car_rental
|
2575
|
-
|
2576
2101
|
# Event details for this PaymentIntent
|
2577
2102
|
attr_accessor :event_details
|
2578
|
-
|
2579
2103
|
# Flight reservation details for this PaymentIntent
|
2580
2104
|
attr_accessor :flight
|
2581
|
-
|
2582
2105
|
# Lodging reservation details for this PaymentIntent
|
2583
2106
|
attr_accessor :lodging
|
2584
|
-
|
2585
2107
|
# Subscription details for this PaymentIntent
|
2586
2108
|
attr_accessor :subscription
|
2587
2109
|
|
@@ -2604,19 +2126,14 @@ module Stripe
|
|
2604
2126
|
class Address < Stripe::RequestParams
|
2605
2127
|
# City, district, suburb, town, or village.
|
2606
2128
|
attr_accessor :city
|
2607
|
-
|
2608
2129
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2609
2130
|
attr_accessor :country
|
2610
|
-
|
2611
2131
|
# Address line 1 (e.g., street, PO Box, or company name).
|
2612
2132
|
attr_accessor :line1
|
2613
|
-
|
2614
2133
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2615
2134
|
attr_accessor :line2
|
2616
|
-
|
2617
2135
|
# ZIP or postal code.
|
2618
2136
|
attr_accessor :postal_code
|
2619
|
-
|
2620
2137
|
# State, county, province, or region.
|
2621
2138
|
attr_accessor :state
|
2622
2139
|
|
@@ -2638,16 +2155,12 @@ module Stripe
|
|
2638
2155
|
end
|
2639
2156
|
# Shipping address.
|
2640
2157
|
attr_accessor :address
|
2641
|
-
|
2642
2158
|
# The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
|
2643
2159
|
attr_accessor :carrier
|
2644
|
-
|
2645
2160
|
# Recipient name.
|
2646
2161
|
attr_accessor :name
|
2647
|
-
|
2648
2162
|
# Recipient phone (including extension).
|
2649
2163
|
attr_accessor :phone
|
2650
|
-
|
2651
2164
|
# 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.
|
2652
2165
|
attr_accessor :tracking_number
|
2653
2166
|
|
@@ -2661,28 +2174,20 @@ module Stripe
|
|
2661
2174
|
end
|
2662
2175
|
# 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.
|
2663
2176
|
attr_accessor :customer
|
2664
|
-
|
2665
2177
|
# 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.
|
2666
2178
|
attr_accessor :description
|
2667
|
-
|
2668
2179
|
# Specifies which fields in the response should be expanded.
|
2669
2180
|
attr_accessor :expand
|
2670
|
-
|
2671
2181
|
# 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.
|
2672
2182
|
attr_accessor :fraud_details
|
2673
|
-
|
2674
2183
|
# 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`.
|
2675
2184
|
attr_accessor :metadata
|
2676
|
-
|
2677
2185
|
# Provides industry-specific information about the charge.
|
2678
2186
|
attr_accessor :payment_details
|
2679
|
-
|
2680
2187
|
# 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.
|
2681
2188
|
attr_accessor :receipt_email
|
2682
|
-
|
2683
2189
|
# Shipping information for the charge. Helps prevent fraud on charges for physical goods.
|
2684
2190
|
attr_accessor :shipping
|
2685
|
-
|
2686
2191
|
# 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.
|
2687
2192
|
attr_accessor :transfer_group
|
2688
2193
|
|
@@ -2712,13 +2217,10 @@ module Stripe
|
|
2712
2217
|
class SearchParams < Stripe::RequestParams
|
2713
2218
|
# Specifies which fields in the response should be expanded.
|
2714
2219
|
attr_accessor :expand
|
2715
|
-
|
2716
2220
|
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
2717
2221
|
attr_accessor :limit
|
2718
|
-
|
2719
2222
|
# 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.
|
2720
2223
|
attr_accessor :page
|
2721
|
-
|
2722
2224
|
# 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).
|
2723
2225
|
attr_accessor :query
|
2724
2226
|
|
@@ -2746,10 +2248,8 @@ module Stripe
|
|
2746
2248
|
class Recipient < Stripe::RequestParams
|
2747
2249
|
# The email of the recipient the ticket is delivered to.
|
2748
2250
|
attr_accessor :email
|
2749
|
-
|
2750
2251
|
# The name of the recipient the ticket is delivered to.
|
2751
2252
|
attr_accessor :name
|
2752
|
-
|
2753
2253
|
# The phone number of the recipient the ticket is delivered to.
|
2754
2254
|
attr_accessor :phone
|
2755
2255
|
|
@@ -2761,7 +2261,6 @@ module Stripe
|
|
2761
2261
|
end
|
2762
2262
|
# The delivery method for the payment
|
2763
2263
|
attr_accessor :mode
|
2764
|
-
|
2765
2264
|
# Details of the recipient.
|
2766
2265
|
attr_accessor :recipient
|
2767
2266
|
|
@@ -2783,19 +2282,14 @@ module Stripe
|
|
2783
2282
|
class PickupAddress < Stripe::RequestParams
|
2784
2283
|
# City, district, suburb, town, or village.
|
2785
2284
|
attr_accessor :city
|
2786
|
-
|
2787
2285
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2788
2286
|
attr_accessor :country
|
2789
|
-
|
2790
2287
|
# Address line 1 (e.g., street, PO Box, or company name).
|
2791
2288
|
attr_accessor :line1
|
2792
|
-
|
2793
2289
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2794
2290
|
attr_accessor :line2
|
2795
|
-
|
2796
2291
|
# ZIP or postal code.
|
2797
2292
|
attr_accessor :postal_code
|
2798
|
-
|
2799
2293
|
# State, county, province, or region.
|
2800
2294
|
attr_accessor :state
|
2801
2295
|
|
@@ -2819,19 +2313,14 @@ module Stripe
|
|
2819
2313
|
class ReturnAddress < Stripe::RequestParams
|
2820
2314
|
# City, district, suburb, town, or village.
|
2821
2315
|
attr_accessor :city
|
2822
|
-
|
2823
2316
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2824
2317
|
attr_accessor :country
|
2825
|
-
|
2826
2318
|
# Address line 1 (e.g., street, PO Box, or company name).
|
2827
2319
|
attr_accessor :line1
|
2828
|
-
|
2829
2320
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2830
2321
|
attr_accessor :line2
|
2831
|
-
|
2832
2322
|
# ZIP or postal code.
|
2833
2323
|
attr_accessor :postal_code
|
2834
|
-
|
2835
2324
|
# State, county, province, or region.
|
2836
2325
|
attr_accessor :state
|
2837
2326
|
|
@@ -2853,61 +2342,42 @@ module Stripe
|
|
2853
2342
|
end
|
2854
2343
|
# Affiliate details for this purchase.
|
2855
2344
|
attr_accessor :affiliate
|
2856
|
-
|
2857
2345
|
# The booking number associated with the car rental.
|
2858
2346
|
attr_accessor :booking_number
|
2859
|
-
|
2860
2347
|
# Class code of the car.
|
2861
2348
|
attr_accessor :car_class_code
|
2862
|
-
|
2863
2349
|
# Make of the car.
|
2864
2350
|
attr_accessor :car_make
|
2865
|
-
|
2866
2351
|
# Model of the car.
|
2867
2352
|
attr_accessor :car_model
|
2868
|
-
|
2869
2353
|
# The name of the rental car company.
|
2870
2354
|
attr_accessor :company
|
2871
|
-
|
2872
2355
|
# The customer service phone number of the car rental company.
|
2873
2356
|
attr_accessor :customer_service_phone_number
|
2874
|
-
|
2875
2357
|
# Number of days the car is being rented.
|
2876
2358
|
attr_accessor :days_rented
|
2877
|
-
|
2878
2359
|
# Delivery details for this purchase.
|
2879
2360
|
attr_accessor :delivery
|
2880
|
-
|
2881
2361
|
# The details of the passengers in the travel reservation
|
2882
2362
|
attr_accessor :drivers
|
2883
|
-
|
2884
2363
|
# List of additional charges being billed.
|
2885
2364
|
attr_accessor :extra_charges
|
2886
|
-
|
2887
2365
|
# Indicates if the customer did not keep nor cancel their booking.
|
2888
2366
|
attr_accessor :no_show
|
2889
|
-
|
2890
2367
|
# Car pick-up address.
|
2891
2368
|
attr_accessor :pickup_address
|
2892
|
-
|
2893
2369
|
# Car pick-up time. Measured in seconds since the Unix epoch.
|
2894
2370
|
attr_accessor :pickup_at
|
2895
|
-
|
2896
2371
|
# Rental rate.
|
2897
2372
|
attr_accessor :rate_amount
|
2898
|
-
|
2899
2373
|
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
2900
2374
|
attr_accessor :rate_interval
|
2901
|
-
|
2902
2375
|
# The name of the person or entity renting the car.
|
2903
2376
|
attr_accessor :renter_name
|
2904
|
-
|
2905
2377
|
# Car return address.
|
2906
2378
|
attr_accessor :return_address
|
2907
|
-
|
2908
2379
|
# Car return time. Measured in seconds since the Unix epoch.
|
2909
2380
|
attr_accessor :return_at
|
2910
|
-
|
2911
2381
|
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
2912
2382
|
attr_accessor :tax_exempt
|
2913
2383
|
|
@@ -2960,19 +2430,14 @@ module Stripe
|
|
2960
2430
|
class Address < Stripe::RequestParams
|
2961
2431
|
# City, district, suburb, town, or village.
|
2962
2432
|
attr_accessor :city
|
2963
|
-
|
2964
2433
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2965
2434
|
attr_accessor :country
|
2966
|
-
|
2967
2435
|
# Address line 1 (e.g., street, PO Box, or company name).
|
2968
2436
|
attr_accessor :line1
|
2969
|
-
|
2970
2437
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2971
2438
|
attr_accessor :line2
|
2972
|
-
|
2973
2439
|
# ZIP or postal code.
|
2974
2440
|
attr_accessor :postal_code
|
2975
|
-
|
2976
2441
|
# State, county, province, or region.
|
2977
2442
|
attr_accessor :state
|
2978
2443
|
|
@@ -3006,10 +2471,8 @@ module Stripe
|
|
3006
2471
|
class Recipient < Stripe::RequestParams
|
3007
2472
|
# The email of the recipient the ticket is delivered to.
|
3008
2473
|
attr_accessor :email
|
3009
|
-
|
3010
2474
|
# The name of the recipient the ticket is delivered to.
|
3011
2475
|
attr_accessor :name
|
3012
|
-
|
3013
2476
|
# The phone number of the recipient the ticket is delivered to.
|
3014
2477
|
attr_accessor :phone
|
3015
2478
|
|
@@ -3021,7 +2484,6 @@ module Stripe
|
|
3021
2484
|
end
|
3022
2485
|
# The delivery method for the payment
|
3023
2486
|
attr_accessor :mode
|
3024
|
-
|
3025
2487
|
# Details of the recipient.
|
3026
2488
|
attr_accessor :recipient
|
3027
2489
|
|
@@ -3032,28 +2494,20 @@ module Stripe
|
|
3032
2494
|
end
|
3033
2495
|
# Indicates if the tickets are digitally checked when entering the venue.
|
3034
2496
|
attr_accessor :access_controlled_venue
|
3035
|
-
|
3036
2497
|
# The event location's address.
|
3037
2498
|
attr_accessor :address
|
3038
|
-
|
3039
2499
|
# Affiliate details for this purchase.
|
3040
2500
|
attr_accessor :affiliate
|
3041
|
-
|
3042
2501
|
# The name of the company
|
3043
2502
|
attr_accessor :company
|
3044
|
-
|
3045
2503
|
# Delivery details for this purchase.
|
3046
2504
|
attr_accessor :delivery
|
3047
|
-
|
3048
2505
|
# Event end time. Measured in seconds since the Unix epoch.
|
3049
2506
|
attr_accessor :ends_at
|
3050
|
-
|
3051
2507
|
# Type of the event entertainment (concert, sports event etc)
|
3052
2508
|
attr_accessor :genre
|
3053
|
-
|
3054
2509
|
# The name of the event.
|
3055
2510
|
attr_accessor :name
|
3056
|
-
|
3057
2511
|
# Event start time. Measured in seconds since the Unix epoch.
|
3058
2512
|
attr_accessor :starts_at
|
3059
2513
|
|
@@ -3094,10 +2548,8 @@ module Stripe
|
|
3094
2548
|
class Recipient < Stripe::RequestParams
|
3095
2549
|
# The email of the recipient the ticket is delivered to.
|
3096
2550
|
attr_accessor :email
|
3097
|
-
|
3098
2551
|
# The name of the recipient the ticket is delivered to.
|
3099
2552
|
attr_accessor :name
|
3100
|
-
|
3101
2553
|
# The phone number of the recipient the ticket is delivered to.
|
3102
2554
|
attr_accessor :phone
|
3103
2555
|
|
@@ -3109,7 +2561,6 @@ module Stripe
|
|
3109
2561
|
end
|
3110
2562
|
# The delivery method for the payment
|
3111
2563
|
attr_accessor :mode
|
3112
|
-
|
3113
2564
|
# Details of the recipient.
|
3114
2565
|
attr_accessor :recipient
|
3115
2566
|
|
@@ -3131,25 +2582,18 @@ module Stripe
|
|
3131
2582
|
class Segment < Stripe::RequestParams
|
3132
2583
|
# The flight segment amount.
|
3133
2584
|
attr_accessor :amount
|
3134
|
-
|
3135
2585
|
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
3136
2586
|
attr_accessor :arrival_airport
|
3137
|
-
|
3138
2587
|
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
3139
2588
|
attr_accessor :arrives_at
|
3140
|
-
|
3141
2589
|
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
3142
2590
|
attr_accessor :carrier
|
3143
|
-
|
3144
2591
|
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
3145
2592
|
attr_accessor :departs_at
|
3146
|
-
|
3147
2593
|
# The International Air Transport Association (IATA) airport code for the departure airport.
|
3148
2594
|
attr_accessor :departure_airport
|
3149
|
-
|
3150
2595
|
# The flight number associated with the segment
|
3151
2596
|
attr_accessor :flight_number
|
3152
|
-
|
3153
2597
|
# The fare class for the segment.
|
3154
2598
|
attr_accessor :service_class
|
3155
2599
|
|
@@ -3175,25 +2619,18 @@ module Stripe
|
|
3175
2619
|
end
|
3176
2620
|
# Affiliate details for this purchase.
|
3177
2621
|
attr_accessor :affiliate
|
3178
|
-
|
3179
2622
|
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
3180
2623
|
attr_accessor :agency_number
|
3181
|
-
|
3182
2624
|
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
3183
2625
|
attr_accessor :carrier
|
3184
|
-
|
3185
2626
|
# Delivery details for this purchase.
|
3186
2627
|
attr_accessor :delivery
|
3187
|
-
|
3188
2628
|
# The name of the person or entity on the reservation.
|
3189
2629
|
attr_accessor :passenger_name
|
3190
|
-
|
3191
2630
|
# The details of the passengers in the travel reservation.
|
3192
2631
|
attr_accessor :passengers
|
3193
|
-
|
3194
2632
|
# The individual flight segments associated with the trip.
|
3195
2633
|
attr_accessor :segments
|
3196
|
-
|
3197
2634
|
# The ticket number associated with the travel reservation.
|
3198
2635
|
attr_accessor :ticket_number
|
3199
2636
|
|
@@ -3222,19 +2659,14 @@ module Stripe
|
|
3222
2659
|
class Address < Stripe::RequestParams
|
3223
2660
|
# City, district, suburb, town, or village.
|
3224
2661
|
attr_accessor :city
|
3225
|
-
|
3226
2662
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
3227
2663
|
attr_accessor :country
|
3228
|
-
|
3229
2664
|
# Address line 1 (e.g., street, PO Box, or company name).
|
3230
2665
|
attr_accessor :line1
|
3231
|
-
|
3232
2666
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
3233
2667
|
attr_accessor :line2
|
3234
|
-
|
3235
2668
|
# ZIP or postal code.
|
3236
2669
|
attr_accessor :postal_code
|
3237
|
-
|
3238
2670
|
# State, county, province, or region.
|
3239
2671
|
attr_accessor :state
|
3240
2672
|
|
@@ -3268,10 +2700,8 @@ module Stripe
|
|
3268
2700
|
class Recipient < Stripe::RequestParams
|
3269
2701
|
# The email of the recipient the ticket is delivered to.
|
3270
2702
|
attr_accessor :email
|
3271
|
-
|
3272
2703
|
# The name of the recipient the ticket is delivered to.
|
3273
2704
|
attr_accessor :name
|
3274
|
-
|
3275
2705
|
# The phone number of the recipient the ticket is delivered to.
|
3276
2706
|
attr_accessor :phone
|
3277
2707
|
|
@@ -3283,7 +2713,6 @@ module Stripe
|
|
3283
2713
|
end
|
3284
2714
|
# The delivery method for the payment
|
3285
2715
|
attr_accessor :mode
|
3286
|
-
|
3287
2716
|
# Details of the recipient.
|
3288
2717
|
attr_accessor :recipient
|
3289
2718
|
|
@@ -3303,64 +2732,44 @@ module Stripe
|
|
3303
2732
|
end
|
3304
2733
|
# The lodging location's address.
|
3305
2734
|
attr_accessor :address
|
3306
|
-
|
3307
2735
|
# The number of adults on the booking
|
3308
2736
|
attr_accessor :adults
|
3309
|
-
|
3310
2737
|
# Affiliate details for this purchase.
|
3311
2738
|
attr_accessor :affiliate
|
3312
|
-
|
3313
2739
|
# The booking number associated with the lodging reservation.
|
3314
2740
|
attr_accessor :booking_number
|
3315
|
-
|
3316
2741
|
# The lodging category
|
3317
2742
|
attr_accessor :category
|
3318
|
-
|
3319
2743
|
# Loding check-in time. Measured in seconds since the Unix epoch.
|
3320
2744
|
attr_accessor :checkin_at
|
3321
|
-
|
3322
2745
|
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
3323
2746
|
attr_accessor :checkout_at
|
3324
|
-
|
3325
2747
|
# The customer service phone number of the lodging company.
|
3326
2748
|
attr_accessor :customer_service_phone_number
|
3327
|
-
|
3328
2749
|
# The daily lodging room rate.
|
3329
2750
|
attr_accessor :daily_room_rate_amount
|
3330
|
-
|
3331
2751
|
# Delivery details for this purchase.
|
3332
2752
|
attr_accessor :delivery
|
3333
|
-
|
3334
2753
|
# List of additional charges being billed.
|
3335
2754
|
attr_accessor :extra_charges
|
3336
|
-
|
3337
2755
|
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
3338
2756
|
attr_accessor :fire_safety_act_compliance
|
3339
|
-
|
3340
2757
|
# The name of the lodging location.
|
3341
2758
|
attr_accessor :name
|
3342
|
-
|
3343
2759
|
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
3344
2760
|
attr_accessor :no_show
|
3345
|
-
|
3346
2761
|
# The number of rooms on the booking
|
3347
2762
|
attr_accessor :number_of_rooms
|
3348
|
-
|
3349
2763
|
# The details of the passengers in the travel reservation
|
3350
2764
|
attr_accessor :passengers
|
3351
|
-
|
3352
2765
|
# The phone number of the lodging location.
|
3353
2766
|
attr_accessor :property_phone_number
|
3354
|
-
|
3355
2767
|
# The room class for this purchase.
|
3356
2768
|
attr_accessor :room_class
|
3357
|
-
|
3358
2769
|
# The number of room nights
|
3359
2770
|
attr_accessor :room_nights
|
3360
|
-
|
3361
2771
|
# The total tax amount associating with the room reservation.
|
3362
2772
|
attr_accessor :total_room_tax_amount
|
3363
|
-
|
3364
2773
|
# The total tax amount
|
3365
2774
|
attr_accessor :total_tax_amount
|
3366
2775
|
|
@@ -3424,7 +2833,6 @@ module Stripe
|
|
3424
2833
|
class BillingInterval < Stripe::RequestParams
|
3425
2834
|
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
3426
2835
|
attr_accessor :count
|
3427
|
-
|
3428
2836
|
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
3429
2837
|
attr_accessor :interval
|
3430
2838
|
|
@@ -3435,19 +2843,14 @@ module Stripe
|
|
3435
2843
|
end
|
3436
2844
|
# Affiliate details for this purchase.
|
3437
2845
|
attr_accessor :affiliate
|
3438
|
-
|
3439
2846
|
# Info whether the subscription will be auto renewed upon expiry.
|
3440
2847
|
attr_accessor :auto_renewal
|
3441
|
-
|
3442
2848
|
# Subscription billing details for this purchase.
|
3443
2849
|
attr_accessor :billing_interval
|
3444
|
-
|
3445
2850
|
# Subscription end time. Measured in seconds since the Unix epoch.
|
3446
2851
|
attr_accessor :ends_at
|
3447
|
-
|
3448
2852
|
# Name of the product on subscription. e.g. Apple Music Subscription
|
3449
2853
|
attr_accessor :name
|
3450
|
-
|
3451
2854
|
# Subscription start time. Measured in seconds since the Unix epoch.
|
3452
2855
|
attr_accessor :starts_at
|
3453
2856
|
|
@@ -3469,16 +2872,12 @@ module Stripe
|
|
3469
2872
|
end
|
3470
2873
|
# Car rental details for this PaymentIntent.
|
3471
2874
|
attr_accessor :car_rental
|
3472
|
-
|
3473
2875
|
# Event details for this PaymentIntent
|
3474
2876
|
attr_accessor :event_details
|
3475
|
-
|
3476
2877
|
# Flight reservation details for this PaymentIntent
|
3477
2878
|
attr_accessor :flight
|
3478
|
-
|
3479
2879
|
# Lodging reservation details for this PaymentIntent
|
3480
2880
|
attr_accessor :lodging
|
3481
|
-
|
3482
2881
|
# Subscription details for this PaymentIntent
|
3483
2882
|
attr_accessor :subscription
|
3484
2883
|
|
@@ -3507,33 +2906,24 @@ module Stripe
|
|
3507
2906
|
end
|
3508
2907
|
# The amount to capture, which must be less than or equal to the original amount. Any additional amount will be automatically refunded.
|
3509
2908
|
attr_accessor :amount
|
3510
|
-
|
3511
2909
|
# An application fee to add on to this charge.
|
3512
2910
|
attr_accessor :application_fee
|
3513
|
-
|
3514
2911
|
# An application fee amount to add on to this charge, which must be less than or equal to the original amount.
|
3515
2912
|
attr_accessor :application_fee_amount
|
3516
|
-
|
3517
2913
|
# Specifies which fields in the response should be expanded.
|
3518
2914
|
attr_accessor :expand
|
3519
|
-
|
3520
2915
|
# Provides industry-specific information about the charge.
|
3521
2916
|
attr_accessor :payment_details
|
3522
|
-
|
3523
2917
|
# 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.
|
3524
2918
|
attr_accessor :receipt_email
|
3525
|
-
|
3526
2919
|
# 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).
|
3527
2920
|
#
|
3528
2921
|
# 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.
|
3529
2922
|
attr_accessor :statement_descriptor
|
3530
|
-
|
3531
2923
|
# 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.
|
3532
2924
|
attr_accessor :statement_descriptor_suffix
|
3533
|
-
|
3534
2925
|
# 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.
|
3535
2926
|
attr_accessor :transfer_data
|
3536
|
-
|
3537
2927
|
# 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.
|
3538
2928
|
attr_accessor :transfer_group
|
3539
2929
|
|
@@ -3563,147 +2953,100 @@ module Stripe
|
|
3563
2953
|
end
|
3564
2954
|
# 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).
|
3565
2955
|
attr_reader :amount
|
3566
|
-
|
3567
2956
|
# Amount in cents (or local equivalent) captured (can be less than the amount attribute on the charge if a partial capture was made).
|
3568
2957
|
attr_reader :amount_captured
|
3569
|
-
|
3570
2958
|
# Amount in cents (or local equivalent) refunded (can be less than the amount attribute on the charge if a partial refund was issued).
|
3571
2959
|
attr_reader :amount_refunded
|
3572
|
-
|
3573
2960
|
# ID of the Connect application that created the charge.
|
3574
2961
|
attr_reader :application
|
3575
|
-
|
3576
2962
|
# The application fee (if any) for the charge. [See the Connect documentation](https://stripe.com/docs/connect/direct-charges#collect-fees) for details.
|
3577
2963
|
attr_reader :application_fee
|
3578
|
-
|
3579
2964
|
# 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.
|
3580
2965
|
attr_reader :application_fee_amount
|
3581
|
-
|
3582
2966
|
# Authorization code on the charge.
|
3583
2967
|
attr_reader :authorization_code
|
3584
|
-
|
3585
2968
|
# ID of the balance transaction that describes the impact of this charge on your account balance (not including refunds or disputes).
|
3586
2969
|
attr_reader :balance_transaction
|
3587
|
-
|
3588
2970
|
# Attribute for field billing_details
|
3589
2971
|
attr_reader :billing_details
|
3590
|
-
|
3591
2972
|
# 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.
|
3592
2973
|
attr_reader :calculated_statement_descriptor
|
3593
|
-
|
3594
2974
|
# If the charge was created without capturing, this Boolean represents whether it is still uncaptured or has since been captured.
|
3595
2975
|
attr_reader :captured
|
3596
|
-
|
3597
2976
|
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
3598
2977
|
attr_reader :created
|
3599
|
-
|
3600
2978
|
# 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).
|
3601
2979
|
attr_reader :currency
|
3602
|
-
|
3603
2980
|
# ID of the customer this charge is for if one exists.
|
3604
2981
|
attr_reader :customer
|
3605
|
-
|
3606
2982
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
3607
2983
|
attr_reader :description
|
3608
|
-
|
3609
2984
|
# Whether the charge has been disputed.
|
3610
2985
|
attr_reader :disputed
|
3611
|
-
|
3612
2986
|
# ID of the balance transaction that describes the reversal of the balance on your account due to payment failure.
|
3613
2987
|
attr_reader :failure_balance_transaction
|
3614
|
-
|
3615
2988
|
# Error code explaining reason for charge failure if available (see [the errors section](https://stripe.com/docs/error-codes) for a list of codes).
|
3616
2989
|
attr_reader :failure_code
|
3617
|
-
|
3618
2990
|
# Message to user further explaining reason for charge failure if available.
|
3619
2991
|
attr_reader :failure_message
|
3620
|
-
|
3621
2992
|
# Information on fraud assessments for the charge.
|
3622
2993
|
attr_reader :fraud_details
|
3623
|
-
|
3624
2994
|
# Unique identifier for the object.
|
3625
2995
|
attr_reader :id
|
3626
|
-
|
3627
2996
|
# ID of the invoice this charge is for if one exists.
|
3628
2997
|
attr_reader :invoice
|
3629
|
-
|
3630
2998
|
# Attribute for field level3
|
3631
2999
|
attr_reader :level3
|
3632
|
-
|
3633
3000
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
3634
3001
|
attr_reader :livemode
|
3635
|
-
|
3636
3002
|
# 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.
|
3637
3003
|
attr_reader :metadata
|
3638
|
-
|
3639
3004
|
# String representing the object's type. Objects of the same type share the same value.
|
3640
3005
|
attr_reader :object
|
3641
|
-
|
3642
3006
|
# 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.
|
3643
3007
|
attr_reader :on_behalf_of
|
3644
|
-
|
3645
3008
|
# Details about whether the payment was accepted, and why. See [understanding declines](https://stripe.com/docs/declines) for details.
|
3646
3009
|
attr_reader :outcome
|
3647
|
-
|
3648
3010
|
# `true` if the charge succeeded, or was successfully authorized for later capture.
|
3649
3011
|
attr_reader :paid
|
3650
|
-
|
3651
3012
|
# ID of the PaymentIntent associated with this charge, if one exists.
|
3652
3013
|
attr_reader :payment_intent
|
3653
|
-
|
3654
3014
|
# ID of the payment method used in this charge.
|
3655
3015
|
attr_reader :payment_method
|
3656
|
-
|
3657
3016
|
# Details about the payment method at the time of the transaction.
|
3658
3017
|
attr_reader :payment_method_details
|
3659
|
-
|
3660
3018
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
3661
3019
|
attr_reader :radar_options
|
3662
|
-
|
3663
3020
|
# This is the email address that the receipt for this charge was sent to.
|
3664
3021
|
attr_reader :receipt_email
|
3665
|
-
|
3666
3022
|
# 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.
|
3667
3023
|
attr_reader :receipt_number
|
3668
|
-
|
3669
3024
|
# 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.
|
3670
3025
|
attr_reader :receipt_url
|
3671
|
-
|
3672
3026
|
# Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.
|
3673
3027
|
attr_reader :refunded
|
3674
|
-
|
3675
3028
|
# A list of refunds that have been applied to the charge.
|
3676
3029
|
attr_reader :refunds
|
3677
|
-
|
3678
3030
|
# ID of the review associated with this charge if one exists.
|
3679
3031
|
attr_reader :review
|
3680
|
-
|
3681
3032
|
# Shipping information for the charge.
|
3682
3033
|
attr_reader :shipping
|
3683
|
-
|
3684
3034
|
# 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.
|
3685
3035
|
attr_reader :source
|
3686
|
-
|
3687
3036
|
# 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.
|
3688
3037
|
attr_reader :source_transfer
|
3689
|
-
|
3690
3038
|
# 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).
|
3691
3039
|
#
|
3692
3040
|
# 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.
|
3693
3041
|
attr_reader :statement_descriptor
|
3694
|
-
|
3695
3042
|
# 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.
|
3696
3043
|
attr_reader :statement_descriptor_suffix
|
3697
|
-
|
3698
3044
|
# The status of the payment is either `succeeded`, `pending`, or `failed`.
|
3699
3045
|
attr_reader :status
|
3700
|
-
|
3701
3046
|
# ID of the transfer to the `destination` account (only applicable if the charge was created using the `destination` parameter).
|
3702
3047
|
attr_reader :transfer
|
3703
|
-
|
3704
3048
|
# 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.
|
3705
3049
|
attr_reader :transfer_data
|
3706
|
-
|
3707
3050
|
# 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.
|
3708
3051
|
attr_reader :transfer_group
|
3709
3052
|
|