stripe 15.4.0 → 15.5.0.pre.beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/API_VERSION +1 -1
- data/CHANGELOG.md +1639 -662
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +32 -0
- data/lib/stripe/api_version.rb +1 -2
- data/lib/stripe/errors.rb +60 -0
- data/lib/stripe/event_types.rb +102 -0
- data/lib/stripe/events/v2_core_account_closed_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_created_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +21 -0
- data/lib/stripe/events/v2_core_account_link_returned_event.rb +13 -0
- data/lib/stripe/events/v2_core_account_person_created_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +23 -0
- data/lib/stripe/events/v2_core_account_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +23 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +23 -0
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +21 -0
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +22 -0
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +21 -0
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +21 -0
- data/lib/stripe/object_types.rb +53 -0
- data/lib/stripe/resources/account.rb +653 -1
- data/lib/stripe/resources/account_notice.rb +123 -0
- data/lib/stripe/resources/account_session.rb +256 -1
- data/lib/stripe/resources/balance_settings.rb +105 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -0
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +4 -0
- data/lib/stripe/resources/billing/credit_grant.rb +10 -0
- data/lib/stripe/resources/billing/meter_usage.rb +23 -0
- data/lib/stripe/resources/billing/meter_usage_row.rb +28 -0
- data/lib/stripe/resources/billing_portal/session.rb +6 -0
- data/lib/stripe/resources/capital/financing_offer.rb +179 -0
- data/lib/stripe/resources/capital/financing_summary.rb +55 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +114 -0
- data/lib/stripe/resources/card.rb +2 -0
- data/lib/stripe/resources/cash_balance.rb +2 -0
- data/lib/stripe/resources/charge.rb +1538 -0
- data/lib/stripe/resources/checkout/session.rb +399 -3
- data/lib/stripe/resources/confirmation_token.rb +170 -0
- data/lib/stripe/resources/coupon.rb +30 -1
- data/lib/stripe/resources/credit_note.rb +6 -0
- data/lib/stripe/resources/credit_note_line_item.rb +9 -0
- data/lib/stripe/resources/customer.rb +2 -0
- data/lib/stripe/resources/customer_balance_transaction.rb +2 -0
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +2 -0
- data/lib/stripe/resources/customer_session.rb +6 -1
- data/lib/stripe/resources/discount.rb +2 -0
- data/lib/stripe/resources/dispute.rb +11 -0
- data/lib/stripe/resources/event.rb +31 -0
- data/lib/stripe/resources/financial_connections/account.rb +22 -1
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +27 -0
- data/lib/stripe/resources/financial_connections/institution.rb +92 -0
- data/lib/stripe/resources/financial_connections/session.rb +62 -2
- data/lib/stripe/resources/fx_quote.rb +186 -0
- data/lib/stripe/resources/identity/verification_session.rb +10 -0
- data/lib/stripe/resources/invoice.rb +1140 -16
- data/lib/stripe/resources/invoice_item.rb +78 -2
- data/lib/stripe/resources/invoice_line_item.rb +55 -1
- data/lib/stripe/resources/invoice_payment.rb +6 -1
- data/lib/stripe/resources/issuing/cardholder.rb +2 -1
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +602 -0
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +82 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +86 -0
- data/lib/stripe/resources/issuing/settlement.rb +53 -0
- data/lib/stripe/resources/issuing/transaction.rb +6 -0
- data/lib/stripe/resources/line_item.rb +37 -0
- data/lib/stripe/resources/mandate.rb +24 -0
- data/lib/stripe/resources/margin.rb +115 -0
- data/lib/stripe/resources/order.rb +2958 -0
- data/lib/stripe/resources/payment_attempt_record.rb +1101 -0
- data/lib/stripe/resources/payment_intent.rb +9469 -3712
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +72 -0
- data/lib/stripe/resources/payment_method.rb +192 -1
- data/lib/stripe/resources/payment_method_configuration.rb +295 -0
- data/lib/stripe/resources/payment_record.rb +1630 -0
- data/lib/stripe/resources/payout.rb +6 -0
- data/lib/stripe/resources/price.rb +30 -0
- data/lib/stripe/resources/privacy/redaction_job.rb +298 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +33 -0
- data/lib/stripe/resources/promotion_code.rb +10 -0
- data/lib/stripe/resources/quote.rb +2038 -7
- data/lib/stripe/resources/quote_line.rb +274 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +680 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +371 -0
- data/lib/stripe/resources/refund.rb +9 -0
- data/lib/stripe/resources/setup_attempt.rb +21 -0
- data/lib/stripe/resources/setup_intent.rb +578 -9
- data/lib/stripe/resources/source.rb +29 -0
- data/lib/stripe/resources/subscription.rb +365 -9
- data/lib/stripe/resources/subscription_item.rb +84 -3
- data/lib/stripe/resources/subscription_schedule.rb +1007 -10
- data/lib/stripe/resources/tax/association.rb +66 -0
- data/lib/stripe/resources/tax/form.rb +211 -0
- data/lib/stripe/resources/tax_id.rb +12 -2
- data/lib/stripe/resources/terminal/onboarding_link.rb +84 -0
- data/lib/stripe/resources/terminal/reader.rb +8 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +31 -0
- data/lib/stripe/resources/transfer.rb +6 -0
- data/lib/stripe/resources/treasury/financial_account.rb +22 -3
- data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +37 -0
- data/lib/stripe/resources/treasury/received_credit.rb +38 -1
- data/lib/stripe/resources/treasury/received_debit.rb +40 -1
- data/lib/stripe/resources/v2/core/account.rb +1930 -0
- data/lib/stripe/resources/v2/core/account_link.rb +72 -0
- data/lib/stripe/resources/v2/core/person.rb +276 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +74 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +39 -0
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +20 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +22 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +51 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +77 -0
- data/lib/stripe/resources/v2/money_management/financial_address.rb +68 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +94 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +129 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +82 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +45 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +117 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +77 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +49 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +122 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +84 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +78 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +68 -0
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +89 -0
- data/lib/stripe/resources.rb +109 -0
- data/lib/stripe/services/account_notice_service.rb +101 -0
- data/lib/stripe/services/account_service.rb +562 -1
- data/lib/stripe/services/account_session_service.rb +226 -1
- data/lib/stripe/services/balance_settings_service.rb +96 -0
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +4 -1
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +4 -0
- data/lib/stripe/services/billing/credit_grant_service.rb +8 -0
- data/lib/stripe/services/billing/meter_usage_service.rb +76 -0
- data/lib/stripe/services/billing_portal/session_service.rb +4 -0
- data/lib/stripe/services/billing_service.rb +2 -1
- data/lib/stripe/services/capital/financing_offer_service.rb +112 -0
- data/lib/stripe/services/capital/financing_summary_service.rb +28 -0
- data/lib/stripe/services/capital/financing_transaction_service.rb +79 -0
- data/lib/stripe/services/capital_service.rb +15 -0
- data/lib/stripe/services/charge_service.rb +1418 -0
- data/lib/stripe/services/checkout/session_service.rb +316 -3
- data/lib/stripe/services/coupon_service.rb +17 -1
- data/lib/stripe/services/credit_note_service.rb +4 -0
- data/lib/stripe/services/customer_session_service.rb +4 -1
- data/{rbi/stripe/services/account_external_account_service.rbi → lib/stripe/services/external_account_service.rb} +135 -122
- data/{rbi/stripe/services/tax/transaction_line_item_service.rbi → lib/stripe/services/financial_connections/account_inferred_balance_service.rb} +21 -17
- data/lib/stripe/services/financial_connections/account_service.rb +7 -2
- data/{rbi/stripe/services/climate/supplier_service.rbi → lib/stripe/services/financial_connections/institution_service.rb} +36 -25
- data/lib/stripe/services/financial_connections/session_service.rb +34 -2
- data/lib/stripe/services/financial_connections_service.rb +2 -1
- data/lib/stripe/services/fx_quote_service.rb +123 -0
- data/lib/stripe/services/identity/verification_session_service.rb +8 -0
- data/lib/stripe/services/invoice_item_service.rb +74 -2
- data/lib/stripe/services/invoice_line_item_service.rb +33 -1
- data/lib/stripe/services/invoice_payment_service.rb +4 -1
- data/lib/stripe/services/invoice_service.rb +1074 -16
- data/lib/stripe/services/issuing/cardholder_service.rb +2 -1
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +504 -0
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +66 -0
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +83 -0
- data/lib/stripe/services/issuing/transaction_service.rb +4 -0
- data/lib/stripe/services/issuing_service.rb +5 -1
- data/lib/stripe/services/margin_service.rb +119 -0
- data/{rbi/stripe/services/source_transaction_service.rbi → lib/stripe/services/order_line_item_service.rb} +20 -16
- data/lib/stripe/services/order_service.rb +2388 -0
- data/lib/stripe/services/payment_attempt_record_service.rb +49 -0
- data/{rbi/stripe/services/quote_line_item_service.rbi → lib/stripe/services/payment_intent_amount_details_line_item_service.rb} +20 -16
- data/lib/stripe/services/payment_intent_service.rb +5724 -435
- data/lib/stripe/services/payment_method_configuration_service.rb +210 -0
- data/lib/stripe/services/payment_method_service.rb +120 -1
- data/lib/stripe/services/payment_record_service.rb +542 -0
- data/lib/stripe/services/payout_service.rb +4 -0
- data/lib/stripe/services/price_service.rb +19 -0
- data/lib/stripe/services/privacy/redaction_job_service.rb +240 -0
- data/{rbi/stripe/services/tax/calculation_line_item_service.rbi → lib/stripe/services/privacy/redaction_job_validation_error_service.rb} +21 -17
- data/lib/stripe/services/privacy_service.rb +13 -0
- data/lib/stripe/services/promotion_code_service.rb +8 -0
- data/{rbi/stripe/services/credit_note_line_item_service.rbi → lib/stripe/services/quote_line_service.rb} +20 -16
- data/{rbi/stripe/services/payment_link_line_item_service.rbi → lib/stripe/services/quote_preview_invoice_service.rb} +20 -16
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +35 -0
- data/lib/stripe/services/quote_service.rb +1723 -8
- data/lib/stripe/services/setup_intent_service.rb +538 -9
- data/lib/stripe/services/subscription_item_service.rb +75 -3
- data/lib/stripe/services/subscription_schedule_service.rb +911 -10
- data/lib/stripe/services/subscription_service.rb +309 -9
- data/lib/stripe/services/tax/association_service.rb +31 -0
- data/lib/stripe/services/tax/form_service.rb +100 -0
- data/lib/stripe/services/tax_id_service.rb +8 -2
- data/lib/stripe/services/tax_service.rb +3 -1
- data/lib/stripe/services/terminal/onboarding_link_service.rb +56 -0
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +28 -0
- data/lib/stripe/services/terminal_service.rb +3 -1
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +97 -0
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +25 -1
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +25 -1
- data/lib/stripe/services/transfer_service.rb +4 -0
- data/lib/stripe/services/treasury/financial_account_features_service.rb +4 -1
- data/lib/stripe/services/treasury/financial_account_service.rb +16 -2
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +24 -0
- data/lib/stripe/services/v1_services.rb +11 -1
- data/lib/stripe/services/v2/core/account_link_service.rb +114 -0
- data/lib/stripe/services/v2/core/account_service.rb +4522 -0
- data/lib/stripe/services/v2/core/accounts/person_service.rb +1045 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +130 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +107 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +4 -1
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +74 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +116 -0
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +82 -0
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +125 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +95 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +199 -0
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +235 -0
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +172 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +90 -0
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +70 -0
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +43 -0
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +69 -0
- data/lib/stripe/services/v2/money_management/transaction_service.rb +73 -0
- data/lib/stripe/services/v2/money_management_service.rb +31 -0
- data/lib/stripe/services/v2/payment_service.rb +15 -0
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +152 -0
- data/lib/stripe/services/v2/test_helper_service.rb +15 -0
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +53 -0
- data/lib/stripe/services/v2_services.rb +4 -1
- data/lib/stripe/services.rb +55 -0
- data/lib/stripe/stripe_configuration.rb +3 -1
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +7 -1
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +53 -0
- data/rbi/stripe.rbi +199145 -0
- data/stripe.gemspec +4 -1
- metadata +169 -324
- data/rbi/stripe/resources/account.rbi +0 -4995
- data/rbi/stripe/resources/account_link.rbi +0 -76
- data/rbi/stripe/resources/account_session.rbi +0 -1074
- data/rbi/stripe/resources/apple_pay_domain.rbi +0 -88
- data/rbi/stripe/resources/application.rbi +0 -20
- data/rbi/stripe/resources/application_fee.rbi +0 -118
- data/rbi/stripe/resources/application_fee_refund.rbi +0 -37
- data/rbi/stripe/resources/apps/secret.rbi +0 -195
- data/rbi/stripe/resources/balance.rbi +0 -235
- data/rbi/stripe/resources/balance_transaction.rbi +0 -147
- data/rbi/stripe/resources/bank_account.rbi +0 -127
- data/rbi/stripe/resources/billing/alert.rbi +0 -201
- data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -28
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -63
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -147
- data/rbi/stripe/resources/billing/credit_grant.rbi +0 -291
- data/rbi/stripe/resources/billing/meter.rbi +0 -226
- data/rbi/stripe/resources/billing/meter_event.rbi +0 -64
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -64
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -35
- data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -703
- data/rbi/stripe/resources/billing_portal/session.rbi +0 -345
- data/rbi/stripe/resources/capability.rbi +0 -125
- data/rbi/stripe/resources/card.rbi +0 -125
- data/rbi/stripe/resources/cash_balance.rbi +0 -32
- data/rbi/stripe/resources/charge.rbi +0 -2089
- data/rbi/stripe/resources/checkout/session.rbi +0 -4095
- data/rbi/stripe/resources/climate/order.rbi +0 -245
- data/rbi/stripe/resources/climate/product.rbi +0 -75
- data/rbi/stripe/resources/climate/supplier.rbi +0 -72
- data/rbi/stripe/resources/confirmation_token.rbi +0 -1818
- data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -26
- data/rbi/stripe/resources/country_spec.rbi +0 -85
- data/rbi/stripe/resources/coupon.rbi +0 -250
- data/rbi/stripe/resources/credit_note.rbi +0 -752
- data/rbi/stripe/resources/credit_note_line_item.rbi +0 -101
- data/rbi/stripe/resources/customer.rbi +0 -1005
- data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -56
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -151
- data/rbi/stripe/resources/customer_session.rbi +0 -200
- data/rbi/stripe/resources/discount.rbi +0 -53
- data/rbi/stripe/resources/dispute.rbi +0 -761
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -58
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -23
- data/rbi/stripe/resources/entitlements/feature.rbi +0 -117
- data/rbi/stripe/resources/ephemeral_key.rbi +0 -44
- data/rbi/stripe/resources/event.rbi +0 -137
- data/rbi/stripe/resources/exchange_rate.rbi +0 -66
- data/rbi/stripe/resources/file.rbi +0 -143
- data/rbi/stripe/resources/file_link.rbi +0 -141
- data/rbi/stripe/resources/financial_connections/account.rbi +0 -339
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -35
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -23
- data/rbi/stripe/resources/financial_connections/session.rbi +0 -123
- data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -124
- data/rbi/stripe/resources/forwarding/request.rbi +0 -216
- data/rbi/stripe/resources/funding_instructions.rbi +0 -437
- data/rbi/stripe/resources/identity/verification_report.rbi +0 -360
- data/rbi/stripe/resources/identity/verification_session.rbi +0 -564
- data/rbi/stripe/resources/invoice.rbi +0 -3858
- data/rbi/stripe/resources/invoice_item.rbi +0 -470
- data/rbi/stripe/resources/invoice_line_item.rbi +0 -432
- data/rbi/stripe/resources/invoice_payment.rbi +0 -121
- data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -104
- data/rbi/stripe/resources/issuing/authorization.rbi +0 -1283
- data/rbi/stripe/resources/issuing/card.rbi +0 -741
- data/rbi/stripe/resources/issuing/cardholder.rbi +0 -744
- data/rbi/stripe/resources/issuing/dispute.rbi +0 -913
- data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -338
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -79
- data/rbi/stripe/resources/issuing/token.rbi +0 -226
- data/rbi/stripe/resources/issuing/transaction.rbi +0 -1061
- data/rbi/stripe/resources/line_item.rbi +0 -72
- data/rbi/stripe/resources/login_link.rbi +0 -19
- data/rbi/stripe/resources/mandate.rbi +0 -191
- data/rbi/stripe/resources/payment_intent.rbi +0 -9997
- data/rbi/stripe/resources/payment_link.rbi +0 -1893
- data/rbi/stripe/resources/payment_method.rbi +0 -1770
- data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3550
- data/rbi/stripe/resources/payment_method_domain.rbi +0 -228
- data/rbi/stripe/resources/payout.rbi +0 -300
- data/rbi/stripe/resources/person.rbi +0 -401
- data/rbi/stripe/resources/plan.rbi +0 -371
- data/rbi/stripe/resources/price.rbi +0 -694
- data/rbi/stripe/resources/product.rbi +0 -555
- data/rbi/stripe/resources/product_feature.rbi +0 -26
- data/rbi/stripe/resources/promotion_code.rbi +0 -261
- data/rbi/stripe/resources/quote.rbi +0 -1145
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -98
- data/rbi/stripe/resources/radar/value_list.rbi +0 -168
- data/rbi/stripe/resources/radar/value_list_item.rbi +0 -129
- data/rbi/stripe/resources/refund.rbi +0 -523
- data/rbi/stripe/resources/reporting/report_run.rbi +0 -191
- data/rbi/stripe/resources/reporting/report_type.rbi +0 -57
- data/rbi/stripe/resources/reserve_transaction.rbi +0 -23
- data/rbi/stripe/resources/reversal.rbi +0 -51
- data/rbi/stripe/resources/review.rbi +0 -154
- data/rbi/stripe/resources/setup_attempt.rbi +0 -477
- data/rbi/stripe/resources/setup_intent.rbi +0 -3978
- data/rbi/stripe/resources/shipping_rate.rbi +0 -305
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -75
- data/rbi/stripe/resources/source.rbi +0 -1496
- data/rbi/stripe/resources/source_mandate_notification.rbi +0 -77
- data/rbi/stripe/resources/source_transaction.rbi +0 -127
- data/rbi/stripe/resources/subscription.rbi +0 -2080
- data/rbi/stripe/resources/subscription_item.rbi +0 -404
- data/rbi/stripe/resources/subscription_schedule.rbi +0 -1673
- data/rbi/stripe/resources/tax/calculation.rbi +0 -478
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -91
- data/rbi/stripe/resources/tax/registration.rbi +0 -3216
- data/rbi/stripe/resources/tax/settings.rbi +0 -141
- data/rbi/stripe/resources/tax/transaction.rbi +0 -351
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -54
- data/rbi/stripe/resources/tax_code.rbi +0 -44
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -23
- data/rbi/stripe/resources/tax_id.rbi +0 -165
- data/rbi/stripe/resources/tax_rate.rbi +0 -239
- data/rbi/stripe/resources/terminal/configuration.rbi +0 -1595
- data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
- data/rbi/stripe/resources/terminal/location.rbi +0 -222
- data/rbi/stripe/resources/terminal/reader.rbi +0 -994
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -132
- data/rbi/stripe/resources/token.rbi +0 -1283
- data/rbi/stripe/resources/topup.rbi +0 -222
- data/rbi/stripe/resources/transfer.rbi +0 -199
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -119
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -131
- data/rbi/stripe/resources/treasury/financial_account.rbi +0 -869
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -260
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -295
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -592
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +0 -431
- data/rbi/stripe/resources/treasury/received_credit.rbi +0 -302
- data/rbi/stripe/resources/treasury/received_debit.rbi +0 -256
- data/rbi/stripe/resources/treasury/transaction.rbi +0 -215
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -192
- data/rbi/stripe/resources/v2/amount.rbi +0 -14
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -37
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -41
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -31
- data/rbi/stripe/resources/v2/event.rbi +0 -48
- data/rbi/stripe/resources/v2/event_destination.rbi +0 -91
- data/rbi/stripe/resources/webhook_endpoint.rbi +0 -168
- data/rbi/stripe/services/account_capability_service.rbi +0 -51
- data/rbi/stripe/services/account_link_service.rbi +0 -60
- data/rbi/stripe/services/account_login_link_service.rbi +0 -22
- data/rbi/stripe/services/account_person_service.rbi +0 -1011
- data/rbi/stripe/services/account_service.rbi +0 -4281
- data/rbi/stripe/services/account_session_service.rbi +0 -685
- data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -76
- data/rbi/stripe/services/application_fee_refund_service.rbi +0 -93
- data/rbi/stripe/services/application_fee_service.rbi +0 -78
- data/rbi/stripe/services/apps/secret_service.rbi +0 -151
- data/rbi/stripe/services/apps_service.rbi +0 -9
- data/rbi/stripe/services/balance_service.rbi +0 -21
- data/rbi/stripe/services/balance_transaction_service.rbi +0 -93
- data/rbi/stripe/services/billing/alert_service.rbi +0 -152
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -68
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -59
- data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -211
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -42
- data/rbi/stripe/services/billing/meter_event_service.rbi +0 -42
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -54
- data/rbi/stripe/services/billing/meter_service.rbi +0 -163
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -555
- data/rbi/stripe/services/billing_portal/session_service.rbi +0 -204
- data/rbi/stripe/services/billing_portal_service.rbi +0 -10
- data/rbi/stripe/services/billing_service.rbi +0 -15
- data/rbi/stripe/services/charge_service.rbi +0 -448
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -33
- data/rbi/stripe/services/checkout/session_service.rbi +0 -2690
- data/rbi/stripe/services/checkout_service.rbi +0 -9
- data/rbi/stripe/services/climate/order_service.rbi +0 -142
- data/rbi/stripe/services/climate/product_service.rbi +0 -46
- data/rbi/stripe/services/climate_service.rbi +0 -11
- data/rbi/stripe/services/confirmation_token_service.rbi +0 -20
- data/rbi/stripe/services/country_spec_service.rbi +0 -44
- data/rbi/stripe/services/coupon_service.rbi +0 -194
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
- data/rbi/stripe/services/credit_note_service.rbi +0 -415
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -92
- data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -45
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -44
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -59
- data/rbi/stripe/services/customer_payment_method_service.rbi +0 -57
- data/rbi/stripe/services/customer_payment_source_service.rbi +0 -232
- data/rbi/stripe/services/customer_service.rbi +0 -647
- data/rbi/stripe/services/customer_session_service.rbi +0 -116
- data/rbi/stripe/services/customer_tax_id_service.rbi +0 -70
- data/rbi/stripe/services/dispute_service.rbi +0 -424
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -55
- data/rbi/stripe/services/entitlements/feature_service.rbi +0 -107
- data/rbi/stripe/services/entitlements_service.rbi +0 -10
- data/rbi/stripe/services/ephemeral_key_service.rbi +0 -53
- data/rbi/stripe/services/event_service.rbi +0 -83
- data/rbi/stripe/services/exchange_rate_service.rbi +0 -44
- data/rbi/stripe/services/file_link_service.rbi +0 -124
- data/rbi/stripe/services/file_service.rbi +0 -116
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -42
- data/rbi/stripe/services/financial_connections/account_service.rbi +0 -133
- data/rbi/stripe/services/financial_connections/session_service.rbi +0 -88
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -92
- data/rbi/stripe/services/financial_connections_service.rbi +0 -11
- data/rbi/stripe/services/forwarding/request_service.rbi +0 -134
- data/rbi/stripe/services/forwarding_service.rbi +0 -9
- data/rbi/stripe/services/identity/verification_report_service.rbi +0 -87
- data/rbi/stripe/services/identity/verification_session_service.rbi +0 -339
- data/rbi/stripe/services/identity_service.rbi +0 -10
- data/rbi/stripe/services/invoice_item_service.rbi +0 -366
- data/rbi/stripe/services/invoice_line_item_service.rbi +0 -259
- data/rbi/stripe/services/invoice_payment_service.rbi +0 -71
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -82
- data/rbi/stripe/services/invoice_service.rbi +0 -3027
- data/rbi/stripe/services/issuing/authorization_service.rbi +0 -146
- data/rbi/stripe/services/issuing/card_service.rbi +0 -495
- data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -587
- data/rbi/stripe/services/issuing/dispute_service.rbi +0 -707
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -243
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -59
- data/rbi/stripe/services/issuing/token_service.rbi +0 -99
- data/rbi/stripe/services/issuing/transaction_service.rbi +0 -105
- data/rbi/stripe/services/issuing_service.rbi +0 -16
- data/rbi/stripe/services/mandate_service.rbi +0 -20
- data/rbi/stripe/services/payment_intent_service.rbi +0 -7994
- data/rbi/stripe/services/payment_link_service.rbi +0 -1441
- data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2487
- data/rbi/stripe/services/payment_method_domain_service.rbi +0 -112
- data/rbi/stripe/services/payment_method_service.rbi +0 -781
- data/rbi/stripe/services/payout_service.rbi +0 -205
- data/rbi/stripe/services/plan_service.rbi +0 -282
- data/rbi/stripe/services/price_service.rbi +0 -546
- data/rbi/stripe/services/product_feature_service.rbi +0 -67
- data/rbi/stripe/services/product_service.rbi +0 -477
- data/rbi/stripe/services/promotion_code_service.rbi +0 -214
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -31
- data/rbi/stripe/services/quote_service.rbi +0 -699
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -85
- data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -109
- data/rbi/stripe/services/radar/value_list_service.rbi +0 -141
- data/rbi/stripe/services/radar_service.rbi +0 -11
- data/rbi/stripe/services/refund_service.rbi +0 -185
- data/rbi/stripe/services/reporting/report_run_service.rbi +0 -135
- data/rbi/stripe/services/reporting/report_type_service.rbi +0 -35
- data/rbi/stripe/services/reporting_service.rbi +0 -10
- data/rbi/stripe/services/review_service.rbi +0 -84
- data/rbi/stripe/services/setup_attempt_service.rbi +0 -65
- data/rbi/stripe/services/setup_intent_service.rbi +0 -3709
- data/rbi/stripe/services/shipping_rate_service.rbi +0 -241
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -46
- data/rbi/stripe/services/sigma_service.rbi +0 -9
- data/rbi/stripe/services/source_service.rbi +0 -663
- data/rbi/stripe/services/subscription_item_service.rbi +0 -350
- data/rbi/stripe/services/subscription_schedule_service.rbi +0 -1333
- data/rbi/stripe/services/subscription_service.rbi +0 -1684
- data/rbi/stripe/services/tax/calculation_service.rbi +0 -234
- data/rbi/stripe/services/tax/registration_service.rbi +0 -2278
- data/rbi/stripe/services/tax/settings_service.rbi +0 -93
- data/rbi/stripe/services/tax/transaction_service.rbi +0 -146
- data/rbi/stripe/services/tax_code_service.rbi +0 -44
- data/rbi/stripe/services/tax_id_service.rbi +0 -110
- data/rbi/stripe/services/tax_rate_service.rbi +0 -185
- data/rbi/stripe/services/tax_service.rbi +0 -12
- data/rbi/stripe/services/terminal/configuration_service.rbi +0 -1286
- data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
- data/rbi/stripe/services/terminal/location_service.rbi +0 -182
- data/rbi/stripe/services/terminal/reader_service.rbi +0 -540
- data/rbi/stripe/services/terminal_service.rbi +0 -12
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -746
- data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -848
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -69
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -711
- data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
- data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -93
- data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -90
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -64
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -125
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -125
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -87
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -87
- data/rbi/stripe/services/test_helpers/treasury_service.rbi +0 -15
- data/rbi/stripe/services/test_helpers_service.rbi +0 -15
- data/rbi/stripe/services/token_service.rbi +0 -1257
- data/rbi/stripe/services/topup_service.rbi +0 -176
- data/rbi/stripe/services/transfer_reversal_service.rbi +0 -101
- data/rbi/stripe/services/transfer_service.rbi +0 -152
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -84
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -88
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -198
- data/rbi/stripe/services/treasury/financial_account_service.rbi +0 -566
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -117
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -304
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +0 -157
- data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -72
- data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -59
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -111
- data/rbi/stripe/services/treasury/transaction_service.rbi +0 -122
- data/rbi/stripe/services/treasury_service.rbi +0 -18
- data/rbi/stripe/services/v1_services.rbi +0 -77
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -39
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -42
- data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +0 -18
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -55
- data/rbi/stripe/services/v2/billing_service.rbi +0 -14
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -192
- data/rbi/stripe/services/v2/core/event_service.rbi +0 -36
- data/rbi/stripe/services/v2/core_service.rbi +0 -12
- data/rbi/stripe/services/v2_services.rbi +0 -10
- data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -129
@@ -188,6 +188,8 @@ module Stripe
|
|
188
188
|
class Card < Stripe::StripeObject
|
189
189
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
190
190
|
attr_reader :brand
|
191
|
+
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
192
|
+
attr_reader :brand_product
|
191
193
|
# 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.
|
192
194
|
attr_reader :country
|
193
195
|
# Two-digit number representing the card's expiration month.
|
@@ -273,6 +275,11 @@ module Stripe
|
|
273
275
|
attr_reader :cvc_check
|
274
276
|
end
|
275
277
|
|
278
|
+
class DecrementalAuthorization < Stripe::StripeObject
|
279
|
+
# Indicates whether or not the decremental authorization feature is supported.
|
280
|
+
attr_reader :status
|
281
|
+
end
|
282
|
+
|
276
283
|
class ExtendedAuthorization < Stripe::StripeObject
|
277
284
|
# Indicates whether or not the capture window is extended beyond the standard authorization.
|
278
285
|
attr_reader :status
|
@@ -314,6 +321,11 @@ module Stripe
|
|
314
321
|
attr_reader :status
|
315
322
|
end
|
316
323
|
|
324
|
+
class PartialAuthorization < Stripe::StripeObject
|
325
|
+
# Indicates whether the transaction requested for partial authorization feature and the authorization outcome.
|
326
|
+
attr_reader :status
|
327
|
+
end
|
328
|
+
|
317
329
|
class ThreeDSecure < Stripe::StripeObject
|
318
330
|
# For authenticated transactions: how the customer was authenticated by
|
319
331
|
# the issuing bank.
|
@@ -446,6 +458,8 @@ module Stripe
|
|
446
458
|
end
|
447
459
|
# The authorized amount.
|
448
460
|
attr_reader :amount_authorized
|
461
|
+
# The latest amount intended to be authorized by this charge.
|
462
|
+
attr_reader :amount_requested
|
449
463
|
# Authorization code on the charge.
|
450
464
|
attr_reader :authorization_code
|
451
465
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
@@ -456,6 +470,8 @@ module Stripe
|
|
456
470
|
attr_reader :checks
|
457
471
|
# 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.
|
458
472
|
attr_reader :country
|
473
|
+
# Attribute for field decremental_authorization
|
474
|
+
attr_reader :decremental_authorization
|
459
475
|
# 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.)
|
460
476
|
attr_reader :description
|
461
477
|
# Two-digit number representing the card's expiration month.
|
@@ -496,6 +512,8 @@ module Stripe
|
|
496
512
|
attr_reader :network_transaction_id
|
497
513
|
# Attribute for field overcapture
|
498
514
|
attr_reader :overcapture
|
515
|
+
# Attribute for field partial_authorization
|
516
|
+
attr_reader :partial_authorization
|
499
517
|
# Status of a card based on the card issuer.
|
500
518
|
attr_reader :regulated_status
|
501
519
|
# Populated if this transaction used 3D Secure authentication.
|
@@ -644,11 +662,26 @@ module Stripe
|
|
644
662
|
attr_reader :verified_name
|
645
663
|
end
|
646
664
|
|
665
|
+
class Gopay < Stripe::StripeObject; end
|
666
|
+
|
647
667
|
class Grabpay < Stripe::StripeObject
|
648
668
|
# Unique transaction id generated by GrabPay
|
649
669
|
attr_reader :transaction_id
|
650
670
|
end
|
651
671
|
|
672
|
+
class IdBankTransfer < Stripe::StripeObject
|
673
|
+
# Account number of the bank account to transfer funds to.
|
674
|
+
attr_reader :account_number
|
675
|
+
# Bank where the account is located.
|
676
|
+
attr_reader :bank
|
677
|
+
# Local bank code of the bank.
|
678
|
+
attr_reader :bank_code
|
679
|
+
# Name of the bank associated with the bank account.
|
680
|
+
attr_reader :bank_name
|
681
|
+
# Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
682
|
+
attr_reader :display_name
|
683
|
+
end
|
684
|
+
|
652
685
|
class Ideal < Stripe::StripeObject
|
653
686
|
# The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
654
687
|
attr_reader :bank
|
@@ -774,6 +807,8 @@ module Stripe
|
|
774
807
|
attr_reader :country
|
775
808
|
end
|
776
809
|
|
810
|
+
class MbWay < Stripe::StripeObject; end
|
811
|
+
|
777
812
|
class Mobilepay < Stripe::StripeObject
|
778
813
|
class Card < Stripe::StripeObject
|
779
814
|
# Brand of the card used in the transaction
|
@@ -853,6 +888,36 @@ module Stripe
|
|
853
888
|
# Indicates whether the transaction is eligible for PayPal's seller protection.
|
854
889
|
attr_reader :status
|
855
890
|
end
|
891
|
+
|
892
|
+
class Shipping < Stripe::StripeObject
|
893
|
+
# City, district, suburb, town, or village.
|
894
|
+
attr_reader :city
|
895
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
896
|
+
attr_reader :country
|
897
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
898
|
+
attr_reader :line1
|
899
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
900
|
+
attr_reader :line2
|
901
|
+
# ZIP or postal code.
|
902
|
+
attr_reader :postal_code
|
903
|
+
# State, county, province, or region.
|
904
|
+
attr_reader :state
|
905
|
+
end
|
906
|
+
|
907
|
+
class VerifiedAddress < Stripe::StripeObject
|
908
|
+
# City, district, suburb, town, or village.
|
909
|
+
attr_reader :city
|
910
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
911
|
+
attr_reader :country
|
912
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
913
|
+
attr_reader :line1
|
914
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
915
|
+
attr_reader :line2
|
916
|
+
# ZIP or postal code.
|
917
|
+
attr_reader :postal_code
|
918
|
+
# State, county, province, or region.
|
919
|
+
attr_reader :state
|
920
|
+
end
|
856
921
|
# 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.
|
857
922
|
attr_reader :country
|
858
923
|
# Owner's email. Values are provided by PayPal directly
|
@@ -865,8 +930,33 @@ module Stripe
|
|
865
930
|
attr_reader :payer_name
|
866
931
|
# The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
|
867
932
|
attr_reader :seller_protection
|
933
|
+
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
934
|
+
# execution. This shipping address will not be updated if the merchant updates the shipping
|
935
|
+
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
936
|
+
attr_reader :shipping
|
868
937
|
# A unique ID generated by PayPal for this transaction.
|
869
938
|
attr_reader :transaction_id
|
939
|
+
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
940
|
+
# execution. This shipping address will not be updated if the merchant updates the shipping
|
941
|
+
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
942
|
+
attr_reader :verified_address
|
943
|
+
# Owner's verified email. Values are verified or provided by PayPal directly
|
944
|
+
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
945
|
+
attr_reader :verified_email
|
946
|
+
# Owner's verified full name. Values are verified or provided by PayPal directly
|
947
|
+
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
948
|
+
attr_reader :verified_name
|
949
|
+
end
|
950
|
+
|
951
|
+
class Payto < Stripe::StripeObject
|
952
|
+
# Bank-State-Branch number of the bank account.
|
953
|
+
attr_reader :bsb_number
|
954
|
+
# Last four digits of the bank account number.
|
955
|
+
attr_reader :last4
|
956
|
+
# ID of the mandate used to make this payment.
|
957
|
+
attr_reader :mandate
|
958
|
+
# The PayID alias for the bank account.
|
959
|
+
attr_reader :pay_id
|
870
960
|
end
|
871
961
|
|
872
962
|
class Pix < Stripe::StripeObject
|
@@ -879,11 +969,16 @@ module Stripe
|
|
879
969
|
attr_reader :reference
|
880
970
|
end
|
881
971
|
|
972
|
+
class Qris < Stripe::StripeObject; end
|
973
|
+
class Rechnung < Stripe::StripeObject; end
|
974
|
+
|
882
975
|
class RevolutPay < Stripe::StripeObject
|
883
976
|
class Funding < Stripe::StripeObject
|
884
977
|
class Card < Stripe::StripeObject
|
885
978
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
886
979
|
attr_reader :brand
|
980
|
+
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
981
|
+
attr_reader :brand_product
|
887
982
|
# 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.
|
888
983
|
attr_reader :country
|
889
984
|
# Two-digit number representing the card's expiration month.
|
@@ -935,6 +1030,8 @@ module Stripe
|
|
935
1030
|
attr_reader :mandate
|
936
1031
|
end
|
937
1032
|
|
1033
|
+
class Shopeepay < Stripe::StripeObject; end
|
1034
|
+
|
938
1035
|
class Sofort < Stripe::StripeObject
|
939
1036
|
# Bank code of bank associated with the bank account.
|
940
1037
|
attr_reader :bank_code
|
@@ -960,6 +1057,13 @@ module Stripe
|
|
960
1057
|
|
961
1058
|
class StripeAccount < Stripe::StripeObject; end
|
962
1059
|
|
1060
|
+
class StripeBalance < Stripe::StripeObject
|
1061
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
1062
|
+
attr_reader :account
|
1063
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
1064
|
+
attr_reader :source_type
|
1065
|
+
end
|
1066
|
+
|
963
1067
|
class Swish < Stripe::StripeObject
|
964
1068
|
# 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
|
965
1069
|
attr_reader :fingerprint
|
@@ -1048,8 +1152,12 @@ module Stripe
|
|
1048
1152
|
attr_reader :fpx
|
1049
1153
|
# Attribute for field giropay
|
1050
1154
|
attr_reader :giropay
|
1155
|
+
# Attribute for field gopay
|
1156
|
+
attr_reader :gopay
|
1051
1157
|
# Attribute for field grabpay
|
1052
1158
|
attr_reader :grabpay
|
1159
|
+
# Attribute for field id_bank_transfer
|
1160
|
+
attr_reader :id_bank_transfer
|
1053
1161
|
# Attribute for field ideal
|
1054
1162
|
attr_reader :ideal
|
1055
1163
|
# Attribute for field interac_present
|
@@ -1064,6 +1172,8 @@ module Stripe
|
|
1064
1172
|
attr_reader :kr_card
|
1065
1173
|
# Attribute for field link
|
1066
1174
|
attr_reader :link
|
1175
|
+
# Attribute for field mb_way
|
1176
|
+
attr_reader :mb_way
|
1067
1177
|
# Attribute for field mobilepay
|
1068
1178
|
attr_reader :mobilepay
|
1069
1179
|
# Attribute for field multibanco
|
@@ -1084,10 +1194,16 @@ module Stripe
|
|
1084
1194
|
attr_reader :paynow
|
1085
1195
|
# Attribute for field paypal
|
1086
1196
|
attr_reader :paypal
|
1197
|
+
# Attribute for field payto
|
1198
|
+
attr_reader :payto
|
1087
1199
|
# Attribute for field pix
|
1088
1200
|
attr_reader :pix
|
1089
1201
|
# Attribute for field promptpay
|
1090
1202
|
attr_reader :promptpay
|
1203
|
+
# Attribute for field qris
|
1204
|
+
attr_reader :qris
|
1205
|
+
# Attribute for field rechnung
|
1206
|
+
attr_reader :rechnung
|
1091
1207
|
# Attribute for field revolut_pay
|
1092
1208
|
attr_reader :revolut_pay
|
1093
1209
|
# Attribute for field samsung_pay
|
@@ -1098,10 +1214,14 @@ module Stripe
|
|
1098
1214
|
attr_reader :sepa_credit_transfer
|
1099
1215
|
# Attribute for field sepa_debit
|
1100
1216
|
attr_reader :sepa_debit
|
1217
|
+
# Attribute for field shopeepay
|
1218
|
+
attr_reader :shopeepay
|
1101
1219
|
# Attribute for field sofort
|
1102
1220
|
attr_reader :sofort
|
1103
1221
|
# Attribute for field stripe_account
|
1104
1222
|
attr_reader :stripe_account
|
1223
|
+
# Attribute for field stripe_balance
|
1224
|
+
attr_reader :stripe_balance
|
1105
1225
|
# Attribute for field swish
|
1106
1226
|
attr_reader :swish
|
1107
1227
|
# Attribute for field twint
|
@@ -1400,6 +1520,711 @@ module Stripe
|
|
1400
1520
|
end
|
1401
1521
|
end
|
1402
1522
|
|
1523
|
+
class PaymentDetails < Stripe::RequestParams
|
1524
|
+
class CarRental < Stripe::RequestParams
|
1525
|
+
class Affiliate < Stripe::RequestParams
|
1526
|
+
# The name of the affiliate that originated the purchase.
|
1527
|
+
attr_accessor :name
|
1528
|
+
|
1529
|
+
def initialize(name: nil)
|
1530
|
+
@name = name
|
1531
|
+
end
|
1532
|
+
end
|
1533
|
+
|
1534
|
+
class Delivery < Stripe::RequestParams
|
1535
|
+
class Recipient < Stripe::RequestParams
|
1536
|
+
# The email of the recipient the ticket is delivered to.
|
1537
|
+
attr_accessor :email
|
1538
|
+
# The name of the recipient the ticket is delivered to.
|
1539
|
+
attr_accessor :name
|
1540
|
+
# The phone number of the recipient the ticket is delivered to.
|
1541
|
+
attr_accessor :phone
|
1542
|
+
|
1543
|
+
def initialize(email: nil, name: nil, phone: nil)
|
1544
|
+
@email = email
|
1545
|
+
@name = name
|
1546
|
+
@phone = phone
|
1547
|
+
end
|
1548
|
+
end
|
1549
|
+
# The delivery method for the payment
|
1550
|
+
attr_accessor :mode
|
1551
|
+
# Details of the recipient.
|
1552
|
+
attr_accessor :recipient
|
1553
|
+
|
1554
|
+
def initialize(mode: nil, recipient: nil)
|
1555
|
+
@mode = mode
|
1556
|
+
@recipient = recipient
|
1557
|
+
end
|
1558
|
+
end
|
1559
|
+
|
1560
|
+
class Distance < Stripe::RequestParams
|
1561
|
+
# Distance traveled.
|
1562
|
+
attr_accessor :amount
|
1563
|
+
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
1564
|
+
attr_accessor :unit
|
1565
|
+
|
1566
|
+
def initialize(amount: nil, unit: nil)
|
1567
|
+
@amount = amount
|
1568
|
+
@unit = unit
|
1569
|
+
end
|
1570
|
+
end
|
1571
|
+
|
1572
|
+
class Driver < Stripe::RequestParams
|
1573
|
+
# Driver's identification number.
|
1574
|
+
attr_accessor :driver_identification_number
|
1575
|
+
# Driver's tax number.
|
1576
|
+
attr_accessor :driver_tax_number
|
1577
|
+
# Full name of the person or entity on the car reservation.
|
1578
|
+
attr_accessor :name
|
1579
|
+
|
1580
|
+
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
|
1581
|
+
@driver_identification_number = driver_identification_number
|
1582
|
+
@driver_tax_number = driver_tax_number
|
1583
|
+
@name = name
|
1584
|
+
end
|
1585
|
+
end
|
1586
|
+
|
1587
|
+
class PickupAddress < Stripe::RequestParams
|
1588
|
+
# City, district, suburb, town, or village.
|
1589
|
+
attr_accessor :city
|
1590
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1591
|
+
attr_accessor :country
|
1592
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
1593
|
+
attr_accessor :line1
|
1594
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1595
|
+
attr_accessor :line2
|
1596
|
+
# ZIP or postal code.
|
1597
|
+
attr_accessor :postal_code
|
1598
|
+
# State, county, province, or region.
|
1599
|
+
attr_accessor :state
|
1600
|
+
|
1601
|
+
def initialize(
|
1602
|
+
city: nil,
|
1603
|
+
country: nil,
|
1604
|
+
line1: nil,
|
1605
|
+
line2: nil,
|
1606
|
+
postal_code: nil,
|
1607
|
+
state: nil
|
1608
|
+
)
|
1609
|
+
@city = city
|
1610
|
+
@country = country
|
1611
|
+
@line1 = line1
|
1612
|
+
@line2 = line2
|
1613
|
+
@postal_code = postal_code
|
1614
|
+
@state = state
|
1615
|
+
end
|
1616
|
+
end
|
1617
|
+
|
1618
|
+
class ReturnAddress < Stripe::RequestParams
|
1619
|
+
# City, district, suburb, town, or village.
|
1620
|
+
attr_accessor :city
|
1621
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1622
|
+
attr_accessor :country
|
1623
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
1624
|
+
attr_accessor :line1
|
1625
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1626
|
+
attr_accessor :line2
|
1627
|
+
# ZIP or postal code.
|
1628
|
+
attr_accessor :postal_code
|
1629
|
+
# State, county, province, or region.
|
1630
|
+
attr_accessor :state
|
1631
|
+
|
1632
|
+
def initialize(
|
1633
|
+
city: nil,
|
1634
|
+
country: nil,
|
1635
|
+
line1: nil,
|
1636
|
+
line2: nil,
|
1637
|
+
postal_code: nil,
|
1638
|
+
state: nil
|
1639
|
+
)
|
1640
|
+
@city = city
|
1641
|
+
@country = country
|
1642
|
+
@line1 = line1
|
1643
|
+
@line2 = line2
|
1644
|
+
@postal_code = postal_code
|
1645
|
+
@state = state
|
1646
|
+
end
|
1647
|
+
end
|
1648
|
+
# Affiliate details for this purchase.
|
1649
|
+
attr_accessor :affiliate
|
1650
|
+
# The booking number associated with the car rental.
|
1651
|
+
attr_accessor :booking_number
|
1652
|
+
# Class code of the car.
|
1653
|
+
attr_accessor :car_class_code
|
1654
|
+
# Make of the car.
|
1655
|
+
attr_accessor :car_make
|
1656
|
+
# Model of the car.
|
1657
|
+
attr_accessor :car_model
|
1658
|
+
# The name of the rental car company.
|
1659
|
+
attr_accessor :company
|
1660
|
+
# The customer service phone number of the car rental company.
|
1661
|
+
attr_accessor :customer_service_phone_number
|
1662
|
+
# Number of days the car is being rented.
|
1663
|
+
attr_accessor :days_rented
|
1664
|
+
# Delivery details for this purchase.
|
1665
|
+
attr_accessor :delivery
|
1666
|
+
# The details of the distance traveled during the rental period.
|
1667
|
+
attr_accessor :distance
|
1668
|
+
# The details of the passengers in the travel reservation
|
1669
|
+
attr_accessor :drivers
|
1670
|
+
# List of additional charges being billed.
|
1671
|
+
attr_accessor :extra_charges
|
1672
|
+
# Indicates if the customer did not keep nor cancel their booking.
|
1673
|
+
attr_accessor :no_show
|
1674
|
+
# Car pick-up address.
|
1675
|
+
attr_accessor :pickup_address
|
1676
|
+
# Car pick-up time. Measured in seconds since the Unix epoch.
|
1677
|
+
attr_accessor :pickup_at
|
1678
|
+
# Name of the pickup location.
|
1679
|
+
attr_accessor :pickup_location_name
|
1680
|
+
# Rental rate.
|
1681
|
+
attr_accessor :rate_amount
|
1682
|
+
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
1683
|
+
attr_accessor :rate_interval
|
1684
|
+
# The name of the person or entity renting the car.
|
1685
|
+
attr_accessor :renter_name
|
1686
|
+
# Car return address.
|
1687
|
+
attr_accessor :return_address
|
1688
|
+
# Car return time. Measured in seconds since the Unix epoch.
|
1689
|
+
attr_accessor :return_at
|
1690
|
+
# Name of the return location.
|
1691
|
+
attr_accessor :return_location_name
|
1692
|
+
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
1693
|
+
attr_accessor :tax_exempt
|
1694
|
+
# The vehicle identification number.
|
1695
|
+
attr_accessor :vehicle_identification_number
|
1696
|
+
|
1697
|
+
def initialize(
|
1698
|
+
affiliate: nil,
|
1699
|
+
booking_number: nil,
|
1700
|
+
car_class_code: nil,
|
1701
|
+
car_make: nil,
|
1702
|
+
car_model: nil,
|
1703
|
+
company: nil,
|
1704
|
+
customer_service_phone_number: nil,
|
1705
|
+
days_rented: nil,
|
1706
|
+
delivery: nil,
|
1707
|
+
distance: nil,
|
1708
|
+
drivers: nil,
|
1709
|
+
extra_charges: nil,
|
1710
|
+
no_show: nil,
|
1711
|
+
pickup_address: nil,
|
1712
|
+
pickup_at: nil,
|
1713
|
+
pickup_location_name: nil,
|
1714
|
+
rate_amount: nil,
|
1715
|
+
rate_interval: nil,
|
1716
|
+
renter_name: nil,
|
1717
|
+
return_address: nil,
|
1718
|
+
return_at: nil,
|
1719
|
+
return_location_name: nil,
|
1720
|
+
tax_exempt: nil,
|
1721
|
+
vehicle_identification_number: nil
|
1722
|
+
)
|
1723
|
+
@affiliate = affiliate
|
1724
|
+
@booking_number = booking_number
|
1725
|
+
@car_class_code = car_class_code
|
1726
|
+
@car_make = car_make
|
1727
|
+
@car_model = car_model
|
1728
|
+
@company = company
|
1729
|
+
@customer_service_phone_number = customer_service_phone_number
|
1730
|
+
@days_rented = days_rented
|
1731
|
+
@delivery = delivery
|
1732
|
+
@distance = distance
|
1733
|
+
@drivers = drivers
|
1734
|
+
@extra_charges = extra_charges
|
1735
|
+
@no_show = no_show
|
1736
|
+
@pickup_address = pickup_address
|
1737
|
+
@pickup_at = pickup_at
|
1738
|
+
@pickup_location_name = pickup_location_name
|
1739
|
+
@rate_amount = rate_amount
|
1740
|
+
@rate_interval = rate_interval
|
1741
|
+
@renter_name = renter_name
|
1742
|
+
@return_address = return_address
|
1743
|
+
@return_at = return_at
|
1744
|
+
@return_location_name = return_location_name
|
1745
|
+
@tax_exempt = tax_exempt
|
1746
|
+
@vehicle_identification_number = vehicle_identification_number
|
1747
|
+
end
|
1748
|
+
end
|
1749
|
+
|
1750
|
+
class EventDetails < Stripe::RequestParams
|
1751
|
+
class Address < Stripe::RequestParams
|
1752
|
+
# City, district, suburb, town, or village.
|
1753
|
+
attr_accessor :city
|
1754
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1755
|
+
attr_accessor :country
|
1756
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
1757
|
+
attr_accessor :line1
|
1758
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1759
|
+
attr_accessor :line2
|
1760
|
+
# ZIP or postal code.
|
1761
|
+
attr_accessor :postal_code
|
1762
|
+
# State, county, province, or region.
|
1763
|
+
attr_accessor :state
|
1764
|
+
|
1765
|
+
def initialize(
|
1766
|
+
city: nil,
|
1767
|
+
country: nil,
|
1768
|
+
line1: nil,
|
1769
|
+
line2: nil,
|
1770
|
+
postal_code: nil,
|
1771
|
+
state: nil
|
1772
|
+
)
|
1773
|
+
@city = city
|
1774
|
+
@country = country
|
1775
|
+
@line1 = line1
|
1776
|
+
@line2 = line2
|
1777
|
+
@postal_code = postal_code
|
1778
|
+
@state = state
|
1779
|
+
end
|
1780
|
+
end
|
1781
|
+
|
1782
|
+
class Affiliate < Stripe::RequestParams
|
1783
|
+
# The name of the affiliate that originated the purchase.
|
1784
|
+
attr_accessor :name
|
1785
|
+
|
1786
|
+
def initialize(name: nil)
|
1787
|
+
@name = name
|
1788
|
+
end
|
1789
|
+
end
|
1790
|
+
|
1791
|
+
class Delivery < Stripe::RequestParams
|
1792
|
+
class Recipient < Stripe::RequestParams
|
1793
|
+
# The email of the recipient the ticket is delivered to.
|
1794
|
+
attr_accessor :email
|
1795
|
+
# The name of the recipient the ticket is delivered to.
|
1796
|
+
attr_accessor :name
|
1797
|
+
# The phone number of the recipient the ticket is delivered to.
|
1798
|
+
attr_accessor :phone
|
1799
|
+
|
1800
|
+
def initialize(email: nil, name: nil, phone: nil)
|
1801
|
+
@email = email
|
1802
|
+
@name = name
|
1803
|
+
@phone = phone
|
1804
|
+
end
|
1805
|
+
end
|
1806
|
+
# The delivery method for the payment
|
1807
|
+
attr_accessor :mode
|
1808
|
+
# Details of the recipient.
|
1809
|
+
attr_accessor :recipient
|
1810
|
+
|
1811
|
+
def initialize(mode: nil, recipient: nil)
|
1812
|
+
@mode = mode
|
1813
|
+
@recipient = recipient
|
1814
|
+
end
|
1815
|
+
end
|
1816
|
+
# Indicates if the tickets are digitally checked when entering the venue.
|
1817
|
+
attr_accessor :access_controlled_venue
|
1818
|
+
# The event location's address.
|
1819
|
+
attr_accessor :address
|
1820
|
+
# Affiliate details for this purchase.
|
1821
|
+
attr_accessor :affiliate
|
1822
|
+
# The name of the company
|
1823
|
+
attr_accessor :company
|
1824
|
+
# Delivery details for this purchase.
|
1825
|
+
attr_accessor :delivery
|
1826
|
+
# Event end time. Measured in seconds since the Unix epoch.
|
1827
|
+
attr_accessor :ends_at
|
1828
|
+
# Type of the event entertainment (concert, sports event etc)
|
1829
|
+
attr_accessor :genre
|
1830
|
+
# The name of the event.
|
1831
|
+
attr_accessor :name
|
1832
|
+
# Event start time. Measured in seconds since the Unix epoch.
|
1833
|
+
attr_accessor :starts_at
|
1834
|
+
|
1835
|
+
def initialize(
|
1836
|
+
access_controlled_venue: nil,
|
1837
|
+
address: nil,
|
1838
|
+
affiliate: nil,
|
1839
|
+
company: nil,
|
1840
|
+
delivery: nil,
|
1841
|
+
ends_at: nil,
|
1842
|
+
genre: nil,
|
1843
|
+
name: nil,
|
1844
|
+
starts_at: nil
|
1845
|
+
)
|
1846
|
+
@access_controlled_venue = access_controlled_venue
|
1847
|
+
@address = address
|
1848
|
+
@affiliate = affiliate
|
1849
|
+
@company = company
|
1850
|
+
@delivery = delivery
|
1851
|
+
@ends_at = ends_at
|
1852
|
+
@genre = genre
|
1853
|
+
@name = name
|
1854
|
+
@starts_at = starts_at
|
1855
|
+
end
|
1856
|
+
end
|
1857
|
+
|
1858
|
+
class Flight < Stripe::RequestParams
|
1859
|
+
class Affiliate < Stripe::RequestParams
|
1860
|
+
# The name of the affiliate that originated the purchase.
|
1861
|
+
attr_accessor :name
|
1862
|
+
|
1863
|
+
def initialize(name: nil)
|
1864
|
+
@name = name
|
1865
|
+
end
|
1866
|
+
end
|
1867
|
+
|
1868
|
+
class Delivery < Stripe::RequestParams
|
1869
|
+
class Recipient < Stripe::RequestParams
|
1870
|
+
# The email of the recipient the ticket is delivered to.
|
1871
|
+
attr_accessor :email
|
1872
|
+
# The name of the recipient the ticket is delivered to.
|
1873
|
+
attr_accessor :name
|
1874
|
+
# The phone number of the recipient the ticket is delivered to.
|
1875
|
+
attr_accessor :phone
|
1876
|
+
|
1877
|
+
def initialize(email: nil, name: nil, phone: nil)
|
1878
|
+
@email = email
|
1879
|
+
@name = name
|
1880
|
+
@phone = phone
|
1881
|
+
end
|
1882
|
+
end
|
1883
|
+
# The delivery method for the payment
|
1884
|
+
attr_accessor :mode
|
1885
|
+
# Details of the recipient.
|
1886
|
+
attr_accessor :recipient
|
1887
|
+
|
1888
|
+
def initialize(mode: nil, recipient: nil)
|
1889
|
+
@mode = mode
|
1890
|
+
@recipient = recipient
|
1891
|
+
end
|
1892
|
+
end
|
1893
|
+
|
1894
|
+
class Passenger < Stripe::RequestParams
|
1895
|
+
# Full name of the person or entity on the flight reservation.
|
1896
|
+
attr_accessor :name
|
1897
|
+
|
1898
|
+
def initialize(name: nil)
|
1899
|
+
@name = name
|
1900
|
+
end
|
1901
|
+
end
|
1902
|
+
|
1903
|
+
class Segment < Stripe::RequestParams
|
1904
|
+
# The flight segment amount.
|
1905
|
+
attr_accessor :amount
|
1906
|
+
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
1907
|
+
attr_accessor :arrival_airport
|
1908
|
+
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
1909
|
+
attr_accessor :arrives_at
|
1910
|
+
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
1911
|
+
attr_accessor :carrier
|
1912
|
+
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
1913
|
+
attr_accessor :departs_at
|
1914
|
+
# The International Air Transport Association (IATA) airport code for the departure airport.
|
1915
|
+
attr_accessor :departure_airport
|
1916
|
+
# The flight number associated with the segment
|
1917
|
+
attr_accessor :flight_number
|
1918
|
+
# The fare class for the segment.
|
1919
|
+
attr_accessor :service_class
|
1920
|
+
|
1921
|
+
def initialize(
|
1922
|
+
amount: nil,
|
1923
|
+
arrival_airport: nil,
|
1924
|
+
arrives_at: nil,
|
1925
|
+
carrier: nil,
|
1926
|
+
departs_at: nil,
|
1927
|
+
departure_airport: nil,
|
1928
|
+
flight_number: nil,
|
1929
|
+
service_class: nil
|
1930
|
+
)
|
1931
|
+
@amount = amount
|
1932
|
+
@arrival_airport = arrival_airport
|
1933
|
+
@arrives_at = arrives_at
|
1934
|
+
@carrier = carrier
|
1935
|
+
@departs_at = departs_at
|
1936
|
+
@departure_airport = departure_airport
|
1937
|
+
@flight_number = flight_number
|
1938
|
+
@service_class = service_class
|
1939
|
+
end
|
1940
|
+
end
|
1941
|
+
# Affiliate details for this purchase.
|
1942
|
+
attr_accessor :affiliate
|
1943
|
+
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
1944
|
+
attr_accessor :agency_number
|
1945
|
+
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
1946
|
+
attr_accessor :carrier
|
1947
|
+
# Delivery details for this purchase.
|
1948
|
+
attr_accessor :delivery
|
1949
|
+
# The name of the person or entity on the reservation.
|
1950
|
+
attr_accessor :passenger_name
|
1951
|
+
# The details of the passengers in the travel reservation.
|
1952
|
+
attr_accessor :passengers
|
1953
|
+
# The individual flight segments associated with the trip.
|
1954
|
+
attr_accessor :segments
|
1955
|
+
# The ticket number associated with the travel reservation.
|
1956
|
+
attr_accessor :ticket_number
|
1957
|
+
|
1958
|
+
def initialize(
|
1959
|
+
affiliate: nil,
|
1960
|
+
agency_number: nil,
|
1961
|
+
carrier: nil,
|
1962
|
+
delivery: nil,
|
1963
|
+
passenger_name: nil,
|
1964
|
+
passengers: nil,
|
1965
|
+
segments: nil,
|
1966
|
+
ticket_number: nil
|
1967
|
+
)
|
1968
|
+
@affiliate = affiliate
|
1969
|
+
@agency_number = agency_number
|
1970
|
+
@carrier = carrier
|
1971
|
+
@delivery = delivery
|
1972
|
+
@passenger_name = passenger_name
|
1973
|
+
@passengers = passengers
|
1974
|
+
@segments = segments
|
1975
|
+
@ticket_number = ticket_number
|
1976
|
+
end
|
1977
|
+
end
|
1978
|
+
|
1979
|
+
class Lodging < Stripe::RequestParams
|
1980
|
+
class Address < Stripe::RequestParams
|
1981
|
+
# City, district, suburb, town, or village.
|
1982
|
+
attr_accessor :city
|
1983
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1984
|
+
attr_accessor :country
|
1985
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
1986
|
+
attr_accessor :line1
|
1987
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1988
|
+
attr_accessor :line2
|
1989
|
+
# ZIP or postal code.
|
1990
|
+
attr_accessor :postal_code
|
1991
|
+
# State, county, province, or region.
|
1992
|
+
attr_accessor :state
|
1993
|
+
|
1994
|
+
def initialize(
|
1995
|
+
city: nil,
|
1996
|
+
country: nil,
|
1997
|
+
line1: nil,
|
1998
|
+
line2: nil,
|
1999
|
+
postal_code: nil,
|
2000
|
+
state: nil
|
2001
|
+
)
|
2002
|
+
@city = city
|
2003
|
+
@country = country
|
2004
|
+
@line1 = line1
|
2005
|
+
@line2 = line2
|
2006
|
+
@postal_code = postal_code
|
2007
|
+
@state = state
|
2008
|
+
end
|
2009
|
+
end
|
2010
|
+
|
2011
|
+
class Affiliate < Stripe::RequestParams
|
2012
|
+
# The name of the affiliate that originated the purchase.
|
2013
|
+
attr_accessor :name
|
2014
|
+
|
2015
|
+
def initialize(name: nil)
|
2016
|
+
@name = name
|
2017
|
+
end
|
2018
|
+
end
|
2019
|
+
|
2020
|
+
class Delivery < Stripe::RequestParams
|
2021
|
+
class Recipient < Stripe::RequestParams
|
2022
|
+
# The email of the recipient the ticket is delivered to.
|
2023
|
+
attr_accessor :email
|
2024
|
+
# The name of the recipient the ticket is delivered to.
|
2025
|
+
attr_accessor :name
|
2026
|
+
# The phone number of the recipient the ticket is delivered to.
|
2027
|
+
attr_accessor :phone
|
2028
|
+
|
2029
|
+
def initialize(email: nil, name: nil, phone: nil)
|
2030
|
+
@email = email
|
2031
|
+
@name = name
|
2032
|
+
@phone = phone
|
2033
|
+
end
|
2034
|
+
end
|
2035
|
+
# The delivery method for the payment
|
2036
|
+
attr_accessor :mode
|
2037
|
+
# Details of the recipient.
|
2038
|
+
attr_accessor :recipient
|
2039
|
+
|
2040
|
+
def initialize(mode: nil, recipient: nil)
|
2041
|
+
@mode = mode
|
2042
|
+
@recipient = recipient
|
2043
|
+
end
|
2044
|
+
end
|
2045
|
+
|
2046
|
+
class Passenger < Stripe::RequestParams
|
2047
|
+
# Full name of the person or entity on the lodging reservation.
|
2048
|
+
attr_accessor :name
|
2049
|
+
|
2050
|
+
def initialize(name: nil)
|
2051
|
+
@name = name
|
2052
|
+
end
|
2053
|
+
end
|
2054
|
+
# The lodging location's address.
|
2055
|
+
attr_accessor :address
|
2056
|
+
# The number of adults on the booking
|
2057
|
+
attr_accessor :adults
|
2058
|
+
# Affiliate details for this purchase.
|
2059
|
+
attr_accessor :affiliate
|
2060
|
+
# The booking number associated with the lodging reservation.
|
2061
|
+
attr_accessor :booking_number
|
2062
|
+
# The lodging category
|
2063
|
+
attr_accessor :category
|
2064
|
+
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
2065
|
+
attr_accessor :checkin_at
|
2066
|
+
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
2067
|
+
attr_accessor :checkout_at
|
2068
|
+
# The customer service phone number of the lodging company.
|
2069
|
+
attr_accessor :customer_service_phone_number
|
2070
|
+
# The daily lodging room rate.
|
2071
|
+
attr_accessor :daily_room_rate_amount
|
2072
|
+
# Delivery details for this purchase.
|
2073
|
+
attr_accessor :delivery
|
2074
|
+
# List of additional charges being billed.
|
2075
|
+
attr_accessor :extra_charges
|
2076
|
+
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
2077
|
+
attr_accessor :fire_safety_act_compliance
|
2078
|
+
# The name of the lodging location.
|
2079
|
+
attr_accessor :name
|
2080
|
+
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
2081
|
+
attr_accessor :no_show
|
2082
|
+
# The number of rooms on the booking
|
2083
|
+
attr_accessor :number_of_rooms
|
2084
|
+
# The details of the passengers in the travel reservation
|
2085
|
+
attr_accessor :passengers
|
2086
|
+
# The phone number of the lodging location.
|
2087
|
+
attr_accessor :property_phone_number
|
2088
|
+
# The room class for this purchase.
|
2089
|
+
attr_accessor :room_class
|
2090
|
+
# The number of room nights
|
2091
|
+
attr_accessor :room_nights
|
2092
|
+
# The total tax amount associating with the room reservation.
|
2093
|
+
attr_accessor :total_room_tax_amount
|
2094
|
+
# The total tax amount
|
2095
|
+
attr_accessor :total_tax_amount
|
2096
|
+
|
2097
|
+
def initialize(
|
2098
|
+
address: nil,
|
2099
|
+
adults: nil,
|
2100
|
+
affiliate: nil,
|
2101
|
+
booking_number: nil,
|
2102
|
+
category: nil,
|
2103
|
+
checkin_at: nil,
|
2104
|
+
checkout_at: nil,
|
2105
|
+
customer_service_phone_number: nil,
|
2106
|
+
daily_room_rate_amount: nil,
|
2107
|
+
delivery: nil,
|
2108
|
+
extra_charges: nil,
|
2109
|
+
fire_safety_act_compliance: nil,
|
2110
|
+
name: nil,
|
2111
|
+
no_show: nil,
|
2112
|
+
number_of_rooms: nil,
|
2113
|
+
passengers: nil,
|
2114
|
+
property_phone_number: nil,
|
2115
|
+
room_class: nil,
|
2116
|
+
room_nights: nil,
|
2117
|
+
total_room_tax_amount: nil,
|
2118
|
+
total_tax_amount: nil
|
2119
|
+
)
|
2120
|
+
@address = address
|
2121
|
+
@adults = adults
|
2122
|
+
@affiliate = affiliate
|
2123
|
+
@booking_number = booking_number
|
2124
|
+
@category = category
|
2125
|
+
@checkin_at = checkin_at
|
2126
|
+
@checkout_at = checkout_at
|
2127
|
+
@customer_service_phone_number = customer_service_phone_number
|
2128
|
+
@daily_room_rate_amount = daily_room_rate_amount
|
2129
|
+
@delivery = delivery
|
2130
|
+
@extra_charges = extra_charges
|
2131
|
+
@fire_safety_act_compliance = fire_safety_act_compliance
|
2132
|
+
@name = name
|
2133
|
+
@no_show = no_show
|
2134
|
+
@number_of_rooms = number_of_rooms
|
2135
|
+
@passengers = passengers
|
2136
|
+
@property_phone_number = property_phone_number
|
2137
|
+
@room_class = room_class
|
2138
|
+
@room_nights = room_nights
|
2139
|
+
@total_room_tax_amount = total_room_tax_amount
|
2140
|
+
@total_tax_amount = total_tax_amount
|
2141
|
+
end
|
2142
|
+
end
|
2143
|
+
|
2144
|
+
class Subscription < Stripe::RequestParams
|
2145
|
+
class Affiliate < Stripe::RequestParams
|
2146
|
+
# The name of the affiliate that originated the purchase.
|
2147
|
+
attr_accessor :name
|
2148
|
+
|
2149
|
+
def initialize(name: nil)
|
2150
|
+
@name = name
|
2151
|
+
end
|
2152
|
+
end
|
2153
|
+
|
2154
|
+
class BillingInterval < Stripe::RequestParams
|
2155
|
+
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
2156
|
+
attr_accessor :count
|
2157
|
+
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
2158
|
+
attr_accessor :interval
|
2159
|
+
|
2160
|
+
def initialize(count: nil, interval: nil)
|
2161
|
+
@count = count
|
2162
|
+
@interval = interval
|
2163
|
+
end
|
2164
|
+
end
|
2165
|
+
# Affiliate details for this purchase.
|
2166
|
+
attr_accessor :affiliate
|
2167
|
+
# Info whether the subscription will be auto renewed upon expiry.
|
2168
|
+
attr_accessor :auto_renewal
|
2169
|
+
# Subscription billing details for this purchase.
|
2170
|
+
attr_accessor :billing_interval
|
2171
|
+
# Subscription end time. Measured in seconds since the Unix epoch.
|
2172
|
+
attr_accessor :ends_at
|
2173
|
+
# Name of the product on subscription. e.g. Apple Music Subscription
|
2174
|
+
attr_accessor :name
|
2175
|
+
# Subscription start time. Measured in seconds since the Unix epoch.
|
2176
|
+
attr_accessor :starts_at
|
2177
|
+
|
2178
|
+
def initialize(
|
2179
|
+
affiliate: nil,
|
2180
|
+
auto_renewal: nil,
|
2181
|
+
billing_interval: nil,
|
2182
|
+
ends_at: nil,
|
2183
|
+
name: nil,
|
2184
|
+
starts_at: nil
|
2185
|
+
)
|
2186
|
+
@affiliate = affiliate
|
2187
|
+
@auto_renewal = auto_renewal
|
2188
|
+
@billing_interval = billing_interval
|
2189
|
+
@ends_at = ends_at
|
2190
|
+
@name = name
|
2191
|
+
@starts_at = starts_at
|
2192
|
+
end
|
2193
|
+
end
|
2194
|
+
# Car rental details for this PaymentIntent.
|
2195
|
+
attr_accessor :car_rental
|
2196
|
+
# Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
|
2197
|
+
attr_accessor :customer_reference
|
2198
|
+
# Event details for this PaymentIntent
|
2199
|
+
attr_accessor :event_details
|
2200
|
+
# Flight reservation details for this PaymentIntent
|
2201
|
+
attr_accessor :flight
|
2202
|
+
# Lodging reservation details for this PaymentIntent
|
2203
|
+
attr_accessor :lodging
|
2204
|
+
# A unique value assigned by the business to identify the transaction.
|
2205
|
+
attr_accessor :order_reference
|
2206
|
+
# Subscription details for this PaymentIntent
|
2207
|
+
attr_accessor :subscription
|
2208
|
+
|
2209
|
+
def initialize(
|
2210
|
+
car_rental: nil,
|
2211
|
+
customer_reference: nil,
|
2212
|
+
event_details: nil,
|
2213
|
+
flight: nil,
|
2214
|
+
lodging: nil,
|
2215
|
+
order_reference: nil,
|
2216
|
+
subscription: nil
|
2217
|
+
)
|
2218
|
+
@car_rental = car_rental
|
2219
|
+
@customer_reference = customer_reference
|
2220
|
+
@event_details = event_details
|
2221
|
+
@flight = flight
|
2222
|
+
@lodging = lodging
|
2223
|
+
@order_reference = order_reference
|
2224
|
+
@subscription = subscription
|
2225
|
+
end
|
2226
|
+
end
|
2227
|
+
|
1403
2228
|
class Shipping < Stripe::RequestParams
|
1404
2229
|
class Address < Stripe::RequestParams
|
1405
2230
|
# City, district, suburb, town, or village.
|
@@ -1460,6 +2285,8 @@ module Stripe
|
|
1460
2285
|
attr_accessor :fraud_details
|
1461
2286
|
# 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`.
|
1462
2287
|
attr_accessor :metadata
|
2288
|
+
# Provides industry-specific information about the charge.
|
2289
|
+
attr_accessor :payment_details
|
1463
2290
|
# 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.
|
1464
2291
|
attr_accessor :receipt_email
|
1465
2292
|
# Shipping information for the charge. Helps prevent fraud on charges for physical goods.
|
@@ -1473,6 +2300,7 @@ module Stripe
|
|
1473
2300
|
expand: nil,
|
1474
2301
|
fraud_details: nil,
|
1475
2302
|
metadata: nil,
|
2303
|
+
payment_details: nil,
|
1476
2304
|
receipt_email: nil,
|
1477
2305
|
shipping: nil,
|
1478
2306
|
transfer_group: nil
|
@@ -1482,6 +2310,7 @@ module Stripe
|
|
1482
2310
|
@expand = expand
|
1483
2311
|
@fraud_details = fraud_details
|
1484
2312
|
@metadata = metadata
|
2313
|
+
@payment_details = payment_details
|
1485
2314
|
@receipt_email = receipt_email
|
1486
2315
|
@shipping = shipping
|
1487
2316
|
@transfer_group = transfer_group
|
@@ -1507,6 +2336,711 @@ module Stripe
|
|
1507
2336
|
end
|
1508
2337
|
|
1509
2338
|
class CaptureParams < Stripe::RequestParams
|
2339
|
+
class PaymentDetails < Stripe::RequestParams
|
2340
|
+
class CarRental < Stripe::RequestParams
|
2341
|
+
class Affiliate < Stripe::RequestParams
|
2342
|
+
# The name of the affiliate that originated the purchase.
|
2343
|
+
attr_accessor :name
|
2344
|
+
|
2345
|
+
def initialize(name: nil)
|
2346
|
+
@name = name
|
2347
|
+
end
|
2348
|
+
end
|
2349
|
+
|
2350
|
+
class Delivery < Stripe::RequestParams
|
2351
|
+
class Recipient < Stripe::RequestParams
|
2352
|
+
# The email of the recipient the ticket is delivered to.
|
2353
|
+
attr_accessor :email
|
2354
|
+
# The name of the recipient the ticket is delivered to.
|
2355
|
+
attr_accessor :name
|
2356
|
+
# The phone number of the recipient the ticket is delivered to.
|
2357
|
+
attr_accessor :phone
|
2358
|
+
|
2359
|
+
def initialize(email: nil, name: nil, phone: nil)
|
2360
|
+
@email = email
|
2361
|
+
@name = name
|
2362
|
+
@phone = phone
|
2363
|
+
end
|
2364
|
+
end
|
2365
|
+
# The delivery method for the payment
|
2366
|
+
attr_accessor :mode
|
2367
|
+
# Details of the recipient.
|
2368
|
+
attr_accessor :recipient
|
2369
|
+
|
2370
|
+
def initialize(mode: nil, recipient: nil)
|
2371
|
+
@mode = mode
|
2372
|
+
@recipient = recipient
|
2373
|
+
end
|
2374
|
+
end
|
2375
|
+
|
2376
|
+
class Distance < Stripe::RequestParams
|
2377
|
+
# Distance traveled.
|
2378
|
+
attr_accessor :amount
|
2379
|
+
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
2380
|
+
attr_accessor :unit
|
2381
|
+
|
2382
|
+
def initialize(amount: nil, unit: nil)
|
2383
|
+
@amount = amount
|
2384
|
+
@unit = unit
|
2385
|
+
end
|
2386
|
+
end
|
2387
|
+
|
2388
|
+
class Driver < Stripe::RequestParams
|
2389
|
+
# Driver's identification number.
|
2390
|
+
attr_accessor :driver_identification_number
|
2391
|
+
# Driver's tax number.
|
2392
|
+
attr_accessor :driver_tax_number
|
2393
|
+
# Full name of the person or entity on the car reservation.
|
2394
|
+
attr_accessor :name
|
2395
|
+
|
2396
|
+
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
|
2397
|
+
@driver_identification_number = driver_identification_number
|
2398
|
+
@driver_tax_number = driver_tax_number
|
2399
|
+
@name = name
|
2400
|
+
end
|
2401
|
+
end
|
2402
|
+
|
2403
|
+
class PickupAddress < Stripe::RequestParams
|
2404
|
+
# City, district, suburb, town, or village.
|
2405
|
+
attr_accessor :city
|
2406
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2407
|
+
attr_accessor :country
|
2408
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
2409
|
+
attr_accessor :line1
|
2410
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2411
|
+
attr_accessor :line2
|
2412
|
+
# ZIP or postal code.
|
2413
|
+
attr_accessor :postal_code
|
2414
|
+
# State, county, province, or region.
|
2415
|
+
attr_accessor :state
|
2416
|
+
|
2417
|
+
def initialize(
|
2418
|
+
city: nil,
|
2419
|
+
country: nil,
|
2420
|
+
line1: nil,
|
2421
|
+
line2: nil,
|
2422
|
+
postal_code: nil,
|
2423
|
+
state: nil
|
2424
|
+
)
|
2425
|
+
@city = city
|
2426
|
+
@country = country
|
2427
|
+
@line1 = line1
|
2428
|
+
@line2 = line2
|
2429
|
+
@postal_code = postal_code
|
2430
|
+
@state = state
|
2431
|
+
end
|
2432
|
+
end
|
2433
|
+
|
2434
|
+
class ReturnAddress < Stripe::RequestParams
|
2435
|
+
# City, district, suburb, town, or village.
|
2436
|
+
attr_accessor :city
|
2437
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2438
|
+
attr_accessor :country
|
2439
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
2440
|
+
attr_accessor :line1
|
2441
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2442
|
+
attr_accessor :line2
|
2443
|
+
# ZIP or postal code.
|
2444
|
+
attr_accessor :postal_code
|
2445
|
+
# State, county, province, or region.
|
2446
|
+
attr_accessor :state
|
2447
|
+
|
2448
|
+
def initialize(
|
2449
|
+
city: nil,
|
2450
|
+
country: nil,
|
2451
|
+
line1: nil,
|
2452
|
+
line2: nil,
|
2453
|
+
postal_code: nil,
|
2454
|
+
state: nil
|
2455
|
+
)
|
2456
|
+
@city = city
|
2457
|
+
@country = country
|
2458
|
+
@line1 = line1
|
2459
|
+
@line2 = line2
|
2460
|
+
@postal_code = postal_code
|
2461
|
+
@state = state
|
2462
|
+
end
|
2463
|
+
end
|
2464
|
+
# Affiliate details for this purchase.
|
2465
|
+
attr_accessor :affiliate
|
2466
|
+
# The booking number associated with the car rental.
|
2467
|
+
attr_accessor :booking_number
|
2468
|
+
# Class code of the car.
|
2469
|
+
attr_accessor :car_class_code
|
2470
|
+
# Make of the car.
|
2471
|
+
attr_accessor :car_make
|
2472
|
+
# Model of the car.
|
2473
|
+
attr_accessor :car_model
|
2474
|
+
# The name of the rental car company.
|
2475
|
+
attr_accessor :company
|
2476
|
+
# The customer service phone number of the car rental company.
|
2477
|
+
attr_accessor :customer_service_phone_number
|
2478
|
+
# Number of days the car is being rented.
|
2479
|
+
attr_accessor :days_rented
|
2480
|
+
# Delivery details for this purchase.
|
2481
|
+
attr_accessor :delivery
|
2482
|
+
# The details of the distance traveled during the rental period.
|
2483
|
+
attr_accessor :distance
|
2484
|
+
# The details of the passengers in the travel reservation
|
2485
|
+
attr_accessor :drivers
|
2486
|
+
# List of additional charges being billed.
|
2487
|
+
attr_accessor :extra_charges
|
2488
|
+
# Indicates if the customer did not keep nor cancel their booking.
|
2489
|
+
attr_accessor :no_show
|
2490
|
+
# Car pick-up address.
|
2491
|
+
attr_accessor :pickup_address
|
2492
|
+
# Car pick-up time. Measured in seconds since the Unix epoch.
|
2493
|
+
attr_accessor :pickup_at
|
2494
|
+
# Name of the pickup location.
|
2495
|
+
attr_accessor :pickup_location_name
|
2496
|
+
# Rental rate.
|
2497
|
+
attr_accessor :rate_amount
|
2498
|
+
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
2499
|
+
attr_accessor :rate_interval
|
2500
|
+
# The name of the person or entity renting the car.
|
2501
|
+
attr_accessor :renter_name
|
2502
|
+
# Car return address.
|
2503
|
+
attr_accessor :return_address
|
2504
|
+
# Car return time. Measured in seconds since the Unix epoch.
|
2505
|
+
attr_accessor :return_at
|
2506
|
+
# Name of the return location.
|
2507
|
+
attr_accessor :return_location_name
|
2508
|
+
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
2509
|
+
attr_accessor :tax_exempt
|
2510
|
+
# The vehicle identification number.
|
2511
|
+
attr_accessor :vehicle_identification_number
|
2512
|
+
|
2513
|
+
def initialize(
|
2514
|
+
affiliate: nil,
|
2515
|
+
booking_number: nil,
|
2516
|
+
car_class_code: nil,
|
2517
|
+
car_make: nil,
|
2518
|
+
car_model: nil,
|
2519
|
+
company: nil,
|
2520
|
+
customer_service_phone_number: nil,
|
2521
|
+
days_rented: nil,
|
2522
|
+
delivery: nil,
|
2523
|
+
distance: nil,
|
2524
|
+
drivers: nil,
|
2525
|
+
extra_charges: nil,
|
2526
|
+
no_show: nil,
|
2527
|
+
pickup_address: nil,
|
2528
|
+
pickup_at: nil,
|
2529
|
+
pickup_location_name: nil,
|
2530
|
+
rate_amount: nil,
|
2531
|
+
rate_interval: nil,
|
2532
|
+
renter_name: nil,
|
2533
|
+
return_address: nil,
|
2534
|
+
return_at: nil,
|
2535
|
+
return_location_name: nil,
|
2536
|
+
tax_exempt: nil,
|
2537
|
+
vehicle_identification_number: nil
|
2538
|
+
)
|
2539
|
+
@affiliate = affiliate
|
2540
|
+
@booking_number = booking_number
|
2541
|
+
@car_class_code = car_class_code
|
2542
|
+
@car_make = car_make
|
2543
|
+
@car_model = car_model
|
2544
|
+
@company = company
|
2545
|
+
@customer_service_phone_number = customer_service_phone_number
|
2546
|
+
@days_rented = days_rented
|
2547
|
+
@delivery = delivery
|
2548
|
+
@distance = distance
|
2549
|
+
@drivers = drivers
|
2550
|
+
@extra_charges = extra_charges
|
2551
|
+
@no_show = no_show
|
2552
|
+
@pickup_address = pickup_address
|
2553
|
+
@pickup_at = pickup_at
|
2554
|
+
@pickup_location_name = pickup_location_name
|
2555
|
+
@rate_amount = rate_amount
|
2556
|
+
@rate_interval = rate_interval
|
2557
|
+
@renter_name = renter_name
|
2558
|
+
@return_address = return_address
|
2559
|
+
@return_at = return_at
|
2560
|
+
@return_location_name = return_location_name
|
2561
|
+
@tax_exempt = tax_exempt
|
2562
|
+
@vehicle_identification_number = vehicle_identification_number
|
2563
|
+
end
|
2564
|
+
end
|
2565
|
+
|
2566
|
+
class EventDetails < Stripe::RequestParams
|
2567
|
+
class Address < Stripe::RequestParams
|
2568
|
+
# City, district, suburb, town, or village.
|
2569
|
+
attr_accessor :city
|
2570
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2571
|
+
attr_accessor :country
|
2572
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
2573
|
+
attr_accessor :line1
|
2574
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2575
|
+
attr_accessor :line2
|
2576
|
+
# ZIP or postal code.
|
2577
|
+
attr_accessor :postal_code
|
2578
|
+
# State, county, province, or region.
|
2579
|
+
attr_accessor :state
|
2580
|
+
|
2581
|
+
def initialize(
|
2582
|
+
city: nil,
|
2583
|
+
country: nil,
|
2584
|
+
line1: nil,
|
2585
|
+
line2: nil,
|
2586
|
+
postal_code: nil,
|
2587
|
+
state: nil
|
2588
|
+
)
|
2589
|
+
@city = city
|
2590
|
+
@country = country
|
2591
|
+
@line1 = line1
|
2592
|
+
@line2 = line2
|
2593
|
+
@postal_code = postal_code
|
2594
|
+
@state = state
|
2595
|
+
end
|
2596
|
+
end
|
2597
|
+
|
2598
|
+
class Affiliate < Stripe::RequestParams
|
2599
|
+
# The name of the affiliate that originated the purchase.
|
2600
|
+
attr_accessor :name
|
2601
|
+
|
2602
|
+
def initialize(name: nil)
|
2603
|
+
@name = name
|
2604
|
+
end
|
2605
|
+
end
|
2606
|
+
|
2607
|
+
class Delivery < Stripe::RequestParams
|
2608
|
+
class Recipient < Stripe::RequestParams
|
2609
|
+
# The email of the recipient the ticket is delivered to.
|
2610
|
+
attr_accessor :email
|
2611
|
+
# The name of the recipient the ticket is delivered to.
|
2612
|
+
attr_accessor :name
|
2613
|
+
# The phone number of the recipient the ticket is delivered to.
|
2614
|
+
attr_accessor :phone
|
2615
|
+
|
2616
|
+
def initialize(email: nil, name: nil, phone: nil)
|
2617
|
+
@email = email
|
2618
|
+
@name = name
|
2619
|
+
@phone = phone
|
2620
|
+
end
|
2621
|
+
end
|
2622
|
+
# The delivery method for the payment
|
2623
|
+
attr_accessor :mode
|
2624
|
+
# Details of the recipient.
|
2625
|
+
attr_accessor :recipient
|
2626
|
+
|
2627
|
+
def initialize(mode: nil, recipient: nil)
|
2628
|
+
@mode = mode
|
2629
|
+
@recipient = recipient
|
2630
|
+
end
|
2631
|
+
end
|
2632
|
+
# Indicates if the tickets are digitally checked when entering the venue.
|
2633
|
+
attr_accessor :access_controlled_venue
|
2634
|
+
# The event location's address.
|
2635
|
+
attr_accessor :address
|
2636
|
+
# Affiliate details for this purchase.
|
2637
|
+
attr_accessor :affiliate
|
2638
|
+
# The name of the company
|
2639
|
+
attr_accessor :company
|
2640
|
+
# Delivery details for this purchase.
|
2641
|
+
attr_accessor :delivery
|
2642
|
+
# Event end time. Measured in seconds since the Unix epoch.
|
2643
|
+
attr_accessor :ends_at
|
2644
|
+
# Type of the event entertainment (concert, sports event etc)
|
2645
|
+
attr_accessor :genre
|
2646
|
+
# The name of the event.
|
2647
|
+
attr_accessor :name
|
2648
|
+
# Event start time. Measured in seconds since the Unix epoch.
|
2649
|
+
attr_accessor :starts_at
|
2650
|
+
|
2651
|
+
def initialize(
|
2652
|
+
access_controlled_venue: nil,
|
2653
|
+
address: nil,
|
2654
|
+
affiliate: nil,
|
2655
|
+
company: nil,
|
2656
|
+
delivery: nil,
|
2657
|
+
ends_at: nil,
|
2658
|
+
genre: nil,
|
2659
|
+
name: nil,
|
2660
|
+
starts_at: nil
|
2661
|
+
)
|
2662
|
+
@access_controlled_venue = access_controlled_venue
|
2663
|
+
@address = address
|
2664
|
+
@affiliate = affiliate
|
2665
|
+
@company = company
|
2666
|
+
@delivery = delivery
|
2667
|
+
@ends_at = ends_at
|
2668
|
+
@genre = genre
|
2669
|
+
@name = name
|
2670
|
+
@starts_at = starts_at
|
2671
|
+
end
|
2672
|
+
end
|
2673
|
+
|
2674
|
+
class Flight < Stripe::RequestParams
|
2675
|
+
class Affiliate < Stripe::RequestParams
|
2676
|
+
# The name of the affiliate that originated the purchase.
|
2677
|
+
attr_accessor :name
|
2678
|
+
|
2679
|
+
def initialize(name: nil)
|
2680
|
+
@name = name
|
2681
|
+
end
|
2682
|
+
end
|
2683
|
+
|
2684
|
+
class Delivery < Stripe::RequestParams
|
2685
|
+
class Recipient < Stripe::RequestParams
|
2686
|
+
# The email of the recipient the ticket is delivered to.
|
2687
|
+
attr_accessor :email
|
2688
|
+
# The name of the recipient the ticket is delivered to.
|
2689
|
+
attr_accessor :name
|
2690
|
+
# The phone number of the recipient the ticket is delivered to.
|
2691
|
+
attr_accessor :phone
|
2692
|
+
|
2693
|
+
def initialize(email: nil, name: nil, phone: nil)
|
2694
|
+
@email = email
|
2695
|
+
@name = name
|
2696
|
+
@phone = phone
|
2697
|
+
end
|
2698
|
+
end
|
2699
|
+
# The delivery method for the payment
|
2700
|
+
attr_accessor :mode
|
2701
|
+
# Details of the recipient.
|
2702
|
+
attr_accessor :recipient
|
2703
|
+
|
2704
|
+
def initialize(mode: nil, recipient: nil)
|
2705
|
+
@mode = mode
|
2706
|
+
@recipient = recipient
|
2707
|
+
end
|
2708
|
+
end
|
2709
|
+
|
2710
|
+
class Passenger < Stripe::RequestParams
|
2711
|
+
# Full name of the person or entity on the flight reservation.
|
2712
|
+
attr_accessor :name
|
2713
|
+
|
2714
|
+
def initialize(name: nil)
|
2715
|
+
@name = name
|
2716
|
+
end
|
2717
|
+
end
|
2718
|
+
|
2719
|
+
class Segment < Stripe::RequestParams
|
2720
|
+
# The flight segment amount.
|
2721
|
+
attr_accessor :amount
|
2722
|
+
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
2723
|
+
attr_accessor :arrival_airport
|
2724
|
+
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
2725
|
+
attr_accessor :arrives_at
|
2726
|
+
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
2727
|
+
attr_accessor :carrier
|
2728
|
+
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
2729
|
+
attr_accessor :departs_at
|
2730
|
+
# The International Air Transport Association (IATA) airport code for the departure airport.
|
2731
|
+
attr_accessor :departure_airport
|
2732
|
+
# The flight number associated with the segment
|
2733
|
+
attr_accessor :flight_number
|
2734
|
+
# The fare class for the segment.
|
2735
|
+
attr_accessor :service_class
|
2736
|
+
|
2737
|
+
def initialize(
|
2738
|
+
amount: nil,
|
2739
|
+
arrival_airport: nil,
|
2740
|
+
arrives_at: nil,
|
2741
|
+
carrier: nil,
|
2742
|
+
departs_at: nil,
|
2743
|
+
departure_airport: nil,
|
2744
|
+
flight_number: nil,
|
2745
|
+
service_class: nil
|
2746
|
+
)
|
2747
|
+
@amount = amount
|
2748
|
+
@arrival_airport = arrival_airport
|
2749
|
+
@arrives_at = arrives_at
|
2750
|
+
@carrier = carrier
|
2751
|
+
@departs_at = departs_at
|
2752
|
+
@departure_airport = departure_airport
|
2753
|
+
@flight_number = flight_number
|
2754
|
+
@service_class = service_class
|
2755
|
+
end
|
2756
|
+
end
|
2757
|
+
# Affiliate details for this purchase.
|
2758
|
+
attr_accessor :affiliate
|
2759
|
+
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
2760
|
+
attr_accessor :agency_number
|
2761
|
+
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
2762
|
+
attr_accessor :carrier
|
2763
|
+
# Delivery details for this purchase.
|
2764
|
+
attr_accessor :delivery
|
2765
|
+
# The name of the person or entity on the reservation.
|
2766
|
+
attr_accessor :passenger_name
|
2767
|
+
# The details of the passengers in the travel reservation.
|
2768
|
+
attr_accessor :passengers
|
2769
|
+
# The individual flight segments associated with the trip.
|
2770
|
+
attr_accessor :segments
|
2771
|
+
# The ticket number associated with the travel reservation.
|
2772
|
+
attr_accessor :ticket_number
|
2773
|
+
|
2774
|
+
def initialize(
|
2775
|
+
affiliate: nil,
|
2776
|
+
agency_number: nil,
|
2777
|
+
carrier: nil,
|
2778
|
+
delivery: nil,
|
2779
|
+
passenger_name: nil,
|
2780
|
+
passengers: nil,
|
2781
|
+
segments: nil,
|
2782
|
+
ticket_number: nil
|
2783
|
+
)
|
2784
|
+
@affiliate = affiliate
|
2785
|
+
@agency_number = agency_number
|
2786
|
+
@carrier = carrier
|
2787
|
+
@delivery = delivery
|
2788
|
+
@passenger_name = passenger_name
|
2789
|
+
@passengers = passengers
|
2790
|
+
@segments = segments
|
2791
|
+
@ticket_number = ticket_number
|
2792
|
+
end
|
2793
|
+
end
|
2794
|
+
|
2795
|
+
class Lodging < Stripe::RequestParams
|
2796
|
+
class Address < Stripe::RequestParams
|
2797
|
+
# City, district, suburb, town, or village.
|
2798
|
+
attr_accessor :city
|
2799
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2800
|
+
attr_accessor :country
|
2801
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
2802
|
+
attr_accessor :line1
|
2803
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2804
|
+
attr_accessor :line2
|
2805
|
+
# ZIP or postal code.
|
2806
|
+
attr_accessor :postal_code
|
2807
|
+
# State, county, province, or region.
|
2808
|
+
attr_accessor :state
|
2809
|
+
|
2810
|
+
def initialize(
|
2811
|
+
city: nil,
|
2812
|
+
country: nil,
|
2813
|
+
line1: nil,
|
2814
|
+
line2: nil,
|
2815
|
+
postal_code: nil,
|
2816
|
+
state: nil
|
2817
|
+
)
|
2818
|
+
@city = city
|
2819
|
+
@country = country
|
2820
|
+
@line1 = line1
|
2821
|
+
@line2 = line2
|
2822
|
+
@postal_code = postal_code
|
2823
|
+
@state = state
|
2824
|
+
end
|
2825
|
+
end
|
2826
|
+
|
2827
|
+
class Affiliate < Stripe::RequestParams
|
2828
|
+
# The name of the affiliate that originated the purchase.
|
2829
|
+
attr_accessor :name
|
2830
|
+
|
2831
|
+
def initialize(name: nil)
|
2832
|
+
@name = name
|
2833
|
+
end
|
2834
|
+
end
|
2835
|
+
|
2836
|
+
class Delivery < Stripe::RequestParams
|
2837
|
+
class Recipient < Stripe::RequestParams
|
2838
|
+
# The email of the recipient the ticket is delivered to.
|
2839
|
+
attr_accessor :email
|
2840
|
+
# The name of the recipient the ticket is delivered to.
|
2841
|
+
attr_accessor :name
|
2842
|
+
# The phone number of the recipient the ticket is delivered to.
|
2843
|
+
attr_accessor :phone
|
2844
|
+
|
2845
|
+
def initialize(email: nil, name: nil, phone: nil)
|
2846
|
+
@email = email
|
2847
|
+
@name = name
|
2848
|
+
@phone = phone
|
2849
|
+
end
|
2850
|
+
end
|
2851
|
+
# The delivery method for the payment
|
2852
|
+
attr_accessor :mode
|
2853
|
+
# Details of the recipient.
|
2854
|
+
attr_accessor :recipient
|
2855
|
+
|
2856
|
+
def initialize(mode: nil, recipient: nil)
|
2857
|
+
@mode = mode
|
2858
|
+
@recipient = recipient
|
2859
|
+
end
|
2860
|
+
end
|
2861
|
+
|
2862
|
+
class Passenger < Stripe::RequestParams
|
2863
|
+
# Full name of the person or entity on the lodging reservation.
|
2864
|
+
attr_accessor :name
|
2865
|
+
|
2866
|
+
def initialize(name: nil)
|
2867
|
+
@name = name
|
2868
|
+
end
|
2869
|
+
end
|
2870
|
+
# The lodging location's address.
|
2871
|
+
attr_accessor :address
|
2872
|
+
# The number of adults on the booking
|
2873
|
+
attr_accessor :adults
|
2874
|
+
# Affiliate details for this purchase.
|
2875
|
+
attr_accessor :affiliate
|
2876
|
+
# The booking number associated with the lodging reservation.
|
2877
|
+
attr_accessor :booking_number
|
2878
|
+
# The lodging category
|
2879
|
+
attr_accessor :category
|
2880
|
+
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
2881
|
+
attr_accessor :checkin_at
|
2882
|
+
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
2883
|
+
attr_accessor :checkout_at
|
2884
|
+
# The customer service phone number of the lodging company.
|
2885
|
+
attr_accessor :customer_service_phone_number
|
2886
|
+
# The daily lodging room rate.
|
2887
|
+
attr_accessor :daily_room_rate_amount
|
2888
|
+
# Delivery details for this purchase.
|
2889
|
+
attr_accessor :delivery
|
2890
|
+
# List of additional charges being billed.
|
2891
|
+
attr_accessor :extra_charges
|
2892
|
+
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
2893
|
+
attr_accessor :fire_safety_act_compliance
|
2894
|
+
# The name of the lodging location.
|
2895
|
+
attr_accessor :name
|
2896
|
+
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
2897
|
+
attr_accessor :no_show
|
2898
|
+
# The number of rooms on the booking
|
2899
|
+
attr_accessor :number_of_rooms
|
2900
|
+
# The details of the passengers in the travel reservation
|
2901
|
+
attr_accessor :passengers
|
2902
|
+
# The phone number of the lodging location.
|
2903
|
+
attr_accessor :property_phone_number
|
2904
|
+
# The room class for this purchase.
|
2905
|
+
attr_accessor :room_class
|
2906
|
+
# The number of room nights
|
2907
|
+
attr_accessor :room_nights
|
2908
|
+
# The total tax amount associating with the room reservation.
|
2909
|
+
attr_accessor :total_room_tax_amount
|
2910
|
+
# The total tax amount
|
2911
|
+
attr_accessor :total_tax_amount
|
2912
|
+
|
2913
|
+
def initialize(
|
2914
|
+
address: nil,
|
2915
|
+
adults: nil,
|
2916
|
+
affiliate: nil,
|
2917
|
+
booking_number: nil,
|
2918
|
+
category: nil,
|
2919
|
+
checkin_at: nil,
|
2920
|
+
checkout_at: nil,
|
2921
|
+
customer_service_phone_number: nil,
|
2922
|
+
daily_room_rate_amount: nil,
|
2923
|
+
delivery: nil,
|
2924
|
+
extra_charges: nil,
|
2925
|
+
fire_safety_act_compliance: nil,
|
2926
|
+
name: nil,
|
2927
|
+
no_show: nil,
|
2928
|
+
number_of_rooms: nil,
|
2929
|
+
passengers: nil,
|
2930
|
+
property_phone_number: nil,
|
2931
|
+
room_class: nil,
|
2932
|
+
room_nights: nil,
|
2933
|
+
total_room_tax_amount: nil,
|
2934
|
+
total_tax_amount: nil
|
2935
|
+
)
|
2936
|
+
@address = address
|
2937
|
+
@adults = adults
|
2938
|
+
@affiliate = affiliate
|
2939
|
+
@booking_number = booking_number
|
2940
|
+
@category = category
|
2941
|
+
@checkin_at = checkin_at
|
2942
|
+
@checkout_at = checkout_at
|
2943
|
+
@customer_service_phone_number = customer_service_phone_number
|
2944
|
+
@daily_room_rate_amount = daily_room_rate_amount
|
2945
|
+
@delivery = delivery
|
2946
|
+
@extra_charges = extra_charges
|
2947
|
+
@fire_safety_act_compliance = fire_safety_act_compliance
|
2948
|
+
@name = name
|
2949
|
+
@no_show = no_show
|
2950
|
+
@number_of_rooms = number_of_rooms
|
2951
|
+
@passengers = passengers
|
2952
|
+
@property_phone_number = property_phone_number
|
2953
|
+
@room_class = room_class
|
2954
|
+
@room_nights = room_nights
|
2955
|
+
@total_room_tax_amount = total_room_tax_amount
|
2956
|
+
@total_tax_amount = total_tax_amount
|
2957
|
+
end
|
2958
|
+
end
|
2959
|
+
|
2960
|
+
class Subscription < Stripe::RequestParams
|
2961
|
+
class Affiliate < Stripe::RequestParams
|
2962
|
+
# The name of the affiliate that originated the purchase.
|
2963
|
+
attr_accessor :name
|
2964
|
+
|
2965
|
+
def initialize(name: nil)
|
2966
|
+
@name = name
|
2967
|
+
end
|
2968
|
+
end
|
2969
|
+
|
2970
|
+
class BillingInterval < Stripe::RequestParams
|
2971
|
+
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
2972
|
+
attr_accessor :count
|
2973
|
+
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
2974
|
+
attr_accessor :interval
|
2975
|
+
|
2976
|
+
def initialize(count: nil, interval: nil)
|
2977
|
+
@count = count
|
2978
|
+
@interval = interval
|
2979
|
+
end
|
2980
|
+
end
|
2981
|
+
# Affiliate details for this purchase.
|
2982
|
+
attr_accessor :affiliate
|
2983
|
+
# Info whether the subscription will be auto renewed upon expiry.
|
2984
|
+
attr_accessor :auto_renewal
|
2985
|
+
# Subscription billing details for this purchase.
|
2986
|
+
attr_accessor :billing_interval
|
2987
|
+
# Subscription end time. Measured in seconds since the Unix epoch.
|
2988
|
+
attr_accessor :ends_at
|
2989
|
+
# Name of the product on subscription. e.g. Apple Music Subscription
|
2990
|
+
attr_accessor :name
|
2991
|
+
# Subscription start time. Measured in seconds since the Unix epoch.
|
2992
|
+
attr_accessor :starts_at
|
2993
|
+
|
2994
|
+
def initialize(
|
2995
|
+
affiliate: nil,
|
2996
|
+
auto_renewal: nil,
|
2997
|
+
billing_interval: nil,
|
2998
|
+
ends_at: nil,
|
2999
|
+
name: nil,
|
3000
|
+
starts_at: nil
|
3001
|
+
)
|
3002
|
+
@affiliate = affiliate
|
3003
|
+
@auto_renewal = auto_renewal
|
3004
|
+
@billing_interval = billing_interval
|
3005
|
+
@ends_at = ends_at
|
3006
|
+
@name = name
|
3007
|
+
@starts_at = starts_at
|
3008
|
+
end
|
3009
|
+
end
|
3010
|
+
# Car rental details for this PaymentIntent.
|
3011
|
+
attr_accessor :car_rental
|
3012
|
+
# Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
|
3013
|
+
attr_accessor :customer_reference
|
3014
|
+
# Event details for this PaymentIntent
|
3015
|
+
attr_accessor :event_details
|
3016
|
+
# Flight reservation details for this PaymentIntent
|
3017
|
+
attr_accessor :flight
|
3018
|
+
# Lodging reservation details for this PaymentIntent
|
3019
|
+
attr_accessor :lodging
|
3020
|
+
# A unique value assigned by the business to identify the transaction.
|
3021
|
+
attr_accessor :order_reference
|
3022
|
+
# Subscription details for this PaymentIntent
|
3023
|
+
attr_accessor :subscription
|
3024
|
+
|
3025
|
+
def initialize(
|
3026
|
+
car_rental: nil,
|
3027
|
+
customer_reference: nil,
|
3028
|
+
event_details: nil,
|
3029
|
+
flight: nil,
|
3030
|
+
lodging: nil,
|
3031
|
+
order_reference: nil,
|
3032
|
+
subscription: nil
|
3033
|
+
)
|
3034
|
+
@car_rental = car_rental
|
3035
|
+
@customer_reference = customer_reference
|
3036
|
+
@event_details = event_details
|
3037
|
+
@flight = flight
|
3038
|
+
@lodging = lodging
|
3039
|
+
@order_reference = order_reference
|
3040
|
+
@subscription = subscription
|
3041
|
+
end
|
3042
|
+
end
|
3043
|
+
|
1510
3044
|
class TransferData < Stripe::RequestParams
|
1511
3045
|
# The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
|
1512
3046
|
attr_accessor :amount
|
@@ -1523,6 +3057,8 @@ module Stripe
|
|
1523
3057
|
attr_accessor :application_fee_amount
|
1524
3058
|
# Specifies which fields in the response should be expanded.
|
1525
3059
|
attr_accessor :expand
|
3060
|
+
# Provides industry-specific information about the charge.
|
3061
|
+
attr_accessor :payment_details
|
1526
3062
|
# 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.
|
1527
3063
|
attr_accessor :receipt_email
|
1528
3064
|
# 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).
|
@@ -1541,6 +3077,7 @@ module Stripe
|
|
1541
3077
|
application_fee: nil,
|
1542
3078
|
application_fee_amount: nil,
|
1543
3079
|
expand: nil,
|
3080
|
+
payment_details: nil,
|
1544
3081
|
receipt_email: nil,
|
1545
3082
|
statement_descriptor: nil,
|
1546
3083
|
statement_descriptor_suffix: nil,
|
@@ -1551,6 +3088,7 @@ module Stripe
|
|
1551
3088
|
@application_fee = application_fee
|
1552
3089
|
@application_fee_amount = application_fee_amount
|
1553
3090
|
@expand = expand
|
3091
|
+
@payment_details = payment_details
|
1554
3092
|
@receipt_email = receipt_email
|
1555
3093
|
@statement_descriptor = statement_descriptor
|
1556
3094
|
@statement_descriptor_suffix = statement_descriptor_suffix
|