stripe 17.1.0.pre.beta.2 → 17.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_requestor.rb +0 -34
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/errors.rb +0 -63
- data/lib/stripe/event_types.rb +0 -236
- data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +5 -5
- data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +5 -5
- data/lib/stripe/object_types.rb +0 -55
- data/lib/stripe/params/account_capability_list_params.rb +1 -1
- data/lib/stripe/params/account_capability_retrieve_params.rb +1 -1
- data/lib/stripe/params/account_capability_update_params.rb +1 -1
- data/lib/stripe/params/account_create_params.rb +137 -417
- data/lib/stripe/params/account_delete_params.rb +1 -1
- data/lib/stripe/params/account_external_account_create_params.rb +4 -4
- data/lib/stripe/params/account_external_account_delete_params.rb +1 -1
- data/lib/stripe/params/account_external_account_list_params.rb +1 -1
- data/lib/stripe/params/account_external_account_retrieve_params.rb +1 -1
- data/lib/stripe/params/account_external_account_update_params.rb +3 -3
- data/lib/stripe/params/account_link_create_params.rb +2 -2
- data/lib/stripe/params/account_list_params.rb +2 -2
- data/lib/stripe/params/account_login_link_create_params.rb +1 -1
- data/lib/stripe/params/account_person_create_params.rb +19 -19
- data/lib/stripe/params/account_person_delete_params.rb +1 -1
- data/lib/stripe/params/account_person_list_params.rb +2 -2
- data/lib/stripe/params/account_person_retrieve_params.rb +1 -1
- data/lib/stripe/params/account_person_update_params.rb +19 -19
- data/lib/stripe/params/account_persons_params.rb +2 -2
- data/lib/stripe/params/account_reject_params.rb +1 -1
- data/lib/stripe/params/account_retrieve_current_params.rb +1 -1
- data/lib/stripe/params/account_retrieve_params.rb +1 -1
- data/lib/stripe/params/account_session_create_params.rb +41 -266
- data/lib/stripe/params/account_update_params.rb +132 -375
- data/lib/stripe/params/apple_pay_domain_create_params.rb +1 -1
- data/lib/stripe/params/apple_pay_domain_delete_params.rb +1 -1
- data/lib/stripe/params/apple_pay_domain_list_params.rb +1 -1
- data/lib/stripe/params/apple_pay_domain_retrieve_params.rb +1 -1
- data/lib/stripe/params/application_fee_list_params.rb +2 -2
- data/lib/stripe/params/application_fee_refund_create_params.rb +1 -1
- data/lib/stripe/params/application_fee_refund_list_params.rb +1 -1
- data/lib/stripe/params/application_fee_refund_retrieve_params.rb +1 -1
- data/lib/stripe/params/application_fee_refund_update_params.rb +1 -1
- data/lib/stripe/params/application_fee_retrieve_params.rb +1 -1
- data/lib/stripe/params/apps/secret_create_params.rb +2 -2
- data/lib/stripe/params/apps/secret_delete_where_params.rb +2 -2
- data/lib/stripe/params/apps/secret_find_params.rb +2 -2
- data/lib/stripe/params/apps/secret_list_params.rb +2 -2
- data/lib/stripe/params/balance_retrieve_params.rb +1 -1
- data/lib/stripe/params/balance_settings_retrieve_params.rb +1 -1
- data/lib/stripe/params/balance_settings_update_params.rb +5 -5
- data/lib/stripe/params/balance_transaction_list_params.rb +2 -2
- data/lib/stripe/params/balance_transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/alert_activate_params.rb +1 -1
- data/lib/stripe/params/billing/alert_archive_params.rb +1 -1
- data/lib/stripe/params/billing/alert_create_params.rb +3 -3
- data/lib/stripe/params/billing/alert_deactivate_params.rb +1 -1
- data/lib/stripe/params/billing/alert_list_params.rb +1 -1
- data/lib/stripe/params/billing/alert_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +5 -8
- data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +1 -5
- data/lib/stripe/params/billing/credit_balance_transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/credit_grant_create_params.rb +7 -11
- data/lib/stripe/params/billing/credit_grant_expire_params.rb +1 -1
- data/lib/stripe/params/billing/credit_grant_list_params.rb +1 -5
- data/lib/stripe/params/billing/credit_grant_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/credit_grant_update_params.rb +1 -1
- data/lib/stripe/params/billing/credit_grant_void_grant_params.rb +1 -1
- data/lib/stripe/params/billing/meter_create_params.rb +4 -4
- data/lib/stripe/params/billing/meter_deactivate_params.rb +1 -1
- data/lib/stripe/params/billing/meter_event_adjustment_create_params.rb +2 -2
- data/lib/stripe/params/billing/meter_event_create_params.rb +1 -1
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +1 -1
- data/lib/stripe/params/billing/meter_list_params.rb +1 -1
- data/lib/stripe/params/billing/meter_reactivate_params.rb +1 -1
- data/lib/stripe/params/billing/meter_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/meter_update_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_create_params.rb +18 -15
- data/lib/stripe/params/billing_portal/configuration_list_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_update_params.rb +18 -15
- data/lib/stripe/params/billing_portal/session_create_params.rb +12 -16
- data/lib/stripe/params/charge_capture_params.rb +2 -711
- data/lib/stripe/params/charge_create_params.rb +6 -6
- data/lib/stripe/params/charge_list_params.rb +2 -2
- data/lib/stripe/params/charge_retrieve_params.rb +1 -1
- data/lib/stripe/params/charge_search_params.rb +1 -1
- data/lib/stripe/params/charge_update_params.rb +4 -713
- data/lib/stripe/params/checkout/session_create_params.rb +146 -317
- data/lib/stripe/params/checkout/session_expire_params.rb +1 -1
- data/lib/stripe/params/checkout/session_line_item_list_params.rb +1 -1
- data/lib/stripe/params/checkout/session_list_line_items_params.rb +1 -1
- data/lib/stripe/params/checkout/session_list_params.rb +3 -7
- data/lib/stripe/params/checkout/session_retrieve_params.rb +1 -1
- data/lib/stripe/params/checkout/session_update_params.rb +12 -299
- data/lib/stripe/params/climate/order_cancel_params.rb +1 -1
- data/lib/stripe/params/climate/order_create_params.rb +2 -2
- data/lib/stripe/params/climate/order_list_params.rb +1 -1
- data/lib/stripe/params/climate/order_retrieve_params.rb +1 -1
- data/lib/stripe/params/climate/order_update_params.rb +2 -2
- data/lib/stripe/params/climate/product_list_params.rb +1 -1
- data/lib/stripe/params/climate/product_retrieve_params.rb +1 -1
- data/lib/stripe/params/climate/supplier_list_params.rb +1 -1
- data/lib/stripe/params/climate/supplier_retrieve_params.rb +1 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +61 -158
- data/lib/stripe/params/confirmation_token_retrieve_params.rb +1 -1
- data/lib/stripe/params/country_spec_list_params.rb +1 -1
- data/lib/stripe/params/country_spec_retrieve_params.rb +1 -1
- data/lib/stripe/params/coupon_create_params.rb +4 -20
- data/lib/stripe/params/coupon_delete_params.rb +1 -1
- data/lib/stripe/params/coupon_list_params.rb +2 -2
- data/lib/stripe/params/coupon_retrieve_params.rb +1 -1
- data/lib/stripe/params/coupon_update_params.rb +2 -2
- data/lib/stripe/params/credit_note_create_params.rb +23 -6
- data/lib/stripe/params/credit_note_line_item_list_params.rb +1 -1
- data/lib/stripe/params/credit_note_list_params.rb +2 -6
- data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +23 -6
- data/lib/stripe/params/credit_note_preview_lines_list_params.rb +23 -6
- data/lib/stripe/params/credit_note_preview_params.rb +23 -6
- data/lib/stripe/params/credit_note_retrieve_params.rb +1 -1
- data/lib/stripe/params/credit_note_update_params.rb +1 -1
- data/lib/stripe/params/credit_note_void_credit_note_params.rb +1 -1
- data/lib/stripe/params/customer_balance_transaction_create_params.rb +1 -1
- data/lib/stripe/params/customer_balance_transaction_list_params.rb +1 -1
- data/lib/stripe/params/customer_balance_transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_balance_transaction_update_params.rb +1 -1
- data/lib/stripe/params/customer_cash_balance_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_cash_balance_transaction_list_params.rb +1 -1
- data/lib/stripe/params/customer_cash_balance_transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_cash_balance_update_params.rb +2 -2
- data/lib/stripe/params/customer_create_funding_instructions_params.rb +3 -3
- data/lib/stripe/params/customer_create_params.rb +11 -11
- data/lib/stripe/params/customer_delete_discount_params.rb +1 -1
- data/lib/stripe/params/customer_delete_params.rb +1 -1
- data/lib/stripe/params/customer_fund_cash_balance_params.rb +1 -1
- data/lib/stripe/params/customer_funding_instructions_create_params.rb +3 -3
- data/lib/stripe/params/customer_list_params.rb +2 -2
- data/lib/stripe/params/customer_list_payment_methods_params.rb +1 -1
- data/lib/stripe/params/customer_payment_method_list_params.rb +1 -1
- data/lib/stripe/params/customer_payment_method_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_payment_source_create_params.rb +1 -1
- data/lib/stripe/params/customer_payment_source_delete_params.rb +1 -1
- data/lib/stripe/params/customer_payment_source_list_params.rb +1 -1
- data/lib/stripe/params/customer_payment_source_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_payment_source_update_params.rb +3 -3
- data/lib/stripe/params/customer_payment_source_verify_params.rb +1 -1
- data/lib/stripe/params/customer_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_retrieve_payment_method_params.rb +1 -1
- data/lib/stripe/params/customer_search_params.rb +1 -1
- data/lib/stripe/params/customer_session_create_params.rb +93 -11
- data/lib/stripe/params/customer_tax_id_create_params.rb +1 -1
- data/lib/stripe/params/customer_tax_id_delete_params.rb +1 -1
- data/lib/stripe/params/customer_tax_id_list_params.rb +1 -1
- data/lib/stripe/params/customer_tax_id_retrieve_params.rb +1 -1
- data/lib/stripe/params/customer_update_params.rb +10 -10
- data/lib/stripe/params/dispute_close_params.rb +1 -1
- data/lib/stripe/params/dispute_list_params.rb +2 -2
- data/lib/stripe/params/dispute_retrieve_params.rb +1 -1
- data/lib/stripe/params/dispute_update_params.rb +10 -19
- data/lib/stripe/params/entitlements/active_entitlement_list_params.rb +1 -1
- data/lib/stripe/params/entitlements/active_entitlement_retrieve_params.rb +1 -1
- data/lib/stripe/params/entitlements/feature_create_params.rb +1 -1
- data/lib/stripe/params/entitlements/feature_list_params.rb +1 -1
- data/lib/stripe/params/entitlements/feature_retrieve_params.rb +1 -1
- data/lib/stripe/params/entitlements/feature_update_params.rb +1 -1
- data/lib/stripe/params/ephemeral_key_create_params.rb +1 -1
- data/lib/stripe/params/ephemeral_key_delete_params.rb +1 -1
- data/lib/stripe/params/event_list_params.rb +2 -2
- data/lib/stripe/params/event_retrieve_params.rb +1 -1
- data/lib/stripe/params/exchange_rate_list_params.rb +1 -1
- data/lib/stripe/params/exchange_rate_retrieve_params.rb +1 -1
- data/lib/stripe/params/file_create_params.rb +2 -2
- data/lib/stripe/params/file_link_create_params.rb +1 -1
- data/lib/stripe/params/file_link_list_params.rb +2 -2
- data/lib/stripe/params/file_link_retrieve_params.rb +1 -1
- data/lib/stripe/params/file_link_update_params.rb +1 -1
- data/lib/stripe/params/file_list_params.rb +2 -2
- data/lib/stripe/params/file_retrieve_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_disconnect_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_list_owners_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_list_params.rb +3 -6
- data/lib/stripe/params/financial_connections/account_owner_list_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_refresh_account_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_refresh_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_retrieve_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_subscribe_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_unsubscribe_params.rb +1 -1
- data/lib/stripe/params/financial_connections/session_create_params.rb +5 -37
- data/lib/stripe/params/financial_connections/session_retrieve_params.rb +1 -1
- data/lib/stripe/params/financial_connections/transaction_list_params.rb +3 -3
- data/lib/stripe/params/financial_connections/transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/forwarding/request_create_params.rb +3 -3
- data/lib/stripe/params/forwarding/request_list_params.rb +2 -2
- data/lib/stripe/params/forwarding/request_retrieve_params.rb +1 -1
- data/lib/stripe/params/identity/verification_report_list_params.rb +2 -2
- data/lib/stripe/params/identity/verification_report_retrieve_params.rb +1 -1
- data/lib/stripe/params/identity/verification_session_cancel_params.rb +1 -1
- data/lib/stripe/params/identity/verification_session_create_params.rb +5 -9
- data/lib/stripe/params/identity/verification_session_list_params.rb +2 -6
- data/lib/stripe/params/identity/verification_session_redact_params.rb +1 -1
- data/lib/stripe/params/identity/verification_session_retrieve_params.rb +1 -1
- data/lib/stripe/params/identity/verification_session_update_params.rb +4 -4
- data/lib/stripe/params/invoice_add_lines_params.rb +10 -42
- data/lib/stripe/params/invoice_attach_payment_params.rb +2 -44
- data/lib/stripe/params/invoice_create_params.rb +37 -147
- data/lib/stripe/params/invoice_create_preview_params.rb +55 -872
- data/lib/stripe/params/invoice_delete_params.rb +1 -1
- data/lib/stripe/params/invoice_finalize_invoice_params.rb +1 -1
- data/lib/stripe/params/invoice_item_create_params.rb +6 -42
- data/lib/stripe/params/invoice_item_delete_params.rb +1 -1
- data/lib/stripe/params/invoice_item_list_params.rb +2 -6
- data/lib/stripe/params/invoice_item_retrieve_params.rb +1 -1
- data/lib/stripe/params/invoice_item_update_params.rb +6 -38
- data/lib/stripe/params/invoice_line_item_list_params.rb +1 -1
- data/lib/stripe/params/invoice_line_item_update_params.rb +9 -41
- data/lib/stripe/params/invoice_list_params.rb +3 -7
- data/lib/stripe/params/invoice_mark_uncollectible_params.rb +1 -1
- data/lib/stripe/params/invoice_pay_params.rb +1 -1
- data/lib/stripe/params/invoice_payment_list_params.rb +2 -2
- data/lib/stripe/params/invoice_payment_retrieve_params.rb +1 -1
- data/lib/stripe/params/invoice_remove_lines_params.rb +2 -2
- data/lib/stripe/params/invoice_rendering_template_archive_params.rb +1 -1
- data/lib/stripe/params/invoice_rendering_template_list_params.rb +1 -1
- data/lib/stripe/params/invoice_rendering_template_retrieve_params.rb +1 -1
- data/lib/stripe/params/invoice_rendering_template_unarchive_params.rb +1 -1
- data/lib/stripe/params/invoice_retrieve_params.rb +1 -1
- data/lib/stripe/params/invoice_search_params.rb +1 -1
- data/lib/stripe/params/invoice_send_invoice_params.rb +1 -1
- data/lib/stripe/params/invoice_update_lines_params.rb +10 -42
- data/lib/stripe/params/invoice_update_params.rb +36 -142
- data/lib/stripe/params/invoice_void_invoice_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_approve_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_capture_params.rb +13 -13
- data/lib/stripe/params/issuing/authorization_create_params.rb +17 -17
- data/lib/stripe/params/issuing/authorization_decline_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_expire_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +8 -8
- data/lib/stripe/params/issuing/authorization_increment_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_list_params.rb +2 -2
- data/lib/stripe/params/issuing/authorization_respond_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_reverse_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_update_params.rb +1 -1
- data/lib/stripe/params/issuing/card_create_params.rb +8 -8
- data/lib/stripe/params/issuing/card_deliver_card_params.rb +1 -1
- data/lib/stripe/params/issuing/card_fail_card_params.rb +1 -1
- data/lib/stripe/params/issuing/card_list_params.rb +2 -2
- data/lib/stripe/params/issuing/card_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/card_return_card_params.rb +1 -1
- data/lib/stripe/params/issuing/card_ship_card_params.rb +1 -1
- data/lib/stripe/params/issuing/card_submit_card_params.rb +1 -1
- data/lib/stripe/params/issuing/card_update_params.rb +8 -8
- data/lib/stripe/params/issuing/cardholder_create_params.rb +13 -14
- data/lib/stripe/params/issuing/cardholder_list_params.rb +2 -2
- data/lib/stripe/params/issuing/cardholder_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/cardholder_update_params.rb +12 -12
- data/lib/stripe/params/issuing/dispute_create_params.rb +11 -11
- data/lib/stripe/params/issuing/dispute_list_params.rb +2 -2
- data/lib/stripe/params/issuing/dispute_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/dispute_submit_params.rb +1 -1
- data/lib/stripe/params/issuing/dispute_update_params.rb +10 -10
- data/lib/stripe/params/issuing/personalization_design_activate_params.rb +1 -1
- data/lib/stripe/params/issuing/personalization_design_create_params.rb +3 -3
- data/lib/stripe/params/issuing/personalization_design_deactivate_params.rb +1 -1
- data/lib/stripe/params/issuing/personalization_design_list_params.rb +2 -2
- data/lib/stripe/params/issuing/personalization_design_reject_params.rb +2 -2
- data/lib/stripe/params/issuing/personalization_design_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/personalization_design_update_params.rb +3 -3
- data/lib/stripe/params/issuing/physical_bundle_list_params.rb +1 -1
- data/lib/stripe/params/issuing/physical_bundle_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/token_list_params.rb +2 -2
- data/lib/stripe/params/issuing/token_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/token_update_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +14 -14
- data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +14 -14
- data/lib/stripe/params/issuing/transaction_list_params.rb +2 -6
- data/lib/stripe/params/issuing/transaction_refund_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_update_params.rb +1 -1
- data/lib/stripe/params/mandate_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_attempt_record_list_params.rb +5 -2
- data/lib/stripe/params/payment_attempt_record_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb +1 -1
- data/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +1 -1
- data/lib/stripe/params/payment_intent_cancel_params.rb +1 -1
- data/lib/stripe/params/payment_intent_capture_params.rb +52 -750
- data/lib/stripe/params/payment_intent_confirm_params.rb +186 -1355
- data/lib/stripe/params/payment_intent_create_params.rb +188 -1365
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +51 -77
- data/lib/stripe/params/payment_intent_list_params.rb +2 -6
- data/lib/stripe/params/payment_intent_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_intent_search_params.rb +1 -1
- data/lib/stripe/params/payment_intent_update_params.rb +183 -1391
- data/lib/stripe/params/payment_intent_verify_microdeposits_params.rb +1 -1
- data/lib/stripe/params/payment_link_create_params.rb +83 -44
- data/lib/stripe/params/payment_link_line_item_list_params.rb +1 -1
- data/lib/stripe/params/payment_link_list_line_items_params.rb +1 -1
- data/lib/stripe/params/payment_link_list_params.rb +1 -1
- data/lib/stripe/params/payment_link_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_link_update_params.rb +74 -35
- data/lib/stripe/params/payment_method_attach_params.rb +2 -5
- data/lib/stripe/params/payment_method_configuration_create_params.rb +119 -203
- data/lib/stripe/params/payment_method_configuration_list_params.rb +1 -1
- data/lib/stripe/params/payment_method_configuration_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_method_configuration_update_params.rb +119 -203
- data/lib/stripe/params/payment_method_create_params.rb +70 -153
- data/lib/stripe/params/payment_method_detach_params.rb +1 -1
- data/lib/stripe/params/payment_method_domain_create_params.rb +1 -1
- data/lib/stripe/params/payment_method_domain_list_params.rb +1 -1
- data/lib/stripe/params/payment_method_domain_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_method_domain_update_params.rb +1 -1
- data/lib/stripe/params/payment_method_domain_validate_params.rb +1 -1
- data/lib/stripe/params/payment_method_list_params.rb +2 -2
- data/lib/stripe/params/payment_method_retrieve_params.rb +1 -1
- data/lib/stripe/params/payment_method_update_params.rb +6 -25
- data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +1 -1
- data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +1 -1
- data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +1 -1
- data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +4 -4
- data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +9 -9
- data/lib/stripe/params/payment_record_report_payment_params.rb +13 -13
- data/lib/stripe/params/payment_record_report_refund_params.rb +79 -0
- data/lib/stripe/params/payment_record_retrieve_params.rb +1 -1
- data/lib/stripe/params/payout_cancel_params.rb +1 -1
- data/lib/stripe/params/payout_create_params.rb +1 -1
- data/lib/stripe/params/payout_list_params.rb +3 -3
- data/lib/stripe/params/payout_retrieve_params.rb +1 -1
- data/lib/stripe/params/payout_reverse_params.rb +1 -1
- data/lib/stripe/params/payout_update_params.rb +1 -1
- data/lib/stripe/params/plan_create_params.rb +4 -4
- data/lib/stripe/params/plan_delete_params.rb +1 -1
- data/lib/stripe/params/plan_list_params.rb +2 -2
- data/lib/stripe/params/plan_retrieve_params.rb +1 -1
- data/lib/stripe/params/plan_update_params.rb +1 -1
- data/lib/stripe/params/price_create_params.rb +9 -9
- data/lib/stripe/params/price_list_params.rb +3 -3
- data/lib/stripe/params/price_retrieve_params.rb +1 -1
- data/lib/stripe/params/price_search_params.rb +1 -1
- data/lib/stripe/params/price_update_params.rb +4 -23
- data/lib/stripe/params/product_create_params.rb +9 -9
- data/lib/stripe/params/product_delete_params.rb +1 -1
- data/lib/stripe/params/product_feature_create_params.rb +1 -1
- data/lib/stripe/params/product_feature_delete_params.rb +1 -1
- data/lib/stripe/params/product_feature_list_params.rb +1 -1
- data/lib/stripe/params/product_feature_retrieve_params.rb +1 -1
- data/lib/stripe/params/product_list_params.rb +2 -2
- data/lib/stripe/params/product_retrieve_params.rb +1 -1
- data/lib/stripe/params/product_search_params.rb +1 -1
- data/lib/stripe/params/product_update_params.rb +3 -3
- data/lib/stripe/params/promotion_code_create_params.rb +4 -8
- data/lib/stripe/params/promotion_code_list_params.rb +2 -6
- data/lib/stripe/params/promotion_code_retrieve_params.rb +1 -1
- data/lib/stripe/params/promotion_code_update_params.rb +3 -3
- data/lib/stripe/params/quote_accept_params.rb +1 -1
- data/lib/stripe/params/quote_cancel_params.rb +1 -1
- data/lib/stripe/params/quote_computed_upfront_line_items_list_params.rb +1 -1
- data/lib/stripe/params/quote_create_params.rb +18 -820
- data/lib/stripe/params/quote_finalize_quote_params.rb +1 -1
- data/lib/stripe/params/quote_line_item_list_params.rb +1 -1
- data/lib/stripe/params/quote_list_computed_upfront_line_items_params.rb +1 -1
- data/lib/stripe/params/quote_list_line_items_params.rb +1 -1
- data/lib/stripe/params/quote_list_params.rb +1 -9
- data/lib/stripe/params/quote_pdf_params.rb +1 -1
- data/lib/stripe/params/quote_retrieve_params.rb +1 -1
- data/lib/stripe/params/quote_update_params.rb +16 -825
- data/lib/stripe/params/radar/early_fraud_warning_list_params.rb +2 -2
- data/lib/stripe/params/radar/early_fraud_warning_retrieve_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_create_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_delete_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_item_create_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_item_delete_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_item_list_params.rb +2 -2
- data/lib/stripe/params/radar/value_list_item_retrieve_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_list_params.rb +2 -2
- data/lib/stripe/params/radar/value_list_retrieve_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_update_params.rb +1 -1
- data/lib/stripe/params/refund_cancel_params.rb +1 -1
- data/lib/stripe/params/refund_create_params.rb +1 -1
- data/lib/stripe/params/refund_expire_params.rb +1 -1
- data/lib/stripe/params/refund_list_params.rb +2 -2
- data/lib/stripe/params/refund_retrieve_params.rb +1 -1
- data/lib/stripe/params/refund_update_params.rb +1 -1
- data/lib/stripe/params/reporting/report_run_create_params.rb +2 -2
- data/lib/stripe/params/reporting/report_run_list_params.rb +2 -2
- data/lib/stripe/params/reporting/report_run_retrieve_params.rb +1 -1
- data/lib/stripe/params/reporting/report_type_list_params.rb +1 -1
- data/lib/stripe/params/reporting/report_type_retrieve_params.rb +1 -1
- data/lib/stripe/params/review_approve_params.rb +1 -1
- data/lib/stripe/params/review_list_params.rb +2 -2
- data/lib/stripe/params/review_retrieve_params.rb +1 -1
- data/lib/stripe/params/setup_attempt_list_params.rb +2 -2
- data/lib/stripe/params/setup_intent_cancel_params.rb +1 -1
- data/lib/stripe/params/setup_intent_confirm_params.rb +87 -309
- data/lib/stripe/params/setup_intent_create_params.rb +93 -317
- data/lib/stripe/params/setup_intent_list_params.rb +2 -6
- data/lib/stripe/params/setup_intent_retrieve_params.rb +1 -1
- data/lib/stripe/params/setup_intent_update_params.rb +87 -311
- data/lib/stripe/params/setup_intent_verify_microdeposits_params.rb +1 -1
- data/lib/stripe/params/shipping_rate_create_params.rb +6 -6
- data/lib/stripe/params/shipping_rate_list_params.rb +2 -2
- data/lib/stripe/params/shipping_rate_retrieve_params.rb +1 -1
- data/lib/stripe/params/shipping_rate_update_params.rb +3 -3
- data/lib/stripe/params/sigma/scheduled_query_run_list_params.rb +1 -1
- data/lib/stripe/params/sigma/scheduled_query_run_retrieve_params.rb +1 -1
- data/lib/stripe/params/source_create_params.rb +13 -13
- data/lib/stripe/params/source_detach_params.rb +1 -1
- data/lib/stripe/params/source_retrieve_params.rb +1 -1
- data/lib/stripe/params/source_transaction_list_params.rb +1 -1
- data/lib/stripe/params/source_update_params.rb +11 -11
- data/lib/stripe/params/source_verify_params.rb +1 -1
- data/lib/stripe/params/subscription_cancel_params.rb +2 -2
- data/lib/stripe/params/subscription_create_params.rb +45 -299
- data/lib/stripe/params/subscription_delete_discount_params.rb +1 -1
- data/lib/stripe/params/subscription_item_create_params.rb +7 -51
- data/lib/stripe/params/subscription_item_delete_params.rb +1 -1
- data/lib/stripe/params/subscription_item_list_params.rb +1 -1
- data/lib/stripe/params/subscription_item_retrieve_params.rb +1 -1
- data/lib/stripe/params/subscription_item_update_params.rb +6 -34
- data/lib/stripe/params/subscription_list_params.rb +5 -9
- data/lib/stripe/params/subscription_migrate_params.rb +3 -3
- data/lib/stripe/params/subscription_resume_params.rb +1 -1
- data/lib/stripe/params/subscription_retrieve_params.rb +1 -1
- data/lib/stripe/params/subscription_schedule_cancel_params.rb +1 -1
- data/lib/stripe/params/subscription_schedule_create_params.rb +35 -197
- data/lib/stripe/params/subscription_schedule_list_params.rb +5 -9
- data/lib/stripe/params/subscription_schedule_release_params.rb +1 -1
- data/lib/stripe/params/subscription_schedule_retrieve_params.rb +1 -1
- data/lib/stripe/params/subscription_schedule_update_params.rb +33 -191
- data/lib/stripe/params/subscription_search_params.rb +1 -1
- data/lib/stripe/params/subscription_update_params.rb +43 -277
- data/lib/stripe/params/tax/calculation_create_params.rb +8 -8
- data/lib/stripe/params/tax/calculation_line_item_list_params.rb +1 -1
- data/lib/stripe/params/tax/calculation_list_line_items_params.rb +1 -1
- data/lib/stripe/params/tax/calculation_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax/registration_create_params.rb +176 -163
- data/lib/stripe/params/tax/registration_list_params.rb +1 -1
- data/lib/stripe/params/tax/registration_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax/registration_update_params.rb +1 -1
- data/lib/stripe/params/tax/settings_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax/settings_update_params.rb +4 -4
- data/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +1 -1
- data/lib/stripe/params/tax/transaction_create_reversal_params.rb +3 -3
- data/lib/stripe/params/tax/transaction_line_item_list_params.rb +1 -1
- data/lib/stripe/params/tax/transaction_list_line_items_params.rb +1 -1
- data/lib/stripe/params/tax/transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax_code_list_params.rb +1 -1
- data/lib/stripe/params/tax_code_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax_id_create_params.rb +3 -6
- data/lib/stripe/params/tax_id_delete_params.rb +1 -1
- data/lib/stripe/params/tax_id_list_params.rb +3 -6
- data/lib/stripe/params/tax_id_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax_rate_create_params.rb +1 -1
- data/lib/stripe/params/tax_rate_list_params.rb +2 -2
- data/lib/stripe/params/tax_rate_retrieve_params.rb +1 -1
- data/lib/stripe/params/tax_rate_update_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_create_params.rb +52 -46
- data/lib/stripe/params/terminal/configuration_delete_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_list_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_retrieve_params.rb +1 -1
- data/lib/stripe/params/terminal/configuration_update_params.rb +52 -46
- data/lib/stripe/params/terminal/connection_token_create_params.rb +1 -1
- data/lib/stripe/params/terminal/location_create_params.rb +4 -4
- data/lib/stripe/params/terminal/location_delete_params.rb +1 -1
- data/lib/stripe/params/terminal/location_list_params.rb +1 -1
- data/lib/stripe/params/terminal/location_retrieve_params.rb +1 -1
- data/lib/stripe/params/terminal/location_update_params.rb +4 -4
- data/lib/stripe/params/terminal/reader_cancel_action_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_collect_inputs_params.rb +13 -13
- data/lib/stripe/params/terminal/reader_collect_payment_method_params.rb +5 -5
- data/lib/stripe/params/terminal/reader_confirm_payment_intent_params.rb +4 -4
- data/lib/stripe/params/terminal/reader_create_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_delete_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_list_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_present_payment_method_params.rb +5 -5
- data/lib/stripe/params/terminal/reader_process_payment_intent_params.rb +5 -5
- data/lib/stripe/params/terminal/reader_process_setup_intent_params.rb +4 -4
- data/lib/stripe/params/terminal/reader_refund_payment_params.rb +3 -3
- data/lib/stripe/params/terminal/reader_retrieve_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_set_reader_display_params.rb +9 -9
- data/lib/stripe/params/terminal/reader_succeed_input_collection_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_timeout_input_collection_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_update_params.rb +1 -1
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +61 -158
- data/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +13 -13
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +17 -17
- data/lib/stripe/params/test_helpers/issuing/authorization_expire_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +8 -8
- data/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_respond_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/card_deliver_card_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/card_fail_card_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/card_return_card_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/card_ship_card_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/card_submit_card_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/personalization_design_activate_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/personalization_design_reject_params.rb +2 -2
- data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +14 -14
- data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +14 -14
- data/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +1 -1
- data/lib/stripe/params/test_helpers/refund_expire_params.rb +1 -1
- data/lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb +5 -5
- data/lib/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rb +1 -1
- data/lib/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rb +1 -1
- data/lib/stripe/params/test_helpers/test_clock_advance_params.rb +1 -1
- data/lib/stripe/params/test_helpers/test_clock_create_params.rb +1 -1
- data/lib/stripe/params/test_helpers/test_clock_delete_params.rb +1 -1
- data/lib/stripe/params/test_helpers/test_clock_list_params.rb +1 -1
- data/lib/stripe/params/test_helpers/test_clock_retrieve_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb +2 -2
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_post_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rb +2 -2
- data/lib/stripe/params/test_helpers/treasury/outbound_payment_update_params.rb +4 -4
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rb +2 -2
- data/lib/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rb +4 -4
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +4 -28
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +4 -28
- data/lib/stripe/params/token_create_params.rb +64 -45
- data/lib/stripe/params/token_retrieve_params.rb +1 -1
- data/lib/stripe/params/topup_cancel_params.rb +1 -1
- data/lib/stripe/params/topup_create_params.rb +1 -1
- data/lib/stripe/params/topup_list_params.rb +3 -3
- data/lib/stripe/params/topup_retrieve_params.rb +1 -1
- data/lib/stripe/params/topup_update_params.rb +1 -1
- data/lib/stripe/params/transfer_create_params.rb +1 -5
- data/lib/stripe/params/transfer_list_params.rb +2 -2
- data/lib/stripe/params/transfer_retrieve_params.rb +1 -1
- data/lib/stripe/params/transfer_reversal_create_params.rb +1 -1
- data/lib/stripe/params/transfer_reversal_list_params.rb +1 -1
- data/lib/stripe/params/transfer_reversal_retrieve_params.rb +1 -1
- data/lib/stripe/params/transfer_reversal_update_params.rb +1 -1
- data/lib/stripe/params/transfer_update_params.rb +1 -1
- data/lib/stripe/params/treasury/credit_reversal_create_params.rb +1 -1
- data/lib/stripe/params/treasury/credit_reversal_list_params.rb +1 -1
- data/lib/stripe/params/treasury/credit_reversal_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/debit_reversal_create_params.rb +1 -1
- data/lib/stripe/params/treasury/debit_reversal_list_params.rb +1 -1
- data/lib/stripe/params/treasury/debit_reversal_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/financial_account_close_params.rb +2 -2
- data/lib/stripe/params/treasury/financial_account_create_params.rb +17 -24
- data/lib/stripe/params/treasury/financial_account_features_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +15 -18
- data/lib/stripe/params/treasury/financial_account_list_params.rb +2 -2
- data/lib/stripe/params/treasury/financial_account_retrieve_features_params.rb +1 -1
- data/lib/stripe/params/treasury/financial_account_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +15 -18
- data/lib/stripe/params/treasury/financial_account_update_params.rb +18 -25
- data/lib/stripe/params/treasury/inbound_transfer_cancel_params.rb +1 -1
- data/lib/stripe/params/treasury/inbound_transfer_create_params.rb +1 -1
- data/lib/stripe/params/treasury/inbound_transfer_fail_params.rb +2 -2
- data/lib/stripe/params/treasury/inbound_transfer_list_params.rb +1 -1
- data/lib/stripe/params/treasury/inbound_transfer_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb +1 -1
- data/lib/stripe/params/treasury/inbound_transfer_succeed_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_payment_cancel_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +8 -8
- data/lib/stripe/params/treasury/outbound_payment_fail_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_payment_list_params.rb +2 -2
- data/lib/stripe/params/treasury/outbound_payment_post_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_payment_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rb +2 -2
- data/lib/stripe/params/treasury/outbound_payment_update_params.rb +4 -4
- data/lib/stripe/params/treasury/outbound_transfer_cancel_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +4 -28
- data/lib/stripe/params/treasury/outbound_transfer_fail_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_transfer_list_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_transfer_post_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_transfer_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rb +2 -2
- data/lib/stripe/params/treasury/outbound_transfer_update_params.rb +4 -4
- data/lib/stripe/params/treasury/received_credit_create_params.rb +4 -28
- data/lib/stripe/params/treasury/received_credit_list_params.rb +2 -2
- data/lib/stripe/params/treasury/received_credit_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/received_debit_create_params.rb +4 -28
- data/lib/stripe/params/treasury/received_debit_list_params.rb +1 -1
- data/lib/stripe/params/treasury/received_debit_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/transaction_entry_list_params.rb +3 -3
- data/lib/stripe/params/treasury/transaction_entry_retrieve_params.rb +1 -1
- data/lib/stripe/params/treasury/transaction_list_params.rb +4 -4
- data/lib/stripe/params/treasury/transaction_retrieve_params.rb +1 -1
- data/lib/stripe/params/v2/billing/meter_event_adjustment_create_params.rb +2 -2
- data/lib/stripe/params/v2/billing/meter_event_create_params.rb +1 -1
- data/lib/stripe/params/v2/billing/meter_event_session_create_params.rb +1 -1
- data/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +2 -2
- data/lib/stripe/params/v2/core/event_destination_create_params.rb +3 -3
- data/lib/stripe/params/v2/core/event_destination_delete_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_disable_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_enable_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_list_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_ping_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_retrieve_params.rb +1 -1
- data/lib/stripe/params/v2/core/event_destination_update_params.rb +2 -2
- data/lib/stripe/params/v2/core/event_list_params.rb +25 -2
- data/lib/stripe/params/v2/core/event_retrieve_params.rb +1 -1
- data/lib/stripe/params/webhook_endpoint_create_params.rb +1 -1
- data/lib/stripe/params/webhook_endpoint_delete_params.rb +1 -1
- data/lib/stripe/params/webhook_endpoint_list_params.rb +1 -1
- data/lib/stripe/params/webhook_endpoint_retrieve_params.rb +1 -1
- data/lib/stripe/params/webhook_endpoint_update_params.rb +1 -1
- data/lib/stripe/params.rb +1 -159
- data/lib/stripe/resources/account.rb +62 -207
- data/lib/stripe/resources/account_session.rb +39 -120
- data/lib/stripe/resources/application_fee.rb +1 -1
- data/lib/stripe/resources/apps/secret.rb +1 -1
- data/lib/stripe/resources/balance.rb +18 -18
- data/lib/stripe/resources/balance_settings.rb +4 -4
- data/lib/stripe/resources/balance_transaction.rb +1 -1
- data/lib/stripe/resources/bank_account.rb +4 -4
- data/lib/stripe/resources/billing/alert.rb +2 -2
- data/lib/stripe/resources/billing/credit_balance_summary.rb +5 -7
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +8 -8
- data/lib/stripe/resources/billing/credit_grant.rb +5 -7
- data/lib/stripe/resources/billing/meter.rb +4 -4
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +1 -1
- data/lib/stripe/resources/billing_portal/configuration.rb +14 -14
- data/lib/stripe/resources/billing_portal/session.rb +11 -13
- data/lib/stripe/resources/capability.rb +6 -6
- data/lib/stripe/resources/card.rb +1 -3
- data/lib/stripe/resources/cash_balance.rb +1 -3
- data/lib/stripe/resources/charge.rb +105 -338
- data/lib/stripe/resources/checkout/session.rb +131 -259
- data/lib/stripe/resources/climate/order.rb +3 -3
- data/lib/stripe/resources/climate/product.rb +1 -1
- data/lib/stripe/resources/climate/supplier.rb +1 -1
- data/lib/stripe/resources/confirmation_token.rb +93 -248
- data/lib/stripe/resources/country_spec.rb +3 -3
- data/lib/stripe/resources/coupon.rb +3 -28
- data/lib/stripe/resources/credit_note.rb +26 -10
- data/lib/stripe/resources/credit_note_line_item.rb +4 -22
- data/lib/stripe/resources/customer.rb +10 -10
- data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +11 -13
- data/lib/stripe/resources/customer_session.rb +87 -7
- data/lib/stripe/resources/discount.rb +1 -3
- data/lib/stripe/resources/dispute.rb +17 -39
- data/lib/stripe/resources/event.rb +3 -66
- data/lib/stripe/resources/financial_connections/account.rb +9 -36
- data/lib/stripe/resources/financial_connections/session.rb +3 -69
- data/lib/stripe/resources/financial_connections/transaction.rb +1 -1
- data/lib/stripe/resources/forwarding/request.rb +5 -5
- data/lib/stripe/resources/funding_instructions.rb +20 -20
- data/lib/stripe/resources/identity/verification_report.rb +18 -18
- data/lib/stripe/resources/identity/verification_session.rb +13 -15
- data/lib/stripe/resources/invoice.rb +43 -194
- data/lib/stripe/resources/invoice_item.rb +7 -11
- data/lib/stripe/resources/invoice_line_item.rb +14 -54
- data/lib/stripe/resources/invoice_payment.rb +2 -2
- data/lib/stripe/resources/issuing/authorization.rb +19 -19
- data/lib/stripe/resources/issuing/card.rb +10 -10
- data/lib/stripe/resources/issuing/cardholder.rb +12 -12
- data/lib/stripe/resources/issuing/dispute.rb +10 -10
- data/lib/stripe/resources/issuing/personalization_design.rb +3 -3
- data/lib/stripe/resources/issuing/physical_bundle.rb +1 -1
- data/lib/stripe/resources/issuing/token.rb +6 -6
- data/lib/stripe/resources/issuing/transaction.rb +16 -18
- data/lib/stripe/resources/line_item.rb +3 -70
- data/lib/stripe/resources/mandate.rb +22 -93
- data/lib/stripe/resources/payment_attempt_record.rb +93 -292
- data/lib/stripe/resources/payment_intent.rb +144 -919
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +23 -13
- data/lib/stripe/resources/payment_link.rb +85 -38
- data/lib/stripe/resources/payment_method.rb +115 -238
- data/lib/stripe/resources/payment_method_configuration.rb +112 -248
- data/lib/stripe/resources/payment_method_domain.rb +12 -12
- data/lib/stripe/resources/payment_record.rb +115 -292
- data/lib/stripe/resources/payout.rb +3 -3
- data/lib/stripe/resources/person.rb +20 -20
- data/lib/stripe/resources/plan.rb +2 -2
- data/lib/stripe/resources/price.rb +7 -27
- data/lib/stripe/resources/product.rb +2 -2
- data/lib/stripe/resources/promotion_code.rb +3 -5
- data/lib/stripe/resources/quote.rb +27 -596
- data/lib/stripe/resources/refund.rb +49 -51
- data/lib/stripe/resources/reporting/report_run.rb +1 -1
- data/lib/stripe/resources/review.rb +2 -2
- data/lib/stripe/resources/setup_attempt.rb +29 -92
- data/lib/stripe/resources/setup_intent.rb +29 -158
- data/lib/stripe/resources/shipping_rate.rb +5 -5
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +1 -1
- data/lib/stripe/resources/source.rb +29 -67
- data/lib/stripe/resources/source_mandate_notification.rb +3 -3
- data/lib/stripe/resources/source_transaction.rb +5 -5
- data/lib/stripe/resources/subscription.rb +30 -262
- data/lib/stripe/resources/subscription_item.rb +2 -21
- data/lib/stripe/resources/subscription_schedule.rb +29 -224
- data/lib/stripe/resources/tax/calculation.rb +12 -12
- data/lib/stripe/resources/tax/calculation_line_item.rb +3 -3
- data/lib/stripe/resources/tax/registration.rb +156 -140
- data/lib/stripe/resources/tax/settings.rb +6 -6
- data/lib/stripe/resources/tax/transaction.rb +10 -10
- data/lib/stripe/resources/tax/transaction_line_item.rb +1 -1
- data/lib/stripe/resources/tax_id.rb +2 -6
- data/lib/stripe/resources/tax_rate.rb +1 -1
- data/lib/stripe/resources/terminal/configuration.rb +52 -48
- data/lib/stripe/resources/terminal/location.rb +3 -3
- data/lib/stripe/resources/terminal/reader.rb +54 -60
- data/lib/stripe/resources/test_helpers/test_clock.rb +2 -2
- data/lib/stripe/resources/transfer.rb +0 -2
- data/lib/stripe/resources/treasury/credit_reversal.rb +1 -1
- data/lib/stripe/resources/treasury/debit_reversal.rb +2 -2
- data/lib/stripe/resources/treasury/financial_account.rb +6 -8
- data/lib/stripe/resources/treasury/financial_account_features.rb +22 -24
- data/lib/stripe/resources/treasury/inbound_transfer.rb +7 -7
- data/lib/stripe/resources/treasury/outbound_payment.rb +11 -11
- data/lib/stripe/resources/treasury/outbound_transfer.rb +10 -40
- data/lib/stripe/resources/treasury/received_credit.rb +8 -38
- data/lib/stripe/resources/treasury/received_debit.rb +7 -39
- data/lib/stripe/resources/treasury/transaction.rb +3 -3
- data/lib/stripe/resources/treasury/transaction_entry.rb +2 -2
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +1 -1
- data/lib/stripe/resources/v2/core/event.rb +2 -2
- data/lib/stripe/resources/v2/core/event_destination.rb +4 -4
- data/lib/stripe/resources.rb +0 -113
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/financial_connections/account_service.rb +2 -4
- data/lib/stripe/services/financial_connections_service.rb +1 -2
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/mandate_service.rb +0 -5
- data/lib/stripe/services/payment_intent_service.rb +0 -37
- data/lib/stripe/services/payment_record_service.rb +12 -0
- data/lib/stripe/services/payout_service.rb +1 -1
- data/lib/stripe/services/quote_service.rb +1 -49
- data/lib/stripe/services/subscription_schedule_service.rb +0 -11
- data/lib/stripe/services/subscription_service.rb +0 -11
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal/reader_service.rb +8 -8
- data/lib/stripe/services/terminal_service.rb +1 -3
- data/lib/stripe/services/v1_services.rb +1 -8
- data/lib/stripe/services/v2/billing_service.rb +1 -5
- data/lib/stripe/services/v2/core_service.rb +1 -4
- data/lib/stripe/services/v2_services.rb +1 -4
- data/lib/stripe/services.rb +0 -58
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -53
- data/rbi/stripe.rbi +87010 -143528
- metadata +5 -334
- data/lib/stripe/events/v2_billing_bill_setting_updated_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_closed_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -42
- data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -46
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
- data/lib/stripe/params/account_notice_list_params.rb +0 -25
- data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
- data/lib/stripe/params/account_notice_update_params.rb +0 -36
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -65
- data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
- data/lib/stripe/params/external_account_create_params.rb +0 -134
- data/lib/stripe/params/external_account_delete_params.rb +0 -6
- data/lib/stripe/params/external_account_list_params.rb +0 -25
- data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
- data/lib/stripe/params/external_account_update_params.rb +0 -91
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
- data/lib/stripe/params/fx_quote_create_params.rb +0 -73
- data/lib/stripe/params/fx_quote_list_params.rb +0 -22
- data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
- data/lib/stripe/params/mandate_list_params.rb +0 -39
- data/lib/stripe/params/margin_create_params.rb +0 -25
- data/lib/stripe/params/margin_list_params.rb +0 -25
- data/lib/stripe/params/margin_retrieve_params.rb +0 -13
- data/lib/stripe/params/margin_update_params.rb +0 -22
- data/lib/stripe/params/order_cancel_params.rb +0 -13
- data/lib/stripe/params/order_create_params.rb +0 -1124
- data/lib/stripe/params/order_line_item_list_params.rb +0 -22
- data/lib/stripe/params/order_list_line_items_params.rb +0 -22
- data/lib/stripe/params/order_list_params.rb +0 -25
- data/lib/stripe/params/order_reopen_params.rb +0 -13
- data/lib/stripe/params/order_retrieve_params.rb +0 -13
- data/lib/stripe/params/order_submit_params.rb +0 -16
- data/lib/stripe/params/order_update_params.rb +0 -1128
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -73
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
- data/lib/stripe/params/quote_line_list_params.rb +0 -22
- data/lib/stripe/params/quote_list_lines_params.rb +0 -22
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
- data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
- data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
- data/lib/stripe/params/quote_reestimate_params.rb +0 -13
- data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
- data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -570
- data/lib/stripe/params/tax/association_find_params.rb +0 -18
- data/lib/stripe/params/tax/form_list_params.rb +0 -51
- data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
- data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
- data/lib/stripe/params/terminal/onboarding_link_create_params.rb +0 -43
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -253
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -75
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -223
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -229
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
- data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
- data/lib/stripe/params/v2/core/account_close_params.rb +0 -17
- data/lib/stripe/params/v2/core/account_create_params.rb +0 -2217
- data/lib/stripe/params/v2/core/account_link_create_params.rb +0 -101
- data/lib/stripe/params/v2/core/account_list_params.rb +0 -20
- data/lib/stripe/params/v2/core/account_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/core/account_update_params.rb +0 -2245
- data/lib/stripe/params/v2/core/accounts/person_create_params.rb +0 -493
- data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +0 -12
- data/lib/stripe/params/v2/core/accounts/person_list_params.rb +0 -19
- data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/accounts/person_update_params.rb +0 -493
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -50
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -33
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
- data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
- data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -98
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -85
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -80
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -77
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
- data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -61
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -237
- data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
- data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
- data/lib/stripe/resources/account_notice.rb +0 -94
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
- data/lib/stripe/resources/capital/financing_offer.rb +0 -142
- data/lib/stripe/resources/capital/financing_summary.rb +0 -79
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
- data/lib/stripe/resources/financial_connections/institution.rb +0 -127
- data/lib/stripe/resources/fx_quote.rb +0 -147
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
- data/lib/stripe/resources/issuing/settlement.rb +0 -61
- data/lib/stripe/resources/margin.rb +0 -64
- data/lib/stripe/resources/order.rb +0 -987
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -187
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
- data/lib/stripe/resources/quote_line.rb +0 -521
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1150
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -732
- data/lib/stripe/resources/tax/association.rb +0 -86
- data/lib/stripe/resources/tax/form.rb +0 -264
- data/lib/stripe/resources/terminal/onboarding_link.rb +0 -71
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
- data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -609
- data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -274
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -262
- data/lib/stripe/resources/v2/billing/profile.rb +0 -46
- data/lib/stripe/resources/v2/core/account.rb +0 -3851
- data/lib/stripe/resources/v2/core/account_link.rb +0 -123
- data/lib/stripe/resources/v2/core/account_person.rb +0 -477
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -114
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -47
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -30
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -132
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -148
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -217
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -196
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -109
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -81
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -228
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -136
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -116
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -242
- data/lib/stripe/services/account_notice_service.rb +0 -39
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
- data/lib/stripe/services/billing/analytics_service.rb +0 -15
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/external_account_service.rb +0 -68
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
- data/lib/stripe/services/fx_quote_service.rb +0 -27
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
- data/lib/stripe/services/margin_service.rb +0 -50
- data/lib/stripe/services/order_line_item_service.rb +0 -17
- data/lib/stripe/services/order_service.rb +0 -78
- data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
- data/lib/stripe/services/privacy_service.rb +0 -13
- data/lib/stripe/services/quote_line_service.rb +0 -17
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
- data/lib/stripe/services/tax/association_service.rb +0 -19
- data/lib/stripe/services/tax/form_service.rb +0 -37
- data/lib/stripe/services/terminal/onboarding_link_service.rb +0 -19
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -61
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
- data/lib/stripe/services/v2/core/account_link_service.rb +0 -21
- data/lib/stripe/services/v2/core/account_service.rb +0 -76
- data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -67
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -74
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -68
- data/lib/stripe/services/v2/core/vault_service.rb +0 -18
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -59
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -73
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -63
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
- data/lib/stripe/services/v2/money_management_service.rb +0 -31
- data/lib/stripe/services/v2/payment_service.rb +0 -15
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
- data/lib/stripe/services/v2/test_helper_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
module Stripe
|
|
5
|
-
class PaymentIntentConfirmParams < Stripe::RequestParams
|
|
6
|
-
class AmountDetails < Stripe::RequestParams
|
|
7
|
-
class LineItem < Stripe::RequestParams
|
|
8
|
-
class PaymentMethodOptions < Stripe::RequestParams
|
|
9
|
-
class Card < Stripe::RequestParams
|
|
5
|
+
class PaymentIntentConfirmParams < ::Stripe::RequestParams
|
|
6
|
+
class AmountDetails < ::Stripe::RequestParams
|
|
7
|
+
class LineItem < ::Stripe::RequestParams
|
|
8
|
+
class PaymentMethodOptions < ::Stripe::RequestParams
|
|
9
|
+
class Card < ::Stripe::RequestParams
|
|
10
10
|
# Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc.
|
|
11
11
|
attr_accessor :commodity_code
|
|
12
12
|
|
|
@@ -15,7 +15,7 @@ module Stripe
|
|
|
15
15
|
end
|
|
16
16
|
end
|
|
17
17
|
|
|
18
|
-
class CardPresent < Stripe::RequestParams
|
|
18
|
+
class CardPresent < ::Stripe::RequestParams
|
|
19
19
|
# Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, etc.
|
|
20
20
|
attr_accessor :commodity_code
|
|
21
21
|
|
|
@@ -24,22 +24,30 @@ module Stripe
|
|
|
24
24
|
end
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
-
class Klarna < Stripe::RequestParams
|
|
27
|
+
class Klarna < ::Stripe::RequestParams
|
|
28
28
|
# URL to an image for the product. Max length, 4096 characters.
|
|
29
29
|
attr_accessor :image_url
|
|
30
30
|
# URL to the product page. Max length, 4096 characters.
|
|
31
31
|
attr_accessor :product_url
|
|
32
|
+
# Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed.
|
|
33
|
+
attr_accessor :reference
|
|
32
34
|
# Reference for the subscription this line item is for.
|
|
33
35
|
attr_accessor :subscription_reference
|
|
34
36
|
|
|
35
|
-
def initialize(
|
|
37
|
+
def initialize(
|
|
38
|
+
image_url: nil,
|
|
39
|
+
product_url: nil,
|
|
40
|
+
reference: nil,
|
|
41
|
+
subscription_reference: nil
|
|
42
|
+
)
|
|
36
43
|
@image_url = image_url
|
|
37
44
|
@product_url = product_url
|
|
45
|
+
@reference = reference
|
|
38
46
|
@subscription_reference = subscription_reference
|
|
39
47
|
end
|
|
40
48
|
end
|
|
41
49
|
|
|
42
|
-
class Paypal < Stripe::RequestParams
|
|
50
|
+
class Paypal < ::Stripe::RequestParams
|
|
43
51
|
# Type of the line item.
|
|
44
52
|
attr_accessor :category
|
|
45
53
|
# Description of the line item.
|
|
@@ -70,27 +78,33 @@ module Stripe
|
|
|
70
78
|
end
|
|
71
79
|
end
|
|
72
80
|
|
|
73
|
-
class Tax < Stripe::RequestParams
|
|
74
|
-
# The total tax on
|
|
81
|
+
class Tax < ::Stripe::RequestParams
|
|
82
|
+
# The total amount of tax on a single line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
|
|
83
|
+
#
|
|
84
|
+
# This field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field.
|
|
75
85
|
attr_accessor :total_tax_amount
|
|
76
86
|
|
|
77
87
|
def initialize(total_tax_amount: nil)
|
|
78
88
|
@total_tax_amount = total_tax_amount
|
|
79
89
|
end
|
|
80
90
|
end
|
|
81
|
-
# The
|
|
91
|
+
# The discount applied on this line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0.
|
|
92
|
+
#
|
|
93
|
+
# This field is mutually exclusive with the `amount_details[discount_amount]` field.
|
|
82
94
|
attr_accessor :discount_amount
|
|
83
95
|
# Payment method-specific information for line items.
|
|
84
96
|
attr_accessor :payment_method_options
|
|
85
|
-
#
|
|
97
|
+
# The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long.
|
|
86
98
|
attr_accessor :product_code
|
|
87
|
-
#
|
|
99
|
+
# The product name of the line item. Required for L3 rates. At most 1024 characters long.
|
|
100
|
+
#
|
|
101
|
+
# For Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For Paypal, this field is truncated to 127 characters.
|
|
88
102
|
attr_accessor :product_name
|
|
89
|
-
#
|
|
103
|
+
# The quantity of items. Required for L3 rates. An integer greater than 0.
|
|
90
104
|
attr_accessor :quantity
|
|
91
105
|
# Contains information about the tax on the item.
|
|
92
106
|
attr_accessor :tax
|
|
93
|
-
#
|
|
107
|
+
# The unit cost of the line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
|
|
94
108
|
attr_accessor :unit_cost
|
|
95
109
|
# A unit of measure for the line item, such as gallons, feet, meters, etc.
|
|
96
110
|
attr_accessor :unit_of_measure
|
|
@@ -116,12 +130,12 @@ module Stripe
|
|
|
116
130
|
end
|
|
117
131
|
end
|
|
118
132
|
|
|
119
|
-
class Shipping < Stripe::RequestParams
|
|
120
|
-
#
|
|
133
|
+
class Shipping < ::Stripe::RequestParams
|
|
134
|
+
# If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than or equal to 0.
|
|
121
135
|
attr_accessor :amount
|
|
122
|
-
#
|
|
136
|
+
# If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed.
|
|
123
137
|
attr_accessor :from_postal_code
|
|
124
|
-
#
|
|
138
|
+
# If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed.
|
|
125
139
|
attr_accessor :to_postal_code
|
|
126
140
|
|
|
127
141
|
def initialize(amount: nil, from_postal_code: nil, to_postal_code: nil)
|
|
@@ -131,15 +145,19 @@ module Stripe
|
|
|
131
145
|
end
|
|
132
146
|
end
|
|
133
147
|
|
|
134
|
-
class Tax < Stripe::RequestParams
|
|
135
|
-
#
|
|
148
|
+
class Tax < ::Stripe::RequestParams
|
|
149
|
+
# The total amount of tax on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.
|
|
150
|
+
#
|
|
151
|
+
# This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
|
|
136
152
|
attr_accessor :total_tax_amount
|
|
137
153
|
|
|
138
154
|
def initialize(total_tax_amount: nil)
|
|
139
155
|
@total_tax_amount = total_tax_amount
|
|
140
156
|
end
|
|
141
157
|
end
|
|
142
|
-
# The total discount applied on the transaction.
|
|
158
|
+
# The total discount applied on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0.
|
|
159
|
+
#
|
|
160
|
+
# This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
|
|
143
161
|
attr_accessor :discount_amount
|
|
144
162
|
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
|
|
145
163
|
attr_accessor :line_items
|
|
@@ -156,36 +174,11 @@ module Stripe
|
|
|
156
174
|
end
|
|
157
175
|
end
|
|
158
176
|
|
|
159
|
-
class
|
|
160
|
-
class
|
|
161
|
-
class
|
|
162
|
-
# The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
|
|
163
|
-
attr_accessor :calculation
|
|
164
|
-
|
|
165
|
-
def initialize(calculation: nil)
|
|
166
|
-
@calculation = calculation
|
|
167
|
-
end
|
|
168
|
-
end
|
|
169
|
-
# Tax arguments for automations
|
|
170
|
-
attr_accessor :tax
|
|
171
|
-
|
|
172
|
-
def initialize(tax: nil)
|
|
173
|
-
@tax = tax
|
|
174
|
-
end
|
|
175
|
-
end
|
|
176
|
-
# Arguments passed in automations
|
|
177
|
-
attr_accessor :inputs
|
|
178
|
-
|
|
179
|
-
def initialize(inputs: nil)
|
|
180
|
-
@inputs = inputs
|
|
181
|
-
end
|
|
182
|
-
end
|
|
183
|
-
|
|
184
|
-
class MandateData < Stripe::RequestParams
|
|
185
|
-
class CustomerAcceptance < Stripe::RequestParams
|
|
186
|
-
class Offline < Stripe::RequestParams; end
|
|
177
|
+
class MandateData < ::Stripe::RequestParams
|
|
178
|
+
class CustomerAcceptance < ::Stripe::RequestParams
|
|
179
|
+
class Offline < ::Stripe::RequestParams; end
|
|
187
180
|
|
|
188
|
-
class Online < Stripe::RequestParams
|
|
181
|
+
class Online < ::Stripe::RequestParams
|
|
189
182
|
# The IP address from which the Mandate was accepted by the customer.
|
|
190
183
|
attr_accessor :ip_address
|
|
191
184
|
# The user agent of the browser from which the Mandate was accepted by the customer.
|
|
@@ -220,713 +213,26 @@ module Stripe
|
|
|
220
213
|
end
|
|
221
214
|
end
|
|
222
215
|
|
|
223
|
-
class PaymentDetails < Stripe::RequestParams
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
attr_accessor :name
|
|
228
|
-
|
|
229
|
-
def initialize(name: nil)
|
|
230
|
-
@name = name
|
|
231
|
-
end
|
|
232
|
-
end
|
|
233
|
-
|
|
234
|
-
class Delivery < Stripe::RequestParams
|
|
235
|
-
class Recipient < Stripe::RequestParams
|
|
236
|
-
# The email of the recipient the ticket is delivered to.
|
|
237
|
-
attr_accessor :email
|
|
238
|
-
# The name of the recipient the ticket is delivered to.
|
|
239
|
-
attr_accessor :name
|
|
240
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
241
|
-
attr_accessor :phone
|
|
242
|
-
|
|
243
|
-
def initialize(email: nil, name: nil, phone: nil)
|
|
244
|
-
@email = email
|
|
245
|
-
@name = name
|
|
246
|
-
@phone = phone
|
|
247
|
-
end
|
|
248
|
-
end
|
|
249
|
-
# The delivery method for the payment
|
|
250
|
-
attr_accessor :mode
|
|
251
|
-
# Details of the recipient.
|
|
252
|
-
attr_accessor :recipient
|
|
253
|
-
|
|
254
|
-
def initialize(mode: nil, recipient: nil)
|
|
255
|
-
@mode = mode
|
|
256
|
-
@recipient = recipient
|
|
257
|
-
end
|
|
258
|
-
end
|
|
259
|
-
|
|
260
|
-
class Distance < Stripe::RequestParams
|
|
261
|
-
# Distance traveled.
|
|
262
|
-
attr_accessor :amount
|
|
263
|
-
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
264
|
-
attr_accessor :unit
|
|
265
|
-
|
|
266
|
-
def initialize(amount: nil, unit: nil)
|
|
267
|
-
@amount = amount
|
|
268
|
-
@unit = unit
|
|
269
|
-
end
|
|
270
|
-
end
|
|
271
|
-
|
|
272
|
-
class Driver < Stripe::RequestParams
|
|
273
|
-
# Driver's identification number.
|
|
274
|
-
attr_accessor :driver_identification_number
|
|
275
|
-
# Driver's tax number.
|
|
276
|
-
attr_accessor :driver_tax_number
|
|
277
|
-
# Full name of the person or entity on the car reservation.
|
|
278
|
-
attr_accessor :name
|
|
279
|
-
|
|
280
|
-
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
|
|
281
|
-
@driver_identification_number = driver_identification_number
|
|
282
|
-
@driver_tax_number = driver_tax_number
|
|
283
|
-
@name = name
|
|
284
|
-
end
|
|
285
|
-
end
|
|
286
|
-
|
|
287
|
-
class PickupAddress < Stripe::RequestParams
|
|
288
|
-
# City, district, suburb, town, or village.
|
|
289
|
-
attr_accessor :city
|
|
290
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
291
|
-
attr_accessor :country
|
|
292
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
293
|
-
attr_accessor :line1
|
|
294
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
295
|
-
attr_accessor :line2
|
|
296
|
-
# ZIP or postal code.
|
|
297
|
-
attr_accessor :postal_code
|
|
298
|
-
# State, county, province, or region.
|
|
299
|
-
attr_accessor :state
|
|
300
|
-
|
|
301
|
-
def initialize(
|
|
302
|
-
city: nil,
|
|
303
|
-
country: nil,
|
|
304
|
-
line1: nil,
|
|
305
|
-
line2: nil,
|
|
306
|
-
postal_code: nil,
|
|
307
|
-
state: nil
|
|
308
|
-
)
|
|
309
|
-
@city = city
|
|
310
|
-
@country = country
|
|
311
|
-
@line1 = line1
|
|
312
|
-
@line2 = line2
|
|
313
|
-
@postal_code = postal_code
|
|
314
|
-
@state = state
|
|
315
|
-
end
|
|
316
|
-
end
|
|
317
|
-
|
|
318
|
-
class ReturnAddress < Stripe::RequestParams
|
|
319
|
-
# City, district, suburb, town, or village.
|
|
320
|
-
attr_accessor :city
|
|
321
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
322
|
-
attr_accessor :country
|
|
323
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
324
|
-
attr_accessor :line1
|
|
325
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
326
|
-
attr_accessor :line2
|
|
327
|
-
# ZIP or postal code.
|
|
328
|
-
attr_accessor :postal_code
|
|
329
|
-
# State, county, province, or region.
|
|
330
|
-
attr_accessor :state
|
|
331
|
-
|
|
332
|
-
def initialize(
|
|
333
|
-
city: nil,
|
|
334
|
-
country: nil,
|
|
335
|
-
line1: nil,
|
|
336
|
-
line2: nil,
|
|
337
|
-
postal_code: nil,
|
|
338
|
-
state: nil
|
|
339
|
-
)
|
|
340
|
-
@city = city
|
|
341
|
-
@country = country
|
|
342
|
-
@line1 = line1
|
|
343
|
-
@line2 = line2
|
|
344
|
-
@postal_code = postal_code
|
|
345
|
-
@state = state
|
|
346
|
-
end
|
|
347
|
-
end
|
|
348
|
-
# Affiliate details for this purchase.
|
|
349
|
-
attr_accessor :affiliate
|
|
350
|
-
# The booking number associated with the car rental.
|
|
351
|
-
attr_accessor :booking_number
|
|
352
|
-
# Class code of the car.
|
|
353
|
-
attr_accessor :car_class_code
|
|
354
|
-
# Make of the car.
|
|
355
|
-
attr_accessor :car_make
|
|
356
|
-
# Model of the car.
|
|
357
|
-
attr_accessor :car_model
|
|
358
|
-
# The name of the rental car company.
|
|
359
|
-
attr_accessor :company
|
|
360
|
-
# The customer service phone number of the car rental company.
|
|
361
|
-
attr_accessor :customer_service_phone_number
|
|
362
|
-
# Number of days the car is being rented.
|
|
363
|
-
attr_accessor :days_rented
|
|
364
|
-
# Delivery details for this purchase.
|
|
365
|
-
attr_accessor :delivery
|
|
366
|
-
# The details of the distance traveled during the rental period.
|
|
367
|
-
attr_accessor :distance
|
|
368
|
-
# The details of the passengers in the travel reservation
|
|
369
|
-
attr_accessor :drivers
|
|
370
|
-
# List of additional charges being billed.
|
|
371
|
-
attr_accessor :extra_charges
|
|
372
|
-
# Indicates if the customer did not keep nor cancel their booking.
|
|
373
|
-
attr_accessor :no_show
|
|
374
|
-
# Car pick-up address.
|
|
375
|
-
attr_accessor :pickup_address
|
|
376
|
-
# Car pick-up time. Measured in seconds since the Unix epoch.
|
|
377
|
-
attr_accessor :pickup_at
|
|
378
|
-
# Name of the pickup location.
|
|
379
|
-
attr_accessor :pickup_location_name
|
|
380
|
-
# Rental rate.
|
|
381
|
-
attr_accessor :rate_amount
|
|
382
|
-
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
383
|
-
attr_accessor :rate_interval
|
|
384
|
-
# The name of the person or entity renting the car.
|
|
385
|
-
attr_accessor :renter_name
|
|
386
|
-
# Car return address.
|
|
387
|
-
attr_accessor :return_address
|
|
388
|
-
# Car return time. Measured in seconds since the Unix epoch.
|
|
389
|
-
attr_accessor :return_at
|
|
390
|
-
# Name of the return location.
|
|
391
|
-
attr_accessor :return_location_name
|
|
392
|
-
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
393
|
-
attr_accessor :tax_exempt
|
|
394
|
-
# The vehicle identification number.
|
|
395
|
-
attr_accessor :vehicle_identification_number
|
|
396
|
-
|
|
397
|
-
def initialize(
|
|
398
|
-
affiliate: nil,
|
|
399
|
-
booking_number: nil,
|
|
400
|
-
car_class_code: nil,
|
|
401
|
-
car_make: nil,
|
|
402
|
-
car_model: nil,
|
|
403
|
-
company: nil,
|
|
404
|
-
customer_service_phone_number: nil,
|
|
405
|
-
days_rented: nil,
|
|
406
|
-
delivery: nil,
|
|
407
|
-
distance: nil,
|
|
408
|
-
drivers: nil,
|
|
409
|
-
extra_charges: nil,
|
|
410
|
-
no_show: nil,
|
|
411
|
-
pickup_address: nil,
|
|
412
|
-
pickup_at: nil,
|
|
413
|
-
pickup_location_name: nil,
|
|
414
|
-
rate_amount: nil,
|
|
415
|
-
rate_interval: nil,
|
|
416
|
-
renter_name: nil,
|
|
417
|
-
return_address: nil,
|
|
418
|
-
return_at: nil,
|
|
419
|
-
return_location_name: nil,
|
|
420
|
-
tax_exempt: nil,
|
|
421
|
-
vehicle_identification_number: nil
|
|
422
|
-
)
|
|
423
|
-
@affiliate = affiliate
|
|
424
|
-
@booking_number = booking_number
|
|
425
|
-
@car_class_code = car_class_code
|
|
426
|
-
@car_make = car_make
|
|
427
|
-
@car_model = car_model
|
|
428
|
-
@company = company
|
|
429
|
-
@customer_service_phone_number = customer_service_phone_number
|
|
430
|
-
@days_rented = days_rented
|
|
431
|
-
@delivery = delivery
|
|
432
|
-
@distance = distance
|
|
433
|
-
@drivers = drivers
|
|
434
|
-
@extra_charges = extra_charges
|
|
435
|
-
@no_show = no_show
|
|
436
|
-
@pickup_address = pickup_address
|
|
437
|
-
@pickup_at = pickup_at
|
|
438
|
-
@pickup_location_name = pickup_location_name
|
|
439
|
-
@rate_amount = rate_amount
|
|
440
|
-
@rate_interval = rate_interval
|
|
441
|
-
@renter_name = renter_name
|
|
442
|
-
@return_address = return_address
|
|
443
|
-
@return_at = return_at
|
|
444
|
-
@return_location_name = return_location_name
|
|
445
|
-
@tax_exempt = tax_exempt
|
|
446
|
-
@vehicle_identification_number = vehicle_identification_number
|
|
447
|
-
end
|
|
448
|
-
end
|
|
449
|
-
|
|
450
|
-
class EventDetails < Stripe::RequestParams
|
|
451
|
-
class Address < Stripe::RequestParams
|
|
452
|
-
# City, district, suburb, town, or village.
|
|
453
|
-
attr_accessor :city
|
|
454
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
455
|
-
attr_accessor :country
|
|
456
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
457
|
-
attr_accessor :line1
|
|
458
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
459
|
-
attr_accessor :line2
|
|
460
|
-
# ZIP or postal code.
|
|
461
|
-
attr_accessor :postal_code
|
|
462
|
-
# State, county, province, or region.
|
|
463
|
-
attr_accessor :state
|
|
464
|
-
|
|
465
|
-
def initialize(
|
|
466
|
-
city: nil,
|
|
467
|
-
country: nil,
|
|
468
|
-
line1: nil,
|
|
469
|
-
line2: nil,
|
|
470
|
-
postal_code: nil,
|
|
471
|
-
state: nil
|
|
472
|
-
)
|
|
473
|
-
@city = city
|
|
474
|
-
@country = country
|
|
475
|
-
@line1 = line1
|
|
476
|
-
@line2 = line2
|
|
477
|
-
@postal_code = postal_code
|
|
478
|
-
@state = state
|
|
479
|
-
end
|
|
480
|
-
end
|
|
481
|
-
|
|
482
|
-
class Affiliate < Stripe::RequestParams
|
|
483
|
-
# The name of the affiliate that originated the purchase.
|
|
484
|
-
attr_accessor :name
|
|
485
|
-
|
|
486
|
-
def initialize(name: nil)
|
|
487
|
-
@name = name
|
|
488
|
-
end
|
|
489
|
-
end
|
|
490
|
-
|
|
491
|
-
class Delivery < Stripe::RequestParams
|
|
492
|
-
class Recipient < Stripe::RequestParams
|
|
493
|
-
# The email of the recipient the ticket is delivered to.
|
|
494
|
-
attr_accessor :email
|
|
495
|
-
# The name of the recipient the ticket is delivered to.
|
|
496
|
-
attr_accessor :name
|
|
497
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
498
|
-
attr_accessor :phone
|
|
499
|
-
|
|
500
|
-
def initialize(email: nil, name: nil, phone: nil)
|
|
501
|
-
@email = email
|
|
502
|
-
@name = name
|
|
503
|
-
@phone = phone
|
|
504
|
-
end
|
|
505
|
-
end
|
|
506
|
-
# The delivery method for the payment
|
|
507
|
-
attr_accessor :mode
|
|
508
|
-
# Details of the recipient.
|
|
509
|
-
attr_accessor :recipient
|
|
510
|
-
|
|
511
|
-
def initialize(mode: nil, recipient: nil)
|
|
512
|
-
@mode = mode
|
|
513
|
-
@recipient = recipient
|
|
514
|
-
end
|
|
515
|
-
end
|
|
516
|
-
# Indicates if the tickets are digitally checked when entering the venue.
|
|
517
|
-
attr_accessor :access_controlled_venue
|
|
518
|
-
# The event location's address.
|
|
519
|
-
attr_accessor :address
|
|
520
|
-
# Affiliate details for this purchase.
|
|
521
|
-
attr_accessor :affiliate
|
|
522
|
-
# The name of the company
|
|
523
|
-
attr_accessor :company
|
|
524
|
-
# Delivery details for this purchase.
|
|
525
|
-
attr_accessor :delivery
|
|
526
|
-
# Event end time. Measured in seconds since the Unix epoch.
|
|
527
|
-
attr_accessor :ends_at
|
|
528
|
-
# Type of the event entertainment (concert, sports event etc)
|
|
529
|
-
attr_accessor :genre
|
|
530
|
-
# The name of the event.
|
|
531
|
-
attr_accessor :name
|
|
532
|
-
# Event start time. Measured in seconds since the Unix epoch.
|
|
533
|
-
attr_accessor :starts_at
|
|
534
|
-
|
|
535
|
-
def initialize(
|
|
536
|
-
access_controlled_venue: nil,
|
|
537
|
-
address: nil,
|
|
538
|
-
affiliate: nil,
|
|
539
|
-
company: nil,
|
|
540
|
-
delivery: nil,
|
|
541
|
-
ends_at: nil,
|
|
542
|
-
genre: nil,
|
|
543
|
-
name: nil,
|
|
544
|
-
starts_at: nil
|
|
545
|
-
)
|
|
546
|
-
@access_controlled_venue = access_controlled_venue
|
|
547
|
-
@address = address
|
|
548
|
-
@affiliate = affiliate
|
|
549
|
-
@company = company
|
|
550
|
-
@delivery = delivery
|
|
551
|
-
@ends_at = ends_at
|
|
552
|
-
@genre = genre
|
|
553
|
-
@name = name
|
|
554
|
-
@starts_at = starts_at
|
|
555
|
-
end
|
|
556
|
-
end
|
|
557
|
-
|
|
558
|
-
class Flight < Stripe::RequestParams
|
|
559
|
-
class Affiliate < Stripe::RequestParams
|
|
560
|
-
# The name of the affiliate that originated the purchase.
|
|
561
|
-
attr_accessor :name
|
|
562
|
-
|
|
563
|
-
def initialize(name: nil)
|
|
564
|
-
@name = name
|
|
565
|
-
end
|
|
566
|
-
end
|
|
567
|
-
|
|
568
|
-
class Delivery < Stripe::RequestParams
|
|
569
|
-
class Recipient < Stripe::RequestParams
|
|
570
|
-
# The email of the recipient the ticket is delivered to.
|
|
571
|
-
attr_accessor :email
|
|
572
|
-
# The name of the recipient the ticket is delivered to.
|
|
573
|
-
attr_accessor :name
|
|
574
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
575
|
-
attr_accessor :phone
|
|
576
|
-
|
|
577
|
-
def initialize(email: nil, name: nil, phone: nil)
|
|
578
|
-
@email = email
|
|
579
|
-
@name = name
|
|
580
|
-
@phone = phone
|
|
581
|
-
end
|
|
582
|
-
end
|
|
583
|
-
# The delivery method for the payment
|
|
584
|
-
attr_accessor :mode
|
|
585
|
-
# Details of the recipient.
|
|
586
|
-
attr_accessor :recipient
|
|
587
|
-
|
|
588
|
-
def initialize(mode: nil, recipient: nil)
|
|
589
|
-
@mode = mode
|
|
590
|
-
@recipient = recipient
|
|
591
|
-
end
|
|
592
|
-
end
|
|
593
|
-
|
|
594
|
-
class Passenger < Stripe::RequestParams
|
|
595
|
-
# Full name of the person or entity on the flight reservation.
|
|
596
|
-
attr_accessor :name
|
|
597
|
-
|
|
598
|
-
def initialize(name: nil)
|
|
599
|
-
@name = name
|
|
600
|
-
end
|
|
601
|
-
end
|
|
602
|
-
|
|
603
|
-
class Segment < Stripe::RequestParams
|
|
604
|
-
# The flight segment amount.
|
|
605
|
-
attr_accessor :amount
|
|
606
|
-
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
|
607
|
-
attr_accessor :arrival_airport
|
|
608
|
-
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
|
609
|
-
attr_accessor :arrives_at
|
|
610
|
-
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
|
611
|
-
attr_accessor :carrier
|
|
612
|
-
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
|
613
|
-
attr_accessor :departs_at
|
|
614
|
-
# The International Air Transport Association (IATA) airport code for the departure airport.
|
|
615
|
-
attr_accessor :departure_airport
|
|
616
|
-
# The flight number associated with the segment
|
|
617
|
-
attr_accessor :flight_number
|
|
618
|
-
# The fare class for the segment.
|
|
619
|
-
attr_accessor :service_class
|
|
620
|
-
|
|
621
|
-
def initialize(
|
|
622
|
-
amount: nil,
|
|
623
|
-
arrival_airport: nil,
|
|
624
|
-
arrives_at: nil,
|
|
625
|
-
carrier: nil,
|
|
626
|
-
departs_at: nil,
|
|
627
|
-
departure_airport: nil,
|
|
628
|
-
flight_number: nil,
|
|
629
|
-
service_class: nil
|
|
630
|
-
)
|
|
631
|
-
@amount = amount
|
|
632
|
-
@arrival_airport = arrival_airport
|
|
633
|
-
@arrives_at = arrives_at
|
|
634
|
-
@carrier = carrier
|
|
635
|
-
@departs_at = departs_at
|
|
636
|
-
@departure_airport = departure_airport
|
|
637
|
-
@flight_number = flight_number
|
|
638
|
-
@service_class = service_class
|
|
639
|
-
end
|
|
640
|
-
end
|
|
641
|
-
# Affiliate details for this purchase.
|
|
642
|
-
attr_accessor :affiliate
|
|
643
|
-
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
|
644
|
-
attr_accessor :agency_number
|
|
645
|
-
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
|
646
|
-
attr_accessor :carrier
|
|
647
|
-
# Delivery details for this purchase.
|
|
648
|
-
attr_accessor :delivery
|
|
649
|
-
# The name of the person or entity on the reservation.
|
|
650
|
-
attr_accessor :passenger_name
|
|
651
|
-
# The details of the passengers in the travel reservation.
|
|
652
|
-
attr_accessor :passengers
|
|
653
|
-
# The individual flight segments associated with the trip.
|
|
654
|
-
attr_accessor :segments
|
|
655
|
-
# The ticket number associated with the travel reservation.
|
|
656
|
-
attr_accessor :ticket_number
|
|
657
|
-
|
|
658
|
-
def initialize(
|
|
659
|
-
affiliate: nil,
|
|
660
|
-
agency_number: nil,
|
|
661
|
-
carrier: nil,
|
|
662
|
-
delivery: nil,
|
|
663
|
-
passenger_name: nil,
|
|
664
|
-
passengers: nil,
|
|
665
|
-
segments: nil,
|
|
666
|
-
ticket_number: nil
|
|
667
|
-
)
|
|
668
|
-
@affiliate = affiliate
|
|
669
|
-
@agency_number = agency_number
|
|
670
|
-
@carrier = carrier
|
|
671
|
-
@delivery = delivery
|
|
672
|
-
@passenger_name = passenger_name
|
|
673
|
-
@passengers = passengers
|
|
674
|
-
@segments = segments
|
|
675
|
-
@ticket_number = ticket_number
|
|
676
|
-
end
|
|
677
|
-
end
|
|
678
|
-
|
|
679
|
-
class Lodging < Stripe::RequestParams
|
|
680
|
-
class Address < Stripe::RequestParams
|
|
681
|
-
# City, district, suburb, town, or village.
|
|
682
|
-
attr_accessor :city
|
|
683
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
684
|
-
attr_accessor :country
|
|
685
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
686
|
-
attr_accessor :line1
|
|
687
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
688
|
-
attr_accessor :line2
|
|
689
|
-
# ZIP or postal code.
|
|
690
|
-
attr_accessor :postal_code
|
|
691
|
-
# State, county, province, or region.
|
|
692
|
-
attr_accessor :state
|
|
693
|
-
|
|
694
|
-
def initialize(
|
|
695
|
-
city: nil,
|
|
696
|
-
country: nil,
|
|
697
|
-
line1: nil,
|
|
698
|
-
line2: nil,
|
|
699
|
-
postal_code: nil,
|
|
700
|
-
state: nil
|
|
701
|
-
)
|
|
702
|
-
@city = city
|
|
703
|
-
@country = country
|
|
704
|
-
@line1 = line1
|
|
705
|
-
@line2 = line2
|
|
706
|
-
@postal_code = postal_code
|
|
707
|
-
@state = state
|
|
708
|
-
end
|
|
709
|
-
end
|
|
710
|
-
|
|
711
|
-
class Affiliate < Stripe::RequestParams
|
|
712
|
-
# The name of the affiliate that originated the purchase.
|
|
713
|
-
attr_accessor :name
|
|
714
|
-
|
|
715
|
-
def initialize(name: nil)
|
|
716
|
-
@name = name
|
|
717
|
-
end
|
|
718
|
-
end
|
|
719
|
-
|
|
720
|
-
class Delivery < Stripe::RequestParams
|
|
721
|
-
class Recipient < Stripe::RequestParams
|
|
722
|
-
# The email of the recipient the ticket is delivered to.
|
|
723
|
-
attr_accessor :email
|
|
724
|
-
# The name of the recipient the ticket is delivered to.
|
|
725
|
-
attr_accessor :name
|
|
726
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
727
|
-
attr_accessor :phone
|
|
728
|
-
|
|
729
|
-
def initialize(email: nil, name: nil, phone: nil)
|
|
730
|
-
@email = email
|
|
731
|
-
@name = name
|
|
732
|
-
@phone = phone
|
|
733
|
-
end
|
|
734
|
-
end
|
|
735
|
-
# The delivery method for the payment
|
|
736
|
-
attr_accessor :mode
|
|
737
|
-
# Details of the recipient.
|
|
738
|
-
attr_accessor :recipient
|
|
739
|
-
|
|
740
|
-
def initialize(mode: nil, recipient: nil)
|
|
741
|
-
@mode = mode
|
|
742
|
-
@recipient = recipient
|
|
743
|
-
end
|
|
744
|
-
end
|
|
745
|
-
|
|
746
|
-
class Passenger < Stripe::RequestParams
|
|
747
|
-
# Full name of the person or entity on the lodging reservation.
|
|
748
|
-
attr_accessor :name
|
|
749
|
-
|
|
750
|
-
def initialize(name: nil)
|
|
751
|
-
@name = name
|
|
752
|
-
end
|
|
753
|
-
end
|
|
754
|
-
# The lodging location's address.
|
|
755
|
-
attr_accessor :address
|
|
756
|
-
# The number of adults on the booking
|
|
757
|
-
attr_accessor :adults
|
|
758
|
-
# Affiliate details for this purchase.
|
|
759
|
-
attr_accessor :affiliate
|
|
760
|
-
# The booking number associated with the lodging reservation.
|
|
761
|
-
attr_accessor :booking_number
|
|
762
|
-
# The lodging category
|
|
763
|
-
attr_accessor :category
|
|
764
|
-
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
|
765
|
-
attr_accessor :checkin_at
|
|
766
|
-
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
|
767
|
-
attr_accessor :checkout_at
|
|
768
|
-
# The customer service phone number of the lodging company.
|
|
769
|
-
attr_accessor :customer_service_phone_number
|
|
770
|
-
# The daily lodging room rate.
|
|
771
|
-
attr_accessor :daily_room_rate_amount
|
|
772
|
-
# Delivery details for this purchase.
|
|
773
|
-
attr_accessor :delivery
|
|
774
|
-
# List of additional charges being billed.
|
|
775
|
-
attr_accessor :extra_charges
|
|
776
|
-
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
|
777
|
-
attr_accessor :fire_safety_act_compliance
|
|
778
|
-
# The name of the lodging location.
|
|
779
|
-
attr_accessor :name
|
|
780
|
-
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
|
781
|
-
attr_accessor :no_show
|
|
782
|
-
# The number of rooms on the booking
|
|
783
|
-
attr_accessor :number_of_rooms
|
|
784
|
-
# The details of the passengers in the travel reservation
|
|
785
|
-
attr_accessor :passengers
|
|
786
|
-
# The phone number of the lodging location.
|
|
787
|
-
attr_accessor :property_phone_number
|
|
788
|
-
# The room class for this purchase.
|
|
789
|
-
attr_accessor :room_class
|
|
790
|
-
# The number of room nights
|
|
791
|
-
attr_accessor :room_nights
|
|
792
|
-
# The total tax amount associating with the room reservation.
|
|
793
|
-
attr_accessor :total_room_tax_amount
|
|
794
|
-
# The total tax amount
|
|
795
|
-
attr_accessor :total_tax_amount
|
|
796
|
-
|
|
797
|
-
def initialize(
|
|
798
|
-
address: nil,
|
|
799
|
-
adults: nil,
|
|
800
|
-
affiliate: nil,
|
|
801
|
-
booking_number: nil,
|
|
802
|
-
category: nil,
|
|
803
|
-
checkin_at: nil,
|
|
804
|
-
checkout_at: nil,
|
|
805
|
-
customer_service_phone_number: nil,
|
|
806
|
-
daily_room_rate_amount: nil,
|
|
807
|
-
delivery: nil,
|
|
808
|
-
extra_charges: nil,
|
|
809
|
-
fire_safety_act_compliance: nil,
|
|
810
|
-
name: nil,
|
|
811
|
-
no_show: nil,
|
|
812
|
-
number_of_rooms: nil,
|
|
813
|
-
passengers: nil,
|
|
814
|
-
property_phone_number: nil,
|
|
815
|
-
room_class: nil,
|
|
816
|
-
room_nights: nil,
|
|
817
|
-
total_room_tax_amount: nil,
|
|
818
|
-
total_tax_amount: nil
|
|
819
|
-
)
|
|
820
|
-
@address = address
|
|
821
|
-
@adults = adults
|
|
822
|
-
@affiliate = affiliate
|
|
823
|
-
@booking_number = booking_number
|
|
824
|
-
@category = category
|
|
825
|
-
@checkin_at = checkin_at
|
|
826
|
-
@checkout_at = checkout_at
|
|
827
|
-
@customer_service_phone_number = customer_service_phone_number
|
|
828
|
-
@daily_room_rate_amount = daily_room_rate_amount
|
|
829
|
-
@delivery = delivery
|
|
830
|
-
@extra_charges = extra_charges
|
|
831
|
-
@fire_safety_act_compliance = fire_safety_act_compliance
|
|
832
|
-
@name = name
|
|
833
|
-
@no_show = no_show
|
|
834
|
-
@number_of_rooms = number_of_rooms
|
|
835
|
-
@passengers = passengers
|
|
836
|
-
@property_phone_number = property_phone_number
|
|
837
|
-
@room_class = room_class
|
|
838
|
-
@room_nights = room_nights
|
|
839
|
-
@total_room_tax_amount = total_room_tax_amount
|
|
840
|
-
@total_tax_amount = total_tax_amount
|
|
841
|
-
end
|
|
842
|
-
end
|
|
843
|
-
|
|
844
|
-
class Subscription < Stripe::RequestParams
|
|
845
|
-
class Affiliate < Stripe::RequestParams
|
|
846
|
-
# The name of the affiliate that originated the purchase.
|
|
847
|
-
attr_accessor :name
|
|
848
|
-
|
|
849
|
-
def initialize(name: nil)
|
|
850
|
-
@name = name
|
|
851
|
-
end
|
|
852
|
-
end
|
|
853
|
-
|
|
854
|
-
class BillingInterval < Stripe::RequestParams
|
|
855
|
-
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
856
|
-
attr_accessor :count
|
|
857
|
-
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
858
|
-
attr_accessor :interval
|
|
859
|
-
|
|
860
|
-
def initialize(count: nil, interval: nil)
|
|
861
|
-
@count = count
|
|
862
|
-
@interval = interval
|
|
863
|
-
end
|
|
864
|
-
end
|
|
865
|
-
# Affiliate details for this purchase.
|
|
866
|
-
attr_accessor :affiliate
|
|
867
|
-
# Info whether the subscription will be auto renewed upon expiry.
|
|
868
|
-
attr_accessor :auto_renewal
|
|
869
|
-
# Subscription billing details for this purchase.
|
|
870
|
-
attr_accessor :billing_interval
|
|
871
|
-
# Subscription end time. Measured in seconds since the Unix epoch.
|
|
872
|
-
attr_accessor :ends_at
|
|
873
|
-
# Name of the product on subscription. e.g. Apple Music Subscription
|
|
874
|
-
attr_accessor :name
|
|
875
|
-
# Subscription start time. Measured in seconds since the Unix epoch.
|
|
876
|
-
attr_accessor :starts_at
|
|
877
|
-
|
|
878
|
-
def initialize(
|
|
879
|
-
affiliate: nil,
|
|
880
|
-
auto_renewal: nil,
|
|
881
|
-
billing_interval: nil,
|
|
882
|
-
ends_at: nil,
|
|
883
|
-
name: nil,
|
|
884
|
-
starts_at: nil
|
|
885
|
-
)
|
|
886
|
-
@affiliate = affiliate
|
|
887
|
-
@auto_renewal = auto_renewal
|
|
888
|
-
@billing_interval = billing_interval
|
|
889
|
-
@ends_at = ends_at
|
|
890
|
-
@name = name
|
|
891
|
-
@starts_at = starts_at
|
|
892
|
-
end
|
|
893
|
-
end
|
|
894
|
-
# Car rental details for this PaymentIntent.
|
|
895
|
-
attr_accessor :car_rental
|
|
896
|
-
# Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
|
|
216
|
+
class PaymentDetails < ::Stripe::RequestParams
|
|
217
|
+
# A unique value to identify the customer. This field is available only for card payments.
|
|
218
|
+
#
|
|
219
|
+
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
897
220
|
attr_accessor :customer_reference
|
|
898
|
-
#
|
|
899
|
-
|
|
900
|
-
#
|
|
901
|
-
|
|
902
|
-
#
|
|
903
|
-
attr_accessor :lodging
|
|
904
|
-
# A unique value assigned by the business to identify the transaction.
|
|
221
|
+
# A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
222
|
+
#
|
|
223
|
+
# 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`.
|
|
224
|
+
#
|
|
225
|
+
# 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.
|
|
905
226
|
attr_accessor :order_reference
|
|
906
|
-
# Subscription details for this PaymentIntent
|
|
907
|
-
attr_accessor :subscription
|
|
908
227
|
|
|
909
|
-
def initialize(
|
|
910
|
-
car_rental: nil,
|
|
911
|
-
customer_reference: nil,
|
|
912
|
-
event_details: nil,
|
|
913
|
-
flight: nil,
|
|
914
|
-
lodging: nil,
|
|
915
|
-
order_reference: nil,
|
|
916
|
-
subscription: nil
|
|
917
|
-
)
|
|
918
|
-
@car_rental = car_rental
|
|
228
|
+
def initialize(customer_reference: nil, order_reference: nil)
|
|
919
229
|
@customer_reference = customer_reference
|
|
920
|
-
@event_details = event_details
|
|
921
|
-
@flight = flight
|
|
922
|
-
@lodging = lodging
|
|
923
230
|
@order_reference = order_reference
|
|
924
|
-
@subscription = subscription
|
|
925
231
|
end
|
|
926
232
|
end
|
|
927
233
|
|
|
928
|
-
class PaymentMethodData < Stripe::RequestParams
|
|
929
|
-
class AcssDebit < Stripe::RequestParams
|
|
234
|
+
class PaymentMethodData < ::Stripe::RequestParams
|
|
235
|
+
class AcssDebit < ::Stripe::RequestParams
|
|
930
236
|
# Customer's bank account number.
|
|
931
237
|
attr_accessor :account_number
|
|
932
238
|
# Institution number of the customer's bank.
|
|
@@ -941,13 +247,13 @@ module Stripe
|
|
|
941
247
|
end
|
|
942
248
|
end
|
|
943
249
|
|
|
944
|
-
class Affirm < Stripe::RequestParams; end
|
|
945
|
-
class AfterpayClearpay < Stripe::RequestParams; end
|
|
946
|
-
class Alipay < Stripe::RequestParams; end
|
|
947
|
-
class Alma < Stripe::RequestParams; end
|
|
948
|
-
class AmazonPay < Stripe::RequestParams; end
|
|
250
|
+
class Affirm < ::Stripe::RequestParams; end
|
|
251
|
+
class AfterpayClearpay < ::Stripe::RequestParams; end
|
|
252
|
+
class Alipay < ::Stripe::RequestParams; end
|
|
253
|
+
class Alma < ::Stripe::RequestParams; end
|
|
254
|
+
class AmazonPay < ::Stripe::RequestParams; end
|
|
949
255
|
|
|
950
|
-
class AuBecsDebit < Stripe::RequestParams
|
|
256
|
+
class AuBecsDebit < ::Stripe::RequestParams
|
|
951
257
|
# The account number for the bank account.
|
|
952
258
|
attr_accessor :account_number
|
|
953
259
|
# Bank-State-Branch number of the bank account.
|
|
@@ -959,7 +265,7 @@ module Stripe
|
|
|
959
265
|
end
|
|
960
266
|
end
|
|
961
267
|
|
|
962
|
-
class BacsDebit < Stripe::RequestParams
|
|
268
|
+
class BacsDebit < ::Stripe::RequestParams
|
|
963
269
|
# Account number of the bank account that the funds will be debited from.
|
|
964
270
|
attr_accessor :account_number
|
|
965
271
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
|
@@ -971,11 +277,11 @@ module Stripe
|
|
|
971
277
|
end
|
|
972
278
|
end
|
|
973
279
|
|
|
974
|
-
class Bancontact < Stripe::RequestParams; end
|
|
975
|
-
class Billie < Stripe::RequestParams; end
|
|
280
|
+
class Bancontact < ::Stripe::RequestParams; end
|
|
281
|
+
class Billie < ::Stripe::RequestParams; end
|
|
976
282
|
|
|
977
|
-
class BillingDetails < Stripe::RequestParams
|
|
978
|
-
class Address < Stripe::RequestParams
|
|
283
|
+
class BillingDetails < ::Stripe::RequestParams
|
|
284
|
+
class Address < ::Stripe::RequestParams
|
|
979
285
|
# City, district, suburb, town, or village.
|
|
980
286
|
attr_accessor :city
|
|
981
287
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
@@ -1025,9 +331,9 @@ module Stripe
|
|
|
1025
331
|
end
|
|
1026
332
|
end
|
|
1027
333
|
|
|
1028
|
-
class Blik < Stripe::RequestParams; end
|
|
334
|
+
class Blik < ::Stripe::RequestParams; end
|
|
1029
335
|
|
|
1030
|
-
class Boleto < Stripe::RequestParams
|
|
336
|
+
class Boleto < ::Stripe::RequestParams
|
|
1031
337
|
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
|
1032
338
|
attr_accessor :tax_id
|
|
1033
339
|
|
|
@@ -1036,11 +342,11 @@ module Stripe
|
|
|
1036
342
|
end
|
|
1037
343
|
end
|
|
1038
344
|
|
|
1039
|
-
class Cashapp < Stripe::RequestParams; end
|
|
1040
|
-
class Crypto < Stripe::RequestParams; end
|
|
1041
|
-
class CustomerBalance < Stripe::RequestParams; end
|
|
345
|
+
class Cashapp < ::Stripe::RequestParams; end
|
|
346
|
+
class Crypto < ::Stripe::RequestParams; end
|
|
347
|
+
class CustomerBalance < ::Stripe::RequestParams; end
|
|
1042
348
|
|
|
1043
|
-
class Eps < Stripe::RequestParams
|
|
349
|
+
class Eps < ::Stripe::RequestParams
|
|
1044
350
|
# The customer's bank.
|
|
1045
351
|
attr_accessor :bank
|
|
1046
352
|
|
|
@@ -1049,7 +355,7 @@ module Stripe
|
|
|
1049
355
|
end
|
|
1050
356
|
end
|
|
1051
357
|
|
|
1052
|
-
class Fpx < Stripe::RequestParams
|
|
358
|
+
class Fpx < ::Stripe::RequestParams
|
|
1053
359
|
# Account holder type for FPX transaction
|
|
1054
360
|
attr_accessor :account_holder_type
|
|
1055
361
|
# The customer's bank.
|
|
@@ -1061,20 +367,10 @@ module Stripe
|
|
|
1061
367
|
end
|
|
1062
368
|
end
|
|
1063
369
|
|
|
1064
|
-
class Giropay < Stripe::RequestParams; end
|
|
1065
|
-
class
|
|
1066
|
-
class Grabpay < Stripe::RequestParams; end
|
|
1067
|
-
|
|
1068
|
-
class IdBankTransfer < Stripe::RequestParams
|
|
1069
|
-
# Bank where the account is held.
|
|
1070
|
-
attr_accessor :bank
|
|
1071
|
-
|
|
1072
|
-
def initialize(bank: nil)
|
|
1073
|
-
@bank = bank
|
|
1074
|
-
end
|
|
1075
|
-
end
|
|
370
|
+
class Giropay < ::Stripe::RequestParams; end
|
|
371
|
+
class Grabpay < ::Stripe::RequestParams; end
|
|
1076
372
|
|
|
1077
|
-
class Ideal < Stripe::RequestParams
|
|
373
|
+
class Ideal < ::Stripe::RequestParams
|
|
1078
374
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
1079
375
|
attr_accessor :bank
|
|
1080
376
|
|
|
@@ -1083,11 +379,11 @@ module Stripe
|
|
|
1083
379
|
end
|
|
1084
380
|
end
|
|
1085
381
|
|
|
1086
|
-
class InteracPresent < Stripe::RequestParams; end
|
|
1087
|
-
class KakaoPay < Stripe::RequestParams; end
|
|
382
|
+
class InteracPresent < ::Stripe::RequestParams; end
|
|
383
|
+
class KakaoPay < ::Stripe::RequestParams; end
|
|
1088
384
|
|
|
1089
|
-
class Klarna < Stripe::RequestParams
|
|
1090
|
-
class Dob < Stripe::RequestParams
|
|
385
|
+
class Klarna < ::Stripe::RequestParams
|
|
386
|
+
class Dob < ::Stripe::RequestParams
|
|
1091
387
|
# The day of birth, between 1 and 31.
|
|
1092
388
|
attr_accessor :day
|
|
1093
389
|
# The month of birth, between 1 and 12.
|
|
@@ -1109,14 +405,14 @@ module Stripe
|
|
|
1109
405
|
end
|
|
1110
406
|
end
|
|
1111
407
|
|
|
1112
|
-
class Konbini < Stripe::RequestParams; end
|
|
1113
|
-
class KrCard < Stripe::RequestParams; end
|
|
1114
|
-
class Link < Stripe::RequestParams; end
|
|
1115
|
-
class MbWay < Stripe::RequestParams; end
|
|
1116
|
-
class Mobilepay < Stripe::RequestParams; end
|
|
1117
|
-
class Multibanco < Stripe::RequestParams; end
|
|
408
|
+
class Konbini < ::Stripe::RequestParams; end
|
|
409
|
+
class KrCard < ::Stripe::RequestParams; end
|
|
410
|
+
class Link < ::Stripe::RequestParams; end
|
|
411
|
+
class MbWay < ::Stripe::RequestParams; end
|
|
412
|
+
class Mobilepay < ::Stripe::RequestParams; end
|
|
413
|
+
class Multibanco < ::Stripe::RequestParams; end
|
|
1118
414
|
|
|
1119
|
-
class NaverPay < Stripe::RequestParams
|
|
415
|
+
class NaverPay < ::Stripe::RequestParams
|
|
1120
416
|
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
|
1121
417
|
attr_accessor :funding
|
|
1122
418
|
|
|
@@ -1125,7 +421,7 @@ module Stripe
|
|
|
1125
421
|
end
|
|
1126
422
|
end
|
|
1127
423
|
|
|
1128
|
-
class NzBankAccount < Stripe::RequestParams
|
|
424
|
+
class NzBankAccount < ::Stripe::RequestParams
|
|
1129
425
|
# The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details.
|
|
1130
426
|
attr_accessor :account_holder_name
|
|
1131
427
|
# The account number for the bank account.
|
|
@@ -1156,9 +452,9 @@ module Stripe
|
|
|
1156
452
|
end
|
|
1157
453
|
end
|
|
1158
454
|
|
|
1159
|
-
class Oxxo < Stripe::RequestParams; end
|
|
455
|
+
class Oxxo < ::Stripe::RequestParams; end
|
|
1160
456
|
|
|
1161
|
-
class P24 < Stripe::RequestParams
|
|
457
|
+
class P24 < ::Stripe::RequestParams
|
|
1162
458
|
# The customer's bank.
|
|
1163
459
|
attr_accessor :bank
|
|
1164
460
|
|
|
@@ -1167,32 +463,14 @@ module Stripe
|
|
|
1167
463
|
end
|
|
1168
464
|
end
|
|
1169
465
|
|
|
1170
|
-
class PayByBank < Stripe::RequestParams; end
|
|
1171
|
-
class Payco < Stripe::RequestParams; end
|
|
1172
|
-
class Paynow < Stripe::RequestParams; end
|
|
1173
|
-
class Paypal < Stripe::RequestParams; end
|
|
1174
|
-
class
|
|
466
|
+
class PayByBank < ::Stripe::RequestParams; end
|
|
467
|
+
class Payco < ::Stripe::RequestParams; end
|
|
468
|
+
class Paynow < ::Stripe::RequestParams; end
|
|
469
|
+
class Paypal < ::Stripe::RequestParams; end
|
|
470
|
+
class Pix < ::Stripe::RequestParams; end
|
|
471
|
+
class Promptpay < ::Stripe::RequestParams; end
|
|
1175
472
|
|
|
1176
|
-
class
|
|
1177
|
-
# The account number for the bank account.
|
|
1178
|
-
attr_accessor :account_number
|
|
1179
|
-
# Bank-State-Branch number of the bank account.
|
|
1180
|
-
attr_accessor :bsb_number
|
|
1181
|
-
# The PayID alias for the bank account.
|
|
1182
|
-
attr_accessor :pay_id
|
|
1183
|
-
|
|
1184
|
-
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
|
1185
|
-
@account_number = account_number
|
|
1186
|
-
@bsb_number = bsb_number
|
|
1187
|
-
@pay_id = pay_id
|
|
1188
|
-
end
|
|
1189
|
-
end
|
|
1190
|
-
|
|
1191
|
-
class Pix < Stripe::RequestParams; end
|
|
1192
|
-
class Promptpay < Stripe::RequestParams; end
|
|
1193
|
-
class Qris < Stripe::RequestParams; end
|
|
1194
|
-
|
|
1195
|
-
class RadarOptions < Stripe::RequestParams
|
|
473
|
+
class RadarOptions < ::Stripe::RequestParams
|
|
1196
474
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
1197
475
|
attr_accessor :session
|
|
1198
476
|
|
|
@@ -1201,34 +479,11 @@ module Stripe
|
|
|
1201
479
|
end
|
|
1202
480
|
end
|
|
1203
481
|
|
|
1204
|
-
class
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
attr_accessor :day
|
|
1208
|
-
# The month of birth, between 1 and 12.
|
|
1209
|
-
attr_accessor :month
|
|
1210
|
-
# The four-digit year of birth.
|
|
1211
|
-
attr_accessor :year
|
|
482
|
+
class RevolutPay < ::Stripe::RequestParams; end
|
|
483
|
+
class SamsungPay < ::Stripe::RequestParams; end
|
|
484
|
+
class Satispay < ::Stripe::RequestParams; end
|
|
1212
485
|
|
|
1213
|
-
|
|
1214
|
-
@day = day
|
|
1215
|
-
@month = month
|
|
1216
|
-
@year = year
|
|
1217
|
-
end
|
|
1218
|
-
end
|
|
1219
|
-
# Customer's date of birth
|
|
1220
|
-
attr_accessor :dob
|
|
1221
|
-
|
|
1222
|
-
def initialize(dob: nil)
|
|
1223
|
-
@dob = dob
|
|
1224
|
-
end
|
|
1225
|
-
end
|
|
1226
|
-
|
|
1227
|
-
class RevolutPay < Stripe::RequestParams; end
|
|
1228
|
-
class SamsungPay < Stripe::RequestParams; end
|
|
1229
|
-
class Satispay < Stripe::RequestParams; end
|
|
1230
|
-
|
|
1231
|
-
class SepaDebit < Stripe::RequestParams
|
|
486
|
+
class SepaDebit < ::Stripe::RequestParams
|
|
1232
487
|
# IBAN of the bank account.
|
|
1233
488
|
attr_accessor :iban
|
|
1234
489
|
|
|
@@ -1237,9 +492,7 @@ module Stripe
|
|
|
1237
492
|
end
|
|
1238
493
|
end
|
|
1239
494
|
|
|
1240
|
-
class
|
|
1241
|
-
|
|
1242
|
-
class Sofort < Stripe::RequestParams
|
|
495
|
+
class Sofort < ::Stripe::RequestParams
|
|
1243
496
|
# Two-letter ISO code representing the country the bank account is located in.
|
|
1244
497
|
attr_accessor :country
|
|
1245
498
|
|
|
@@ -1248,22 +501,10 @@ module Stripe
|
|
|
1248
501
|
end
|
|
1249
502
|
end
|
|
1250
503
|
|
|
1251
|
-
class
|
|
1252
|
-
|
|
1253
|
-
attr_accessor :account
|
|
1254
|
-
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
1255
|
-
attr_accessor :source_type
|
|
1256
|
-
|
|
1257
|
-
def initialize(account: nil, source_type: nil)
|
|
1258
|
-
@account = account
|
|
1259
|
-
@source_type = source_type
|
|
1260
|
-
end
|
|
1261
|
-
end
|
|
504
|
+
class Swish < ::Stripe::RequestParams; end
|
|
505
|
+
class Twint < ::Stripe::RequestParams; end
|
|
1262
506
|
|
|
1263
|
-
class
|
|
1264
|
-
class Twint < Stripe::RequestParams; end
|
|
1265
|
-
|
|
1266
|
-
class UsBankAccount < Stripe::RequestParams
|
|
507
|
+
class UsBankAccount < ::Stripe::RequestParams
|
|
1267
508
|
# Account holder type: individual or company.
|
|
1268
509
|
attr_accessor :account_holder_type
|
|
1269
510
|
# Account number of the bank account.
|
|
@@ -1290,8 +531,8 @@ module Stripe
|
|
|
1290
531
|
end
|
|
1291
532
|
end
|
|
1292
533
|
|
|
1293
|
-
class WechatPay < Stripe::RequestParams; end
|
|
1294
|
-
class Zip < Stripe::RequestParams; end
|
|
534
|
+
class WechatPay < ::Stripe::RequestParams; end
|
|
535
|
+
class Zip < ::Stripe::RequestParams; end
|
|
1295
536
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
|
1296
537
|
attr_accessor :acss_debit
|
|
1297
538
|
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
|
@@ -1332,12 +573,8 @@ module Stripe
|
|
|
1332
573
|
attr_accessor :fpx
|
|
1333
574
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
1334
575
|
attr_accessor :giropay
|
|
1335
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
1336
|
-
attr_accessor :gopay
|
|
1337
576
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
1338
577
|
attr_accessor :grabpay
|
|
1339
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
1340
|
-
attr_accessor :id_bank_transfer
|
|
1341
578
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
1342
579
|
attr_accessor :ideal
|
|
1343
580
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
|
@@ -1376,20 +613,12 @@ module Stripe
|
|
|
1376
613
|
attr_accessor :paynow
|
|
1377
614
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
|
1378
615
|
attr_accessor :paypal
|
|
1379
|
-
# If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
1380
|
-
attr_accessor :paypay
|
|
1381
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
1382
|
-
attr_accessor :payto
|
|
1383
616
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
1384
617
|
attr_accessor :pix
|
|
1385
618
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
1386
619
|
attr_accessor :promptpay
|
|
1387
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
1388
|
-
attr_accessor :qris
|
|
1389
620
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
1390
621
|
attr_accessor :radar_options
|
|
1391
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
1392
|
-
attr_accessor :rechnung
|
|
1393
622
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
1394
623
|
attr_accessor :revolut_pay
|
|
1395
624
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
|
@@ -1398,12 +627,8 @@ module Stripe
|
|
|
1398
627
|
attr_accessor :satispay
|
|
1399
628
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
|
1400
629
|
attr_accessor :sepa_debit
|
|
1401
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
1402
|
-
attr_accessor :shopeepay
|
|
1403
630
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
1404
631
|
attr_accessor :sofort
|
|
1405
|
-
# This hash contains details about the Stripe balance payment method.
|
|
1406
|
-
attr_accessor :stripe_balance
|
|
1407
632
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
1408
633
|
attr_accessor :swish
|
|
1409
634
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
|
@@ -1438,9 +663,7 @@ module Stripe
|
|
|
1438
663
|
eps: nil,
|
|
1439
664
|
fpx: nil,
|
|
1440
665
|
giropay: nil,
|
|
1441
|
-
gopay: nil,
|
|
1442
666
|
grabpay: nil,
|
|
1443
|
-
id_bank_transfer: nil,
|
|
1444
667
|
ideal: nil,
|
|
1445
668
|
interac_present: nil,
|
|
1446
669
|
kakao_pay: nil,
|
|
@@ -1460,20 +683,14 @@ module Stripe
|
|
|
1460
683
|
payco: nil,
|
|
1461
684
|
paynow: nil,
|
|
1462
685
|
paypal: nil,
|
|
1463
|
-
paypay: nil,
|
|
1464
|
-
payto: nil,
|
|
1465
686
|
pix: nil,
|
|
1466
687
|
promptpay: nil,
|
|
1467
|
-
qris: nil,
|
|
1468
688
|
radar_options: nil,
|
|
1469
|
-
rechnung: nil,
|
|
1470
689
|
revolut_pay: nil,
|
|
1471
690
|
samsung_pay: nil,
|
|
1472
691
|
satispay: nil,
|
|
1473
692
|
sepa_debit: nil,
|
|
1474
|
-
shopeepay: nil,
|
|
1475
693
|
sofort: nil,
|
|
1476
|
-
stripe_balance: nil,
|
|
1477
694
|
swish: nil,
|
|
1478
695
|
twint: nil,
|
|
1479
696
|
type: nil,
|
|
@@ -1501,9 +718,7 @@ module Stripe
|
|
|
1501
718
|
@eps = eps
|
|
1502
719
|
@fpx = fpx
|
|
1503
720
|
@giropay = giropay
|
|
1504
|
-
@gopay = gopay
|
|
1505
721
|
@grabpay = grabpay
|
|
1506
|
-
@id_bank_transfer = id_bank_transfer
|
|
1507
722
|
@ideal = ideal
|
|
1508
723
|
@interac_present = interac_present
|
|
1509
724
|
@kakao_pay = kakao_pay
|
|
@@ -1523,20 +738,14 @@ module Stripe
|
|
|
1523
738
|
@payco = payco
|
|
1524
739
|
@paynow = paynow
|
|
1525
740
|
@paypal = paypal
|
|
1526
|
-
@paypay = paypay
|
|
1527
|
-
@payto = payto
|
|
1528
741
|
@pix = pix
|
|
1529
742
|
@promptpay = promptpay
|
|
1530
|
-
@qris = qris
|
|
1531
743
|
@radar_options = radar_options
|
|
1532
|
-
@rechnung = rechnung
|
|
1533
744
|
@revolut_pay = revolut_pay
|
|
1534
745
|
@samsung_pay = samsung_pay
|
|
1535
746
|
@satispay = satispay
|
|
1536
747
|
@sepa_debit = sepa_debit
|
|
1537
|
-
@shopeepay = shopeepay
|
|
1538
748
|
@sofort = sofort
|
|
1539
|
-
@stripe_balance = stripe_balance
|
|
1540
749
|
@swish = swish
|
|
1541
750
|
@twint = twint
|
|
1542
751
|
@type = type
|
|
@@ -1546,9 +755,9 @@ module Stripe
|
|
|
1546
755
|
end
|
|
1547
756
|
end
|
|
1548
757
|
|
|
1549
|
-
class PaymentMethodOptions < Stripe::RequestParams
|
|
1550
|
-
class AcssDebit < Stripe::RequestParams
|
|
1551
|
-
class MandateOptions < Stripe::RequestParams
|
|
758
|
+
class PaymentMethodOptions < ::Stripe::RequestParams
|
|
759
|
+
class AcssDebit < ::Stripe::RequestParams
|
|
760
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
1552
761
|
# A URL for custom mandate text to render during confirmation step.
|
|
1553
762
|
# The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
|
|
1554
763
|
# or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
|
|
@@ -1602,7 +811,7 @@ module Stripe
|
|
|
1602
811
|
end
|
|
1603
812
|
end
|
|
1604
813
|
|
|
1605
|
-
class Affirm < Stripe::RequestParams
|
|
814
|
+
class Affirm < ::Stripe::RequestParams
|
|
1606
815
|
# Controls when the funds are captured from the customer's account.
|
|
1607
816
|
#
|
|
1608
817
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -1629,7 +838,7 @@ module Stripe
|
|
|
1629
838
|
end
|
|
1630
839
|
end
|
|
1631
840
|
|
|
1632
|
-
class AfterpayClearpay < Stripe::RequestParams
|
|
841
|
+
class AfterpayClearpay < ::Stripe::RequestParams
|
|
1633
842
|
# Controls when the funds are captured from the customer's account.
|
|
1634
843
|
#
|
|
1635
844
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -1657,7 +866,7 @@ module Stripe
|
|
|
1657
866
|
end
|
|
1658
867
|
end
|
|
1659
868
|
|
|
1660
|
-
class Alipay < Stripe::RequestParams
|
|
869
|
+
class Alipay < ::Stripe::RequestParams
|
|
1661
870
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1662
871
|
#
|
|
1663
872
|
# 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.
|
|
@@ -1674,7 +883,7 @@ module Stripe
|
|
|
1674
883
|
end
|
|
1675
884
|
end
|
|
1676
885
|
|
|
1677
|
-
class Alma < Stripe::RequestParams
|
|
886
|
+
class Alma < ::Stripe::RequestParams
|
|
1678
887
|
# Controls when the funds are captured from the customer's account.
|
|
1679
888
|
#
|
|
1680
889
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -1687,7 +896,7 @@ module Stripe
|
|
|
1687
896
|
end
|
|
1688
897
|
end
|
|
1689
898
|
|
|
1690
|
-
class AmazonPay < Stripe::RequestParams
|
|
899
|
+
class AmazonPay < ::Stripe::RequestParams
|
|
1691
900
|
# Controls when the funds are captured from the customer's account.
|
|
1692
901
|
#
|
|
1693
902
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -1709,7 +918,7 @@ module Stripe
|
|
|
1709
918
|
end
|
|
1710
919
|
end
|
|
1711
920
|
|
|
1712
|
-
class AuBecsDebit < Stripe::RequestParams
|
|
921
|
+
class AuBecsDebit < ::Stripe::RequestParams
|
|
1713
922
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1714
923
|
#
|
|
1715
924
|
# 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.
|
|
@@ -1729,8 +938,8 @@ module Stripe
|
|
|
1729
938
|
end
|
|
1730
939
|
end
|
|
1731
940
|
|
|
1732
|
-
class BacsDebit < Stripe::RequestParams
|
|
1733
|
-
class MandateOptions < Stripe::RequestParams
|
|
941
|
+
class BacsDebit < ::Stripe::RequestParams
|
|
942
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
1734
943
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
|
|
1735
944
|
attr_accessor :reference_prefix
|
|
1736
945
|
|
|
@@ -1760,7 +969,7 @@ module Stripe
|
|
|
1760
969
|
end
|
|
1761
970
|
end
|
|
1762
971
|
|
|
1763
|
-
class Bancontact < Stripe::RequestParams
|
|
972
|
+
class Bancontact < ::Stripe::RequestParams
|
|
1764
973
|
# Preferred language of the Bancontact authorization page that the customer is redirected to.
|
|
1765
974
|
attr_accessor :preferred_language
|
|
1766
975
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1780,7 +989,7 @@ module Stripe
|
|
|
1780
989
|
end
|
|
1781
990
|
end
|
|
1782
991
|
|
|
1783
|
-
class Billie < Stripe::RequestParams
|
|
992
|
+
class Billie < ::Stripe::RequestParams
|
|
1784
993
|
# Controls when the funds are captured from the customer's account.
|
|
1785
994
|
#
|
|
1786
995
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -1793,7 +1002,7 @@ module Stripe
|
|
|
1793
1002
|
end
|
|
1794
1003
|
end
|
|
1795
1004
|
|
|
1796
|
-
class Blik < Stripe::RequestParams
|
|
1005
|
+
class Blik < ::Stripe::RequestParams
|
|
1797
1006
|
# The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation.
|
|
1798
1007
|
attr_accessor :code
|
|
1799
1008
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1813,7 +1022,7 @@ module Stripe
|
|
|
1813
1022
|
end
|
|
1814
1023
|
end
|
|
1815
1024
|
|
|
1816
|
-
class Boleto < Stripe::RequestParams
|
|
1025
|
+
class Boleto < ::Stripe::RequestParams
|
|
1817
1026
|
# The number of calendar days before a Boleto voucher expires. For example, if you create a Boleto voucher on Monday and you set expires_after_days to 2, the Boleto invoice will expire on Wednesday at 23:59 America/Sao_Paulo time.
|
|
1818
1027
|
attr_accessor :expires_after_days
|
|
1819
1028
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1833,9 +1042,9 @@ module Stripe
|
|
|
1833
1042
|
end
|
|
1834
1043
|
end
|
|
1835
1044
|
|
|
1836
|
-
class Card < Stripe::RequestParams
|
|
1837
|
-
class Installments < Stripe::RequestParams
|
|
1838
|
-
class Plan < Stripe::RequestParams
|
|
1045
|
+
class Card < ::Stripe::RequestParams
|
|
1046
|
+
class Installments < ::Stripe::RequestParams
|
|
1047
|
+
class Plan < ::Stripe::RequestParams
|
|
1839
1048
|
# For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card.
|
|
1840
1049
|
attr_accessor :count
|
|
1841
1050
|
# For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card.
|
|
@@ -1864,7 +1073,7 @@ module Stripe
|
|
|
1864
1073
|
end
|
|
1865
1074
|
end
|
|
1866
1075
|
|
|
1867
|
-
class MandateOptions < Stripe::RequestParams
|
|
1076
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
1868
1077
|
# Amount to be charged for future payments.
|
|
1869
1078
|
attr_accessor :amount
|
|
1870
1079
|
# One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
|
|
@@ -1907,51 +1116,9 @@ module Stripe
|
|
|
1907
1116
|
end
|
|
1908
1117
|
end
|
|
1909
1118
|
|
|
1910
|
-
class
|
|
1911
|
-
class
|
|
1912
|
-
|
|
1913
|
-
attr_accessor :city
|
|
1914
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1915
|
-
attr_accessor :country
|
|
1916
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1917
|
-
attr_accessor :line1
|
|
1918
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1919
|
-
attr_accessor :line2
|
|
1920
|
-
# ZIP or postal code.
|
|
1921
|
-
attr_accessor :postal_code
|
|
1922
|
-
# State, county, province, or region.
|
|
1923
|
-
attr_accessor :state
|
|
1924
|
-
|
|
1925
|
-
def initialize(
|
|
1926
|
-
city: nil,
|
|
1927
|
-
country: nil,
|
|
1928
|
-
line1: nil,
|
|
1929
|
-
line2: nil,
|
|
1930
|
-
postal_code: nil,
|
|
1931
|
-
state: nil
|
|
1932
|
-
)
|
|
1933
|
-
@city = city
|
|
1934
|
-
@country = country
|
|
1935
|
-
@line1 = line1
|
|
1936
|
-
@line2 = line2
|
|
1937
|
-
@postal_code = postal_code
|
|
1938
|
-
@state = state
|
|
1939
|
-
end
|
|
1940
|
-
end
|
|
1941
|
-
# Please pass in an address that is within your Stripe user account country
|
|
1942
|
-
attr_accessor :address
|
|
1943
|
-
# Phone number (e.g., a toll-free number that customers can call)
|
|
1944
|
-
attr_accessor :phone
|
|
1945
|
-
|
|
1946
|
-
def initialize(address: nil, phone: nil)
|
|
1947
|
-
@address = address
|
|
1948
|
-
@phone = phone
|
|
1949
|
-
end
|
|
1950
|
-
end
|
|
1951
|
-
|
|
1952
|
-
class ThreeDSecure < Stripe::RequestParams
|
|
1953
|
-
class NetworkOptions < Stripe::RequestParams
|
|
1954
|
-
class CartesBancaires < Stripe::RequestParams
|
|
1119
|
+
class ThreeDSecure < ::Stripe::RequestParams
|
|
1120
|
+
class NetworkOptions < ::Stripe::RequestParams
|
|
1121
|
+
class CartesBancaires < ::Stripe::RequestParams
|
|
1955
1122
|
# The cryptogram calculation algorithm used by the card Issuer's ACS
|
|
1956
1123
|
# to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.
|
|
1957
1124
|
# messageExtension: CB-AVALGO
|
|
@@ -2043,8 +1210,6 @@ module Stripe
|
|
|
2043
1210
|
attr_accessor :moto
|
|
2044
1211
|
# Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time.
|
|
2045
1212
|
attr_accessor :network
|
|
2046
|
-
# Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
|
|
2047
|
-
attr_accessor :request_decremental_authorization
|
|
2048
1213
|
# Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
|
|
2049
1214
|
attr_accessor :request_extended_authorization
|
|
2050
1215
|
# Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
|
|
@@ -2053,8 +1218,6 @@ module Stripe
|
|
|
2053
1218
|
attr_accessor :request_multicapture
|
|
2054
1219
|
# Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.
|
|
2055
1220
|
attr_accessor :request_overcapture
|
|
2056
|
-
# Request partial authorization on this PaymentIntent.
|
|
2057
|
-
attr_accessor :request_partial_authorization
|
|
2058
1221
|
# 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://stripe.com/docs/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://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
|
2059
1222
|
attr_accessor :request_three_d_secure
|
|
2060
1223
|
# 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).
|
|
@@ -2073,8 +1236,6 @@ module Stripe
|
|
|
2073
1236
|
attr_accessor :statement_descriptor_suffix_kana
|
|
2074
1237
|
# 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.
|
|
2075
1238
|
attr_accessor :statement_descriptor_suffix_kanji
|
|
2076
|
-
# Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
|
|
2077
|
-
attr_accessor :statement_details
|
|
2078
1239
|
# If 3D Secure authentication was performed with a third-party provider,
|
|
2079
1240
|
# the authentication details to use for this payment.
|
|
2080
1241
|
attr_accessor :three_d_secure
|
|
@@ -2086,18 +1247,15 @@ module Stripe
|
|
|
2086
1247
|
mandate_options: nil,
|
|
2087
1248
|
moto: nil,
|
|
2088
1249
|
network: nil,
|
|
2089
|
-
request_decremental_authorization: nil,
|
|
2090
1250
|
request_extended_authorization: nil,
|
|
2091
1251
|
request_incremental_authorization: nil,
|
|
2092
1252
|
request_multicapture: nil,
|
|
2093
1253
|
request_overcapture: nil,
|
|
2094
|
-
request_partial_authorization: nil,
|
|
2095
1254
|
request_three_d_secure: nil,
|
|
2096
1255
|
require_cvc_recollection: nil,
|
|
2097
1256
|
setup_future_usage: nil,
|
|
2098
1257
|
statement_descriptor_suffix_kana: nil,
|
|
2099
1258
|
statement_descriptor_suffix_kanji: nil,
|
|
2100
|
-
statement_details: nil,
|
|
2101
1259
|
three_d_secure: nil
|
|
2102
1260
|
)
|
|
2103
1261
|
@capture_method = capture_method
|
|
@@ -2106,24 +1264,21 @@ module Stripe
|
|
|
2106
1264
|
@mandate_options = mandate_options
|
|
2107
1265
|
@moto = moto
|
|
2108
1266
|
@network = network
|
|
2109
|
-
@request_decremental_authorization = request_decremental_authorization
|
|
2110
1267
|
@request_extended_authorization = request_extended_authorization
|
|
2111
1268
|
@request_incremental_authorization = request_incremental_authorization
|
|
2112
1269
|
@request_multicapture = request_multicapture
|
|
2113
1270
|
@request_overcapture = request_overcapture
|
|
2114
|
-
@request_partial_authorization = request_partial_authorization
|
|
2115
1271
|
@request_three_d_secure = request_three_d_secure
|
|
2116
1272
|
@require_cvc_recollection = require_cvc_recollection
|
|
2117
1273
|
@setup_future_usage = setup_future_usage
|
|
2118
1274
|
@statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
|
|
2119
1275
|
@statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
|
|
2120
|
-
@statement_details = statement_details
|
|
2121
1276
|
@three_d_secure = three_d_secure
|
|
2122
1277
|
end
|
|
2123
1278
|
end
|
|
2124
1279
|
|
|
2125
|
-
class CardPresent < Stripe::RequestParams
|
|
2126
|
-
class Routing < Stripe::RequestParams
|
|
1280
|
+
class CardPresent < ::Stripe::RequestParams
|
|
1281
|
+
class Routing < ::Stripe::RequestParams
|
|
2127
1282
|
# Routing requested priority
|
|
2128
1283
|
attr_accessor :requested_priority
|
|
2129
1284
|
|
|
@@ -2149,7 +1304,7 @@ module Stripe
|
|
|
2149
1304
|
end
|
|
2150
1305
|
end
|
|
2151
1306
|
|
|
2152
|
-
class Cashapp < Stripe::RequestParams
|
|
1307
|
+
class Cashapp < ::Stripe::RequestParams
|
|
2153
1308
|
# Controls when the funds are captured from the customer's account.
|
|
2154
1309
|
#
|
|
2155
1310
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -2173,7 +1328,7 @@ module Stripe
|
|
|
2173
1328
|
end
|
|
2174
1329
|
end
|
|
2175
1330
|
|
|
2176
|
-
class Crypto < Stripe::RequestParams
|
|
1331
|
+
class Crypto < ::Stripe::RequestParams
|
|
2177
1332
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2178
1333
|
#
|
|
2179
1334
|
# 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.
|
|
@@ -2190,9 +1345,9 @@ module Stripe
|
|
|
2190
1345
|
end
|
|
2191
1346
|
end
|
|
2192
1347
|
|
|
2193
|
-
class CustomerBalance < Stripe::RequestParams
|
|
2194
|
-
class BankTransfer < Stripe::RequestParams
|
|
2195
|
-
class EuBankTransfer < Stripe::RequestParams
|
|
1348
|
+
class CustomerBalance < ::Stripe::RequestParams
|
|
1349
|
+
class BankTransfer < ::Stripe::RequestParams
|
|
1350
|
+
class EuBankTransfer < ::Stripe::RequestParams
|
|
2196
1351
|
# The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.
|
|
2197
1352
|
attr_accessor :country
|
|
2198
1353
|
|
|
@@ -2237,7 +1392,7 @@ module Stripe
|
|
|
2237
1392
|
end
|
|
2238
1393
|
end
|
|
2239
1394
|
|
|
2240
|
-
class Eps < Stripe::RequestParams
|
|
1395
|
+
class Eps < ::Stripe::RequestParams
|
|
2241
1396
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2242
1397
|
#
|
|
2243
1398
|
# 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.
|
|
@@ -2254,7 +1409,7 @@ module Stripe
|
|
|
2254
1409
|
end
|
|
2255
1410
|
end
|
|
2256
1411
|
|
|
2257
|
-
class Fpx < Stripe::RequestParams
|
|
1412
|
+
class Fpx < ::Stripe::RequestParams
|
|
2258
1413
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2259
1414
|
#
|
|
2260
1415
|
# 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.
|
|
@@ -2271,7 +1426,7 @@ module Stripe
|
|
|
2271
1426
|
end
|
|
2272
1427
|
end
|
|
2273
1428
|
|
|
2274
|
-
class Giropay < Stripe::RequestParams
|
|
1429
|
+
class Giropay < ::Stripe::RequestParams
|
|
2275
1430
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2276
1431
|
#
|
|
2277
1432
|
# 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.
|
|
@@ -2288,7 +1443,7 @@ module Stripe
|
|
|
2288
1443
|
end
|
|
2289
1444
|
end
|
|
2290
1445
|
|
|
2291
|
-
class
|
|
1446
|
+
class Grabpay < ::Stripe::RequestParams
|
|
2292
1447
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2293
1448
|
#
|
|
2294
1449
|
# 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.
|
|
@@ -2305,47 +1460,7 @@ module Stripe
|
|
|
2305
1460
|
end
|
|
2306
1461
|
end
|
|
2307
1462
|
|
|
2308
|
-
class
|
|
2309
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2310
|
-
#
|
|
2311
|
-
# 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.
|
|
2312
|
-
#
|
|
2313
|
-
# 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.
|
|
2314
|
-
#
|
|
2315
|
-
# 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).
|
|
2316
|
-
#
|
|
2317
|
-
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
2318
|
-
attr_accessor :setup_future_usage
|
|
2319
|
-
|
|
2320
|
-
def initialize(setup_future_usage: nil)
|
|
2321
|
-
@setup_future_usage = setup_future_usage
|
|
2322
|
-
end
|
|
2323
|
-
end
|
|
2324
|
-
|
|
2325
|
-
class IdBankTransfer < Stripe::RequestParams
|
|
2326
|
-
# The UNIX timestamp until which the virtual bank account is valid. Permitted range is from 5 minutes from now until 31 days from now. If unset, it defaults to 3 days from now.
|
|
2327
|
-
attr_accessor :expires_after
|
|
2328
|
-
# 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.
|
|
2329
|
-
attr_accessor :expires_at
|
|
2330
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2331
|
-
#
|
|
2332
|
-
# 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.
|
|
2333
|
-
#
|
|
2334
|
-
# 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.
|
|
2335
|
-
#
|
|
2336
|
-
# 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).
|
|
2337
|
-
#
|
|
2338
|
-
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
2339
|
-
attr_accessor :setup_future_usage
|
|
2340
|
-
|
|
2341
|
-
def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
|
|
2342
|
-
@expires_after = expires_after
|
|
2343
|
-
@expires_at = expires_at
|
|
2344
|
-
@setup_future_usage = setup_future_usage
|
|
2345
|
-
end
|
|
2346
|
-
end
|
|
2347
|
-
|
|
2348
|
-
class Ideal < Stripe::RequestParams
|
|
1463
|
+
class Ideal < ::Stripe::RequestParams
|
|
2349
1464
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2350
1465
|
#
|
|
2351
1466
|
# 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.
|
|
@@ -2362,9 +1477,9 @@ module Stripe
|
|
|
2362
1477
|
end
|
|
2363
1478
|
end
|
|
2364
1479
|
|
|
2365
|
-
class InteracPresent < Stripe::RequestParams; end
|
|
1480
|
+
class InteracPresent < ::Stripe::RequestParams; end
|
|
2366
1481
|
|
|
2367
|
-
class KakaoPay < Stripe::RequestParams
|
|
1482
|
+
class KakaoPay < ::Stripe::RequestParams
|
|
2368
1483
|
# Controls when the funds are captured from the customer's account.
|
|
2369
1484
|
#
|
|
2370
1485
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -2386,8 +1501,8 @@ module Stripe
|
|
|
2386
1501
|
end
|
|
2387
1502
|
end
|
|
2388
1503
|
|
|
2389
|
-
class Klarna < Stripe::RequestParams
|
|
2390
|
-
class OnDemand < Stripe::RequestParams
|
|
1504
|
+
class Klarna < ::Stripe::RequestParams
|
|
1505
|
+
class OnDemand < ::Stripe::RequestParams
|
|
2391
1506
|
# Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc.
|
|
2392
1507
|
attr_accessor :average_amount
|
|
2393
1508
|
# The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc.
|
|
@@ -2414,8 +1529,8 @@ module Stripe
|
|
|
2414
1529
|
end
|
|
2415
1530
|
end
|
|
2416
1531
|
|
|
2417
|
-
class Subscription < Stripe::RequestParams
|
|
2418
|
-
class NextBilling < Stripe::RequestParams
|
|
1532
|
+
class Subscription < ::Stripe::RequestParams
|
|
1533
|
+
class NextBilling < ::Stripe::RequestParams
|
|
2419
1534
|
# The amount of the next charge for the subscription.
|
|
2420
1535
|
attr_accessor :amount
|
|
2421
1536
|
# The date of the next charge for the subscription in YYYY-MM-DD format.
|
|
@@ -2489,7 +1604,7 @@ module Stripe
|
|
|
2489
1604
|
end
|
|
2490
1605
|
end
|
|
2491
1606
|
|
|
2492
|
-
class Konbini < Stripe::RequestParams
|
|
1607
|
+
class Konbini < ::Stripe::RequestParams
|
|
2493
1608
|
# An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores. Must not consist of only zeroes and could be rejected in case of insufficient uniqueness. We recommend to use the customer's phone number.
|
|
2494
1609
|
attr_accessor :confirmation_number
|
|
2495
1610
|
# The number of calendar days (between 1 and 60) after which Konbini payment instructions will expire. For example, if a PaymentIntent is confirmed with Konbini and `expires_after_days` set to 2 on Monday JST, the instructions will expire on Wednesday 23:59:59 JST. Defaults to 3 days.
|
|
@@ -2524,7 +1639,7 @@ module Stripe
|
|
|
2524
1639
|
end
|
|
2525
1640
|
end
|
|
2526
1641
|
|
|
2527
|
-
class KrCard < Stripe::RequestParams
|
|
1642
|
+
class KrCard < ::Stripe::RequestParams
|
|
2528
1643
|
# Controls when the funds are captured from the customer's account.
|
|
2529
1644
|
#
|
|
2530
1645
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -2546,7 +1661,7 @@ module Stripe
|
|
|
2546
1661
|
end
|
|
2547
1662
|
end
|
|
2548
1663
|
|
|
2549
|
-
class Link < Stripe::RequestParams
|
|
1664
|
+
class Link < ::Stripe::RequestParams
|
|
2550
1665
|
# Controls when the funds are captured from the customer's account.
|
|
2551
1666
|
#
|
|
2552
1667
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -2573,7 +1688,7 @@ module Stripe
|
|
|
2573
1688
|
end
|
|
2574
1689
|
end
|
|
2575
1690
|
|
|
2576
|
-
class MbWay < Stripe::RequestParams
|
|
1691
|
+
class MbWay < ::Stripe::RequestParams
|
|
2577
1692
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2578
1693
|
#
|
|
2579
1694
|
# 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.
|
|
@@ -2590,7 +1705,7 @@ module Stripe
|
|
|
2590
1705
|
end
|
|
2591
1706
|
end
|
|
2592
1707
|
|
|
2593
|
-
class Mobilepay < Stripe::RequestParams
|
|
1708
|
+
class Mobilepay < ::Stripe::RequestParams
|
|
2594
1709
|
# Controls when the funds are captured from the customer's account.
|
|
2595
1710
|
#
|
|
2596
1711
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -2614,7 +1729,7 @@ module Stripe
|
|
|
2614
1729
|
end
|
|
2615
1730
|
end
|
|
2616
1731
|
|
|
2617
|
-
class Multibanco < Stripe::RequestParams
|
|
1732
|
+
class Multibanco < ::Stripe::RequestParams
|
|
2618
1733
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2619
1734
|
#
|
|
2620
1735
|
# 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.
|
|
@@ -2631,7 +1746,7 @@ module Stripe
|
|
|
2631
1746
|
end
|
|
2632
1747
|
end
|
|
2633
1748
|
|
|
2634
|
-
class NaverPay < Stripe::RequestParams
|
|
1749
|
+
class NaverPay < ::Stripe::RequestParams
|
|
2635
1750
|
# Controls when the funds are captured from the customer's account.
|
|
2636
1751
|
#
|
|
2637
1752
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -2653,7 +1768,7 @@ module Stripe
|
|
|
2653
1768
|
end
|
|
2654
1769
|
end
|
|
2655
1770
|
|
|
2656
|
-
class NzBankAccount < Stripe::RequestParams
|
|
1771
|
+
class NzBankAccount < ::Stripe::RequestParams
|
|
2657
1772
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2658
1773
|
#
|
|
2659
1774
|
# 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.
|
|
@@ -2673,7 +1788,7 @@ module Stripe
|
|
|
2673
1788
|
end
|
|
2674
1789
|
end
|
|
2675
1790
|
|
|
2676
|
-
class Oxxo < Stripe::RequestParams
|
|
1791
|
+
class Oxxo < ::Stripe::RequestParams
|
|
2677
1792
|
# The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time.
|
|
2678
1793
|
attr_accessor :expires_after_days
|
|
2679
1794
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -2693,7 +1808,7 @@ module Stripe
|
|
|
2693
1808
|
end
|
|
2694
1809
|
end
|
|
2695
1810
|
|
|
2696
|
-
class P24 < Stripe::RequestParams
|
|
1811
|
+
class P24 < ::Stripe::RequestParams
|
|
2697
1812
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2698
1813
|
#
|
|
2699
1814
|
# 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.
|
|
@@ -2713,9 +1828,9 @@ module Stripe
|
|
|
2713
1828
|
end
|
|
2714
1829
|
end
|
|
2715
1830
|
|
|
2716
|
-
class PayByBank < Stripe::RequestParams; end
|
|
1831
|
+
class PayByBank < ::Stripe::RequestParams; end
|
|
2717
1832
|
|
|
2718
|
-
class Payco < Stripe::RequestParams
|
|
1833
|
+
class Payco < ::Stripe::RequestParams
|
|
2719
1834
|
# Controls when the funds are captured from the customer's account.
|
|
2720
1835
|
#
|
|
2721
1836
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -2728,7 +1843,7 @@ module Stripe
|
|
|
2728
1843
|
end
|
|
2729
1844
|
end
|
|
2730
1845
|
|
|
2731
|
-
class Paynow < Stripe::RequestParams
|
|
1846
|
+
class Paynow < ::Stripe::RequestParams
|
|
2732
1847
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2733
1848
|
#
|
|
2734
1849
|
# 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.
|
|
@@ -2745,66 +1860,13 @@ module Stripe
|
|
|
2745
1860
|
end
|
|
2746
1861
|
end
|
|
2747
1862
|
|
|
2748
|
-
class Paypal < Stripe::RequestParams
|
|
2749
|
-
class LineItem < Stripe::RequestParams
|
|
2750
|
-
class Tax < Stripe::RequestParams
|
|
2751
|
-
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2752
|
-
attr_accessor :amount
|
|
2753
|
-
# The tax behavior for the line item.
|
|
2754
|
-
attr_accessor :behavior
|
|
2755
|
-
|
|
2756
|
-
def initialize(amount: nil, behavior: nil)
|
|
2757
|
-
@amount = amount
|
|
2758
|
-
@behavior = behavior
|
|
2759
|
-
end
|
|
2760
|
-
end
|
|
2761
|
-
# Type of the line item.
|
|
2762
|
-
attr_accessor :category
|
|
2763
|
-
# Description of the line item.
|
|
2764
|
-
attr_accessor :description
|
|
2765
|
-
# Descriptive name of the line item.
|
|
2766
|
-
attr_accessor :name
|
|
2767
|
-
# Quantity of the line item. Must be a positive number.
|
|
2768
|
-
attr_accessor :quantity
|
|
2769
|
-
# Client facing stock keeping unit, article number or similar.
|
|
2770
|
-
attr_accessor :sku
|
|
2771
|
-
# The Stripe account ID of the connected account that sells the item.
|
|
2772
|
-
attr_accessor :sold_by
|
|
2773
|
-
# The tax information for the line item.
|
|
2774
|
-
attr_accessor :tax
|
|
2775
|
-
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2776
|
-
attr_accessor :unit_amount
|
|
2777
|
-
|
|
2778
|
-
def initialize(
|
|
2779
|
-
category: nil,
|
|
2780
|
-
description: nil,
|
|
2781
|
-
name: nil,
|
|
2782
|
-
quantity: nil,
|
|
2783
|
-
sku: nil,
|
|
2784
|
-
sold_by: nil,
|
|
2785
|
-
tax: nil,
|
|
2786
|
-
unit_amount: nil
|
|
2787
|
-
)
|
|
2788
|
-
@category = category
|
|
2789
|
-
@description = description
|
|
2790
|
-
@name = name
|
|
2791
|
-
@quantity = quantity
|
|
2792
|
-
@sku = sku
|
|
2793
|
-
@sold_by = sold_by
|
|
2794
|
-
@tax = tax
|
|
2795
|
-
@unit_amount = unit_amount
|
|
2796
|
-
end
|
|
2797
|
-
end
|
|
1863
|
+
class Paypal < ::Stripe::RequestParams
|
|
2798
1864
|
# Controls when the funds will be captured from the customer's account.
|
|
2799
1865
|
attr_accessor :capture_method
|
|
2800
|
-
# The line items purchased by the customer.
|
|
2801
|
-
attr_accessor :line_items
|
|
2802
1866
|
# [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
|
2803
1867
|
attr_accessor :preferred_locale
|
|
2804
1868
|
# 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.
|
|
2805
1869
|
attr_accessor :reference
|
|
2806
|
-
# 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.
|
|
2807
|
-
attr_accessor :reference_id
|
|
2808
1870
|
# The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
|
2809
1871
|
attr_accessor :risk_correlation_id
|
|
2810
1872
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -2817,140 +1879,29 @@ module Stripe
|
|
|
2817
1879
|
#
|
|
2818
1880
|
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
2819
1881
|
attr_accessor :setup_future_usage
|
|
2820
|
-
# 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.
|
|
2821
|
-
attr_accessor :subsellers
|
|
2822
1882
|
|
|
2823
1883
|
def initialize(
|
|
2824
1884
|
capture_method: nil,
|
|
2825
|
-
line_items: nil,
|
|
2826
1885
|
preferred_locale: nil,
|
|
2827
1886
|
reference: nil,
|
|
2828
|
-
reference_id: nil,
|
|
2829
1887
|
risk_correlation_id: nil,
|
|
2830
|
-
setup_future_usage: nil
|
|
2831
|
-
subsellers: nil
|
|
1888
|
+
setup_future_usage: nil
|
|
2832
1889
|
)
|
|
2833
1890
|
@capture_method = capture_method
|
|
2834
|
-
@line_items = line_items
|
|
2835
1891
|
@preferred_locale = preferred_locale
|
|
2836
1892
|
@reference = reference
|
|
2837
|
-
@reference_id = reference_id
|
|
2838
1893
|
@risk_correlation_id = risk_correlation_id
|
|
2839
1894
|
@setup_future_usage = setup_future_usage
|
|
2840
|
-
@subsellers = subsellers
|
|
2841
1895
|
end
|
|
2842
1896
|
end
|
|
2843
1897
|
|
|
2844
|
-
class
|
|
2845
|
-
# Controls when the funds are captured from the customer's account.
|
|
2846
|
-
#
|
|
2847
|
-
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
2848
|
-
#
|
|
2849
|
-
# If `capture_method` is already set on the PaymentIntent, providing an empty value for this parameter unsets the stored value for this payment method type.
|
|
2850
|
-
attr_accessor :capture_method
|
|
2851
|
-
|
|
2852
|
-
def initialize(capture_method: nil)
|
|
2853
|
-
@capture_method = capture_method
|
|
2854
|
-
end
|
|
2855
|
-
end
|
|
2856
|
-
|
|
2857
|
-
class Payto < Stripe::RequestParams
|
|
2858
|
-
class MandateOptions < Stripe::RequestParams
|
|
2859
|
-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
2860
|
-
attr_accessor :amount
|
|
2861
|
-
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
|
2862
|
-
attr_accessor :amount_type
|
|
2863
|
-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
2864
|
-
attr_accessor :end_date
|
|
2865
|
-
# The periodicity at which payments will be collected.
|
|
2866
|
-
attr_accessor :payment_schedule
|
|
2867
|
-
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
|
2868
|
-
attr_accessor :payments_per_period
|
|
2869
|
-
# The purpose for which payments are made. Defaults to retail.
|
|
2870
|
-
attr_accessor :purpose
|
|
2871
|
-
|
|
2872
|
-
def initialize(
|
|
2873
|
-
amount: nil,
|
|
2874
|
-
amount_type: nil,
|
|
2875
|
-
end_date: nil,
|
|
2876
|
-
payment_schedule: nil,
|
|
2877
|
-
payments_per_period: nil,
|
|
2878
|
-
purpose: nil
|
|
2879
|
-
)
|
|
2880
|
-
@amount = amount
|
|
2881
|
-
@amount_type = amount_type
|
|
2882
|
-
@end_date = end_date
|
|
2883
|
-
@payment_schedule = payment_schedule
|
|
2884
|
-
@payments_per_period = payments_per_period
|
|
2885
|
-
@purpose = purpose
|
|
2886
|
-
end
|
|
2887
|
-
end
|
|
2888
|
-
# Additional fields for Mandate creation. Only `purpose` field is configurable for PayTo PaymentIntent with `setup_future_usage=none`. Other fields are only applicable to PayTo PaymentIntent with `setup_future_usage=off_session`
|
|
2889
|
-
attr_accessor :mandate_options
|
|
2890
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2891
|
-
#
|
|
2892
|
-
# 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.
|
|
2893
|
-
#
|
|
2894
|
-
# 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.
|
|
2895
|
-
#
|
|
2896
|
-
# 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).
|
|
2897
|
-
#
|
|
2898
|
-
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
2899
|
-
attr_accessor :setup_future_usage
|
|
2900
|
-
|
|
2901
|
-
def initialize(mandate_options: nil, setup_future_usage: nil)
|
|
2902
|
-
@mandate_options = mandate_options
|
|
2903
|
-
@setup_future_usage = setup_future_usage
|
|
2904
|
-
end
|
|
2905
|
-
end
|
|
2906
|
-
|
|
2907
|
-
class Pix < Stripe::RequestParams
|
|
2908
|
-
class MandateOptions < Stripe::RequestParams
|
|
2909
|
-
# Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
|
|
2910
|
-
attr_accessor :amount
|
|
2911
|
-
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
2912
|
-
attr_accessor :amount_includes_iof
|
|
2913
|
-
# Type of amount. Defaults to `maximum`.
|
|
2914
|
-
attr_accessor :amount_type
|
|
2915
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
|
|
2916
|
-
attr_accessor :currency
|
|
2917
|
-
# Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
|
2918
|
-
attr_accessor :end_date
|
|
2919
|
-
# Schedule at which the future payments will be charged. Defaults to `weekly`.
|
|
2920
|
-
attr_accessor :payment_schedule
|
|
2921
|
-
# Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
|
|
2922
|
-
attr_accessor :reference
|
|
2923
|
-
# Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date.
|
|
2924
|
-
attr_accessor :start_date
|
|
2925
|
-
|
|
2926
|
-
def initialize(
|
|
2927
|
-
amount: nil,
|
|
2928
|
-
amount_includes_iof: nil,
|
|
2929
|
-
amount_type: nil,
|
|
2930
|
-
currency: nil,
|
|
2931
|
-
end_date: nil,
|
|
2932
|
-
payment_schedule: nil,
|
|
2933
|
-
reference: nil,
|
|
2934
|
-
start_date: nil
|
|
2935
|
-
)
|
|
2936
|
-
@amount = amount
|
|
2937
|
-
@amount_includes_iof = amount_includes_iof
|
|
2938
|
-
@amount_type = amount_type
|
|
2939
|
-
@currency = currency
|
|
2940
|
-
@end_date = end_date
|
|
2941
|
-
@payment_schedule = payment_schedule
|
|
2942
|
-
@reference = reference
|
|
2943
|
-
@start_date = start_date
|
|
2944
|
-
end
|
|
2945
|
-
end
|
|
1898
|
+
class Pix < ::Stripe::RequestParams
|
|
2946
1899
|
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
2947
1900
|
attr_accessor :amount_includes_iof
|
|
2948
1901
|
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
|
|
2949
1902
|
attr_accessor :expires_after_seconds
|
|
2950
1903
|
# The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
|
|
2951
1904
|
attr_accessor :expires_at
|
|
2952
|
-
# Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
|
|
2953
|
-
attr_accessor :mandate_options
|
|
2954
1905
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2955
1906
|
#
|
|
2956
1907
|
# 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.
|
|
@@ -2966,18 +1917,16 @@ module Stripe
|
|
|
2966
1917
|
amount_includes_iof: nil,
|
|
2967
1918
|
expires_after_seconds: nil,
|
|
2968
1919
|
expires_at: nil,
|
|
2969
|
-
mandate_options: nil,
|
|
2970
1920
|
setup_future_usage: nil
|
|
2971
1921
|
)
|
|
2972
1922
|
@amount_includes_iof = amount_includes_iof
|
|
2973
1923
|
@expires_after_seconds = expires_after_seconds
|
|
2974
1924
|
@expires_at = expires_at
|
|
2975
|
-
@mandate_options = mandate_options
|
|
2976
1925
|
@setup_future_usage = setup_future_usage
|
|
2977
1926
|
end
|
|
2978
1927
|
end
|
|
2979
1928
|
|
|
2980
|
-
class Promptpay < Stripe::RequestParams
|
|
1929
|
+
class Promptpay < ::Stripe::RequestParams
|
|
2981
1930
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2982
1931
|
#
|
|
2983
1932
|
# 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.
|
|
@@ -2994,26 +1943,7 @@ module Stripe
|
|
|
2994
1943
|
end
|
|
2995
1944
|
end
|
|
2996
1945
|
|
|
2997
|
-
class
|
|
2998
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2999
|
-
#
|
|
3000
|
-
# 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.
|
|
3001
|
-
#
|
|
3002
|
-
# 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.
|
|
3003
|
-
#
|
|
3004
|
-
# 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).
|
|
3005
|
-
#
|
|
3006
|
-
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
3007
|
-
attr_accessor :setup_future_usage
|
|
3008
|
-
|
|
3009
|
-
def initialize(setup_future_usage: nil)
|
|
3010
|
-
@setup_future_usage = setup_future_usage
|
|
3011
|
-
end
|
|
3012
|
-
end
|
|
3013
|
-
|
|
3014
|
-
class Rechnung < Stripe::RequestParams; end
|
|
3015
|
-
|
|
3016
|
-
class RevolutPay < Stripe::RequestParams
|
|
1946
|
+
class RevolutPay < ::Stripe::RequestParams
|
|
3017
1947
|
# Controls when the funds are captured from the customer's account.
|
|
3018
1948
|
#
|
|
3019
1949
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -3035,7 +1965,7 @@ module Stripe
|
|
|
3035
1965
|
end
|
|
3036
1966
|
end
|
|
3037
1967
|
|
|
3038
|
-
class SamsungPay < Stripe::RequestParams
|
|
1968
|
+
class SamsungPay < ::Stripe::RequestParams
|
|
3039
1969
|
# Controls when the funds are captured from the customer's account.
|
|
3040
1970
|
#
|
|
3041
1971
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -3048,7 +1978,7 @@ module Stripe
|
|
|
3048
1978
|
end
|
|
3049
1979
|
end
|
|
3050
1980
|
|
|
3051
|
-
class Satispay < Stripe::RequestParams
|
|
1981
|
+
class Satispay < ::Stripe::RequestParams
|
|
3052
1982
|
# Controls when the funds are captured from the customer's account.
|
|
3053
1983
|
#
|
|
3054
1984
|
# If provided, this parameter overrides the behavior of the top-level [capture_method](/api/payment_intents/update#update_payment_intent-capture_method) for this payment method type when finalizing the payment with this payment method type.
|
|
@@ -3061,8 +1991,8 @@ module Stripe
|
|
|
3061
1991
|
end
|
|
3062
1992
|
end
|
|
3063
1993
|
|
|
3064
|
-
class SepaDebit < Stripe::RequestParams
|
|
3065
|
-
class MandateOptions < Stripe::RequestParams
|
|
1994
|
+
class SepaDebit < ::Stripe::RequestParams
|
|
1995
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
3066
1996
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
|
|
3067
1997
|
attr_accessor :reference_prefix
|
|
3068
1998
|
|
|
@@ -3092,24 +2022,7 @@ module Stripe
|
|
|
3092
2022
|
end
|
|
3093
2023
|
end
|
|
3094
2024
|
|
|
3095
|
-
class
|
|
3096
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3097
|
-
#
|
|
3098
|
-
# 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.
|
|
3099
|
-
#
|
|
3100
|
-
# 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.
|
|
3101
|
-
#
|
|
3102
|
-
# 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).
|
|
3103
|
-
#
|
|
3104
|
-
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
3105
|
-
attr_accessor :setup_future_usage
|
|
3106
|
-
|
|
3107
|
-
def initialize(setup_future_usage: nil)
|
|
3108
|
-
@setup_future_usage = setup_future_usage
|
|
3109
|
-
end
|
|
3110
|
-
end
|
|
3111
|
-
|
|
3112
|
-
class Sofort < Stripe::RequestParams
|
|
2025
|
+
class Sofort < ::Stripe::RequestParams
|
|
3113
2026
|
# Language shown to the payer on redirect.
|
|
3114
2027
|
attr_accessor :preferred_language
|
|
3115
2028
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -3129,24 +2042,7 @@ module Stripe
|
|
|
3129
2042
|
end
|
|
3130
2043
|
end
|
|
3131
2044
|
|
|
3132
|
-
class
|
|
3133
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3134
|
-
#
|
|
3135
|
-
# 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.
|
|
3136
|
-
#
|
|
3137
|
-
# 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.
|
|
3138
|
-
#
|
|
3139
|
-
# 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).
|
|
3140
|
-
#
|
|
3141
|
-
# If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
|
|
3142
|
-
attr_accessor :setup_future_usage
|
|
3143
|
-
|
|
3144
|
-
def initialize(setup_future_usage: nil)
|
|
3145
|
-
@setup_future_usage = setup_future_usage
|
|
3146
|
-
end
|
|
3147
|
-
end
|
|
3148
|
-
|
|
3149
|
-
class Swish < Stripe::RequestParams
|
|
2045
|
+
class Swish < ::Stripe::RequestParams
|
|
3150
2046
|
# A reference for this payment to be displayed in the Swish app.
|
|
3151
2047
|
attr_accessor :reference
|
|
3152
2048
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -3166,7 +2062,7 @@ module Stripe
|
|
|
3166
2062
|
end
|
|
3167
2063
|
end
|
|
3168
2064
|
|
|
3169
|
-
class Twint < Stripe::RequestParams
|
|
2065
|
+
class Twint < ::Stripe::RequestParams
|
|
3170
2066
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3171
2067
|
#
|
|
3172
2068
|
# 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.
|
|
@@ -3183,32 +2079,18 @@ module Stripe
|
|
|
3183
2079
|
end
|
|
3184
2080
|
end
|
|
3185
2081
|
|
|
3186
|
-
class UsBankAccount < Stripe::RequestParams
|
|
3187
|
-
class FinancialConnections < Stripe::RequestParams
|
|
3188
|
-
class Filters < Stripe::RequestParams
|
|
2082
|
+
class UsBankAccount < ::Stripe::RequestParams
|
|
2083
|
+
class FinancialConnections < ::Stripe::RequestParams
|
|
2084
|
+
class Filters < ::Stripe::RequestParams
|
|
3189
2085
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
3190
2086
|
attr_accessor :account_subcategories
|
|
3191
|
-
# ID of the institution to use to filter for selectable accounts.
|
|
3192
|
-
attr_accessor :institution
|
|
3193
2087
|
|
|
3194
|
-
def initialize(account_subcategories: nil
|
|
2088
|
+
def initialize(account_subcategories: nil)
|
|
3195
2089
|
@account_subcategories = account_subcategories
|
|
3196
|
-
@institution = institution
|
|
3197
|
-
end
|
|
3198
|
-
end
|
|
3199
|
-
|
|
3200
|
-
class ManualEntry < Stripe::RequestParams
|
|
3201
|
-
# Settings for configuring manual entry of account details.
|
|
3202
|
-
attr_accessor :mode
|
|
3203
|
-
|
|
3204
|
-
def initialize(mode: nil)
|
|
3205
|
-
@mode = mode
|
|
3206
2090
|
end
|
|
3207
2091
|
end
|
|
3208
2092
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
|
3209
2093
|
attr_accessor :filters
|
|
3210
|
-
# Customize manual entry behavior
|
|
3211
|
-
attr_accessor :manual_entry
|
|
3212
2094
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
|
3213
2095
|
attr_accessor :permissions
|
|
3214
2096
|
# List of data features that you would like to retrieve upon account creation.
|
|
@@ -3216,22 +2098,15 @@ module Stripe
|
|
|
3216
2098
|
# For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
|
3217
2099
|
attr_accessor :return_url
|
|
3218
2100
|
|
|
3219
|
-
def initialize(
|
|
3220
|
-
filters: nil,
|
|
3221
|
-
manual_entry: nil,
|
|
3222
|
-
permissions: nil,
|
|
3223
|
-
prefetch: nil,
|
|
3224
|
-
return_url: nil
|
|
3225
|
-
)
|
|
2101
|
+
def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
|
|
3226
2102
|
@filters = filters
|
|
3227
|
-
@manual_entry = manual_entry
|
|
3228
2103
|
@permissions = permissions
|
|
3229
2104
|
@prefetch = prefetch
|
|
3230
2105
|
@return_url = return_url
|
|
3231
2106
|
end
|
|
3232
2107
|
end
|
|
3233
2108
|
|
|
3234
|
-
class MandateOptions < Stripe::RequestParams
|
|
2109
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
3235
2110
|
# The method used to collect offline mandate customer acceptance.
|
|
3236
2111
|
attr_accessor :collection_method
|
|
3237
2112
|
|
|
@@ -3240,7 +2115,7 @@ module Stripe
|
|
|
3240
2115
|
end
|
|
3241
2116
|
end
|
|
3242
2117
|
|
|
3243
|
-
class Networks < Stripe::RequestParams
|
|
2118
|
+
class Networks < ::Stripe::RequestParams
|
|
3244
2119
|
# Triggers validations to run across the selected networks
|
|
3245
2120
|
attr_accessor :requested
|
|
3246
2121
|
|
|
@@ -3290,7 +2165,7 @@ module Stripe
|
|
|
3290
2165
|
end
|
|
3291
2166
|
end
|
|
3292
2167
|
|
|
3293
|
-
class WechatPay < Stripe::RequestParams
|
|
2168
|
+
class WechatPay < ::Stripe::RequestParams
|
|
3294
2169
|
# The app ID registered with WeChat Pay. Only required when client is ios or android.
|
|
3295
2170
|
attr_accessor :app_id
|
|
3296
2171
|
# The client type that the end customer will pay from
|
|
@@ -3313,7 +2188,7 @@ module Stripe
|
|
|
3313
2188
|
end
|
|
3314
2189
|
end
|
|
3315
2190
|
|
|
3316
|
-
class Zip < Stripe::RequestParams
|
|
2191
|
+
class Zip < ::Stripe::RequestParams
|
|
3317
2192
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3318
2193
|
#
|
|
3319
2194
|
# 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.
|
|
@@ -3369,12 +2244,8 @@ module Stripe
|
|
|
3369
2244
|
attr_accessor :fpx
|
|
3370
2245
|
# If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
|
|
3371
2246
|
attr_accessor :giropay
|
|
3372
|
-
# If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
|
|
3373
|
-
attr_accessor :gopay
|
|
3374
2247
|
# If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
|
|
3375
2248
|
attr_accessor :grabpay
|
|
3376
|
-
# If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
|
|
3377
|
-
attr_accessor :id_bank_transfer
|
|
3378
2249
|
# If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
|
|
3379
2250
|
attr_accessor :ideal
|
|
3380
2251
|
# If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
|
|
@@ -3411,18 +2282,10 @@ module Stripe
|
|
|
3411
2282
|
attr_accessor :paynow
|
|
3412
2283
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
|
3413
2284
|
attr_accessor :paypal
|
|
3414
|
-
# If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
|
|
3415
|
-
attr_accessor :paypay
|
|
3416
|
-
# If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
|
|
3417
|
-
attr_accessor :payto
|
|
3418
2285
|
# If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
|
|
3419
2286
|
attr_accessor :pix
|
|
3420
2287
|
# If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
|
|
3421
2288
|
attr_accessor :promptpay
|
|
3422
|
-
# If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
|
|
3423
|
-
attr_accessor :qris
|
|
3424
|
-
# If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
|
|
3425
|
-
attr_accessor :rechnung
|
|
3426
2289
|
# If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
|
|
3427
2290
|
attr_accessor :revolut_pay
|
|
3428
2291
|
# If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
|
|
@@ -3431,12 +2294,8 @@ module Stripe
|
|
|
3431
2294
|
attr_accessor :satispay
|
|
3432
2295
|
# If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
3433
2296
|
attr_accessor :sepa_debit
|
|
3434
|
-
# If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
|
|
3435
|
-
attr_accessor :shopeepay
|
|
3436
2297
|
# If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
|
|
3437
2298
|
attr_accessor :sofort
|
|
3438
|
-
# If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
|
|
3439
|
-
attr_accessor :stripe_balance
|
|
3440
2299
|
# If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
|
|
3441
2300
|
attr_accessor :swish
|
|
3442
2301
|
# If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
|
|
@@ -3469,9 +2328,7 @@ module Stripe
|
|
|
3469
2328
|
eps: nil,
|
|
3470
2329
|
fpx: nil,
|
|
3471
2330
|
giropay: nil,
|
|
3472
|
-
gopay: nil,
|
|
3473
2331
|
grabpay: nil,
|
|
3474
|
-
id_bank_transfer: nil,
|
|
3475
2332
|
ideal: nil,
|
|
3476
2333
|
interac_present: nil,
|
|
3477
2334
|
kakao_pay: nil,
|
|
@@ -3490,19 +2347,13 @@ module Stripe
|
|
|
3490
2347
|
payco: nil,
|
|
3491
2348
|
paynow: nil,
|
|
3492
2349
|
paypal: nil,
|
|
3493
|
-
paypay: nil,
|
|
3494
|
-
payto: nil,
|
|
3495
2350
|
pix: nil,
|
|
3496
2351
|
promptpay: nil,
|
|
3497
|
-
qris: nil,
|
|
3498
|
-
rechnung: nil,
|
|
3499
2352
|
revolut_pay: nil,
|
|
3500
2353
|
samsung_pay: nil,
|
|
3501
2354
|
satispay: nil,
|
|
3502
2355
|
sepa_debit: nil,
|
|
3503
|
-
shopeepay: nil,
|
|
3504
2356
|
sofort: nil,
|
|
3505
|
-
stripe_balance: nil,
|
|
3506
2357
|
swish: nil,
|
|
3507
2358
|
twint: nil,
|
|
3508
2359
|
us_bank_account: nil,
|
|
@@ -3529,9 +2380,7 @@ module Stripe
|
|
|
3529
2380
|
@eps = eps
|
|
3530
2381
|
@fpx = fpx
|
|
3531
2382
|
@giropay = giropay
|
|
3532
|
-
@gopay = gopay
|
|
3533
2383
|
@grabpay = grabpay
|
|
3534
|
-
@id_bank_transfer = id_bank_transfer
|
|
3535
2384
|
@ideal = ideal
|
|
3536
2385
|
@interac_present = interac_present
|
|
3537
2386
|
@kakao_pay = kakao_pay
|
|
@@ -3550,19 +2399,13 @@ module Stripe
|
|
|
3550
2399
|
@payco = payco
|
|
3551
2400
|
@paynow = paynow
|
|
3552
2401
|
@paypal = paypal
|
|
3553
|
-
@paypay = paypay
|
|
3554
|
-
@payto = payto
|
|
3555
2402
|
@pix = pix
|
|
3556
2403
|
@promptpay = promptpay
|
|
3557
|
-
@qris = qris
|
|
3558
|
-
@rechnung = rechnung
|
|
3559
2404
|
@revolut_pay = revolut_pay
|
|
3560
2405
|
@samsung_pay = samsung_pay
|
|
3561
2406
|
@satispay = satispay
|
|
3562
2407
|
@sepa_debit = sepa_debit
|
|
3563
|
-
@shopeepay = shopeepay
|
|
3564
2408
|
@sofort = sofort
|
|
3565
|
-
@stripe_balance = stripe_balance
|
|
3566
2409
|
@swish = swish
|
|
3567
2410
|
@twint = twint
|
|
3568
2411
|
@us_bank_account = us_bank_account
|
|
@@ -3571,7 +2414,7 @@ module Stripe
|
|
|
3571
2414
|
end
|
|
3572
2415
|
end
|
|
3573
2416
|
|
|
3574
|
-
class RadarOptions < Stripe::RequestParams
|
|
2417
|
+
class RadarOptions < ::Stripe::RequestParams
|
|
3575
2418
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
3576
2419
|
attr_accessor :session
|
|
3577
2420
|
|
|
@@ -3580,8 +2423,8 @@ module Stripe
|
|
|
3580
2423
|
end
|
|
3581
2424
|
end
|
|
3582
2425
|
|
|
3583
|
-
class Shipping < Stripe::RequestParams
|
|
3584
|
-
class Address < Stripe::RequestParams
|
|
2426
|
+
class Shipping < ::Stripe::RequestParams
|
|
2427
|
+
class Address < ::Stripe::RequestParams
|
|
3585
2428
|
# City, district, suburb, town, or village.
|
|
3586
2429
|
attr_accessor :city
|
|
3587
2430
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
@@ -3632,8 +2475,6 @@ module Stripe
|
|
|
3632
2475
|
end
|
|
3633
2476
|
# Provides industry-specific information about the amount.
|
|
3634
2477
|
attr_accessor :amount_details
|
|
3635
|
-
# 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://stripe.com/docs/payments/connected-accounts).
|
|
3636
|
-
attr_accessor :application_fee_amount
|
|
3637
2478
|
# Controls when the funds will be captured from the customer's account.
|
|
3638
2479
|
attr_accessor :capture_method
|
|
3639
2480
|
# ID of the ConfirmationToken used to confirm this PaymentIntent.
|
|
@@ -3646,10 +2487,6 @@ module Stripe
|
|
|
3646
2487
|
attr_accessor :excluded_payment_method_types
|
|
3647
2488
|
# Specifies which fields in the response should be expanded.
|
|
3648
2489
|
attr_accessor :expand
|
|
3649
|
-
# The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
|
|
3650
|
-
attr_accessor :fx_quote
|
|
3651
|
-
# Automations to be run during the PaymentIntent lifecycle
|
|
3652
|
-
attr_accessor :hooks
|
|
3653
2490
|
# ID of the mandate that's used for this payment.
|
|
3654
2491
|
attr_accessor :mandate
|
|
3655
2492
|
# Attribute for param field mandate_data
|
|
@@ -3694,14 +2531,11 @@ module Stripe
|
|
|
3694
2531
|
|
|
3695
2532
|
def initialize(
|
|
3696
2533
|
amount_details: nil,
|
|
3697
|
-
application_fee_amount: nil,
|
|
3698
2534
|
capture_method: nil,
|
|
3699
2535
|
confirmation_token: nil,
|
|
3700
2536
|
error_on_requires_action: nil,
|
|
3701
2537
|
excluded_payment_method_types: nil,
|
|
3702
2538
|
expand: nil,
|
|
3703
|
-
fx_quote: nil,
|
|
3704
|
-
hooks: nil,
|
|
3705
2539
|
mandate: nil,
|
|
3706
2540
|
mandate_data: nil,
|
|
3707
2541
|
off_session: nil,
|
|
@@ -3718,14 +2552,11 @@ module Stripe
|
|
|
3718
2552
|
use_stripe_sdk: nil
|
|
3719
2553
|
)
|
|
3720
2554
|
@amount_details = amount_details
|
|
3721
|
-
@application_fee_amount = application_fee_amount
|
|
3722
2555
|
@capture_method = capture_method
|
|
3723
2556
|
@confirmation_token = confirmation_token
|
|
3724
2557
|
@error_on_requires_action = error_on_requires_action
|
|
3725
2558
|
@excluded_payment_method_types = excluded_payment_method_types
|
|
3726
2559
|
@expand = expand
|
|
3727
|
-
@fx_quote = fx_quote
|
|
3728
|
-
@hooks = hooks
|
|
3729
2560
|
@mandate = mandate
|
|
3730
2561
|
@mandate_data = mandate_data
|
|
3731
2562
|
@off_session = off_session
|