stripe 18.3.0 → 18.4.0.pre.alpha.1
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/lib/stripe/api_requestor.rb +37 -1
- data/lib/stripe/api_version.rb +1 -2
- data/lib/stripe/errors.rb +66 -0
- data/lib/stripe/event_types.rb +512 -0
- data/lib/stripe/events/v2_billing_cadence_billed_event.rb +61 -0
- data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_cadence_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_license_fee_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_metered_item_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +61 -0
- data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_rate_card_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +67 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +86 -0
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +86 -0
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +84 -0
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +84 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +80 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +80 -0
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +78 -0
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +78 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +91 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +93 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +93 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +93 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +82 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +82 -0
- data/lib/stripe/events/v2_core_health_sepa_debit_delayed_firing_event.rb +58 -0
- data/lib/stripe/events/v2_core_health_sepa_debit_delayed_resolved_event.rb +60 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +58 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +58 -0
- data/lib/stripe/events/v2_iam_api_key_created_event.rb +20 -0
- data/lib/stripe/events/v2_iam_api_key_default_secret_revealed_event.rb +20 -0
- data/lib/stripe/events/v2_iam_api_key_expired_event.rb +20 -0
- data/lib/stripe/events/v2_iam_api_key_permissions_updated_event.rb +20 -0
- data/lib/stripe/events/v2_iam_api_key_rotated_event.rb +38 -0
- data/lib/stripe/events/v2_iam_api_key_updated_event.rb +20 -0
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +61 -0
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_attempt_failed_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_attempt_started_event.rb +46 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +46 -0
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +48 -0
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +44 -0
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_created_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_errored_event.rb +65 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_funds_not_received_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_matched_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_not_found_event.rb +38 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_settled_event.rb +44 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_canceled_event.rb +61 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_created_event.rb +61 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_settled_event.rb +61 -0
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_submitted_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_created_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +44 -0
- data/lib/stripe/object_types.rb +95 -0
- data/lib/stripe/params/account_create_params.rb +381 -1
- data/lib/stripe/params/account_notice_list_params.rb +25 -0
- data/lib/stripe/params/account_notice_retrieve_params.rb +13 -0
- data/lib/stripe/params/account_notice_update_params.rb +36 -0
- data/lib/stripe/params/account_person_create_params.rb +32 -0
- data/lib/stripe/params/account_person_update_params.rb +32 -0
- data/lib/stripe/params/account_session_create_params.rb +243 -1
- data/lib/stripe/params/account_update_params.rb +343 -0
- data/lib/stripe/params/balance_transfer_create_params.rb +66 -0
- data/lib/stripe/params/billing/alert_create_params.rb +121 -1
- data/lib/stripe/params/billing/alert_list_params.rb +4 -0
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +69 -0
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +13 -1
- data/lib/stripe/params/billing/credit_grant_create_params.rb +29 -2
- data/lib/stripe/params/billing/meter_create_params.rb +4 -0
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +8 -0
- data/lib/stripe/params/capital/financing_offer_create_params.rb +37 -0
- data/lib/stripe/params/capital/financing_offer_list_params.rb +58 -0
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +15 -0
- data/lib/stripe/params/capital/financing_offer_refill_params.rb +37 -0
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +15 -0
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +15 -0
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +45 -0
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +15 -0
- data/lib/stripe/params/charge_capture_params.rb +1648 -0
- data/lib/stripe/params/charge_update_params.rb +1648 -0
- data/lib/stripe/params/checkout/session_create_params.rb +224 -4
- data/lib/stripe/params/checkout/session_update_params.rb +156 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +77 -0
- data/lib/stripe/params/coupon_create_params.rb +47 -1
- data/lib/stripe/params/customer_session_create_params.rb +32 -1
- data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +138 -0
- data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +205 -0
- data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +209 -0
- data/lib/stripe/params/dispute_update_params.rb +10 -1
- data/lib/stripe/params/external_account_create_params.rb +134 -0
- data/lib/stripe/params/external_account_delete_params.rb +6 -0
- data/lib/stripe/params/external_account_list_params.rb +25 -0
- data/lib/stripe/params/external_account_retrieve_params.rb +13 -0
- data/lib/stripe/params/external_account_update_params.rb +91 -0
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/authorization_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/institution_list_params.rb +24 -0
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +15 -0
- data/lib/stripe/params/financial_connections/session_create_params.rb +46 -1
- data/lib/stripe/params/fr_meal_vouchers_onboarding_create_params.rb +25 -0
- data/lib/stripe/params/fr_meal_vouchers_onboarding_list_params.rb +22 -0
- data/lib/stripe/params/fr_meal_vouchers_onboarding_retrieve_params.rb +13 -0
- data/lib/stripe/params/fr_meal_vouchers_onboarding_update_params.rb +16 -0
- data/lib/stripe/params/fx_quote_create_params.rb +73 -0
- data/lib/stripe/params/fx_quote_list_params.rb +22 -0
- data/lib/stripe/params/fx_quote_retrieve_params.rb +13 -0
- data/lib/stripe/params/identity/blocklist_entry_create_params.rb +29 -0
- data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +15 -0
- data/lib/stripe/params/identity/blocklist_entry_list_params.rb +62 -0
- data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +15 -0
- data/lib/stripe/params/identity/verification_report_list_params.rb +4 -0
- data/lib/stripe/params/invoice_add_lines_params.rb +48 -1
- data/lib/stripe/params/invoice_attach_payment_params.rb +43 -1
- data/lib/stripe/params/invoice_create_params.rb +107 -2
- data/lib/stripe/params/invoice_create_preview_params.rb +1357 -9
- data/lib/stripe/params/invoice_detach_payment_params.rb +16 -0
- data/lib/stripe/params/invoice_item_create_params.rb +33 -1
- data/lib/stripe/params/invoice_item_update_params.rb +33 -1
- data/lib/stripe/params/invoice_line_item_update_params.rb +48 -1
- data/lib/stripe/params/invoice_list_params.rb +4 -0
- data/lib/stripe/params/invoice_update_lines_params.rb +48 -1
- data/lib/stripe/params/invoice_update_params.rb +107 -2
- data/lib/stripe/params/issuing/card_list_params.rb +34 -1
- data/lib/stripe/params/issuing/cardholder_create_params.rb +2 -1
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +163 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +50 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +128 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +24 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +86 -0
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +33 -0
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +44 -0
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/program_create_params.rb +21 -0
- data/lib/stripe/params/issuing/program_list_params.rb +24 -0
- data/lib/stripe/params/issuing/program_retrieve_params.rb +15 -0
- data/lib/stripe/params/issuing/program_update_params.rb +21 -0
- data/lib/stripe/params/issuing/transaction_list_params.rb +4 -0
- data/lib/stripe/params/mandate_list_params.rb +39 -0
- data/lib/stripe/params/margin_create_params.rb +25 -0
- data/lib/stripe/params/margin_list_params.rb +25 -0
- data/lib/stripe/params/margin_retrieve_params.rb +13 -0
- data/lib/stripe/params/margin_update_params.rb +22 -0
- data/lib/stripe/params/order_create_params.rb +2061 -0
- data/lib/stripe/params/order_list_params.rb +25 -0
- data/lib/stripe/params/order_retrieve_params.rb +13 -0
- data/lib/stripe/params/order_submit_params.rb +16 -0
- data/lib/stripe/params/order_update_params.rb +2065 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +1627 -1
- data/lib/stripe/params/payment_intent_confirm_params.rb +3124 -126
- data/lib/stripe/params/payment_intent_create_params.rb +3141 -130
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +73 -0
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +21 -0
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +27 -0
- data/lib/stripe/params/payment_intent_update_params.rb +3187 -162
- data/lib/stripe/params/payment_link_create_params.rb +15 -0
- data/lib/stripe/params/payment_method_check_balance_params.rb +13 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +105 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +105 -0
- data/lib/stripe/params/payment_method_create_params.rb +77 -0
- data/lib/stripe/params/plan_create_params.rb +15 -0
- data/lib/stripe/params/price_create_params.rb +15 -0
- data/lib/stripe/params/price_update_params.rb +19 -0
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +67 -0
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +27 -0
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +18 -0
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +15 -0
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +24 -0
- data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +63 -0
- data/lib/stripe/params/product_create_params.rb +16 -0
- data/lib/stripe/params/product_update_params.rb +16 -0
- data/lib/stripe/params/quote_create_params.rb +1217 -3
- data/lib/stripe/params/quote_line_list_params.rb +22 -0
- data/lib/stripe/params/quote_list_lines_params.rb +22 -0
- data/lib/stripe/params/quote_list_params.rb +4 -0
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +22 -0
- data/lib/stripe/params/quote_mark_draft_params.rb +13 -0
- data/lib/stripe/params/quote_mark_stale_params.rb +16 -0
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +22 -0
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +22 -0
- data/lib/stripe/params/quote_reestimate_params.rb +13 -0
- data/lib/stripe/params/quote_update_params.rb +1225 -4
- data/lib/stripe/params/radar/account_evaluation_create_params.rb +81 -0
- data/lib/stripe/params/radar/account_evaluation_retrieve_params.rb +15 -0
- data/lib/stripe/params/radar/account_evaluation_update_params.rb +41 -0
- data/lib/stripe/params/reserve/hold_list_params.rb +53 -0
- data/lib/stripe/params/reserve/hold_retrieve_params.rb +15 -0
- data/lib/stripe/params/reserve/plan_retrieve_params.rb +15 -0
- data/lib/stripe/params/reserve/release_list_params.rb +41 -0
- data/lib/stripe/params/reserve/release_retrieve_params.rb +15 -0
- data/lib/stripe/params/setup_intent_confirm_params.rb +187 -3
- data/lib/stripe/params/setup_intent_create_params.rb +187 -3
- data/lib/stripe/params/setup_intent_update_params.rb +188 -4
- data/lib/stripe/params/shared_payment/granted_token_create_params.rb +47 -0
- data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +15 -0
- data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +15 -0
- data/lib/stripe/params/subscription_attach_cadence_params.rb +16 -0
- data/lib/stripe/params/subscription_create_params.rb +374 -5
- data/lib/stripe/params/subscription_item_create_params.rb +114 -2
- data/lib/stripe/params/subscription_item_update_params.rb +97 -1
- data/lib/stripe/params/subscription_list_params.rb +4 -0
- data/lib/stripe/params/subscription_pause_params.rb +33 -0
- data/lib/stripe/params/subscription_schedule_amend_params.rb +805 -0
- data/lib/stripe/params/subscription_schedule_create_params.rb +335 -5
- data/lib/stripe/params/subscription_schedule_update_params.rb +335 -5
- data/lib/stripe/params/subscription_update_params.rb +357 -4
- data/lib/stripe/params/tax/calculation_create_params.rb +4 -0
- data/lib/stripe/params/tax/form_list_params.rb +51 -0
- data/lib/stripe/params/tax/form_pdf_params.rb +15 -0
- data/lib/stripe/params/tax/form_retrieve_params.rb +15 -0
- data/lib/stripe/params/tax/location_create_params.rb +54 -0
- data/lib/stripe/params/tax/location_list_params.rb +27 -0
- data/lib/stripe/params/tax/location_retrieve_params.rb +15 -0
- data/lib/stripe/params/terminal/configuration_create_params.rb +13 -0
- data/lib/stripe/params/terminal/configuration_update_params.rb +13 -0
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +15 -0
- data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +39 -0
- data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +39 -0
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +77 -0
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +49 -0
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +17 -0
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/token_create_params.rb +64 -0
- data/lib/stripe/params/transfer_create_params.rb +8 -0
- data/lib/stripe/params/treasury/financial_account_create_params.rb +8 -1
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +4 -1
- data/lib/stripe/params/treasury/financial_account_update_params.rb +8 -1
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +24 -0
- data/lib/stripe/params/treasury/received_credit_create_params.rb +25 -1
- data/lib/stripe/params/treasury/received_debit_create_params.rb +25 -1
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +74 -0
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +80 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +17 -0
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +257 -0
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +43 -0
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +78 -0
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +223 -0
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +229 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +26 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +26 -0
- data/lib/stripe/params/v2/billing/intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_commit_params.rb +17 -0
- data/lib/stripe/params/v2/billing/intent_create_params.rb +425 -0
- data/lib/stripe/params/v2/billing/intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_reserve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intents/action_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/license_fee_create_params.rb +103 -0
- data/lib/stripe/params/v2/billing/license_fee_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/license_fee_update_params.rb +84 -0
- data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +48 -0
- data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +48 -0
- data/lib/stripe/params/v2/billing/metered_item_create_params.rb +73 -0
- data/lib/stripe/params/v2/billing/metered_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/metered_item_update_params.rb +50 -0
- data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +39 -0
- data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +50 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +20 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +39 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +73 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +27 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +22 -0
- data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/profile_create_params.rb +37 -0
- data/lib/stripe/params/v2/billing/profile_list_params.rb +40 -0
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/profile_update_params.rb +35 -0
- data/lib/stripe/params/v2/billing/rate_card_create_params.rb +49 -0
- data/lib/stripe/params/v2/billing/rate_card_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +26 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +51 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +17 -0
- data/lib/stripe/params/v2/billing/rate_card_update_params.rb +38 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +91 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +25 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/service_action_create_params.rb +278 -0
- data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/service_action_update_params.rb +40 -0
- data/lib/stripe/params/v2/core/account_create_params.rb +959 -28
- data/lib/stripe/params/v2/core/account_token_create_params.rb +251 -25
- data/lib/stripe/params/v2/core/account_update_params.rb +938 -28
- data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +36 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/core/event_list_params.rb +4 -1
- data/lib/stripe/params/v2/core/event_retrieve_params.rb +8 -1
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +50 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +19 -0
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +33 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +22 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +12 -0
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +22 -0
- data/lib/stripe/params/v2/iam/api_key_create_params.rb +51 -0
- data/lib/stripe/params/v2/iam/api_key_expire_params.rb +10 -0
- data/lib/stripe/params/v2/iam/api_key_list_params.rb +20 -0
- data/lib/stripe/params/v2/iam/api_key_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/iam/api_key_rotate_params.rb +46 -0
- data/lib/stripe/params/v2/iam/api_key_update_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +48 -0
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/currency_conversion_create_params.rb +68 -0
- data/lib/stripe/params/v2/money_management/currency_conversion_list_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/currency_conversion_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +28 -0
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +34 -0
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +23 -0
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +31 -0
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +23 -0
- data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +62 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +44 -0
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +134 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +52 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +82 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +103 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +80 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +93 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +48 -0
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +31 -0
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +44 -0
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +17 -0
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +43 -0
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +47 -0
- data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +57 -0
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +161 -0
- data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +17 -0
- data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_create_params.rb +46 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_submit_params.rb +10 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb +31 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_cancel_params.rb +12 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb +39 -0
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/reporting/report_run_create_params.rb +33 -0
- data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/tax/manual_rule_create_params.rb +94 -0
- data/lib/stripe/params/v2/tax/manual_rule_deactivate_params.rb +10 -0
- data/lib/stripe/params/v2/tax/manual_rule_list_params.rb +17 -0
- data/lib/stripe/params/v2/tax/manual_rule_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/tax/manual_rule_update_params.rb +94 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +34 -0
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +10 -0
- data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +24 -0
- data/lib/stripe/params.rb +282 -0
- data/lib/stripe/resources/account.rb +227 -1
- data/lib/stripe/resources/account_notice.rb +94 -0
- data/lib/stripe/resources/account_session.rb +135 -0
- data/lib/stripe/resources/application_fee.rb +2 -0
- data/lib/stripe/resources/balance.rb +83 -0
- data/lib/stripe/resources/balance_transfer.rb +139 -0
- data/lib/stripe/resources/billing/alert.rb +105 -1
- data/lib/stripe/resources/billing/alert_triggered.rb +6 -0
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +33 -0
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +40 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +84 -2
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +84 -2
- data/lib/stripe/resources/billing/credit_grant.rb +58 -2
- data/lib/stripe/resources/billing/meter.rb +2 -0
- data/lib/stripe/resources/billing/meter_event_summary.rb +2 -0
- data/lib/stripe/resources/capital/financing_offer.rb +183 -0
- data/lib/stripe/resources/capital/financing_summary.rb +82 -0
- data/lib/stripe/resources/capital/financing_transaction.rb +99 -0
- data/lib/stripe/resources/card.rb +20 -1
- data/lib/stripe/resources/charge.rb +233 -1
- data/lib/stripe/resources/checkout/session.rb +196 -4
- data/lib/stripe/resources/confirmation_token.rb +151 -0
- data/lib/stripe/resources/coupon.rb +60 -1
- data/lib/stripe/resources/credit_note_line_item.rb +18 -0
- data/lib/stripe/resources/customer_session.rb +36 -0
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +509 -0
- data/lib/stripe/resources/discount.rb +20 -1
- data/lib/stripe/resources/dispute.rb +22 -0
- data/lib/stripe/resources/event.rb +64 -1
- data/lib/stripe/resources/financial_connections/account.rb +57 -0
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
- data/lib/stripe/resources/financial_connections/authorization.rb +82 -0
- data/lib/stripe/resources/financial_connections/institution.rb +127 -0
- data/lib/stripe/resources/financial_connections/session.rb +103 -1
- data/lib/stripe/resources/fr_meal_vouchers_onboarding.rb +143 -0
- data/lib/stripe/resources/fx_quote.rb +147 -0
- data/lib/stripe/resources/identity/blocklist_entry.rb +116 -0
- data/lib/stripe/resources/identity/verification_report.rb +4 -0
- data/lib/stripe/resources/invoice.rb +188 -1
- data/lib/stripe/resources/invoice_item.rb +108 -2
- data/lib/stripe/resources/invoice_line_item.rb +147 -1
- data/lib/stripe/resources/issuing/card.rb +4 -0
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +263 -0
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +71 -0
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +51 -0
- data/lib/stripe/resources/issuing/program.rb +69 -0
- data/lib/stripe/resources/issuing/settlement.rb +61 -0
- data/lib/stripe/resources/issuing/transaction.rb +2 -0
- data/lib/stripe/resources/line_item.rb +42 -0
- data/lib/stripe/resources/mandate.rb +43 -0
- data/lib/stripe/resources/margin.rb +64 -0
- data/lib/stripe/resources/order.rb +927 -0
- data/lib/stripe/resources/payment_attempt_record.rb +181 -1
- data/lib/stripe/resources/payment_intent.rb +1625 -9
- data/lib/stripe/resources/payment_method.rb +173 -0
- data/lib/stripe/resources/payment_method_balance.rb +68 -0
- data/lib/stripe/resources/payment_method_configuration.rb +170 -0
- data/lib/stripe/resources/payment_record.rb +181 -1
- data/lib/stripe/resources/person.rb +36 -0
- data/lib/stripe/resources/plan.rb +2 -0
- data/lib/stripe/resources/price.rb +22 -0
- data/lib/stripe/resources/privacy/redaction_job.rb +187 -0
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
- data/lib/stripe/resources/product_catalog/trial_offer.rb +103 -0
- data/lib/stripe/resources/quote.rb +806 -2
- data/lib/stripe/resources/quote_line.rb +527 -0
- data/lib/stripe/resources/quote_preview_invoice.rb +1200 -0
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +826 -0
- data/lib/stripe/resources/radar/account_evaluation.rb +145 -0
- data/lib/stripe/resources/refund.rb +18 -0
- data/lib/stripe/resources/reserve/hold.rb +74 -0
- data/lib/stripe/resources/reserve/plan.rb +78 -0
- data/lib/stripe/resources/reserve/release.rb +77 -0
- data/lib/stripe/resources/setup_attempt.rb +48 -0
- data/lib/stripe/resources/setup_intent.rb +128 -1
- data/lib/stripe/resources/shared_payment/granted_token.rb +126 -0
- data/lib/stripe/resources/source.rb +38 -0
- data/lib/stripe/resources/subscription.rb +269 -0
- data/lib/stripe/resources/subscription_item.rb +43 -1
- data/lib/stripe/resources/subscription_schedule.rb +290 -3
- data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
- data/lib/stripe/resources/tax/form.rb +264 -0
- data/lib/stripe/resources/tax/location.rb +72 -0
- data/lib/stripe/resources/tax/registration.rb +128 -0
- data/lib/stripe/resources/tax_code.rb +15 -1
- data/lib/stripe/resources/terminal/configuration.rb +16 -0
- data/lib/stripe/resources/terminal/reader.rb +8 -0
- data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
- data/lib/stripe/resources/transfer.rb +6 -0
- data/lib/stripe/resources/transit_balance.rb +45 -0
- data/lib/stripe/resources/treasury/financial_account.rb +2 -0
- data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
- data/lib/stripe/resources/treasury/outbound_transfer.rb +30 -0
- data/lib/stripe/resources/treasury/received_credit.rb +30 -0
- data/lib/stripe/resources/treasury/received_debit.rb +32 -0
- data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +90 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +655 -0
- data/lib/stripe/resources/v2/billing/collection_setting.rb +274 -0
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +262 -0
- data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +43 -0
- data/lib/stripe/resources/v2/billing/intent.rb +86 -0
- data/lib/stripe/resources/v2/billing/intent_action.rb +483 -0
- data/lib/stripe/resources/v2/billing/license_fee.rb +104 -0
- data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +44 -0
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +80 -0
- data/lib/stripe/resources/v2/billing/licensed_item.rb +60 -0
- data/lib/stripe/resources/v2/billing/metered_item.rb +85 -0
- data/lib/stripe/resources/v2/billing/pricing_plan.rb +51 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +94 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +94 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription_components.rb +49 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +38 -0
- data/lib/stripe/resources/v2/billing/profile.rb +46 -0
- data/lib/stripe/resources/v2/billing/rate_card.rb +61 -0
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +110 -0
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +94 -0
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +34 -0
- data/lib/stripe/resources/v2/billing/service_action.rb +274 -0
- data/lib/stripe/resources/v2/core/account.rb +1688 -80
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +105 -0
- data/lib/stripe/resources/v2/core/event.rb +50 -1
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +134 -0
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +103 -0
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +28 -0
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +44 -0
- data/lib/stripe/resources/v2/iam/api_key.rb +129 -0
- data/lib/stripe/resources/v2/money_management/adjustment.rb +82 -0
- data/lib/stripe/resources/v2/money_management/currency_conversion.rb +94 -0
- data/lib/stripe/resources/v2/money_management/financial_account.rb +223 -0
- data/lib/stripe/resources/v2/money_management/financial_address.rb +132 -0
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +197 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +347 -0
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +204 -0
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +69 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +242 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +157 -0
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +81 -0
- data/lib/stripe/resources/v2/money_management/received_credit.rb +280 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +208 -0
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +83 -0
- data/lib/stripe/resources/v2/money_management/transaction.rb +180 -0
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +153 -0
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +186 -0
- data/lib/stripe/resources/v2/payments/settlement_allocation_intent.rb +92 -0
- data/lib/stripe/resources/v2/payments/settlement_allocation_intent_split.rb +78 -0
- data/lib/stripe/resources/v2/reporting/report.rb +116 -0
- data/lib/stripe/resources/v2/reporting/report_run.rb +128 -0
- data/lib/stripe/resources/v2/tax/manual_rule.rb +115 -0
- data/lib/stripe/resources.rb +223 -0
- data/lib/stripe/services/account_notice_service.rb +39 -0
- data/lib/stripe/services/balance_transfer_service.rb +17 -0
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +21 -0
- data/lib/stripe/services/billing/analytics_service.rb +15 -0
- data/lib/stripe/services/billing_service.rb +2 -1
- data/lib/stripe/services/capital/financing_offer_service.rb +42 -0
- data/lib/stripe/services/capital/financing_summary_service.rb +19 -0
- data/lib/stripe/services/capital/financing_transaction_service.rb +31 -0
- data/lib/stripe/services/capital_service.rb +15 -0
- data/lib/stripe/services/delegated_checkout/requested_session_service.rb +63 -0
- data/lib/stripe/services/delegated_checkout_service.rb +13 -0
- data/lib/stripe/services/external_account_service.rb +68 -0
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +19 -0
- data/lib/stripe/services/financial_connections/account_service.rb +3 -1
- data/lib/stripe/services/financial_connections/authorization_service.rb +19 -0
- data/lib/stripe/services/financial_connections/institution_service.rb +30 -0
- data/lib/stripe/services/financial_connections_service.rb +3 -1
- data/lib/stripe/services/fr_meal_vouchers_onboarding_service.rb +50 -0
- data/lib/stripe/services/fx_quote_service.rb +27 -0
- data/lib/stripe/services/identity/blocklist_entry_service.rb +71 -0
- data/lib/stripe/services/identity_service.rb +2 -1
- data/lib/stripe/services/invoice_service.rb +11 -0
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +74 -0
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +30 -0
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +30 -0
- data/lib/stripe/services/issuing/program_service.rb +52 -0
- data/lib/stripe/services/issuing_service.rb +6 -1
- data/lib/stripe/services/mandate_service.rb +5 -0
- data/lib/stripe/services/margin_service.rb +50 -0
- data/lib/stripe/services/order_service.rb +49 -0
- data/lib/stripe/services/payment_intent_service.rb +37 -0
- data/lib/stripe/services/payment_method_service.rb +11 -0
- data/lib/stripe/services/privacy/redaction_job_service.rb +104 -0
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +19 -0
- data/lib/stripe/services/privacy_service.rb +13 -0
- data/lib/stripe/services/product_catalog/trial_offer_service.rb +19 -0
- data/lib/stripe/services/product_catalog_service.rb +13 -0
- data/lib/stripe/services/quote_line_service.rb +17 -0
- data/lib/stripe/services/quote_preview_invoice_service.rb +17 -0
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +17 -0
- data/lib/stripe/services/quote_service.rb +49 -1
- data/lib/stripe/services/radar/account_evaluation_service.rb +41 -0
- data/lib/stripe/services/radar_service.rb +2 -1
- data/lib/stripe/services/reserve/hold_service.rb +30 -0
- data/lib/stripe/services/reserve/plan_service.rb +19 -0
- data/lib/stripe/services/reserve/release_service.rb +30 -0
- data/lib/stripe/services/reserve_service.rb +15 -0
- data/lib/stripe/services/shared_payment/granted_token_service.rb +19 -0
- data/lib/stripe/services/shared_payment_service.rb +13 -0
- data/lib/stripe/services/subscription_schedule_service.rb +11 -0
- data/lib/stripe/services/subscription_service.rb +22 -0
- data/lib/stripe/services/tax/form_service.rb +37 -0
- data/lib/stripe/services/tax/location_service.rb +45 -0
- data/lib/stripe/services/tax_service.rb +3 -1
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
- data/lib/stripe/services/terminal_service.rb +2 -1
- data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +32 -0
- data/lib/stripe/services/test_helpers/capital_service.rb +15 -0
- data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +32 -0
- data/lib/stripe/services/test_helpers/shared_payment_service.rb +15 -0
- data/lib/stripe/services/test_helpers_service.rb +3 -1
- data/lib/stripe/services/v1_services.rb +14 -1
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +61 -0
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/cadence_service.rb +65 -0
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +61 -0
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +54 -0
- data/lib/stripe/services/v2/billing/intent_service.rb +94 -0
- data/lib/stripe/services/v2/billing/intents/action_service.rb +34 -0
- data/lib/stripe/services/v2/billing/license_fee_service.rb +61 -0
- data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +21 -0
- data/lib/stripe/services/v2/billing/license_fees/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/licensed_item_service.rb +54 -0
- data/lib/stripe/services/v2/billing/metered_item_service.rb +54 -0
- data/lib/stripe/services/v2/billing/pricing_plan_service.rb +62 -0
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +51 -0
- data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +23 -0
- data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +67 -0
- data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/profile_service.rb +54 -0
- data/lib/stripe/services/v2/billing/rate_card_service.rb +62 -0
- data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +65 -0
- data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +57 -0
- data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/service_action_service.rb +43 -0
- data/lib/stripe/services/v2/billing_service.rb +18 -1
- data/lib/stripe/services/v2/core/account_link_service.rb +2 -0
- data/lib/stripe/services/v2/core/account_service.rb +10 -0
- data/lib/stripe/services/v2/core/account_token_service.rb +4 -0
- data/lib/stripe/services/v2/core/accounts/person_service.rb +10 -0
- data/lib/stripe/services/v2/core/accounts/person_token_service.rb +4 -0
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +35 -0
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +85 -0
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +101 -0
- data/lib/stripe/services/v2/core/vault_service.rb +18 -0
- data/lib/stripe/services/v2/core_service.rb +3 -1
- data/lib/stripe/services/v2/iam/api_key_service.rb +76 -0
- data/lib/stripe/services/v2/iam_service.rb +15 -0
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/currency_conversion_service.rb +45 -0
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +70 -0
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +46 -0
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +45 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +34 -0
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +62 -0
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +75 -0
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +60 -0
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +65 -0
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +23 -0
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +43 -0
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +32 -0
- data/lib/stripe/services/v2/money_management/transaction_service.rb +32 -0
- data/lib/stripe/services/v2/money_management_service.rb +35 -0
- data/lib/stripe/services/v2/payment_service.rb +17 -0
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +65 -0
- data/lib/stripe/services/v2/payments/settlement_allocation_intent_service.rb +72 -0
- data/lib/stripe/services/v2/payments/settlement_allocation_intents/split_service.rb +45 -0
- data/lib/stripe/services/v2/reporting/report_run_service.rb +38 -0
- data/lib/stripe/services/v2/reporting/report_service.rb +23 -0
- data/lib/stripe/services/v2/reporting_service.rb +16 -0
- data/lib/stripe/services/v2/tax/manual_rule_service.rb +65 -0
- data/lib/stripe/services/v2/tax_service.rb +15 -0
- data/lib/stripe/services/v2/test_helper_service.rb +16 -0
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +36 -0
- data/lib/stripe/services/v2/test_helpers/money_management_service.rb +21 -0
- data/lib/stripe/services/v2_services.rb +7 -1
- data/lib/stripe/services.rb +104 -0
- data/lib/stripe/stripe_configuration.rb +3 -1
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +16 -4
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +53 -0
- data/rbi/stripe.rbi +147289 -62508
- metadata +612 -3
|
@@ -27,6 +27,19 @@ module Stripe
|
|
|
27
27
|
|
|
28
28
|
nested_resource_class_methods :amount_details_line_item, operations: %i[list]
|
|
29
29
|
|
|
30
|
+
class AllocatedFunds < ::Stripe::StripeObject
|
|
31
|
+
# Allocated Funds configuration for this PaymentIntent.
|
|
32
|
+
attr_reader :enabled
|
|
33
|
+
|
|
34
|
+
def self.inner_class_types
|
|
35
|
+
@inner_class_types = {}
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
def self.field_remappings
|
|
39
|
+
@field_remappings = {}
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
|
|
30
43
|
class AmountDetails < ::Stripe::StripeObject
|
|
31
44
|
class Error < ::Stripe::StripeObject
|
|
32
45
|
# The code of the error that occurred when validating the current amount details.
|
|
@@ -111,6 +124,43 @@ module Stripe
|
|
|
111
124
|
end
|
|
112
125
|
end
|
|
113
126
|
|
|
127
|
+
class AsyncWorkflows < ::Stripe::StripeObject
|
|
128
|
+
class Inputs < ::Stripe::StripeObject
|
|
129
|
+
class Tax < ::Stripe::StripeObject
|
|
130
|
+
# The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
|
|
131
|
+
attr_reader :calculation
|
|
132
|
+
|
|
133
|
+
def self.inner_class_types
|
|
134
|
+
@inner_class_types = {}
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
def self.field_remappings
|
|
138
|
+
@field_remappings = {}
|
|
139
|
+
end
|
|
140
|
+
end
|
|
141
|
+
# Attribute for field tax
|
|
142
|
+
attr_reader :tax
|
|
143
|
+
|
|
144
|
+
def self.inner_class_types
|
|
145
|
+
@inner_class_types = { tax: Tax }
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
def self.field_remappings
|
|
149
|
+
@field_remappings = {}
|
|
150
|
+
end
|
|
151
|
+
end
|
|
152
|
+
# Attribute for field inputs
|
|
153
|
+
attr_reader :inputs
|
|
154
|
+
|
|
155
|
+
def self.inner_class_types
|
|
156
|
+
@inner_class_types = { inputs: Inputs }
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
def self.field_remappings
|
|
160
|
+
@field_remappings = {}
|
|
161
|
+
end
|
|
162
|
+
end
|
|
163
|
+
|
|
114
164
|
class AutomaticPaymentMethods < ::Stripe::StripeObject
|
|
115
165
|
# Controls whether this PaymentIntent will accept redirect-based payment methods.
|
|
116
166
|
#
|
|
@@ -1196,25 +1246,1215 @@ module Stripe
|
|
|
1196
1246
|
}
|
|
1197
1247
|
end
|
|
1198
1248
|
|
|
1199
|
-
def self.field_remappings
|
|
1200
|
-
@field_remappings = {}
|
|
1201
|
-
end
|
|
1202
|
-
end
|
|
1249
|
+
def self.field_remappings
|
|
1250
|
+
@field_remappings = {}
|
|
1251
|
+
end
|
|
1252
|
+
end
|
|
1253
|
+
|
|
1254
|
+
class PaymentDetails < ::Stripe::StripeObject
|
|
1255
|
+
class Benefit < ::Stripe::StripeObject
|
|
1256
|
+
class FrMealVoucher < ::Stripe::StripeObject
|
|
1257
|
+
# The 14-digit SIRET of the meal voucher acceptor.
|
|
1258
|
+
attr_reader :siret
|
|
1259
|
+
|
|
1260
|
+
def self.inner_class_types
|
|
1261
|
+
@inner_class_types = {}
|
|
1262
|
+
end
|
|
1263
|
+
|
|
1264
|
+
def self.field_remappings
|
|
1265
|
+
@field_remappings = {}
|
|
1266
|
+
end
|
|
1267
|
+
end
|
|
1268
|
+
# Attribute for field fr_meal_voucher
|
|
1269
|
+
attr_reader :fr_meal_voucher
|
|
1270
|
+
|
|
1271
|
+
def self.inner_class_types
|
|
1272
|
+
@inner_class_types = { fr_meal_voucher: FrMealVoucher }
|
|
1273
|
+
end
|
|
1274
|
+
|
|
1275
|
+
def self.field_remappings
|
|
1276
|
+
@field_remappings = {}
|
|
1277
|
+
end
|
|
1278
|
+
end
|
|
1279
|
+
|
|
1280
|
+
class CarRental < ::Stripe::StripeObject
|
|
1281
|
+
class Affiliate < ::Stripe::StripeObject
|
|
1282
|
+
# The name of the affiliate that originated the purchase.
|
|
1283
|
+
attr_reader :name
|
|
1284
|
+
|
|
1285
|
+
def self.inner_class_types
|
|
1286
|
+
@inner_class_types = {}
|
|
1287
|
+
end
|
|
1288
|
+
|
|
1289
|
+
def self.field_remappings
|
|
1290
|
+
@field_remappings = {}
|
|
1291
|
+
end
|
|
1292
|
+
end
|
|
1293
|
+
|
|
1294
|
+
class Delivery < ::Stripe::StripeObject
|
|
1295
|
+
class Recipient < ::Stripe::StripeObject
|
|
1296
|
+
# The email of the recipient the ticket is delivered to.
|
|
1297
|
+
attr_reader :email
|
|
1298
|
+
# The name of the recipient the ticket is delivered to.
|
|
1299
|
+
attr_reader :name
|
|
1300
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
1301
|
+
attr_reader :phone
|
|
1302
|
+
|
|
1303
|
+
def self.inner_class_types
|
|
1304
|
+
@inner_class_types = {}
|
|
1305
|
+
end
|
|
1306
|
+
|
|
1307
|
+
def self.field_remappings
|
|
1308
|
+
@field_remappings = {}
|
|
1309
|
+
end
|
|
1310
|
+
end
|
|
1311
|
+
# The delivery method for the payment
|
|
1312
|
+
attr_reader :mode
|
|
1313
|
+
# Attribute for field recipient
|
|
1314
|
+
attr_reader :recipient
|
|
1315
|
+
|
|
1316
|
+
def self.inner_class_types
|
|
1317
|
+
@inner_class_types = { recipient: Recipient }
|
|
1318
|
+
end
|
|
1319
|
+
|
|
1320
|
+
def self.field_remappings
|
|
1321
|
+
@field_remappings = {}
|
|
1322
|
+
end
|
|
1323
|
+
end
|
|
1324
|
+
|
|
1325
|
+
class Distance < ::Stripe::StripeObject
|
|
1326
|
+
# Distance traveled.
|
|
1327
|
+
attr_reader :amount
|
|
1328
|
+
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`
|
|
1329
|
+
attr_reader :unit
|
|
1330
|
+
|
|
1331
|
+
def self.inner_class_types
|
|
1332
|
+
@inner_class_types = {}
|
|
1333
|
+
end
|
|
1334
|
+
|
|
1335
|
+
def self.field_remappings
|
|
1336
|
+
@field_remappings = {}
|
|
1337
|
+
end
|
|
1338
|
+
end
|
|
1339
|
+
|
|
1340
|
+
class Driver < ::Stripe::StripeObject
|
|
1341
|
+
# Driver's identification number.
|
|
1342
|
+
attr_reader :driver_identification_number
|
|
1343
|
+
# Driver's tax number.
|
|
1344
|
+
attr_reader :driver_tax_number
|
|
1345
|
+
# Full name of the driver on the reservation.
|
|
1346
|
+
attr_reader :name
|
|
1347
|
+
|
|
1348
|
+
def self.inner_class_types
|
|
1349
|
+
@inner_class_types = {}
|
|
1350
|
+
end
|
|
1351
|
+
|
|
1352
|
+
def self.field_remappings
|
|
1353
|
+
@field_remappings = {}
|
|
1354
|
+
end
|
|
1355
|
+
end
|
|
1356
|
+
|
|
1357
|
+
class PickupAddress < ::Stripe::StripeObject
|
|
1358
|
+
# City, district, suburb, town, or village.
|
|
1359
|
+
attr_reader :city
|
|
1360
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1361
|
+
attr_reader :country
|
|
1362
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1363
|
+
attr_reader :line1
|
|
1364
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1365
|
+
attr_reader :line2
|
|
1366
|
+
# ZIP or postal code.
|
|
1367
|
+
attr_reader :postal_code
|
|
1368
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1369
|
+
attr_reader :state
|
|
1370
|
+
|
|
1371
|
+
def self.inner_class_types
|
|
1372
|
+
@inner_class_types = {}
|
|
1373
|
+
end
|
|
1374
|
+
|
|
1375
|
+
def self.field_remappings
|
|
1376
|
+
@field_remappings = {}
|
|
1377
|
+
end
|
|
1378
|
+
end
|
|
1379
|
+
|
|
1380
|
+
class ReturnAddress < ::Stripe::StripeObject
|
|
1381
|
+
# City, district, suburb, town, or village.
|
|
1382
|
+
attr_reader :city
|
|
1383
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1384
|
+
attr_reader :country
|
|
1385
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1386
|
+
attr_reader :line1
|
|
1387
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1388
|
+
attr_reader :line2
|
|
1389
|
+
# ZIP or postal code.
|
|
1390
|
+
attr_reader :postal_code
|
|
1391
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1392
|
+
attr_reader :state
|
|
1393
|
+
|
|
1394
|
+
def self.inner_class_types
|
|
1395
|
+
@inner_class_types = {}
|
|
1396
|
+
end
|
|
1397
|
+
|
|
1398
|
+
def self.field_remappings
|
|
1399
|
+
@field_remappings = {}
|
|
1400
|
+
end
|
|
1401
|
+
end
|
|
1402
|
+
# Attribute for field affiliate
|
|
1403
|
+
attr_reader :affiliate
|
|
1404
|
+
# The booking number associated with the car rental.
|
|
1405
|
+
attr_reader :booking_number
|
|
1406
|
+
# Class code of the car.
|
|
1407
|
+
attr_reader :car_class_code
|
|
1408
|
+
# Make of the car.
|
|
1409
|
+
attr_reader :car_make
|
|
1410
|
+
# Model of the car.
|
|
1411
|
+
attr_reader :car_model
|
|
1412
|
+
# The name of the rental car company.
|
|
1413
|
+
attr_reader :company
|
|
1414
|
+
# The customer service phone number of the car rental company.
|
|
1415
|
+
attr_reader :customer_service_phone_number
|
|
1416
|
+
# Number of days the car is being rented.
|
|
1417
|
+
attr_reader :days_rented
|
|
1418
|
+
# Attribute for field delivery
|
|
1419
|
+
attr_reader :delivery
|
|
1420
|
+
# Attribute for field distance
|
|
1421
|
+
attr_reader :distance
|
|
1422
|
+
# The details of the drivers associated with the trip.
|
|
1423
|
+
attr_reader :drivers
|
|
1424
|
+
# List of additional charges being billed.
|
|
1425
|
+
attr_reader :extra_charges
|
|
1426
|
+
# Indicates if the customer did not keep nor cancel their booking.
|
|
1427
|
+
attr_reader :no_show
|
|
1428
|
+
# Attribute for field pickup_address
|
|
1429
|
+
attr_reader :pickup_address
|
|
1430
|
+
# Car pick-up time. Measured in seconds since the Unix epoch.
|
|
1431
|
+
attr_reader :pickup_at
|
|
1432
|
+
# Name of the pickup location.
|
|
1433
|
+
attr_reader :pickup_location_name
|
|
1434
|
+
# Rental rate.
|
|
1435
|
+
attr_reader :rate_amount
|
|
1436
|
+
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
1437
|
+
attr_reader :rate_interval
|
|
1438
|
+
# The full name of the person or entity renting the car.
|
|
1439
|
+
attr_reader :renter_name
|
|
1440
|
+
# Attribute for field return_address
|
|
1441
|
+
attr_reader :return_address
|
|
1442
|
+
# Car return time. Measured in seconds since the Unix epoch.
|
|
1443
|
+
attr_reader :return_at
|
|
1444
|
+
# Name of the return location.
|
|
1445
|
+
attr_reader :return_location_name
|
|
1446
|
+
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
1447
|
+
attr_reader :tax_exempt
|
|
1448
|
+
# The vehicle identification number of the car.
|
|
1449
|
+
attr_reader :vehicle_identification_number
|
|
1450
|
+
|
|
1451
|
+
def self.inner_class_types
|
|
1452
|
+
@inner_class_types = {
|
|
1453
|
+
affiliate: Affiliate,
|
|
1454
|
+
delivery: Delivery,
|
|
1455
|
+
distance: Distance,
|
|
1456
|
+
drivers: Driver,
|
|
1457
|
+
pickup_address: PickupAddress,
|
|
1458
|
+
return_address: ReturnAddress,
|
|
1459
|
+
}
|
|
1460
|
+
end
|
|
1461
|
+
|
|
1462
|
+
def self.field_remappings
|
|
1463
|
+
@field_remappings = {}
|
|
1464
|
+
end
|
|
1465
|
+
end
|
|
1466
|
+
|
|
1467
|
+
class CarRentalDatum < ::Stripe::StripeObject
|
|
1468
|
+
class Affiliate < ::Stripe::StripeObject
|
|
1469
|
+
# Affiliate code.
|
|
1470
|
+
attr_reader :code
|
|
1471
|
+
# Affiliate name.
|
|
1472
|
+
attr_reader :name
|
|
1473
|
+
|
|
1474
|
+
def self.inner_class_types
|
|
1475
|
+
@inner_class_types = {}
|
|
1476
|
+
end
|
|
1477
|
+
|
|
1478
|
+
def self.field_remappings
|
|
1479
|
+
@field_remappings = {}
|
|
1480
|
+
end
|
|
1481
|
+
end
|
|
1482
|
+
|
|
1483
|
+
class Distance < ::Stripe::StripeObject
|
|
1484
|
+
# Distance amount.
|
|
1485
|
+
attr_reader :amount
|
|
1486
|
+
# Unit for the distance.
|
|
1487
|
+
attr_reader :unit
|
|
1488
|
+
|
|
1489
|
+
def self.inner_class_types
|
|
1490
|
+
@inner_class_types = {}
|
|
1491
|
+
end
|
|
1492
|
+
|
|
1493
|
+
def self.field_remappings
|
|
1494
|
+
@field_remappings = {}
|
|
1495
|
+
end
|
|
1496
|
+
end
|
|
1497
|
+
|
|
1498
|
+
class Driver < ::Stripe::StripeObject
|
|
1499
|
+
class DateOfBirth < ::Stripe::StripeObject
|
|
1500
|
+
# Day of birth.
|
|
1501
|
+
attr_reader :day
|
|
1502
|
+
# Month of birth.
|
|
1503
|
+
attr_reader :month
|
|
1504
|
+
# Year of birth.
|
|
1505
|
+
attr_reader :year
|
|
1506
|
+
|
|
1507
|
+
def self.inner_class_types
|
|
1508
|
+
@inner_class_types = {}
|
|
1509
|
+
end
|
|
1510
|
+
|
|
1511
|
+
def self.field_remappings
|
|
1512
|
+
@field_remappings = {}
|
|
1513
|
+
end
|
|
1514
|
+
end
|
|
1515
|
+
# Attribute for field date_of_birth
|
|
1516
|
+
attr_reader :date_of_birth
|
|
1517
|
+
# Driver's identification number.
|
|
1518
|
+
attr_reader :driver_identification_number
|
|
1519
|
+
# Driver's tax number.
|
|
1520
|
+
attr_reader :driver_tax_number
|
|
1521
|
+
# Full name of the driver.
|
|
1522
|
+
attr_reader :name
|
|
1523
|
+
|
|
1524
|
+
def self.inner_class_types
|
|
1525
|
+
@inner_class_types = { date_of_birth: DateOfBirth }
|
|
1526
|
+
end
|
|
1527
|
+
|
|
1528
|
+
def self.field_remappings
|
|
1529
|
+
@field_remappings = {}
|
|
1530
|
+
end
|
|
1531
|
+
end
|
|
1532
|
+
|
|
1533
|
+
class DropOff < ::Stripe::StripeObject
|
|
1534
|
+
class Address < ::Stripe::StripeObject
|
|
1535
|
+
# City, district, suburb, town, or village.
|
|
1536
|
+
attr_reader :city
|
|
1537
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1538
|
+
attr_reader :country
|
|
1539
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1540
|
+
attr_reader :line1
|
|
1541
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1542
|
+
attr_reader :line2
|
|
1543
|
+
# ZIP or postal code.
|
|
1544
|
+
attr_reader :postal_code
|
|
1545
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1546
|
+
attr_reader :state
|
|
1547
|
+
|
|
1548
|
+
def self.inner_class_types
|
|
1549
|
+
@inner_class_types = {}
|
|
1550
|
+
end
|
|
1551
|
+
|
|
1552
|
+
def self.field_remappings
|
|
1553
|
+
@field_remappings = {}
|
|
1554
|
+
end
|
|
1555
|
+
end
|
|
1556
|
+
# Attribute for field address
|
|
1557
|
+
attr_reader :address
|
|
1558
|
+
# Name of the location.
|
|
1559
|
+
attr_reader :location_name
|
|
1560
|
+
# Time associated with the location.
|
|
1561
|
+
attr_reader :time
|
|
1562
|
+
|
|
1563
|
+
def self.inner_class_types
|
|
1564
|
+
@inner_class_types = { address: Address }
|
|
1565
|
+
end
|
|
1566
|
+
|
|
1567
|
+
def self.field_remappings
|
|
1568
|
+
@field_remappings = {}
|
|
1569
|
+
end
|
|
1570
|
+
end
|
|
1571
|
+
|
|
1572
|
+
class Insurance < ::Stripe::StripeObject
|
|
1573
|
+
# Amount of the insurance.
|
|
1574
|
+
attr_reader :amount
|
|
1575
|
+
# Currency for the insurance price.
|
|
1576
|
+
attr_reader :currency
|
|
1577
|
+
# Name of the insurance company.
|
|
1578
|
+
attr_reader :insurance_company_name
|
|
1579
|
+
# Type of insurance.
|
|
1580
|
+
attr_reader :insurance_type
|
|
1581
|
+
|
|
1582
|
+
def self.inner_class_types
|
|
1583
|
+
@inner_class_types = {}
|
|
1584
|
+
end
|
|
1585
|
+
|
|
1586
|
+
def self.field_remappings
|
|
1587
|
+
@field_remappings = {}
|
|
1588
|
+
end
|
|
1589
|
+
end
|
|
1590
|
+
|
|
1591
|
+
class Pickup < ::Stripe::StripeObject
|
|
1592
|
+
class Address < ::Stripe::StripeObject
|
|
1593
|
+
# City, district, suburb, town, or village.
|
|
1594
|
+
attr_reader :city
|
|
1595
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1596
|
+
attr_reader :country
|
|
1597
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1598
|
+
attr_reader :line1
|
|
1599
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1600
|
+
attr_reader :line2
|
|
1601
|
+
# ZIP or postal code.
|
|
1602
|
+
attr_reader :postal_code
|
|
1603
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1604
|
+
attr_reader :state
|
|
1605
|
+
|
|
1606
|
+
def self.inner_class_types
|
|
1607
|
+
@inner_class_types = {}
|
|
1608
|
+
end
|
|
1609
|
+
|
|
1610
|
+
def self.field_remappings
|
|
1611
|
+
@field_remappings = {}
|
|
1612
|
+
end
|
|
1613
|
+
end
|
|
1614
|
+
# Attribute for field address
|
|
1615
|
+
attr_reader :address
|
|
1616
|
+
# Name of the location.
|
|
1617
|
+
attr_reader :location_name
|
|
1618
|
+
# Time associated with the location.
|
|
1619
|
+
attr_reader :time
|
|
1620
|
+
|
|
1621
|
+
def self.inner_class_types
|
|
1622
|
+
@inner_class_types = { address: Address }
|
|
1623
|
+
end
|
|
1624
|
+
|
|
1625
|
+
def self.field_remappings
|
|
1626
|
+
@field_remappings = {}
|
|
1627
|
+
end
|
|
1628
|
+
end
|
|
1629
|
+
|
|
1630
|
+
class Total < ::Stripe::StripeObject
|
|
1631
|
+
class Discounts < ::Stripe::StripeObject
|
|
1632
|
+
# Corporate client discount code.
|
|
1633
|
+
attr_reader :corporate_client_code
|
|
1634
|
+
# Coupon code applied.
|
|
1635
|
+
attr_reader :coupon
|
|
1636
|
+
# Maximum free miles or kilometers included.
|
|
1637
|
+
attr_reader :maximum_free_miles_or_kilometers
|
|
1638
|
+
|
|
1639
|
+
def self.inner_class_types
|
|
1640
|
+
@inner_class_types = {}
|
|
1641
|
+
end
|
|
1642
|
+
|
|
1643
|
+
def self.field_remappings
|
|
1644
|
+
@field_remappings = {}
|
|
1645
|
+
end
|
|
1646
|
+
end
|
|
1647
|
+
|
|
1648
|
+
class ExtraCharge < ::Stripe::StripeObject
|
|
1649
|
+
# Amount of the extra charge.
|
|
1650
|
+
attr_reader :amount
|
|
1651
|
+
# Type of extra charge.
|
|
1652
|
+
attr_reader :type
|
|
1653
|
+
|
|
1654
|
+
def self.inner_class_types
|
|
1655
|
+
@inner_class_types = {}
|
|
1656
|
+
end
|
|
1657
|
+
|
|
1658
|
+
def self.field_remappings
|
|
1659
|
+
@field_remappings = {}
|
|
1660
|
+
end
|
|
1661
|
+
end
|
|
1662
|
+
|
|
1663
|
+
class Tax < ::Stripe::StripeObject
|
|
1664
|
+
class Tax < ::Stripe::StripeObject
|
|
1665
|
+
# Tax amount.
|
|
1666
|
+
attr_reader :amount
|
|
1667
|
+
# Tax rate.
|
|
1668
|
+
attr_reader :rate
|
|
1669
|
+
# Type of tax.
|
|
1670
|
+
attr_reader :type
|
|
1671
|
+
|
|
1672
|
+
def self.inner_class_types
|
|
1673
|
+
@inner_class_types = {}
|
|
1674
|
+
end
|
|
1675
|
+
|
|
1676
|
+
def self.field_remappings
|
|
1677
|
+
@field_remappings = {}
|
|
1678
|
+
end
|
|
1679
|
+
end
|
|
1680
|
+
# Indicates whether the rental is tax-exempt.
|
|
1681
|
+
attr_reader :tax_exempt_indicator
|
|
1682
|
+
# Tax details.
|
|
1683
|
+
attr_reader :taxes
|
|
1684
|
+
|
|
1685
|
+
def self.inner_class_types
|
|
1686
|
+
@inner_class_types = { taxes: Tax }
|
|
1687
|
+
end
|
|
1688
|
+
|
|
1689
|
+
def self.field_remappings
|
|
1690
|
+
@field_remappings = {}
|
|
1691
|
+
end
|
|
1692
|
+
end
|
|
1693
|
+
# Total amount.
|
|
1694
|
+
attr_reader :amount
|
|
1695
|
+
# Currency for the total amount.
|
|
1696
|
+
attr_reader :currency
|
|
1697
|
+
# Attribute for field discounts
|
|
1698
|
+
attr_reader :discounts
|
|
1699
|
+
# Additional charges for the rental.
|
|
1700
|
+
attr_reader :extra_charges
|
|
1701
|
+
# Rate per unit.
|
|
1702
|
+
attr_reader :rate_per_unit
|
|
1703
|
+
# Unit for the rate.
|
|
1704
|
+
attr_reader :rate_unit
|
|
1705
|
+
# Attribute for field tax
|
|
1706
|
+
attr_reader :tax
|
|
1707
|
+
|
|
1708
|
+
def self.inner_class_types
|
|
1709
|
+
@inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
|
|
1710
|
+
end
|
|
1711
|
+
|
|
1712
|
+
def self.field_remappings
|
|
1713
|
+
@field_remappings = {}
|
|
1714
|
+
end
|
|
1715
|
+
end
|
|
1716
|
+
|
|
1717
|
+
class Vehicle < ::Stripe::StripeObject
|
|
1718
|
+
# Make of the vehicle.
|
|
1719
|
+
attr_reader :make
|
|
1720
|
+
# Model of the vehicle.
|
|
1721
|
+
attr_reader :model
|
|
1722
|
+
# Odometer reading.
|
|
1723
|
+
attr_reader :odometer
|
|
1724
|
+
# Type of the vehicle.
|
|
1725
|
+
attr_reader :type
|
|
1726
|
+
# Class of the vehicle.
|
|
1727
|
+
attr_reader :vehicle_class
|
|
1728
|
+
# Vehicle identification number.
|
|
1729
|
+
attr_reader :vehicle_identification_number
|
|
1730
|
+
|
|
1731
|
+
def self.inner_class_types
|
|
1732
|
+
@inner_class_types = {}
|
|
1733
|
+
end
|
|
1734
|
+
|
|
1735
|
+
def self.field_remappings
|
|
1736
|
+
@field_remappings = {}
|
|
1737
|
+
end
|
|
1738
|
+
end
|
|
1739
|
+
# Attribute for field affiliate
|
|
1740
|
+
attr_reader :affiliate
|
|
1741
|
+
# The booking number associated with the car rental.
|
|
1742
|
+
attr_reader :booking_number
|
|
1743
|
+
# The name of the car rental company.
|
|
1744
|
+
attr_reader :carrier_name
|
|
1745
|
+
# The customer service phone number of the car rental company.
|
|
1746
|
+
attr_reader :customer_service_phone_number
|
|
1747
|
+
# Number of days the car is being rented.
|
|
1748
|
+
attr_reader :days_rented
|
|
1749
|
+
# Attribute for field distance
|
|
1750
|
+
attr_reader :distance
|
|
1751
|
+
# The details of the drivers associated with the rental.
|
|
1752
|
+
attr_reader :drivers
|
|
1753
|
+
# Attribute for field drop_off
|
|
1754
|
+
attr_reader :drop_off
|
|
1755
|
+
# Insurance details for the car rental.
|
|
1756
|
+
attr_reader :insurances
|
|
1757
|
+
# Indicates if the customer did not keep nor cancel their booking.
|
|
1758
|
+
attr_reader :no_show_indicator
|
|
1759
|
+
# Attribute for field pickup
|
|
1760
|
+
attr_reader :pickup
|
|
1761
|
+
# Name of the person renting the vehicle.
|
|
1762
|
+
attr_reader :renter_name
|
|
1763
|
+
# Attribute for field total
|
|
1764
|
+
attr_reader :total
|
|
1765
|
+
# Attribute for field vehicle
|
|
1766
|
+
attr_reader :vehicle
|
|
1767
|
+
|
|
1768
|
+
def self.inner_class_types
|
|
1769
|
+
@inner_class_types = {
|
|
1770
|
+
affiliate: Affiliate,
|
|
1771
|
+
distance: Distance,
|
|
1772
|
+
drivers: Driver,
|
|
1773
|
+
drop_off: DropOff,
|
|
1774
|
+
insurances: Insurance,
|
|
1775
|
+
pickup: Pickup,
|
|
1776
|
+
total: Total,
|
|
1777
|
+
vehicle: Vehicle,
|
|
1778
|
+
}
|
|
1779
|
+
end
|
|
1780
|
+
|
|
1781
|
+
def self.field_remappings
|
|
1782
|
+
@field_remappings = {}
|
|
1783
|
+
end
|
|
1784
|
+
end
|
|
1785
|
+
|
|
1786
|
+
class EventDetails < ::Stripe::StripeObject
|
|
1787
|
+
class Address < ::Stripe::StripeObject
|
|
1788
|
+
# City, district, suburb, town, or village.
|
|
1789
|
+
attr_reader :city
|
|
1790
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1791
|
+
attr_reader :country
|
|
1792
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
1793
|
+
attr_reader :line1
|
|
1794
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1795
|
+
attr_reader :line2
|
|
1796
|
+
# ZIP or postal code.
|
|
1797
|
+
attr_reader :postal_code
|
|
1798
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1799
|
+
attr_reader :state
|
|
1800
|
+
|
|
1801
|
+
def self.inner_class_types
|
|
1802
|
+
@inner_class_types = {}
|
|
1803
|
+
end
|
|
1804
|
+
|
|
1805
|
+
def self.field_remappings
|
|
1806
|
+
@field_remappings = {}
|
|
1807
|
+
end
|
|
1808
|
+
end
|
|
1809
|
+
|
|
1810
|
+
class Affiliate < ::Stripe::StripeObject
|
|
1811
|
+
# The name of the affiliate that originated the purchase.
|
|
1812
|
+
attr_reader :name
|
|
1813
|
+
|
|
1814
|
+
def self.inner_class_types
|
|
1815
|
+
@inner_class_types = {}
|
|
1816
|
+
end
|
|
1817
|
+
|
|
1818
|
+
def self.field_remappings
|
|
1819
|
+
@field_remappings = {}
|
|
1820
|
+
end
|
|
1821
|
+
end
|
|
1822
|
+
|
|
1823
|
+
class Delivery < ::Stripe::StripeObject
|
|
1824
|
+
class Recipient < ::Stripe::StripeObject
|
|
1825
|
+
# The email of the recipient the ticket is delivered to.
|
|
1826
|
+
attr_reader :email
|
|
1827
|
+
# The name of the recipient the ticket is delivered to.
|
|
1828
|
+
attr_reader :name
|
|
1829
|
+
# The phone number of the recipient the ticket is delivered to.
|
|
1830
|
+
attr_reader :phone
|
|
1831
|
+
|
|
1832
|
+
def self.inner_class_types
|
|
1833
|
+
@inner_class_types = {}
|
|
1834
|
+
end
|
|
1835
|
+
|
|
1836
|
+
def self.field_remappings
|
|
1837
|
+
@field_remappings = {}
|
|
1838
|
+
end
|
|
1839
|
+
end
|
|
1840
|
+
# The delivery method for the payment
|
|
1841
|
+
attr_reader :mode
|
|
1842
|
+
# Attribute for field recipient
|
|
1843
|
+
attr_reader :recipient
|
|
1844
|
+
|
|
1845
|
+
def self.inner_class_types
|
|
1846
|
+
@inner_class_types = { recipient: Recipient }
|
|
1847
|
+
end
|
|
1848
|
+
|
|
1849
|
+
def self.field_remappings
|
|
1850
|
+
@field_remappings = {}
|
|
1851
|
+
end
|
|
1852
|
+
end
|
|
1853
|
+
# Indicates if the tickets are digitally checked when entering the venue.
|
|
1854
|
+
attr_reader :access_controlled_venue
|
|
1855
|
+
# Attribute for field address
|
|
1856
|
+
attr_reader :address
|
|
1857
|
+
# Attribute for field affiliate
|
|
1858
|
+
attr_reader :affiliate
|
|
1859
|
+
# The name of the company
|
|
1860
|
+
attr_reader :company
|
|
1861
|
+
# Attribute for field delivery
|
|
1862
|
+
attr_reader :delivery
|
|
1863
|
+
# Event end time. Measured in seconds since the Unix epoch.
|
|
1864
|
+
attr_reader :ends_at
|
|
1865
|
+
# Type of the event entertainment (concert, sports event etc)
|
|
1866
|
+
attr_reader :genre
|
|
1867
|
+
# The name of the event.
|
|
1868
|
+
attr_reader :name
|
|
1869
|
+
# Event start time. Measured in seconds since the Unix epoch.
|
|
1870
|
+
attr_reader :starts_at
|
|
1871
|
+
|
|
1872
|
+
def self.inner_class_types
|
|
1873
|
+
@inner_class_types = { address: Address, affiliate: Affiliate, delivery: Delivery }
|
|
1874
|
+
end
|
|
1875
|
+
|
|
1876
|
+
def self.field_remappings
|
|
1877
|
+
@field_remappings = {}
|
|
1878
|
+
end
|
|
1879
|
+
end
|
|
1880
|
+
|
|
1881
|
+
class FlightDatum < ::Stripe::StripeObject
|
|
1882
|
+
class Affiliate < ::Stripe::StripeObject
|
|
1883
|
+
# Affiliate code.
|
|
1884
|
+
attr_reader :code
|
|
1885
|
+
# Affiliate name.
|
|
1886
|
+
attr_reader :name
|
|
1887
|
+
# Code provided by the company to a travel agent authorizing ticket issuance.
|
|
1888
|
+
attr_reader :travel_authorization_code
|
|
1889
|
+
|
|
1890
|
+
def self.inner_class_types
|
|
1891
|
+
@inner_class_types = {}
|
|
1892
|
+
end
|
|
1893
|
+
|
|
1894
|
+
def self.field_remappings
|
|
1895
|
+
@field_remappings = {}
|
|
1896
|
+
end
|
|
1897
|
+
end
|
|
1898
|
+
|
|
1899
|
+
class Insurance < ::Stripe::StripeObject
|
|
1900
|
+
# Amount of the insurance.
|
|
1901
|
+
attr_reader :amount
|
|
1902
|
+
# Currency for the insurance price.
|
|
1903
|
+
attr_reader :currency
|
|
1904
|
+
# Name of the insurance company.
|
|
1905
|
+
attr_reader :insurance_company_name
|
|
1906
|
+
# Type of insurance.
|
|
1907
|
+
attr_reader :insurance_type
|
|
1908
|
+
|
|
1909
|
+
def self.inner_class_types
|
|
1910
|
+
@inner_class_types = {}
|
|
1911
|
+
end
|
|
1912
|
+
|
|
1913
|
+
def self.field_remappings
|
|
1914
|
+
@field_remappings = {}
|
|
1915
|
+
end
|
|
1916
|
+
end
|
|
1917
|
+
|
|
1918
|
+
class Passenger < ::Stripe::StripeObject
|
|
1919
|
+
# Full name of the passenger.
|
|
1920
|
+
attr_reader :name
|
|
1921
|
+
|
|
1922
|
+
def self.inner_class_types
|
|
1923
|
+
@inner_class_types = {}
|
|
1924
|
+
end
|
|
1925
|
+
|
|
1926
|
+
def self.field_remappings
|
|
1927
|
+
@field_remappings = {}
|
|
1928
|
+
end
|
|
1929
|
+
end
|
|
1930
|
+
|
|
1931
|
+
class Segment < ::Stripe::StripeObject
|
|
1932
|
+
class Arrival < ::Stripe::StripeObject
|
|
1933
|
+
# Arrival airport IATA code.
|
|
1934
|
+
attr_reader :airport
|
|
1935
|
+
# Arrival date and time.
|
|
1936
|
+
attr_reader :arrives_at
|
|
1937
|
+
# Arrival city.
|
|
1938
|
+
attr_reader :city
|
|
1939
|
+
# Arrival country.
|
|
1940
|
+
attr_reader :country
|
|
1941
|
+
|
|
1942
|
+
def self.inner_class_types
|
|
1943
|
+
@inner_class_types = {}
|
|
1944
|
+
end
|
|
1945
|
+
|
|
1946
|
+
def self.field_remappings
|
|
1947
|
+
@field_remappings = {}
|
|
1948
|
+
end
|
|
1949
|
+
end
|
|
1950
|
+
|
|
1951
|
+
class Departure < ::Stripe::StripeObject
|
|
1952
|
+
# Departure airport IATA code.
|
|
1953
|
+
attr_reader :airport
|
|
1954
|
+
# Departure city.
|
|
1955
|
+
attr_reader :city
|
|
1956
|
+
# Departure country.
|
|
1957
|
+
attr_reader :country
|
|
1958
|
+
# Departure date and time.
|
|
1959
|
+
attr_reader :departs_at
|
|
1960
|
+
|
|
1961
|
+
def self.inner_class_types
|
|
1962
|
+
@inner_class_types = {}
|
|
1963
|
+
end
|
|
1964
|
+
|
|
1965
|
+
def self.field_remappings
|
|
1966
|
+
@field_remappings = {}
|
|
1967
|
+
end
|
|
1968
|
+
end
|
|
1969
|
+
# Segment fare amount.
|
|
1970
|
+
attr_reader :amount
|
|
1971
|
+
# Attribute for field arrival
|
|
1972
|
+
attr_reader :arrival
|
|
1973
|
+
# Airline carrier code.
|
|
1974
|
+
attr_reader :carrier_code
|
|
1975
|
+
# Carrier name.
|
|
1976
|
+
attr_reader :carrier_name
|
|
1977
|
+
# Segment currency.
|
|
1978
|
+
attr_reader :currency
|
|
1979
|
+
# Attribute for field departure
|
|
1980
|
+
attr_reader :departure
|
|
1981
|
+
# Exchange ticket number.
|
|
1982
|
+
attr_reader :exchange_ticket_number
|
|
1983
|
+
# Fare basis code.
|
|
1984
|
+
attr_reader :fare_basis_code
|
|
1985
|
+
# Additional fees.
|
|
1986
|
+
attr_reader :fees
|
|
1987
|
+
# Flight number.
|
|
1988
|
+
attr_reader :flight_number
|
|
1989
|
+
# Stopover indicator.
|
|
1990
|
+
attr_reader :is_stop_over_indicator
|
|
1991
|
+
# Refundable ticket indicator.
|
|
1992
|
+
attr_reader :refundable
|
|
1993
|
+
# Class of service.
|
|
1994
|
+
attr_reader :service_class
|
|
1995
|
+
# Tax amount for segment.
|
|
1996
|
+
attr_reader :tax_amount
|
|
1997
|
+
# Ticket number.
|
|
1998
|
+
attr_reader :ticket_number
|
|
1999
|
+
|
|
2000
|
+
def self.inner_class_types
|
|
2001
|
+
@inner_class_types = { arrival: Arrival, departure: Departure }
|
|
2002
|
+
end
|
|
2003
|
+
|
|
2004
|
+
def self.field_remappings
|
|
2005
|
+
@field_remappings = {}
|
|
2006
|
+
end
|
|
2007
|
+
end
|
|
2008
|
+
|
|
2009
|
+
class Total < ::Stripe::StripeObject
|
|
2010
|
+
class Discounts < ::Stripe::StripeObject
|
|
2011
|
+
# Corporate client discount code.
|
|
2012
|
+
attr_reader :corporate_client_code
|
|
2013
|
+
|
|
2014
|
+
def self.inner_class_types
|
|
2015
|
+
@inner_class_types = {}
|
|
2016
|
+
end
|
|
2017
|
+
|
|
2018
|
+
def self.field_remappings
|
|
2019
|
+
@field_remappings = {}
|
|
2020
|
+
end
|
|
2021
|
+
end
|
|
2022
|
+
|
|
2023
|
+
class ExtraCharge < ::Stripe::StripeObject
|
|
2024
|
+
# Amount of the extra charge.
|
|
2025
|
+
attr_reader :amount
|
|
2026
|
+
# Type of extra charge.
|
|
2027
|
+
attr_reader :type
|
|
2028
|
+
|
|
2029
|
+
def self.inner_class_types
|
|
2030
|
+
@inner_class_types = {}
|
|
2031
|
+
end
|
|
2032
|
+
|
|
2033
|
+
def self.field_remappings
|
|
2034
|
+
@field_remappings = {}
|
|
2035
|
+
end
|
|
2036
|
+
end
|
|
2037
|
+
|
|
2038
|
+
class Tax < ::Stripe::StripeObject
|
|
2039
|
+
class Tax < ::Stripe::StripeObject
|
|
2040
|
+
# Tax amount.
|
|
2041
|
+
attr_reader :amount
|
|
2042
|
+
# Tax rate.
|
|
2043
|
+
attr_reader :rate
|
|
2044
|
+
# Type of tax.
|
|
2045
|
+
attr_reader :type
|
|
2046
|
+
|
|
2047
|
+
def self.inner_class_types
|
|
2048
|
+
@inner_class_types = {}
|
|
2049
|
+
end
|
|
2050
|
+
|
|
2051
|
+
def self.field_remappings
|
|
2052
|
+
@field_remappings = {}
|
|
2053
|
+
end
|
|
2054
|
+
end
|
|
2055
|
+
# Tax details.
|
|
2056
|
+
attr_reader :taxes
|
|
2057
|
+
|
|
2058
|
+
def self.inner_class_types
|
|
2059
|
+
@inner_class_types = { taxes: Tax }
|
|
2060
|
+
end
|
|
2061
|
+
|
|
2062
|
+
def self.field_remappings
|
|
2063
|
+
@field_remappings = {}
|
|
2064
|
+
end
|
|
2065
|
+
end
|
|
2066
|
+
# Total amount.
|
|
2067
|
+
attr_reader :amount
|
|
2068
|
+
# Reason for credit.
|
|
2069
|
+
attr_reader :credit_reason
|
|
2070
|
+
# Currency for the total amount.
|
|
2071
|
+
attr_reader :currency
|
|
2072
|
+
# Attribute for field discounts
|
|
2073
|
+
attr_reader :discounts
|
|
2074
|
+
# Additional charges for the flight.
|
|
2075
|
+
attr_reader :extra_charges
|
|
2076
|
+
# Attribute for field tax
|
|
2077
|
+
attr_reader :tax
|
|
2078
|
+
|
|
2079
|
+
def self.inner_class_types
|
|
2080
|
+
@inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
|
|
2081
|
+
end
|
|
2082
|
+
|
|
2083
|
+
def self.field_remappings
|
|
2084
|
+
@field_remappings = {}
|
|
2085
|
+
end
|
|
2086
|
+
end
|
|
2087
|
+
# Attribute for field affiliate
|
|
2088
|
+
attr_reader :affiliate
|
|
2089
|
+
# The booking number associated with the flight reservation.
|
|
2090
|
+
attr_reader :booking_number
|
|
2091
|
+
# The computerized reservation system used to make the reservation and purchase the ticket.
|
|
2092
|
+
attr_reader :computerized_reservation_system
|
|
2093
|
+
# Ticket restrictions.
|
|
2094
|
+
attr_reader :endorsements_and_restrictions
|
|
2095
|
+
# Insurance details for the flight.
|
|
2096
|
+
attr_reader :insurances
|
|
2097
|
+
# The list of passengers for this flight.
|
|
2098
|
+
attr_reader :passengers
|
|
2099
|
+
# The list of flight segments for this reservation.
|
|
2100
|
+
attr_reader :segments
|
|
2101
|
+
# Electronic ticket indicator.
|
|
2102
|
+
attr_reader :ticket_electronically_issued_indicator
|
|
2103
|
+
# Attribute for field total
|
|
2104
|
+
attr_reader :total
|
|
2105
|
+
# Type of flight transaction.
|
|
2106
|
+
attr_reader :transaction_type
|
|
2107
|
+
|
|
2108
|
+
def self.inner_class_types
|
|
2109
|
+
@inner_class_types = {
|
|
2110
|
+
affiliate: Affiliate,
|
|
2111
|
+
insurances: Insurance,
|
|
2112
|
+
passengers: Passenger,
|
|
2113
|
+
segments: Segment,
|
|
2114
|
+
total: Total,
|
|
2115
|
+
}
|
|
2116
|
+
end
|
|
2117
|
+
|
|
2118
|
+
def self.field_remappings
|
|
2119
|
+
@field_remappings = {}
|
|
2120
|
+
end
|
|
2121
|
+
end
|
|
2122
|
+
|
|
2123
|
+
class LodgingDatum < ::Stripe::StripeObject
|
|
2124
|
+
class Accommodation < ::Stripe::StripeObject
|
|
2125
|
+
# Type of accommodation.
|
|
2126
|
+
attr_reader :accommodation_type
|
|
2127
|
+
# Bed type.
|
|
2128
|
+
attr_reader :bed_type
|
|
2129
|
+
# Daily accommodation rate in cents.
|
|
2130
|
+
attr_reader :daily_rate_amount
|
|
2131
|
+
# Number of nights.
|
|
2132
|
+
attr_reader :nights
|
|
2133
|
+
# Number of rooms, cabanas, apartments, and so on.
|
|
2134
|
+
attr_reader :number_of_rooms
|
|
2135
|
+
# Rate type.
|
|
2136
|
+
attr_reader :rate_type
|
|
2137
|
+
# Whether smoking is allowed.
|
|
2138
|
+
attr_reader :smoking_indicator
|
|
2139
|
+
|
|
2140
|
+
def self.inner_class_types
|
|
2141
|
+
@inner_class_types = {}
|
|
2142
|
+
end
|
|
2143
|
+
|
|
2144
|
+
def self.field_remappings
|
|
2145
|
+
@field_remappings = {}
|
|
2146
|
+
end
|
|
2147
|
+
end
|
|
2148
|
+
|
|
2149
|
+
class Affiliate < ::Stripe::StripeObject
|
|
2150
|
+
# Affiliate partner code.
|
|
2151
|
+
attr_reader :code
|
|
2152
|
+
# Affiliate partner name.
|
|
2153
|
+
attr_reader :name
|
|
2154
|
+
|
|
2155
|
+
def self.inner_class_types
|
|
2156
|
+
@inner_class_types = {}
|
|
2157
|
+
end
|
|
2158
|
+
|
|
2159
|
+
def self.field_remappings
|
|
2160
|
+
@field_remappings = {}
|
|
2161
|
+
end
|
|
2162
|
+
end
|
|
2163
|
+
|
|
2164
|
+
class Guest < ::Stripe::StripeObject
|
|
2165
|
+
# Guest's full name.
|
|
2166
|
+
attr_reader :name
|
|
2167
|
+
|
|
2168
|
+
def self.inner_class_types
|
|
2169
|
+
@inner_class_types = {}
|
|
2170
|
+
end
|
|
2171
|
+
|
|
2172
|
+
def self.field_remappings
|
|
2173
|
+
@field_remappings = {}
|
|
2174
|
+
end
|
|
2175
|
+
end
|
|
2176
|
+
|
|
2177
|
+
class Host < ::Stripe::StripeObject
|
|
2178
|
+
class Address < ::Stripe::StripeObject
|
|
2179
|
+
# City, district, suburb, town, or village.
|
|
2180
|
+
attr_reader :city
|
|
2181
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2182
|
+
attr_reader :country
|
|
2183
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
2184
|
+
attr_reader :line1
|
|
2185
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2186
|
+
attr_reader :line2
|
|
2187
|
+
# ZIP or postal code.
|
|
2188
|
+
attr_reader :postal_code
|
|
2189
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2190
|
+
attr_reader :state
|
|
2191
|
+
|
|
2192
|
+
def self.inner_class_types
|
|
2193
|
+
@inner_class_types = {}
|
|
2194
|
+
end
|
|
2195
|
+
|
|
2196
|
+
def self.field_remappings
|
|
2197
|
+
@field_remappings = {}
|
|
2198
|
+
end
|
|
2199
|
+
end
|
|
2200
|
+
# Attribute for field address
|
|
2201
|
+
attr_reader :address
|
|
2202
|
+
# Host's country of domicile.
|
|
2203
|
+
attr_reader :country_of_domicile
|
|
2204
|
+
# Reference number for the host.
|
|
2205
|
+
attr_reader :host_reference
|
|
2206
|
+
# Type of host.
|
|
2207
|
+
attr_reader :host_type
|
|
2208
|
+
# Name of the lodging property or host.
|
|
2209
|
+
attr_reader :name
|
|
2210
|
+
# Total number of reservations for the host.
|
|
2211
|
+
attr_reader :number_of_reservations
|
|
2212
|
+
# Property phone number.
|
|
2213
|
+
attr_reader :property_phone_number
|
|
2214
|
+
# Host's registration date.
|
|
2215
|
+
attr_reader :registered_at
|
|
2216
|
+
|
|
2217
|
+
def self.inner_class_types
|
|
2218
|
+
@inner_class_types = { address: Address }
|
|
2219
|
+
end
|
|
2220
|
+
|
|
2221
|
+
def self.field_remappings
|
|
2222
|
+
@field_remappings = {}
|
|
2223
|
+
end
|
|
2224
|
+
end
|
|
2225
|
+
|
|
2226
|
+
class Insurance < ::Stripe::StripeObject
|
|
2227
|
+
# Price of the insurance coverage in cents.
|
|
2228
|
+
attr_reader :amount
|
|
2229
|
+
# Currency of the insurance amount.
|
|
2230
|
+
attr_reader :currency
|
|
2231
|
+
# Name of the insurance company.
|
|
2232
|
+
attr_reader :insurance_company_name
|
|
2233
|
+
# Type of insurance coverage.
|
|
2234
|
+
attr_reader :insurance_type
|
|
2235
|
+
|
|
2236
|
+
def self.inner_class_types
|
|
2237
|
+
@inner_class_types = {}
|
|
2238
|
+
end
|
|
2239
|
+
|
|
2240
|
+
def self.field_remappings
|
|
2241
|
+
@field_remappings = {}
|
|
2242
|
+
end
|
|
2243
|
+
end
|
|
2244
|
+
|
|
2245
|
+
class Total < ::Stripe::StripeObject
|
|
2246
|
+
class Discounts < ::Stripe::StripeObject
|
|
2247
|
+
# Corporate client discount code.
|
|
2248
|
+
attr_reader :corporate_client_code
|
|
2249
|
+
# Coupon code.
|
|
2250
|
+
attr_reader :coupon
|
|
2251
|
+
|
|
2252
|
+
def self.inner_class_types
|
|
2253
|
+
@inner_class_types = {}
|
|
2254
|
+
end
|
|
2255
|
+
|
|
2256
|
+
def self.field_remappings
|
|
2257
|
+
@field_remappings = {}
|
|
2258
|
+
end
|
|
2259
|
+
end
|
|
2260
|
+
|
|
2261
|
+
class ExtraCharge < ::Stripe::StripeObject
|
|
2262
|
+
# Amount of the extra charge in cents.
|
|
2263
|
+
attr_reader :amount
|
|
2264
|
+
# Type of extra charge.
|
|
2265
|
+
attr_reader :type
|
|
2266
|
+
|
|
2267
|
+
def self.inner_class_types
|
|
2268
|
+
@inner_class_types = {}
|
|
2269
|
+
end
|
|
2270
|
+
|
|
2271
|
+
def self.field_remappings
|
|
2272
|
+
@field_remappings = {}
|
|
2273
|
+
end
|
|
2274
|
+
end
|
|
2275
|
+
|
|
2276
|
+
class Tax < ::Stripe::StripeObject
|
|
2277
|
+
class Tax < ::Stripe::StripeObject
|
|
2278
|
+
# Tax amount in cents.
|
|
2279
|
+
attr_reader :amount
|
|
2280
|
+
# Tax rate.
|
|
2281
|
+
attr_reader :rate
|
|
2282
|
+
# Type of tax applied.
|
|
2283
|
+
attr_reader :type
|
|
2284
|
+
|
|
2285
|
+
def self.inner_class_types
|
|
2286
|
+
@inner_class_types = {}
|
|
2287
|
+
end
|
|
2288
|
+
|
|
2289
|
+
def self.field_remappings
|
|
2290
|
+
@field_remappings = {}
|
|
2291
|
+
end
|
|
2292
|
+
end
|
|
2293
|
+
# Indicates whether the transaction is tax exempt.
|
|
2294
|
+
attr_reader :tax_exempt_indicator
|
|
2295
|
+
# Tax details.
|
|
2296
|
+
attr_reader :taxes
|
|
2297
|
+
|
|
2298
|
+
def self.inner_class_types
|
|
2299
|
+
@inner_class_types = { taxes: Tax }
|
|
2300
|
+
end
|
|
2301
|
+
|
|
2302
|
+
def self.field_remappings
|
|
2303
|
+
@field_remappings = {}
|
|
2304
|
+
end
|
|
2305
|
+
end
|
|
2306
|
+
# Total price of the lodging reservation in cents.
|
|
2307
|
+
attr_reader :amount
|
|
2308
|
+
# Cash advances in cents.
|
|
2309
|
+
attr_reader :cash_advances
|
|
2310
|
+
# Currency of the total amount.
|
|
2311
|
+
attr_reader :currency
|
|
2312
|
+
# Attribute for field discounts
|
|
2313
|
+
attr_reader :discounts
|
|
2314
|
+
# Additional charges for the lodging.
|
|
2315
|
+
attr_reader :extra_charges
|
|
2316
|
+
# Prepaid amount in cents.
|
|
2317
|
+
attr_reader :prepaid_amount
|
|
2318
|
+
# Attribute for field tax
|
|
2319
|
+
attr_reader :tax
|
|
2320
|
+
|
|
2321
|
+
def self.inner_class_types
|
|
2322
|
+
@inner_class_types = { discounts: Discounts, extra_charges: ExtraCharge, tax: Tax }
|
|
2323
|
+
end
|
|
2324
|
+
|
|
2325
|
+
def self.field_remappings
|
|
2326
|
+
@field_remappings = {}
|
|
2327
|
+
end
|
|
2328
|
+
end
|
|
2329
|
+
# Attribute for field accommodation
|
|
2330
|
+
attr_reader :accommodation
|
|
2331
|
+
# Attribute for field affiliate
|
|
2332
|
+
attr_reader :affiliate
|
|
2333
|
+
# Booking confirmation number for the lodging.
|
|
2334
|
+
attr_reader :booking_number
|
|
2335
|
+
# Check-in date.
|
|
2336
|
+
attr_reader :checkin_at
|
|
2337
|
+
# Check-out date.
|
|
2338
|
+
attr_reader :checkout_at
|
|
2339
|
+
# Customer service phone number for the lodging company.
|
|
2340
|
+
attr_reader :customer_service_phone_number
|
|
2341
|
+
# Whether the lodging is compliant with any hotel fire safety regulations.
|
|
2342
|
+
attr_reader :fire_safety_act_compliance_indicator
|
|
2343
|
+
# List of guests for the lodging.
|
|
2344
|
+
attr_reader :guests
|
|
2345
|
+
# Attribute for field host
|
|
2346
|
+
attr_reader :host
|
|
2347
|
+
# List of insurances for the lodging.
|
|
2348
|
+
attr_reader :insurances
|
|
2349
|
+
# Whether the renter is a no-show.
|
|
2350
|
+
attr_reader :no_show_indicator
|
|
2351
|
+
# Renter ID number for the lodging.
|
|
2352
|
+
attr_reader :renter_id_number
|
|
2353
|
+
# Renter name for the lodging.
|
|
2354
|
+
attr_reader :renter_name
|
|
2355
|
+
# Attribute for field total
|
|
2356
|
+
attr_reader :total
|
|
2357
|
+
|
|
2358
|
+
def self.inner_class_types
|
|
2359
|
+
@inner_class_types = {
|
|
2360
|
+
accommodation: Accommodation,
|
|
2361
|
+
affiliate: Affiliate,
|
|
2362
|
+
guests: Guest,
|
|
2363
|
+
host: Host,
|
|
2364
|
+
insurances: Insurance,
|
|
2365
|
+
total: Total,
|
|
2366
|
+
}
|
|
2367
|
+
end
|
|
2368
|
+
|
|
2369
|
+
def self.field_remappings
|
|
2370
|
+
@field_remappings = {}
|
|
2371
|
+
end
|
|
2372
|
+
end
|
|
2373
|
+
|
|
2374
|
+
class Subscription < ::Stripe::StripeObject
|
|
2375
|
+
class Affiliate < ::Stripe::StripeObject
|
|
2376
|
+
# The name of the affiliate that originated the purchase.
|
|
2377
|
+
attr_reader :name
|
|
2378
|
+
|
|
2379
|
+
def self.inner_class_types
|
|
2380
|
+
@inner_class_types = {}
|
|
2381
|
+
end
|
|
2382
|
+
|
|
2383
|
+
def self.field_remappings
|
|
2384
|
+
@field_remappings = {}
|
|
2385
|
+
end
|
|
2386
|
+
end
|
|
2387
|
+
|
|
2388
|
+
class BillingInterval < ::Stripe::StripeObject
|
|
2389
|
+
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
2390
|
+
attr_reader :count
|
|
2391
|
+
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
2392
|
+
attr_reader :interval
|
|
2393
|
+
|
|
2394
|
+
def self.inner_class_types
|
|
2395
|
+
@inner_class_types = {}
|
|
2396
|
+
end
|
|
2397
|
+
|
|
2398
|
+
def self.field_remappings
|
|
2399
|
+
@field_remappings = {}
|
|
2400
|
+
end
|
|
2401
|
+
end
|
|
2402
|
+
# Attribute for field affiliate
|
|
2403
|
+
attr_reader :affiliate
|
|
2404
|
+
# Info whether the subscription will be auto renewed upon expiry.
|
|
2405
|
+
attr_reader :auto_renewal
|
|
2406
|
+
# Attribute for field billing_interval
|
|
2407
|
+
attr_reader :billing_interval
|
|
2408
|
+
# Subscription end time. Measured in seconds since the Unix epoch.
|
|
2409
|
+
attr_reader :ends_at
|
|
2410
|
+
# Name of the product on subscription. e.g. Apple Music Subscription.
|
|
2411
|
+
attr_reader :name
|
|
2412
|
+
# Subscription start time. Measured in seconds since the Unix epoch.
|
|
2413
|
+
attr_reader :starts_at
|
|
1203
2414
|
|
|
1204
|
-
|
|
2415
|
+
def self.inner_class_types
|
|
2416
|
+
@inner_class_types = { affiliate: Affiliate, billing_interval: BillingInterval }
|
|
2417
|
+
end
|
|
2418
|
+
|
|
2419
|
+
def self.field_remappings
|
|
2420
|
+
@field_remappings = {}
|
|
2421
|
+
end
|
|
2422
|
+
end
|
|
2423
|
+
# Attribute for field benefit
|
|
2424
|
+
attr_reader :benefit
|
|
2425
|
+
# Attribute for field car_rental
|
|
2426
|
+
attr_reader :car_rental
|
|
2427
|
+
# Attribute for field car_rental_data
|
|
2428
|
+
attr_reader :car_rental_data
|
|
1205
2429
|
# A unique value to identify the customer. This field is available only for card payments.
|
|
1206
2430
|
#
|
|
1207
2431
|
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
1208
2432
|
attr_reader :customer_reference
|
|
2433
|
+
# Attribute for field event_details
|
|
2434
|
+
attr_reader :event_details
|
|
2435
|
+
# Attribute for field flight_data
|
|
2436
|
+
attr_reader :flight_data
|
|
2437
|
+
# Attribute for field lodging_data
|
|
2438
|
+
attr_reader :lodging_data
|
|
1209
2439
|
# A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
1210
2440
|
#
|
|
1211
2441
|
# Required when the Payment Method Types array contains `card`, including when [automatic_payment_methods.enabled](/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`.
|
|
1212
2442
|
#
|
|
1213
2443
|
# For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
|
|
1214
2444
|
attr_reader :order_reference
|
|
2445
|
+
# Attribute for field subscription
|
|
2446
|
+
attr_reader :subscription
|
|
1215
2447
|
|
|
1216
2448
|
def self.inner_class_types
|
|
1217
|
-
@inner_class_types = {
|
|
2449
|
+
@inner_class_types = {
|
|
2450
|
+
benefit: Benefit,
|
|
2451
|
+
car_rental: CarRental,
|
|
2452
|
+
car_rental_data: CarRentalDatum,
|
|
2453
|
+
event_details: EventDetails,
|
|
2454
|
+
flight_data: FlightDatum,
|
|
2455
|
+
lodging_data: LodgingDatum,
|
|
2456
|
+
subscription: Subscription,
|
|
2457
|
+
}
|
|
1218
2458
|
end
|
|
1219
2459
|
|
|
1220
2460
|
def self.field_remappings
|
|
@@ -1592,6 +2832,43 @@ module Stripe
|
|
|
1592
2832
|
@field_remappings = {}
|
|
1593
2833
|
end
|
|
1594
2834
|
end
|
|
2835
|
+
|
|
2836
|
+
class StatementDetails < ::Stripe::StripeObject
|
|
2837
|
+
class Address < ::Stripe::StripeObject
|
|
2838
|
+
# City, district, suburb, town, or village.
|
|
2839
|
+
attr_reader :city
|
|
2840
|
+
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2841
|
+
attr_reader :country
|
|
2842
|
+
# Address line 1, such as the street, PO Box, or company name.
|
|
2843
|
+
attr_reader :line1
|
|
2844
|
+
# Address line 2, such as the apartment, suite, unit, or building.
|
|
2845
|
+
attr_reader :line2
|
|
2846
|
+
# ZIP or postal code.
|
|
2847
|
+
attr_reader :postal_code
|
|
2848
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
2849
|
+
attr_reader :state
|
|
2850
|
+
|
|
2851
|
+
def self.inner_class_types
|
|
2852
|
+
@inner_class_types = {}
|
|
2853
|
+
end
|
|
2854
|
+
|
|
2855
|
+
def self.field_remappings
|
|
2856
|
+
@field_remappings = {}
|
|
2857
|
+
end
|
|
2858
|
+
end
|
|
2859
|
+
# Attribute for field address
|
|
2860
|
+
attr_reader :address
|
|
2861
|
+
# Phone number
|
|
2862
|
+
attr_reader :phone
|
|
2863
|
+
|
|
2864
|
+
def self.inner_class_types
|
|
2865
|
+
@inner_class_types = { address: Address }
|
|
2866
|
+
end
|
|
2867
|
+
|
|
2868
|
+
def self.field_remappings
|
|
2869
|
+
@field_remappings = {}
|
|
2870
|
+
end
|
|
2871
|
+
end
|
|
1595
2872
|
# Controls when the funds will be captured from the customer's account.
|
|
1596
2873
|
attr_reader :capture_method
|
|
1597
2874
|
# Installment details for this payment.
|
|
@@ -1602,6 +2879,8 @@ module Stripe
|
|
|
1602
2879
|
attr_reader :mandate_options
|
|
1603
2880
|
# Selected network to process this payment intent on. Depends on the available networks of the card attached to the payment intent. Can be only set confirm-time.
|
|
1604
2881
|
attr_reader :network
|
|
2882
|
+
# Request ability to [decrement the authorization](https://docs.stripe.com/payments/decremental-authorization) for this PaymentIntent.
|
|
2883
|
+
attr_reader :request_decremental_authorization
|
|
1605
2884
|
# Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
|
|
1606
2885
|
attr_reader :request_extended_authorization
|
|
1607
2886
|
# Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
|
|
@@ -1610,6 +2889,8 @@ module Stripe
|
|
|
1610
2889
|
attr_reader :request_multicapture
|
|
1611
2890
|
# Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
|
|
1612
2891
|
attr_reader :request_overcapture
|
|
2892
|
+
# Request partial authorization on this PaymentIntent.
|
|
2893
|
+
attr_reader :request_partial_authorization
|
|
1613
2894
|
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
|
1614
2895
|
attr_reader :request_three_d_secure
|
|
1615
2896
|
# When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).
|
|
@@ -1626,9 +2907,15 @@ module Stripe
|
|
|
1626
2907
|
attr_reader :statement_descriptor_suffix_kana
|
|
1627
2908
|
# Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
|
|
1628
2909
|
attr_reader :statement_descriptor_suffix_kanji
|
|
2910
|
+
# Attribute for field statement_details
|
|
2911
|
+
attr_reader :statement_details
|
|
1629
2912
|
|
|
1630
2913
|
def self.inner_class_types
|
|
1631
|
-
@inner_class_types = {
|
|
2914
|
+
@inner_class_types = {
|
|
2915
|
+
installments: Installments,
|
|
2916
|
+
mandate_options: MandateOptions,
|
|
2917
|
+
statement_details: StatementDetails,
|
|
2918
|
+
}
|
|
1632
2919
|
end
|
|
1633
2920
|
|
|
1634
2921
|
def self.field_remappings
|
|
@@ -1817,6 +3104,25 @@ module Stripe
|
|
|
1817
3104
|
end
|
|
1818
3105
|
end
|
|
1819
3106
|
|
|
3107
|
+
class Gopay < ::Stripe::StripeObject
|
|
3108
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3109
|
+
#
|
|
3110
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3111
|
+
#
|
|
3112
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3113
|
+
#
|
|
3114
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
3115
|
+
attr_reader :setup_future_usage
|
|
3116
|
+
|
|
3117
|
+
def self.inner_class_types
|
|
3118
|
+
@inner_class_types = {}
|
|
3119
|
+
end
|
|
3120
|
+
|
|
3121
|
+
def self.field_remappings
|
|
3122
|
+
@field_remappings = {}
|
|
3123
|
+
end
|
|
3124
|
+
end
|
|
3125
|
+
|
|
1820
3126
|
class Grabpay < ::Stripe::StripeObject
|
|
1821
3127
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1822
3128
|
#
|
|
@@ -1836,6 +3142,29 @@ module Stripe
|
|
|
1836
3142
|
end
|
|
1837
3143
|
end
|
|
1838
3144
|
|
|
3145
|
+
class IdBankTransfer < ::Stripe::StripeObject
|
|
3146
|
+
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.
|
|
3147
|
+
attr_reader :expires_after
|
|
3148
|
+
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.
|
|
3149
|
+
attr_reader :expires_at
|
|
3150
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3151
|
+
#
|
|
3152
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3153
|
+
#
|
|
3154
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3155
|
+
#
|
|
3156
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
3157
|
+
attr_reader :setup_future_usage
|
|
3158
|
+
|
|
3159
|
+
def self.inner_class_types
|
|
3160
|
+
@inner_class_types = {}
|
|
3161
|
+
end
|
|
3162
|
+
|
|
3163
|
+
def self.field_remappings
|
|
3164
|
+
@field_remappings = {}
|
|
3165
|
+
end
|
|
3166
|
+
end
|
|
3167
|
+
|
|
1839
3168
|
class Ideal < ::Stripe::StripeObject
|
|
1840
3169
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1841
3170
|
#
|
|
@@ -2164,12 +3493,56 @@ module Stripe
|
|
|
2164
3493
|
end
|
|
2165
3494
|
|
|
2166
3495
|
class Paypal < ::Stripe::StripeObject
|
|
3496
|
+
class LineItem < ::Stripe::StripeObject
|
|
3497
|
+
class Tax < ::Stripe::StripeObject
|
|
3498
|
+
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
3499
|
+
attr_reader :amount
|
|
3500
|
+
# The tax behavior for the line item.
|
|
3501
|
+
attr_reader :behavior
|
|
3502
|
+
|
|
3503
|
+
def self.inner_class_types
|
|
3504
|
+
@inner_class_types = {}
|
|
3505
|
+
end
|
|
3506
|
+
|
|
3507
|
+
def self.field_remappings
|
|
3508
|
+
@field_remappings = {}
|
|
3509
|
+
end
|
|
3510
|
+
end
|
|
3511
|
+
# Type of the line item.
|
|
3512
|
+
attr_reader :category
|
|
3513
|
+
# Description of the line item.
|
|
3514
|
+
attr_reader :description
|
|
3515
|
+
# Descriptive name of the line item.
|
|
3516
|
+
attr_reader :name
|
|
3517
|
+
# Quantity of the line item. Cannot be a negative number.
|
|
3518
|
+
attr_reader :quantity
|
|
3519
|
+
# Client facing stock keeping unit, article number or similar.
|
|
3520
|
+
attr_reader :sku
|
|
3521
|
+
# The Stripe account ID of the connected account that sells the item. This is only needed when using [Separate Charges and Transfers](https://docs.stripe.com/connect/separate-charges-and-transfers).
|
|
3522
|
+
attr_reader :sold_by
|
|
3523
|
+
# Attribute for field tax
|
|
3524
|
+
attr_reader :tax
|
|
3525
|
+
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
3526
|
+
attr_reader :unit_amount
|
|
3527
|
+
|
|
3528
|
+
def self.inner_class_types
|
|
3529
|
+
@inner_class_types = { tax: Tax }
|
|
3530
|
+
end
|
|
3531
|
+
|
|
3532
|
+
def self.field_remappings
|
|
3533
|
+
@field_remappings = {}
|
|
3534
|
+
end
|
|
3535
|
+
end
|
|
2167
3536
|
# Controls when the funds will be captured from the customer's account.
|
|
2168
3537
|
attr_reader :capture_method
|
|
3538
|
+
# The line items purchased by the customer.
|
|
3539
|
+
attr_reader :line_items
|
|
2169
3540
|
# Preferred locale of the PayPal checkout page that the customer is redirected to.
|
|
2170
3541
|
attr_reader :preferred_locale
|
|
2171
3542
|
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
2172
3543
|
attr_reader :reference
|
|
3544
|
+
# A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
3545
|
+
attr_reader :reference_id
|
|
2173
3546
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2174
3547
|
#
|
|
2175
3548
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -2178,7 +3551,19 @@ module Stripe
|
|
|
2178
3551
|
#
|
|
2179
3552
|
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
2180
3553
|
attr_reader :setup_future_usage
|
|
3554
|
+
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
3555
|
+
attr_reader :subsellers
|
|
3556
|
+
|
|
3557
|
+
def self.inner_class_types
|
|
3558
|
+
@inner_class_types = { line_items: LineItem }
|
|
3559
|
+
end
|
|
2181
3560
|
|
|
3561
|
+
def self.field_remappings
|
|
3562
|
+
@field_remappings = {}
|
|
3563
|
+
end
|
|
3564
|
+
end
|
|
3565
|
+
|
|
3566
|
+
class Paypay < ::Stripe::StripeObject
|
|
2182
3567
|
def self.inner_class_types
|
|
2183
3568
|
@inner_class_types = {}
|
|
2184
3569
|
end
|
|
@@ -2232,12 +3617,40 @@ module Stripe
|
|
|
2232
3617
|
end
|
|
2233
3618
|
|
|
2234
3619
|
class Pix < ::Stripe::StripeObject
|
|
3620
|
+
class MandateOptions < ::Stripe::StripeObject
|
|
3621
|
+
# Amount to be charged for future payments.
|
|
3622
|
+
attr_reader :amount
|
|
3623
|
+
# Determines if the amount includes the IOF tax.
|
|
3624
|
+
attr_reader :amount_includes_iof
|
|
3625
|
+
# Type of amount.
|
|
3626
|
+
attr_reader :amount_type
|
|
3627
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase.
|
|
3628
|
+
attr_reader :currency
|
|
3629
|
+
# Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`.
|
|
3630
|
+
attr_reader :end_date
|
|
3631
|
+
# Schedule at which the future payments will be charged.
|
|
3632
|
+
attr_reader :payment_schedule
|
|
3633
|
+
# Subscription name displayed to buyers in their bank app.
|
|
3634
|
+
attr_reader :reference
|
|
3635
|
+
# Start date of the mandate, in `YYYY-MM-DD`.
|
|
3636
|
+
attr_reader :start_date
|
|
3637
|
+
|
|
3638
|
+
def self.inner_class_types
|
|
3639
|
+
@inner_class_types = {}
|
|
3640
|
+
end
|
|
3641
|
+
|
|
3642
|
+
def self.field_remappings
|
|
3643
|
+
@field_remappings = {}
|
|
3644
|
+
end
|
|
3645
|
+
end
|
|
2235
3646
|
# Determines if the amount includes the IOF tax.
|
|
2236
3647
|
attr_reader :amount_includes_iof
|
|
2237
3648
|
# The number of seconds (between 10 and 1209600) after which Pix payment will expire.
|
|
2238
3649
|
attr_reader :expires_after_seconds
|
|
2239
3650
|
# The timestamp at which the Pix expires.
|
|
2240
3651
|
attr_reader :expires_at
|
|
3652
|
+
# Attribute for field mandate_options
|
|
3653
|
+
attr_reader :mandate_options
|
|
2241
3654
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2242
3655
|
#
|
|
2243
3656
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -2248,7 +3661,7 @@ module Stripe
|
|
|
2248
3661
|
attr_reader :setup_future_usage
|
|
2249
3662
|
|
|
2250
3663
|
def self.inner_class_types
|
|
2251
|
-
@inner_class_types = {}
|
|
3664
|
+
@inner_class_types = { mandate_options: MandateOptions }
|
|
2252
3665
|
end
|
|
2253
3666
|
|
|
2254
3667
|
def self.field_remappings
|
|
@@ -2275,6 +3688,35 @@ module Stripe
|
|
|
2275
3688
|
end
|
|
2276
3689
|
end
|
|
2277
3690
|
|
|
3691
|
+
class Qris < ::Stripe::StripeObject
|
|
3692
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3693
|
+
#
|
|
3694
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3695
|
+
#
|
|
3696
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3697
|
+
#
|
|
3698
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
3699
|
+
attr_reader :setup_future_usage
|
|
3700
|
+
|
|
3701
|
+
def self.inner_class_types
|
|
3702
|
+
@inner_class_types = {}
|
|
3703
|
+
end
|
|
3704
|
+
|
|
3705
|
+
def self.field_remappings
|
|
3706
|
+
@field_remappings = {}
|
|
3707
|
+
end
|
|
3708
|
+
end
|
|
3709
|
+
|
|
3710
|
+
class Rechnung < ::Stripe::StripeObject
|
|
3711
|
+
def self.inner_class_types
|
|
3712
|
+
@inner_class_types = {}
|
|
3713
|
+
end
|
|
3714
|
+
|
|
3715
|
+
def self.field_remappings
|
|
3716
|
+
@field_remappings = {}
|
|
3717
|
+
end
|
|
3718
|
+
end
|
|
3719
|
+
|
|
2278
3720
|
class RevolutPay < ::Stripe::StripeObject
|
|
2279
3721
|
# Controls when the funds will be captured from the customer's account.
|
|
2280
3722
|
attr_reader :capture_method
|
|
@@ -2357,6 +3799,25 @@ module Stripe
|
|
|
2357
3799
|
end
|
|
2358
3800
|
end
|
|
2359
3801
|
|
|
3802
|
+
class Shopeepay < ::Stripe::StripeObject
|
|
3803
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3804
|
+
#
|
|
3805
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3806
|
+
#
|
|
3807
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3808
|
+
#
|
|
3809
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
3810
|
+
attr_reader :setup_future_usage
|
|
3811
|
+
|
|
3812
|
+
def self.inner_class_types
|
|
3813
|
+
@inner_class_types = {}
|
|
3814
|
+
end
|
|
3815
|
+
|
|
3816
|
+
def self.field_remappings
|
|
3817
|
+
@field_remappings = {}
|
|
3818
|
+
end
|
|
3819
|
+
end
|
|
3820
|
+
|
|
2360
3821
|
class Sofort < ::Stripe::StripeObject
|
|
2361
3822
|
# Preferred language of the SOFORT authorization page that the customer is redirected to.
|
|
2362
3823
|
attr_reader :preferred_language
|
|
@@ -2378,6 +3839,25 @@ module Stripe
|
|
|
2378
3839
|
end
|
|
2379
3840
|
end
|
|
2380
3841
|
|
|
3842
|
+
class StripeBalance < ::Stripe::StripeObject
|
|
3843
|
+
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3844
|
+
#
|
|
3845
|
+
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3846
|
+
#
|
|
3847
|
+
# If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3848
|
+
#
|
|
3849
|
+
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
3850
|
+
attr_reader :setup_future_usage
|
|
3851
|
+
|
|
3852
|
+
def self.inner_class_types
|
|
3853
|
+
@inner_class_types = {}
|
|
3854
|
+
end
|
|
3855
|
+
|
|
3856
|
+
def self.field_remappings
|
|
3857
|
+
@field_remappings = {}
|
|
3858
|
+
end
|
|
3859
|
+
end
|
|
3860
|
+
|
|
2381
3861
|
class Swish < ::Stripe::StripeObject
|
|
2382
3862
|
# A reference for this payment to be displayed in the Swish app.
|
|
2383
3863
|
attr_reader :reference
|
|
@@ -2423,6 +3903,21 @@ module Stripe
|
|
|
2423
3903
|
class Filters < ::Stripe::StripeObject
|
|
2424
3904
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
2425
3905
|
attr_reader :account_subcategories
|
|
3906
|
+
# The institution to use to filter for possible accounts to link.
|
|
3907
|
+
attr_reader :institution
|
|
3908
|
+
|
|
3909
|
+
def self.inner_class_types
|
|
3910
|
+
@inner_class_types = {}
|
|
3911
|
+
end
|
|
3912
|
+
|
|
3913
|
+
def self.field_remappings
|
|
3914
|
+
@field_remappings = {}
|
|
3915
|
+
end
|
|
3916
|
+
end
|
|
3917
|
+
|
|
3918
|
+
class ManualEntry < ::Stripe::StripeObject
|
|
3919
|
+
# Settings for configuring manual entry of account details.
|
|
3920
|
+
attr_reader :mode
|
|
2426
3921
|
|
|
2427
3922
|
def self.inner_class_types
|
|
2428
3923
|
@inner_class_types = {}
|
|
@@ -2434,6 +3929,8 @@ module Stripe
|
|
|
2434
3929
|
end
|
|
2435
3930
|
# Attribute for field filters
|
|
2436
3931
|
attr_reader :filters
|
|
3932
|
+
# Attribute for field manual_entry
|
|
3933
|
+
attr_reader :manual_entry
|
|
2437
3934
|
# The list of permissions to request. The `payment_method` permission must be included.
|
|
2438
3935
|
attr_reader :permissions
|
|
2439
3936
|
# Data features requested to be retrieved upon account creation.
|
|
@@ -2442,7 +3939,7 @@ module Stripe
|
|
|
2442
3939
|
attr_reader :return_url
|
|
2443
3940
|
|
|
2444
3941
|
def self.inner_class_types
|
|
2445
|
-
@inner_class_types = { filters: Filters }
|
|
3942
|
+
@inner_class_types = { filters: Filters, manual_entry: ManualEntry }
|
|
2446
3943
|
end
|
|
2447
3944
|
|
|
2448
3945
|
def self.field_remappings
|
|
@@ -2574,8 +4071,12 @@ module Stripe
|
|
|
2574
4071
|
attr_reader :fpx
|
|
2575
4072
|
# Attribute for field giropay
|
|
2576
4073
|
attr_reader :giropay
|
|
4074
|
+
# Attribute for field gopay
|
|
4075
|
+
attr_reader :gopay
|
|
2577
4076
|
# Attribute for field grabpay
|
|
2578
4077
|
attr_reader :grabpay
|
|
4078
|
+
# Attribute for field id_bank_transfer
|
|
4079
|
+
attr_reader :id_bank_transfer
|
|
2579
4080
|
# Attribute for field ideal
|
|
2580
4081
|
attr_reader :ideal
|
|
2581
4082
|
# Attribute for field interac_present
|
|
@@ -2612,12 +4113,18 @@ module Stripe
|
|
|
2612
4113
|
attr_reader :paynow
|
|
2613
4114
|
# Attribute for field paypal
|
|
2614
4115
|
attr_reader :paypal
|
|
4116
|
+
# Attribute for field paypay
|
|
4117
|
+
attr_reader :paypay
|
|
2615
4118
|
# Attribute for field payto
|
|
2616
4119
|
attr_reader :payto
|
|
2617
4120
|
# Attribute for field pix
|
|
2618
4121
|
attr_reader :pix
|
|
2619
4122
|
# Attribute for field promptpay
|
|
2620
4123
|
attr_reader :promptpay
|
|
4124
|
+
# Attribute for field qris
|
|
4125
|
+
attr_reader :qris
|
|
4126
|
+
# Attribute for field rechnung
|
|
4127
|
+
attr_reader :rechnung
|
|
2621
4128
|
# Attribute for field revolut_pay
|
|
2622
4129
|
attr_reader :revolut_pay
|
|
2623
4130
|
# Attribute for field samsung_pay
|
|
@@ -2626,8 +4133,12 @@ module Stripe
|
|
|
2626
4133
|
attr_reader :satispay
|
|
2627
4134
|
# Attribute for field sepa_debit
|
|
2628
4135
|
attr_reader :sepa_debit
|
|
4136
|
+
# Attribute for field shopeepay
|
|
4137
|
+
attr_reader :shopeepay
|
|
2629
4138
|
# Attribute for field sofort
|
|
2630
4139
|
attr_reader :sofort
|
|
4140
|
+
# Attribute for field stripe_balance
|
|
4141
|
+
attr_reader :stripe_balance
|
|
2631
4142
|
# Attribute for field swish
|
|
2632
4143
|
attr_reader :swish
|
|
2633
4144
|
# Attribute for field twint
|
|
@@ -2661,7 +4172,9 @@ module Stripe
|
|
|
2661
4172
|
eps: Eps,
|
|
2662
4173
|
fpx: Fpx,
|
|
2663
4174
|
giropay: Giropay,
|
|
4175
|
+
gopay: Gopay,
|
|
2664
4176
|
grabpay: Grabpay,
|
|
4177
|
+
id_bank_transfer: IdBankTransfer,
|
|
2665
4178
|
ideal: Ideal,
|
|
2666
4179
|
interac_present: InteracPresent,
|
|
2667
4180
|
kakao_pay: KakaoPay,
|
|
@@ -2680,14 +4193,19 @@ module Stripe
|
|
|
2680
4193
|
payco: Payco,
|
|
2681
4194
|
paynow: Paynow,
|
|
2682
4195
|
paypal: Paypal,
|
|
4196
|
+
paypay: Paypay,
|
|
2683
4197
|
payto: Payto,
|
|
2684
4198
|
pix: Pix,
|
|
2685
4199
|
promptpay: Promptpay,
|
|
4200
|
+
qris: Qris,
|
|
4201
|
+
rechnung: Rechnung,
|
|
2686
4202
|
revolut_pay: RevolutPay,
|
|
2687
4203
|
samsung_pay: SamsungPay,
|
|
2688
4204
|
satispay: Satispay,
|
|
2689
4205
|
sepa_debit: SepaDebit,
|
|
4206
|
+
shopeepay: Shopeepay,
|
|
2690
4207
|
sofort: Sofort,
|
|
4208
|
+
stripe_balance: StripeBalance,
|
|
2691
4209
|
swish: Swish,
|
|
2692
4210
|
twint: Twint,
|
|
2693
4211
|
us_bank_account: UsBankAccount,
|
|
@@ -2701,6 +4219,19 @@ module Stripe
|
|
|
2701
4219
|
end
|
|
2702
4220
|
end
|
|
2703
4221
|
|
|
4222
|
+
class PaymentsOrchestration < ::Stripe::StripeObject
|
|
4223
|
+
# Whether this feature is enabled.
|
|
4224
|
+
attr_reader :enabled
|
|
4225
|
+
|
|
4226
|
+
def self.inner_class_types
|
|
4227
|
+
@inner_class_types = {}
|
|
4228
|
+
end
|
|
4229
|
+
|
|
4230
|
+
def self.field_remappings
|
|
4231
|
+
@field_remappings = {}
|
|
4232
|
+
end
|
|
4233
|
+
end
|
|
4234
|
+
|
|
2704
4235
|
class PresentmentDetails < ::Stripe::StripeObject
|
|
2705
4236
|
# Amount intended to be collected by this payment, denominated in `presentment_currency`.
|
|
2706
4237
|
attr_reader :presentment_amount
|
|
@@ -2816,6 +4347,8 @@ module Stripe
|
|
|
2816
4347
|
@field_remappings = {}
|
|
2817
4348
|
end
|
|
2818
4349
|
end
|
|
4350
|
+
# Allocated Funds configuration for this PaymentIntent.
|
|
4351
|
+
attr_reader :allocated_funds
|
|
2819
4352
|
# Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
|
2820
4353
|
attr_reader :amount
|
|
2821
4354
|
# Amount that can be captured from this PaymentIntent.
|
|
@@ -2828,6 +4361,8 @@ module Stripe
|
|
|
2828
4361
|
attr_reader :application
|
|
2829
4362
|
# The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
2830
4363
|
attr_reader :application_fee_amount
|
|
4364
|
+
# Attribute for field async_workflows
|
|
4365
|
+
attr_reader :async_workflows
|
|
2831
4366
|
# Settings to configure compatible payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods)
|
|
2832
4367
|
attr_reader :automatic_payment_methods
|
|
2833
4368
|
# Populated when `status` is `canceled`, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch.
|
|
@@ -2864,6 +4399,8 @@ module Stripe
|
|
|
2864
4399
|
attr_reader :description
|
|
2865
4400
|
# The list of payment method types to exclude from use with this payment.
|
|
2866
4401
|
attr_reader :excluded_payment_method_types
|
|
4402
|
+
# The FX Quote used for the PaymentIntent.
|
|
4403
|
+
attr_reader :fx_quote
|
|
2867
4404
|
# Attribute for field hooks
|
|
2868
4405
|
attr_reader :hooks
|
|
2869
4406
|
# Unique identifier for the object.
|
|
@@ -2893,6 +4430,8 @@ module Stripe
|
|
|
2893
4430
|
attr_reader :payment_method_options
|
|
2894
4431
|
# The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. A comprehensive list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
|
|
2895
4432
|
attr_reader :payment_method_types
|
|
4433
|
+
# When you enable this parameter, this PaymentIntent will route your payment to processors that you configure in the dashboard.
|
|
4434
|
+
attr_reader :payments_orchestration
|
|
2896
4435
|
# Attribute for field presentment_details
|
|
2897
4436
|
attr_reader :presentment_details
|
|
2898
4437
|
# If present, this property tells you about the processing state of the payment.
|
|
@@ -2901,6 +4440,8 @@ module Stripe
|
|
|
2901
4440
|
attr_reader :receipt_email
|
|
2902
4441
|
# ID of the review associated with this PaymentIntent, if any.
|
|
2903
4442
|
attr_reader :review
|
|
4443
|
+
# Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
|
|
4444
|
+
attr_reader :secret_key_confirmation
|
|
2904
4445
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2905
4446
|
#
|
|
2906
4447
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -2909,6 +4450,8 @@ module Stripe
|
|
|
2909
4450
|
#
|
|
2910
4451
|
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
2911
4452
|
attr_reader :setup_future_usage
|
|
4453
|
+
# ID of the shared payment token granted to be used in this PaymentIntent
|
|
4454
|
+
attr_reader :shared_payment_granted_token
|
|
2912
4455
|
# Shipping information for this PaymentIntent.
|
|
2913
4456
|
attr_reader :shipping
|
|
2914
4457
|
# This is a legacy field that will be removed in the future. It is the ID of the Source object that is associated with this PaymentIntent, if one was supplied.
|
|
@@ -3094,6 +4637,56 @@ module Stripe
|
|
|
3094
4637
|
request_stripe_object(method: :post, path: "/v1/payment_intents", params: params, opts: opts)
|
|
3095
4638
|
end
|
|
3096
4639
|
|
|
4640
|
+
# Perform a decremental authorization on an eligible
|
|
4641
|
+
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
4642
|
+
# PaymentIntent's status must be requires_capture and
|
|
4643
|
+
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
|
4644
|
+
# must be available.
|
|
4645
|
+
#
|
|
4646
|
+
# Decremental authorizations decrease the authorized amount on your customer's card
|
|
4647
|
+
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
|
4648
|
+
#
|
|
4649
|
+
# After decrement, the PaymentIntent object
|
|
4650
|
+
# returns with the updated
|
|
4651
|
+
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
|
4652
|
+
# The PaymentIntent will now be capturable up to the new authorized amount.
|
|
4653
|
+
#
|
|
4654
|
+
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
|
4655
|
+
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
|
4656
|
+
def decrement_authorization(params = {}, opts = {})
|
|
4657
|
+
request_stripe_object(
|
|
4658
|
+
method: :post,
|
|
4659
|
+
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(self["id"]) }),
|
|
4660
|
+
params: params,
|
|
4661
|
+
opts: opts
|
|
4662
|
+
)
|
|
4663
|
+
end
|
|
4664
|
+
|
|
4665
|
+
# Perform a decremental authorization on an eligible
|
|
4666
|
+
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
4667
|
+
# PaymentIntent's status must be requires_capture and
|
|
4668
|
+
# [decremental_authorization.status](https://docs.stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization)
|
|
4669
|
+
# must be available.
|
|
4670
|
+
#
|
|
4671
|
+
# Decremental authorizations decrease the authorized amount on your customer's card
|
|
4672
|
+
# to the new, lower amount provided. A single PaymentIntent can call this endpoint multiple times to further decrease the authorized amount.
|
|
4673
|
+
#
|
|
4674
|
+
# After decrement, the PaymentIntent object
|
|
4675
|
+
# returns with the updated
|
|
4676
|
+
# [amount](https://docs.stripe.com/docs/api/payment_intents/object#payment_intent_object-amount).
|
|
4677
|
+
# The PaymentIntent will now be capturable up to the new authorized amount.
|
|
4678
|
+
#
|
|
4679
|
+
# Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines.
|
|
4680
|
+
# After it's fully captured, a PaymentIntent can no longer be decremented.
|
|
4681
|
+
def self.decrement_authorization(intent, params = {}, opts = {})
|
|
4682
|
+
request_stripe_object(
|
|
4683
|
+
method: :post,
|
|
4684
|
+
path: format("/v1/payment_intents/%<intent>s/decrement_authorization", { intent: CGI.escape(intent) }),
|
|
4685
|
+
params: params,
|
|
4686
|
+
opts: opts
|
|
4687
|
+
)
|
|
4688
|
+
end
|
|
4689
|
+
|
|
3097
4690
|
# Perform an incremental authorization on an eligible
|
|
3098
4691
|
# [PaymentIntent](https://docs.stripe.com/docs/api/payment_intents/object). To be eligible, the
|
|
3099
4692
|
# PaymentIntent's status must be requires_capture and
|
|
@@ -3178,6 +4771,26 @@ module Stripe
|
|
|
3178
4771
|
search(params, opts).auto_paging_each(&blk)
|
|
3179
4772
|
end
|
|
3180
4773
|
|
|
4774
|
+
# Trigger an external action on a PaymentIntent.
|
|
4775
|
+
def trigger_action(params = {}, opts = {})
|
|
4776
|
+
request_stripe_object(
|
|
4777
|
+
method: :post,
|
|
4778
|
+
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(self["id"]) }),
|
|
4779
|
+
params: params,
|
|
4780
|
+
opts: opts
|
|
4781
|
+
)
|
|
4782
|
+
end
|
|
4783
|
+
|
|
4784
|
+
# Trigger an external action on a PaymentIntent.
|
|
4785
|
+
def self.trigger_action(intent, params = {}, opts = {})
|
|
4786
|
+
request_stripe_object(
|
|
4787
|
+
method: :post,
|
|
4788
|
+
path: format("/v1/test/payment_intents/%<intent>s/trigger_action", { intent: CGI.escape(intent) }),
|
|
4789
|
+
params: params,
|
|
4790
|
+
opts: opts
|
|
4791
|
+
)
|
|
4792
|
+
end
|
|
4793
|
+
|
|
3181
4794
|
# Updates properties on a PaymentIntent object without confirming.
|
|
3182
4795
|
#
|
|
3183
4796
|
# Depending on which properties you update, you might need to confirm the
|
|
@@ -3216,7 +4829,9 @@ module Stripe
|
|
|
3216
4829
|
|
|
3217
4830
|
def self.inner_class_types
|
|
3218
4831
|
@inner_class_types = {
|
|
4832
|
+
allocated_funds: AllocatedFunds,
|
|
3219
4833
|
amount_details: AmountDetails,
|
|
4834
|
+
async_workflows: AsyncWorkflows,
|
|
3220
4835
|
automatic_payment_methods: AutomaticPaymentMethods,
|
|
3221
4836
|
hooks: Hooks,
|
|
3222
4837
|
last_payment_error: LastPaymentError,
|
|
@@ -3224,6 +4839,7 @@ module Stripe
|
|
|
3224
4839
|
payment_details: PaymentDetails,
|
|
3225
4840
|
payment_method_configuration_details: PaymentMethodConfigurationDetails,
|
|
3226
4841
|
payment_method_options: PaymentMethodOptions,
|
|
4842
|
+
payments_orchestration: PaymentsOrchestration,
|
|
3227
4843
|
presentment_details: PresentmentDetails,
|
|
3228
4844
|
processing: Processing,
|
|
3229
4845
|
shipping: Shipping,
|