stripe 15.0.0 → 15.1.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/CHANGELOG.md +1559 -676
- data/Gemfile +1 -1
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/api_operations/nested_resource.rb +35 -35
- data/lib/stripe/api_requestor.rb +29 -1
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/connection_manager.rb +1 -3
- data/lib/stripe/errors.rb +54 -0
- data/lib/stripe/event_types.rb +75 -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_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_completed_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_money_management_financial_account_created_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_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_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/oauth.rb +1 -1
- data/lib/stripe/object_types.rb +53 -0
- data/lib/stripe/resources/account.rb +714 -3
- data/lib/stripe/resources/account_notice.rb +123 -0
- data/lib/stripe/resources/account_session.rb +299 -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_error_report.rb +59 -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 +1472 -0
- data/lib/stripe/resources/checkout/session.rb +368 -9
- data/lib/stripe/resources/confirmation_token.rb +243 -4
- data/lib/stripe/resources/coupon.rb +31 -2
- data/lib/stripe/resources/credit_note.rb +10 -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/event.rb +33 -0
- data/lib/stripe/resources/financial_connections/account.rb +20 -1
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +27 -0
- data/lib/stripe/resources/financial_connections/institution.rb +90 -0
- data/lib/stripe/resources/financial_connections/session.rb +62 -2
- data/lib/stripe/resources/funding_instructions.rb +1 -1
- data/lib/stripe/resources/fx_quote.rb +184 -0
- data/lib/stripe/resources/gift_cards/card.rb +208 -0
- data/lib/stripe/resources/gift_cards/transaction.rb +272 -0
- data/lib/stripe/resources/identity/verification_session.rb +10 -0
- data/lib/stripe/resources/invoice.rb +1124 -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 +2 -53
- 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/login_link.rb +2 -1
- data/lib/stripe/resources/mandate.rb +24 -0
- data/lib/stripe/resources/margin.rb +115 -0
- data/lib/stripe/resources/order.rb +2859 -0
- data/lib/stripe/resources/payment_attempt_record.rb +1078 -0
- data/lib/stripe/resources/payment_intent.rb +5540 -654
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +65 -0
- data/lib/stripe/resources/payment_method.rb +209 -6
- data/lib/stripe/resources/payment_method_configuration.rb +354 -0
- data/lib/stripe/resources/payment_method_domain.rb +13 -0
- data/lib/stripe/resources/payment_record.rb +1607 -0
- data/lib/stripe/resources/payout.rb +6 -0
- data/lib/stripe/resources/person.rb +25 -1
- data/lib/stripe/resources/price.rb +30 -0
- data/lib/stripe/resources/privacy/redaction_job.rb +254 -0
- data/lib/stripe/resources/privacy/redaction_job_root_objects.rb +35 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +25 -0
- data/lib/stripe/resources/product.rb +59 -0
- data/lib/stripe/resources/promotion_code.rb +10 -0
- data/lib/stripe/resources/quote.rb +2042 -6
- data/lib/stripe/resources/quote_line.rb +274 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +663 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +337 -0
- data/lib/stripe/resources/refund.rb +11 -0
- data/lib/stripe/resources/setup_attempt.rb +21 -0
- data/lib/stripe/resources/setup_intent.rb +617 -21
- data/lib/stripe/resources/source.rb +29 -0
- data/lib/stripe/resources/subscription.rb +292 -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 +89 -0
- data/lib/stripe/resources/tax/form.rb +211 -0
- data/lib/stripe/resources/tax/registration.rb +180 -0
- data/lib/stripe/resources/tax_id.rb +12 -2
- data/lib/stripe/resources/terminal/reader.rb +406 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +31 -0
- data/lib/stripe/resources/token.rb +61 -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_payment.rb +4 -1
- 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 +1715 -0
- data/lib/stripe/resources/v2/core/account_link.rb +54 -0
- data/lib/stripe/resources/v2/core/person.rb +272 -0
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +72 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +37 -0
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +18 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +20 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +49 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +56 -0
- data/lib/stripe/resources/v2/money_management/financial_address.rb +66 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +92 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +127 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +74 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +43 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +115 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +73 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +47 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +134 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +106 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +76 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +66 -0
- data/lib/stripe/resources.rb +90 -0
- data/lib/stripe/services/account_notice_service.rb +101 -0
- data/lib/stripe/services/account_person_service.rb +84 -0
- data/lib/stripe/services/account_service.rb +609 -2
- data/lib/stripe/services/account_session_service.rb +269 -1
- data/lib/stripe/services/application_fee_service.rb +1 -1
- data/lib/stripe/services/apps_service.rb +1 -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_service.rb +1 -1
- data/lib/stripe/services/billing_portal/session_service.rb +4 -0
- data/lib/stripe/services/billing_portal_service.rb +1 -1
- data/lib/stripe/services/billing_service.rb +1 -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 +1350 -0
- data/lib/stripe/services/checkout/session_service.rb +269 -7
- data/lib/stripe/services/checkout_service.rb +1 -1
- data/lib/stripe/services/climate_service.rb +1 -1
- data/lib/stripe/services/coupon_service.rb +17 -1
- data/lib/stripe/services/credit_note_service.rb +5 -1
- data/lib/stripe/services/customer_service.rb +1 -1
- data/lib/stripe/services/customer_session_service.rb +4 -1
- data/lib/stripe/services/entitlements_service.rb +1 -1
- data/{rbi/stripe/services/account_external_account_service.rbi → lib/stripe/services/external_account_service.rb} +135 -123
- 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 +8 -3
- 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 +3 -2
- data/lib/stripe/services/forwarding_service.rb +1 -1
- data/lib/stripe/services/fx_quote_service.rb +123 -0
- data/lib/stripe/services/gift_cards/card_service.rb +170 -0
- data/lib/stripe/services/gift_cards/transaction_service.rb +209 -0
- data/lib/stripe/services/gift_cards_service.rb +14 -0
- data/lib/stripe/services/identity/verification_session_service.rb +8 -0
- data/lib/stripe/services/identity_service.rb +1 -1
- 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_service.rb +1053 -17
- 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 +6 -2
- 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 +2268 -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 +4711 -278
- data/lib/stripe/services/payment_link_service.rb +1 -1
- data/lib/stripe/services/payment_method_configuration_service.rb +252 -0
- data/lib/stripe/services/payment_method_service.rb +137 -6
- 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 +231 -0
- data/{rbi/stripe/services/climate/product_service.rbi → lib/stripe/services/privacy/redaction_job_validation_error_service.rb} +36 -25
- data/lib/stripe/services/privacy_service.rb +13 -0
- data/lib/stripe/services/product_service.rb +39 -1
- 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 +1727 -8
- data/lib/stripe/services/radar_service.rb +1 -1
- data/lib/stripe/services/reporting_service.rb +1 -1
- data/lib/stripe/services/setup_intent_service.rb +577 -21
- data/lib/stripe/services/sigma_service.rb +1 -1
- data/lib/stripe/services/source_service.rb +1 -1
- 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 +253 -9
- data/lib/stripe/services/tax/association_service.rb +31 -0
- data/lib/stripe/services/tax/calculation_service.rb +1 -1
- data/lib/stripe/services/tax/form_service.rb +100 -0
- data/lib/stripe/services/tax/registration_service.rb +117 -0
- data/lib/stripe/services/tax/transaction_service.rb +1 -1
- data/lib/stripe/services/tax_id_service.rb +8 -2
- data/lib/stripe/services/tax_service.rb +4 -2
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +28 -0
- data/lib/stripe/services/terminal/reader_service.rb +180 -0
- data/lib/stripe/services/terminal_service.rb +3 -2
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +155 -4
- data/lib/stripe/services/test_helpers/issuing_service.rb +1 -1
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +43 -0
- data/lib/stripe/services/test_helpers/terminal_service.rb +1 -1
- 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/test_helpers/treasury_service.rb +1 -1
- data/lib/stripe/services/test_helpers_service.rb +1 -1
- data/lib/stripe/services/token_service.rb +61 -0
- data/lib/stripe/services/transfer_service.rb +5 -1
- data/lib/stripe/services/treasury/financial_account_features_service.rb +4 -1
- data/lib/stripe/services/treasury/financial_account_service.rb +17 -3
- data/lib/stripe/services/treasury/outbound_payment_service.rb +4 -1
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +24 -0
- data/lib/stripe/services/treasury_service.rb +1 -1
- data/lib/stripe/services/v1_services.rb +13 -3
- data/lib/stripe/services/v2/billing_service.rb +1 -1
- data/lib/stripe/services/v2/core/account_link_service.rb +76 -0
- data/lib/stripe/services/v2/core/account_service.rb +4130 -0
- data/lib/stripe/services/v2/core/accounts/person_service.rb +1040 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +135 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +109 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +5 -2
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +75 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +44 -0
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +81 -0
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +126 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +80 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +202 -0
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +237 -0
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +174 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +95 -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 +71 -0
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +44 -0
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +70 -0
- data/lib/stripe/services/v2/money_management/transaction_service.rb +74 -0
- data/lib/stripe/services/v2/money_management_service.rb +31 -0
- data/lib/stripe/services/v2/test_helper_service.rb +15 -0
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +50 -0
- data/lib/stripe/services/v2_services.rb +5 -3
- data/lib/stripe/services.rb +54 -1
- 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 +191592 -0
- data/stripe.gemspec +4 -1
- metadata +149 -325
- data/lib/stripe/services/invoice_payment_service.rb +0 -83
- data/rbi/stripe/resources/account.rbi +0 -4840
- data/rbi/stripe/resources/account_link.rbi +0 -74
- data/rbi/stripe/resources/account_session.rbi +0 -894
- data/rbi/stripe/resources/apple_pay_domain.rbi +0 -90
- 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 -180
- data/rbi/stripe/resources/balance_transaction.rbi +0 -144
- 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 -645
- 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 -2054
- data/rbi/stripe/resources/checkout/session.rbi +0 -3951
- 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 -1793
- 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 -252
- data/rbi/stripe/resources/credit_note.rbi +0 -747
- data/rbi/stripe/resources/credit_note_line_item.rbi +0 -101
- data/rbi/stripe/resources/customer.rbi +0 -1009
- 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 -146
- 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 -351
- data/rbi/stripe/resources/identity/verification_session.rbi +0 -517
- data/rbi/stripe/resources/invoice.rbi +0 -3733
- data/rbi/stripe/resources/invoice_item.rbi +0 -475
- data/rbi/stripe/resources/invoice_line_item.rbi +0 -432
- data/rbi/stripe/resources/invoice_payment.rbi +0 -114
- 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 -18
- data/rbi/stripe/resources/mandate.rbi +0 -187
- data/rbi/stripe/resources/payment_intent.rbi +0 -9731
- data/rbi/stripe/resources/payment_link.rbi +0 -1801
- data/rbi/stripe/resources/payment_method.rbi +0 -1822
- data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3154
- data/rbi/stripe/resources/payment_method_domain.rbi +0 -212
- data/rbi/stripe/resources/payout.rbi +0 -300
- data/rbi/stripe/resources/person.rbi +0 -371
- data/rbi/stripe/resources/plan.rbi +0 -373
- data/rbi/stripe/resources/price.rbi +0 -694
- data/rbi/stripe/resources/product.rbi +0 -557
- 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 -1123
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -98
- data/rbi/stripe/resources/radar/value_list.rbi +0 -170
- data/rbi/stripe/resources/radar/value_list_item.rbi +0 -131
- data/rbi/stripe/resources/refund.rbi +0 -516
- 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 -3860
- 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 -1964
- data/rbi/stripe/resources/subscription_item.rbi +0 -370
- data/rbi/stripe/resources/subscription_schedule.rbi +0 -1495
- data/rbi/stripe/resources/tax/calculation.rbi +0 -474
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -88
- data/rbi/stripe/resources/tax/registration.rbi +0 -2485
- 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 -167
- data/rbi/stripe/resources/tax_rate.rbi +0 -239
- data/rbi/stripe/resources/terminal/configuration.rbi +0 -1388
- data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
- data/rbi/stripe/resources/terminal/location.rbi +0 -224
- data/rbi/stripe/resources/terminal/reader.rbi +0 -587
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -134
- data/rbi/stripe/resources/token.rbi +0 -1217
- 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 -865
- 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 -170
- data/rbi/stripe/services/account_capability_service.rbi +0 -51
- data/rbi/stripe/services/account_link_service.rbi +0 -58
- data/rbi/stripe/services/account_login_link_service.rbi +0 -22
- data/rbi/stripe/services/account_person_service.rbi +0 -923
- data/rbi/stripe/services/account_service.rbi +0 -4143
- data/rbi/stripe/services/account_session_service.rbi +0 -572
- data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -78
- 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 -511
- 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 -2585
- data/rbi/stripe/services/checkout_service.rbi +0 -9
- data/rbi/stripe/services/climate/order_service.rbi +0 -142
- 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 -196
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
- data/rbi/stripe/services/credit_note_service.rbi +0 -416
- 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 -651
- data/rbi/stripe/services/customer_session_service.rbi +0 -116
- data/rbi/stripe/services/customer_tax_id_service.rbi +0 -72
- 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 -323
- data/rbi/stripe/services/identity_service.rbi +0 -10
- data/rbi/stripe/services/invoice_item_service.rbi +0 -368
- 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 -2920
- 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 -7759
- data/rbi/stripe/services/payment_link_service.rbi +0 -1352
- data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2211
- data/rbi/stripe/services/payment_method_domain_service.rbi +0 -112
- data/rbi/stripe/services/payment_method_service.rbi +0 -840
- data/rbi/stripe/services/payout_service.rbi +0 -205
- data/rbi/stripe/services/plan_service.rbi +0 -284
- data/rbi/stripe/services/price_service.rbi +0 -546
- data/rbi/stripe/services/product_feature_service.rbi +0 -69
- data/rbi/stripe/services/product_service.rbi +0 -479
- 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 -686
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -85
- data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -111
- data/rbi/stripe/services/radar/value_list_service.rbi +0 -143
- 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 -3596
- 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 -324
- data/rbi/stripe/services/subscription_schedule_service.rbi +0 -1192
- data/rbi/stripe/services/subscription_service.rbi +0 -1596
- data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -33
- data/rbi/stripe/services/tax/calculation_service.rbi +0 -230
- data/rbi/stripe/services/tax/registration_service.rbi +0 -1689
- 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 -112
- 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 -1120
- data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
- data/rbi/stripe/services/terminal/location_service.rbi +0 -184
- data/rbi/stripe/services/terminal/reader_service.rbi +0 -344
- 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 -62
- data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -92
- 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 -1189
- 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 -562
- 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 -20
- 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 -200
- data/rbi/stripe/services/v2/core/event_service.rbi +0 -38
- 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 -131
@@ -43,6 +43,8 @@ module Stripe
|
|
43
43
|
attr_reader :name
|
44
44
|
# Billing phone number (including extension).
|
45
45
|
attr_reader :phone
|
46
|
+
# Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
47
|
+
attr_reader :tax_id
|
46
48
|
end
|
47
49
|
|
48
50
|
class FraudDetails < Stripe::StripeObject
|
@@ -182,6 +184,8 @@ module Stripe
|
|
182
184
|
class Card < Stripe::StripeObject
|
183
185
|
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
184
186
|
attr_reader :brand
|
187
|
+
# 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.)
|
188
|
+
attr_reader :brand_product
|
185
189
|
# 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.
|
186
190
|
attr_reader :country
|
187
191
|
# Two-digit number representing the card's expiration month.
|
@@ -267,6 +271,11 @@ module Stripe
|
|
267
271
|
attr_reader :cvc_check
|
268
272
|
end
|
269
273
|
|
274
|
+
class DecrementalAuthorization < Stripe::StripeObject
|
275
|
+
# Indicates whether or not the decremental authorization feature is supported.
|
276
|
+
attr_reader :status
|
277
|
+
end
|
278
|
+
|
270
279
|
class ExtendedAuthorization < Stripe::StripeObject
|
271
280
|
# Indicates whether or not the capture window is extended beyond the standard authorization.
|
272
281
|
attr_reader :status
|
@@ -308,6 +317,11 @@ module Stripe
|
|
308
317
|
attr_reader :status
|
309
318
|
end
|
310
319
|
|
320
|
+
class PartialAuthorization < Stripe::StripeObject
|
321
|
+
# Indicates whether the transaction requested for partial authorization feature and the authorization outcome.
|
322
|
+
attr_reader :status
|
323
|
+
end
|
324
|
+
|
311
325
|
class ThreeDSecure < Stripe::StripeObject
|
312
326
|
# For authenticated transactions: how the customer was authenticated by
|
313
327
|
# the issuing bank.
|
@@ -440,6 +454,8 @@ module Stripe
|
|
440
454
|
end
|
441
455
|
# The authorized amount.
|
442
456
|
attr_reader :amount_authorized
|
457
|
+
# The latest amount intended to be authorized by this charge.
|
458
|
+
attr_reader :amount_requested
|
443
459
|
# Authorization code on the charge.
|
444
460
|
attr_reader :authorization_code
|
445
461
|
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
@@ -450,6 +466,8 @@ module Stripe
|
|
450
466
|
attr_reader :checks
|
451
467
|
# 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.
|
452
468
|
attr_reader :country
|
469
|
+
# Attribute for field decremental_authorization
|
470
|
+
attr_reader :decremental_authorization
|
453
471
|
# 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.)
|
454
472
|
attr_reader :description
|
455
473
|
# Two-digit number representing the card's expiration month.
|
@@ -490,6 +508,8 @@ module Stripe
|
|
490
508
|
attr_reader :network_transaction_id
|
491
509
|
# Attribute for field overcapture
|
492
510
|
attr_reader :overcapture
|
511
|
+
# Attribute for field partial_authorization
|
512
|
+
attr_reader :partial_authorization
|
493
513
|
# Status of a card based on the card issuer.
|
494
514
|
attr_reader :regulated_status
|
495
515
|
# Populated if this transaction used 3D Secure authentication.
|
@@ -625,11 +645,26 @@ module Stripe
|
|
625
645
|
attr_reader :verified_name
|
626
646
|
end
|
627
647
|
|
648
|
+
class Gopay < Stripe::StripeObject; end
|
649
|
+
|
628
650
|
class Grabpay < Stripe::StripeObject
|
629
651
|
# Unique transaction id generated by GrabPay
|
630
652
|
attr_reader :transaction_id
|
631
653
|
end
|
632
654
|
|
655
|
+
class IdBankTransfer < Stripe::StripeObject
|
656
|
+
# Account number of the bank account to transfer funds to.
|
657
|
+
attr_reader :account_number
|
658
|
+
# Bank where the account is located.
|
659
|
+
attr_reader :bank
|
660
|
+
# Local bank code of the bank.
|
661
|
+
attr_reader :bank_code
|
662
|
+
# Name of the bank associated with the bank account.
|
663
|
+
attr_reader :bank_name
|
664
|
+
# Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
665
|
+
attr_reader :display_name
|
666
|
+
end
|
667
|
+
|
633
668
|
class Ideal < Stripe::StripeObject
|
634
669
|
# The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
635
670
|
attr_reader :bank
|
@@ -755,6 +790,8 @@ module Stripe
|
|
755
790
|
attr_reader :country
|
756
791
|
end
|
757
792
|
|
793
|
+
class MbWay < Stripe::StripeObject; end
|
794
|
+
|
758
795
|
class Mobilepay < Stripe::StripeObject
|
759
796
|
class Card < Stripe::StripeObject
|
760
797
|
# Brand of the card used in the transaction
|
@@ -834,6 +871,36 @@ module Stripe
|
|
834
871
|
# Indicates whether the transaction is eligible for PayPal's seller protection.
|
835
872
|
attr_reader :status
|
836
873
|
end
|
874
|
+
|
875
|
+
class Shipping < Stripe::StripeObject
|
876
|
+
# City, district, suburb, town, or village.
|
877
|
+
attr_reader :city
|
878
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
879
|
+
attr_reader :country
|
880
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
881
|
+
attr_reader :line1
|
882
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
883
|
+
attr_reader :line2
|
884
|
+
# ZIP or postal code.
|
885
|
+
attr_reader :postal_code
|
886
|
+
# State, county, province, or region.
|
887
|
+
attr_reader :state
|
888
|
+
end
|
889
|
+
|
890
|
+
class VerifiedAddress < Stripe::StripeObject
|
891
|
+
# City, district, suburb, town, or village.
|
892
|
+
attr_reader :city
|
893
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
894
|
+
attr_reader :country
|
895
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
896
|
+
attr_reader :line1
|
897
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
898
|
+
attr_reader :line2
|
899
|
+
# ZIP or postal code.
|
900
|
+
attr_reader :postal_code
|
901
|
+
# State, county, province, or region.
|
902
|
+
attr_reader :state
|
903
|
+
end
|
837
904
|
# 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.
|
838
905
|
attr_reader :country
|
839
906
|
# Owner's email. Values are provided by PayPal directly
|
@@ -846,8 +913,33 @@ module Stripe
|
|
846
913
|
attr_reader :payer_name
|
847
914
|
# The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
|
848
915
|
attr_reader :seller_protection
|
916
|
+
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
917
|
+
# execution. This shipping address will not be updated if the merchant updates the shipping
|
918
|
+
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
919
|
+
attr_reader :shipping
|
849
920
|
# A unique ID generated by PayPal for this transaction.
|
850
921
|
attr_reader :transaction_id
|
922
|
+
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
923
|
+
# execution. This shipping address will not be updated if the merchant updates the shipping
|
924
|
+
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
925
|
+
attr_reader :verified_address
|
926
|
+
# Owner's verified email. Values are verified or provided by PayPal directly
|
927
|
+
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
928
|
+
attr_reader :verified_email
|
929
|
+
# Owner's verified full name. Values are verified or provided by PayPal directly
|
930
|
+
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
931
|
+
attr_reader :verified_name
|
932
|
+
end
|
933
|
+
|
934
|
+
class Payto < Stripe::StripeObject
|
935
|
+
# Bank-State-Branch number of the bank account.
|
936
|
+
attr_reader :bsb_number
|
937
|
+
# Last four digits of the bank account number.
|
938
|
+
attr_reader :last4
|
939
|
+
# ID of the mandate used to make this payment.
|
940
|
+
attr_reader :mandate
|
941
|
+
# The PayID alias for the bank account.
|
942
|
+
attr_reader :pay_id
|
851
943
|
end
|
852
944
|
|
853
945
|
class Pix < Stripe::StripeObject
|
@@ -860,11 +952,16 @@ module Stripe
|
|
860
952
|
attr_reader :reference
|
861
953
|
end
|
862
954
|
|
955
|
+
class Qris < Stripe::StripeObject; end
|
956
|
+
class Rechnung < Stripe::StripeObject; end
|
957
|
+
|
863
958
|
class RevolutPay < Stripe::StripeObject
|
864
959
|
class Funding < Stripe::StripeObject
|
865
960
|
class Card < Stripe::StripeObject
|
866
961
|
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
867
962
|
attr_reader :brand
|
963
|
+
# 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.)
|
964
|
+
attr_reader :brand_product
|
868
965
|
# 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.
|
869
966
|
attr_reader :country
|
870
967
|
# Two-digit number representing the card's expiration month.
|
@@ -916,6 +1013,8 @@ module Stripe
|
|
916
1013
|
attr_reader :mandate
|
917
1014
|
end
|
918
1015
|
|
1016
|
+
class Shopeepay < Stripe::StripeObject; end
|
1017
|
+
|
919
1018
|
class Sofort < Stripe::StripeObject
|
920
1019
|
# Bank code of bank associated with the bank account.
|
921
1020
|
attr_reader :bank_code
|
@@ -941,6 +1040,13 @@ module Stripe
|
|
941
1040
|
|
942
1041
|
class StripeAccount < Stripe::StripeObject; end
|
943
1042
|
|
1043
|
+
class StripeBalance < Stripe::StripeObject
|
1044
|
+
# The connected account ID whose Stripe balance to use as the source of payment
|
1045
|
+
attr_reader :account
|
1046
|
+
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
1047
|
+
attr_reader :source_type
|
1048
|
+
end
|
1049
|
+
|
944
1050
|
class Swish < Stripe::StripeObject
|
945
1051
|
# 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
|
946
1052
|
attr_reader :fingerprint
|
@@ -1023,8 +1129,12 @@ module Stripe
|
|
1023
1129
|
attr_reader :fpx
|
1024
1130
|
# Attribute for field giropay
|
1025
1131
|
attr_reader :giropay
|
1132
|
+
# Attribute for field gopay
|
1133
|
+
attr_reader :gopay
|
1026
1134
|
# Attribute for field grabpay
|
1027
1135
|
attr_reader :grabpay
|
1136
|
+
# Attribute for field id_bank_transfer
|
1137
|
+
attr_reader :id_bank_transfer
|
1028
1138
|
# Attribute for field ideal
|
1029
1139
|
attr_reader :ideal
|
1030
1140
|
# Attribute for field interac_present
|
@@ -1039,6 +1149,8 @@ module Stripe
|
|
1039
1149
|
attr_reader :kr_card
|
1040
1150
|
# Attribute for field link
|
1041
1151
|
attr_reader :link
|
1152
|
+
# Attribute for field mb_way
|
1153
|
+
attr_reader :mb_way
|
1042
1154
|
# Attribute for field mobilepay
|
1043
1155
|
attr_reader :mobilepay
|
1044
1156
|
# Attribute for field multibanco
|
@@ -1059,10 +1171,16 @@ module Stripe
|
|
1059
1171
|
attr_reader :paynow
|
1060
1172
|
# Attribute for field paypal
|
1061
1173
|
attr_reader :paypal
|
1174
|
+
# Attribute for field payto
|
1175
|
+
attr_reader :payto
|
1062
1176
|
# Attribute for field pix
|
1063
1177
|
attr_reader :pix
|
1064
1178
|
# Attribute for field promptpay
|
1065
1179
|
attr_reader :promptpay
|
1180
|
+
# Attribute for field qris
|
1181
|
+
attr_reader :qris
|
1182
|
+
# Attribute for field rechnung
|
1183
|
+
attr_reader :rechnung
|
1066
1184
|
# Attribute for field revolut_pay
|
1067
1185
|
attr_reader :revolut_pay
|
1068
1186
|
# Attribute for field samsung_pay
|
@@ -1073,10 +1191,14 @@ module Stripe
|
|
1073
1191
|
attr_reader :sepa_credit_transfer
|
1074
1192
|
# Attribute for field sepa_debit
|
1075
1193
|
attr_reader :sepa_debit
|
1194
|
+
# Attribute for field shopeepay
|
1195
|
+
attr_reader :shopeepay
|
1076
1196
|
# Attribute for field sofort
|
1077
1197
|
attr_reader :sofort
|
1078
1198
|
# Attribute for field stripe_account
|
1079
1199
|
attr_reader :stripe_account
|
1200
|
+
# Attribute for field stripe_balance
|
1201
|
+
attr_reader :stripe_balance
|
1080
1202
|
# Attribute for field swish
|
1081
1203
|
attr_reader :swish
|
1082
1204
|
# Attribute for field twint
|
@@ -1375,6 +1497,677 @@ module Stripe
|
|
1375
1497
|
end
|
1376
1498
|
end
|
1377
1499
|
|
1500
|
+
class PaymentDetails < Stripe::RequestParams
|
1501
|
+
class CarRental < Stripe::RequestParams
|
1502
|
+
class Affiliate < Stripe::RequestParams
|
1503
|
+
# The name of the affiliate that originated the purchase.
|
1504
|
+
attr_accessor :name
|
1505
|
+
|
1506
|
+
def initialize(name: nil)
|
1507
|
+
@name = name
|
1508
|
+
end
|
1509
|
+
end
|
1510
|
+
|
1511
|
+
class Delivery < Stripe::RequestParams
|
1512
|
+
class Recipient < Stripe::RequestParams
|
1513
|
+
# The email of the recipient the ticket is delivered to.
|
1514
|
+
attr_accessor :email
|
1515
|
+
# The name of the recipient the ticket is delivered to.
|
1516
|
+
attr_accessor :name
|
1517
|
+
# The phone number of the recipient the ticket is delivered to.
|
1518
|
+
attr_accessor :phone
|
1519
|
+
|
1520
|
+
def initialize(email: nil, name: nil, phone: nil)
|
1521
|
+
@email = email
|
1522
|
+
@name = name
|
1523
|
+
@phone = phone
|
1524
|
+
end
|
1525
|
+
end
|
1526
|
+
# The delivery method for the payment
|
1527
|
+
attr_accessor :mode
|
1528
|
+
# Details of the recipient.
|
1529
|
+
attr_accessor :recipient
|
1530
|
+
|
1531
|
+
def initialize(mode: nil, recipient: nil)
|
1532
|
+
@mode = mode
|
1533
|
+
@recipient = recipient
|
1534
|
+
end
|
1535
|
+
end
|
1536
|
+
|
1537
|
+
class Driver < Stripe::RequestParams
|
1538
|
+
# Full name of the person or entity on the car reservation.
|
1539
|
+
attr_accessor :name
|
1540
|
+
|
1541
|
+
def initialize(name: nil)
|
1542
|
+
@name = name
|
1543
|
+
end
|
1544
|
+
end
|
1545
|
+
|
1546
|
+
class PickupAddress < Stripe::RequestParams
|
1547
|
+
# City, district, suburb, town, or village.
|
1548
|
+
attr_accessor :city
|
1549
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1550
|
+
attr_accessor :country
|
1551
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
1552
|
+
attr_accessor :line1
|
1553
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1554
|
+
attr_accessor :line2
|
1555
|
+
# ZIP or postal code.
|
1556
|
+
attr_accessor :postal_code
|
1557
|
+
# State, county, province, or region.
|
1558
|
+
attr_accessor :state
|
1559
|
+
|
1560
|
+
def initialize(
|
1561
|
+
city: nil,
|
1562
|
+
country: nil,
|
1563
|
+
line1: nil,
|
1564
|
+
line2: nil,
|
1565
|
+
postal_code: nil,
|
1566
|
+
state: nil
|
1567
|
+
)
|
1568
|
+
@city = city
|
1569
|
+
@country = country
|
1570
|
+
@line1 = line1
|
1571
|
+
@line2 = line2
|
1572
|
+
@postal_code = postal_code
|
1573
|
+
@state = state
|
1574
|
+
end
|
1575
|
+
end
|
1576
|
+
|
1577
|
+
class ReturnAddress < Stripe::RequestParams
|
1578
|
+
# City, district, suburb, town, or village.
|
1579
|
+
attr_accessor :city
|
1580
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1581
|
+
attr_accessor :country
|
1582
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
1583
|
+
attr_accessor :line1
|
1584
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1585
|
+
attr_accessor :line2
|
1586
|
+
# ZIP or postal code.
|
1587
|
+
attr_accessor :postal_code
|
1588
|
+
# State, county, province, or region.
|
1589
|
+
attr_accessor :state
|
1590
|
+
|
1591
|
+
def initialize(
|
1592
|
+
city: nil,
|
1593
|
+
country: nil,
|
1594
|
+
line1: nil,
|
1595
|
+
line2: nil,
|
1596
|
+
postal_code: nil,
|
1597
|
+
state: nil
|
1598
|
+
)
|
1599
|
+
@city = city
|
1600
|
+
@country = country
|
1601
|
+
@line1 = line1
|
1602
|
+
@line2 = line2
|
1603
|
+
@postal_code = postal_code
|
1604
|
+
@state = state
|
1605
|
+
end
|
1606
|
+
end
|
1607
|
+
# Affiliate details for this purchase.
|
1608
|
+
attr_accessor :affiliate
|
1609
|
+
# The booking number associated with the car rental.
|
1610
|
+
attr_accessor :booking_number
|
1611
|
+
# Class code of the car.
|
1612
|
+
attr_accessor :car_class_code
|
1613
|
+
# Make of the car.
|
1614
|
+
attr_accessor :car_make
|
1615
|
+
# Model of the car.
|
1616
|
+
attr_accessor :car_model
|
1617
|
+
# The name of the rental car company.
|
1618
|
+
attr_accessor :company
|
1619
|
+
# The customer service phone number of the car rental company.
|
1620
|
+
attr_accessor :customer_service_phone_number
|
1621
|
+
# Number of days the car is being rented.
|
1622
|
+
attr_accessor :days_rented
|
1623
|
+
# Delivery details for this purchase.
|
1624
|
+
attr_accessor :delivery
|
1625
|
+
# The details of the passengers in the travel reservation
|
1626
|
+
attr_accessor :drivers
|
1627
|
+
# List of additional charges being billed.
|
1628
|
+
attr_accessor :extra_charges
|
1629
|
+
# Indicates if the customer did not keep nor cancel their booking.
|
1630
|
+
attr_accessor :no_show
|
1631
|
+
# Car pick-up address.
|
1632
|
+
attr_accessor :pickup_address
|
1633
|
+
# Car pick-up time. Measured in seconds since the Unix epoch.
|
1634
|
+
attr_accessor :pickup_at
|
1635
|
+
# Rental rate.
|
1636
|
+
attr_accessor :rate_amount
|
1637
|
+
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
1638
|
+
attr_accessor :rate_interval
|
1639
|
+
# The name of the person or entity renting the car.
|
1640
|
+
attr_accessor :renter_name
|
1641
|
+
# Car return address.
|
1642
|
+
attr_accessor :return_address
|
1643
|
+
# Car return time. Measured in seconds since the Unix epoch.
|
1644
|
+
attr_accessor :return_at
|
1645
|
+
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
1646
|
+
attr_accessor :tax_exempt
|
1647
|
+
|
1648
|
+
def initialize(
|
1649
|
+
affiliate: nil,
|
1650
|
+
booking_number: nil,
|
1651
|
+
car_class_code: nil,
|
1652
|
+
car_make: nil,
|
1653
|
+
car_model: nil,
|
1654
|
+
company: nil,
|
1655
|
+
customer_service_phone_number: nil,
|
1656
|
+
days_rented: nil,
|
1657
|
+
delivery: nil,
|
1658
|
+
drivers: nil,
|
1659
|
+
extra_charges: nil,
|
1660
|
+
no_show: nil,
|
1661
|
+
pickup_address: nil,
|
1662
|
+
pickup_at: nil,
|
1663
|
+
rate_amount: nil,
|
1664
|
+
rate_interval: nil,
|
1665
|
+
renter_name: nil,
|
1666
|
+
return_address: nil,
|
1667
|
+
return_at: nil,
|
1668
|
+
tax_exempt: nil
|
1669
|
+
)
|
1670
|
+
@affiliate = affiliate
|
1671
|
+
@booking_number = booking_number
|
1672
|
+
@car_class_code = car_class_code
|
1673
|
+
@car_make = car_make
|
1674
|
+
@car_model = car_model
|
1675
|
+
@company = company
|
1676
|
+
@customer_service_phone_number = customer_service_phone_number
|
1677
|
+
@days_rented = days_rented
|
1678
|
+
@delivery = delivery
|
1679
|
+
@drivers = drivers
|
1680
|
+
@extra_charges = extra_charges
|
1681
|
+
@no_show = no_show
|
1682
|
+
@pickup_address = pickup_address
|
1683
|
+
@pickup_at = pickup_at
|
1684
|
+
@rate_amount = rate_amount
|
1685
|
+
@rate_interval = rate_interval
|
1686
|
+
@renter_name = renter_name
|
1687
|
+
@return_address = return_address
|
1688
|
+
@return_at = return_at
|
1689
|
+
@tax_exempt = tax_exempt
|
1690
|
+
end
|
1691
|
+
end
|
1692
|
+
|
1693
|
+
class EventDetails < Stripe::RequestParams
|
1694
|
+
class Address < Stripe::RequestParams
|
1695
|
+
# City, district, suburb, town, or village.
|
1696
|
+
attr_accessor :city
|
1697
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1698
|
+
attr_accessor :country
|
1699
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
1700
|
+
attr_accessor :line1
|
1701
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1702
|
+
attr_accessor :line2
|
1703
|
+
# ZIP or postal code.
|
1704
|
+
attr_accessor :postal_code
|
1705
|
+
# State, county, province, or region.
|
1706
|
+
attr_accessor :state
|
1707
|
+
|
1708
|
+
def initialize(
|
1709
|
+
city: nil,
|
1710
|
+
country: nil,
|
1711
|
+
line1: nil,
|
1712
|
+
line2: nil,
|
1713
|
+
postal_code: nil,
|
1714
|
+
state: nil
|
1715
|
+
)
|
1716
|
+
@city = city
|
1717
|
+
@country = country
|
1718
|
+
@line1 = line1
|
1719
|
+
@line2 = line2
|
1720
|
+
@postal_code = postal_code
|
1721
|
+
@state = state
|
1722
|
+
end
|
1723
|
+
end
|
1724
|
+
|
1725
|
+
class Affiliate < Stripe::RequestParams
|
1726
|
+
# The name of the affiliate that originated the purchase.
|
1727
|
+
attr_accessor :name
|
1728
|
+
|
1729
|
+
def initialize(name: nil)
|
1730
|
+
@name = name
|
1731
|
+
end
|
1732
|
+
end
|
1733
|
+
|
1734
|
+
class Delivery < Stripe::RequestParams
|
1735
|
+
class Recipient < Stripe::RequestParams
|
1736
|
+
# The email of the recipient the ticket is delivered to.
|
1737
|
+
attr_accessor :email
|
1738
|
+
# The name of the recipient the ticket is delivered to.
|
1739
|
+
attr_accessor :name
|
1740
|
+
# The phone number of the recipient the ticket is delivered to.
|
1741
|
+
attr_accessor :phone
|
1742
|
+
|
1743
|
+
def initialize(email: nil, name: nil, phone: nil)
|
1744
|
+
@email = email
|
1745
|
+
@name = name
|
1746
|
+
@phone = phone
|
1747
|
+
end
|
1748
|
+
end
|
1749
|
+
# The delivery method for the payment
|
1750
|
+
attr_accessor :mode
|
1751
|
+
# Details of the recipient.
|
1752
|
+
attr_accessor :recipient
|
1753
|
+
|
1754
|
+
def initialize(mode: nil, recipient: nil)
|
1755
|
+
@mode = mode
|
1756
|
+
@recipient = recipient
|
1757
|
+
end
|
1758
|
+
end
|
1759
|
+
# Indicates if the tickets are digitally checked when entering the venue.
|
1760
|
+
attr_accessor :access_controlled_venue
|
1761
|
+
# The event location's address.
|
1762
|
+
attr_accessor :address
|
1763
|
+
# Affiliate details for this purchase.
|
1764
|
+
attr_accessor :affiliate
|
1765
|
+
# The name of the company
|
1766
|
+
attr_accessor :company
|
1767
|
+
# Delivery details for this purchase.
|
1768
|
+
attr_accessor :delivery
|
1769
|
+
# Event end time. Measured in seconds since the Unix epoch.
|
1770
|
+
attr_accessor :ends_at
|
1771
|
+
# Type of the event entertainment (concert, sports event etc)
|
1772
|
+
attr_accessor :genre
|
1773
|
+
# The name of the event.
|
1774
|
+
attr_accessor :name
|
1775
|
+
# Event start time. Measured in seconds since the Unix epoch.
|
1776
|
+
attr_accessor :starts_at
|
1777
|
+
|
1778
|
+
def initialize(
|
1779
|
+
access_controlled_venue: nil,
|
1780
|
+
address: nil,
|
1781
|
+
affiliate: nil,
|
1782
|
+
company: nil,
|
1783
|
+
delivery: nil,
|
1784
|
+
ends_at: nil,
|
1785
|
+
genre: nil,
|
1786
|
+
name: nil,
|
1787
|
+
starts_at: nil
|
1788
|
+
)
|
1789
|
+
@access_controlled_venue = access_controlled_venue
|
1790
|
+
@address = address
|
1791
|
+
@affiliate = affiliate
|
1792
|
+
@company = company
|
1793
|
+
@delivery = delivery
|
1794
|
+
@ends_at = ends_at
|
1795
|
+
@genre = genre
|
1796
|
+
@name = name
|
1797
|
+
@starts_at = starts_at
|
1798
|
+
end
|
1799
|
+
end
|
1800
|
+
|
1801
|
+
class Flight < Stripe::RequestParams
|
1802
|
+
class Affiliate < Stripe::RequestParams
|
1803
|
+
# The name of the affiliate that originated the purchase.
|
1804
|
+
attr_accessor :name
|
1805
|
+
|
1806
|
+
def initialize(name: nil)
|
1807
|
+
@name = name
|
1808
|
+
end
|
1809
|
+
end
|
1810
|
+
|
1811
|
+
class Delivery < Stripe::RequestParams
|
1812
|
+
class Recipient < Stripe::RequestParams
|
1813
|
+
# The email of the recipient the ticket is delivered to.
|
1814
|
+
attr_accessor :email
|
1815
|
+
# The name of the recipient the ticket is delivered to.
|
1816
|
+
attr_accessor :name
|
1817
|
+
# The phone number of the recipient the ticket is delivered to.
|
1818
|
+
attr_accessor :phone
|
1819
|
+
|
1820
|
+
def initialize(email: nil, name: nil, phone: nil)
|
1821
|
+
@email = email
|
1822
|
+
@name = name
|
1823
|
+
@phone = phone
|
1824
|
+
end
|
1825
|
+
end
|
1826
|
+
# The delivery method for the payment
|
1827
|
+
attr_accessor :mode
|
1828
|
+
# Details of the recipient.
|
1829
|
+
attr_accessor :recipient
|
1830
|
+
|
1831
|
+
def initialize(mode: nil, recipient: nil)
|
1832
|
+
@mode = mode
|
1833
|
+
@recipient = recipient
|
1834
|
+
end
|
1835
|
+
end
|
1836
|
+
|
1837
|
+
class Passenger < Stripe::RequestParams
|
1838
|
+
# Full name of the person or entity on the flight reservation.
|
1839
|
+
attr_accessor :name
|
1840
|
+
|
1841
|
+
def initialize(name: nil)
|
1842
|
+
@name = name
|
1843
|
+
end
|
1844
|
+
end
|
1845
|
+
|
1846
|
+
class Segment < Stripe::RequestParams
|
1847
|
+
# The flight segment amount.
|
1848
|
+
attr_accessor :amount
|
1849
|
+
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
1850
|
+
attr_accessor :arrival_airport
|
1851
|
+
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
1852
|
+
attr_accessor :arrives_at
|
1853
|
+
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
1854
|
+
attr_accessor :carrier
|
1855
|
+
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
1856
|
+
attr_accessor :departs_at
|
1857
|
+
# The International Air Transport Association (IATA) airport code for the departure airport.
|
1858
|
+
attr_accessor :departure_airport
|
1859
|
+
# The flight number associated with the segment
|
1860
|
+
attr_accessor :flight_number
|
1861
|
+
# The fare class for the segment.
|
1862
|
+
attr_accessor :service_class
|
1863
|
+
|
1864
|
+
def initialize(
|
1865
|
+
amount: nil,
|
1866
|
+
arrival_airport: nil,
|
1867
|
+
arrives_at: nil,
|
1868
|
+
carrier: nil,
|
1869
|
+
departs_at: nil,
|
1870
|
+
departure_airport: nil,
|
1871
|
+
flight_number: nil,
|
1872
|
+
service_class: nil
|
1873
|
+
)
|
1874
|
+
@amount = amount
|
1875
|
+
@arrival_airport = arrival_airport
|
1876
|
+
@arrives_at = arrives_at
|
1877
|
+
@carrier = carrier
|
1878
|
+
@departs_at = departs_at
|
1879
|
+
@departure_airport = departure_airport
|
1880
|
+
@flight_number = flight_number
|
1881
|
+
@service_class = service_class
|
1882
|
+
end
|
1883
|
+
end
|
1884
|
+
# Affiliate details for this purchase.
|
1885
|
+
attr_accessor :affiliate
|
1886
|
+
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
1887
|
+
attr_accessor :agency_number
|
1888
|
+
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
1889
|
+
attr_accessor :carrier
|
1890
|
+
# Delivery details for this purchase.
|
1891
|
+
attr_accessor :delivery
|
1892
|
+
# The name of the person or entity on the reservation.
|
1893
|
+
attr_accessor :passenger_name
|
1894
|
+
# The details of the passengers in the travel reservation.
|
1895
|
+
attr_accessor :passengers
|
1896
|
+
# The individual flight segments associated with the trip.
|
1897
|
+
attr_accessor :segments
|
1898
|
+
# The ticket number associated with the travel reservation.
|
1899
|
+
attr_accessor :ticket_number
|
1900
|
+
|
1901
|
+
def initialize(
|
1902
|
+
affiliate: nil,
|
1903
|
+
agency_number: nil,
|
1904
|
+
carrier: nil,
|
1905
|
+
delivery: nil,
|
1906
|
+
passenger_name: nil,
|
1907
|
+
passengers: nil,
|
1908
|
+
segments: nil,
|
1909
|
+
ticket_number: nil
|
1910
|
+
)
|
1911
|
+
@affiliate = affiliate
|
1912
|
+
@agency_number = agency_number
|
1913
|
+
@carrier = carrier
|
1914
|
+
@delivery = delivery
|
1915
|
+
@passenger_name = passenger_name
|
1916
|
+
@passengers = passengers
|
1917
|
+
@segments = segments
|
1918
|
+
@ticket_number = ticket_number
|
1919
|
+
end
|
1920
|
+
end
|
1921
|
+
|
1922
|
+
class Lodging < Stripe::RequestParams
|
1923
|
+
class Address < Stripe::RequestParams
|
1924
|
+
# City, district, suburb, town, or village.
|
1925
|
+
attr_accessor :city
|
1926
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1927
|
+
attr_accessor :country
|
1928
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
1929
|
+
attr_accessor :line1
|
1930
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1931
|
+
attr_accessor :line2
|
1932
|
+
# ZIP or postal code.
|
1933
|
+
attr_accessor :postal_code
|
1934
|
+
# State, county, province, or region.
|
1935
|
+
attr_accessor :state
|
1936
|
+
|
1937
|
+
def initialize(
|
1938
|
+
city: nil,
|
1939
|
+
country: nil,
|
1940
|
+
line1: nil,
|
1941
|
+
line2: nil,
|
1942
|
+
postal_code: nil,
|
1943
|
+
state: nil
|
1944
|
+
)
|
1945
|
+
@city = city
|
1946
|
+
@country = country
|
1947
|
+
@line1 = line1
|
1948
|
+
@line2 = line2
|
1949
|
+
@postal_code = postal_code
|
1950
|
+
@state = state
|
1951
|
+
end
|
1952
|
+
end
|
1953
|
+
|
1954
|
+
class Affiliate < Stripe::RequestParams
|
1955
|
+
# The name of the affiliate that originated the purchase.
|
1956
|
+
attr_accessor :name
|
1957
|
+
|
1958
|
+
def initialize(name: nil)
|
1959
|
+
@name = name
|
1960
|
+
end
|
1961
|
+
end
|
1962
|
+
|
1963
|
+
class Delivery < Stripe::RequestParams
|
1964
|
+
class Recipient < Stripe::RequestParams
|
1965
|
+
# The email of the recipient the ticket is delivered to.
|
1966
|
+
attr_accessor :email
|
1967
|
+
# The name of the recipient the ticket is delivered to.
|
1968
|
+
attr_accessor :name
|
1969
|
+
# The phone number of the recipient the ticket is delivered to.
|
1970
|
+
attr_accessor :phone
|
1971
|
+
|
1972
|
+
def initialize(email: nil, name: nil, phone: nil)
|
1973
|
+
@email = email
|
1974
|
+
@name = name
|
1975
|
+
@phone = phone
|
1976
|
+
end
|
1977
|
+
end
|
1978
|
+
# The delivery method for the payment
|
1979
|
+
attr_accessor :mode
|
1980
|
+
# Details of the recipient.
|
1981
|
+
attr_accessor :recipient
|
1982
|
+
|
1983
|
+
def initialize(mode: nil, recipient: nil)
|
1984
|
+
@mode = mode
|
1985
|
+
@recipient = recipient
|
1986
|
+
end
|
1987
|
+
end
|
1988
|
+
|
1989
|
+
class Passenger < Stripe::RequestParams
|
1990
|
+
# Full name of the person or entity on the lodging reservation.
|
1991
|
+
attr_accessor :name
|
1992
|
+
|
1993
|
+
def initialize(name: nil)
|
1994
|
+
@name = name
|
1995
|
+
end
|
1996
|
+
end
|
1997
|
+
# The lodging location's address.
|
1998
|
+
attr_accessor :address
|
1999
|
+
# The number of adults on the booking
|
2000
|
+
attr_accessor :adults
|
2001
|
+
# Affiliate details for this purchase.
|
2002
|
+
attr_accessor :affiliate
|
2003
|
+
# The booking number associated with the lodging reservation.
|
2004
|
+
attr_accessor :booking_number
|
2005
|
+
# The lodging category
|
2006
|
+
attr_accessor :category
|
2007
|
+
# Loding check-in time. Measured in seconds since the Unix epoch.
|
2008
|
+
attr_accessor :checkin_at
|
2009
|
+
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
2010
|
+
attr_accessor :checkout_at
|
2011
|
+
# The customer service phone number of the lodging company.
|
2012
|
+
attr_accessor :customer_service_phone_number
|
2013
|
+
# The daily lodging room rate.
|
2014
|
+
attr_accessor :daily_room_rate_amount
|
2015
|
+
# Delivery details for this purchase.
|
2016
|
+
attr_accessor :delivery
|
2017
|
+
# List of additional charges being billed.
|
2018
|
+
attr_accessor :extra_charges
|
2019
|
+
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
2020
|
+
attr_accessor :fire_safety_act_compliance
|
2021
|
+
# The name of the lodging location.
|
2022
|
+
attr_accessor :name
|
2023
|
+
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
2024
|
+
attr_accessor :no_show
|
2025
|
+
# The number of rooms on the booking
|
2026
|
+
attr_accessor :number_of_rooms
|
2027
|
+
# The details of the passengers in the travel reservation
|
2028
|
+
attr_accessor :passengers
|
2029
|
+
# The phone number of the lodging location.
|
2030
|
+
attr_accessor :property_phone_number
|
2031
|
+
# The room class for this purchase.
|
2032
|
+
attr_accessor :room_class
|
2033
|
+
# The number of room nights
|
2034
|
+
attr_accessor :room_nights
|
2035
|
+
# The total tax amount associating with the room reservation.
|
2036
|
+
attr_accessor :total_room_tax_amount
|
2037
|
+
# The total tax amount
|
2038
|
+
attr_accessor :total_tax_amount
|
2039
|
+
|
2040
|
+
def initialize(
|
2041
|
+
address: nil,
|
2042
|
+
adults: nil,
|
2043
|
+
affiliate: nil,
|
2044
|
+
booking_number: nil,
|
2045
|
+
category: nil,
|
2046
|
+
checkin_at: nil,
|
2047
|
+
checkout_at: nil,
|
2048
|
+
customer_service_phone_number: nil,
|
2049
|
+
daily_room_rate_amount: nil,
|
2050
|
+
delivery: nil,
|
2051
|
+
extra_charges: nil,
|
2052
|
+
fire_safety_act_compliance: nil,
|
2053
|
+
name: nil,
|
2054
|
+
no_show: nil,
|
2055
|
+
number_of_rooms: nil,
|
2056
|
+
passengers: nil,
|
2057
|
+
property_phone_number: nil,
|
2058
|
+
room_class: nil,
|
2059
|
+
room_nights: nil,
|
2060
|
+
total_room_tax_amount: nil,
|
2061
|
+
total_tax_amount: nil
|
2062
|
+
)
|
2063
|
+
@address = address
|
2064
|
+
@adults = adults
|
2065
|
+
@affiliate = affiliate
|
2066
|
+
@booking_number = booking_number
|
2067
|
+
@category = category
|
2068
|
+
@checkin_at = checkin_at
|
2069
|
+
@checkout_at = checkout_at
|
2070
|
+
@customer_service_phone_number = customer_service_phone_number
|
2071
|
+
@daily_room_rate_amount = daily_room_rate_amount
|
2072
|
+
@delivery = delivery
|
2073
|
+
@extra_charges = extra_charges
|
2074
|
+
@fire_safety_act_compliance = fire_safety_act_compliance
|
2075
|
+
@name = name
|
2076
|
+
@no_show = no_show
|
2077
|
+
@number_of_rooms = number_of_rooms
|
2078
|
+
@passengers = passengers
|
2079
|
+
@property_phone_number = property_phone_number
|
2080
|
+
@room_class = room_class
|
2081
|
+
@room_nights = room_nights
|
2082
|
+
@total_room_tax_amount = total_room_tax_amount
|
2083
|
+
@total_tax_amount = total_tax_amount
|
2084
|
+
end
|
2085
|
+
end
|
2086
|
+
|
2087
|
+
class Subscription < Stripe::RequestParams
|
2088
|
+
class Affiliate < Stripe::RequestParams
|
2089
|
+
# The name of the affiliate that originated the purchase.
|
2090
|
+
attr_accessor :name
|
2091
|
+
|
2092
|
+
def initialize(name: nil)
|
2093
|
+
@name = name
|
2094
|
+
end
|
2095
|
+
end
|
2096
|
+
|
2097
|
+
class BillingInterval < Stripe::RequestParams
|
2098
|
+
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
2099
|
+
attr_accessor :count
|
2100
|
+
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
2101
|
+
attr_accessor :interval
|
2102
|
+
|
2103
|
+
def initialize(count: nil, interval: nil)
|
2104
|
+
@count = count
|
2105
|
+
@interval = interval
|
2106
|
+
end
|
2107
|
+
end
|
2108
|
+
# Affiliate details for this purchase.
|
2109
|
+
attr_accessor :affiliate
|
2110
|
+
# Info whether the subscription will be auto renewed upon expiry.
|
2111
|
+
attr_accessor :auto_renewal
|
2112
|
+
# Subscription billing details for this purchase.
|
2113
|
+
attr_accessor :billing_interval
|
2114
|
+
# Subscription end time. Measured in seconds since the Unix epoch.
|
2115
|
+
attr_accessor :ends_at
|
2116
|
+
# Name of the product on subscription. e.g. Apple Music Subscription
|
2117
|
+
attr_accessor :name
|
2118
|
+
# Subscription start time. Measured in seconds since the Unix epoch.
|
2119
|
+
attr_accessor :starts_at
|
2120
|
+
|
2121
|
+
def initialize(
|
2122
|
+
affiliate: nil,
|
2123
|
+
auto_renewal: nil,
|
2124
|
+
billing_interval: nil,
|
2125
|
+
ends_at: nil,
|
2126
|
+
name: nil,
|
2127
|
+
starts_at: nil
|
2128
|
+
)
|
2129
|
+
@affiliate = affiliate
|
2130
|
+
@auto_renewal = auto_renewal
|
2131
|
+
@billing_interval = billing_interval
|
2132
|
+
@ends_at = ends_at
|
2133
|
+
@name = name
|
2134
|
+
@starts_at = starts_at
|
2135
|
+
end
|
2136
|
+
end
|
2137
|
+
# Car rental details for this PaymentIntent.
|
2138
|
+
attr_accessor :car_rental
|
2139
|
+
# 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.
|
2140
|
+
attr_accessor :customer_reference
|
2141
|
+
# Event details for this PaymentIntent
|
2142
|
+
attr_accessor :event_details
|
2143
|
+
# Flight reservation details for this PaymentIntent
|
2144
|
+
attr_accessor :flight
|
2145
|
+
# Lodging reservation details for this PaymentIntent
|
2146
|
+
attr_accessor :lodging
|
2147
|
+
# A unique value assigned by the business to identify the transaction.
|
2148
|
+
attr_accessor :order_reference
|
2149
|
+
# Subscription details for this PaymentIntent
|
2150
|
+
attr_accessor :subscription
|
2151
|
+
|
2152
|
+
def initialize(
|
2153
|
+
car_rental: nil,
|
2154
|
+
customer_reference: nil,
|
2155
|
+
event_details: nil,
|
2156
|
+
flight: nil,
|
2157
|
+
lodging: nil,
|
2158
|
+
order_reference: nil,
|
2159
|
+
subscription: nil
|
2160
|
+
)
|
2161
|
+
@car_rental = car_rental
|
2162
|
+
@customer_reference = customer_reference
|
2163
|
+
@event_details = event_details
|
2164
|
+
@flight = flight
|
2165
|
+
@lodging = lodging
|
2166
|
+
@order_reference = order_reference
|
2167
|
+
@subscription = subscription
|
2168
|
+
end
|
2169
|
+
end
|
2170
|
+
|
1378
2171
|
class Shipping < Stripe::RequestParams
|
1379
2172
|
class Address < Stripe::RequestParams
|
1380
2173
|
# City, district, suburb, town, or village.
|
@@ -1435,6 +2228,8 @@ module Stripe
|
|
1435
2228
|
attr_accessor :fraud_details
|
1436
2229
|
# 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`.
|
1437
2230
|
attr_accessor :metadata
|
2231
|
+
# Provides industry-specific information about the charge.
|
2232
|
+
attr_accessor :payment_details
|
1438
2233
|
# 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.
|
1439
2234
|
attr_accessor :receipt_email
|
1440
2235
|
# Shipping information for the charge. Helps prevent fraud on charges for physical goods.
|
@@ -1448,6 +2243,7 @@ module Stripe
|
|
1448
2243
|
expand: nil,
|
1449
2244
|
fraud_details: nil,
|
1450
2245
|
metadata: nil,
|
2246
|
+
payment_details: nil,
|
1451
2247
|
receipt_email: nil,
|
1452
2248
|
shipping: nil,
|
1453
2249
|
transfer_group: nil
|
@@ -1457,6 +2253,7 @@ module Stripe
|
|
1457
2253
|
@expand = expand
|
1458
2254
|
@fraud_details = fraud_details
|
1459
2255
|
@metadata = metadata
|
2256
|
+
@payment_details = payment_details
|
1460
2257
|
@receipt_email = receipt_email
|
1461
2258
|
@shipping = shipping
|
1462
2259
|
@transfer_group = transfer_group
|
@@ -1482,6 +2279,677 @@ module Stripe
|
|
1482
2279
|
end
|
1483
2280
|
|
1484
2281
|
class CaptureParams < Stripe::RequestParams
|
2282
|
+
class PaymentDetails < Stripe::RequestParams
|
2283
|
+
class CarRental < Stripe::RequestParams
|
2284
|
+
class Affiliate < Stripe::RequestParams
|
2285
|
+
# The name of the affiliate that originated the purchase.
|
2286
|
+
attr_accessor :name
|
2287
|
+
|
2288
|
+
def initialize(name: nil)
|
2289
|
+
@name = name
|
2290
|
+
end
|
2291
|
+
end
|
2292
|
+
|
2293
|
+
class Delivery < Stripe::RequestParams
|
2294
|
+
class Recipient < Stripe::RequestParams
|
2295
|
+
# The email of the recipient the ticket is delivered to.
|
2296
|
+
attr_accessor :email
|
2297
|
+
# The name of the recipient the ticket is delivered to.
|
2298
|
+
attr_accessor :name
|
2299
|
+
# The phone number of the recipient the ticket is delivered to.
|
2300
|
+
attr_accessor :phone
|
2301
|
+
|
2302
|
+
def initialize(email: nil, name: nil, phone: nil)
|
2303
|
+
@email = email
|
2304
|
+
@name = name
|
2305
|
+
@phone = phone
|
2306
|
+
end
|
2307
|
+
end
|
2308
|
+
# The delivery method for the payment
|
2309
|
+
attr_accessor :mode
|
2310
|
+
# Details of the recipient.
|
2311
|
+
attr_accessor :recipient
|
2312
|
+
|
2313
|
+
def initialize(mode: nil, recipient: nil)
|
2314
|
+
@mode = mode
|
2315
|
+
@recipient = recipient
|
2316
|
+
end
|
2317
|
+
end
|
2318
|
+
|
2319
|
+
class Driver < Stripe::RequestParams
|
2320
|
+
# Full name of the person or entity on the car reservation.
|
2321
|
+
attr_accessor :name
|
2322
|
+
|
2323
|
+
def initialize(name: nil)
|
2324
|
+
@name = name
|
2325
|
+
end
|
2326
|
+
end
|
2327
|
+
|
2328
|
+
class PickupAddress < Stripe::RequestParams
|
2329
|
+
# City, district, suburb, town, or village.
|
2330
|
+
attr_accessor :city
|
2331
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2332
|
+
attr_accessor :country
|
2333
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
2334
|
+
attr_accessor :line1
|
2335
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2336
|
+
attr_accessor :line2
|
2337
|
+
# ZIP or postal code.
|
2338
|
+
attr_accessor :postal_code
|
2339
|
+
# State, county, province, or region.
|
2340
|
+
attr_accessor :state
|
2341
|
+
|
2342
|
+
def initialize(
|
2343
|
+
city: nil,
|
2344
|
+
country: nil,
|
2345
|
+
line1: nil,
|
2346
|
+
line2: nil,
|
2347
|
+
postal_code: nil,
|
2348
|
+
state: nil
|
2349
|
+
)
|
2350
|
+
@city = city
|
2351
|
+
@country = country
|
2352
|
+
@line1 = line1
|
2353
|
+
@line2 = line2
|
2354
|
+
@postal_code = postal_code
|
2355
|
+
@state = state
|
2356
|
+
end
|
2357
|
+
end
|
2358
|
+
|
2359
|
+
class ReturnAddress < Stripe::RequestParams
|
2360
|
+
# City, district, suburb, town, or village.
|
2361
|
+
attr_accessor :city
|
2362
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2363
|
+
attr_accessor :country
|
2364
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
2365
|
+
attr_accessor :line1
|
2366
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2367
|
+
attr_accessor :line2
|
2368
|
+
# ZIP or postal code.
|
2369
|
+
attr_accessor :postal_code
|
2370
|
+
# State, county, province, or region.
|
2371
|
+
attr_accessor :state
|
2372
|
+
|
2373
|
+
def initialize(
|
2374
|
+
city: nil,
|
2375
|
+
country: nil,
|
2376
|
+
line1: nil,
|
2377
|
+
line2: nil,
|
2378
|
+
postal_code: nil,
|
2379
|
+
state: nil
|
2380
|
+
)
|
2381
|
+
@city = city
|
2382
|
+
@country = country
|
2383
|
+
@line1 = line1
|
2384
|
+
@line2 = line2
|
2385
|
+
@postal_code = postal_code
|
2386
|
+
@state = state
|
2387
|
+
end
|
2388
|
+
end
|
2389
|
+
# Affiliate details for this purchase.
|
2390
|
+
attr_accessor :affiliate
|
2391
|
+
# The booking number associated with the car rental.
|
2392
|
+
attr_accessor :booking_number
|
2393
|
+
# Class code of the car.
|
2394
|
+
attr_accessor :car_class_code
|
2395
|
+
# Make of the car.
|
2396
|
+
attr_accessor :car_make
|
2397
|
+
# Model of the car.
|
2398
|
+
attr_accessor :car_model
|
2399
|
+
# The name of the rental car company.
|
2400
|
+
attr_accessor :company
|
2401
|
+
# The customer service phone number of the car rental company.
|
2402
|
+
attr_accessor :customer_service_phone_number
|
2403
|
+
# Number of days the car is being rented.
|
2404
|
+
attr_accessor :days_rented
|
2405
|
+
# Delivery details for this purchase.
|
2406
|
+
attr_accessor :delivery
|
2407
|
+
# The details of the passengers in the travel reservation
|
2408
|
+
attr_accessor :drivers
|
2409
|
+
# List of additional charges being billed.
|
2410
|
+
attr_accessor :extra_charges
|
2411
|
+
# Indicates if the customer did not keep nor cancel their booking.
|
2412
|
+
attr_accessor :no_show
|
2413
|
+
# Car pick-up address.
|
2414
|
+
attr_accessor :pickup_address
|
2415
|
+
# Car pick-up time. Measured in seconds since the Unix epoch.
|
2416
|
+
attr_accessor :pickup_at
|
2417
|
+
# Rental rate.
|
2418
|
+
attr_accessor :rate_amount
|
2419
|
+
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
2420
|
+
attr_accessor :rate_interval
|
2421
|
+
# The name of the person or entity renting the car.
|
2422
|
+
attr_accessor :renter_name
|
2423
|
+
# Car return address.
|
2424
|
+
attr_accessor :return_address
|
2425
|
+
# Car return time. Measured in seconds since the Unix epoch.
|
2426
|
+
attr_accessor :return_at
|
2427
|
+
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
2428
|
+
attr_accessor :tax_exempt
|
2429
|
+
|
2430
|
+
def initialize(
|
2431
|
+
affiliate: nil,
|
2432
|
+
booking_number: nil,
|
2433
|
+
car_class_code: nil,
|
2434
|
+
car_make: nil,
|
2435
|
+
car_model: nil,
|
2436
|
+
company: nil,
|
2437
|
+
customer_service_phone_number: nil,
|
2438
|
+
days_rented: nil,
|
2439
|
+
delivery: nil,
|
2440
|
+
drivers: nil,
|
2441
|
+
extra_charges: nil,
|
2442
|
+
no_show: nil,
|
2443
|
+
pickup_address: nil,
|
2444
|
+
pickup_at: nil,
|
2445
|
+
rate_amount: nil,
|
2446
|
+
rate_interval: nil,
|
2447
|
+
renter_name: nil,
|
2448
|
+
return_address: nil,
|
2449
|
+
return_at: nil,
|
2450
|
+
tax_exempt: nil
|
2451
|
+
)
|
2452
|
+
@affiliate = affiliate
|
2453
|
+
@booking_number = booking_number
|
2454
|
+
@car_class_code = car_class_code
|
2455
|
+
@car_make = car_make
|
2456
|
+
@car_model = car_model
|
2457
|
+
@company = company
|
2458
|
+
@customer_service_phone_number = customer_service_phone_number
|
2459
|
+
@days_rented = days_rented
|
2460
|
+
@delivery = delivery
|
2461
|
+
@drivers = drivers
|
2462
|
+
@extra_charges = extra_charges
|
2463
|
+
@no_show = no_show
|
2464
|
+
@pickup_address = pickup_address
|
2465
|
+
@pickup_at = pickup_at
|
2466
|
+
@rate_amount = rate_amount
|
2467
|
+
@rate_interval = rate_interval
|
2468
|
+
@renter_name = renter_name
|
2469
|
+
@return_address = return_address
|
2470
|
+
@return_at = return_at
|
2471
|
+
@tax_exempt = tax_exempt
|
2472
|
+
end
|
2473
|
+
end
|
2474
|
+
|
2475
|
+
class EventDetails < Stripe::RequestParams
|
2476
|
+
class Address < Stripe::RequestParams
|
2477
|
+
# City, district, suburb, town, or village.
|
2478
|
+
attr_accessor :city
|
2479
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2480
|
+
attr_accessor :country
|
2481
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
2482
|
+
attr_accessor :line1
|
2483
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2484
|
+
attr_accessor :line2
|
2485
|
+
# ZIP or postal code.
|
2486
|
+
attr_accessor :postal_code
|
2487
|
+
# State, county, province, or region.
|
2488
|
+
attr_accessor :state
|
2489
|
+
|
2490
|
+
def initialize(
|
2491
|
+
city: nil,
|
2492
|
+
country: nil,
|
2493
|
+
line1: nil,
|
2494
|
+
line2: nil,
|
2495
|
+
postal_code: nil,
|
2496
|
+
state: nil
|
2497
|
+
)
|
2498
|
+
@city = city
|
2499
|
+
@country = country
|
2500
|
+
@line1 = line1
|
2501
|
+
@line2 = line2
|
2502
|
+
@postal_code = postal_code
|
2503
|
+
@state = state
|
2504
|
+
end
|
2505
|
+
end
|
2506
|
+
|
2507
|
+
class Affiliate < Stripe::RequestParams
|
2508
|
+
# The name of the affiliate that originated the purchase.
|
2509
|
+
attr_accessor :name
|
2510
|
+
|
2511
|
+
def initialize(name: nil)
|
2512
|
+
@name = name
|
2513
|
+
end
|
2514
|
+
end
|
2515
|
+
|
2516
|
+
class Delivery < Stripe::RequestParams
|
2517
|
+
class Recipient < Stripe::RequestParams
|
2518
|
+
# The email of the recipient the ticket is delivered to.
|
2519
|
+
attr_accessor :email
|
2520
|
+
# The name of the recipient the ticket is delivered to.
|
2521
|
+
attr_accessor :name
|
2522
|
+
# The phone number of the recipient the ticket is delivered to.
|
2523
|
+
attr_accessor :phone
|
2524
|
+
|
2525
|
+
def initialize(email: nil, name: nil, phone: nil)
|
2526
|
+
@email = email
|
2527
|
+
@name = name
|
2528
|
+
@phone = phone
|
2529
|
+
end
|
2530
|
+
end
|
2531
|
+
# The delivery method for the payment
|
2532
|
+
attr_accessor :mode
|
2533
|
+
# Details of the recipient.
|
2534
|
+
attr_accessor :recipient
|
2535
|
+
|
2536
|
+
def initialize(mode: nil, recipient: nil)
|
2537
|
+
@mode = mode
|
2538
|
+
@recipient = recipient
|
2539
|
+
end
|
2540
|
+
end
|
2541
|
+
# Indicates if the tickets are digitally checked when entering the venue.
|
2542
|
+
attr_accessor :access_controlled_venue
|
2543
|
+
# The event location's address.
|
2544
|
+
attr_accessor :address
|
2545
|
+
# Affiliate details for this purchase.
|
2546
|
+
attr_accessor :affiliate
|
2547
|
+
# The name of the company
|
2548
|
+
attr_accessor :company
|
2549
|
+
# Delivery details for this purchase.
|
2550
|
+
attr_accessor :delivery
|
2551
|
+
# Event end time. Measured in seconds since the Unix epoch.
|
2552
|
+
attr_accessor :ends_at
|
2553
|
+
# Type of the event entertainment (concert, sports event etc)
|
2554
|
+
attr_accessor :genre
|
2555
|
+
# The name of the event.
|
2556
|
+
attr_accessor :name
|
2557
|
+
# Event start time. Measured in seconds since the Unix epoch.
|
2558
|
+
attr_accessor :starts_at
|
2559
|
+
|
2560
|
+
def initialize(
|
2561
|
+
access_controlled_venue: nil,
|
2562
|
+
address: nil,
|
2563
|
+
affiliate: nil,
|
2564
|
+
company: nil,
|
2565
|
+
delivery: nil,
|
2566
|
+
ends_at: nil,
|
2567
|
+
genre: nil,
|
2568
|
+
name: nil,
|
2569
|
+
starts_at: nil
|
2570
|
+
)
|
2571
|
+
@access_controlled_venue = access_controlled_venue
|
2572
|
+
@address = address
|
2573
|
+
@affiliate = affiliate
|
2574
|
+
@company = company
|
2575
|
+
@delivery = delivery
|
2576
|
+
@ends_at = ends_at
|
2577
|
+
@genre = genre
|
2578
|
+
@name = name
|
2579
|
+
@starts_at = starts_at
|
2580
|
+
end
|
2581
|
+
end
|
2582
|
+
|
2583
|
+
class Flight < Stripe::RequestParams
|
2584
|
+
class Affiliate < Stripe::RequestParams
|
2585
|
+
# The name of the affiliate that originated the purchase.
|
2586
|
+
attr_accessor :name
|
2587
|
+
|
2588
|
+
def initialize(name: nil)
|
2589
|
+
@name = name
|
2590
|
+
end
|
2591
|
+
end
|
2592
|
+
|
2593
|
+
class Delivery < Stripe::RequestParams
|
2594
|
+
class Recipient < Stripe::RequestParams
|
2595
|
+
# The email of the recipient the ticket is delivered to.
|
2596
|
+
attr_accessor :email
|
2597
|
+
# The name of the recipient the ticket is delivered to.
|
2598
|
+
attr_accessor :name
|
2599
|
+
# The phone number of the recipient the ticket is delivered to.
|
2600
|
+
attr_accessor :phone
|
2601
|
+
|
2602
|
+
def initialize(email: nil, name: nil, phone: nil)
|
2603
|
+
@email = email
|
2604
|
+
@name = name
|
2605
|
+
@phone = phone
|
2606
|
+
end
|
2607
|
+
end
|
2608
|
+
# The delivery method for the payment
|
2609
|
+
attr_accessor :mode
|
2610
|
+
# Details of the recipient.
|
2611
|
+
attr_accessor :recipient
|
2612
|
+
|
2613
|
+
def initialize(mode: nil, recipient: nil)
|
2614
|
+
@mode = mode
|
2615
|
+
@recipient = recipient
|
2616
|
+
end
|
2617
|
+
end
|
2618
|
+
|
2619
|
+
class Passenger < Stripe::RequestParams
|
2620
|
+
# Full name of the person or entity on the flight reservation.
|
2621
|
+
attr_accessor :name
|
2622
|
+
|
2623
|
+
def initialize(name: nil)
|
2624
|
+
@name = name
|
2625
|
+
end
|
2626
|
+
end
|
2627
|
+
|
2628
|
+
class Segment < Stripe::RequestParams
|
2629
|
+
# The flight segment amount.
|
2630
|
+
attr_accessor :amount
|
2631
|
+
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
2632
|
+
attr_accessor :arrival_airport
|
2633
|
+
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
2634
|
+
attr_accessor :arrives_at
|
2635
|
+
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
2636
|
+
attr_accessor :carrier
|
2637
|
+
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
2638
|
+
attr_accessor :departs_at
|
2639
|
+
# The International Air Transport Association (IATA) airport code for the departure airport.
|
2640
|
+
attr_accessor :departure_airport
|
2641
|
+
# The flight number associated with the segment
|
2642
|
+
attr_accessor :flight_number
|
2643
|
+
# The fare class for the segment.
|
2644
|
+
attr_accessor :service_class
|
2645
|
+
|
2646
|
+
def initialize(
|
2647
|
+
amount: nil,
|
2648
|
+
arrival_airport: nil,
|
2649
|
+
arrives_at: nil,
|
2650
|
+
carrier: nil,
|
2651
|
+
departs_at: nil,
|
2652
|
+
departure_airport: nil,
|
2653
|
+
flight_number: nil,
|
2654
|
+
service_class: nil
|
2655
|
+
)
|
2656
|
+
@amount = amount
|
2657
|
+
@arrival_airport = arrival_airport
|
2658
|
+
@arrives_at = arrives_at
|
2659
|
+
@carrier = carrier
|
2660
|
+
@departs_at = departs_at
|
2661
|
+
@departure_airport = departure_airport
|
2662
|
+
@flight_number = flight_number
|
2663
|
+
@service_class = service_class
|
2664
|
+
end
|
2665
|
+
end
|
2666
|
+
# Affiliate details for this purchase.
|
2667
|
+
attr_accessor :affiliate
|
2668
|
+
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
2669
|
+
attr_accessor :agency_number
|
2670
|
+
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
2671
|
+
attr_accessor :carrier
|
2672
|
+
# Delivery details for this purchase.
|
2673
|
+
attr_accessor :delivery
|
2674
|
+
# The name of the person or entity on the reservation.
|
2675
|
+
attr_accessor :passenger_name
|
2676
|
+
# The details of the passengers in the travel reservation.
|
2677
|
+
attr_accessor :passengers
|
2678
|
+
# The individual flight segments associated with the trip.
|
2679
|
+
attr_accessor :segments
|
2680
|
+
# The ticket number associated with the travel reservation.
|
2681
|
+
attr_accessor :ticket_number
|
2682
|
+
|
2683
|
+
def initialize(
|
2684
|
+
affiliate: nil,
|
2685
|
+
agency_number: nil,
|
2686
|
+
carrier: nil,
|
2687
|
+
delivery: nil,
|
2688
|
+
passenger_name: nil,
|
2689
|
+
passengers: nil,
|
2690
|
+
segments: nil,
|
2691
|
+
ticket_number: nil
|
2692
|
+
)
|
2693
|
+
@affiliate = affiliate
|
2694
|
+
@agency_number = agency_number
|
2695
|
+
@carrier = carrier
|
2696
|
+
@delivery = delivery
|
2697
|
+
@passenger_name = passenger_name
|
2698
|
+
@passengers = passengers
|
2699
|
+
@segments = segments
|
2700
|
+
@ticket_number = ticket_number
|
2701
|
+
end
|
2702
|
+
end
|
2703
|
+
|
2704
|
+
class Lodging < Stripe::RequestParams
|
2705
|
+
class Address < Stripe::RequestParams
|
2706
|
+
# City, district, suburb, town, or village.
|
2707
|
+
attr_accessor :city
|
2708
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2709
|
+
attr_accessor :country
|
2710
|
+
# Address line 1 (e.g., street, PO Box, or company name).
|
2711
|
+
attr_accessor :line1
|
2712
|
+
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2713
|
+
attr_accessor :line2
|
2714
|
+
# ZIP or postal code.
|
2715
|
+
attr_accessor :postal_code
|
2716
|
+
# State, county, province, or region.
|
2717
|
+
attr_accessor :state
|
2718
|
+
|
2719
|
+
def initialize(
|
2720
|
+
city: nil,
|
2721
|
+
country: nil,
|
2722
|
+
line1: nil,
|
2723
|
+
line2: nil,
|
2724
|
+
postal_code: nil,
|
2725
|
+
state: nil
|
2726
|
+
)
|
2727
|
+
@city = city
|
2728
|
+
@country = country
|
2729
|
+
@line1 = line1
|
2730
|
+
@line2 = line2
|
2731
|
+
@postal_code = postal_code
|
2732
|
+
@state = state
|
2733
|
+
end
|
2734
|
+
end
|
2735
|
+
|
2736
|
+
class Affiliate < Stripe::RequestParams
|
2737
|
+
# The name of the affiliate that originated the purchase.
|
2738
|
+
attr_accessor :name
|
2739
|
+
|
2740
|
+
def initialize(name: nil)
|
2741
|
+
@name = name
|
2742
|
+
end
|
2743
|
+
end
|
2744
|
+
|
2745
|
+
class Delivery < Stripe::RequestParams
|
2746
|
+
class Recipient < Stripe::RequestParams
|
2747
|
+
# The email of the recipient the ticket is delivered to.
|
2748
|
+
attr_accessor :email
|
2749
|
+
# The name of the recipient the ticket is delivered to.
|
2750
|
+
attr_accessor :name
|
2751
|
+
# The phone number of the recipient the ticket is delivered to.
|
2752
|
+
attr_accessor :phone
|
2753
|
+
|
2754
|
+
def initialize(email: nil, name: nil, phone: nil)
|
2755
|
+
@email = email
|
2756
|
+
@name = name
|
2757
|
+
@phone = phone
|
2758
|
+
end
|
2759
|
+
end
|
2760
|
+
# The delivery method for the payment
|
2761
|
+
attr_accessor :mode
|
2762
|
+
# Details of the recipient.
|
2763
|
+
attr_accessor :recipient
|
2764
|
+
|
2765
|
+
def initialize(mode: nil, recipient: nil)
|
2766
|
+
@mode = mode
|
2767
|
+
@recipient = recipient
|
2768
|
+
end
|
2769
|
+
end
|
2770
|
+
|
2771
|
+
class Passenger < Stripe::RequestParams
|
2772
|
+
# Full name of the person or entity on the lodging reservation.
|
2773
|
+
attr_accessor :name
|
2774
|
+
|
2775
|
+
def initialize(name: nil)
|
2776
|
+
@name = name
|
2777
|
+
end
|
2778
|
+
end
|
2779
|
+
# The lodging location's address.
|
2780
|
+
attr_accessor :address
|
2781
|
+
# The number of adults on the booking
|
2782
|
+
attr_accessor :adults
|
2783
|
+
# Affiliate details for this purchase.
|
2784
|
+
attr_accessor :affiliate
|
2785
|
+
# The booking number associated with the lodging reservation.
|
2786
|
+
attr_accessor :booking_number
|
2787
|
+
# The lodging category
|
2788
|
+
attr_accessor :category
|
2789
|
+
# Loding check-in time. Measured in seconds since the Unix epoch.
|
2790
|
+
attr_accessor :checkin_at
|
2791
|
+
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
2792
|
+
attr_accessor :checkout_at
|
2793
|
+
# The customer service phone number of the lodging company.
|
2794
|
+
attr_accessor :customer_service_phone_number
|
2795
|
+
# The daily lodging room rate.
|
2796
|
+
attr_accessor :daily_room_rate_amount
|
2797
|
+
# Delivery details for this purchase.
|
2798
|
+
attr_accessor :delivery
|
2799
|
+
# List of additional charges being billed.
|
2800
|
+
attr_accessor :extra_charges
|
2801
|
+
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
2802
|
+
attr_accessor :fire_safety_act_compliance
|
2803
|
+
# The name of the lodging location.
|
2804
|
+
attr_accessor :name
|
2805
|
+
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
2806
|
+
attr_accessor :no_show
|
2807
|
+
# The number of rooms on the booking
|
2808
|
+
attr_accessor :number_of_rooms
|
2809
|
+
# The details of the passengers in the travel reservation
|
2810
|
+
attr_accessor :passengers
|
2811
|
+
# The phone number of the lodging location.
|
2812
|
+
attr_accessor :property_phone_number
|
2813
|
+
# The room class for this purchase.
|
2814
|
+
attr_accessor :room_class
|
2815
|
+
# The number of room nights
|
2816
|
+
attr_accessor :room_nights
|
2817
|
+
# The total tax amount associating with the room reservation.
|
2818
|
+
attr_accessor :total_room_tax_amount
|
2819
|
+
# The total tax amount
|
2820
|
+
attr_accessor :total_tax_amount
|
2821
|
+
|
2822
|
+
def initialize(
|
2823
|
+
address: nil,
|
2824
|
+
adults: nil,
|
2825
|
+
affiliate: nil,
|
2826
|
+
booking_number: nil,
|
2827
|
+
category: nil,
|
2828
|
+
checkin_at: nil,
|
2829
|
+
checkout_at: nil,
|
2830
|
+
customer_service_phone_number: nil,
|
2831
|
+
daily_room_rate_amount: nil,
|
2832
|
+
delivery: nil,
|
2833
|
+
extra_charges: nil,
|
2834
|
+
fire_safety_act_compliance: nil,
|
2835
|
+
name: nil,
|
2836
|
+
no_show: nil,
|
2837
|
+
number_of_rooms: nil,
|
2838
|
+
passengers: nil,
|
2839
|
+
property_phone_number: nil,
|
2840
|
+
room_class: nil,
|
2841
|
+
room_nights: nil,
|
2842
|
+
total_room_tax_amount: nil,
|
2843
|
+
total_tax_amount: nil
|
2844
|
+
)
|
2845
|
+
@address = address
|
2846
|
+
@adults = adults
|
2847
|
+
@affiliate = affiliate
|
2848
|
+
@booking_number = booking_number
|
2849
|
+
@category = category
|
2850
|
+
@checkin_at = checkin_at
|
2851
|
+
@checkout_at = checkout_at
|
2852
|
+
@customer_service_phone_number = customer_service_phone_number
|
2853
|
+
@daily_room_rate_amount = daily_room_rate_amount
|
2854
|
+
@delivery = delivery
|
2855
|
+
@extra_charges = extra_charges
|
2856
|
+
@fire_safety_act_compliance = fire_safety_act_compliance
|
2857
|
+
@name = name
|
2858
|
+
@no_show = no_show
|
2859
|
+
@number_of_rooms = number_of_rooms
|
2860
|
+
@passengers = passengers
|
2861
|
+
@property_phone_number = property_phone_number
|
2862
|
+
@room_class = room_class
|
2863
|
+
@room_nights = room_nights
|
2864
|
+
@total_room_tax_amount = total_room_tax_amount
|
2865
|
+
@total_tax_amount = total_tax_amount
|
2866
|
+
end
|
2867
|
+
end
|
2868
|
+
|
2869
|
+
class Subscription < Stripe::RequestParams
|
2870
|
+
class Affiliate < Stripe::RequestParams
|
2871
|
+
# The name of the affiliate that originated the purchase.
|
2872
|
+
attr_accessor :name
|
2873
|
+
|
2874
|
+
def initialize(name: nil)
|
2875
|
+
@name = name
|
2876
|
+
end
|
2877
|
+
end
|
2878
|
+
|
2879
|
+
class BillingInterval < Stripe::RequestParams
|
2880
|
+
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
2881
|
+
attr_accessor :count
|
2882
|
+
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
2883
|
+
attr_accessor :interval
|
2884
|
+
|
2885
|
+
def initialize(count: nil, interval: nil)
|
2886
|
+
@count = count
|
2887
|
+
@interval = interval
|
2888
|
+
end
|
2889
|
+
end
|
2890
|
+
# Affiliate details for this purchase.
|
2891
|
+
attr_accessor :affiliate
|
2892
|
+
# Info whether the subscription will be auto renewed upon expiry.
|
2893
|
+
attr_accessor :auto_renewal
|
2894
|
+
# Subscription billing details for this purchase.
|
2895
|
+
attr_accessor :billing_interval
|
2896
|
+
# Subscription end time. Measured in seconds since the Unix epoch.
|
2897
|
+
attr_accessor :ends_at
|
2898
|
+
# Name of the product on subscription. e.g. Apple Music Subscription
|
2899
|
+
attr_accessor :name
|
2900
|
+
# Subscription start time. Measured in seconds since the Unix epoch.
|
2901
|
+
attr_accessor :starts_at
|
2902
|
+
|
2903
|
+
def initialize(
|
2904
|
+
affiliate: nil,
|
2905
|
+
auto_renewal: nil,
|
2906
|
+
billing_interval: nil,
|
2907
|
+
ends_at: nil,
|
2908
|
+
name: nil,
|
2909
|
+
starts_at: nil
|
2910
|
+
)
|
2911
|
+
@affiliate = affiliate
|
2912
|
+
@auto_renewal = auto_renewal
|
2913
|
+
@billing_interval = billing_interval
|
2914
|
+
@ends_at = ends_at
|
2915
|
+
@name = name
|
2916
|
+
@starts_at = starts_at
|
2917
|
+
end
|
2918
|
+
end
|
2919
|
+
# Car rental details for this PaymentIntent.
|
2920
|
+
attr_accessor :car_rental
|
2921
|
+
# 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.
|
2922
|
+
attr_accessor :customer_reference
|
2923
|
+
# Event details for this PaymentIntent
|
2924
|
+
attr_accessor :event_details
|
2925
|
+
# Flight reservation details for this PaymentIntent
|
2926
|
+
attr_accessor :flight
|
2927
|
+
# Lodging reservation details for this PaymentIntent
|
2928
|
+
attr_accessor :lodging
|
2929
|
+
# A unique value assigned by the business to identify the transaction.
|
2930
|
+
attr_accessor :order_reference
|
2931
|
+
# Subscription details for this PaymentIntent
|
2932
|
+
attr_accessor :subscription
|
2933
|
+
|
2934
|
+
def initialize(
|
2935
|
+
car_rental: nil,
|
2936
|
+
customer_reference: nil,
|
2937
|
+
event_details: nil,
|
2938
|
+
flight: nil,
|
2939
|
+
lodging: nil,
|
2940
|
+
order_reference: nil,
|
2941
|
+
subscription: nil
|
2942
|
+
)
|
2943
|
+
@car_rental = car_rental
|
2944
|
+
@customer_reference = customer_reference
|
2945
|
+
@event_details = event_details
|
2946
|
+
@flight = flight
|
2947
|
+
@lodging = lodging
|
2948
|
+
@order_reference = order_reference
|
2949
|
+
@subscription = subscription
|
2950
|
+
end
|
2951
|
+
end
|
2952
|
+
|
1485
2953
|
class TransferData < Stripe::RequestParams
|
1486
2954
|
# The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
|
1487
2955
|
attr_accessor :amount
|
@@ -1498,6 +2966,8 @@ module Stripe
|
|
1498
2966
|
attr_accessor :application_fee_amount
|
1499
2967
|
# Specifies which fields in the response should be expanded.
|
1500
2968
|
attr_accessor :expand
|
2969
|
+
# Provides industry-specific information about the charge.
|
2970
|
+
attr_accessor :payment_details
|
1501
2971
|
# 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.
|
1502
2972
|
attr_accessor :receipt_email
|
1503
2973
|
# 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).
|
@@ -1516,6 +2986,7 @@ module Stripe
|
|
1516
2986
|
application_fee: nil,
|
1517
2987
|
application_fee_amount: nil,
|
1518
2988
|
expand: nil,
|
2989
|
+
payment_details: nil,
|
1519
2990
|
receipt_email: nil,
|
1520
2991
|
statement_descriptor: nil,
|
1521
2992
|
statement_descriptor_suffix: nil,
|
@@ -1526,6 +2997,7 @@ module Stripe
|
|
1526
2997
|
@application_fee = application_fee
|
1527
2998
|
@application_fee_amount = application_fee_amount
|
1528
2999
|
@expand = expand
|
3000
|
+
@payment_details = payment_details
|
1529
3001
|
@receipt_email = receipt_email
|
1530
3002
|
@statement_descriptor = statement_descriptor
|
1531
3003
|
@statement_descriptor_suffix = statement_descriptor_suffix
|