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 PaymentIntentCreateParams < Stripe::RequestParams
|
|
6
|
-
class AmountDetails < Stripe::RequestParams
|
|
7
|
-
class LineItem < Stripe::RequestParams
|
|
8
|
-
class PaymentMethodOptions < Stripe::RequestParams
|
|
9
|
-
class Card < Stripe::RequestParams
|
|
5
|
+
class PaymentIntentCreateParams < ::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,7 +174,7 @@ module Stripe
|
|
|
156
174
|
end
|
|
157
175
|
end
|
|
158
176
|
|
|
159
|
-
class AutomaticPaymentMethods < Stripe::RequestParams
|
|
177
|
+
class AutomaticPaymentMethods < ::Stripe::RequestParams
|
|
160
178
|
# Controls whether this PaymentIntent will accept redirect-based payment methods.
|
|
161
179
|
#
|
|
162
180
|
# Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/payment_intents/confirm) this PaymentIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the payment.
|
|
@@ -170,36 +188,11 @@ module Stripe
|
|
|
170
188
|
end
|
|
171
189
|
end
|
|
172
190
|
|
|
173
|
-
class
|
|
174
|
-
class
|
|
175
|
-
class
|
|
176
|
-
# The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
|
|
177
|
-
attr_accessor :calculation
|
|
178
|
-
|
|
179
|
-
def initialize(calculation: nil)
|
|
180
|
-
@calculation = calculation
|
|
181
|
-
end
|
|
182
|
-
end
|
|
183
|
-
# Tax arguments for automations
|
|
184
|
-
attr_accessor :tax
|
|
185
|
-
|
|
186
|
-
def initialize(tax: nil)
|
|
187
|
-
@tax = tax
|
|
188
|
-
end
|
|
189
|
-
end
|
|
190
|
-
# Arguments passed in automations
|
|
191
|
-
attr_accessor :inputs
|
|
192
|
-
|
|
193
|
-
def initialize(inputs: nil)
|
|
194
|
-
@inputs = inputs
|
|
195
|
-
end
|
|
196
|
-
end
|
|
197
|
-
|
|
198
|
-
class MandateData < Stripe::RequestParams
|
|
199
|
-
class CustomerAcceptance < Stripe::RequestParams
|
|
200
|
-
class Offline < Stripe::RequestParams; end
|
|
191
|
+
class MandateData < ::Stripe::RequestParams
|
|
192
|
+
class CustomerAcceptance < ::Stripe::RequestParams
|
|
193
|
+
class Offline < ::Stripe::RequestParams; end
|
|
201
194
|
|
|
202
|
-
class Online < Stripe::RequestParams
|
|
195
|
+
class Online < ::Stripe::RequestParams
|
|
203
196
|
# The IP address from which the Mandate was accepted by the customer.
|
|
204
197
|
attr_accessor :ip_address
|
|
205
198
|
# The user agent of the browser from which the Mandate was accepted by the customer.
|
|
@@ -234,713 +227,26 @@ module Stripe
|
|
|
234
227
|
end
|
|
235
228
|
end
|
|
236
229
|
|
|
237
|
-
class PaymentDetails < Stripe::RequestParams
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
attr_accessor :name
|
|
242
|
-
|
|
243
|
-
def initialize(name: nil)
|
|
244
|
-
@name = name
|
|
245
|
-
end
|
|
246
|
-
end
|
|
247
|
-
|
|
248
|
-
class Delivery < Stripe::RequestParams
|
|
249
|
-
class Recipient < Stripe::RequestParams
|
|
250
|
-
# The email of the recipient the ticket is delivered to.
|
|
251
|
-
attr_accessor :email
|
|
252
|
-
# The name of the recipient the ticket is delivered to.
|
|
253
|
-
attr_accessor :name
|
|
254
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
255
|
-
attr_accessor :phone
|
|
256
|
-
|
|
257
|
-
def initialize(email: nil, name: nil, phone: nil)
|
|
258
|
-
@email = email
|
|
259
|
-
@name = name
|
|
260
|
-
@phone = phone
|
|
261
|
-
end
|
|
262
|
-
end
|
|
263
|
-
# The delivery method for the payment
|
|
264
|
-
attr_accessor :mode
|
|
265
|
-
# Details of the recipient.
|
|
266
|
-
attr_accessor :recipient
|
|
267
|
-
|
|
268
|
-
def initialize(mode: nil, recipient: nil)
|
|
269
|
-
@mode = mode
|
|
270
|
-
@recipient = recipient
|
|
271
|
-
end
|
|
272
|
-
end
|
|
273
|
-
|
|
274
|
-
class Distance < Stripe::RequestParams
|
|
275
|
-
# Distance traveled.
|
|
276
|
-
attr_accessor :amount
|
|
277
|
-
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
278
|
-
attr_accessor :unit
|
|
279
|
-
|
|
280
|
-
def initialize(amount: nil, unit: nil)
|
|
281
|
-
@amount = amount
|
|
282
|
-
@unit = unit
|
|
283
|
-
end
|
|
284
|
-
end
|
|
285
|
-
|
|
286
|
-
class Driver < Stripe::RequestParams
|
|
287
|
-
# Driver's identification number.
|
|
288
|
-
attr_accessor :driver_identification_number
|
|
289
|
-
# Driver's tax number.
|
|
290
|
-
attr_accessor :driver_tax_number
|
|
291
|
-
# Full name of the person or entity on the car reservation.
|
|
292
|
-
attr_accessor :name
|
|
293
|
-
|
|
294
|
-
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
|
|
295
|
-
@driver_identification_number = driver_identification_number
|
|
296
|
-
@driver_tax_number = driver_tax_number
|
|
297
|
-
@name = name
|
|
298
|
-
end
|
|
299
|
-
end
|
|
300
|
-
|
|
301
|
-
class PickupAddress < Stripe::RequestParams
|
|
302
|
-
# City, district, suburb, town, or village.
|
|
303
|
-
attr_accessor :city
|
|
304
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
305
|
-
attr_accessor :country
|
|
306
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
307
|
-
attr_accessor :line1
|
|
308
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
309
|
-
attr_accessor :line2
|
|
310
|
-
# ZIP or postal code.
|
|
311
|
-
attr_accessor :postal_code
|
|
312
|
-
# State, county, province, or region.
|
|
313
|
-
attr_accessor :state
|
|
314
|
-
|
|
315
|
-
def initialize(
|
|
316
|
-
city: nil,
|
|
317
|
-
country: nil,
|
|
318
|
-
line1: nil,
|
|
319
|
-
line2: nil,
|
|
320
|
-
postal_code: nil,
|
|
321
|
-
state: nil
|
|
322
|
-
)
|
|
323
|
-
@city = city
|
|
324
|
-
@country = country
|
|
325
|
-
@line1 = line1
|
|
326
|
-
@line2 = line2
|
|
327
|
-
@postal_code = postal_code
|
|
328
|
-
@state = state
|
|
329
|
-
end
|
|
330
|
-
end
|
|
331
|
-
|
|
332
|
-
class ReturnAddress < Stripe::RequestParams
|
|
333
|
-
# City, district, suburb, town, or village.
|
|
334
|
-
attr_accessor :city
|
|
335
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
336
|
-
attr_accessor :country
|
|
337
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
338
|
-
attr_accessor :line1
|
|
339
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
340
|
-
attr_accessor :line2
|
|
341
|
-
# ZIP or postal code.
|
|
342
|
-
attr_accessor :postal_code
|
|
343
|
-
# State, county, province, or region.
|
|
344
|
-
attr_accessor :state
|
|
345
|
-
|
|
346
|
-
def initialize(
|
|
347
|
-
city: nil,
|
|
348
|
-
country: nil,
|
|
349
|
-
line1: nil,
|
|
350
|
-
line2: nil,
|
|
351
|
-
postal_code: nil,
|
|
352
|
-
state: nil
|
|
353
|
-
)
|
|
354
|
-
@city = city
|
|
355
|
-
@country = country
|
|
356
|
-
@line1 = line1
|
|
357
|
-
@line2 = line2
|
|
358
|
-
@postal_code = postal_code
|
|
359
|
-
@state = state
|
|
360
|
-
end
|
|
361
|
-
end
|
|
362
|
-
# Affiliate details for this purchase.
|
|
363
|
-
attr_accessor :affiliate
|
|
364
|
-
# The booking number associated with the car rental.
|
|
365
|
-
attr_accessor :booking_number
|
|
366
|
-
# Class code of the car.
|
|
367
|
-
attr_accessor :car_class_code
|
|
368
|
-
# Make of the car.
|
|
369
|
-
attr_accessor :car_make
|
|
370
|
-
# Model of the car.
|
|
371
|
-
attr_accessor :car_model
|
|
372
|
-
# The name of the rental car company.
|
|
373
|
-
attr_accessor :company
|
|
374
|
-
# The customer service phone number of the car rental company.
|
|
375
|
-
attr_accessor :customer_service_phone_number
|
|
376
|
-
# Number of days the car is being rented.
|
|
377
|
-
attr_accessor :days_rented
|
|
378
|
-
# Delivery details for this purchase.
|
|
379
|
-
attr_accessor :delivery
|
|
380
|
-
# The details of the distance traveled during the rental period.
|
|
381
|
-
attr_accessor :distance
|
|
382
|
-
# The details of the passengers in the travel reservation
|
|
383
|
-
attr_accessor :drivers
|
|
384
|
-
# List of additional charges being billed.
|
|
385
|
-
attr_accessor :extra_charges
|
|
386
|
-
# Indicates if the customer did not keep nor cancel their booking.
|
|
387
|
-
attr_accessor :no_show
|
|
388
|
-
# Car pick-up address.
|
|
389
|
-
attr_accessor :pickup_address
|
|
390
|
-
# Car pick-up time. Measured in seconds since the Unix epoch.
|
|
391
|
-
attr_accessor :pickup_at
|
|
392
|
-
# Name of the pickup location.
|
|
393
|
-
attr_accessor :pickup_location_name
|
|
394
|
-
# Rental rate.
|
|
395
|
-
attr_accessor :rate_amount
|
|
396
|
-
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
397
|
-
attr_accessor :rate_interval
|
|
398
|
-
# The name of the person or entity renting the car.
|
|
399
|
-
attr_accessor :renter_name
|
|
400
|
-
# Car return address.
|
|
401
|
-
attr_accessor :return_address
|
|
402
|
-
# Car return time. Measured in seconds since the Unix epoch.
|
|
403
|
-
attr_accessor :return_at
|
|
404
|
-
# Name of the return location.
|
|
405
|
-
attr_accessor :return_location_name
|
|
406
|
-
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
407
|
-
attr_accessor :tax_exempt
|
|
408
|
-
# The vehicle identification number.
|
|
409
|
-
attr_accessor :vehicle_identification_number
|
|
410
|
-
|
|
411
|
-
def initialize(
|
|
412
|
-
affiliate: nil,
|
|
413
|
-
booking_number: nil,
|
|
414
|
-
car_class_code: nil,
|
|
415
|
-
car_make: nil,
|
|
416
|
-
car_model: nil,
|
|
417
|
-
company: nil,
|
|
418
|
-
customer_service_phone_number: nil,
|
|
419
|
-
days_rented: nil,
|
|
420
|
-
delivery: nil,
|
|
421
|
-
distance: nil,
|
|
422
|
-
drivers: nil,
|
|
423
|
-
extra_charges: nil,
|
|
424
|
-
no_show: nil,
|
|
425
|
-
pickup_address: nil,
|
|
426
|
-
pickup_at: nil,
|
|
427
|
-
pickup_location_name: nil,
|
|
428
|
-
rate_amount: nil,
|
|
429
|
-
rate_interval: nil,
|
|
430
|
-
renter_name: nil,
|
|
431
|
-
return_address: nil,
|
|
432
|
-
return_at: nil,
|
|
433
|
-
return_location_name: nil,
|
|
434
|
-
tax_exempt: nil,
|
|
435
|
-
vehicle_identification_number: nil
|
|
436
|
-
)
|
|
437
|
-
@affiliate = affiliate
|
|
438
|
-
@booking_number = booking_number
|
|
439
|
-
@car_class_code = car_class_code
|
|
440
|
-
@car_make = car_make
|
|
441
|
-
@car_model = car_model
|
|
442
|
-
@company = company
|
|
443
|
-
@customer_service_phone_number = customer_service_phone_number
|
|
444
|
-
@days_rented = days_rented
|
|
445
|
-
@delivery = delivery
|
|
446
|
-
@distance = distance
|
|
447
|
-
@drivers = drivers
|
|
448
|
-
@extra_charges = extra_charges
|
|
449
|
-
@no_show = no_show
|
|
450
|
-
@pickup_address = pickup_address
|
|
451
|
-
@pickup_at = pickup_at
|
|
452
|
-
@pickup_location_name = pickup_location_name
|
|
453
|
-
@rate_amount = rate_amount
|
|
454
|
-
@rate_interval = rate_interval
|
|
455
|
-
@renter_name = renter_name
|
|
456
|
-
@return_address = return_address
|
|
457
|
-
@return_at = return_at
|
|
458
|
-
@return_location_name = return_location_name
|
|
459
|
-
@tax_exempt = tax_exempt
|
|
460
|
-
@vehicle_identification_number = vehicle_identification_number
|
|
461
|
-
end
|
|
462
|
-
end
|
|
463
|
-
|
|
464
|
-
class EventDetails < Stripe::RequestParams
|
|
465
|
-
class Address < Stripe::RequestParams
|
|
466
|
-
# City, district, suburb, town, or village.
|
|
467
|
-
attr_accessor :city
|
|
468
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
469
|
-
attr_accessor :country
|
|
470
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
471
|
-
attr_accessor :line1
|
|
472
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
473
|
-
attr_accessor :line2
|
|
474
|
-
# ZIP or postal code.
|
|
475
|
-
attr_accessor :postal_code
|
|
476
|
-
# State, county, province, or region.
|
|
477
|
-
attr_accessor :state
|
|
478
|
-
|
|
479
|
-
def initialize(
|
|
480
|
-
city: nil,
|
|
481
|
-
country: nil,
|
|
482
|
-
line1: nil,
|
|
483
|
-
line2: nil,
|
|
484
|
-
postal_code: nil,
|
|
485
|
-
state: nil
|
|
486
|
-
)
|
|
487
|
-
@city = city
|
|
488
|
-
@country = country
|
|
489
|
-
@line1 = line1
|
|
490
|
-
@line2 = line2
|
|
491
|
-
@postal_code = postal_code
|
|
492
|
-
@state = state
|
|
493
|
-
end
|
|
494
|
-
end
|
|
495
|
-
|
|
496
|
-
class Affiliate < Stripe::RequestParams
|
|
497
|
-
# The name of the affiliate that originated the purchase.
|
|
498
|
-
attr_accessor :name
|
|
499
|
-
|
|
500
|
-
def initialize(name: nil)
|
|
501
|
-
@name = name
|
|
502
|
-
end
|
|
503
|
-
end
|
|
504
|
-
|
|
505
|
-
class Delivery < Stripe::RequestParams
|
|
506
|
-
class Recipient < Stripe::RequestParams
|
|
507
|
-
# The email of the recipient the ticket is delivered to.
|
|
508
|
-
attr_accessor :email
|
|
509
|
-
# The name of the recipient the ticket is delivered to.
|
|
510
|
-
attr_accessor :name
|
|
511
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
512
|
-
attr_accessor :phone
|
|
513
|
-
|
|
514
|
-
def initialize(email: nil, name: nil, phone: nil)
|
|
515
|
-
@email = email
|
|
516
|
-
@name = name
|
|
517
|
-
@phone = phone
|
|
518
|
-
end
|
|
519
|
-
end
|
|
520
|
-
# The delivery method for the payment
|
|
521
|
-
attr_accessor :mode
|
|
522
|
-
# Details of the recipient.
|
|
523
|
-
attr_accessor :recipient
|
|
524
|
-
|
|
525
|
-
def initialize(mode: nil, recipient: nil)
|
|
526
|
-
@mode = mode
|
|
527
|
-
@recipient = recipient
|
|
528
|
-
end
|
|
529
|
-
end
|
|
530
|
-
# Indicates if the tickets are digitally checked when entering the venue.
|
|
531
|
-
attr_accessor :access_controlled_venue
|
|
532
|
-
# The event location's address.
|
|
533
|
-
attr_accessor :address
|
|
534
|
-
# Affiliate details for this purchase.
|
|
535
|
-
attr_accessor :affiliate
|
|
536
|
-
# The name of the company
|
|
537
|
-
attr_accessor :company
|
|
538
|
-
# Delivery details for this purchase.
|
|
539
|
-
attr_accessor :delivery
|
|
540
|
-
# Event end time. Measured in seconds since the Unix epoch.
|
|
541
|
-
attr_accessor :ends_at
|
|
542
|
-
# Type of the event entertainment (concert, sports event etc)
|
|
543
|
-
attr_accessor :genre
|
|
544
|
-
# The name of the event.
|
|
545
|
-
attr_accessor :name
|
|
546
|
-
# Event start time. Measured in seconds since the Unix epoch.
|
|
547
|
-
attr_accessor :starts_at
|
|
548
|
-
|
|
549
|
-
def initialize(
|
|
550
|
-
access_controlled_venue: nil,
|
|
551
|
-
address: nil,
|
|
552
|
-
affiliate: nil,
|
|
553
|
-
company: nil,
|
|
554
|
-
delivery: nil,
|
|
555
|
-
ends_at: nil,
|
|
556
|
-
genre: nil,
|
|
557
|
-
name: nil,
|
|
558
|
-
starts_at: nil
|
|
559
|
-
)
|
|
560
|
-
@access_controlled_venue = access_controlled_venue
|
|
561
|
-
@address = address
|
|
562
|
-
@affiliate = affiliate
|
|
563
|
-
@company = company
|
|
564
|
-
@delivery = delivery
|
|
565
|
-
@ends_at = ends_at
|
|
566
|
-
@genre = genre
|
|
567
|
-
@name = name
|
|
568
|
-
@starts_at = starts_at
|
|
569
|
-
end
|
|
570
|
-
end
|
|
571
|
-
|
|
572
|
-
class Flight < Stripe::RequestParams
|
|
573
|
-
class Affiliate < Stripe::RequestParams
|
|
574
|
-
# The name of the affiliate that originated the purchase.
|
|
575
|
-
attr_accessor :name
|
|
576
|
-
|
|
577
|
-
def initialize(name: nil)
|
|
578
|
-
@name = name
|
|
579
|
-
end
|
|
580
|
-
end
|
|
581
|
-
|
|
582
|
-
class Delivery < Stripe::RequestParams
|
|
583
|
-
class Recipient < Stripe::RequestParams
|
|
584
|
-
# The email of the recipient the ticket is delivered to.
|
|
585
|
-
attr_accessor :email
|
|
586
|
-
# The name of the recipient the ticket is delivered to.
|
|
587
|
-
attr_accessor :name
|
|
588
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
589
|
-
attr_accessor :phone
|
|
590
|
-
|
|
591
|
-
def initialize(email: nil, name: nil, phone: nil)
|
|
592
|
-
@email = email
|
|
593
|
-
@name = name
|
|
594
|
-
@phone = phone
|
|
595
|
-
end
|
|
596
|
-
end
|
|
597
|
-
# The delivery method for the payment
|
|
598
|
-
attr_accessor :mode
|
|
599
|
-
# Details of the recipient.
|
|
600
|
-
attr_accessor :recipient
|
|
601
|
-
|
|
602
|
-
def initialize(mode: nil, recipient: nil)
|
|
603
|
-
@mode = mode
|
|
604
|
-
@recipient = recipient
|
|
605
|
-
end
|
|
606
|
-
end
|
|
607
|
-
|
|
608
|
-
class Passenger < Stripe::RequestParams
|
|
609
|
-
# Full name of the person or entity on the flight reservation.
|
|
610
|
-
attr_accessor :name
|
|
611
|
-
|
|
612
|
-
def initialize(name: nil)
|
|
613
|
-
@name = name
|
|
614
|
-
end
|
|
615
|
-
end
|
|
616
|
-
|
|
617
|
-
class Segment < Stripe::RequestParams
|
|
618
|
-
# The flight segment amount.
|
|
619
|
-
attr_accessor :amount
|
|
620
|
-
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
|
621
|
-
attr_accessor :arrival_airport
|
|
622
|
-
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
|
623
|
-
attr_accessor :arrives_at
|
|
624
|
-
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
|
625
|
-
attr_accessor :carrier
|
|
626
|
-
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
|
627
|
-
attr_accessor :departs_at
|
|
628
|
-
# The International Air Transport Association (IATA) airport code for the departure airport.
|
|
629
|
-
attr_accessor :departure_airport
|
|
630
|
-
# The flight number associated with the segment
|
|
631
|
-
attr_accessor :flight_number
|
|
632
|
-
# The fare class for the segment.
|
|
633
|
-
attr_accessor :service_class
|
|
634
|
-
|
|
635
|
-
def initialize(
|
|
636
|
-
amount: nil,
|
|
637
|
-
arrival_airport: nil,
|
|
638
|
-
arrives_at: nil,
|
|
639
|
-
carrier: nil,
|
|
640
|
-
departs_at: nil,
|
|
641
|
-
departure_airport: nil,
|
|
642
|
-
flight_number: nil,
|
|
643
|
-
service_class: nil
|
|
644
|
-
)
|
|
645
|
-
@amount = amount
|
|
646
|
-
@arrival_airport = arrival_airport
|
|
647
|
-
@arrives_at = arrives_at
|
|
648
|
-
@carrier = carrier
|
|
649
|
-
@departs_at = departs_at
|
|
650
|
-
@departure_airport = departure_airport
|
|
651
|
-
@flight_number = flight_number
|
|
652
|
-
@service_class = service_class
|
|
653
|
-
end
|
|
654
|
-
end
|
|
655
|
-
# Affiliate details for this purchase.
|
|
656
|
-
attr_accessor :affiliate
|
|
657
|
-
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
|
658
|
-
attr_accessor :agency_number
|
|
659
|
-
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
|
660
|
-
attr_accessor :carrier
|
|
661
|
-
# Delivery details for this purchase.
|
|
662
|
-
attr_accessor :delivery
|
|
663
|
-
# The name of the person or entity on the reservation.
|
|
664
|
-
attr_accessor :passenger_name
|
|
665
|
-
# The details of the passengers in the travel reservation.
|
|
666
|
-
attr_accessor :passengers
|
|
667
|
-
# The individual flight segments associated with the trip.
|
|
668
|
-
attr_accessor :segments
|
|
669
|
-
# The ticket number associated with the travel reservation.
|
|
670
|
-
attr_accessor :ticket_number
|
|
671
|
-
|
|
672
|
-
def initialize(
|
|
673
|
-
affiliate: nil,
|
|
674
|
-
agency_number: nil,
|
|
675
|
-
carrier: nil,
|
|
676
|
-
delivery: nil,
|
|
677
|
-
passenger_name: nil,
|
|
678
|
-
passengers: nil,
|
|
679
|
-
segments: nil,
|
|
680
|
-
ticket_number: nil
|
|
681
|
-
)
|
|
682
|
-
@affiliate = affiliate
|
|
683
|
-
@agency_number = agency_number
|
|
684
|
-
@carrier = carrier
|
|
685
|
-
@delivery = delivery
|
|
686
|
-
@passenger_name = passenger_name
|
|
687
|
-
@passengers = passengers
|
|
688
|
-
@segments = segments
|
|
689
|
-
@ticket_number = ticket_number
|
|
690
|
-
end
|
|
691
|
-
end
|
|
692
|
-
|
|
693
|
-
class Lodging < Stripe::RequestParams
|
|
694
|
-
class Address < Stripe::RequestParams
|
|
695
|
-
# City, district, suburb, town, or village.
|
|
696
|
-
attr_accessor :city
|
|
697
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
698
|
-
attr_accessor :country
|
|
699
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
700
|
-
attr_accessor :line1
|
|
701
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
702
|
-
attr_accessor :line2
|
|
703
|
-
# ZIP or postal code.
|
|
704
|
-
attr_accessor :postal_code
|
|
705
|
-
# State, county, province, or region.
|
|
706
|
-
attr_accessor :state
|
|
707
|
-
|
|
708
|
-
def initialize(
|
|
709
|
-
city: nil,
|
|
710
|
-
country: nil,
|
|
711
|
-
line1: nil,
|
|
712
|
-
line2: nil,
|
|
713
|
-
postal_code: nil,
|
|
714
|
-
state: nil
|
|
715
|
-
)
|
|
716
|
-
@city = city
|
|
717
|
-
@country = country
|
|
718
|
-
@line1 = line1
|
|
719
|
-
@line2 = line2
|
|
720
|
-
@postal_code = postal_code
|
|
721
|
-
@state = state
|
|
722
|
-
end
|
|
723
|
-
end
|
|
724
|
-
|
|
725
|
-
class Affiliate < Stripe::RequestParams
|
|
726
|
-
# The name of the affiliate that originated the purchase.
|
|
727
|
-
attr_accessor :name
|
|
728
|
-
|
|
729
|
-
def initialize(name: nil)
|
|
730
|
-
@name = name
|
|
731
|
-
end
|
|
732
|
-
end
|
|
733
|
-
|
|
734
|
-
class Delivery < Stripe::RequestParams
|
|
735
|
-
class Recipient < Stripe::RequestParams
|
|
736
|
-
# The email of the recipient the ticket is delivered to.
|
|
737
|
-
attr_accessor :email
|
|
738
|
-
# The name of the recipient the ticket is delivered to.
|
|
739
|
-
attr_accessor :name
|
|
740
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
741
|
-
attr_accessor :phone
|
|
742
|
-
|
|
743
|
-
def initialize(email: nil, name: nil, phone: nil)
|
|
744
|
-
@email = email
|
|
745
|
-
@name = name
|
|
746
|
-
@phone = phone
|
|
747
|
-
end
|
|
748
|
-
end
|
|
749
|
-
# The delivery method for the payment
|
|
750
|
-
attr_accessor :mode
|
|
751
|
-
# Details of the recipient.
|
|
752
|
-
attr_accessor :recipient
|
|
753
|
-
|
|
754
|
-
def initialize(mode: nil, recipient: nil)
|
|
755
|
-
@mode = mode
|
|
756
|
-
@recipient = recipient
|
|
757
|
-
end
|
|
758
|
-
end
|
|
759
|
-
|
|
760
|
-
class Passenger < Stripe::RequestParams
|
|
761
|
-
# Full name of the person or entity on the lodging reservation.
|
|
762
|
-
attr_accessor :name
|
|
763
|
-
|
|
764
|
-
def initialize(name: nil)
|
|
765
|
-
@name = name
|
|
766
|
-
end
|
|
767
|
-
end
|
|
768
|
-
# The lodging location's address.
|
|
769
|
-
attr_accessor :address
|
|
770
|
-
# The number of adults on the booking
|
|
771
|
-
attr_accessor :adults
|
|
772
|
-
# Affiliate details for this purchase.
|
|
773
|
-
attr_accessor :affiliate
|
|
774
|
-
# The booking number associated with the lodging reservation.
|
|
775
|
-
attr_accessor :booking_number
|
|
776
|
-
# The lodging category
|
|
777
|
-
attr_accessor :category
|
|
778
|
-
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
|
779
|
-
attr_accessor :checkin_at
|
|
780
|
-
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
|
781
|
-
attr_accessor :checkout_at
|
|
782
|
-
# The customer service phone number of the lodging company.
|
|
783
|
-
attr_accessor :customer_service_phone_number
|
|
784
|
-
# The daily lodging room rate.
|
|
785
|
-
attr_accessor :daily_room_rate_amount
|
|
786
|
-
# Delivery details for this purchase.
|
|
787
|
-
attr_accessor :delivery
|
|
788
|
-
# List of additional charges being billed.
|
|
789
|
-
attr_accessor :extra_charges
|
|
790
|
-
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
|
791
|
-
attr_accessor :fire_safety_act_compliance
|
|
792
|
-
# The name of the lodging location.
|
|
793
|
-
attr_accessor :name
|
|
794
|
-
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
|
795
|
-
attr_accessor :no_show
|
|
796
|
-
# The number of rooms on the booking
|
|
797
|
-
attr_accessor :number_of_rooms
|
|
798
|
-
# The details of the passengers in the travel reservation
|
|
799
|
-
attr_accessor :passengers
|
|
800
|
-
# The phone number of the lodging location.
|
|
801
|
-
attr_accessor :property_phone_number
|
|
802
|
-
# The room class for this purchase.
|
|
803
|
-
attr_accessor :room_class
|
|
804
|
-
# The number of room nights
|
|
805
|
-
attr_accessor :room_nights
|
|
806
|
-
# The total tax amount associating with the room reservation.
|
|
807
|
-
attr_accessor :total_room_tax_amount
|
|
808
|
-
# The total tax amount
|
|
809
|
-
attr_accessor :total_tax_amount
|
|
810
|
-
|
|
811
|
-
def initialize(
|
|
812
|
-
address: nil,
|
|
813
|
-
adults: nil,
|
|
814
|
-
affiliate: nil,
|
|
815
|
-
booking_number: nil,
|
|
816
|
-
category: nil,
|
|
817
|
-
checkin_at: nil,
|
|
818
|
-
checkout_at: nil,
|
|
819
|
-
customer_service_phone_number: nil,
|
|
820
|
-
daily_room_rate_amount: nil,
|
|
821
|
-
delivery: nil,
|
|
822
|
-
extra_charges: nil,
|
|
823
|
-
fire_safety_act_compliance: nil,
|
|
824
|
-
name: nil,
|
|
825
|
-
no_show: nil,
|
|
826
|
-
number_of_rooms: nil,
|
|
827
|
-
passengers: nil,
|
|
828
|
-
property_phone_number: nil,
|
|
829
|
-
room_class: nil,
|
|
830
|
-
room_nights: nil,
|
|
831
|
-
total_room_tax_amount: nil,
|
|
832
|
-
total_tax_amount: nil
|
|
833
|
-
)
|
|
834
|
-
@address = address
|
|
835
|
-
@adults = adults
|
|
836
|
-
@affiliate = affiliate
|
|
837
|
-
@booking_number = booking_number
|
|
838
|
-
@category = category
|
|
839
|
-
@checkin_at = checkin_at
|
|
840
|
-
@checkout_at = checkout_at
|
|
841
|
-
@customer_service_phone_number = customer_service_phone_number
|
|
842
|
-
@daily_room_rate_amount = daily_room_rate_amount
|
|
843
|
-
@delivery = delivery
|
|
844
|
-
@extra_charges = extra_charges
|
|
845
|
-
@fire_safety_act_compliance = fire_safety_act_compliance
|
|
846
|
-
@name = name
|
|
847
|
-
@no_show = no_show
|
|
848
|
-
@number_of_rooms = number_of_rooms
|
|
849
|
-
@passengers = passengers
|
|
850
|
-
@property_phone_number = property_phone_number
|
|
851
|
-
@room_class = room_class
|
|
852
|
-
@room_nights = room_nights
|
|
853
|
-
@total_room_tax_amount = total_room_tax_amount
|
|
854
|
-
@total_tax_amount = total_tax_amount
|
|
855
|
-
end
|
|
856
|
-
end
|
|
857
|
-
|
|
858
|
-
class Subscription < Stripe::RequestParams
|
|
859
|
-
class Affiliate < Stripe::RequestParams
|
|
860
|
-
# The name of the affiliate that originated the purchase.
|
|
861
|
-
attr_accessor :name
|
|
862
|
-
|
|
863
|
-
def initialize(name: nil)
|
|
864
|
-
@name = name
|
|
865
|
-
end
|
|
866
|
-
end
|
|
867
|
-
|
|
868
|
-
class BillingInterval < Stripe::RequestParams
|
|
869
|
-
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
870
|
-
attr_accessor :count
|
|
871
|
-
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
872
|
-
attr_accessor :interval
|
|
873
|
-
|
|
874
|
-
def initialize(count: nil, interval: nil)
|
|
875
|
-
@count = count
|
|
876
|
-
@interval = interval
|
|
877
|
-
end
|
|
878
|
-
end
|
|
879
|
-
# Affiliate details for this purchase.
|
|
880
|
-
attr_accessor :affiliate
|
|
881
|
-
# Info whether the subscription will be auto renewed upon expiry.
|
|
882
|
-
attr_accessor :auto_renewal
|
|
883
|
-
# Subscription billing details for this purchase.
|
|
884
|
-
attr_accessor :billing_interval
|
|
885
|
-
# Subscription end time. Measured in seconds since the Unix epoch.
|
|
886
|
-
attr_accessor :ends_at
|
|
887
|
-
# Name of the product on subscription. e.g. Apple Music Subscription
|
|
888
|
-
attr_accessor :name
|
|
889
|
-
# Subscription start time. Measured in seconds since the Unix epoch.
|
|
890
|
-
attr_accessor :starts_at
|
|
891
|
-
|
|
892
|
-
def initialize(
|
|
893
|
-
affiliate: nil,
|
|
894
|
-
auto_renewal: nil,
|
|
895
|
-
billing_interval: nil,
|
|
896
|
-
ends_at: nil,
|
|
897
|
-
name: nil,
|
|
898
|
-
starts_at: nil
|
|
899
|
-
)
|
|
900
|
-
@affiliate = affiliate
|
|
901
|
-
@auto_renewal = auto_renewal
|
|
902
|
-
@billing_interval = billing_interval
|
|
903
|
-
@ends_at = ends_at
|
|
904
|
-
@name = name
|
|
905
|
-
@starts_at = starts_at
|
|
906
|
-
end
|
|
907
|
-
end
|
|
908
|
-
# Car rental details for this PaymentIntent.
|
|
909
|
-
attr_accessor :car_rental
|
|
910
|
-
# 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.
|
|
230
|
+
class PaymentDetails < ::Stripe::RequestParams
|
|
231
|
+
# A unique value to identify the customer. This field is available only for card payments.
|
|
232
|
+
#
|
|
233
|
+
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
911
234
|
attr_accessor :customer_reference
|
|
912
|
-
#
|
|
913
|
-
|
|
914
|
-
#
|
|
915
|
-
|
|
916
|
-
#
|
|
917
|
-
attr_accessor :lodging
|
|
918
|
-
# A unique value assigned by the business to identify the transaction.
|
|
235
|
+
# A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
236
|
+
#
|
|
237
|
+
# 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`.
|
|
238
|
+
#
|
|
239
|
+
# 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.
|
|
919
240
|
attr_accessor :order_reference
|
|
920
|
-
# Subscription details for this PaymentIntent
|
|
921
|
-
attr_accessor :subscription
|
|
922
241
|
|
|
923
|
-
def initialize(
|
|
924
|
-
car_rental: nil,
|
|
925
|
-
customer_reference: nil,
|
|
926
|
-
event_details: nil,
|
|
927
|
-
flight: nil,
|
|
928
|
-
lodging: nil,
|
|
929
|
-
order_reference: nil,
|
|
930
|
-
subscription: nil
|
|
931
|
-
)
|
|
932
|
-
@car_rental = car_rental
|
|
242
|
+
def initialize(customer_reference: nil, order_reference: nil)
|
|
933
243
|
@customer_reference = customer_reference
|
|
934
|
-
@event_details = event_details
|
|
935
|
-
@flight = flight
|
|
936
|
-
@lodging = lodging
|
|
937
244
|
@order_reference = order_reference
|
|
938
|
-
@subscription = subscription
|
|
939
245
|
end
|
|
940
246
|
end
|
|
941
247
|
|
|
942
|
-
class PaymentMethodData < Stripe::RequestParams
|
|
943
|
-
class AcssDebit < Stripe::RequestParams
|
|
248
|
+
class PaymentMethodData < ::Stripe::RequestParams
|
|
249
|
+
class AcssDebit < ::Stripe::RequestParams
|
|
944
250
|
# Customer's bank account number.
|
|
945
251
|
attr_accessor :account_number
|
|
946
252
|
# Institution number of the customer's bank.
|
|
@@ -955,13 +261,13 @@ module Stripe
|
|
|
955
261
|
end
|
|
956
262
|
end
|
|
957
263
|
|
|
958
|
-
class Affirm < Stripe::RequestParams; end
|
|
959
|
-
class AfterpayClearpay < Stripe::RequestParams; end
|
|
960
|
-
class Alipay < Stripe::RequestParams; end
|
|
961
|
-
class Alma < Stripe::RequestParams; end
|
|
962
|
-
class AmazonPay < Stripe::RequestParams; end
|
|
264
|
+
class Affirm < ::Stripe::RequestParams; end
|
|
265
|
+
class AfterpayClearpay < ::Stripe::RequestParams; end
|
|
266
|
+
class Alipay < ::Stripe::RequestParams; end
|
|
267
|
+
class Alma < ::Stripe::RequestParams; end
|
|
268
|
+
class AmazonPay < ::Stripe::RequestParams; end
|
|
963
269
|
|
|
964
|
-
class AuBecsDebit < Stripe::RequestParams
|
|
270
|
+
class AuBecsDebit < ::Stripe::RequestParams
|
|
965
271
|
# The account number for the bank account.
|
|
966
272
|
attr_accessor :account_number
|
|
967
273
|
# Bank-State-Branch number of the bank account.
|
|
@@ -973,7 +279,7 @@ module Stripe
|
|
|
973
279
|
end
|
|
974
280
|
end
|
|
975
281
|
|
|
976
|
-
class BacsDebit < Stripe::RequestParams
|
|
282
|
+
class BacsDebit < ::Stripe::RequestParams
|
|
977
283
|
# Account number of the bank account that the funds will be debited from.
|
|
978
284
|
attr_accessor :account_number
|
|
979
285
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
|
@@ -985,11 +291,11 @@ module Stripe
|
|
|
985
291
|
end
|
|
986
292
|
end
|
|
987
293
|
|
|
988
|
-
class Bancontact < Stripe::RequestParams; end
|
|
989
|
-
class Billie < Stripe::RequestParams; end
|
|
294
|
+
class Bancontact < ::Stripe::RequestParams; end
|
|
295
|
+
class Billie < ::Stripe::RequestParams; end
|
|
990
296
|
|
|
991
|
-
class BillingDetails < Stripe::RequestParams
|
|
992
|
-
class Address < Stripe::RequestParams
|
|
297
|
+
class BillingDetails < ::Stripe::RequestParams
|
|
298
|
+
class Address < ::Stripe::RequestParams
|
|
993
299
|
# City, district, suburb, town, or village.
|
|
994
300
|
attr_accessor :city
|
|
995
301
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
@@ -1039,9 +345,9 @@ module Stripe
|
|
|
1039
345
|
end
|
|
1040
346
|
end
|
|
1041
347
|
|
|
1042
|
-
class Blik < Stripe::RequestParams; end
|
|
348
|
+
class Blik < ::Stripe::RequestParams; end
|
|
1043
349
|
|
|
1044
|
-
class Boleto < Stripe::RequestParams
|
|
350
|
+
class Boleto < ::Stripe::RequestParams
|
|
1045
351
|
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
|
1046
352
|
attr_accessor :tax_id
|
|
1047
353
|
|
|
@@ -1050,11 +356,11 @@ module Stripe
|
|
|
1050
356
|
end
|
|
1051
357
|
end
|
|
1052
358
|
|
|
1053
|
-
class Cashapp < Stripe::RequestParams; end
|
|
1054
|
-
class Crypto < Stripe::RequestParams; end
|
|
1055
|
-
class CustomerBalance < Stripe::RequestParams; end
|
|
359
|
+
class Cashapp < ::Stripe::RequestParams; end
|
|
360
|
+
class Crypto < ::Stripe::RequestParams; end
|
|
361
|
+
class CustomerBalance < ::Stripe::RequestParams; end
|
|
1056
362
|
|
|
1057
|
-
class Eps < Stripe::RequestParams
|
|
363
|
+
class Eps < ::Stripe::RequestParams
|
|
1058
364
|
# The customer's bank.
|
|
1059
365
|
attr_accessor :bank
|
|
1060
366
|
|
|
@@ -1063,7 +369,7 @@ module Stripe
|
|
|
1063
369
|
end
|
|
1064
370
|
end
|
|
1065
371
|
|
|
1066
|
-
class Fpx < Stripe::RequestParams
|
|
372
|
+
class Fpx < ::Stripe::RequestParams
|
|
1067
373
|
# Account holder type for FPX transaction
|
|
1068
374
|
attr_accessor :account_holder_type
|
|
1069
375
|
# The customer's bank.
|
|
@@ -1075,20 +381,10 @@ module Stripe
|
|
|
1075
381
|
end
|
|
1076
382
|
end
|
|
1077
383
|
|
|
1078
|
-
class Giropay < Stripe::RequestParams; end
|
|
1079
|
-
class
|
|
1080
|
-
class Grabpay < Stripe::RequestParams; end
|
|
1081
|
-
|
|
1082
|
-
class IdBankTransfer < Stripe::RequestParams
|
|
1083
|
-
# Bank where the account is held.
|
|
1084
|
-
attr_accessor :bank
|
|
1085
|
-
|
|
1086
|
-
def initialize(bank: nil)
|
|
1087
|
-
@bank = bank
|
|
1088
|
-
end
|
|
1089
|
-
end
|
|
384
|
+
class Giropay < ::Stripe::RequestParams; end
|
|
385
|
+
class Grabpay < ::Stripe::RequestParams; end
|
|
1090
386
|
|
|
1091
|
-
class Ideal < Stripe::RequestParams
|
|
387
|
+
class Ideal < ::Stripe::RequestParams
|
|
1092
388
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
1093
389
|
attr_accessor :bank
|
|
1094
390
|
|
|
@@ -1097,11 +393,11 @@ module Stripe
|
|
|
1097
393
|
end
|
|
1098
394
|
end
|
|
1099
395
|
|
|
1100
|
-
class InteracPresent < Stripe::RequestParams; end
|
|
1101
|
-
class KakaoPay < Stripe::RequestParams; end
|
|
396
|
+
class InteracPresent < ::Stripe::RequestParams; end
|
|
397
|
+
class KakaoPay < ::Stripe::RequestParams; end
|
|
1102
398
|
|
|
1103
|
-
class Klarna < Stripe::RequestParams
|
|
1104
|
-
class Dob < Stripe::RequestParams
|
|
399
|
+
class Klarna < ::Stripe::RequestParams
|
|
400
|
+
class Dob < ::Stripe::RequestParams
|
|
1105
401
|
# The day of birth, between 1 and 31.
|
|
1106
402
|
attr_accessor :day
|
|
1107
403
|
# The month of birth, between 1 and 12.
|
|
@@ -1123,14 +419,14 @@ module Stripe
|
|
|
1123
419
|
end
|
|
1124
420
|
end
|
|
1125
421
|
|
|
1126
|
-
class Konbini < Stripe::RequestParams; end
|
|
1127
|
-
class KrCard < Stripe::RequestParams; end
|
|
1128
|
-
class Link < Stripe::RequestParams; end
|
|
1129
|
-
class MbWay < Stripe::RequestParams; end
|
|
1130
|
-
class Mobilepay < Stripe::RequestParams; end
|
|
1131
|
-
class Multibanco < Stripe::RequestParams; end
|
|
422
|
+
class Konbini < ::Stripe::RequestParams; end
|
|
423
|
+
class KrCard < ::Stripe::RequestParams; end
|
|
424
|
+
class Link < ::Stripe::RequestParams; end
|
|
425
|
+
class MbWay < ::Stripe::RequestParams; end
|
|
426
|
+
class Mobilepay < ::Stripe::RequestParams; end
|
|
427
|
+
class Multibanco < ::Stripe::RequestParams; end
|
|
1132
428
|
|
|
1133
|
-
class NaverPay < Stripe::RequestParams
|
|
429
|
+
class NaverPay < ::Stripe::RequestParams
|
|
1134
430
|
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
|
1135
431
|
attr_accessor :funding
|
|
1136
432
|
|
|
@@ -1139,7 +435,7 @@ module Stripe
|
|
|
1139
435
|
end
|
|
1140
436
|
end
|
|
1141
437
|
|
|
1142
|
-
class NzBankAccount < Stripe::RequestParams
|
|
438
|
+
class NzBankAccount < ::Stripe::RequestParams
|
|
1143
439
|
# 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.
|
|
1144
440
|
attr_accessor :account_holder_name
|
|
1145
441
|
# The account number for the bank account.
|
|
@@ -1170,9 +466,9 @@ module Stripe
|
|
|
1170
466
|
end
|
|
1171
467
|
end
|
|
1172
468
|
|
|
1173
|
-
class Oxxo < Stripe::RequestParams; end
|
|
469
|
+
class Oxxo < ::Stripe::RequestParams; end
|
|
1174
470
|
|
|
1175
|
-
class P24 < Stripe::RequestParams
|
|
471
|
+
class P24 < ::Stripe::RequestParams
|
|
1176
472
|
# The customer's bank.
|
|
1177
473
|
attr_accessor :bank
|
|
1178
474
|
|
|
@@ -1181,32 +477,14 @@ module Stripe
|
|
|
1181
477
|
end
|
|
1182
478
|
end
|
|
1183
479
|
|
|
1184
|
-
class PayByBank < Stripe::RequestParams; end
|
|
1185
|
-
class Payco < Stripe::RequestParams; end
|
|
1186
|
-
class Paynow < Stripe::RequestParams; end
|
|
1187
|
-
class Paypal < Stripe::RequestParams; end
|
|
1188
|
-
class
|
|
1189
|
-
|
|
1190
|
-
class Payto < Stripe::RequestParams
|
|
1191
|
-
# The account number for the bank account.
|
|
1192
|
-
attr_accessor :account_number
|
|
1193
|
-
# Bank-State-Branch number of the bank account.
|
|
1194
|
-
attr_accessor :bsb_number
|
|
1195
|
-
# The PayID alias for the bank account.
|
|
1196
|
-
attr_accessor :pay_id
|
|
480
|
+
class PayByBank < ::Stripe::RequestParams; end
|
|
481
|
+
class Payco < ::Stripe::RequestParams; end
|
|
482
|
+
class Paynow < ::Stripe::RequestParams; end
|
|
483
|
+
class Paypal < ::Stripe::RequestParams; end
|
|
484
|
+
class Pix < ::Stripe::RequestParams; end
|
|
485
|
+
class Promptpay < ::Stripe::RequestParams; end
|
|
1197
486
|
|
|
1198
|
-
|
|
1199
|
-
@account_number = account_number
|
|
1200
|
-
@bsb_number = bsb_number
|
|
1201
|
-
@pay_id = pay_id
|
|
1202
|
-
end
|
|
1203
|
-
end
|
|
1204
|
-
|
|
1205
|
-
class Pix < Stripe::RequestParams; end
|
|
1206
|
-
class Promptpay < Stripe::RequestParams; end
|
|
1207
|
-
class Qris < Stripe::RequestParams; end
|
|
1208
|
-
|
|
1209
|
-
class RadarOptions < Stripe::RequestParams
|
|
487
|
+
class RadarOptions < ::Stripe::RequestParams
|
|
1210
488
|
# 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.
|
|
1211
489
|
attr_accessor :session
|
|
1212
490
|
|
|
@@ -1215,34 +493,11 @@ module Stripe
|
|
|
1215
493
|
end
|
|
1216
494
|
end
|
|
1217
495
|
|
|
1218
|
-
class
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
attr_accessor :day
|
|
1222
|
-
# The month of birth, between 1 and 12.
|
|
1223
|
-
attr_accessor :month
|
|
1224
|
-
# The four-digit year of birth.
|
|
1225
|
-
attr_accessor :year
|
|
496
|
+
class RevolutPay < ::Stripe::RequestParams; end
|
|
497
|
+
class SamsungPay < ::Stripe::RequestParams; end
|
|
498
|
+
class Satispay < ::Stripe::RequestParams; end
|
|
1226
499
|
|
|
1227
|
-
|
|
1228
|
-
@day = day
|
|
1229
|
-
@month = month
|
|
1230
|
-
@year = year
|
|
1231
|
-
end
|
|
1232
|
-
end
|
|
1233
|
-
# Customer's date of birth
|
|
1234
|
-
attr_accessor :dob
|
|
1235
|
-
|
|
1236
|
-
def initialize(dob: nil)
|
|
1237
|
-
@dob = dob
|
|
1238
|
-
end
|
|
1239
|
-
end
|
|
1240
|
-
|
|
1241
|
-
class RevolutPay < Stripe::RequestParams; end
|
|
1242
|
-
class SamsungPay < Stripe::RequestParams; end
|
|
1243
|
-
class Satispay < Stripe::RequestParams; end
|
|
1244
|
-
|
|
1245
|
-
class SepaDebit < Stripe::RequestParams
|
|
500
|
+
class SepaDebit < ::Stripe::RequestParams
|
|
1246
501
|
# IBAN of the bank account.
|
|
1247
502
|
attr_accessor :iban
|
|
1248
503
|
|
|
@@ -1251,9 +506,7 @@ module Stripe
|
|
|
1251
506
|
end
|
|
1252
507
|
end
|
|
1253
508
|
|
|
1254
|
-
class
|
|
1255
|
-
|
|
1256
|
-
class Sofort < Stripe::RequestParams
|
|
509
|
+
class Sofort < ::Stripe::RequestParams
|
|
1257
510
|
# Two-letter ISO code representing the country the bank account is located in.
|
|
1258
511
|
attr_accessor :country
|
|
1259
512
|
|
|
@@ -1262,22 +515,10 @@ module Stripe
|
|
|
1262
515
|
end
|
|
1263
516
|
end
|
|
1264
517
|
|
|
1265
|
-
class
|
|
1266
|
-
|
|
1267
|
-
attr_accessor :account
|
|
1268
|
-
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
1269
|
-
attr_accessor :source_type
|
|
518
|
+
class Swish < ::Stripe::RequestParams; end
|
|
519
|
+
class Twint < ::Stripe::RequestParams; end
|
|
1270
520
|
|
|
1271
|
-
|
|
1272
|
-
@account = account
|
|
1273
|
-
@source_type = source_type
|
|
1274
|
-
end
|
|
1275
|
-
end
|
|
1276
|
-
|
|
1277
|
-
class Swish < Stripe::RequestParams; end
|
|
1278
|
-
class Twint < Stripe::RequestParams; end
|
|
1279
|
-
|
|
1280
|
-
class UsBankAccount < Stripe::RequestParams
|
|
521
|
+
class UsBankAccount < ::Stripe::RequestParams
|
|
1281
522
|
# Account holder type: individual or company.
|
|
1282
523
|
attr_accessor :account_holder_type
|
|
1283
524
|
# Account number of the bank account.
|
|
@@ -1304,8 +545,8 @@ module Stripe
|
|
|
1304
545
|
end
|
|
1305
546
|
end
|
|
1306
547
|
|
|
1307
|
-
class WechatPay < Stripe::RequestParams; end
|
|
1308
|
-
class Zip < Stripe::RequestParams; end
|
|
548
|
+
class WechatPay < ::Stripe::RequestParams; end
|
|
549
|
+
class Zip < ::Stripe::RequestParams; end
|
|
1309
550
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
|
1310
551
|
attr_accessor :acss_debit
|
|
1311
552
|
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
|
@@ -1346,12 +587,8 @@ module Stripe
|
|
|
1346
587
|
attr_accessor :fpx
|
|
1347
588
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
1348
589
|
attr_accessor :giropay
|
|
1349
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
1350
|
-
attr_accessor :gopay
|
|
1351
590
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
1352
591
|
attr_accessor :grabpay
|
|
1353
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
1354
|
-
attr_accessor :id_bank_transfer
|
|
1355
592
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
1356
593
|
attr_accessor :ideal
|
|
1357
594
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
|
@@ -1390,20 +627,12 @@ module Stripe
|
|
|
1390
627
|
attr_accessor :paynow
|
|
1391
628
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
|
1392
629
|
attr_accessor :paypal
|
|
1393
|
-
# If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
1394
|
-
attr_accessor :paypay
|
|
1395
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
1396
|
-
attr_accessor :payto
|
|
1397
630
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
1398
631
|
attr_accessor :pix
|
|
1399
632
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
1400
633
|
attr_accessor :promptpay
|
|
1401
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
1402
|
-
attr_accessor :qris
|
|
1403
634
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
1404
635
|
attr_accessor :radar_options
|
|
1405
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
1406
|
-
attr_accessor :rechnung
|
|
1407
636
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
1408
637
|
attr_accessor :revolut_pay
|
|
1409
638
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
|
@@ -1412,12 +641,8 @@ module Stripe
|
|
|
1412
641
|
attr_accessor :satispay
|
|
1413
642
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
|
1414
643
|
attr_accessor :sepa_debit
|
|
1415
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
1416
|
-
attr_accessor :shopeepay
|
|
1417
644
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
1418
645
|
attr_accessor :sofort
|
|
1419
|
-
# This hash contains details about the Stripe balance payment method.
|
|
1420
|
-
attr_accessor :stripe_balance
|
|
1421
646
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
1422
647
|
attr_accessor :swish
|
|
1423
648
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
|
@@ -1452,9 +677,7 @@ module Stripe
|
|
|
1452
677
|
eps: nil,
|
|
1453
678
|
fpx: nil,
|
|
1454
679
|
giropay: nil,
|
|
1455
|
-
gopay: nil,
|
|
1456
680
|
grabpay: nil,
|
|
1457
|
-
id_bank_transfer: nil,
|
|
1458
681
|
ideal: nil,
|
|
1459
682
|
interac_present: nil,
|
|
1460
683
|
kakao_pay: nil,
|
|
@@ -1474,20 +697,14 @@ module Stripe
|
|
|
1474
697
|
payco: nil,
|
|
1475
698
|
paynow: nil,
|
|
1476
699
|
paypal: nil,
|
|
1477
|
-
paypay: nil,
|
|
1478
|
-
payto: nil,
|
|
1479
700
|
pix: nil,
|
|
1480
701
|
promptpay: nil,
|
|
1481
|
-
qris: nil,
|
|
1482
702
|
radar_options: nil,
|
|
1483
|
-
rechnung: nil,
|
|
1484
703
|
revolut_pay: nil,
|
|
1485
704
|
samsung_pay: nil,
|
|
1486
705
|
satispay: nil,
|
|
1487
706
|
sepa_debit: nil,
|
|
1488
|
-
shopeepay: nil,
|
|
1489
707
|
sofort: nil,
|
|
1490
|
-
stripe_balance: nil,
|
|
1491
708
|
swish: nil,
|
|
1492
709
|
twint: nil,
|
|
1493
710
|
type: nil,
|
|
@@ -1515,9 +732,7 @@ module Stripe
|
|
|
1515
732
|
@eps = eps
|
|
1516
733
|
@fpx = fpx
|
|
1517
734
|
@giropay = giropay
|
|
1518
|
-
@gopay = gopay
|
|
1519
735
|
@grabpay = grabpay
|
|
1520
|
-
@id_bank_transfer = id_bank_transfer
|
|
1521
736
|
@ideal = ideal
|
|
1522
737
|
@interac_present = interac_present
|
|
1523
738
|
@kakao_pay = kakao_pay
|
|
@@ -1537,20 +752,14 @@ module Stripe
|
|
|
1537
752
|
@payco = payco
|
|
1538
753
|
@paynow = paynow
|
|
1539
754
|
@paypal = paypal
|
|
1540
|
-
@paypay = paypay
|
|
1541
|
-
@payto = payto
|
|
1542
755
|
@pix = pix
|
|
1543
756
|
@promptpay = promptpay
|
|
1544
|
-
@qris = qris
|
|
1545
757
|
@radar_options = radar_options
|
|
1546
|
-
@rechnung = rechnung
|
|
1547
758
|
@revolut_pay = revolut_pay
|
|
1548
759
|
@samsung_pay = samsung_pay
|
|
1549
760
|
@satispay = satispay
|
|
1550
761
|
@sepa_debit = sepa_debit
|
|
1551
|
-
@shopeepay = shopeepay
|
|
1552
762
|
@sofort = sofort
|
|
1553
|
-
@stripe_balance = stripe_balance
|
|
1554
763
|
@swish = swish
|
|
1555
764
|
@twint = twint
|
|
1556
765
|
@type = type
|
|
@@ -1560,9 +769,9 @@ module Stripe
|
|
|
1560
769
|
end
|
|
1561
770
|
end
|
|
1562
771
|
|
|
1563
|
-
class PaymentMethodOptions < Stripe::RequestParams
|
|
1564
|
-
class AcssDebit < Stripe::RequestParams
|
|
1565
|
-
class MandateOptions < Stripe::RequestParams
|
|
772
|
+
class PaymentMethodOptions < ::Stripe::RequestParams
|
|
773
|
+
class AcssDebit < ::Stripe::RequestParams
|
|
774
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
1566
775
|
# A URL for custom mandate text to render during confirmation step.
|
|
1567
776
|
# The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
|
|
1568
777
|
# or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
|
|
@@ -1616,7 +825,7 @@ module Stripe
|
|
|
1616
825
|
end
|
|
1617
826
|
end
|
|
1618
827
|
|
|
1619
|
-
class Affirm < Stripe::RequestParams
|
|
828
|
+
class Affirm < ::Stripe::RequestParams
|
|
1620
829
|
# Controls when the funds are captured from the customer's account.
|
|
1621
830
|
#
|
|
1622
831
|
# 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.
|
|
@@ -1643,7 +852,7 @@ module Stripe
|
|
|
1643
852
|
end
|
|
1644
853
|
end
|
|
1645
854
|
|
|
1646
|
-
class AfterpayClearpay < Stripe::RequestParams
|
|
855
|
+
class AfterpayClearpay < ::Stripe::RequestParams
|
|
1647
856
|
# Controls when the funds are captured from the customer's account.
|
|
1648
857
|
#
|
|
1649
858
|
# 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.
|
|
@@ -1671,7 +880,7 @@ module Stripe
|
|
|
1671
880
|
end
|
|
1672
881
|
end
|
|
1673
882
|
|
|
1674
|
-
class Alipay < Stripe::RequestParams
|
|
883
|
+
class Alipay < ::Stripe::RequestParams
|
|
1675
884
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1676
885
|
#
|
|
1677
886
|
# 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.
|
|
@@ -1688,7 +897,7 @@ module Stripe
|
|
|
1688
897
|
end
|
|
1689
898
|
end
|
|
1690
899
|
|
|
1691
|
-
class Alma < Stripe::RequestParams
|
|
900
|
+
class Alma < ::Stripe::RequestParams
|
|
1692
901
|
# Controls when the funds are captured from the customer's account.
|
|
1693
902
|
#
|
|
1694
903
|
# 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.
|
|
@@ -1701,7 +910,7 @@ module Stripe
|
|
|
1701
910
|
end
|
|
1702
911
|
end
|
|
1703
912
|
|
|
1704
|
-
class AmazonPay < Stripe::RequestParams
|
|
913
|
+
class AmazonPay < ::Stripe::RequestParams
|
|
1705
914
|
# Controls when the funds are captured from the customer's account.
|
|
1706
915
|
#
|
|
1707
916
|
# 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.
|
|
@@ -1723,7 +932,7 @@ module Stripe
|
|
|
1723
932
|
end
|
|
1724
933
|
end
|
|
1725
934
|
|
|
1726
|
-
class AuBecsDebit < Stripe::RequestParams
|
|
935
|
+
class AuBecsDebit < ::Stripe::RequestParams
|
|
1727
936
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1728
937
|
#
|
|
1729
938
|
# 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.
|
|
@@ -1743,8 +952,8 @@ module Stripe
|
|
|
1743
952
|
end
|
|
1744
953
|
end
|
|
1745
954
|
|
|
1746
|
-
class BacsDebit < Stripe::RequestParams
|
|
1747
|
-
class MandateOptions < Stripe::RequestParams
|
|
955
|
+
class BacsDebit < ::Stripe::RequestParams
|
|
956
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
1748
957
|
# 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'.
|
|
1749
958
|
attr_accessor :reference_prefix
|
|
1750
959
|
|
|
@@ -1774,7 +983,7 @@ module Stripe
|
|
|
1774
983
|
end
|
|
1775
984
|
end
|
|
1776
985
|
|
|
1777
|
-
class Bancontact < Stripe::RequestParams
|
|
986
|
+
class Bancontact < ::Stripe::RequestParams
|
|
1778
987
|
# Preferred language of the Bancontact authorization page that the customer is redirected to.
|
|
1779
988
|
attr_accessor :preferred_language
|
|
1780
989
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1794,7 +1003,7 @@ module Stripe
|
|
|
1794
1003
|
end
|
|
1795
1004
|
end
|
|
1796
1005
|
|
|
1797
|
-
class Billie < Stripe::RequestParams
|
|
1006
|
+
class Billie < ::Stripe::RequestParams
|
|
1798
1007
|
# Controls when the funds are captured from the customer's account.
|
|
1799
1008
|
#
|
|
1800
1009
|
# 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.
|
|
@@ -1807,7 +1016,7 @@ module Stripe
|
|
|
1807
1016
|
end
|
|
1808
1017
|
end
|
|
1809
1018
|
|
|
1810
|
-
class Blik < Stripe::RequestParams
|
|
1019
|
+
class Blik < ::Stripe::RequestParams
|
|
1811
1020
|
# The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation.
|
|
1812
1021
|
attr_accessor :code
|
|
1813
1022
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1827,7 +1036,7 @@ module Stripe
|
|
|
1827
1036
|
end
|
|
1828
1037
|
end
|
|
1829
1038
|
|
|
1830
|
-
class Boleto < Stripe::RequestParams
|
|
1039
|
+
class Boleto < ::Stripe::RequestParams
|
|
1831
1040
|
# 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.
|
|
1832
1041
|
attr_accessor :expires_after_days
|
|
1833
1042
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1847,9 +1056,9 @@ module Stripe
|
|
|
1847
1056
|
end
|
|
1848
1057
|
end
|
|
1849
1058
|
|
|
1850
|
-
class Card < Stripe::RequestParams
|
|
1851
|
-
class Installments < Stripe::RequestParams
|
|
1852
|
-
class Plan < Stripe::RequestParams
|
|
1059
|
+
class Card < ::Stripe::RequestParams
|
|
1060
|
+
class Installments < ::Stripe::RequestParams
|
|
1061
|
+
class Plan < ::Stripe::RequestParams
|
|
1853
1062
|
# For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card.
|
|
1854
1063
|
attr_accessor :count
|
|
1855
1064
|
# For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card.
|
|
@@ -1878,7 +1087,7 @@ module Stripe
|
|
|
1878
1087
|
end
|
|
1879
1088
|
end
|
|
1880
1089
|
|
|
1881
|
-
class MandateOptions < Stripe::RequestParams
|
|
1090
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
1882
1091
|
# Amount to be charged for future payments.
|
|
1883
1092
|
attr_accessor :amount
|
|
1884
1093
|
# 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.
|
|
@@ -1921,51 +1130,9 @@ module Stripe
|
|
|
1921
1130
|
end
|
|
1922
1131
|
end
|
|
1923
1132
|
|
|
1924
|
-
class
|
|
1925
|
-
class
|
|
1926
|
-
|
|
1927
|
-
attr_accessor :city
|
|
1928
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1929
|
-
attr_accessor :country
|
|
1930
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1931
|
-
attr_accessor :line1
|
|
1932
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1933
|
-
attr_accessor :line2
|
|
1934
|
-
# ZIP or postal code.
|
|
1935
|
-
attr_accessor :postal_code
|
|
1936
|
-
# State, county, province, or region.
|
|
1937
|
-
attr_accessor :state
|
|
1938
|
-
|
|
1939
|
-
def initialize(
|
|
1940
|
-
city: nil,
|
|
1941
|
-
country: nil,
|
|
1942
|
-
line1: nil,
|
|
1943
|
-
line2: nil,
|
|
1944
|
-
postal_code: nil,
|
|
1945
|
-
state: nil
|
|
1946
|
-
)
|
|
1947
|
-
@city = city
|
|
1948
|
-
@country = country
|
|
1949
|
-
@line1 = line1
|
|
1950
|
-
@line2 = line2
|
|
1951
|
-
@postal_code = postal_code
|
|
1952
|
-
@state = state
|
|
1953
|
-
end
|
|
1954
|
-
end
|
|
1955
|
-
# Please pass in an address that is within your Stripe user account country
|
|
1956
|
-
attr_accessor :address
|
|
1957
|
-
# Phone number (e.g., a toll-free number that customers can call)
|
|
1958
|
-
attr_accessor :phone
|
|
1959
|
-
|
|
1960
|
-
def initialize(address: nil, phone: nil)
|
|
1961
|
-
@address = address
|
|
1962
|
-
@phone = phone
|
|
1963
|
-
end
|
|
1964
|
-
end
|
|
1965
|
-
|
|
1966
|
-
class ThreeDSecure < Stripe::RequestParams
|
|
1967
|
-
class NetworkOptions < Stripe::RequestParams
|
|
1968
|
-
class CartesBancaires < Stripe::RequestParams
|
|
1133
|
+
class ThreeDSecure < ::Stripe::RequestParams
|
|
1134
|
+
class NetworkOptions < ::Stripe::RequestParams
|
|
1135
|
+
class CartesBancaires < ::Stripe::RequestParams
|
|
1969
1136
|
# The cryptogram calculation algorithm used by the card Issuer's ACS
|
|
1970
1137
|
# to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.
|
|
1971
1138
|
# messageExtension: CB-AVALGO
|
|
@@ -2057,8 +1224,6 @@ module Stripe
|
|
|
2057
1224
|
attr_accessor :moto
|
|
2058
1225
|
# 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.
|
|
2059
1226
|
attr_accessor :network
|
|
2060
|
-
# Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
|
|
2061
|
-
attr_accessor :request_decremental_authorization
|
|
2062
1227
|
# Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
|
|
2063
1228
|
attr_accessor :request_extended_authorization
|
|
2064
1229
|
# Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
|
|
@@ -2067,8 +1232,6 @@ module Stripe
|
|
|
2067
1232
|
attr_accessor :request_multicapture
|
|
2068
1233
|
# Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.
|
|
2069
1234
|
attr_accessor :request_overcapture
|
|
2070
|
-
# Request partial authorization on this PaymentIntent.
|
|
2071
|
-
attr_accessor :request_partial_authorization
|
|
2072
1235
|
# 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.
|
|
2073
1236
|
attr_accessor :request_three_d_secure
|
|
2074
1237
|
# 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).
|
|
@@ -2087,8 +1250,6 @@ module Stripe
|
|
|
2087
1250
|
attr_accessor :statement_descriptor_suffix_kana
|
|
2088
1251
|
# 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.
|
|
2089
1252
|
attr_accessor :statement_descriptor_suffix_kanji
|
|
2090
|
-
# Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
|
|
2091
|
-
attr_accessor :statement_details
|
|
2092
1253
|
# If 3D Secure authentication was performed with a third-party provider,
|
|
2093
1254
|
# the authentication details to use for this payment.
|
|
2094
1255
|
attr_accessor :three_d_secure
|
|
@@ -2100,18 +1261,15 @@ module Stripe
|
|
|
2100
1261
|
mandate_options: nil,
|
|
2101
1262
|
moto: nil,
|
|
2102
1263
|
network: nil,
|
|
2103
|
-
request_decremental_authorization: nil,
|
|
2104
1264
|
request_extended_authorization: nil,
|
|
2105
1265
|
request_incremental_authorization: nil,
|
|
2106
1266
|
request_multicapture: nil,
|
|
2107
1267
|
request_overcapture: nil,
|
|
2108
|
-
request_partial_authorization: nil,
|
|
2109
1268
|
request_three_d_secure: nil,
|
|
2110
1269
|
require_cvc_recollection: nil,
|
|
2111
1270
|
setup_future_usage: nil,
|
|
2112
1271
|
statement_descriptor_suffix_kana: nil,
|
|
2113
1272
|
statement_descriptor_suffix_kanji: nil,
|
|
2114
|
-
statement_details: nil,
|
|
2115
1273
|
three_d_secure: nil
|
|
2116
1274
|
)
|
|
2117
1275
|
@capture_method = capture_method
|
|
@@ -2120,24 +1278,21 @@ module Stripe
|
|
|
2120
1278
|
@mandate_options = mandate_options
|
|
2121
1279
|
@moto = moto
|
|
2122
1280
|
@network = network
|
|
2123
|
-
@request_decremental_authorization = request_decremental_authorization
|
|
2124
1281
|
@request_extended_authorization = request_extended_authorization
|
|
2125
1282
|
@request_incremental_authorization = request_incremental_authorization
|
|
2126
1283
|
@request_multicapture = request_multicapture
|
|
2127
1284
|
@request_overcapture = request_overcapture
|
|
2128
|
-
@request_partial_authorization = request_partial_authorization
|
|
2129
1285
|
@request_three_d_secure = request_three_d_secure
|
|
2130
1286
|
@require_cvc_recollection = require_cvc_recollection
|
|
2131
1287
|
@setup_future_usage = setup_future_usage
|
|
2132
1288
|
@statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
|
|
2133
1289
|
@statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
|
|
2134
|
-
@statement_details = statement_details
|
|
2135
1290
|
@three_d_secure = three_d_secure
|
|
2136
1291
|
end
|
|
2137
1292
|
end
|
|
2138
1293
|
|
|
2139
|
-
class CardPresent < Stripe::RequestParams
|
|
2140
|
-
class Routing < Stripe::RequestParams
|
|
1294
|
+
class CardPresent < ::Stripe::RequestParams
|
|
1295
|
+
class Routing < ::Stripe::RequestParams
|
|
2141
1296
|
# Routing requested priority
|
|
2142
1297
|
attr_accessor :requested_priority
|
|
2143
1298
|
|
|
@@ -2163,7 +1318,7 @@ module Stripe
|
|
|
2163
1318
|
end
|
|
2164
1319
|
end
|
|
2165
1320
|
|
|
2166
|
-
class Cashapp < Stripe::RequestParams
|
|
1321
|
+
class Cashapp < ::Stripe::RequestParams
|
|
2167
1322
|
# Controls when the funds are captured from the customer's account.
|
|
2168
1323
|
#
|
|
2169
1324
|
# 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.
|
|
@@ -2187,7 +1342,7 @@ module Stripe
|
|
|
2187
1342
|
end
|
|
2188
1343
|
end
|
|
2189
1344
|
|
|
2190
|
-
class Crypto < Stripe::RequestParams
|
|
1345
|
+
class Crypto < ::Stripe::RequestParams
|
|
2191
1346
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2192
1347
|
#
|
|
2193
1348
|
# 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.
|
|
@@ -2204,9 +1359,9 @@ module Stripe
|
|
|
2204
1359
|
end
|
|
2205
1360
|
end
|
|
2206
1361
|
|
|
2207
|
-
class CustomerBalance < Stripe::RequestParams
|
|
2208
|
-
class BankTransfer < Stripe::RequestParams
|
|
2209
|
-
class EuBankTransfer < Stripe::RequestParams
|
|
1362
|
+
class CustomerBalance < ::Stripe::RequestParams
|
|
1363
|
+
class BankTransfer < ::Stripe::RequestParams
|
|
1364
|
+
class EuBankTransfer < ::Stripe::RequestParams
|
|
2210
1365
|
# The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.
|
|
2211
1366
|
attr_accessor :country
|
|
2212
1367
|
|
|
@@ -2251,7 +1406,7 @@ module Stripe
|
|
|
2251
1406
|
end
|
|
2252
1407
|
end
|
|
2253
1408
|
|
|
2254
|
-
class Eps < Stripe::RequestParams
|
|
1409
|
+
class Eps < ::Stripe::RequestParams
|
|
2255
1410
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2256
1411
|
#
|
|
2257
1412
|
# 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.
|
|
@@ -2268,7 +1423,7 @@ module Stripe
|
|
|
2268
1423
|
end
|
|
2269
1424
|
end
|
|
2270
1425
|
|
|
2271
|
-
class Fpx < Stripe::RequestParams
|
|
1426
|
+
class Fpx < ::Stripe::RequestParams
|
|
2272
1427
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2273
1428
|
#
|
|
2274
1429
|
# 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.
|
|
@@ -2285,7 +1440,7 @@ module Stripe
|
|
|
2285
1440
|
end
|
|
2286
1441
|
end
|
|
2287
1442
|
|
|
2288
|
-
class Giropay < Stripe::RequestParams
|
|
1443
|
+
class Giropay < ::Stripe::RequestParams
|
|
2289
1444
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2290
1445
|
#
|
|
2291
1446
|
# 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.
|
|
@@ -2302,7 +1457,7 @@ module Stripe
|
|
|
2302
1457
|
end
|
|
2303
1458
|
end
|
|
2304
1459
|
|
|
2305
|
-
class
|
|
1460
|
+
class Grabpay < ::Stripe::RequestParams
|
|
2306
1461
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2307
1462
|
#
|
|
2308
1463
|
# 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.
|
|
@@ -2319,7 +1474,7 @@ module Stripe
|
|
|
2319
1474
|
end
|
|
2320
1475
|
end
|
|
2321
1476
|
|
|
2322
|
-
class
|
|
1477
|
+
class Ideal < ::Stripe::RequestParams
|
|
2323
1478
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2324
1479
|
#
|
|
2325
1480
|
# 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.
|
|
@@ -2336,49 +1491,9 @@ module Stripe
|
|
|
2336
1491
|
end
|
|
2337
1492
|
end
|
|
2338
1493
|
|
|
2339
|
-
class
|
|
2340
|
-
# 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.
|
|
2341
|
-
attr_accessor :expires_after
|
|
2342
|
-
# 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.
|
|
2343
|
-
attr_accessor :expires_at
|
|
2344
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2345
|
-
#
|
|
2346
|
-
# 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.
|
|
2347
|
-
#
|
|
2348
|
-
# 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.
|
|
2349
|
-
#
|
|
2350
|
-
# 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).
|
|
2351
|
-
#
|
|
2352
|
-
# 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`.
|
|
2353
|
-
attr_accessor :setup_future_usage
|
|
2354
|
-
|
|
2355
|
-
def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
|
|
2356
|
-
@expires_after = expires_after
|
|
2357
|
-
@expires_at = expires_at
|
|
2358
|
-
@setup_future_usage = setup_future_usage
|
|
2359
|
-
end
|
|
2360
|
-
end
|
|
1494
|
+
class InteracPresent < ::Stripe::RequestParams; end
|
|
2361
1495
|
|
|
2362
|
-
class
|
|
2363
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2364
|
-
#
|
|
2365
|
-
# 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.
|
|
2366
|
-
#
|
|
2367
|
-
# 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.
|
|
2368
|
-
#
|
|
2369
|
-
# 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).
|
|
2370
|
-
#
|
|
2371
|
-
# 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`.
|
|
2372
|
-
attr_accessor :setup_future_usage
|
|
2373
|
-
|
|
2374
|
-
def initialize(setup_future_usage: nil)
|
|
2375
|
-
@setup_future_usage = setup_future_usage
|
|
2376
|
-
end
|
|
2377
|
-
end
|
|
2378
|
-
|
|
2379
|
-
class InteracPresent < Stripe::RequestParams; end
|
|
2380
|
-
|
|
2381
|
-
class KakaoPay < Stripe::RequestParams
|
|
1496
|
+
class KakaoPay < ::Stripe::RequestParams
|
|
2382
1497
|
# Controls when the funds are captured from the customer's account.
|
|
2383
1498
|
#
|
|
2384
1499
|
# 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.
|
|
@@ -2400,8 +1515,8 @@ module Stripe
|
|
|
2400
1515
|
end
|
|
2401
1516
|
end
|
|
2402
1517
|
|
|
2403
|
-
class Klarna < Stripe::RequestParams
|
|
2404
|
-
class OnDemand < Stripe::RequestParams
|
|
1518
|
+
class Klarna < ::Stripe::RequestParams
|
|
1519
|
+
class OnDemand < ::Stripe::RequestParams
|
|
2405
1520
|
# Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc.
|
|
2406
1521
|
attr_accessor :average_amount
|
|
2407
1522
|
# 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.
|
|
@@ -2428,8 +1543,8 @@ module Stripe
|
|
|
2428
1543
|
end
|
|
2429
1544
|
end
|
|
2430
1545
|
|
|
2431
|
-
class Subscription < Stripe::RequestParams
|
|
2432
|
-
class NextBilling < Stripe::RequestParams
|
|
1546
|
+
class Subscription < ::Stripe::RequestParams
|
|
1547
|
+
class NextBilling < ::Stripe::RequestParams
|
|
2433
1548
|
# The amount of the next charge for the subscription.
|
|
2434
1549
|
attr_accessor :amount
|
|
2435
1550
|
# The date of the next charge for the subscription in YYYY-MM-DD format.
|
|
@@ -2503,7 +1618,7 @@ module Stripe
|
|
|
2503
1618
|
end
|
|
2504
1619
|
end
|
|
2505
1620
|
|
|
2506
|
-
class Konbini < Stripe::RequestParams
|
|
1621
|
+
class Konbini < ::Stripe::RequestParams
|
|
2507
1622
|
# 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.
|
|
2508
1623
|
attr_accessor :confirmation_number
|
|
2509
1624
|
# 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.
|
|
@@ -2538,7 +1653,7 @@ module Stripe
|
|
|
2538
1653
|
end
|
|
2539
1654
|
end
|
|
2540
1655
|
|
|
2541
|
-
class KrCard < Stripe::RequestParams
|
|
1656
|
+
class KrCard < ::Stripe::RequestParams
|
|
2542
1657
|
# Controls when the funds are captured from the customer's account.
|
|
2543
1658
|
#
|
|
2544
1659
|
# 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.
|
|
@@ -2560,7 +1675,7 @@ module Stripe
|
|
|
2560
1675
|
end
|
|
2561
1676
|
end
|
|
2562
1677
|
|
|
2563
|
-
class Link < Stripe::RequestParams
|
|
1678
|
+
class Link < ::Stripe::RequestParams
|
|
2564
1679
|
# Controls when the funds are captured from the customer's account.
|
|
2565
1680
|
#
|
|
2566
1681
|
# 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.
|
|
@@ -2587,7 +1702,7 @@ module Stripe
|
|
|
2587
1702
|
end
|
|
2588
1703
|
end
|
|
2589
1704
|
|
|
2590
|
-
class MbWay < Stripe::RequestParams
|
|
1705
|
+
class MbWay < ::Stripe::RequestParams
|
|
2591
1706
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2592
1707
|
#
|
|
2593
1708
|
# 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.
|
|
@@ -2604,7 +1719,7 @@ module Stripe
|
|
|
2604
1719
|
end
|
|
2605
1720
|
end
|
|
2606
1721
|
|
|
2607
|
-
class Mobilepay < Stripe::RequestParams
|
|
1722
|
+
class Mobilepay < ::Stripe::RequestParams
|
|
2608
1723
|
# Controls when the funds are captured from the customer's account.
|
|
2609
1724
|
#
|
|
2610
1725
|
# 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.
|
|
@@ -2628,7 +1743,7 @@ module Stripe
|
|
|
2628
1743
|
end
|
|
2629
1744
|
end
|
|
2630
1745
|
|
|
2631
|
-
class Multibanco < Stripe::RequestParams
|
|
1746
|
+
class Multibanco < ::Stripe::RequestParams
|
|
2632
1747
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2633
1748
|
#
|
|
2634
1749
|
# 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.
|
|
@@ -2645,7 +1760,7 @@ module Stripe
|
|
|
2645
1760
|
end
|
|
2646
1761
|
end
|
|
2647
1762
|
|
|
2648
|
-
class NaverPay < Stripe::RequestParams
|
|
1763
|
+
class NaverPay < ::Stripe::RequestParams
|
|
2649
1764
|
# Controls when the funds are captured from the customer's account.
|
|
2650
1765
|
#
|
|
2651
1766
|
# 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.
|
|
@@ -2667,7 +1782,7 @@ module Stripe
|
|
|
2667
1782
|
end
|
|
2668
1783
|
end
|
|
2669
1784
|
|
|
2670
|
-
class NzBankAccount < Stripe::RequestParams
|
|
1785
|
+
class NzBankAccount < ::Stripe::RequestParams
|
|
2671
1786
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2672
1787
|
#
|
|
2673
1788
|
# 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.
|
|
@@ -2687,7 +1802,7 @@ module Stripe
|
|
|
2687
1802
|
end
|
|
2688
1803
|
end
|
|
2689
1804
|
|
|
2690
|
-
class Oxxo < Stripe::RequestParams
|
|
1805
|
+
class Oxxo < ::Stripe::RequestParams
|
|
2691
1806
|
# 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.
|
|
2692
1807
|
attr_accessor :expires_after_days
|
|
2693
1808
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -2707,7 +1822,7 @@ module Stripe
|
|
|
2707
1822
|
end
|
|
2708
1823
|
end
|
|
2709
1824
|
|
|
2710
|
-
class P24 < Stripe::RequestParams
|
|
1825
|
+
class P24 < ::Stripe::RequestParams
|
|
2711
1826
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2712
1827
|
#
|
|
2713
1828
|
# 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.
|
|
@@ -2727,9 +1842,9 @@ module Stripe
|
|
|
2727
1842
|
end
|
|
2728
1843
|
end
|
|
2729
1844
|
|
|
2730
|
-
class PayByBank < Stripe::RequestParams; end
|
|
1845
|
+
class PayByBank < ::Stripe::RequestParams; end
|
|
2731
1846
|
|
|
2732
|
-
class Payco < Stripe::RequestParams
|
|
1847
|
+
class Payco < ::Stripe::RequestParams
|
|
2733
1848
|
# Controls when the funds are captured from the customer's account.
|
|
2734
1849
|
#
|
|
2735
1850
|
# 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.
|
|
@@ -2742,7 +1857,7 @@ module Stripe
|
|
|
2742
1857
|
end
|
|
2743
1858
|
end
|
|
2744
1859
|
|
|
2745
|
-
class Paynow < Stripe::RequestParams
|
|
1860
|
+
class Paynow < ::Stripe::RequestParams
|
|
2746
1861
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2747
1862
|
#
|
|
2748
1863
|
# 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.
|
|
@@ -2759,66 +1874,13 @@ module Stripe
|
|
|
2759
1874
|
end
|
|
2760
1875
|
end
|
|
2761
1876
|
|
|
2762
|
-
class Paypal < Stripe::RequestParams
|
|
2763
|
-
class LineItem < Stripe::RequestParams
|
|
2764
|
-
class Tax < Stripe::RequestParams
|
|
2765
|
-
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2766
|
-
attr_accessor :amount
|
|
2767
|
-
# The tax behavior for the line item.
|
|
2768
|
-
attr_accessor :behavior
|
|
2769
|
-
|
|
2770
|
-
def initialize(amount: nil, behavior: nil)
|
|
2771
|
-
@amount = amount
|
|
2772
|
-
@behavior = behavior
|
|
2773
|
-
end
|
|
2774
|
-
end
|
|
2775
|
-
# Type of the line item.
|
|
2776
|
-
attr_accessor :category
|
|
2777
|
-
# Description of the line item.
|
|
2778
|
-
attr_accessor :description
|
|
2779
|
-
# Descriptive name of the line item.
|
|
2780
|
-
attr_accessor :name
|
|
2781
|
-
# Quantity of the line item. Must be a positive number.
|
|
2782
|
-
attr_accessor :quantity
|
|
2783
|
-
# Client facing stock keeping unit, article number or similar.
|
|
2784
|
-
attr_accessor :sku
|
|
2785
|
-
# The Stripe account ID of the connected account that sells the item.
|
|
2786
|
-
attr_accessor :sold_by
|
|
2787
|
-
# The tax information for the line item.
|
|
2788
|
-
attr_accessor :tax
|
|
2789
|
-
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2790
|
-
attr_accessor :unit_amount
|
|
2791
|
-
|
|
2792
|
-
def initialize(
|
|
2793
|
-
category: nil,
|
|
2794
|
-
description: nil,
|
|
2795
|
-
name: nil,
|
|
2796
|
-
quantity: nil,
|
|
2797
|
-
sku: nil,
|
|
2798
|
-
sold_by: nil,
|
|
2799
|
-
tax: nil,
|
|
2800
|
-
unit_amount: nil
|
|
2801
|
-
)
|
|
2802
|
-
@category = category
|
|
2803
|
-
@description = description
|
|
2804
|
-
@name = name
|
|
2805
|
-
@quantity = quantity
|
|
2806
|
-
@sku = sku
|
|
2807
|
-
@sold_by = sold_by
|
|
2808
|
-
@tax = tax
|
|
2809
|
-
@unit_amount = unit_amount
|
|
2810
|
-
end
|
|
2811
|
-
end
|
|
1877
|
+
class Paypal < ::Stripe::RequestParams
|
|
2812
1878
|
# Controls when the funds will be captured from the customer's account.
|
|
2813
1879
|
attr_accessor :capture_method
|
|
2814
|
-
# The line items purchased by the customer.
|
|
2815
|
-
attr_accessor :line_items
|
|
2816
1880
|
# [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
|
2817
1881
|
attr_accessor :preferred_locale
|
|
2818
1882
|
# 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.
|
|
2819
1883
|
attr_accessor :reference
|
|
2820
|
-
# 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.
|
|
2821
|
-
attr_accessor :reference_id
|
|
2822
1884
|
# The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
|
2823
1885
|
attr_accessor :risk_correlation_id
|
|
2824
1886
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -2831,140 +1893,29 @@ module Stripe
|
|
|
2831
1893
|
#
|
|
2832
1894
|
# 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`.
|
|
2833
1895
|
attr_accessor :setup_future_usage
|
|
2834
|
-
# 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.
|
|
2835
|
-
attr_accessor :subsellers
|
|
2836
1896
|
|
|
2837
1897
|
def initialize(
|
|
2838
1898
|
capture_method: nil,
|
|
2839
|
-
line_items: nil,
|
|
2840
1899
|
preferred_locale: nil,
|
|
2841
1900
|
reference: nil,
|
|
2842
|
-
reference_id: nil,
|
|
2843
1901
|
risk_correlation_id: nil,
|
|
2844
|
-
setup_future_usage: nil
|
|
2845
|
-
subsellers: nil
|
|
1902
|
+
setup_future_usage: nil
|
|
2846
1903
|
)
|
|
2847
1904
|
@capture_method = capture_method
|
|
2848
|
-
@line_items = line_items
|
|
2849
1905
|
@preferred_locale = preferred_locale
|
|
2850
1906
|
@reference = reference
|
|
2851
|
-
@reference_id = reference_id
|
|
2852
1907
|
@risk_correlation_id = risk_correlation_id
|
|
2853
1908
|
@setup_future_usage = setup_future_usage
|
|
2854
|
-
@subsellers = subsellers
|
|
2855
|
-
end
|
|
2856
|
-
end
|
|
2857
|
-
|
|
2858
|
-
class Paypay < Stripe::RequestParams
|
|
2859
|
-
# Controls when the funds are captured from the customer's account.
|
|
2860
|
-
#
|
|
2861
|
-
# 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.
|
|
2862
|
-
#
|
|
2863
|
-
# 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.
|
|
2864
|
-
attr_accessor :capture_method
|
|
2865
|
-
|
|
2866
|
-
def initialize(capture_method: nil)
|
|
2867
|
-
@capture_method = capture_method
|
|
2868
|
-
end
|
|
2869
|
-
end
|
|
2870
|
-
|
|
2871
|
-
class Payto < Stripe::RequestParams
|
|
2872
|
-
class MandateOptions < Stripe::RequestParams
|
|
2873
|
-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
2874
|
-
attr_accessor :amount
|
|
2875
|
-
# 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.
|
|
2876
|
-
attr_accessor :amount_type
|
|
2877
|
-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
2878
|
-
attr_accessor :end_date
|
|
2879
|
-
# The periodicity at which payments will be collected.
|
|
2880
|
-
attr_accessor :payment_schedule
|
|
2881
|
-
# 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.
|
|
2882
|
-
attr_accessor :payments_per_period
|
|
2883
|
-
# The purpose for which payments are made. Defaults to retail.
|
|
2884
|
-
attr_accessor :purpose
|
|
2885
|
-
|
|
2886
|
-
def initialize(
|
|
2887
|
-
amount: nil,
|
|
2888
|
-
amount_type: nil,
|
|
2889
|
-
end_date: nil,
|
|
2890
|
-
payment_schedule: nil,
|
|
2891
|
-
payments_per_period: nil,
|
|
2892
|
-
purpose: nil
|
|
2893
|
-
)
|
|
2894
|
-
@amount = amount
|
|
2895
|
-
@amount_type = amount_type
|
|
2896
|
-
@end_date = end_date
|
|
2897
|
-
@payment_schedule = payment_schedule
|
|
2898
|
-
@payments_per_period = payments_per_period
|
|
2899
|
-
@purpose = purpose
|
|
2900
|
-
end
|
|
2901
|
-
end
|
|
2902
|
-
# 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`
|
|
2903
|
-
attr_accessor :mandate_options
|
|
2904
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2905
|
-
#
|
|
2906
|
-
# 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.
|
|
2907
|
-
#
|
|
2908
|
-
# 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.
|
|
2909
|
-
#
|
|
2910
|
-
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
2911
|
-
#
|
|
2912
|
-
# 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`.
|
|
2913
|
-
attr_accessor :setup_future_usage
|
|
2914
|
-
|
|
2915
|
-
def initialize(mandate_options: nil, setup_future_usage: nil)
|
|
2916
|
-
@mandate_options = mandate_options
|
|
2917
|
-
@setup_future_usage = setup_future_usage
|
|
2918
1909
|
end
|
|
2919
1910
|
end
|
|
2920
1911
|
|
|
2921
|
-
class Pix < Stripe::RequestParams
|
|
2922
|
-
class MandateOptions < Stripe::RequestParams
|
|
2923
|
-
# Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
|
|
2924
|
-
attr_accessor :amount
|
|
2925
|
-
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
2926
|
-
attr_accessor :amount_includes_iof
|
|
2927
|
-
# Type of amount. Defaults to `maximum`.
|
|
2928
|
-
attr_accessor :amount_type
|
|
2929
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
|
|
2930
|
-
attr_accessor :currency
|
|
2931
|
-
# 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.
|
|
2932
|
-
attr_accessor :end_date
|
|
2933
|
-
# Schedule at which the future payments will be charged. Defaults to `weekly`.
|
|
2934
|
-
attr_accessor :payment_schedule
|
|
2935
|
-
# Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
|
|
2936
|
-
attr_accessor :reference
|
|
2937
|
-
# 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.
|
|
2938
|
-
attr_accessor :start_date
|
|
2939
|
-
|
|
2940
|
-
def initialize(
|
|
2941
|
-
amount: nil,
|
|
2942
|
-
amount_includes_iof: nil,
|
|
2943
|
-
amount_type: nil,
|
|
2944
|
-
currency: nil,
|
|
2945
|
-
end_date: nil,
|
|
2946
|
-
payment_schedule: nil,
|
|
2947
|
-
reference: nil,
|
|
2948
|
-
start_date: nil
|
|
2949
|
-
)
|
|
2950
|
-
@amount = amount
|
|
2951
|
-
@amount_includes_iof = amount_includes_iof
|
|
2952
|
-
@amount_type = amount_type
|
|
2953
|
-
@currency = currency
|
|
2954
|
-
@end_date = end_date
|
|
2955
|
-
@payment_schedule = payment_schedule
|
|
2956
|
-
@reference = reference
|
|
2957
|
-
@start_date = start_date
|
|
2958
|
-
end
|
|
2959
|
-
end
|
|
1912
|
+
class Pix < ::Stripe::RequestParams
|
|
2960
1913
|
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
2961
1914
|
attr_accessor :amount_includes_iof
|
|
2962
1915
|
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
|
|
2963
1916
|
attr_accessor :expires_after_seconds
|
|
2964
1917
|
# The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
|
|
2965
1918
|
attr_accessor :expires_at
|
|
2966
|
-
# Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
|
|
2967
|
-
attr_accessor :mandate_options
|
|
2968
1919
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2969
1920
|
#
|
|
2970
1921
|
# 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.
|
|
@@ -2980,35 +1931,16 @@ module Stripe
|
|
|
2980
1931
|
amount_includes_iof: nil,
|
|
2981
1932
|
expires_after_seconds: nil,
|
|
2982
1933
|
expires_at: nil,
|
|
2983
|
-
mandate_options: nil,
|
|
2984
1934
|
setup_future_usage: nil
|
|
2985
1935
|
)
|
|
2986
1936
|
@amount_includes_iof = amount_includes_iof
|
|
2987
1937
|
@expires_after_seconds = expires_after_seconds
|
|
2988
1938
|
@expires_at = expires_at
|
|
2989
|
-
@mandate_options = mandate_options
|
|
2990
|
-
@setup_future_usage = setup_future_usage
|
|
2991
|
-
end
|
|
2992
|
-
end
|
|
2993
|
-
|
|
2994
|
-
class Promptpay < Stripe::RequestParams
|
|
2995
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2996
|
-
#
|
|
2997
|
-
# 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.
|
|
2998
|
-
#
|
|
2999
|
-
# 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.
|
|
3000
|
-
#
|
|
3001
|
-
# 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).
|
|
3002
|
-
#
|
|
3003
|
-
# 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`.
|
|
3004
|
-
attr_accessor :setup_future_usage
|
|
3005
|
-
|
|
3006
|
-
def initialize(setup_future_usage: nil)
|
|
3007
1939
|
@setup_future_usage = setup_future_usage
|
|
3008
1940
|
end
|
|
3009
1941
|
end
|
|
3010
1942
|
|
|
3011
|
-
class
|
|
1943
|
+
class Promptpay < ::Stripe::RequestParams
|
|
3012
1944
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3013
1945
|
#
|
|
3014
1946
|
# 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.
|
|
@@ -3025,9 +1957,7 @@ module Stripe
|
|
|
3025
1957
|
end
|
|
3026
1958
|
end
|
|
3027
1959
|
|
|
3028
|
-
class
|
|
3029
|
-
|
|
3030
|
-
class RevolutPay < Stripe::RequestParams
|
|
1960
|
+
class RevolutPay < ::Stripe::RequestParams
|
|
3031
1961
|
# Controls when the funds are captured from the customer's account.
|
|
3032
1962
|
#
|
|
3033
1963
|
# 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.
|
|
@@ -3049,7 +1979,7 @@ module Stripe
|
|
|
3049
1979
|
end
|
|
3050
1980
|
end
|
|
3051
1981
|
|
|
3052
|
-
class SamsungPay < Stripe::RequestParams
|
|
1982
|
+
class SamsungPay < ::Stripe::RequestParams
|
|
3053
1983
|
# Controls when the funds are captured from the customer's account.
|
|
3054
1984
|
#
|
|
3055
1985
|
# 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.
|
|
@@ -3062,7 +1992,7 @@ module Stripe
|
|
|
3062
1992
|
end
|
|
3063
1993
|
end
|
|
3064
1994
|
|
|
3065
|
-
class Satispay < Stripe::RequestParams
|
|
1995
|
+
class Satispay < ::Stripe::RequestParams
|
|
3066
1996
|
# Controls when the funds are captured from the customer's account.
|
|
3067
1997
|
#
|
|
3068
1998
|
# 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.
|
|
@@ -3075,8 +2005,8 @@ module Stripe
|
|
|
3075
2005
|
end
|
|
3076
2006
|
end
|
|
3077
2007
|
|
|
3078
|
-
class SepaDebit < Stripe::RequestParams
|
|
3079
|
-
class MandateOptions < Stripe::RequestParams
|
|
2008
|
+
class SepaDebit < ::Stripe::RequestParams
|
|
2009
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
3080
2010
|
# 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'.
|
|
3081
2011
|
attr_accessor :reference_prefix
|
|
3082
2012
|
|
|
@@ -3106,24 +2036,7 @@ module Stripe
|
|
|
3106
2036
|
end
|
|
3107
2037
|
end
|
|
3108
2038
|
|
|
3109
|
-
class
|
|
3110
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3111
|
-
#
|
|
3112
|
-
# 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.
|
|
3113
|
-
#
|
|
3114
|
-
# 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.
|
|
3115
|
-
#
|
|
3116
|
-
# 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).
|
|
3117
|
-
#
|
|
3118
|
-
# 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`.
|
|
3119
|
-
attr_accessor :setup_future_usage
|
|
3120
|
-
|
|
3121
|
-
def initialize(setup_future_usage: nil)
|
|
3122
|
-
@setup_future_usage = setup_future_usage
|
|
3123
|
-
end
|
|
3124
|
-
end
|
|
3125
|
-
|
|
3126
|
-
class Sofort < Stripe::RequestParams
|
|
2039
|
+
class Sofort < ::Stripe::RequestParams
|
|
3127
2040
|
# Language shown to the payer on redirect.
|
|
3128
2041
|
attr_accessor :preferred_language
|
|
3129
2042
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -3143,24 +2056,7 @@ module Stripe
|
|
|
3143
2056
|
end
|
|
3144
2057
|
end
|
|
3145
2058
|
|
|
3146
|
-
class
|
|
3147
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3148
|
-
#
|
|
3149
|
-
# 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.
|
|
3150
|
-
#
|
|
3151
|
-
# 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.
|
|
3152
|
-
#
|
|
3153
|
-
# 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).
|
|
3154
|
-
#
|
|
3155
|
-
# 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`.
|
|
3156
|
-
attr_accessor :setup_future_usage
|
|
3157
|
-
|
|
3158
|
-
def initialize(setup_future_usage: nil)
|
|
3159
|
-
@setup_future_usage = setup_future_usage
|
|
3160
|
-
end
|
|
3161
|
-
end
|
|
3162
|
-
|
|
3163
|
-
class Swish < Stripe::RequestParams
|
|
2059
|
+
class Swish < ::Stripe::RequestParams
|
|
3164
2060
|
# A reference for this payment to be displayed in the Swish app.
|
|
3165
2061
|
attr_accessor :reference
|
|
3166
2062
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -3180,7 +2076,7 @@ module Stripe
|
|
|
3180
2076
|
end
|
|
3181
2077
|
end
|
|
3182
2078
|
|
|
3183
|
-
class Twint < Stripe::RequestParams
|
|
2079
|
+
class Twint < ::Stripe::RequestParams
|
|
3184
2080
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3185
2081
|
#
|
|
3186
2082
|
# 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.
|
|
@@ -3197,32 +2093,18 @@ module Stripe
|
|
|
3197
2093
|
end
|
|
3198
2094
|
end
|
|
3199
2095
|
|
|
3200
|
-
class UsBankAccount < Stripe::RequestParams
|
|
3201
|
-
class FinancialConnections < Stripe::RequestParams
|
|
3202
|
-
class Filters < Stripe::RequestParams
|
|
2096
|
+
class UsBankAccount < ::Stripe::RequestParams
|
|
2097
|
+
class FinancialConnections < ::Stripe::RequestParams
|
|
2098
|
+
class Filters < ::Stripe::RequestParams
|
|
3203
2099
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
3204
2100
|
attr_accessor :account_subcategories
|
|
3205
|
-
# ID of the institution to use to filter for selectable accounts.
|
|
3206
|
-
attr_accessor :institution
|
|
3207
2101
|
|
|
3208
|
-
def initialize(account_subcategories: nil
|
|
2102
|
+
def initialize(account_subcategories: nil)
|
|
3209
2103
|
@account_subcategories = account_subcategories
|
|
3210
|
-
@institution = institution
|
|
3211
|
-
end
|
|
3212
|
-
end
|
|
3213
|
-
|
|
3214
|
-
class ManualEntry < Stripe::RequestParams
|
|
3215
|
-
# Settings for configuring manual entry of account details.
|
|
3216
|
-
attr_accessor :mode
|
|
3217
|
-
|
|
3218
|
-
def initialize(mode: nil)
|
|
3219
|
-
@mode = mode
|
|
3220
2104
|
end
|
|
3221
2105
|
end
|
|
3222
2106
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
|
3223
2107
|
attr_accessor :filters
|
|
3224
|
-
# Customize manual entry behavior
|
|
3225
|
-
attr_accessor :manual_entry
|
|
3226
2108
|
# 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`.
|
|
3227
2109
|
attr_accessor :permissions
|
|
3228
2110
|
# List of data features that you would like to retrieve upon account creation.
|
|
@@ -3230,22 +2112,15 @@ module Stripe
|
|
|
3230
2112
|
# 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.
|
|
3231
2113
|
attr_accessor :return_url
|
|
3232
2114
|
|
|
3233
|
-
def initialize(
|
|
3234
|
-
filters: nil,
|
|
3235
|
-
manual_entry: nil,
|
|
3236
|
-
permissions: nil,
|
|
3237
|
-
prefetch: nil,
|
|
3238
|
-
return_url: nil
|
|
3239
|
-
)
|
|
2115
|
+
def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
|
|
3240
2116
|
@filters = filters
|
|
3241
|
-
@manual_entry = manual_entry
|
|
3242
2117
|
@permissions = permissions
|
|
3243
2118
|
@prefetch = prefetch
|
|
3244
2119
|
@return_url = return_url
|
|
3245
2120
|
end
|
|
3246
2121
|
end
|
|
3247
2122
|
|
|
3248
|
-
class MandateOptions < Stripe::RequestParams
|
|
2123
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
3249
2124
|
# The method used to collect offline mandate customer acceptance.
|
|
3250
2125
|
attr_accessor :collection_method
|
|
3251
2126
|
|
|
@@ -3254,7 +2129,7 @@ module Stripe
|
|
|
3254
2129
|
end
|
|
3255
2130
|
end
|
|
3256
2131
|
|
|
3257
|
-
class Networks < Stripe::RequestParams
|
|
2132
|
+
class Networks < ::Stripe::RequestParams
|
|
3258
2133
|
# Triggers validations to run across the selected networks
|
|
3259
2134
|
attr_accessor :requested
|
|
3260
2135
|
|
|
@@ -3304,7 +2179,7 @@ module Stripe
|
|
|
3304
2179
|
end
|
|
3305
2180
|
end
|
|
3306
2181
|
|
|
3307
|
-
class WechatPay < Stripe::RequestParams
|
|
2182
|
+
class WechatPay < ::Stripe::RequestParams
|
|
3308
2183
|
# The app ID registered with WeChat Pay. Only required when client is ios or android.
|
|
3309
2184
|
attr_accessor :app_id
|
|
3310
2185
|
# The client type that the end customer will pay from
|
|
@@ -3327,7 +2202,7 @@ module Stripe
|
|
|
3327
2202
|
end
|
|
3328
2203
|
end
|
|
3329
2204
|
|
|
3330
|
-
class Zip < Stripe::RequestParams
|
|
2205
|
+
class Zip < ::Stripe::RequestParams
|
|
3331
2206
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3332
2207
|
#
|
|
3333
2208
|
# 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.
|
|
@@ -3383,12 +2258,8 @@ module Stripe
|
|
|
3383
2258
|
attr_accessor :fpx
|
|
3384
2259
|
# If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
|
|
3385
2260
|
attr_accessor :giropay
|
|
3386
|
-
# If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
|
|
3387
|
-
attr_accessor :gopay
|
|
3388
2261
|
# If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
|
|
3389
2262
|
attr_accessor :grabpay
|
|
3390
|
-
# If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
|
|
3391
|
-
attr_accessor :id_bank_transfer
|
|
3392
2263
|
# If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
|
|
3393
2264
|
attr_accessor :ideal
|
|
3394
2265
|
# If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
|
|
@@ -3425,18 +2296,10 @@ module Stripe
|
|
|
3425
2296
|
attr_accessor :paynow
|
|
3426
2297
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
|
3427
2298
|
attr_accessor :paypal
|
|
3428
|
-
# If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
|
|
3429
|
-
attr_accessor :paypay
|
|
3430
|
-
# If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
|
|
3431
|
-
attr_accessor :payto
|
|
3432
2299
|
# If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
|
|
3433
2300
|
attr_accessor :pix
|
|
3434
2301
|
# If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
|
|
3435
2302
|
attr_accessor :promptpay
|
|
3436
|
-
# If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
|
|
3437
|
-
attr_accessor :qris
|
|
3438
|
-
# If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
|
|
3439
|
-
attr_accessor :rechnung
|
|
3440
2303
|
# If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
|
|
3441
2304
|
attr_accessor :revolut_pay
|
|
3442
2305
|
# If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
|
|
@@ -3445,12 +2308,8 @@ module Stripe
|
|
|
3445
2308
|
attr_accessor :satispay
|
|
3446
2309
|
# If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
3447
2310
|
attr_accessor :sepa_debit
|
|
3448
|
-
# If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
|
|
3449
|
-
attr_accessor :shopeepay
|
|
3450
2311
|
# If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
|
|
3451
2312
|
attr_accessor :sofort
|
|
3452
|
-
# If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
|
|
3453
|
-
attr_accessor :stripe_balance
|
|
3454
2313
|
# If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
|
|
3455
2314
|
attr_accessor :swish
|
|
3456
2315
|
# If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
|
|
@@ -3483,9 +2342,7 @@ module Stripe
|
|
|
3483
2342
|
eps: nil,
|
|
3484
2343
|
fpx: nil,
|
|
3485
2344
|
giropay: nil,
|
|
3486
|
-
gopay: nil,
|
|
3487
2345
|
grabpay: nil,
|
|
3488
|
-
id_bank_transfer: nil,
|
|
3489
2346
|
ideal: nil,
|
|
3490
2347
|
interac_present: nil,
|
|
3491
2348
|
kakao_pay: nil,
|
|
@@ -3504,19 +2361,13 @@ module Stripe
|
|
|
3504
2361
|
payco: nil,
|
|
3505
2362
|
paynow: nil,
|
|
3506
2363
|
paypal: nil,
|
|
3507
|
-
paypay: nil,
|
|
3508
|
-
payto: nil,
|
|
3509
2364
|
pix: nil,
|
|
3510
2365
|
promptpay: nil,
|
|
3511
|
-
qris: nil,
|
|
3512
|
-
rechnung: nil,
|
|
3513
2366
|
revolut_pay: nil,
|
|
3514
2367
|
samsung_pay: nil,
|
|
3515
2368
|
satispay: nil,
|
|
3516
2369
|
sepa_debit: nil,
|
|
3517
|
-
shopeepay: nil,
|
|
3518
2370
|
sofort: nil,
|
|
3519
|
-
stripe_balance: nil,
|
|
3520
2371
|
swish: nil,
|
|
3521
2372
|
twint: nil,
|
|
3522
2373
|
us_bank_account: nil,
|
|
@@ -3543,9 +2394,7 @@ module Stripe
|
|
|
3543
2394
|
@eps = eps
|
|
3544
2395
|
@fpx = fpx
|
|
3545
2396
|
@giropay = giropay
|
|
3546
|
-
@gopay = gopay
|
|
3547
2397
|
@grabpay = grabpay
|
|
3548
|
-
@id_bank_transfer = id_bank_transfer
|
|
3549
2398
|
@ideal = ideal
|
|
3550
2399
|
@interac_present = interac_present
|
|
3551
2400
|
@kakao_pay = kakao_pay
|
|
@@ -3564,19 +2413,13 @@ module Stripe
|
|
|
3564
2413
|
@payco = payco
|
|
3565
2414
|
@paynow = paynow
|
|
3566
2415
|
@paypal = paypal
|
|
3567
|
-
@paypay = paypay
|
|
3568
|
-
@payto = payto
|
|
3569
2416
|
@pix = pix
|
|
3570
2417
|
@promptpay = promptpay
|
|
3571
|
-
@qris = qris
|
|
3572
|
-
@rechnung = rechnung
|
|
3573
2418
|
@revolut_pay = revolut_pay
|
|
3574
2419
|
@samsung_pay = samsung_pay
|
|
3575
2420
|
@satispay = satispay
|
|
3576
2421
|
@sepa_debit = sepa_debit
|
|
3577
|
-
@shopeepay = shopeepay
|
|
3578
2422
|
@sofort = sofort
|
|
3579
|
-
@stripe_balance = stripe_balance
|
|
3580
2423
|
@swish = swish
|
|
3581
2424
|
@twint = twint
|
|
3582
2425
|
@us_bank_account = us_bank_account
|
|
@@ -3585,7 +2428,7 @@ module Stripe
|
|
|
3585
2428
|
end
|
|
3586
2429
|
end
|
|
3587
2430
|
|
|
3588
|
-
class RadarOptions < Stripe::RequestParams
|
|
2431
|
+
class RadarOptions < ::Stripe::RequestParams
|
|
3589
2432
|
# 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.
|
|
3590
2433
|
attr_accessor :session
|
|
3591
2434
|
|
|
@@ -3594,8 +2437,8 @@ module Stripe
|
|
|
3594
2437
|
end
|
|
3595
2438
|
end
|
|
3596
2439
|
|
|
3597
|
-
class Shipping < Stripe::RequestParams
|
|
3598
|
-
class Address < Stripe::RequestParams
|
|
2440
|
+
class Shipping < ::Stripe::RequestParams
|
|
2441
|
+
class Address < ::Stripe::RequestParams
|
|
3599
2442
|
# City, district, suburb, town, or village.
|
|
3600
2443
|
attr_accessor :city
|
|
3601
2444
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
@@ -3645,7 +2488,7 @@ module Stripe
|
|
|
3645
2488
|
end
|
|
3646
2489
|
end
|
|
3647
2490
|
|
|
3648
|
-
class TransferData < Stripe::RequestParams
|
|
2491
|
+
class TransferData < ::Stripe::RequestParams
|
|
3649
2492
|
# The amount that will be transferred automatically when a charge succeeds.
|
|
3650
2493
|
# The amount is capped at the total transaction amount and if no amount is set,
|
|
3651
2494
|
# the full amount is transferred.
|
|
@@ -3691,12 +2534,6 @@ module Stripe
|
|
|
3691
2534
|
#
|
|
3692
2535
|
# If [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.
|
|
3693
2536
|
attr_accessor :customer
|
|
3694
|
-
# ID of the Account this PaymentIntent belongs to, if one exists.
|
|
3695
|
-
#
|
|
3696
|
-
# Payment methods attached to other Accounts cannot be used with this PaymentIntent.
|
|
3697
|
-
#
|
|
3698
|
-
# If [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
|
|
3699
|
-
attr_accessor :customer_account
|
|
3700
2537
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
|
3701
2538
|
attr_accessor :description
|
|
3702
2539
|
# Set to `true` to fail the payment attempt if the PaymentIntent transitions into `requires_action`. Use this parameter for simpler integrations that don't handle customer actions, such as [saving cards without authentication](https://stripe.com/docs/payments/save-card-without-authentication). This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm).
|
|
@@ -3705,10 +2542,6 @@ module Stripe
|
|
|
3705
2542
|
attr_accessor :excluded_payment_method_types
|
|
3706
2543
|
# Specifies which fields in the response should be expanded.
|
|
3707
2544
|
attr_accessor :expand
|
|
3708
|
-
# The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
|
|
3709
|
-
attr_accessor :fx_quote
|
|
3710
|
-
# Automations to be run during the PaymentIntent lifecycle
|
|
3711
|
-
attr_accessor :hooks
|
|
3712
2545
|
# ID of the mandate that's used for this payment. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm).
|
|
3713
2546
|
attr_accessor :mandate
|
|
3714
2547
|
# This hash contains details about the Mandate to create. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm).
|
|
@@ -3743,8 +2576,6 @@ module Stripe
|
|
|
3743
2576
|
attr_accessor :receipt_email
|
|
3744
2577
|
# The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm).
|
|
3745
2578
|
attr_accessor :return_url
|
|
3746
|
-
# Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
|
|
3747
|
-
attr_accessor :secret_key_confirmation
|
|
3748
2579
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3749
2580
|
#
|
|
3750
2581
|
# 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.
|
|
@@ -3780,13 +2611,10 @@ module Stripe
|
|
|
3780
2611
|
confirmation_token: nil,
|
|
3781
2612
|
currency: nil,
|
|
3782
2613
|
customer: nil,
|
|
3783
|
-
customer_account: nil,
|
|
3784
2614
|
description: nil,
|
|
3785
2615
|
error_on_requires_action: nil,
|
|
3786
2616
|
excluded_payment_method_types: nil,
|
|
3787
2617
|
expand: nil,
|
|
3788
|
-
fx_quote: nil,
|
|
3789
|
-
hooks: nil,
|
|
3790
2618
|
mandate: nil,
|
|
3791
2619
|
mandate_data: nil,
|
|
3792
2620
|
metadata: nil,
|
|
@@ -3801,7 +2629,6 @@ module Stripe
|
|
|
3801
2629
|
radar_options: nil,
|
|
3802
2630
|
receipt_email: nil,
|
|
3803
2631
|
return_url: nil,
|
|
3804
|
-
secret_key_confirmation: nil,
|
|
3805
2632
|
setup_future_usage: nil,
|
|
3806
2633
|
shipping: nil,
|
|
3807
2634
|
statement_descriptor: nil,
|
|
@@ -3820,13 +2647,10 @@ module Stripe
|
|
|
3820
2647
|
@confirmation_token = confirmation_token
|
|
3821
2648
|
@currency = currency
|
|
3822
2649
|
@customer = customer
|
|
3823
|
-
@customer_account = customer_account
|
|
3824
2650
|
@description = description
|
|
3825
2651
|
@error_on_requires_action = error_on_requires_action
|
|
3826
2652
|
@excluded_payment_method_types = excluded_payment_method_types
|
|
3827
2653
|
@expand = expand
|
|
3828
|
-
@fx_quote = fx_quote
|
|
3829
|
-
@hooks = hooks
|
|
3830
2654
|
@mandate = mandate
|
|
3831
2655
|
@mandate_data = mandate_data
|
|
3832
2656
|
@metadata = metadata
|
|
@@ -3841,7 +2665,6 @@ module Stripe
|
|
|
3841
2665
|
@radar_options = radar_options
|
|
3842
2666
|
@receipt_email = receipt_email
|
|
3843
2667
|
@return_url = return_url
|
|
3844
|
-
@secret_key_confirmation = secret_key_confirmation
|
|
3845
2668
|
@setup_future_usage = setup_future_usage
|
|
3846
2669
|
@shipping = shipping
|
|
3847
2670
|
@statement_descriptor = statement_descriptor
|