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