stripe 15.2.0.pre.beta.1 → 15.2.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 +718 -1556
- data/CONTRIBUTING.md +25 -0
- data/OPENAPI_VERSION +1 -1
- data/README.md +10 -7
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +0 -28
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/errors.rb +0 -54
- data/lib/stripe/event_types.rb +0 -89
- data/lib/stripe/object_types.rb +0 -52
- data/lib/stripe/resources/account.rb +32 -657
- data/lib/stripe/resources/account_session.rb +59 -253
- data/lib/stripe/resources/apple_pay_domain.rb +1 -2
- data/lib/stripe/resources/balance.rb +42 -0
- data/lib/stripe/resources/balance_transaction.rb +2 -0
- data/lib/stripe/resources/bank_account.rb +2 -2
- 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 +1 -7
- data/lib/stripe/resources/capability.rb +1 -1
- data/lib/stripe/resources/card.rb +0 -2
- data/lib/stripe/resources/cash_balance.rb +0 -2
- data/lib/stripe/resources/charge.rb +13 -1475
- data/lib/stripe/resources/checkout/session.rb +21 -333
- data/lib/stripe/resources/confirmation_token.rb +33 -263
- data/lib/stripe/resources/country_spec.rb +1 -1
- data/lib/stripe/resources/coupon.rb +2 -32
- data/lib/stripe/resources/credit_note.rb +10 -17
- data/lib/stripe/resources/credit_note_line_item.rb +0 -9
- data/lib/stripe/resources/customer.rb +2 -6
- 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 +4 -9
- data/lib/stripe/resources/discount.rb +0 -2
- data/lib/stripe/resources/dispute.rb +2 -2
- data/lib/stripe/resources/event.rb +1 -32
- data/lib/stripe/resources/file.rb +1 -1
- data/lib/stripe/resources/financial_connections/account.rb +1 -20
- data/lib/stripe/resources/financial_connections/session.rb +2 -62
- data/lib/stripe/resources/identity/verification_report.rb +6 -0
- data/lib/stripe/resources/identity/verification_session.rb +17 -21
- data/lib/stripe/resources/invoice.rb +79 -1106
- data/lib/stripe/resources/invoice_item.rb +4 -81
- data/lib/stripe/resources/invoice_line_item.rb +2 -56
- data/lib/stripe/resources/invoice_payment.rb +62 -4
- data/lib/stripe/resources/issuing/authorization.rb +8 -8
- data/lib/stripe/resources/issuing/card.rb +1 -1
- data/lib/stripe/resources/issuing/cardholder.rb +1 -2
- data/lib/stripe/resources/issuing/dispute.rb +3 -3
- 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 +1912 -6840
- data/lib/stripe/resources/payment_method.rb +47 -301
- data/lib/stripe/resources/payment_method_configuration.rb +112 -112
- data/lib/stripe/resources/payment_method_domain.rb +2 -2
- data/lib/stripe/resources/payout.rb +4 -10
- data/lib/stripe/resources/person.rb +2 -2
- data/lib/stripe/resources/plan.rb +2 -3
- data/lib/stripe/resources/price.rb +1 -31
- data/lib/stripe/resources/product.rb +1 -61
- data/lib/stripe/resources/promotion_code.rb +0 -10
- data/lib/stripe/resources/quote.rb +6 -2046
- data/lib/stripe/resources/radar/value_list.rb +1 -2
- data/lib/stripe/resources/radar/value_list_item.rb +1 -2
- data/lib/stripe/resources/refund.rb +6 -10
- data/lib/stripe/resources/reversal.rb +1 -1
- data/lib/stripe/resources/review.rb +1 -1
- data/lib/stripe/resources/setup_attempt.rb +0 -21
- data/lib/stripe/resources/setup_intent.rb +120 -877
- data/lib/stripe/resources/source.rb +1 -30
- data/lib/stripe/resources/subscription.rb +97 -326
- data/lib/stripe/resources/subscription_item.rb +32 -80
- data/lib/stripe/resources/subscription_schedule.rb +127 -1015
- data/lib/stripe/resources/tax/calculation.rb +4 -0
- data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
- data/lib/stripe/resources/tax/registration.rb +1 -1
- data/lib/stripe/resources/tax_id.rb +3 -14
- data/lib/stripe/resources/tax_rate.rb +2 -2
- data/lib/stripe/resources/terminal/configuration.rb +1 -2
- data/lib/stripe/resources/terminal/location.rb +2 -3
- data/lib/stripe/resources/terminal/reader.rb +8 -142
- data/lib/stripe/resources/test_helpers/test_clock.rb +1 -2
- data/lib/stripe/resources/token.rb +2 -2
- data/lib/stripe/resources/transfer.rb +1 -7
- 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/webhook_endpoint.rb +1 -2
- data/lib/stripe/resources.rb +0 -99
- data/lib/stripe/services/account_external_account_service.rb +2 -3
- data/lib/stripe/services/account_login_link_service.rb +1 -1
- data/lib/stripe/services/account_person_service.rb +1 -2
- data/lib/stripe/services/account_service.rb +23 -559
- data/lib/stripe/services/account_session_service.rb +29 -229
- data/lib/stripe/services/apple_pay_domain_service.rb +1 -2
- data/lib/stripe/services/balance_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_portal/session_service.rb +0 -4
- data/lib/stripe/services/charge_service.rb +4 -1354
- data/lib/stripe/services/checkout/session_service.rb +13 -250
- data/lib/stripe/services/coupon_service.rb +2 -19
- data/lib/stripe/services/credit_note_service.rb +7 -12
- data/lib/stripe/services/customer_balance_transaction_service.rb +3 -3
- data/lib/stripe/services/customer_cash_balance_transaction_service.rb +2 -2
- data/lib/stripe/services/customer_payment_source_service.rb +1 -1
- data/lib/stripe/services/customer_service.rb +3 -5
- data/lib/stripe/services/customer_session_service.rb +1 -4
- data/lib/stripe/services/customer_tax_id_service.rb +1 -2
- data/lib/stripe/services/dispute_service.rb +1 -1
- data/lib/stripe/services/file_service.rb +1 -1
- data/lib/stripe/services/financial_connections/account_service.rb +2 -7
- data/lib/stripe/services/financial_connections/session_service.rb +2 -34
- data/lib/stripe/services/financial_connections_service.rb +1 -2
- data/lib/stripe/services/identity/verification_session_service.rb +5 -13
- data/lib/stripe/services/invoice_item_service.rb +3 -76
- data/lib/stripe/services/invoice_line_item_service.rb +1 -33
- data/lib/stripe/services/invoice_payment_service.rb +83 -0
- data/lib/stripe/services/invoice_service.rb +74 -1049
- data/lib/stripe/services/issuing/authorization_service.rb +4 -4
- data/lib/stripe/services/issuing/card_service.rb +1 -1
- data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
- data/lib/stripe/services/issuing/dispute_service.rb +2 -2
- data/lib/stripe/services/issuing/transaction_service.rb +0 -4
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/payment_intent_service.rb +439 -4928
- data/lib/stripe/services/payment_method_configuration_service.rb +82 -82
- data/lib/stripe/services/payment_method_domain_service.rb +1 -1
- data/lib/stripe/services/payment_method_service.rb +44 -226
- data/lib/stripe/services/payout_service.rb +2 -6
- data/lib/stripe/services/plan_service.rb +2 -3
- data/lib/stripe/services/price_service.rb +2 -21
- data/lib/stripe/services/product_feature_service.rb +1 -2
- data/lib/stripe/services/product_service.rb +2 -41
- data/lib/stripe/services/promotion_code_service.rb +1 -9
- data/lib/stripe/services/quote_service.rb +7 -1730
- data/lib/stripe/services/radar/early_fraud_warning_service.rb +1 -1
- data/lib/stripe/services/radar/value_list_item_service.rb +1 -2
- data/lib/stripe/services/radar/value_list_service.rb +1 -2
- data/lib/stripe/services/setup_intent_service.rb +119 -836
- data/lib/stripe/services/source_service.rb +1 -1
- data/lib/stripe/services/subscription_item_service.rb +27 -73
- data/lib/stripe/services/subscription_schedule_service.rb +101 -916
- data/lib/stripe/services/subscription_service.rb +85 -282
- data/lib/stripe/services/tax/calculation_service.rb +4 -0
- data/lib/stripe/services/tax/registration_service.rb +1 -1
- data/lib/stripe/services/tax_id_service.rb +3 -10
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal/configuration_service.rb +1 -2
- data/lib/stripe/services/terminal/location_service.rb +2 -3
- data/lib/stripe/services/terminal/reader_service.rb +5 -81
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +33 -190
- data/lib/stripe/services/test_helpers/test_clock_service.rb +1 -2
- 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/token_service.rb +1 -1
- data/lib/stripe/services/transfer_service.rb +1 -5
- data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
- data/lib/stripe/services/treasury/financial_account_service.rb +2 -16
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
- data/lib/stripe/services/v1_services.rb +2 -12
- data/lib/stripe/services/v2/billing/meter_event_session_service.rb +1 -2
- data/lib/stripe/services/v2/core/event_destination_service.rb +4 -10
- data/lib/stripe/services/v2/core/event_service.rb +1 -2
- data/lib/stripe/services/v2/core_service.rb +1 -4
- data/lib/stripe/services/v2_services.rb +2 -4
- data/lib/stripe/services/webhook_endpoint_service.rb +1 -2
- data/lib/stripe/services.rb +1 -54
- 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 -53
- data/rbi/stripe/resources/account.rbi +4926 -0
- data/rbi/stripe/resources/account_link.rbi +74 -0
- data/rbi/stripe/resources/account_session.rbi +1013 -0
- data/rbi/stripe/resources/apple_pay_domain.rbi +88 -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 +235 -0
- data/rbi/stripe/resources/balance_transaction.rbi +147 -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 +2069 -0
- data/rbi/stripe/resources/checkout/session.rbi +4004 -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 +1807 -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 +250 -0
- data/rbi/stripe/resources/credit_note.rbi +752 -0
- data/rbi/stripe/resources/credit_note_line_item.rbi +101 -0
- data/rbi/stripe/resources/customer.rbi +1005 -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 +360 -0
- data/rbi/stripe/resources/identity/verification_session.rbi +526 -0
- data/rbi/stripe/resources/invoice.rbi +3812 -0
- data/rbi/stripe/resources/invoice_item.rbi +473 -0
- data/rbi/stripe/resources/invoice_line_item.rbi +432 -0
- data/rbi/stripe/resources/invoice_payment.rbi +121 -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 +9647 -0
- data/rbi/stripe/resources/payment_link.rbi +1801 -0
- data/rbi/stripe/resources/payment_method.rbi +1761 -0
- data/rbi/stripe/resources/payment_method_configuration.rbi +3550 -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 +371 -0
- data/rbi/stripe/resources/price.rbi +694 -0
- data/rbi/stripe/resources/product.rbi +555 -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 +168 -0
- data/rbi/stripe/resources/radar/value_list_item.rbi +129 -0
- data/rbi/stripe/resources/refund.rbi +523 -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 +3655 -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 +2027 -0
- data/rbi/stripe/resources/subscription_item.rbi +404 -0
- data/rbi/stripe/resources/subscription_schedule.rbi +1623 -0
- data/rbi/stripe/resources/tax/calculation.rbi +478 -0
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +91 -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 +165 -0
- data/rbi/stripe/resources/tax_rate.rbi +239 -0
- data/rbi/stripe/resources/terminal/configuration.rbi +1386 -0
- data/rbi/stripe/resources/terminal/connection_token.rbi +37 -0
- data/rbi/stripe/resources/terminal/location.rbi +222 -0
- data/rbi/stripe/resources/terminal/reader.rbi +847 -0
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +132 -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 +168 -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 -138
- 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 +1011 -0
- data/rbi/stripe/services/account_service.rbi +4213 -0
- data/rbi/stripe/services/account_session_service.rbi +646 -0
- data/rbi/stripe/services/apple_pay_domain_service.rbi +76 -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 +2614 -0
- data/rbi/stripe/services/checkout_service.rbi +9 -0
- data/rbi/stripe/services/climate/order_service.rbi +142 -0
- data/rbi/stripe/services/climate/product_service.rbi +46 -0
- 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 +194 -0
- data/{lib/stripe/services/quote_preview_invoice_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 +415 -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 +647 -0
- data/rbi/stripe/services/customer_session_service.rbi +116 -0
- data/rbi/stripe/services/customer_tax_id_service.rbi +70 -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 +366 -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 +2981 -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 +7659 -0
- data/{lib/stripe/services/payment_intent_amount_details_line_item_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 +2487 -0
- data/rbi/stripe/services/payment_method_domain_service.rbi +112 -0
- data/rbi/stripe/services/payment_method_service.rbi +776 -0
- data/rbi/stripe/services/payout_service.rbi +205 -0
- data/rbi/stripe/services/plan_service.rbi +282 -0
- data/rbi/stripe/services/price_service.rbi +546 -0
- data/rbi/stripe/services/product_feature_service.rbi +67 -0
- data/rbi/stripe/services/product_service.rbi +477 -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 +109 -0
- data/rbi/stripe/services/radar/value_list_service.rbi +141 -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 +3391 -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_line_service.rb → rbi/stripe/services/source_transaction_service.rbi} +16 -20
- data/rbi/stripe/services/subscription_item_service.rbi +350 -0
- data/rbi/stripe/services/subscription_schedule_service.rbi +1290 -0
- data/rbi/stripe/services/subscription_service.rbi +1648 -0
- data/{lib/stripe/services/financial_connections/account_inferred_balance_service.rb → rbi/stripe/services/tax/calculation_line_item_service.rbi} +17 -21
- data/rbi/stripe/services/tax/calculation_service.rbi +234 -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/privacy/redaction_job_validation_error_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 +110 -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 +1118 -0
- data/rbi/stripe/services/terminal/connection_token_service.rbi +25 -0
- data/rbi/stripe/services/terminal/location_service.rbi +182 -0
- data/rbi/stripe/services/terminal/reader_service.rbi +455 -0
- data/rbi/stripe/services/terminal_service.rbi +12 -0
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +739 -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 +93 -0
- data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +90 -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 +18 -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 +192 -0
- data/rbi/stripe/services/v2/core/event_service.rbi +36 -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 +129 -0
- data/stripe.gemspec +1 -4
- metadata +326 -158
- data/lib/stripe/events/v2_core_account_closed_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_created_event.rb +0 -21
- 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_defaults_updated_event.rb +0 -21
- data/lib/stripe/events/v2_core_account_including_identity_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_core_account_updated_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_financial_account_updated_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_payment_updated_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_outbound_transfer_updated_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/events/v2_money_management_transaction_created_event.rb +0 -21
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -21
- data/lib/stripe/resources/account_notice.rb +0 -123
- data/lib/stripe/resources/balance_settings.rb +0 -105
- 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/fx_quote.rb +0 -184
- 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_intent_amount_details_line_item.rb +0 -65
- data/lib/stripe/resources/payment_record.rb +0 -1607
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -275
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -25
- 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 -339
- 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 -1746
- data/lib/stripe/resources/v2/core/account_link.rb +0 -56
- data/lib/stripe/resources/v2/core/person.rb +0 -276
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -74
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -39
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -20
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -22
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -51
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -58
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -68
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -94
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -129
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -82
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -45
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -117
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -75
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -49
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -136
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -108
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -78
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -68
- 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/fx_quote_service.rb +0 -123
- 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/quote_preview_subscription_schedule_service.rb +0 -35
- 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 -4138
- data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1048
- 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 -96
- 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 -191867
@@ -157,6 +157,10 @@ module Stripe
|
|
157
157
|
end
|
158
158
|
|
159
159
|
class Affirm < Stripe::StripeObject
|
160
|
+
# ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
|
161
|
+
attr_reader :location
|
162
|
+
# ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
|
163
|
+
attr_reader :reader
|
160
164
|
# The Affirm transaction ID associated with this payment.
|
161
165
|
attr_reader :transaction_id
|
162
166
|
end
|
@@ -184,8 +188,6 @@ module Stripe
|
|
184
188
|
class Card < Stripe::StripeObject
|
185
189
|
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
186
190
|
attr_reader :brand
|
187
|
-
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
188
|
-
attr_reader :brand_product
|
189
191
|
# 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.
|
190
192
|
attr_reader :country
|
191
193
|
# Two-digit number representing the card's expiration month.
|
@@ -271,11 +273,6 @@ module Stripe
|
|
271
273
|
attr_reader :cvc_check
|
272
274
|
end
|
273
275
|
|
274
|
-
class DecrementalAuthorization < Stripe::StripeObject
|
275
|
-
# Indicates whether or not the decremental authorization feature is supported.
|
276
|
-
attr_reader :status
|
277
|
-
end
|
278
|
-
|
279
276
|
class ExtendedAuthorization < Stripe::StripeObject
|
280
277
|
# Indicates whether or not the capture window is extended beyond the standard authorization.
|
281
278
|
attr_reader :status
|
@@ -317,11 +314,6 @@ module Stripe
|
|
317
314
|
attr_reader :status
|
318
315
|
end
|
319
316
|
|
320
|
-
class PartialAuthorization < Stripe::StripeObject
|
321
|
-
# Indicates whether the transaction requested for partial authorization feature and the authorization outcome.
|
322
|
-
attr_reader :status
|
323
|
-
end
|
324
|
-
|
325
317
|
class ThreeDSecure < Stripe::StripeObject
|
326
318
|
# For authenticated transactions: how the customer was authenticated by
|
327
319
|
# the issuing bank.
|
@@ -454,8 +446,6 @@ module Stripe
|
|
454
446
|
end
|
455
447
|
# The authorized amount.
|
456
448
|
attr_reader :amount_authorized
|
457
|
-
# The latest amount intended to be authorized by this charge.
|
458
|
-
attr_reader :amount_requested
|
459
449
|
# Authorization code on the charge.
|
460
450
|
attr_reader :authorization_code
|
461
451
|
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
@@ -466,8 +456,6 @@ module Stripe
|
|
466
456
|
attr_reader :checks
|
467
457
|
# 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.
|
468
458
|
attr_reader :country
|
469
|
-
# Attribute for field decremental_authorization
|
470
|
-
attr_reader :decremental_authorization
|
471
459
|
# 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.)
|
472
460
|
attr_reader :description
|
473
461
|
# Two-digit number representing the card's expiration month.
|
@@ -508,8 +496,6 @@ module Stripe
|
|
508
496
|
attr_reader :network_transaction_id
|
509
497
|
# Attribute for field overcapture
|
510
498
|
attr_reader :overcapture
|
511
|
-
# Attribute for field partial_authorization
|
512
|
-
attr_reader :partial_authorization
|
513
499
|
# Status of a card based on the card issuer.
|
514
500
|
attr_reader :regulated_status
|
515
501
|
# Populated if this transaction used 3D Secure authentication.
|
@@ -645,26 +631,11 @@ module Stripe
|
|
645
631
|
attr_reader :verified_name
|
646
632
|
end
|
647
633
|
|
648
|
-
class Gopay < Stripe::StripeObject; end
|
649
|
-
|
650
634
|
class Grabpay < Stripe::StripeObject
|
651
635
|
# Unique transaction id generated by GrabPay
|
652
636
|
attr_reader :transaction_id
|
653
637
|
end
|
654
638
|
|
655
|
-
class IdBankTransfer < Stripe::StripeObject
|
656
|
-
# Account number of the bank account to transfer funds to.
|
657
|
-
attr_reader :account_number
|
658
|
-
# Bank where the account is located.
|
659
|
-
attr_reader :bank
|
660
|
-
# Local bank code of the bank.
|
661
|
-
attr_reader :bank_code
|
662
|
-
# Name of the bank associated with the bank account.
|
663
|
-
attr_reader :bank_name
|
664
|
-
# Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
665
|
-
attr_reader :display_name
|
666
|
-
end
|
667
|
-
|
668
639
|
class Ideal < Stripe::StripeObject
|
669
640
|
# 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`.
|
670
641
|
attr_reader :bank
|
@@ -790,8 +761,6 @@ module Stripe
|
|
790
761
|
attr_reader :country
|
791
762
|
end
|
792
763
|
|
793
|
-
class MbWay < Stripe::StripeObject; end
|
794
|
-
|
795
764
|
class Mobilepay < Stripe::StripeObject
|
796
765
|
class Card < Stripe::StripeObject
|
797
766
|
# Brand of the card used in the transaction
|
@@ -871,36 +840,6 @@ module Stripe
|
|
871
840
|
# Indicates whether the transaction is eligible for PayPal's seller protection.
|
872
841
|
attr_reader :status
|
873
842
|
end
|
874
|
-
|
875
|
-
class Shipping < Stripe::StripeObject
|
876
|
-
# City, district, suburb, town, or village.
|
877
|
-
attr_reader :city
|
878
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
879
|
-
attr_reader :country
|
880
|
-
# Address line 1 (e.g., street, PO Box, or company name).
|
881
|
-
attr_reader :line1
|
882
|
-
# Address line 2 (e.g., apartment, suite, unit, or building).
|
883
|
-
attr_reader :line2
|
884
|
-
# ZIP or postal code.
|
885
|
-
attr_reader :postal_code
|
886
|
-
# State, county, province, or region.
|
887
|
-
attr_reader :state
|
888
|
-
end
|
889
|
-
|
890
|
-
class VerifiedAddress < Stripe::StripeObject
|
891
|
-
# City, district, suburb, town, or village.
|
892
|
-
attr_reader :city
|
893
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
894
|
-
attr_reader :country
|
895
|
-
# Address line 1 (e.g., street, PO Box, or company name).
|
896
|
-
attr_reader :line1
|
897
|
-
# Address line 2 (e.g., apartment, suite, unit, or building).
|
898
|
-
attr_reader :line2
|
899
|
-
# ZIP or postal code.
|
900
|
-
attr_reader :postal_code
|
901
|
-
# State, county, province, or region.
|
902
|
-
attr_reader :state
|
903
|
-
end
|
904
843
|
# 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.
|
905
844
|
attr_reader :country
|
906
845
|
# Owner's email. Values are provided by PayPal directly
|
@@ -913,33 +852,8 @@ module Stripe
|
|
913
852
|
attr_reader :payer_name
|
914
853
|
# The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
|
915
854
|
attr_reader :seller_protection
|
916
|
-
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
917
|
-
# execution. This shipping address will not be updated if the merchant updates the shipping
|
918
|
-
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
919
|
-
attr_reader :shipping
|
920
855
|
# A unique ID generated by PayPal for this transaction.
|
921
856
|
attr_reader :transaction_id
|
922
|
-
# The shipping address for the customer, as supplied by the merchant at the point of payment
|
923
|
-
# execution. This shipping address will not be updated if the merchant updates the shipping
|
924
|
-
# address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
925
|
-
attr_reader :verified_address
|
926
|
-
# Owner's verified email. Values are verified or provided by PayPal directly
|
927
|
-
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
928
|
-
attr_reader :verified_email
|
929
|
-
# Owner's verified full name. Values are verified or provided by PayPal directly
|
930
|
-
# (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
931
|
-
attr_reader :verified_name
|
932
|
-
end
|
933
|
-
|
934
|
-
class Payto < Stripe::StripeObject
|
935
|
-
# Bank-State-Branch number of the bank account.
|
936
|
-
attr_reader :bsb_number
|
937
|
-
# Last four digits of the bank account number.
|
938
|
-
attr_reader :last4
|
939
|
-
# ID of the mandate used to make this payment.
|
940
|
-
attr_reader :mandate
|
941
|
-
# The PayID alias for the bank account.
|
942
|
-
attr_reader :pay_id
|
943
857
|
end
|
944
858
|
|
945
859
|
class Pix < Stripe::StripeObject
|
@@ -952,16 +866,11 @@ module Stripe
|
|
952
866
|
attr_reader :reference
|
953
867
|
end
|
954
868
|
|
955
|
-
class Qris < Stripe::StripeObject; end
|
956
|
-
class Rechnung < Stripe::StripeObject; end
|
957
|
-
|
958
869
|
class RevolutPay < Stripe::StripeObject
|
959
870
|
class Funding < Stripe::StripeObject
|
960
871
|
class Card < Stripe::StripeObject
|
961
872
|
# Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
962
873
|
attr_reader :brand
|
963
|
-
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
964
|
-
attr_reader :brand_product
|
965
874
|
# 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.
|
966
875
|
attr_reader :country
|
967
876
|
# Two-digit number representing the card's expiration month.
|
@@ -1013,8 +922,6 @@ module Stripe
|
|
1013
922
|
attr_reader :mandate
|
1014
923
|
end
|
1015
924
|
|
1016
|
-
class Shopeepay < Stripe::StripeObject; end
|
1017
|
-
|
1018
925
|
class Sofort < Stripe::StripeObject
|
1019
926
|
# Bank code of bank associated with the bank account.
|
1020
927
|
attr_reader :bank_code
|
@@ -1040,13 +947,6 @@ module Stripe
|
|
1040
947
|
|
1041
948
|
class StripeAccount < Stripe::StripeObject; end
|
1042
949
|
|
1043
|
-
class StripeBalance < Stripe::StripeObject
|
1044
|
-
# The connected account ID whose Stripe balance to use as the source of payment
|
1045
|
-
attr_reader :account
|
1046
|
-
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
1047
|
-
attr_reader :source_type
|
1048
|
-
end
|
1049
|
-
|
1050
950
|
class Swish < Stripe::StripeObject
|
1051
951
|
# 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
|
1052
952
|
attr_reader :fingerprint
|
@@ -1082,6 +982,10 @@ module Stripe
|
|
1082
982
|
class WechatPay < Stripe::StripeObject
|
1083
983
|
# Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.
|
1084
984
|
attr_reader :fingerprint
|
985
|
+
# ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
|
986
|
+
attr_reader :location
|
987
|
+
# ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
|
988
|
+
attr_reader :reader
|
1085
989
|
# Transaction ID of this particular WeChat Pay transaction.
|
1086
990
|
attr_reader :transaction_id
|
1087
991
|
end
|
@@ -1129,12 +1033,8 @@ module Stripe
|
|
1129
1033
|
attr_reader :fpx
|
1130
1034
|
# Attribute for field giropay
|
1131
1035
|
attr_reader :giropay
|
1132
|
-
# Attribute for field gopay
|
1133
|
-
attr_reader :gopay
|
1134
1036
|
# Attribute for field grabpay
|
1135
1037
|
attr_reader :grabpay
|
1136
|
-
# Attribute for field id_bank_transfer
|
1137
|
-
attr_reader :id_bank_transfer
|
1138
1038
|
# Attribute for field ideal
|
1139
1039
|
attr_reader :ideal
|
1140
1040
|
# Attribute for field interac_present
|
@@ -1149,8 +1049,6 @@ module Stripe
|
|
1149
1049
|
attr_reader :kr_card
|
1150
1050
|
# Attribute for field link
|
1151
1051
|
attr_reader :link
|
1152
|
-
# Attribute for field mb_way
|
1153
|
-
attr_reader :mb_way
|
1154
1052
|
# Attribute for field mobilepay
|
1155
1053
|
attr_reader :mobilepay
|
1156
1054
|
# Attribute for field multibanco
|
@@ -1171,16 +1069,10 @@ module Stripe
|
|
1171
1069
|
attr_reader :paynow
|
1172
1070
|
# Attribute for field paypal
|
1173
1071
|
attr_reader :paypal
|
1174
|
-
# Attribute for field payto
|
1175
|
-
attr_reader :payto
|
1176
1072
|
# Attribute for field pix
|
1177
1073
|
attr_reader :pix
|
1178
1074
|
# Attribute for field promptpay
|
1179
1075
|
attr_reader :promptpay
|
1180
|
-
# Attribute for field qris
|
1181
|
-
attr_reader :qris
|
1182
|
-
# Attribute for field rechnung
|
1183
|
-
attr_reader :rechnung
|
1184
1076
|
# Attribute for field revolut_pay
|
1185
1077
|
attr_reader :revolut_pay
|
1186
1078
|
# Attribute for field samsung_pay
|
@@ -1191,14 +1083,10 @@ module Stripe
|
|
1191
1083
|
attr_reader :sepa_credit_transfer
|
1192
1084
|
# Attribute for field sepa_debit
|
1193
1085
|
attr_reader :sepa_debit
|
1194
|
-
# Attribute for field shopeepay
|
1195
|
-
attr_reader :shopeepay
|
1196
1086
|
# Attribute for field sofort
|
1197
1087
|
attr_reader :sofort
|
1198
1088
|
# Attribute for field stripe_account
|
1199
1089
|
attr_reader :stripe_account
|
1200
|
-
# Attribute for field stripe_balance
|
1201
|
-
attr_reader :stripe_balance
|
1202
1090
|
# Attribute for field swish
|
1203
1091
|
attr_reader :swish
|
1204
1092
|
# Attribute for field twint
|
@@ -1497,677 +1385,6 @@ module Stripe
|
|
1497
1385
|
end
|
1498
1386
|
end
|
1499
1387
|
|
1500
|
-
class PaymentDetails < Stripe::RequestParams
|
1501
|
-
class CarRental < Stripe::RequestParams
|
1502
|
-
class Affiliate < Stripe::RequestParams
|
1503
|
-
# The name of the affiliate that originated the purchase.
|
1504
|
-
attr_accessor :name
|
1505
|
-
|
1506
|
-
def initialize(name: nil)
|
1507
|
-
@name = name
|
1508
|
-
end
|
1509
|
-
end
|
1510
|
-
|
1511
|
-
class Delivery < Stripe::RequestParams
|
1512
|
-
class Recipient < Stripe::RequestParams
|
1513
|
-
# The email of the recipient the ticket is delivered to.
|
1514
|
-
attr_accessor :email
|
1515
|
-
# The name of the recipient the ticket is delivered to.
|
1516
|
-
attr_accessor :name
|
1517
|
-
# The phone number of the recipient the ticket is delivered to.
|
1518
|
-
attr_accessor :phone
|
1519
|
-
|
1520
|
-
def initialize(email: nil, name: nil, phone: nil)
|
1521
|
-
@email = email
|
1522
|
-
@name = name
|
1523
|
-
@phone = phone
|
1524
|
-
end
|
1525
|
-
end
|
1526
|
-
# The delivery method for the payment
|
1527
|
-
attr_accessor :mode
|
1528
|
-
# Details of the recipient.
|
1529
|
-
attr_accessor :recipient
|
1530
|
-
|
1531
|
-
def initialize(mode: nil, recipient: nil)
|
1532
|
-
@mode = mode
|
1533
|
-
@recipient = recipient
|
1534
|
-
end
|
1535
|
-
end
|
1536
|
-
|
1537
|
-
class Driver < Stripe::RequestParams
|
1538
|
-
# Full name of the person or entity on the car reservation.
|
1539
|
-
attr_accessor :name
|
1540
|
-
|
1541
|
-
def initialize(name: nil)
|
1542
|
-
@name = name
|
1543
|
-
end
|
1544
|
-
end
|
1545
|
-
|
1546
|
-
class PickupAddress < Stripe::RequestParams
|
1547
|
-
# City, district, suburb, town, or village.
|
1548
|
-
attr_accessor :city
|
1549
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1550
|
-
attr_accessor :country
|
1551
|
-
# Address line 1 (e.g., street, PO Box, or company name).
|
1552
|
-
attr_accessor :line1
|
1553
|
-
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1554
|
-
attr_accessor :line2
|
1555
|
-
# ZIP or postal code.
|
1556
|
-
attr_accessor :postal_code
|
1557
|
-
# State, county, province, or region.
|
1558
|
-
attr_accessor :state
|
1559
|
-
|
1560
|
-
def initialize(
|
1561
|
-
city: nil,
|
1562
|
-
country: nil,
|
1563
|
-
line1: nil,
|
1564
|
-
line2: nil,
|
1565
|
-
postal_code: nil,
|
1566
|
-
state: nil
|
1567
|
-
)
|
1568
|
-
@city = city
|
1569
|
-
@country = country
|
1570
|
-
@line1 = line1
|
1571
|
-
@line2 = line2
|
1572
|
-
@postal_code = postal_code
|
1573
|
-
@state = state
|
1574
|
-
end
|
1575
|
-
end
|
1576
|
-
|
1577
|
-
class ReturnAddress < Stripe::RequestParams
|
1578
|
-
# City, district, suburb, town, or village.
|
1579
|
-
attr_accessor :city
|
1580
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1581
|
-
attr_accessor :country
|
1582
|
-
# Address line 1 (e.g., street, PO Box, or company name).
|
1583
|
-
attr_accessor :line1
|
1584
|
-
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1585
|
-
attr_accessor :line2
|
1586
|
-
# ZIP or postal code.
|
1587
|
-
attr_accessor :postal_code
|
1588
|
-
# State, county, province, or region.
|
1589
|
-
attr_accessor :state
|
1590
|
-
|
1591
|
-
def initialize(
|
1592
|
-
city: nil,
|
1593
|
-
country: nil,
|
1594
|
-
line1: nil,
|
1595
|
-
line2: nil,
|
1596
|
-
postal_code: nil,
|
1597
|
-
state: nil
|
1598
|
-
)
|
1599
|
-
@city = city
|
1600
|
-
@country = country
|
1601
|
-
@line1 = line1
|
1602
|
-
@line2 = line2
|
1603
|
-
@postal_code = postal_code
|
1604
|
-
@state = state
|
1605
|
-
end
|
1606
|
-
end
|
1607
|
-
# Affiliate details for this purchase.
|
1608
|
-
attr_accessor :affiliate
|
1609
|
-
# The booking number associated with the car rental.
|
1610
|
-
attr_accessor :booking_number
|
1611
|
-
# Class code of the car.
|
1612
|
-
attr_accessor :car_class_code
|
1613
|
-
# Make of the car.
|
1614
|
-
attr_accessor :car_make
|
1615
|
-
# Model of the car.
|
1616
|
-
attr_accessor :car_model
|
1617
|
-
# The name of the rental car company.
|
1618
|
-
attr_accessor :company
|
1619
|
-
# The customer service phone number of the car rental company.
|
1620
|
-
attr_accessor :customer_service_phone_number
|
1621
|
-
# Number of days the car is being rented.
|
1622
|
-
attr_accessor :days_rented
|
1623
|
-
# Delivery details for this purchase.
|
1624
|
-
attr_accessor :delivery
|
1625
|
-
# The details of the passengers in the travel reservation
|
1626
|
-
attr_accessor :drivers
|
1627
|
-
# List of additional charges being billed.
|
1628
|
-
attr_accessor :extra_charges
|
1629
|
-
# Indicates if the customer did not keep nor cancel their booking.
|
1630
|
-
attr_accessor :no_show
|
1631
|
-
# Car pick-up address.
|
1632
|
-
attr_accessor :pickup_address
|
1633
|
-
# Car pick-up time. Measured in seconds since the Unix epoch.
|
1634
|
-
attr_accessor :pickup_at
|
1635
|
-
# Rental rate.
|
1636
|
-
attr_accessor :rate_amount
|
1637
|
-
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
1638
|
-
attr_accessor :rate_interval
|
1639
|
-
# The name of the person or entity renting the car.
|
1640
|
-
attr_accessor :renter_name
|
1641
|
-
# Car return address.
|
1642
|
-
attr_accessor :return_address
|
1643
|
-
# Car return time. Measured in seconds since the Unix epoch.
|
1644
|
-
attr_accessor :return_at
|
1645
|
-
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
1646
|
-
attr_accessor :tax_exempt
|
1647
|
-
|
1648
|
-
def initialize(
|
1649
|
-
affiliate: nil,
|
1650
|
-
booking_number: nil,
|
1651
|
-
car_class_code: nil,
|
1652
|
-
car_make: nil,
|
1653
|
-
car_model: nil,
|
1654
|
-
company: nil,
|
1655
|
-
customer_service_phone_number: nil,
|
1656
|
-
days_rented: nil,
|
1657
|
-
delivery: nil,
|
1658
|
-
drivers: nil,
|
1659
|
-
extra_charges: nil,
|
1660
|
-
no_show: nil,
|
1661
|
-
pickup_address: nil,
|
1662
|
-
pickup_at: nil,
|
1663
|
-
rate_amount: nil,
|
1664
|
-
rate_interval: nil,
|
1665
|
-
renter_name: nil,
|
1666
|
-
return_address: nil,
|
1667
|
-
return_at: nil,
|
1668
|
-
tax_exempt: nil
|
1669
|
-
)
|
1670
|
-
@affiliate = affiliate
|
1671
|
-
@booking_number = booking_number
|
1672
|
-
@car_class_code = car_class_code
|
1673
|
-
@car_make = car_make
|
1674
|
-
@car_model = car_model
|
1675
|
-
@company = company
|
1676
|
-
@customer_service_phone_number = customer_service_phone_number
|
1677
|
-
@days_rented = days_rented
|
1678
|
-
@delivery = delivery
|
1679
|
-
@drivers = drivers
|
1680
|
-
@extra_charges = extra_charges
|
1681
|
-
@no_show = no_show
|
1682
|
-
@pickup_address = pickup_address
|
1683
|
-
@pickup_at = pickup_at
|
1684
|
-
@rate_amount = rate_amount
|
1685
|
-
@rate_interval = rate_interval
|
1686
|
-
@renter_name = renter_name
|
1687
|
-
@return_address = return_address
|
1688
|
-
@return_at = return_at
|
1689
|
-
@tax_exempt = tax_exempt
|
1690
|
-
end
|
1691
|
-
end
|
1692
|
-
|
1693
|
-
class EventDetails < Stripe::RequestParams
|
1694
|
-
class Address < Stripe::RequestParams
|
1695
|
-
# City, district, suburb, town, or village.
|
1696
|
-
attr_accessor :city
|
1697
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1698
|
-
attr_accessor :country
|
1699
|
-
# Address line 1 (e.g., street, PO Box, or company name).
|
1700
|
-
attr_accessor :line1
|
1701
|
-
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1702
|
-
attr_accessor :line2
|
1703
|
-
# ZIP or postal code.
|
1704
|
-
attr_accessor :postal_code
|
1705
|
-
# State, county, province, or region.
|
1706
|
-
attr_accessor :state
|
1707
|
-
|
1708
|
-
def initialize(
|
1709
|
-
city: nil,
|
1710
|
-
country: nil,
|
1711
|
-
line1: nil,
|
1712
|
-
line2: nil,
|
1713
|
-
postal_code: nil,
|
1714
|
-
state: nil
|
1715
|
-
)
|
1716
|
-
@city = city
|
1717
|
-
@country = country
|
1718
|
-
@line1 = line1
|
1719
|
-
@line2 = line2
|
1720
|
-
@postal_code = postal_code
|
1721
|
-
@state = state
|
1722
|
-
end
|
1723
|
-
end
|
1724
|
-
|
1725
|
-
class Affiliate < Stripe::RequestParams
|
1726
|
-
# The name of the affiliate that originated the purchase.
|
1727
|
-
attr_accessor :name
|
1728
|
-
|
1729
|
-
def initialize(name: nil)
|
1730
|
-
@name = name
|
1731
|
-
end
|
1732
|
-
end
|
1733
|
-
|
1734
|
-
class Delivery < Stripe::RequestParams
|
1735
|
-
class Recipient < Stripe::RequestParams
|
1736
|
-
# The email of the recipient the ticket is delivered to.
|
1737
|
-
attr_accessor :email
|
1738
|
-
# The name of the recipient the ticket is delivered to.
|
1739
|
-
attr_accessor :name
|
1740
|
-
# The phone number of the recipient the ticket is delivered to.
|
1741
|
-
attr_accessor :phone
|
1742
|
-
|
1743
|
-
def initialize(email: nil, name: nil, phone: nil)
|
1744
|
-
@email = email
|
1745
|
-
@name = name
|
1746
|
-
@phone = phone
|
1747
|
-
end
|
1748
|
-
end
|
1749
|
-
# The delivery method for the payment
|
1750
|
-
attr_accessor :mode
|
1751
|
-
# Details of the recipient.
|
1752
|
-
attr_accessor :recipient
|
1753
|
-
|
1754
|
-
def initialize(mode: nil, recipient: nil)
|
1755
|
-
@mode = mode
|
1756
|
-
@recipient = recipient
|
1757
|
-
end
|
1758
|
-
end
|
1759
|
-
# Indicates if the tickets are digitally checked when entering the venue.
|
1760
|
-
attr_accessor :access_controlled_venue
|
1761
|
-
# The event location's address.
|
1762
|
-
attr_accessor :address
|
1763
|
-
# Affiliate details for this purchase.
|
1764
|
-
attr_accessor :affiliate
|
1765
|
-
# The name of the company
|
1766
|
-
attr_accessor :company
|
1767
|
-
# Delivery details for this purchase.
|
1768
|
-
attr_accessor :delivery
|
1769
|
-
# Event end time. Measured in seconds since the Unix epoch.
|
1770
|
-
attr_accessor :ends_at
|
1771
|
-
# Type of the event entertainment (concert, sports event etc)
|
1772
|
-
attr_accessor :genre
|
1773
|
-
# The name of the event.
|
1774
|
-
attr_accessor :name
|
1775
|
-
# Event start time. Measured in seconds since the Unix epoch.
|
1776
|
-
attr_accessor :starts_at
|
1777
|
-
|
1778
|
-
def initialize(
|
1779
|
-
access_controlled_venue: nil,
|
1780
|
-
address: nil,
|
1781
|
-
affiliate: nil,
|
1782
|
-
company: nil,
|
1783
|
-
delivery: nil,
|
1784
|
-
ends_at: nil,
|
1785
|
-
genre: nil,
|
1786
|
-
name: nil,
|
1787
|
-
starts_at: nil
|
1788
|
-
)
|
1789
|
-
@access_controlled_venue = access_controlled_venue
|
1790
|
-
@address = address
|
1791
|
-
@affiliate = affiliate
|
1792
|
-
@company = company
|
1793
|
-
@delivery = delivery
|
1794
|
-
@ends_at = ends_at
|
1795
|
-
@genre = genre
|
1796
|
-
@name = name
|
1797
|
-
@starts_at = starts_at
|
1798
|
-
end
|
1799
|
-
end
|
1800
|
-
|
1801
|
-
class Flight < Stripe::RequestParams
|
1802
|
-
class Affiliate < Stripe::RequestParams
|
1803
|
-
# The name of the affiliate that originated the purchase.
|
1804
|
-
attr_accessor :name
|
1805
|
-
|
1806
|
-
def initialize(name: nil)
|
1807
|
-
@name = name
|
1808
|
-
end
|
1809
|
-
end
|
1810
|
-
|
1811
|
-
class Delivery < Stripe::RequestParams
|
1812
|
-
class Recipient < Stripe::RequestParams
|
1813
|
-
# The email of the recipient the ticket is delivered to.
|
1814
|
-
attr_accessor :email
|
1815
|
-
# The name of the recipient the ticket is delivered to.
|
1816
|
-
attr_accessor :name
|
1817
|
-
# The phone number of the recipient the ticket is delivered to.
|
1818
|
-
attr_accessor :phone
|
1819
|
-
|
1820
|
-
def initialize(email: nil, name: nil, phone: nil)
|
1821
|
-
@email = email
|
1822
|
-
@name = name
|
1823
|
-
@phone = phone
|
1824
|
-
end
|
1825
|
-
end
|
1826
|
-
# The delivery method for the payment
|
1827
|
-
attr_accessor :mode
|
1828
|
-
# Details of the recipient.
|
1829
|
-
attr_accessor :recipient
|
1830
|
-
|
1831
|
-
def initialize(mode: nil, recipient: nil)
|
1832
|
-
@mode = mode
|
1833
|
-
@recipient = recipient
|
1834
|
-
end
|
1835
|
-
end
|
1836
|
-
|
1837
|
-
class Passenger < Stripe::RequestParams
|
1838
|
-
# Full name of the person or entity on the flight reservation.
|
1839
|
-
attr_accessor :name
|
1840
|
-
|
1841
|
-
def initialize(name: nil)
|
1842
|
-
@name = name
|
1843
|
-
end
|
1844
|
-
end
|
1845
|
-
|
1846
|
-
class Segment < Stripe::RequestParams
|
1847
|
-
# The flight segment amount.
|
1848
|
-
attr_accessor :amount
|
1849
|
-
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
1850
|
-
attr_accessor :arrival_airport
|
1851
|
-
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
1852
|
-
attr_accessor :arrives_at
|
1853
|
-
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
1854
|
-
attr_accessor :carrier
|
1855
|
-
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
1856
|
-
attr_accessor :departs_at
|
1857
|
-
# The International Air Transport Association (IATA) airport code for the departure airport.
|
1858
|
-
attr_accessor :departure_airport
|
1859
|
-
# The flight number associated with the segment
|
1860
|
-
attr_accessor :flight_number
|
1861
|
-
# The fare class for the segment.
|
1862
|
-
attr_accessor :service_class
|
1863
|
-
|
1864
|
-
def initialize(
|
1865
|
-
amount: nil,
|
1866
|
-
arrival_airport: nil,
|
1867
|
-
arrives_at: nil,
|
1868
|
-
carrier: nil,
|
1869
|
-
departs_at: nil,
|
1870
|
-
departure_airport: nil,
|
1871
|
-
flight_number: nil,
|
1872
|
-
service_class: nil
|
1873
|
-
)
|
1874
|
-
@amount = amount
|
1875
|
-
@arrival_airport = arrival_airport
|
1876
|
-
@arrives_at = arrives_at
|
1877
|
-
@carrier = carrier
|
1878
|
-
@departs_at = departs_at
|
1879
|
-
@departure_airport = departure_airport
|
1880
|
-
@flight_number = flight_number
|
1881
|
-
@service_class = service_class
|
1882
|
-
end
|
1883
|
-
end
|
1884
|
-
# Affiliate details for this purchase.
|
1885
|
-
attr_accessor :affiliate
|
1886
|
-
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
1887
|
-
attr_accessor :agency_number
|
1888
|
-
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
1889
|
-
attr_accessor :carrier
|
1890
|
-
# Delivery details for this purchase.
|
1891
|
-
attr_accessor :delivery
|
1892
|
-
# The name of the person or entity on the reservation.
|
1893
|
-
attr_accessor :passenger_name
|
1894
|
-
# The details of the passengers in the travel reservation.
|
1895
|
-
attr_accessor :passengers
|
1896
|
-
# The individual flight segments associated with the trip.
|
1897
|
-
attr_accessor :segments
|
1898
|
-
# The ticket number associated with the travel reservation.
|
1899
|
-
attr_accessor :ticket_number
|
1900
|
-
|
1901
|
-
def initialize(
|
1902
|
-
affiliate: nil,
|
1903
|
-
agency_number: nil,
|
1904
|
-
carrier: nil,
|
1905
|
-
delivery: nil,
|
1906
|
-
passenger_name: nil,
|
1907
|
-
passengers: nil,
|
1908
|
-
segments: nil,
|
1909
|
-
ticket_number: nil
|
1910
|
-
)
|
1911
|
-
@affiliate = affiliate
|
1912
|
-
@agency_number = agency_number
|
1913
|
-
@carrier = carrier
|
1914
|
-
@delivery = delivery
|
1915
|
-
@passenger_name = passenger_name
|
1916
|
-
@passengers = passengers
|
1917
|
-
@segments = segments
|
1918
|
-
@ticket_number = ticket_number
|
1919
|
-
end
|
1920
|
-
end
|
1921
|
-
|
1922
|
-
class Lodging < Stripe::RequestParams
|
1923
|
-
class Address < Stripe::RequestParams
|
1924
|
-
# City, district, suburb, town, or village.
|
1925
|
-
attr_accessor :city
|
1926
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
1927
|
-
attr_accessor :country
|
1928
|
-
# Address line 1 (e.g., street, PO Box, or company name).
|
1929
|
-
attr_accessor :line1
|
1930
|
-
# Address line 2 (e.g., apartment, suite, unit, or building).
|
1931
|
-
attr_accessor :line2
|
1932
|
-
# ZIP or postal code.
|
1933
|
-
attr_accessor :postal_code
|
1934
|
-
# State, county, province, or region.
|
1935
|
-
attr_accessor :state
|
1936
|
-
|
1937
|
-
def initialize(
|
1938
|
-
city: nil,
|
1939
|
-
country: nil,
|
1940
|
-
line1: nil,
|
1941
|
-
line2: nil,
|
1942
|
-
postal_code: nil,
|
1943
|
-
state: nil
|
1944
|
-
)
|
1945
|
-
@city = city
|
1946
|
-
@country = country
|
1947
|
-
@line1 = line1
|
1948
|
-
@line2 = line2
|
1949
|
-
@postal_code = postal_code
|
1950
|
-
@state = state
|
1951
|
-
end
|
1952
|
-
end
|
1953
|
-
|
1954
|
-
class Affiliate < Stripe::RequestParams
|
1955
|
-
# The name of the affiliate that originated the purchase.
|
1956
|
-
attr_accessor :name
|
1957
|
-
|
1958
|
-
def initialize(name: nil)
|
1959
|
-
@name = name
|
1960
|
-
end
|
1961
|
-
end
|
1962
|
-
|
1963
|
-
class Delivery < Stripe::RequestParams
|
1964
|
-
class Recipient < Stripe::RequestParams
|
1965
|
-
# The email of the recipient the ticket is delivered to.
|
1966
|
-
attr_accessor :email
|
1967
|
-
# The name of the recipient the ticket is delivered to.
|
1968
|
-
attr_accessor :name
|
1969
|
-
# The phone number of the recipient the ticket is delivered to.
|
1970
|
-
attr_accessor :phone
|
1971
|
-
|
1972
|
-
def initialize(email: nil, name: nil, phone: nil)
|
1973
|
-
@email = email
|
1974
|
-
@name = name
|
1975
|
-
@phone = phone
|
1976
|
-
end
|
1977
|
-
end
|
1978
|
-
# The delivery method for the payment
|
1979
|
-
attr_accessor :mode
|
1980
|
-
# Details of the recipient.
|
1981
|
-
attr_accessor :recipient
|
1982
|
-
|
1983
|
-
def initialize(mode: nil, recipient: nil)
|
1984
|
-
@mode = mode
|
1985
|
-
@recipient = recipient
|
1986
|
-
end
|
1987
|
-
end
|
1988
|
-
|
1989
|
-
class Passenger < Stripe::RequestParams
|
1990
|
-
# Full name of the person or entity on the lodging reservation.
|
1991
|
-
attr_accessor :name
|
1992
|
-
|
1993
|
-
def initialize(name: nil)
|
1994
|
-
@name = name
|
1995
|
-
end
|
1996
|
-
end
|
1997
|
-
# The lodging location's address.
|
1998
|
-
attr_accessor :address
|
1999
|
-
# The number of adults on the booking
|
2000
|
-
attr_accessor :adults
|
2001
|
-
# Affiliate details for this purchase.
|
2002
|
-
attr_accessor :affiliate
|
2003
|
-
# The booking number associated with the lodging reservation.
|
2004
|
-
attr_accessor :booking_number
|
2005
|
-
# The lodging category
|
2006
|
-
attr_accessor :category
|
2007
|
-
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
2008
|
-
attr_accessor :checkin_at
|
2009
|
-
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
2010
|
-
attr_accessor :checkout_at
|
2011
|
-
# The customer service phone number of the lodging company.
|
2012
|
-
attr_accessor :customer_service_phone_number
|
2013
|
-
# The daily lodging room rate.
|
2014
|
-
attr_accessor :daily_room_rate_amount
|
2015
|
-
# Delivery details for this purchase.
|
2016
|
-
attr_accessor :delivery
|
2017
|
-
# List of additional charges being billed.
|
2018
|
-
attr_accessor :extra_charges
|
2019
|
-
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
2020
|
-
attr_accessor :fire_safety_act_compliance
|
2021
|
-
# The name of the lodging location.
|
2022
|
-
attr_accessor :name
|
2023
|
-
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
2024
|
-
attr_accessor :no_show
|
2025
|
-
# The number of rooms on the booking
|
2026
|
-
attr_accessor :number_of_rooms
|
2027
|
-
# The details of the passengers in the travel reservation
|
2028
|
-
attr_accessor :passengers
|
2029
|
-
# The phone number of the lodging location.
|
2030
|
-
attr_accessor :property_phone_number
|
2031
|
-
# The room class for this purchase.
|
2032
|
-
attr_accessor :room_class
|
2033
|
-
# The number of room nights
|
2034
|
-
attr_accessor :room_nights
|
2035
|
-
# The total tax amount associating with the room reservation.
|
2036
|
-
attr_accessor :total_room_tax_amount
|
2037
|
-
# The total tax amount
|
2038
|
-
attr_accessor :total_tax_amount
|
2039
|
-
|
2040
|
-
def initialize(
|
2041
|
-
address: nil,
|
2042
|
-
adults: nil,
|
2043
|
-
affiliate: nil,
|
2044
|
-
booking_number: nil,
|
2045
|
-
category: nil,
|
2046
|
-
checkin_at: nil,
|
2047
|
-
checkout_at: nil,
|
2048
|
-
customer_service_phone_number: nil,
|
2049
|
-
daily_room_rate_amount: nil,
|
2050
|
-
delivery: nil,
|
2051
|
-
extra_charges: nil,
|
2052
|
-
fire_safety_act_compliance: nil,
|
2053
|
-
name: nil,
|
2054
|
-
no_show: nil,
|
2055
|
-
number_of_rooms: nil,
|
2056
|
-
passengers: nil,
|
2057
|
-
property_phone_number: nil,
|
2058
|
-
room_class: nil,
|
2059
|
-
room_nights: nil,
|
2060
|
-
total_room_tax_amount: nil,
|
2061
|
-
total_tax_amount: nil
|
2062
|
-
)
|
2063
|
-
@address = address
|
2064
|
-
@adults = adults
|
2065
|
-
@affiliate = affiliate
|
2066
|
-
@booking_number = booking_number
|
2067
|
-
@category = category
|
2068
|
-
@checkin_at = checkin_at
|
2069
|
-
@checkout_at = checkout_at
|
2070
|
-
@customer_service_phone_number = customer_service_phone_number
|
2071
|
-
@daily_room_rate_amount = daily_room_rate_amount
|
2072
|
-
@delivery = delivery
|
2073
|
-
@extra_charges = extra_charges
|
2074
|
-
@fire_safety_act_compliance = fire_safety_act_compliance
|
2075
|
-
@name = name
|
2076
|
-
@no_show = no_show
|
2077
|
-
@number_of_rooms = number_of_rooms
|
2078
|
-
@passengers = passengers
|
2079
|
-
@property_phone_number = property_phone_number
|
2080
|
-
@room_class = room_class
|
2081
|
-
@room_nights = room_nights
|
2082
|
-
@total_room_tax_amount = total_room_tax_amount
|
2083
|
-
@total_tax_amount = total_tax_amount
|
2084
|
-
end
|
2085
|
-
end
|
2086
|
-
|
2087
|
-
class Subscription < Stripe::RequestParams
|
2088
|
-
class Affiliate < Stripe::RequestParams
|
2089
|
-
# The name of the affiliate that originated the purchase.
|
2090
|
-
attr_accessor :name
|
2091
|
-
|
2092
|
-
def initialize(name: nil)
|
2093
|
-
@name = name
|
2094
|
-
end
|
2095
|
-
end
|
2096
|
-
|
2097
|
-
class BillingInterval < Stripe::RequestParams
|
2098
|
-
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
2099
|
-
attr_accessor :count
|
2100
|
-
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
2101
|
-
attr_accessor :interval
|
2102
|
-
|
2103
|
-
def initialize(count: nil, interval: nil)
|
2104
|
-
@count = count
|
2105
|
-
@interval = interval
|
2106
|
-
end
|
2107
|
-
end
|
2108
|
-
# Affiliate details for this purchase.
|
2109
|
-
attr_accessor :affiliate
|
2110
|
-
# Info whether the subscription will be auto renewed upon expiry.
|
2111
|
-
attr_accessor :auto_renewal
|
2112
|
-
# Subscription billing details for this purchase.
|
2113
|
-
attr_accessor :billing_interval
|
2114
|
-
# Subscription end time. Measured in seconds since the Unix epoch.
|
2115
|
-
attr_accessor :ends_at
|
2116
|
-
# Name of the product on subscription. e.g. Apple Music Subscription
|
2117
|
-
attr_accessor :name
|
2118
|
-
# Subscription start time. Measured in seconds since the Unix epoch.
|
2119
|
-
attr_accessor :starts_at
|
2120
|
-
|
2121
|
-
def initialize(
|
2122
|
-
affiliate: nil,
|
2123
|
-
auto_renewal: nil,
|
2124
|
-
billing_interval: nil,
|
2125
|
-
ends_at: nil,
|
2126
|
-
name: nil,
|
2127
|
-
starts_at: nil
|
2128
|
-
)
|
2129
|
-
@affiliate = affiliate
|
2130
|
-
@auto_renewal = auto_renewal
|
2131
|
-
@billing_interval = billing_interval
|
2132
|
-
@ends_at = ends_at
|
2133
|
-
@name = name
|
2134
|
-
@starts_at = starts_at
|
2135
|
-
end
|
2136
|
-
end
|
2137
|
-
# Car rental details for this PaymentIntent.
|
2138
|
-
attr_accessor :car_rental
|
2139
|
-
# Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
|
2140
|
-
attr_accessor :customer_reference
|
2141
|
-
# Event details for this PaymentIntent
|
2142
|
-
attr_accessor :event_details
|
2143
|
-
# Flight reservation details for this PaymentIntent
|
2144
|
-
attr_accessor :flight
|
2145
|
-
# Lodging reservation details for this PaymentIntent
|
2146
|
-
attr_accessor :lodging
|
2147
|
-
# A unique value assigned by the business to identify the transaction.
|
2148
|
-
attr_accessor :order_reference
|
2149
|
-
# Subscription details for this PaymentIntent
|
2150
|
-
attr_accessor :subscription
|
2151
|
-
|
2152
|
-
def initialize(
|
2153
|
-
car_rental: nil,
|
2154
|
-
customer_reference: nil,
|
2155
|
-
event_details: nil,
|
2156
|
-
flight: nil,
|
2157
|
-
lodging: nil,
|
2158
|
-
order_reference: nil,
|
2159
|
-
subscription: nil
|
2160
|
-
)
|
2161
|
-
@car_rental = car_rental
|
2162
|
-
@customer_reference = customer_reference
|
2163
|
-
@event_details = event_details
|
2164
|
-
@flight = flight
|
2165
|
-
@lodging = lodging
|
2166
|
-
@order_reference = order_reference
|
2167
|
-
@subscription = subscription
|
2168
|
-
end
|
2169
|
-
end
|
2170
|
-
|
2171
1388
|
class Shipping < Stripe::RequestParams
|
2172
1389
|
class Address < Stripe::RequestParams
|
2173
1390
|
# City, district, suburb, town, or village.
|
@@ -2228,8 +1445,6 @@ module Stripe
|
|
2228
1445
|
attr_accessor :fraud_details
|
2229
1446
|
# 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`.
|
2230
1447
|
attr_accessor :metadata
|
2231
|
-
# Provides industry-specific information about the charge.
|
2232
|
-
attr_accessor :payment_details
|
2233
1448
|
# 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.
|
2234
1449
|
attr_accessor :receipt_email
|
2235
1450
|
# Shipping information for the charge. Helps prevent fraud on charges for physical goods.
|
@@ -2243,7 +1458,6 @@ module Stripe
|
|
2243
1458
|
expand: nil,
|
2244
1459
|
fraud_details: nil,
|
2245
1460
|
metadata: nil,
|
2246
|
-
payment_details: nil,
|
2247
1461
|
receipt_email: nil,
|
2248
1462
|
shipping: nil,
|
2249
1463
|
transfer_group: nil
|
@@ -2253,7 +1467,6 @@ module Stripe
|
|
2253
1467
|
@expand = expand
|
2254
1468
|
@fraud_details = fraud_details
|
2255
1469
|
@metadata = metadata
|
2256
|
-
@payment_details = payment_details
|
2257
1470
|
@receipt_email = receipt_email
|
2258
1471
|
@shipping = shipping
|
2259
1472
|
@transfer_group = transfer_group
|
@@ -2279,677 +1492,6 @@ module Stripe
|
|
2279
1492
|
end
|
2280
1493
|
|
2281
1494
|
class CaptureParams < Stripe::RequestParams
|
2282
|
-
class PaymentDetails < Stripe::RequestParams
|
2283
|
-
class CarRental < Stripe::RequestParams
|
2284
|
-
class Affiliate < Stripe::RequestParams
|
2285
|
-
# The name of the affiliate that originated the purchase.
|
2286
|
-
attr_accessor :name
|
2287
|
-
|
2288
|
-
def initialize(name: nil)
|
2289
|
-
@name = name
|
2290
|
-
end
|
2291
|
-
end
|
2292
|
-
|
2293
|
-
class Delivery < Stripe::RequestParams
|
2294
|
-
class Recipient < Stripe::RequestParams
|
2295
|
-
# The email of the recipient the ticket is delivered to.
|
2296
|
-
attr_accessor :email
|
2297
|
-
# The name of the recipient the ticket is delivered to.
|
2298
|
-
attr_accessor :name
|
2299
|
-
# The phone number of the recipient the ticket is delivered to.
|
2300
|
-
attr_accessor :phone
|
2301
|
-
|
2302
|
-
def initialize(email: nil, name: nil, phone: nil)
|
2303
|
-
@email = email
|
2304
|
-
@name = name
|
2305
|
-
@phone = phone
|
2306
|
-
end
|
2307
|
-
end
|
2308
|
-
# The delivery method for the payment
|
2309
|
-
attr_accessor :mode
|
2310
|
-
# Details of the recipient.
|
2311
|
-
attr_accessor :recipient
|
2312
|
-
|
2313
|
-
def initialize(mode: nil, recipient: nil)
|
2314
|
-
@mode = mode
|
2315
|
-
@recipient = recipient
|
2316
|
-
end
|
2317
|
-
end
|
2318
|
-
|
2319
|
-
class Driver < Stripe::RequestParams
|
2320
|
-
# Full name of the person or entity on the car reservation.
|
2321
|
-
attr_accessor :name
|
2322
|
-
|
2323
|
-
def initialize(name: nil)
|
2324
|
-
@name = name
|
2325
|
-
end
|
2326
|
-
end
|
2327
|
-
|
2328
|
-
class PickupAddress < Stripe::RequestParams
|
2329
|
-
# City, district, suburb, town, or village.
|
2330
|
-
attr_accessor :city
|
2331
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2332
|
-
attr_accessor :country
|
2333
|
-
# Address line 1 (e.g., street, PO Box, or company name).
|
2334
|
-
attr_accessor :line1
|
2335
|
-
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2336
|
-
attr_accessor :line2
|
2337
|
-
# ZIP or postal code.
|
2338
|
-
attr_accessor :postal_code
|
2339
|
-
# State, county, province, or region.
|
2340
|
-
attr_accessor :state
|
2341
|
-
|
2342
|
-
def initialize(
|
2343
|
-
city: nil,
|
2344
|
-
country: nil,
|
2345
|
-
line1: nil,
|
2346
|
-
line2: nil,
|
2347
|
-
postal_code: nil,
|
2348
|
-
state: nil
|
2349
|
-
)
|
2350
|
-
@city = city
|
2351
|
-
@country = country
|
2352
|
-
@line1 = line1
|
2353
|
-
@line2 = line2
|
2354
|
-
@postal_code = postal_code
|
2355
|
-
@state = state
|
2356
|
-
end
|
2357
|
-
end
|
2358
|
-
|
2359
|
-
class ReturnAddress < Stripe::RequestParams
|
2360
|
-
# City, district, suburb, town, or village.
|
2361
|
-
attr_accessor :city
|
2362
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2363
|
-
attr_accessor :country
|
2364
|
-
# Address line 1 (e.g., street, PO Box, or company name).
|
2365
|
-
attr_accessor :line1
|
2366
|
-
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2367
|
-
attr_accessor :line2
|
2368
|
-
# ZIP or postal code.
|
2369
|
-
attr_accessor :postal_code
|
2370
|
-
# State, county, province, or region.
|
2371
|
-
attr_accessor :state
|
2372
|
-
|
2373
|
-
def initialize(
|
2374
|
-
city: nil,
|
2375
|
-
country: nil,
|
2376
|
-
line1: nil,
|
2377
|
-
line2: nil,
|
2378
|
-
postal_code: nil,
|
2379
|
-
state: nil
|
2380
|
-
)
|
2381
|
-
@city = city
|
2382
|
-
@country = country
|
2383
|
-
@line1 = line1
|
2384
|
-
@line2 = line2
|
2385
|
-
@postal_code = postal_code
|
2386
|
-
@state = state
|
2387
|
-
end
|
2388
|
-
end
|
2389
|
-
# Affiliate details for this purchase.
|
2390
|
-
attr_accessor :affiliate
|
2391
|
-
# The booking number associated with the car rental.
|
2392
|
-
attr_accessor :booking_number
|
2393
|
-
# Class code of the car.
|
2394
|
-
attr_accessor :car_class_code
|
2395
|
-
# Make of the car.
|
2396
|
-
attr_accessor :car_make
|
2397
|
-
# Model of the car.
|
2398
|
-
attr_accessor :car_model
|
2399
|
-
# The name of the rental car company.
|
2400
|
-
attr_accessor :company
|
2401
|
-
# The customer service phone number of the car rental company.
|
2402
|
-
attr_accessor :customer_service_phone_number
|
2403
|
-
# Number of days the car is being rented.
|
2404
|
-
attr_accessor :days_rented
|
2405
|
-
# Delivery details for this purchase.
|
2406
|
-
attr_accessor :delivery
|
2407
|
-
# The details of the passengers in the travel reservation
|
2408
|
-
attr_accessor :drivers
|
2409
|
-
# List of additional charges being billed.
|
2410
|
-
attr_accessor :extra_charges
|
2411
|
-
# Indicates if the customer did not keep nor cancel their booking.
|
2412
|
-
attr_accessor :no_show
|
2413
|
-
# Car pick-up address.
|
2414
|
-
attr_accessor :pickup_address
|
2415
|
-
# Car pick-up time. Measured in seconds since the Unix epoch.
|
2416
|
-
attr_accessor :pickup_at
|
2417
|
-
# Rental rate.
|
2418
|
-
attr_accessor :rate_amount
|
2419
|
-
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
2420
|
-
attr_accessor :rate_interval
|
2421
|
-
# The name of the person or entity renting the car.
|
2422
|
-
attr_accessor :renter_name
|
2423
|
-
# Car return address.
|
2424
|
-
attr_accessor :return_address
|
2425
|
-
# Car return time. Measured in seconds since the Unix epoch.
|
2426
|
-
attr_accessor :return_at
|
2427
|
-
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
2428
|
-
attr_accessor :tax_exempt
|
2429
|
-
|
2430
|
-
def initialize(
|
2431
|
-
affiliate: nil,
|
2432
|
-
booking_number: nil,
|
2433
|
-
car_class_code: nil,
|
2434
|
-
car_make: nil,
|
2435
|
-
car_model: nil,
|
2436
|
-
company: nil,
|
2437
|
-
customer_service_phone_number: nil,
|
2438
|
-
days_rented: nil,
|
2439
|
-
delivery: nil,
|
2440
|
-
drivers: nil,
|
2441
|
-
extra_charges: nil,
|
2442
|
-
no_show: nil,
|
2443
|
-
pickup_address: nil,
|
2444
|
-
pickup_at: nil,
|
2445
|
-
rate_amount: nil,
|
2446
|
-
rate_interval: nil,
|
2447
|
-
renter_name: nil,
|
2448
|
-
return_address: nil,
|
2449
|
-
return_at: nil,
|
2450
|
-
tax_exempt: nil
|
2451
|
-
)
|
2452
|
-
@affiliate = affiliate
|
2453
|
-
@booking_number = booking_number
|
2454
|
-
@car_class_code = car_class_code
|
2455
|
-
@car_make = car_make
|
2456
|
-
@car_model = car_model
|
2457
|
-
@company = company
|
2458
|
-
@customer_service_phone_number = customer_service_phone_number
|
2459
|
-
@days_rented = days_rented
|
2460
|
-
@delivery = delivery
|
2461
|
-
@drivers = drivers
|
2462
|
-
@extra_charges = extra_charges
|
2463
|
-
@no_show = no_show
|
2464
|
-
@pickup_address = pickup_address
|
2465
|
-
@pickup_at = pickup_at
|
2466
|
-
@rate_amount = rate_amount
|
2467
|
-
@rate_interval = rate_interval
|
2468
|
-
@renter_name = renter_name
|
2469
|
-
@return_address = return_address
|
2470
|
-
@return_at = return_at
|
2471
|
-
@tax_exempt = tax_exempt
|
2472
|
-
end
|
2473
|
-
end
|
2474
|
-
|
2475
|
-
class EventDetails < Stripe::RequestParams
|
2476
|
-
class Address < Stripe::RequestParams
|
2477
|
-
# City, district, suburb, town, or village.
|
2478
|
-
attr_accessor :city
|
2479
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2480
|
-
attr_accessor :country
|
2481
|
-
# Address line 1 (e.g., street, PO Box, or company name).
|
2482
|
-
attr_accessor :line1
|
2483
|
-
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2484
|
-
attr_accessor :line2
|
2485
|
-
# ZIP or postal code.
|
2486
|
-
attr_accessor :postal_code
|
2487
|
-
# State, county, province, or region.
|
2488
|
-
attr_accessor :state
|
2489
|
-
|
2490
|
-
def initialize(
|
2491
|
-
city: nil,
|
2492
|
-
country: nil,
|
2493
|
-
line1: nil,
|
2494
|
-
line2: nil,
|
2495
|
-
postal_code: nil,
|
2496
|
-
state: nil
|
2497
|
-
)
|
2498
|
-
@city = city
|
2499
|
-
@country = country
|
2500
|
-
@line1 = line1
|
2501
|
-
@line2 = line2
|
2502
|
-
@postal_code = postal_code
|
2503
|
-
@state = state
|
2504
|
-
end
|
2505
|
-
end
|
2506
|
-
|
2507
|
-
class Affiliate < Stripe::RequestParams
|
2508
|
-
# The name of the affiliate that originated the purchase.
|
2509
|
-
attr_accessor :name
|
2510
|
-
|
2511
|
-
def initialize(name: nil)
|
2512
|
-
@name = name
|
2513
|
-
end
|
2514
|
-
end
|
2515
|
-
|
2516
|
-
class Delivery < Stripe::RequestParams
|
2517
|
-
class Recipient < Stripe::RequestParams
|
2518
|
-
# The email of the recipient the ticket is delivered to.
|
2519
|
-
attr_accessor :email
|
2520
|
-
# The name of the recipient the ticket is delivered to.
|
2521
|
-
attr_accessor :name
|
2522
|
-
# The phone number of the recipient the ticket is delivered to.
|
2523
|
-
attr_accessor :phone
|
2524
|
-
|
2525
|
-
def initialize(email: nil, name: nil, phone: nil)
|
2526
|
-
@email = email
|
2527
|
-
@name = name
|
2528
|
-
@phone = phone
|
2529
|
-
end
|
2530
|
-
end
|
2531
|
-
# The delivery method for the payment
|
2532
|
-
attr_accessor :mode
|
2533
|
-
# Details of the recipient.
|
2534
|
-
attr_accessor :recipient
|
2535
|
-
|
2536
|
-
def initialize(mode: nil, recipient: nil)
|
2537
|
-
@mode = mode
|
2538
|
-
@recipient = recipient
|
2539
|
-
end
|
2540
|
-
end
|
2541
|
-
# Indicates if the tickets are digitally checked when entering the venue.
|
2542
|
-
attr_accessor :access_controlled_venue
|
2543
|
-
# The event location's address.
|
2544
|
-
attr_accessor :address
|
2545
|
-
# Affiliate details for this purchase.
|
2546
|
-
attr_accessor :affiliate
|
2547
|
-
# The name of the company
|
2548
|
-
attr_accessor :company
|
2549
|
-
# Delivery details for this purchase.
|
2550
|
-
attr_accessor :delivery
|
2551
|
-
# Event end time. Measured in seconds since the Unix epoch.
|
2552
|
-
attr_accessor :ends_at
|
2553
|
-
# Type of the event entertainment (concert, sports event etc)
|
2554
|
-
attr_accessor :genre
|
2555
|
-
# The name of the event.
|
2556
|
-
attr_accessor :name
|
2557
|
-
# Event start time. Measured in seconds since the Unix epoch.
|
2558
|
-
attr_accessor :starts_at
|
2559
|
-
|
2560
|
-
def initialize(
|
2561
|
-
access_controlled_venue: nil,
|
2562
|
-
address: nil,
|
2563
|
-
affiliate: nil,
|
2564
|
-
company: nil,
|
2565
|
-
delivery: nil,
|
2566
|
-
ends_at: nil,
|
2567
|
-
genre: nil,
|
2568
|
-
name: nil,
|
2569
|
-
starts_at: nil
|
2570
|
-
)
|
2571
|
-
@access_controlled_venue = access_controlled_venue
|
2572
|
-
@address = address
|
2573
|
-
@affiliate = affiliate
|
2574
|
-
@company = company
|
2575
|
-
@delivery = delivery
|
2576
|
-
@ends_at = ends_at
|
2577
|
-
@genre = genre
|
2578
|
-
@name = name
|
2579
|
-
@starts_at = starts_at
|
2580
|
-
end
|
2581
|
-
end
|
2582
|
-
|
2583
|
-
class Flight < Stripe::RequestParams
|
2584
|
-
class Affiliate < Stripe::RequestParams
|
2585
|
-
# The name of the affiliate that originated the purchase.
|
2586
|
-
attr_accessor :name
|
2587
|
-
|
2588
|
-
def initialize(name: nil)
|
2589
|
-
@name = name
|
2590
|
-
end
|
2591
|
-
end
|
2592
|
-
|
2593
|
-
class Delivery < Stripe::RequestParams
|
2594
|
-
class Recipient < Stripe::RequestParams
|
2595
|
-
# The email of the recipient the ticket is delivered to.
|
2596
|
-
attr_accessor :email
|
2597
|
-
# The name of the recipient the ticket is delivered to.
|
2598
|
-
attr_accessor :name
|
2599
|
-
# The phone number of the recipient the ticket is delivered to.
|
2600
|
-
attr_accessor :phone
|
2601
|
-
|
2602
|
-
def initialize(email: nil, name: nil, phone: nil)
|
2603
|
-
@email = email
|
2604
|
-
@name = name
|
2605
|
-
@phone = phone
|
2606
|
-
end
|
2607
|
-
end
|
2608
|
-
# The delivery method for the payment
|
2609
|
-
attr_accessor :mode
|
2610
|
-
# Details of the recipient.
|
2611
|
-
attr_accessor :recipient
|
2612
|
-
|
2613
|
-
def initialize(mode: nil, recipient: nil)
|
2614
|
-
@mode = mode
|
2615
|
-
@recipient = recipient
|
2616
|
-
end
|
2617
|
-
end
|
2618
|
-
|
2619
|
-
class Passenger < Stripe::RequestParams
|
2620
|
-
# Full name of the person or entity on the flight reservation.
|
2621
|
-
attr_accessor :name
|
2622
|
-
|
2623
|
-
def initialize(name: nil)
|
2624
|
-
@name = name
|
2625
|
-
end
|
2626
|
-
end
|
2627
|
-
|
2628
|
-
class Segment < Stripe::RequestParams
|
2629
|
-
# The flight segment amount.
|
2630
|
-
attr_accessor :amount
|
2631
|
-
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
2632
|
-
attr_accessor :arrival_airport
|
2633
|
-
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
2634
|
-
attr_accessor :arrives_at
|
2635
|
-
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
2636
|
-
attr_accessor :carrier
|
2637
|
-
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
2638
|
-
attr_accessor :departs_at
|
2639
|
-
# The International Air Transport Association (IATA) airport code for the departure airport.
|
2640
|
-
attr_accessor :departure_airport
|
2641
|
-
# The flight number associated with the segment
|
2642
|
-
attr_accessor :flight_number
|
2643
|
-
# The fare class for the segment.
|
2644
|
-
attr_accessor :service_class
|
2645
|
-
|
2646
|
-
def initialize(
|
2647
|
-
amount: nil,
|
2648
|
-
arrival_airport: nil,
|
2649
|
-
arrives_at: nil,
|
2650
|
-
carrier: nil,
|
2651
|
-
departs_at: nil,
|
2652
|
-
departure_airport: nil,
|
2653
|
-
flight_number: nil,
|
2654
|
-
service_class: nil
|
2655
|
-
)
|
2656
|
-
@amount = amount
|
2657
|
-
@arrival_airport = arrival_airport
|
2658
|
-
@arrives_at = arrives_at
|
2659
|
-
@carrier = carrier
|
2660
|
-
@departs_at = departs_at
|
2661
|
-
@departure_airport = departure_airport
|
2662
|
-
@flight_number = flight_number
|
2663
|
-
@service_class = service_class
|
2664
|
-
end
|
2665
|
-
end
|
2666
|
-
# Affiliate details for this purchase.
|
2667
|
-
attr_accessor :affiliate
|
2668
|
-
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
2669
|
-
attr_accessor :agency_number
|
2670
|
-
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
2671
|
-
attr_accessor :carrier
|
2672
|
-
# Delivery details for this purchase.
|
2673
|
-
attr_accessor :delivery
|
2674
|
-
# The name of the person or entity on the reservation.
|
2675
|
-
attr_accessor :passenger_name
|
2676
|
-
# The details of the passengers in the travel reservation.
|
2677
|
-
attr_accessor :passengers
|
2678
|
-
# The individual flight segments associated with the trip.
|
2679
|
-
attr_accessor :segments
|
2680
|
-
# The ticket number associated with the travel reservation.
|
2681
|
-
attr_accessor :ticket_number
|
2682
|
-
|
2683
|
-
def initialize(
|
2684
|
-
affiliate: nil,
|
2685
|
-
agency_number: nil,
|
2686
|
-
carrier: nil,
|
2687
|
-
delivery: nil,
|
2688
|
-
passenger_name: nil,
|
2689
|
-
passengers: nil,
|
2690
|
-
segments: nil,
|
2691
|
-
ticket_number: nil
|
2692
|
-
)
|
2693
|
-
@affiliate = affiliate
|
2694
|
-
@agency_number = agency_number
|
2695
|
-
@carrier = carrier
|
2696
|
-
@delivery = delivery
|
2697
|
-
@passenger_name = passenger_name
|
2698
|
-
@passengers = passengers
|
2699
|
-
@segments = segments
|
2700
|
-
@ticket_number = ticket_number
|
2701
|
-
end
|
2702
|
-
end
|
2703
|
-
|
2704
|
-
class Lodging < Stripe::RequestParams
|
2705
|
-
class Address < Stripe::RequestParams
|
2706
|
-
# City, district, suburb, town, or village.
|
2707
|
-
attr_accessor :city
|
2708
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2709
|
-
attr_accessor :country
|
2710
|
-
# Address line 1 (e.g., street, PO Box, or company name).
|
2711
|
-
attr_accessor :line1
|
2712
|
-
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2713
|
-
attr_accessor :line2
|
2714
|
-
# ZIP or postal code.
|
2715
|
-
attr_accessor :postal_code
|
2716
|
-
# State, county, province, or region.
|
2717
|
-
attr_accessor :state
|
2718
|
-
|
2719
|
-
def initialize(
|
2720
|
-
city: nil,
|
2721
|
-
country: nil,
|
2722
|
-
line1: nil,
|
2723
|
-
line2: nil,
|
2724
|
-
postal_code: nil,
|
2725
|
-
state: nil
|
2726
|
-
)
|
2727
|
-
@city = city
|
2728
|
-
@country = country
|
2729
|
-
@line1 = line1
|
2730
|
-
@line2 = line2
|
2731
|
-
@postal_code = postal_code
|
2732
|
-
@state = state
|
2733
|
-
end
|
2734
|
-
end
|
2735
|
-
|
2736
|
-
class Affiliate < Stripe::RequestParams
|
2737
|
-
# The name of the affiliate that originated the purchase.
|
2738
|
-
attr_accessor :name
|
2739
|
-
|
2740
|
-
def initialize(name: nil)
|
2741
|
-
@name = name
|
2742
|
-
end
|
2743
|
-
end
|
2744
|
-
|
2745
|
-
class Delivery < Stripe::RequestParams
|
2746
|
-
class Recipient < Stripe::RequestParams
|
2747
|
-
# The email of the recipient the ticket is delivered to.
|
2748
|
-
attr_accessor :email
|
2749
|
-
# The name of the recipient the ticket is delivered to.
|
2750
|
-
attr_accessor :name
|
2751
|
-
# The phone number of the recipient the ticket is delivered to.
|
2752
|
-
attr_accessor :phone
|
2753
|
-
|
2754
|
-
def initialize(email: nil, name: nil, phone: nil)
|
2755
|
-
@email = email
|
2756
|
-
@name = name
|
2757
|
-
@phone = phone
|
2758
|
-
end
|
2759
|
-
end
|
2760
|
-
# The delivery method for the payment
|
2761
|
-
attr_accessor :mode
|
2762
|
-
# Details of the recipient.
|
2763
|
-
attr_accessor :recipient
|
2764
|
-
|
2765
|
-
def initialize(mode: nil, recipient: nil)
|
2766
|
-
@mode = mode
|
2767
|
-
@recipient = recipient
|
2768
|
-
end
|
2769
|
-
end
|
2770
|
-
|
2771
|
-
class Passenger < Stripe::RequestParams
|
2772
|
-
# Full name of the person or entity on the lodging reservation.
|
2773
|
-
attr_accessor :name
|
2774
|
-
|
2775
|
-
def initialize(name: nil)
|
2776
|
-
@name = name
|
2777
|
-
end
|
2778
|
-
end
|
2779
|
-
# The lodging location's address.
|
2780
|
-
attr_accessor :address
|
2781
|
-
# The number of adults on the booking
|
2782
|
-
attr_accessor :adults
|
2783
|
-
# Affiliate details for this purchase.
|
2784
|
-
attr_accessor :affiliate
|
2785
|
-
# The booking number associated with the lodging reservation.
|
2786
|
-
attr_accessor :booking_number
|
2787
|
-
# The lodging category
|
2788
|
-
attr_accessor :category
|
2789
|
-
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
2790
|
-
attr_accessor :checkin_at
|
2791
|
-
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
2792
|
-
attr_accessor :checkout_at
|
2793
|
-
# The customer service phone number of the lodging company.
|
2794
|
-
attr_accessor :customer_service_phone_number
|
2795
|
-
# The daily lodging room rate.
|
2796
|
-
attr_accessor :daily_room_rate_amount
|
2797
|
-
# Delivery details for this purchase.
|
2798
|
-
attr_accessor :delivery
|
2799
|
-
# List of additional charges being billed.
|
2800
|
-
attr_accessor :extra_charges
|
2801
|
-
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
2802
|
-
attr_accessor :fire_safety_act_compliance
|
2803
|
-
# The name of the lodging location.
|
2804
|
-
attr_accessor :name
|
2805
|
-
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
2806
|
-
attr_accessor :no_show
|
2807
|
-
# The number of rooms on the booking
|
2808
|
-
attr_accessor :number_of_rooms
|
2809
|
-
# The details of the passengers in the travel reservation
|
2810
|
-
attr_accessor :passengers
|
2811
|
-
# The phone number of the lodging location.
|
2812
|
-
attr_accessor :property_phone_number
|
2813
|
-
# The room class for this purchase.
|
2814
|
-
attr_accessor :room_class
|
2815
|
-
# The number of room nights
|
2816
|
-
attr_accessor :room_nights
|
2817
|
-
# The total tax amount associating with the room reservation.
|
2818
|
-
attr_accessor :total_room_tax_amount
|
2819
|
-
# The total tax amount
|
2820
|
-
attr_accessor :total_tax_amount
|
2821
|
-
|
2822
|
-
def initialize(
|
2823
|
-
address: nil,
|
2824
|
-
adults: nil,
|
2825
|
-
affiliate: nil,
|
2826
|
-
booking_number: nil,
|
2827
|
-
category: nil,
|
2828
|
-
checkin_at: nil,
|
2829
|
-
checkout_at: nil,
|
2830
|
-
customer_service_phone_number: nil,
|
2831
|
-
daily_room_rate_amount: nil,
|
2832
|
-
delivery: nil,
|
2833
|
-
extra_charges: nil,
|
2834
|
-
fire_safety_act_compliance: nil,
|
2835
|
-
name: nil,
|
2836
|
-
no_show: nil,
|
2837
|
-
number_of_rooms: nil,
|
2838
|
-
passengers: nil,
|
2839
|
-
property_phone_number: nil,
|
2840
|
-
room_class: nil,
|
2841
|
-
room_nights: nil,
|
2842
|
-
total_room_tax_amount: nil,
|
2843
|
-
total_tax_amount: nil
|
2844
|
-
)
|
2845
|
-
@address = address
|
2846
|
-
@adults = adults
|
2847
|
-
@affiliate = affiliate
|
2848
|
-
@booking_number = booking_number
|
2849
|
-
@category = category
|
2850
|
-
@checkin_at = checkin_at
|
2851
|
-
@checkout_at = checkout_at
|
2852
|
-
@customer_service_phone_number = customer_service_phone_number
|
2853
|
-
@daily_room_rate_amount = daily_room_rate_amount
|
2854
|
-
@delivery = delivery
|
2855
|
-
@extra_charges = extra_charges
|
2856
|
-
@fire_safety_act_compliance = fire_safety_act_compliance
|
2857
|
-
@name = name
|
2858
|
-
@no_show = no_show
|
2859
|
-
@number_of_rooms = number_of_rooms
|
2860
|
-
@passengers = passengers
|
2861
|
-
@property_phone_number = property_phone_number
|
2862
|
-
@room_class = room_class
|
2863
|
-
@room_nights = room_nights
|
2864
|
-
@total_room_tax_amount = total_room_tax_amount
|
2865
|
-
@total_tax_amount = total_tax_amount
|
2866
|
-
end
|
2867
|
-
end
|
2868
|
-
|
2869
|
-
class Subscription < Stripe::RequestParams
|
2870
|
-
class Affiliate < Stripe::RequestParams
|
2871
|
-
# The name of the affiliate that originated the purchase.
|
2872
|
-
attr_accessor :name
|
2873
|
-
|
2874
|
-
def initialize(name: nil)
|
2875
|
-
@name = name
|
2876
|
-
end
|
2877
|
-
end
|
2878
|
-
|
2879
|
-
class BillingInterval < Stripe::RequestParams
|
2880
|
-
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
2881
|
-
attr_accessor :count
|
2882
|
-
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
2883
|
-
attr_accessor :interval
|
2884
|
-
|
2885
|
-
def initialize(count: nil, interval: nil)
|
2886
|
-
@count = count
|
2887
|
-
@interval = interval
|
2888
|
-
end
|
2889
|
-
end
|
2890
|
-
# Affiliate details for this purchase.
|
2891
|
-
attr_accessor :affiliate
|
2892
|
-
# Info whether the subscription will be auto renewed upon expiry.
|
2893
|
-
attr_accessor :auto_renewal
|
2894
|
-
# Subscription billing details for this purchase.
|
2895
|
-
attr_accessor :billing_interval
|
2896
|
-
# Subscription end time. Measured in seconds since the Unix epoch.
|
2897
|
-
attr_accessor :ends_at
|
2898
|
-
# Name of the product on subscription. e.g. Apple Music Subscription
|
2899
|
-
attr_accessor :name
|
2900
|
-
# Subscription start time. Measured in seconds since the Unix epoch.
|
2901
|
-
attr_accessor :starts_at
|
2902
|
-
|
2903
|
-
def initialize(
|
2904
|
-
affiliate: nil,
|
2905
|
-
auto_renewal: nil,
|
2906
|
-
billing_interval: nil,
|
2907
|
-
ends_at: nil,
|
2908
|
-
name: nil,
|
2909
|
-
starts_at: nil
|
2910
|
-
)
|
2911
|
-
@affiliate = affiliate
|
2912
|
-
@auto_renewal = auto_renewal
|
2913
|
-
@billing_interval = billing_interval
|
2914
|
-
@ends_at = ends_at
|
2915
|
-
@name = name
|
2916
|
-
@starts_at = starts_at
|
2917
|
-
end
|
2918
|
-
end
|
2919
|
-
# Car rental details for this PaymentIntent.
|
2920
|
-
attr_accessor :car_rental
|
2921
|
-
# Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
|
2922
|
-
attr_accessor :customer_reference
|
2923
|
-
# Event details for this PaymentIntent
|
2924
|
-
attr_accessor :event_details
|
2925
|
-
# Flight reservation details for this PaymentIntent
|
2926
|
-
attr_accessor :flight
|
2927
|
-
# Lodging reservation details for this PaymentIntent
|
2928
|
-
attr_accessor :lodging
|
2929
|
-
# A unique value assigned by the business to identify the transaction.
|
2930
|
-
attr_accessor :order_reference
|
2931
|
-
# Subscription details for this PaymentIntent
|
2932
|
-
attr_accessor :subscription
|
2933
|
-
|
2934
|
-
def initialize(
|
2935
|
-
car_rental: nil,
|
2936
|
-
customer_reference: nil,
|
2937
|
-
event_details: nil,
|
2938
|
-
flight: nil,
|
2939
|
-
lodging: nil,
|
2940
|
-
order_reference: nil,
|
2941
|
-
subscription: nil
|
2942
|
-
)
|
2943
|
-
@car_rental = car_rental
|
2944
|
-
@customer_reference = customer_reference
|
2945
|
-
@event_details = event_details
|
2946
|
-
@flight = flight
|
2947
|
-
@lodging = lodging
|
2948
|
-
@order_reference = order_reference
|
2949
|
-
@subscription = subscription
|
2950
|
-
end
|
2951
|
-
end
|
2952
|
-
|
2953
1495
|
class TransferData < Stripe::RequestParams
|
2954
1496
|
# The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
|
2955
1497
|
attr_accessor :amount
|
@@ -2966,8 +1508,6 @@ module Stripe
|
|
2966
1508
|
attr_accessor :application_fee_amount
|
2967
1509
|
# Specifies which fields in the response should be expanded.
|
2968
1510
|
attr_accessor :expand
|
2969
|
-
# Provides industry-specific information about the charge.
|
2970
|
-
attr_accessor :payment_details
|
2971
1511
|
# 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.
|
2972
1512
|
attr_accessor :receipt_email
|
2973
1513
|
# 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).
|
@@ -2986,7 +1526,6 @@ module Stripe
|
|
2986
1526
|
application_fee: nil,
|
2987
1527
|
application_fee_amount: nil,
|
2988
1528
|
expand: nil,
|
2989
|
-
payment_details: nil,
|
2990
1529
|
receipt_email: nil,
|
2991
1530
|
statement_descriptor: nil,
|
2992
1531
|
statement_descriptor_suffix: nil,
|
@@ -2997,7 +1536,6 @@ module Stripe
|
|
2997
1536
|
@application_fee = application_fee
|
2998
1537
|
@application_fee_amount = application_fee_amount
|
2999
1538
|
@expand = expand
|
3000
|
-
@payment_details = payment_details
|
3001
1539
|
@receipt_email = receipt_email
|
3002
1540
|
@statement_descriptor = statement_descriptor
|
3003
1541
|
@statement_descriptor_suffix = statement_descriptor_suffix
|
@@ -3106,9 +1644,9 @@ module Stripe
|
|
3106
1644
|
|
3107
1645
|
# Capture the payment of an existing, uncaptured charge that was created with the capture option set to false.
|
3108
1646
|
#
|
3109
|
-
# Uncaptured payments expire a set number of days after they are created ([7 by default](https://stripe.com/docs/charges/placing-a-hold)), after which they are marked as refunded and capture attempts will fail.
|
1647
|
+
# Uncaptured payments expire a set number of days after they are created ([7 by default](https://docs.stripe.com/docs/charges/placing-a-hold)), after which they are marked as refunded and capture attempts will fail.
|
3110
1648
|
#
|
3111
|
-
# Don't use this method to capture a PaymentIntent-initiated charge. Use [Capture a PaymentIntent](https://stripe.com/docs/api/payment_intents/capture).
|
1649
|
+
# Don't use this method to capture a PaymentIntent-initiated charge. Use [Capture a PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/capture).
|
3112
1650
|
def capture(params = {}, opts = {})
|
3113
1651
|
request_stripe_object(
|
3114
1652
|
method: :post,
|
@@ -3120,9 +1658,9 @@ module Stripe
|
|
3120
1658
|
|
3121
1659
|
# Capture the payment of an existing, uncaptured charge that was created with the capture option set to false.
|
3122
1660
|
#
|
3123
|
-
# Uncaptured payments expire a set number of days after they are created ([7 by default](https://stripe.com/docs/charges/placing-a-hold)), after which they are marked as refunded and capture attempts will fail.
|
1661
|
+
# Uncaptured payments expire a set number of days after they are created ([7 by default](https://docs.stripe.com/docs/charges/placing-a-hold)), after which they are marked as refunded and capture attempts will fail.
|
3124
1662
|
#
|
3125
|
-
# Don't use this method to capture a PaymentIntent-initiated charge. Use [Capture a PaymentIntent](https://stripe.com/docs/api/payment_intents/capture).
|
1663
|
+
# Don't use this method to capture a PaymentIntent-initiated charge. Use [Capture a PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/capture).
|
3126
1664
|
def self.capture(charge, params = {}, opts = {})
|
3127
1665
|
request_stripe_object(
|
3128
1666
|
method: :post,
|
@@ -3132,7 +1670,7 @@ module Stripe
|
|
3132
1670
|
)
|
3133
1671
|
end
|
3134
1672
|
|
3135
|
-
# This method is no longer recommended—use the [Payment Intents API](https://stripe.com/docs/api/payment_intents)
|
1673
|
+
# This method is no longer recommended—use the [Payment Intents API](https://docs.stripe.com/docs/api/payment_intents)
|
3136
1674
|
# to initiate a new payment instead. Confirmation of the PaymentIntent creates the Charge
|
3137
1675
|
# object used to request payment.
|
3138
1676
|
def self.create(params = {}, opts = {})
|