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 PaymentIntentUpdateParams < Stripe::RequestParams
|
|
6
|
-
class AmountDetails < Stripe::RequestParams
|
|
7
|
-
class LineItem < Stripe::RequestParams
|
|
8
|
-
class PaymentMethodOptions < Stripe::RequestParams
|
|
9
|
-
class Card < Stripe::RequestParams
|
|
5
|
+
class PaymentIntentUpdateParams < ::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,769 +174,26 @@ module Stripe
|
|
|
156
174
|
end
|
|
157
175
|
end
|
|
158
176
|
|
|
159
|
-
class
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
attr_accessor :calculation
|
|
164
|
-
|
|
165
|
-
def initialize(calculation: nil)
|
|
166
|
-
@calculation = calculation
|
|
167
|
-
end
|
|
168
|
-
end
|
|
169
|
-
# Tax arguments for automations
|
|
170
|
-
attr_accessor :tax
|
|
171
|
-
|
|
172
|
-
def initialize(tax: nil)
|
|
173
|
-
@tax = tax
|
|
174
|
-
end
|
|
175
|
-
end
|
|
176
|
-
# Arguments passed in automations
|
|
177
|
-
attr_accessor :inputs
|
|
178
|
-
|
|
179
|
-
def initialize(inputs: nil)
|
|
180
|
-
@inputs = inputs
|
|
181
|
-
end
|
|
182
|
-
end
|
|
183
|
-
|
|
184
|
-
class MandateData < Stripe::RequestParams
|
|
185
|
-
class CustomerAcceptance < Stripe::RequestParams
|
|
186
|
-
class Online < Stripe::RequestParams
|
|
187
|
-
# The IP address from which the Mandate was accepted by the customer.
|
|
188
|
-
attr_accessor :ip_address
|
|
189
|
-
# The user agent of the browser from which the Mandate was accepted by the customer.
|
|
190
|
-
attr_accessor :user_agent
|
|
191
|
-
|
|
192
|
-
def initialize(ip_address: nil, user_agent: nil)
|
|
193
|
-
@ip_address = ip_address
|
|
194
|
-
@user_agent = user_agent
|
|
195
|
-
end
|
|
196
|
-
end
|
|
197
|
-
# If this is a Mandate accepted online, this hash contains details about the online acceptance.
|
|
198
|
-
attr_accessor :online
|
|
199
|
-
# The type of customer acceptance information included with the Mandate.
|
|
200
|
-
attr_accessor :type
|
|
201
|
-
|
|
202
|
-
def initialize(online: nil, type: nil)
|
|
203
|
-
@online = online
|
|
204
|
-
@type = type
|
|
205
|
-
end
|
|
206
|
-
end
|
|
207
|
-
# This hash contains details about the customer acceptance of the Mandate.
|
|
208
|
-
attr_accessor :customer_acceptance
|
|
209
|
-
|
|
210
|
-
def initialize(customer_acceptance: nil)
|
|
211
|
-
@customer_acceptance = customer_acceptance
|
|
212
|
-
end
|
|
213
|
-
end
|
|
214
|
-
|
|
215
|
-
class PaymentDetails < Stripe::RequestParams
|
|
216
|
-
class CarRental < Stripe::RequestParams
|
|
217
|
-
class Affiliate < Stripe::RequestParams
|
|
218
|
-
# The name of the affiliate that originated the purchase.
|
|
219
|
-
attr_accessor :name
|
|
220
|
-
|
|
221
|
-
def initialize(name: nil)
|
|
222
|
-
@name = name
|
|
223
|
-
end
|
|
224
|
-
end
|
|
225
|
-
|
|
226
|
-
class Delivery < Stripe::RequestParams
|
|
227
|
-
class Recipient < Stripe::RequestParams
|
|
228
|
-
# The email of the recipient the ticket is delivered to.
|
|
229
|
-
attr_accessor :email
|
|
230
|
-
# The name of the recipient the ticket is delivered to.
|
|
231
|
-
attr_accessor :name
|
|
232
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
233
|
-
attr_accessor :phone
|
|
234
|
-
|
|
235
|
-
def initialize(email: nil, name: nil, phone: nil)
|
|
236
|
-
@email = email
|
|
237
|
-
@name = name
|
|
238
|
-
@phone = phone
|
|
239
|
-
end
|
|
240
|
-
end
|
|
241
|
-
# The delivery method for the payment
|
|
242
|
-
attr_accessor :mode
|
|
243
|
-
# Details of the recipient.
|
|
244
|
-
attr_accessor :recipient
|
|
245
|
-
|
|
246
|
-
def initialize(mode: nil, recipient: nil)
|
|
247
|
-
@mode = mode
|
|
248
|
-
@recipient = recipient
|
|
249
|
-
end
|
|
250
|
-
end
|
|
251
|
-
|
|
252
|
-
class Distance < Stripe::RequestParams
|
|
253
|
-
# Distance traveled.
|
|
254
|
-
attr_accessor :amount
|
|
255
|
-
# Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
256
|
-
attr_accessor :unit
|
|
257
|
-
|
|
258
|
-
def initialize(amount: nil, unit: nil)
|
|
259
|
-
@amount = amount
|
|
260
|
-
@unit = unit
|
|
261
|
-
end
|
|
262
|
-
end
|
|
263
|
-
|
|
264
|
-
class Driver < Stripe::RequestParams
|
|
265
|
-
# Driver's identification number.
|
|
266
|
-
attr_accessor :driver_identification_number
|
|
267
|
-
# Driver's tax number.
|
|
268
|
-
attr_accessor :driver_tax_number
|
|
269
|
-
# Full name of the person or entity on the car reservation.
|
|
270
|
-
attr_accessor :name
|
|
271
|
-
|
|
272
|
-
def initialize(driver_identification_number: nil, driver_tax_number: nil, name: nil)
|
|
273
|
-
@driver_identification_number = driver_identification_number
|
|
274
|
-
@driver_tax_number = driver_tax_number
|
|
275
|
-
@name = name
|
|
276
|
-
end
|
|
277
|
-
end
|
|
278
|
-
|
|
279
|
-
class PickupAddress < Stripe::RequestParams
|
|
280
|
-
# City, district, suburb, town, or village.
|
|
281
|
-
attr_accessor :city
|
|
282
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
283
|
-
attr_accessor :country
|
|
284
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
285
|
-
attr_accessor :line1
|
|
286
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
287
|
-
attr_accessor :line2
|
|
288
|
-
# ZIP or postal code.
|
|
289
|
-
attr_accessor :postal_code
|
|
290
|
-
# State, county, province, or region.
|
|
291
|
-
attr_accessor :state
|
|
292
|
-
|
|
293
|
-
def initialize(
|
|
294
|
-
city: nil,
|
|
295
|
-
country: nil,
|
|
296
|
-
line1: nil,
|
|
297
|
-
line2: nil,
|
|
298
|
-
postal_code: nil,
|
|
299
|
-
state: nil
|
|
300
|
-
)
|
|
301
|
-
@city = city
|
|
302
|
-
@country = country
|
|
303
|
-
@line1 = line1
|
|
304
|
-
@line2 = line2
|
|
305
|
-
@postal_code = postal_code
|
|
306
|
-
@state = state
|
|
307
|
-
end
|
|
308
|
-
end
|
|
309
|
-
|
|
310
|
-
class ReturnAddress < Stripe::RequestParams
|
|
311
|
-
# City, district, suburb, town, or village.
|
|
312
|
-
attr_accessor :city
|
|
313
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
314
|
-
attr_accessor :country
|
|
315
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
316
|
-
attr_accessor :line1
|
|
317
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
318
|
-
attr_accessor :line2
|
|
319
|
-
# ZIP or postal code.
|
|
320
|
-
attr_accessor :postal_code
|
|
321
|
-
# State, county, province, or region.
|
|
322
|
-
attr_accessor :state
|
|
323
|
-
|
|
324
|
-
def initialize(
|
|
325
|
-
city: nil,
|
|
326
|
-
country: nil,
|
|
327
|
-
line1: nil,
|
|
328
|
-
line2: nil,
|
|
329
|
-
postal_code: nil,
|
|
330
|
-
state: nil
|
|
331
|
-
)
|
|
332
|
-
@city = city
|
|
333
|
-
@country = country
|
|
334
|
-
@line1 = line1
|
|
335
|
-
@line2 = line2
|
|
336
|
-
@postal_code = postal_code
|
|
337
|
-
@state = state
|
|
338
|
-
end
|
|
339
|
-
end
|
|
340
|
-
# Affiliate details for this purchase.
|
|
341
|
-
attr_accessor :affiliate
|
|
342
|
-
# The booking number associated with the car rental.
|
|
343
|
-
attr_accessor :booking_number
|
|
344
|
-
# Class code of the car.
|
|
345
|
-
attr_accessor :car_class_code
|
|
346
|
-
# Make of the car.
|
|
347
|
-
attr_accessor :car_make
|
|
348
|
-
# Model of the car.
|
|
349
|
-
attr_accessor :car_model
|
|
350
|
-
# The name of the rental car company.
|
|
351
|
-
attr_accessor :company
|
|
352
|
-
# The customer service phone number of the car rental company.
|
|
353
|
-
attr_accessor :customer_service_phone_number
|
|
354
|
-
# Number of days the car is being rented.
|
|
355
|
-
attr_accessor :days_rented
|
|
356
|
-
# Delivery details for this purchase.
|
|
357
|
-
attr_accessor :delivery
|
|
358
|
-
# The details of the distance traveled during the rental period.
|
|
359
|
-
attr_accessor :distance
|
|
360
|
-
# The details of the passengers in the travel reservation
|
|
361
|
-
attr_accessor :drivers
|
|
362
|
-
# List of additional charges being billed.
|
|
363
|
-
attr_accessor :extra_charges
|
|
364
|
-
# Indicates if the customer did not keep nor cancel their booking.
|
|
365
|
-
attr_accessor :no_show
|
|
366
|
-
# Car pick-up address.
|
|
367
|
-
attr_accessor :pickup_address
|
|
368
|
-
# Car pick-up time. Measured in seconds since the Unix epoch.
|
|
369
|
-
attr_accessor :pickup_at
|
|
370
|
-
# Name of the pickup location.
|
|
371
|
-
attr_accessor :pickup_location_name
|
|
372
|
-
# Rental rate.
|
|
373
|
-
attr_accessor :rate_amount
|
|
374
|
-
# The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
375
|
-
attr_accessor :rate_interval
|
|
376
|
-
# The name of the person or entity renting the car.
|
|
377
|
-
attr_accessor :renter_name
|
|
378
|
-
# Car return address.
|
|
379
|
-
attr_accessor :return_address
|
|
380
|
-
# Car return time. Measured in seconds since the Unix epoch.
|
|
381
|
-
attr_accessor :return_at
|
|
382
|
-
# Name of the return location.
|
|
383
|
-
attr_accessor :return_location_name
|
|
384
|
-
# Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
385
|
-
attr_accessor :tax_exempt
|
|
386
|
-
# The vehicle identification number.
|
|
387
|
-
attr_accessor :vehicle_identification_number
|
|
388
|
-
|
|
389
|
-
def initialize(
|
|
390
|
-
affiliate: nil,
|
|
391
|
-
booking_number: nil,
|
|
392
|
-
car_class_code: nil,
|
|
393
|
-
car_make: nil,
|
|
394
|
-
car_model: nil,
|
|
395
|
-
company: nil,
|
|
396
|
-
customer_service_phone_number: nil,
|
|
397
|
-
days_rented: nil,
|
|
398
|
-
delivery: nil,
|
|
399
|
-
distance: nil,
|
|
400
|
-
drivers: nil,
|
|
401
|
-
extra_charges: nil,
|
|
402
|
-
no_show: nil,
|
|
403
|
-
pickup_address: nil,
|
|
404
|
-
pickup_at: nil,
|
|
405
|
-
pickup_location_name: nil,
|
|
406
|
-
rate_amount: nil,
|
|
407
|
-
rate_interval: nil,
|
|
408
|
-
renter_name: nil,
|
|
409
|
-
return_address: nil,
|
|
410
|
-
return_at: nil,
|
|
411
|
-
return_location_name: nil,
|
|
412
|
-
tax_exempt: nil,
|
|
413
|
-
vehicle_identification_number: nil
|
|
414
|
-
)
|
|
415
|
-
@affiliate = affiliate
|
|
416
|
-
@booking_number = booking_number
|
|
417
|
-
@car_class_code = car_class_code
|
|
418
|
-
@car_make = car_make
|
|
419
|
-
@car_model = car_model
|
|
420
|
-
@company = company
|
|
421
|
-
@customer_service_phone_number = customer_service_phone_number
|
|
422
|
-
@days_rented = days_rented
|
|
423
|
-
@delivery = delivery
|
|
424
|
-
@distance = distance
|
|
425
|
-
@drivers = drivers
|
|
426
|
-
@extra_charges = extra_charges
|
|
427
|
-
@no_show = no_show
|
|
428
|
-
@pickup_address = pickup_address
|
|
429
|
-
@pickup_at = pickup_at
|
|
430
|
-
@pickup_location_name = pickup_location_name
|
|
431
|
-
@rate_amount = rate_amount
|
|
432
|
-
@rate_interval = rate_interval
|
|
433
|
-
@renter_name = renter_name
|
|
434
|
-
@return_address = return_address
|
|
435
|
-
@return_at = return_at
|
|
436
|
-
@return_location_name = return_location_name
|
|
437
|
-
@tax_exempt = tax_exempt
|
|
438
|
-
@vehicle_identification_number = vehicle_identification_number
|
|
439
|
-
end
|
|
440
|
-
end
|
|
441
|
-
|
|
442
|
-
class EventDetails < Stripe::RequestParams
|
|
443
|
-
class Address < Stripe::RequestParams
|
|
444
|
-
# City, district, suburb, town, or village.
|
|
445
|
-
attr_accessor :city
|
|
446
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
447
|
-
attr_accessor :country
|
|
448
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
449
|
-
attr_accessor :line1
|
|
450
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
451
|
-
attr_accessor :line2
|
|
452
|
-
# ZIP or postal code.
|
|
453
|
-
attr_accessor :postal_code
|
|
454
|
-
# State, county, province, or region.
|
|
455
|
-
attr_accessor :state
|
|
456
|
-
|
|
457
|
-
def initialize(
|
|
458
|
-
city: nil,
|
|
459
|
-
country: nil,
|
|
460
|
-
line1: nil,
|
|
461
|
-
line2: nil,
|
|
462
|
-
postal_code: nil,
|
|
463
|
-
state: nil
|
|
464
|
-
)
|
|
465
|
-
@city = city
|
|
466
|
-
@country = country
|
|
467
|
-
@line1 = line1
|
|
468
|
-
@line2 = line2
|
|
469
|
-
@postal_code = postal_code
|
|
470
|
-
@state = state
|
|
471
|
-
end
|
|
472
|
-
end
|
|
473
|
-
|
|
474
|
-
class Affiliate < Stripe::RequestParams
|
|
475
|
-
# The name of the affiliate that originated the purchase.
|
|
476
|
-
attr_accessor :name
|
|
477
|
-
|
|
478
|
-
def initialize(name: nil)
|
|
479
|
-
@name = name
|
|
480
|
-
end
|
|
481
|
-
end
|
|
482
|
-
|
|
483
|
-
class Delivery < Stripe::RequestParams
|
|
484
|
-
class Recipient < Stripe::RequestParams
|
|
485
|
-
# The email of the recipient the ticket is delivered to.
|
|
486
|
-
attr_accessor :email
|
|
487
|
-
# The name of the recipient the ticket is delivered to.
|
|
488
|
-
attr_accessor :name
|
|
489
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
490
|
-
attr_accessor :phone
|
|
491
|
-
|
|
492
|
-
def initialize(email: nil, name: nil, phone: nil)
|
|
493
|
-
@email = email
|
|
494
|
-
@name = name
|
|
495
|
-
@phone = phone
|
|
496
|
-
end
|
|
497
|
-
end
|
|
498
|
-
# The delivery method for the payment
|
|
499
|
-
attr_accessor :mode
|
|
500
|
-
# Details of the recipient.
|
|
501
|
-
attr_accessor :recipient
|
|
502
|
-
|
|
503
|
-
def initialize(mode: nil, recipient: nil)
|
|
504
|
-
@mode = mode
|
|
505
|
-
@recipient = recipient
|
|
506
|
-
end
|
|
507
|
-
end
|
|
508
|
-
# Indicates if the tickets are digitally checked when entering the venue.
|
|
509
|
-
attr_accessor :access_controlled_venue
|
|
510
|
-
# The event location's address.
|
|
511
|
-
attr_accessor :address
|
|
512
|
-
# Affiliate details for this purchase.
|
|
513
|
-
attr_accessor :affiliate
|
|
514
|
-
# The name of the company
|
|
515
|
-
attr_accessor :company
|
|
516
|
-
# Delivery details for this purchase.
|
|
517
|
-
attr_accessor :delivery
|
|
518
|
-
# Event end time. Measured in seconds since the Unix epoch.
|
|
519
|
-
attr_accessor :ends_at
|
|
520
|
-
# Type of the event entertainment (concert, sports event etc)
|
|
521
|
-
attr_accessor :genre
|
|
522
|
-
# The name of the event.
|
|
523
|
-
attr_accessor :name
|
|
524
|
-
# Event start time. Measured in seconds since the Unix epoch.
|
|
525
|
-
attr_accessor :starts_at
|
|
526
|
-
|
|
527
|
-
def initialize(
|
|
528
|
-
access_controlled_venue: nil,
|
|
529
|
-
address: nil,
|
|
530
|
-
affiliate: nil,
|
|
531
|
-
company: nil,
|
|
532
|
-
delivery: nil,
|
|
533
|
-
ends_at: nil,
|
|
534
|
-
genre: nil,
|
|
535
|
-
name: nil,
|
|
536
|
-
starts_at: nil
|
|
537
|
-
)
|
|
538
|
-
@access_controlled_venue = access_controlled_venue
|
|
539
|
-
@address = address
|
|
540
|
-
@affiliate = affiliate
|
|
541
|
-
@company = company
|
|
542
|
-
@delivery = delivery
|
|
543
|
-
@ends_at = ends_at
|
|
544
|
-
@genre = genre
|
|
545
|
-
@name = name
|
|
546
|
-
@starts_at = starts_at
|
|
547
|
-
end
|
|
548
|
-
end
|
|
549
|
-
|
|
550
|
-
class Flight < Stripe::RequestParams
|
|
551
|
-
class Affiliate < Stripe::RequestParams
|
|
552
|
-
# The name of the affiliate that originated the purchase.
|
|
553
|
-
attr_accessor :name
|
|
554
|
-
|
|
555
|
-
def initialize(name: nil)
|
|
556
|
-
@name = name
|
|
557
|
-
end
|
|
558
|
-
end
|
|
559
|
-
|
|
560
|
-
class Delivery < Stripe::RequestParams
|
|
561
|
-
class Recipient < Stripe::RequestParams
|
|
562
|
-
# The email of the recipient the ticket is delivered to.
|
|
563
|
-
attr_accessor :email
|
|
564
|
-
# The name of the recipient the ticket is delivered to.
|
|
565
|
-
attr_accessor :name
|
|
566
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
567
|
-
attr_accessor :phone
|
|
568
|
-
|
|
569
|
-
def initialize(email: nil, name: nil, phone: nil)
|
|
570
|
-
@email = email
|
|
571
|
-
@name = name
|
|
572
|
-
@phone = phone
|
|
573
|
-
end
|
|
574
|
-
end
|
|
575
|
-
# The delivery method for the payment
|
|
576
|
-
attr_accessor :mode
|
|
577
|
-
# Details of the recipient.
|
|
578
|
-
attr_accessor :recipient
|
|
579
|
-
|
|
580
|
-
def initialize(mode: nil, recipient: nil)
|
|
581
|
-
@mode = mode
|
|
582
|
-
@recipient = recipient
|
|
583
|
-
end
|
|
584
|
-
end
|
|
585
|
-
|
|
586
|
-
class Passenger < Stripe::RequestParams
|
|
587
|
-
# Full name of the person or entity on the flight reservation.
|
|
588
|
-
attr_accessor :name
|
|
589
|
-
|
|
590
|
-
def initialize(name: nil)
|
|
591
|
-
@name = name
|
|
592
|
-
end
|
|
593
|
-
end
|
|
594
|
-
|
|
595
|
-
class Segment < Stripe::RequestParams
|
|
596
|
-
# The flight segment amount.
|
|
597
|
-
attr_accessor :amount
|
|
598
|
-
# The International Air Transport Association (IATA) airport code for the arrival airport.
|
|
599
|
-
attr_accessor :arrival_airport
|
|
600
|
-
# The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
|
601
|
-
attr_accessor :arrives_at
|
|
602
|
-
# The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
|
603
|
-
attr_accessor :carrier
|
|
604
|
-
# The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
|
605
|
-
attr_accessor :departs_at
|
|
606
|
-
# The International Air Transport Association (IATA) airport code for the departure airport.
|
|
607
|
-
attr_accessor :departure_airport
|
|
608
|
-
# The flight number associated with the segment
|
|
609
|
-
attr_accessor :flight_number
|
|
610
|
-
# The fare class for the segment.
|
|
611
|
-
attr_accessor :service_class
|
|
612
|
-
|
|
613
|
-
def initialize(
|
|
614
|
-
amount: nil,
|
|
615
|
-
arrival_airport: nil,
|
|
616
|
-
arrives_at: nil,
|
|
617
|
-
carrier: nil,
|
|
618
|
-
departs_at: nil,
|
|
619
|
-
departure_airport: nil,
|
|
620
|
-
flight_number: nil,
|
|
621
|
-
service_class: nil
|
|
622
|
-
)
|
|
623
|
-
@amount = amount
|
|
624
|
-
@arrival_airport = arrival_airport
|
|
625
|
-
@arrives_at = arrives_at
|
|
626
|
-
@carrier = carrier
|
|
627
|
-
@departs_at = departs_at
|
|
628
|
-
@departure_airport = departure_airport
|
|
629
|
-
@flight_number = flight_number
|
|
630
|
-
@service_class = service_class
|
|
631
|
-
end
|
|
632
|
-
end
|
|
633
|
-
# Affiliate details for this purchase.
|
|
634
|
-
attr_accessor :affiliate
|
|
635
|
-
# The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
|
636
|
-
attr_accessor :agency_number
|
|
637
|
-
# The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
|
638
|
-
attr_accessor :carrier
|
|
639
|
-
# Delivery details for this purchase.
|
|
640
|
-
attr_accessor :delivery
|
|
641
|
-
# The name of the person or entity on the reservation.
|
|
642
|
-
attr_accessor :passenger_name
|
|
643
|
-
# The details of the passengers in the travel reservation.
|
|
644
|
-
attr_accessor :passengers
|
|
645
|
-
# The individual flight segments associated with the trip.
|
|
646
|
-
attr_accessor :segments
|
|
647
|
-
# The ticket number associated with the travel reservation.
|
|
648
|
-
attr_accessor :ticket_number
|
|
649
|
-
|
|
650
|
-
def initialize(
|
|
651
|
-
affiliate: nil,
|
|
652
|
-
agency_number: nil,
|
|
653
|
-
carrier: nil,
|
|
654
|
-
delivery: nil,
|
|
655
|
-
passenger_name: nil,
|
|
656
|
-
passengers: nil,
|
|
657
|
-
segments: nil,
|
|
658
|
-
ticket_number: nil
|
|
659
|
-
)
|
|
660
|
-
@affiliate = affiliate
|
|
661
|
-
@agency_number = agency_number
|
|
662
|
-
@carrier = carrier
|
|
663
|
-
@delivery = delivery
|
|
664
|
-
@passenger_name = passenger_name
|
|
665
|
-
@passengers = passengers
|
|
666
|
-
@segments = segments
|
|
667
|
-
@ticket_number = ticket_number
|
|
668
|
-
end
|
|
669
|
-
end
|
|
670
|
-
|
|
671
|
-
class Lodging < Stripe::RequestParams
|
|
672
|
-
class Address < Stripe::RequestParams
|
|
673
|
-
# City, district, suburb, town, or village.
|
|
674
|
-
attr_accessor :city
|
|
675
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
676
|
-
attr_accessor :country
|
|
677
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
678
|
-
attr_accessor :line1
|
|
679
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
680
|
-
attr_accessor :line2
|
|
681
|
-
# ZIP or postal code.
|
|
682
|
-
attr_accessor :postal_code
|
|
683
|
-
# State, county, province, or region.
|
|
684
|
-
attr_accessor :state
|
|
685
|
-
|
|
686
|
-
def initialize(
|
|
687
|
-
city: nil,
|
|
688
|
-
country: nil,
|
|
689
|
-
line1: nil,
|
|
690
|
-
line2: nil,
|
|
691
|
-
postal_code: nil,
|
|
692
|
-
state: nil
|
|
693
|
-
)
|
|
694
|
-
@city = city
|
|
695
|
-
@country = country
|
|
696
|
-
@line1 = line1
|
|
697
|
-
@line2 = line2
|
|
698
|
-
@postal_code = postal_code
|
|
699
|
-
@state = state
|
|
700
|
-
end
|
|
701
|
-
end
|
|
702
|
-
|
|
703
|
-
class Affiliate < Stripe::RequestParams
|
|
704
|
-
# The name of the affiliate that originated the purchase.
|
|
705
|
-
attr_accessor :name
|
|
706
|
-
|
|
707
|
-
def initialize(name: nil)
|
|
708
|
-
@name = name
|
|
709
|
-
end
|
|
710
|
-
end
|
|
711
|
-
|
|
712
|
-
class Delivery < Stripe::RequestParams
|
|
713
|
-
class Recipient < Stripe::RequestParams
|
|
714
|
-
# The email of the recipient the ticket is delivered to.
|
|
715
|
-
attr_accessor :email
|
|
716
|
-
# The name of the recipient the ticket is delivered to.
|
|
717
|
-
attr_accessor :name
|
|
718
|
-
# The phone number of the recipient the ticket is delivered to.
|
|
719
|
-
attr_accessor :phone
|
|
720
|
-
|
|
721
|
-
def initialize(email: nil, name: nil, phone: nil)
|
|
722
|
-
@email = email
|
|
723
|
-
@name = name
|
|
724
|
-
@phone = phone
|
|
725
|
-
end
|
|
726
|
-
end
|
|
727
|
-
# The delivery method for the payment
|
|
728
|
-
attr_accessor :mode
|
|
729
|
-
# Details of the recipient.
|
|
730
|
-
attr_accessor :recipient
|
|
731
|
-
|
|
732
|
-
def initialize(mode: nil, recipient: nil)
|
|
733
|
-
@mode = mode
|
|
734
|
-
@recipient = recipient
|
|
735
|
-
end
|
|
736
|
-
end
|
|
737
|
-
|
|
738
|
-
class Passenger < Stripe::RequestParams
|
|
739
|
-
# Full name of the person or entity on the lodging reservation.
|
|
740
|
-
attr_accessor :name
|
|
741
|
-
|
|
742
|
-
def initialize(name: nil)
|
|
743
|
-
@name = name
|
|
744
|
-
end
|
|
745
|
-
end
|
|
746
|
-
# The lodging location's address.
|
|
747
|
-
attr_accessor :address
|
|
748
|
-
# The number of adults on the booking
|
|
749
|
-
attr_accessor :adults
|
|
750
|
-
# Affiliate details for this purchase.
|
|
751
|
-
attr_accessor :affiliate
|
|
752
|
-
# The booking number associated with the lodging reservation.
|
|
753
|
-
attr_accessor :booking_number
|
|
754
|
-
# The lodging category
|
|
755
|
-
attr_accessor :category
|
|
756
|
-
# Lodging check-in time. Measured in seconds since the Unix epoch.
|
|
757
|
-
attr_accessor :checkin_at
|
|
758
|
-
# Lodging check-out time. Measured in seconds since the Unix epoch.
|
|
759
|
-
attr_accessor :checkout_at
|
|
760
|
-
# The customer service phone number of the lodging company.
|
|
761
|
-
attr_accessor :customer_service_phone_number
|
|
762
|
-
# The daily lodging room rate.
|
|
763
|
-
attr_accessor :daily_room_rate_amount
|
|
764
|
-
# Delivery details for this purchase.
|
|
765
|
-
attr_accessor :delivery
|
|
766
|
-
# List of additional charges being billed.
|
|
767
|
-
attr_accessor :extra_charges
|
|
768
|
-
# Indicates whether the lodging location is compliant with the Fire Safety Act.
|
|
769
|
-
attr_accessor :fire_safety_act_compliance
|
|
770
|
-
# The name of the lodging location.
|
|
771
|
-
attr_accessor :name
|
|
772
|
-
# Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
|
773
|
-
attr_accessor :no_show
|
|
774
|
-
# The number of rooms on the booking
|
|
775
|
-
attr_accessor :number_of_rooms
|
|
776
|
-
# The details of the passengers in the travel reservation
|
|
777
|
-
attr_accessor :passengers
|
|
778
|
-
# The phone number of the lodging location.
|
|
779
|
-
attr_accessor :property_phone_number
|
|
780
|
-
# The room class for this purchase.
|
|
781
|
-
attr_accessor :room_class
|
|
782
|
-
# The number of room nights
|
|
783
|
-
attr_accessor :room_nights
|
|
784
|
-
# The total tax amount associating with the room reservation.
|
|
785
|
-
attr_accessor :total_room_tax_amount
|
|
786
|
-
# The total tax amount
|
|
787
|
-
attr_accessor :total_tax_amount
|
|
788
|
-
|
|
789
|
-
def initialize(
|
|
790
|
-
address: nil,
|
|
791
|
-
adults: nil,
|
|
792
|
-
affiliate: nil,
|
|
793
|
-
booking_number: nil,
|
|
794
|
-
category: nil,
|
|
795
|
-
checkin_at: nil,
|
|
796
|
-
checkout_at: nil,
|
|
797
|
-
customer_service_phone_number: nil,
|
|
798
|
-
daily_room_rate_amount: nil,
|
|
799
|
-
delivery: nil,
|
|
800
|
-
extra_charges: nil,
|
|
801
|
-
fire_safety_act_compliance: nil,
|
|
802
|
-
name: nil,
|
|
803
|
-
no_show: nil,
|
|
804
|
-
number_of_rooms: nil,
|
|
805
|
-
passengers: nil,
|
|
806
|
-
property_phone_number: nil,
|
|
807
|
-
room_class: nil,
|
|
808
|
-
room_nights: nil,
|
|
809
|
-
total_room_tax_amount: nil,
|
|
810
|
-
total_tax_amount: nil
|
|
811
|
-
)
|
|
812
|
-
@address = address
|
|
813
|
-
@adults = adults
|
|
814
|
-
@affiliate = affiliate
|
|
815
|
-
@booking_number = booking_number
|
|
816
|
-
@category = category
|
|
817
|
-
@checkin_at = checkin_at
|
|
818
|
-
@checkout_at = checkout_at
|
|
819
|
-
@customer_service_phone_number = customer_service_phone_number
|
|
820
|
-
@daily_room_rate_amount = daily_room_rate_amount
|
|
821
|
-
@delivery = delivery
|
|
822
|
-
@extra_charges = extra_charges
|
|
823
|
-
@fire_safety_act_compliance = fire_safety_act_compliance
|
|
824
|
-
@name = name
|
|
825
|
-
@no_show = no_show
|
|
826
|
-
@number_of_rooms = number_of_rooms
|
|
827
|
-
@passengers = passengers
|
|
828
|
-
@property_phone_number = property_phone_number
|
|
829
|
-
@room_class = room_class
|
|
830
|
-
@room_nights = room_nights
|
|
831
|
-
@total_room_tax_amount = total_room_tax_amount
|
|
832
|
-
@total_tax_amount = total_tax_amount
|
|
833
|
-
end
|
|
834
|
-
end
|
|
835
|
-
|
|
836
|
-
class Subscription < Stripe::RequestParams
|
|
837
|
-
class Affiliate < Stripe::RequestParams
|
|
838
|
-
# The name of the affiliate that originated the purchase.
|
|
839
|
-
attr_accessor :name
|
|
840
|
-
|
|
841
|
-
def initialize(name: nil)
|
|
842
|
-
@name = name
|
|
843
|
-
end
|
|
844
|
-
end
|
|
845
|
-
|
|
846
|
-
class BillingInterval < Stripe::RequestParams
|
|
847
|
-
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
848
|
-
attr_accessor :count
|
|
849
|
-
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
850
|
-
attr_accessor :interval
|
|
851
|
-
|
|
852
|
-
def initialize(count: nil, interval: nil)
|
|
853
|
-
@count = count
|
|
854
|
-
@interval = interval
|
|
855
|
-
end
|
|
856
|
-
end
|
|
857
|
-
# Affiliate details for this purchase.
|
|
858
|
-
attr_accessor :affiliate
|
|
859
|
-
# Info whether the subscription will be auto renewed upon expiry.
|
|
860
|
-
attr_accessor :auto_renewal
|
|
861
|
-
# Subscription billing details for this purchase.
|
|
862
|
-
attr_accessor :billing_interval
|
|
863
|
-
# Subscription end time. Measured in seconds since the Unix epoch.
|
|
864
|
-
attr_accessor :ends_at
|
|
865
|
-
# Name of the product on subscription. e.g. Apple Music Subscription
|
|
866
|
-
attr_accessor :name
|
|
867
|
-
# Subscription start time. Measured in seconds since the Unix epoch.
|
|
868
|
-
attr_accessor :starts_at
|
|
869
|
-
|
|
870
|
-
def initialize(
|
|
871
|
-
affiliate: nil,
|
|
872
|
-
auto_renewal: nil,
|
|
873
|
-
billing_interval: nil,
|
|
874
|
-
ends_at: nil,
|
|
875
|
-
name: nil,
|
|
876
|
-
starts_at: nil
|
|
877
|
-
)
|
|
878
|
-
@affiliate = affiliate
|
|
879
|
-
@auto_renewal = auto_renewal
|
|
880
|
-
@billing_interval = billing_interval
|
|
881
|
-
@ends_at = ends_at
|
|
882
|
-
@name = name
|
|
883
|
-
@starts_at = starts_at
|
|
884
|
-
end
|
|
885
|
-
end
|
|
886
|
-
# Car rental details for this PaymentIntent.
|
|
887
|
-
attr_accessor :car_rental
|
|
888
|
-
# 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.
|
|
177
|
+
class PaymentDetails < ::Stripe::RequestParams
|
|
178
|
+
# A unique value to identify the customer. This field is available only for card payments.
|
|
179
|
+
#
|
|
180
|
+
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
889
181
|
attr_accessor :customer_reference
|
|
890
|
-
#
|
|
891
|
-
|
|
892
|
-
#
|
|
893
|
-
|
|
894
|
-
#
|
|
895
|
-
attr_accessor :lodging
|
|
896
|
-
# A unique value assigned by the business to identify the transaction.
|
|
182
|
+
# A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
183
|
+
#
|
|
184
|
+
# 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`.
|
|
185
|
+
#
|
|
186
|
+
# 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.
|
|
897
187
|
attr_accessor :order_reference
|
|
898
|
-
# Subscription details for this PaymentIntent
|
|
899
|
-
attr_accessor :subscription
|
|
900
188
|
|
|
901
|
-
def initialize(
|
|
902
|
-
car_rental: nil,
|
|
903
|
-
customer_reference: nil,
|
|
904
|
-
event_details: nil,
|
|
905
|
-
flight: nil,
|
|
906
|
-
lodging: nil,
|
|
907
|
-
order_reference: nil,
|
|
908
|
-
subscription: nil
|
|
909
|
-
)
|
|
910
|
-
@car_rental = car_rental
|
|
189
|
+
def initialize(customer_reference: nil, order_reference: nil)
|
|
911
190
|
@customer_reference = customer_reference
|
|
912
|
-
@event_details = event_details
|
|
913
|
-
@flight = flight
|
|
914
|
-
@lodging = lodging
|
|
915
191
|
@order_reference = order_reference
|
|
916
|
-
@subscription = subscription
|
|
917
192
|
end
|
|
918
193
|
end
|
|
919
194
|
|
|
920
|
-
class PaymentMethodData < Stripe::RequestParams
|
|
921
|
-
class AcssDebit < Stripe::RequestParams
|
|
195
|
+
class PaymentMethodData < ::Stripe::RequestParams
|
|
196
|
+
class AcssDebit < ::Stripe::RequestParams
|
|
922
197
|
# Customer's bank account number.
|
|
923
198
|
attr_accessor :account_number
|
|
924
199
|
# Institution number of the customer's bank.
|
|
@@ -933,13 +208,13 @@ module Stripe
|
|
|
933
208
|
end
|
|
934
209
|
end
|
|
935
210
|
|
|
936
|
-
class Affirm < Stripe::RequestParams; end
|
|
937
|
-
class AfterpayClearpay < Stripe::RequestParams; end
|
|
938
|
-
class Alipay < Stripe::RequestParams; end
|
|
939
|
-
class Alma < Stripe::RequestParams; end
|
|
940
|
-
class AmazonPay < Stripe::RequestParams; end
|
|
211
|
+
class Affirm < ::Stripe::RequestParams; end
|
|
212
|
+
class AfterpayClearpay < ::Stripe::RequestParams; end
|
|
213
|
+
class Alipay < ::Stripe::RequestParams; end
|
|
214
|
+
class Alma < ::Stripe::RequestParams; end
|
|
215
|
+
class AmazonPay < ::Stripe::RequestParams; end
|
|
941
216
|
|
|
942
|
-
class AuBecsDebit < Stripe::RequestParams
|
|
217
|
+
class AuBecsDebit < ::Stripe::RequestParams
|
|
943
218
|
# The account number for the bank account.
|
|
944
219
|
attr_accessor :account_number
|
|
945
220
|
# Bank-State-Branch number of the bank account.
|
|
@@ -951,7 +226,7 @@ module Stripe
|
|
|
951
226
|
end
|
|
952
227
|
end
|
|
953
228
|
|
|
954
|
-
class BacsDebit < Stripe::RequestParams
|
|
229
|
+
class BacsDebit < ::Stripe::RequestParams
|
|
955
230
|
# Account number of the bank account that the funds will be debited from.
|
|
956
231
|
attr_accessor :account_number
|
|
957
232
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
|
@@ -963,11 +238,11 @@ module Stripe
|
|
|
963
238
|
end
|
|
964
239
|
end
|
|
965
240
|
|
|
966
|
-
class Bancontact < Stripe::RequestParams; end
|
|
967
|
-
class Billie < Stripe::RequestParams; end
|
|
241
|
+
class Bancontact < ::Stripe::RequestParams; end
|
|
242
|
+
class Billie < ::Stripe::RequestParams; end
|
|
968
243
|
|
|
969
|
-
class BillingDetails < Stripe::RequestParams
|
|
970
|
-
class Address < Stripe::RequestParams
|
|
244
|
+
class BillingDetails < ::Stripe::RequestParams
|
|
245
|
+
class Address < ::Stripe::RequestParams
|
|
971
246
|
# City, district, suburb, town, or village.
|
|
972
247
|
attr_accessor :city
|
|
973
248
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
@@ -1017,9 +292,9 @@ module Stripe
|
|
|
1017
292
|
end
|
|
1018
293
|
end
|
|
1019
294
|
|
|
1020
|
-
class Blik < Stripe::RequestParams; end
|
|
295
|
+
class Blik < ::Stripe::RequestParams; end
|
|
1021
296
|
|
|
1022
|
-
class Boleto < Stripe::RequestParams
|
|
297
|
+
class Boleto < ::Stripe::RequestParams
|
|
1023
298
|
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
|
1024
299
|
attr_accessor :tax_id
|
|
1025
300
|
|
|
@@ -1028,11 +303,11 @@ module Stripe
|
|
|
1028
303
|
end
|
|
1029
304
|
end
|
|
1030
305
|
|
|
1031
|
-
class Cashapp < Stripe::RequestParams; end
|
|
1032
|
-
class Crypto < Stripe::RequestParams; end
|
|
1033
|
-
class CustomerBalance < Stripe::RequestParams; end
|
|
306
|
+
class Cashapp < ::Stripe::RequestParams; end
|
|
307
|
+
class Crypto < ::Stripe::RequestParams; end
|
|
308
|
+
class CustomerBalance < ::Stripe::RequestParams; end
|
|
1034
309
|
|
|
1035
|
-
class Eps < Stripe::RequestParams
|
|
310
|
+
class Eps < ::Stripe::RequestParams
|
|
1036
311
|
# The customer's bank.
|
|
1037
312
|
attr_accessor :bank
|
|
1038
313
|
|
|
@@ -1041,7 +316,7 @@ module Stripe
|
|
|
1041
316
|
end
|
|
1042
317
|
end
|
|
1043
318
|
|
|
1044
|
-
class Fpx < Stripe::RequestParams
|
|
319
|
+
class Fpx < ::Stripe::RequestParams
|
|
1045
320
|
# Account holder type for FPX transaction
|
|
1046
321
|
attr_accessor :account_holder_type
|
|
1047
322
|
# The customer's bank.
|
|
@@ -1053,20 +328,10 @@ module Stripe
|
|
|
1053
328
|
end
|
|
1054
329
|
end
|
|
1055
330
|
|
|
1056
|
-
class Giropay < Stripe::RequestParams; end
|
|
1057
|
-
class
|
|
1058
|
-
class Grabpay < Stripe::RequestParams; end
|
|
1059
|
-
|
|
1060
|
-
class IdBankTransfer < Stripe::RequestParams
|
|
1061
|
-
# Bank where the account is held.
|
|
1062
|
-
attr_accessor :bank
|
|
1063
|
-
|
|
1064
|
-
def initialize(bank: nil)
|
|
1065
|
-
@bank = bank
|
|
1066
|
-
end
|
|
1067
|
-
end
|
|
331
|
+
class Giropay < ::Stripe::RequestParams; end
|
|
332
|
+
class Grabpay < ::Stripe::RequestParams; end
|
|
1068
333
|
|
|
1069
|
-
class Ideal < Stripe::RequestParams
|
|
334
|
+
class Ideal < ::Stripe::RequestParams
|
|
1070
335
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
1071
336
|
attr_accessor :bank
|
|
1072
337
|
|
|
@@ -1075,11 +340,11 @@ module Stripe
|
|
|
1075
340
|
end
|
|
1076
341
|
end
|
|
1077
342
|
|
|
1078
|
-
class InteracPresent < Stripe::RequestParams; end
|
|
1079
|
-
class KakaoPay < Stripe::RequestParams; end
|
|
343
|
+
class InteracPresent < ::Stripe::RequestParams; end
|
|
344
|
+
class KakaoPay < ::Stripe::RequestParams; end
|
|
1080
345
|
|
|
1081
|
-
class Klarna < Stripe::RequestParams
|
|
1082
|
-
class Dob < Stripe::RequestParams
|
|
346
|
+
class Klarna < ::Stripe::RequestParams
|
|
347
|
+
class Dob < ::Stripe::RequestParams
|
|
1083
348
|
# The day of birth, between 1 and 31.
|
|
1084
349
|
attr_accessor :day
|
|
1085
350
|
# The month of birth, between 1 and 12.
|
|
@@ -1101,14 +366,14 @@ module Stripe
|
|
|
1101
366
|
end
|
|
1102
367
|
end
|
|
1103
368
|
|
|
1104
|
-
class Konbini < Stripe::RequestParams; end
|
|
1105
|
-
class KrCard < Stripe::RequestParams; end
|
|
1106
|
-
class Link < Stripe::RequestParams; end
|
|
1107
|
-
class MbWay < Stripe::RequestParams; end
|
|
1108
|
-
class Mobilepay < Stripe::RequestParams; end
|
|
1109
|
-
class Multibanco < Stripe::RequestParams; end
|
|
369
|
+
class Konbini < ::Stripe::RequestParams; end
|
|
370
|
+
class KrCard < ::Stripe::RequestParams; end
|
|
371
|
+
class Link < ::Stripe::RequestParams; end
|
|
372
|
+
class MbWay < ::Stripe::RequestParams; end
|
|
373
|
+
class Mobilepay < ::Stripe::RequestParams; end
|
|
374
|
+
class Multibanco < ::Stripe::RequestParams; end
|
|
1110
375
|
|
|
1111
|
-
class NaverPay < Stripe::RequestParams
|
|
376
|
+
class NaverPay < ::Stripe::RequestParams
|
|
1112
377
|
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
|
1113
378
|
attr_accessor :funding
|
|
1114
379
|
|
|
@@ -1117,7 +382,7 @@ module Stripe
|
|
|
1117
382
|
end
|
|
1118
383
|
end
|
|
1119
384
|
|
|
1120
|
-
class NzBankAccount < Stripe::RequestParams
|
|
385
|
+
class NzBankAccount < ::Stripe::RequestParams
|
|
1121
386
|
# 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.
|
|
1122
387
|
attr_accessor :account_holder_name
|
|
1123
388
|
# The account number for the bank account.
|
|
@@ -1148,9 +413,9 @@ module Stripe
|
|
|
1148
413
|
end
|
|
1149
414
|
end
|
|
1150
415
|
|
|
1151
|
-
class Oxxo < Stripe::RequestParams; end
|
|
416
|
+
class Oxxo < ::Stripe::RequestParams; end
|
|
1152
417
|
|
|
1153
|
-
class P24 < Stripe::RequestParams
|
|
418
|
+
class P24 < ::Stripe::RequestParams
|
|
1154
419
|
# The customer's bank.
|
|
1155
420
|
attr_accessor :bank
|
|
1156
421
|
|
|
@@ -1159,32 +424,14 @@ module Stripe
|
|
|
1159
424
|
end
|
|
1160
425
|
end
|
|
1161
426
|
|
|
1162
|
-
class PayByBank < Stripe::RequestParams; end
|
|
1163
|
-
class Payco < Stripe::RequestParams; end
|
|
1164
|
-
class Paynow < Stripe::RequestParams; end
|
|
1165
|
-
class Paypal < Stripe::RequestParams; end
|
|
1166
|
-
class
|
|
1167
|
-
|
|
1168
|
-
class Payto < Stripe::RequestParams
|
|
1169
|
-
# The account number for the bank account.
|
|
1170
|
-
attr_accessor :account_number
|
|
1171
|
-
# Bank-State-Branch number of the bank account.
|
|
1172
|
-
attr_accessor :bsb_number
|
|
1173
|
-
# The PayID alias for the bank account.
|
|
1174
|
-
attr_accessor :pay_id
|
|
1175
|
-
|
|
1176
|
-
def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
|
|
1177
|
-
@account_number = account_number
|
|
1178
|
-
@bsb_number = bsb_number
|
|
1179
|
-
@pay_id = pay_id
|
|
1180
|
-
end
|
|
1181
|
-
end
|
|
1182
|
-
|
|
1183
|
-
class Pix < Stripe::RequestParams; end
|
|
1184
|
-
class Promptpay < Stripe::RequestParams; end
|
|
1185
|
-
class Qris < Stripe::RequestParams; end
|
|
427
|
+
class PayByBank < ::Stripe::RequestParams; end
|
|
428
|
+
class Payco < ::Stripe::RequestParams; end
|
|
429
|
+
class Paynow < ::Stripe::RequestParams; end
|
|
430
|
+
class Paypal < ::Stripe::RequestParams; end
|
|
431
|
+
class Pix < ::Stripe::RequestParams; end
|
|
432
|
+
class Promptpay < ::Stripe::RequestParams; end
|
|
1186
433
|
|
|
1187
|
-
class RadarOptions < Stripe::RequestParams
|
|
434
|
+
class RadarOptions < ::Stripe::RequestParams
|
|
1188
435
|
# 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.
|
|
1189
436
|
attr_accessor :session
|
|
1190
437
|
|
|
@@ -1193,34 +440,11 @@ module Stripe
|
|
|
1193
440
|
end
|
|
1194
441
|
end
|
|
1195
442
|
|
|
1196
|
-
class
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
attr_accessor :day
|
|
1200
|
-
# The month of birth, between 1 and 12.
|
|
1201
|
-
attr_accessor :month
|
|
1202
|
-
# The four-digit year of birth.
|
|
1203
|
-
attr_accessor :year
|
|
1204
|
-
|
|
1205
|
-
def initialize(day: nil, month: nil, year: nil)
|
|
1206
|
-
@day = day
|
|
1207
|
-
@month = month
|
|
1208
|
-
@year = year
|
|
1209
|
-
end
|
|
1210
|
-
end
|
|
1211
|
-
# Customer's date of birth
|
|
1212
|
-
attr_accessor :dob
|
|
1213
|
-
|
|
1214
|
-
def initialize(dob: nil)
|
|
1215
|
-
@dob = dob
|
|
1216
|
-
end
|
|
1217
|
-
end
|
|
1218
|
-
|
|
1219
|
-
class RevolutPay < Stripe::RequestParams; end
|
|
1220
|
-
class SamsungPay < Stripe::RequestParams; end
|
|
1221
|
-
class Satispay < Stripe::RequestParams; end
|
|
443
|
+
class RevolutPay < ::Stripe::RequestParams; end
|
|
444
|
+
class SamsungPay < ::Stripe::RequestParams; end
|
|
445
|
+
class Satispay < ::Stripe::RequestParams; end
|
|
1222
446
|
|
|
1223
|
-
class SepaDebit < Stripe::RequestParams
|
|
447
|
+
class SepaDebit < ::Stripe::RequestParams
|
|
1224
448
|
# IBAN of the bank account.
|
|
1225
449
|
attr_accessor :iban
|
|
1226
450
|
|
|
@@ -1229,9 +453,7 @@ module Stripe
|
|
|
1229
453
|
end
|
|
1230
454
|
end
|
|
1231
455
|
|
|
1232
|
-
class
|
|
1233
|
-
|
|
1234
|
-
class Sofort < Stripe::RequestParams
|
|
456
|
+
class Sofort < ::Stripe::RequestParams
|
|
1235
457
|
# Two-letter ISO code representing the country the bank account is located in.
|
|
1236
458
|
attr_accessor :country
|
|
1237
459
|
|
|
@@ -1240,22 +462,10 @@ module Stripe
|
|
|
1240
462
|
end
|
|
1241
463
|
end
|
|
1242
464
|
|
|
1243
|
-
class
|
|
1244
|
-
|
|
1245
|
-
attr_accessor :account
|
|
1246
|
-
# The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
1247
|
-
attr_accessor :source_type
|
|
1248
|
-
|
|
1249
|
-
def initialize(account: nil, source_type: nil)
|
|
1250
|
-
@account = account
|
|
1251
|
-
@source_type = source_type
|
|
1252
|
-
end
|
|
1253
|
-
end
|
|
1254
|
-
|
|
1255
|
-
class Swish < Stripe::RequestParams; end
|
|
1256
|
-
class Twint < Stripe::RequestParams; end
|
|
465
|
+
class Swish < ::Stripe::RequestParams; end
|
|
466
|
+
class Twint < ::Stripe::RequestParams; end
|
|
1257
467
|
|
|
1258
|
-
class UsBankAccount < Stripe::RequestParams
|
|
468
|
+
class UsBankAccount < ::Stripe::RequestParams
|
|
1259
469
|
# Account holder type: individual or company.
|
|
1260
470
|
attr_accessor :account_holder_type
|
|
1261
471
|
# Account number of the bank account.
|
|
@@ -1282,8 +492,8 @@ module Stripe
|
|
|
1282
492
|
end
|
|
1283
493
|
end
|
|
1284
494
|
|
|
1285
|
-
class WechatPay < Stripe::RequestParams; end
|
|
1286
|
-
class Zip < Stripe::RequestParams; end
|
|
495
|
+
class WechatPay < ::Stripe::RequestParams; end
|
|
496
|
+
class Zip < ::Stripe::RequestParams; end
|
|
1287
497
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
|
1288
498
|
attr_accessor :acss_debit
|
|
1289
499
|
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
|
@@ -1324,12 +534,8 @@ module Stripe
|
|
|
1324
534
|
attr_accessor :fpx
|
|
1325
535
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
1326
536
|
attr_accessor :giropay
|
|
1327
|
-
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
1328
|
-
attr_accessor :gopay
|
|
1329
537
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
1330
538
|
attr_accessor :grabpay
|
|
1331
|
-
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
1332
|
-
attr_accessor :id_bank_transfer
|
|
1333
539
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
1334
540
|
attr_accessor :ideal
|
|
1335
541
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
|
@@ -1368,20 +574,12 @@ module Stripe
|
|
|
1368
574
|
attr_accessor :paynow
|
|
1369
575
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
|
1370
576
|
attr_accessor :paypal
|
|
1371
|
-
# If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
1372
|
-
attr_accessor :paypay
|
|
1373
|
-
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
1374
|
-
attr_accessor :payto
|
|
1375
577
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
1376
578
|
attr_accessor :pix
|
|
1377
579
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
1378
580
|
attr_accessor :promptpay
|
|
1379
|
-
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
1380
|
-
attr_accessor :qris
|
|
1381
581
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
1382
582
|
attr_accessor :radar_options
|
|
1383
|
-
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
1384
|
-
attr_accessor :rechnung
|
|
1385
583
|
# If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
1386
584
|
attr_accessor :revolut_pay
|
|
1387
585
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
|
@@ -1390,12 +588,8 @@ module Stripe
|
|
|
1390
588
|
attr_accessor :satispay
|
|
1391
589
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
|
1392
590
|
attr_accessor :sepa_debit
|
|
1393
|
-
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
1394
|
-
attr_accessor :shopeepay
|
|
1395
591
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
1396
592
|
attr_accessor :sofort
|
|
1397
|
-
# This hash contains details about the Stripe balance payment method.
|
|
1398
|
-
attr_accessor :stripe_balance
|
|
1399
593
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
1400
594
|
attr_accessor :swish
|
|
1401
595
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
|
@@ -1430,9 +624,7 @@ module Stripe
|
|
|
1430
624
|
eps: nil,
|
|
1431
625
|
fpx: nil,
|
|
1432
626
|
giropay: nil,
|
|
1433
|
-
gopay: nil,
|
|
1434
627
|
grabpay: nil,
|
|
1435
|
-
id_bank_transfer: nil,
|
|
1436
628
|
ideal: nil,
|
|
1437
629
|
interac_present: nil,
|
|
1438
630
|
kakao_pay: nil,
|
|
@@ -1452,20 +644,14 @@ module Stripe
|
|
|
1452
644
|
payco: nil,
|
|
1453
645
|
paynow: nil,
|
|
1454
646
|
paypal: nil,
|
|
1455
|
-
paypay: nil,
|
|
1456
|
-
payto: nil,
|
|
1457
647
|
pix: nil,
|
|
1458
648
|
promptpay: nil,
|
|
1459
|
-
qris: nil,
|
|
1460
649
|
radar_options: nil,
|
|
1461
|
-
rechnung: nil,
|
|
1462
650
|
revolut_pay: nil,
|
|
1463
651
|
samsung_pay: nil,
|
|
1464
652
|
satispay: nil,
|
|
1465
653
|
sepa_debit: nil,
|
|
1466
|
-
shopeepay: nil,
|
|
1467
654
|
sofort: nil,
|
|
1468
|
-
stripe_balance: nil,
|
|
1469
655
|
swish: nil,
|
|
1470
656
|
twint: nil,
|
|
1471
657
|
type: nil,
|
|
@@ -1493,9 +679,7 @@ module Stripe
|
|
|
1493
679
|
@eps = eps
|
|
1494
680
|
@fpx = fpx
|
|
1495
681
|
@giropay = giropay
|
|
1496
|
-
@gopay = gopay
|
|
1497
682
|
@grabpay = grabpay
|
|
1498
|
-
@id_bank_transfer = id_bank_transfer
|
|
1499
683
|
@ideal = ideal
|
|
1500
684
|
@interac_present = interac_present
|
|
1501
685
|
@kakao_pay = kakao_pay
|
|
@@ -1515,20 +699,14 @@ module Stripe
|
|
|
1515
699
|
@payco = payco
|
|
1516
700
|
@paynow = paynow
|
|
1517
701
|
@paypal = paypal
|
|
1518
|
-
@paypay = paypay
|
|
1519
|
-
@payto = payto
|
|
1520
702
|
@pix = pix
|
|
1521
703
|
@promptpay = promptpay
|
|
1522
|
-
@qris = qris
|
|
1523
704
|
@radar_options = radar_options
|
|
1524
|
-
@rechnung = rechnung
|
|
1525
705
|
@revolut_pay = revolut_pay
|
|
1526
706
|
@samsung_pay = samsung_pay
|
|
1527
707
|
@satispay = satispay
|
|
1528
708
|
@sepa_debit = sepa_debit
|
|
1529
|
-
@shopeepay = shopeepay
|
|
1530
709
|
@sofort = sofort
|
|
1531
|
-
@stripe_balance = stripe_balance
|
|
1532
710
|
@swish = swish
|
|
1533
711
|
@twint = twint
|
|
1534
712
|
@type = type
|
|
@@ -1538,9 +716,9 @@ module Stripe
|
|
|
1538
716
|
end
|
|
1539
717
|
end
|
|
1540
718
|
|
|
1541
|
-
class PaymentMethodOptions < Stripe::RequestParams
|
|
1542
|
-
class AcssDebit < Stripe::RequestParams
|
|
1543
|
-
class MandateOptions < Stripe::RequestParams
|
|
719
|
+
class PaymentMethodOptions < ::Stripe::RequestParams
|
|
720
|
+
class AcssDebit < ::Stripe::RequestParams
|
|
721
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
1544
722
|
# A URL for custom mandate text to render during confirmation step.
|
|
1545
723
|
# The URL will be rendered with additional GET parameters `payment_intent` and `payment_intent_client_secret` when confirming a Payment Intent,
|
|
1546
724
|
# or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
|
|
@@ -1594,7 +772,7 @@ module Stripe
|
|
|
1594
772
|
end
|
|
1595
773
|
end
|
|
1596
774
|
|
|
1597
|
-
class Affirm < Stripe::RequestParams
|
|
775
|
+
class Affirm < ::Stripe::RequestParams
|
|
1598
776
|
# Controls when the funds are captured from the customer's account.
|
|
1599
777
|
#
|
|
1600
778
|
# 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.
|
|
@@ -1621,7 +799,7 @@ module Stripe
|
|
|
1621
799
|
end
|
|
1622
800
|
end
|
|
1623
801
|
|
|
1624
|
-
class AfterpayClearpay < Stripe::RequestParams
|
|
802
|
+
class AfterpayClearpay < ::Stripe::RequestParams
|
|
1625
803
|
# Controls when the funds are captured from the customer's account.
|
|
1626
804
|
#
|
|
1627
805
|
# 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.
|
|
@@ -1649,7 +827,7 @@ module Stripe
|
|
|
1649
827
|
end
|
|
1650
828
|
end
|
|
1651
829
|
|
|
1652
|
-
class Alipay < Stripe::RequestParams
|
|
830
|
+
class Alipay < ::Stripe::RequestParams
|
|
1653
831
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1654
832
|
#
|
|
1655
833
|
# 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.
|
|
@@ -1666,7 +844,7 @@ module Stripe
|
|
|
1666
844
|
end
|
|
1667
845
|
end
|
|
1668
846
|
|
|
1669
|
-
class Alma < Stripe::RequestParams
|
|
847
|
+
class Alma < ::Stripe::RequestParams
|
|
1670
848
|
# Controls when the funds are captured from the customer's account.
|
|
1671
849
|
#
|
|
1672
850
|
# 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.
|
|
@@ -1679,7 +857,7 @@ module Stripe
|
|
|
1679
857
|
end
|
|
1680
858
|
end
|
|
1681
859
|
|
|
1682
|
-
class AmazonPay < Stripe::RequestParams
|
|
860
|
+
class AmazonPay < ::Stripe::RequestParams
|
|
1683
861
|
# Controls when the funds are captured from the customer's account.
|
|
1684
862
|
#
|
|
1685
863
|
# 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 +879,7 @@ module Stripe
|
|
|
1701
879
|
end
|
|
1702
880
|
end
|
|
1703
881
|
|
|
1704
|
-
class AuBecsDebit < Stripe::RequestParams
|
|
882
|
+
class AuBecsDebit < ::Stripe::RequestParams
|
|
1705
883
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1706
884
|
#
|
|
1707
885
|
# 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.
|
|
@@ -1721,8 +899,8 @@ module Stripe
|
|
|
1721
899
|
end
|
|
1722
900
|
end
|
|
1723
901
|
|
|
1724
|
-
class BacsDebit < Stripe::RequestParams
|
|
1725
|
-
class MandateOptions < Stripe::RequestParams
|
|
902
|
+
class BacsDebit < ::Stripe::RequestParams
|
|
903
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
1726
904
|
# 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'.
|
|
1727
905
|
attr_accessor :reference_prefix
|
|
1728
906
|
|
|
@@ -1752,7 +930,7 @@ module Stripe
|
|
|
1752
930
|
end
|
|
1753
931
|
end
|
|
1754
932
|
|
|
1755
|
-
class Bancontact < Stripe::RequestParams
|
|
933
|
+
class Bancontact < ::Stripe::RequestParams
|
|
1756
934
|
# Preferred language of the Bancontact authorization page that the customer is redirected to.
|
|
1757
935
|
attr_accessor :preferred_language
|
|
1758
936
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1772,7 +950,7 @@ module Stripe
|
|
|
1772
950
|
end
|
|
1773
951
|
end
|
|
1774
952
|
|
|
1775
|
-
class Billie < Stripe::RequestParams
|
|
953
|
+
class Billie < ::Stripe::RequestParams
|
|
1776
954
|
# Controls when the funds are captured from the customer's account.
|
|
1777
955
|
#
|
|
1778
956
|
# 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.
|
|
@@ -1785,7 +963,7 @@ module Stripe
|
|
|
1785
963
|
end
|
|
1786
964
|
end
|
|
1787
965
|
|
|
1788
|
-
class Blik < Stripe::RequestParams
|
|
966
|
+
class Blik < ::Stripe::RequestParams
|
|
1789
967
|
# The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation.
|
|
1790
968
|
attr_accessor :code
|
|
1791
969
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1805,7 +983,7 @@ module Stripe
|
|
|
1805
983
|
end
|
|
1806
984
|
end
|
|
1807
985
|
|
|
1808
|
-
class Boleto < Stripe::RequestParams
|
|
986
|
+
class Boleto < ::Stripe::RequestParams
|
|
1809
987
|
# 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.
|
|
1810
988
|
attr_accessor :expires_after_days
|
|
1811
989
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -1825,9 +1003,9 @@ module Stripe
|
|
|
1825
1003
|
end
|
|
1826
1004
|
end
|
|
1827
1005
|
|
|
1828
|
-
class Card < Stripe::RequestParams
|
|
1829
|
-
class Installments < Stripe::RequestParams
|
|
1830
|
-
class Plan < Stripe::RequestParams
|
|
1006
|
+
class Card < ::Stripe::RequestParams
|
|
1007
|
+
class Installments < ::Stripe::RequestParams
|
|
1008
|
+
class Plan < ::Stripe::RequestParams
|
|
1831
1009
|
# For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card.
|
|
1832
1010
|
attr_accessor :count
|
|
1833
1011
|
# For `fixed_count` installment plans, this is required. It represents the interval between installment payments your customer will make to their credit card.
|
|
@@ -1856,7 +1034,7 @@ module Stripe
|
|
|
1856
1034
|
end
|
|
1857
1035
|
end
|
|
1858
1036
|
|
|
1859
|
-
class MandateOptions < Stripe::RequestParams
|
|
1037
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
1860
1038
|
# Amount to be charged for future payments.
|
|
1861
1039
|
attr_accessor :amount
|
|
1862
1040
|
# 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.
|
|
@@ -1899,51 +1077,9 @@ module Stripe
|
|
|
1899
1077
|
end
|
|
1900
1078
|
end
|
|
1901
1079
|
|
|
1902
|
-
class
|
|
1903
|
-
class
|
|
1904
|
-
|
|
1905
|
-
attr_accessor :city
|
|
1906
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
1907
|
-
attr_accessor :country
|
|
1908
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
1909
|
-
attr_accessor :line1
|
|
1910
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
1911
|
-
attr_accessor :line2
|
|
1912
|
-
# ZIP or postal code.
|
|
1913
|
-
attr_accessor :postal_code
|
|
1914
|
-
# State, county, province, or region.
|
|
1915
|
-
attr_accessor :state
|
|
1916
|
-
|
|
1917
|
-
def initialize(
|
|
1918
|
-
city: nil,
|
|
1919
|
-
country: nil,
|
|
1920
|
-
line1: nil,
|
|
1921
|
-
line2: nil,
|
|
1922
|
-
postal_code: nil,
|
|
1923
|
-
state: nil
|
|
1924
|
-
)
|
|
1925
|
-
@city = city
|
|
1926
|
-
@country = country
|
|
1927
|
-
@line1 = line1
|
|
1928
|
-
@line2 = line2
|
|
1929
|
-
@postal_code = postal_code
|
|
1930
|
-
@state = state
|
|
1931
|
-
end
|
|
1932
|
-
end
|
|
1933
|
-
# Please pass in an address that is within your Stripe user account country
|
|
1934
|
-
attr_accessor :address
|
|
1935
|
-
# Phone number (e.g., a toll-free number that customers can call)
|
|
1936
|
-
attr_accessor :phone
|
|
1937
|
-
|
|
1938
|
-
def initialize(address: nil, phone: nil)
|
|
1939
|
-
@address = address
|
|
1940
|
-
@phone = phone
|
|
1941
|
-
end
|
|
1942
|
-
end
|
|
1943
|
-
|
|
1944
|
-
class ThreeDSecure < Stripe::RequestParams
|
|
1945
|
-
class NetworkOptions < Stripe::RequestParams
|
|
1946
|
-
class CartesBancaires < Stripe::RequestParams
|
|
1080
|
+
class ThreeDSecure < ::Stripe::RequestParams
|
|
1081
|
+
class NetworkOptions < ::Stripe::RequestParams
|
|
1082
|
+
class CartesBancaires < ::Stripe::RequestParams
|
|
1947
1083
|
# The cryptogram calculation algorithm used by the card Issuer's ACS
|
|
1948
1084
|
# to calculate the Authentication cryptogram. Also known as `cavvAlgorithm`.
|
|
1949
1085
|
# messageExtension: CB-AVALGO
|
|
@@ -2035,8 +1171,6 @@ module Stripe
|
|
|
2035
1171
|
attr_accessor :moto
|
|
2036
1172
|
# 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.
|
|
2037
1173
|
attr_accessor :network
|
|
2038
|
-
# Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
|
|
2039
|
-
attr_accessor :request_decremental_authorization
|
|
2040
1174
|
# Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
|
|
2041
1175
|
attr_accessor :request_extended_authorization
|
|
2042
1176
|
# Request ability to [increment the authorization](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent.
|
|
@@ -2045,8 +1179,6 @@ module Stripe
|
|
|
2045
1179
|
attr_accessor :request_multicapture
|
|
2046
1180
|
# Request ability to [overcapture](https://stripe.com/docs/payments/overcapture) for this PaymentIntent.
|
|
2047
1181
|
attr_accessor :request_overcapture
|
|
2048
|
-
# Request partial authorization on this PaymentIntent.
|
|
2049
|
-
attr_accessor :request_partial_authorization
|
|
2050
1182
|
# 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.
|
|
2051
1183
|
attr_accessor :request_three_d_secure
|
|
2052
1184
|
# 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).
|
|
@@ -2065,8 +1197,6 @@ module Stripe
|
|
|
2065
1197
|
attr_accessor :statement_descriptor_suffix_kana
|
|
2066
1198
|
# 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.
|
|
2067
1199
|
attr_accessor :statement_descriptor_suffix_kanji
|
|
2068
|
-
# Statement details for this payment intent. You can use this to override the merchant details shown on your customers' statements.
|
|
2069
|
-
attr_accessor :statement_details
|
|
2070
1200
|
# If 3D Secure authentication was performed with a third-party provider,
|
|
2071
1201
|
# the authentication details to use for this payment.
|
|
2072
1202
|
attr_accessor :three_d_secure
|
|
@@ -2078,18 +1208,15 @@ module Stripe
|
|
|
2078
1208
|
mandate_options: nil,
|
|
2079
1209
|
moto: nil,
|
|
2080
1210
|
network: nil,
|
|
2081
|
-
request_decremental_authorization: nil,
|
|
2082
1211
|
request_extended_authorization: nil,
|
|
2083
1212
|
request_incremental_authorization: nil,
|
|
2084
1213
|
request_multicapture: nil,
|
|
2085
1214
|
request_overcapture: nil,
|
|
2086
|
-
request_partial_authorization: nil,
|
|
2087
1215
|
request_three_d_secure: nil,
|
|
2088
1216
|
require_cvc_recollection: nil,
|
|
2089
1217
|
setup_future_usage: nil,
|
|
2090
1218
|
statement_descriptor_suffix_kana: nil,
|
|
2091
1219
|
statement_descriptor_suffix_kanji: nil,
|
|
2092
|
-
statement_details: nil,
|
|
2093
1220
|
three_d_secure: nil
|
|
2094
1221
|
)
|
|
2095
1222
|
@capture_method = capture_method
|
|
@@ -2098,24 +1225,21 @@ module Stripe
|
|
|
2098
1225
|
@mandate_options = mandate_options
|
|
2099
1226
|
@moto = moto
|
|
2100
1227
|
@network = network
|
|
2101
|
-
@request_decremental_authorization = request_decremental_authorization
|
|
2102
1228
|
@request_extended_authorization = request_extended_authorization
|
|
2103
1229
|
@request_incremental_authorization = request_incremental_authorization
|
|
2104
1230
|
@request_multicapture = request_multicapture
|
|
2105
1231
|
@request_overcapture = request_overcapture
|
|
2106
|
-
@request_partial_authorization = request_partial_authorization
|
|
2107
1232
|
@request_three_d_secure = request_three_d_secure
|
|
2108
1233
|
@require_cvc_recollection = require_cvc_recollection
|
|
2109
1234
|
@setup_future_usage = setup_future_usage
|
|
2110
1235
|
@statement_descriptor_suffix_kana = statement_descriptor_suffix_kana
|
|
2111
1236
|
@statement_descriptor_suffix_kanji = statement_descriptor_suffix_kanji
|
|
2112
|
-
@statement_details = statement_details
|
|
2113
1237
|
@three_d_secure = three_d_secure
|
|
2114
1238
|
end
|
|
2115
1239
|
end
|
|
2116
1240
|
|
|
2117
|
-
class CardPresent < Stripe::RequestParams
|
|
2118
|
-
class Routing < Stripe::RequestParams
|
|
1241
|
+
class CardPresent < ::Stripe::RequestParams
|
|
1242
|
+
class Routing < ::Stripe::RequestParams
|
|
2119
1243
|
# Routing requested priority
|
|
2120
1244
|
attr_accessor :requested_priority
|
|
2121
1245
|
|
|
@@ -2141,7 +1265,7 @@ module Stripe
|
|
|
2141
1265
|
end
|
|
2142
1266
|
end
|
|
2143
1267
|
|
|
2144
|
-
class Cashapp < Stripe::RequestParams
|
|
1268
|
+
class Cashapp < ::Stripe::RequestParams
|
|
2145
1269
|
# Controls when the funds are captured from the customer's account.
|
|
2146
1270
|
#
|
|
2147
1271
|
# 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.
|
|
@@ -2165,7 +1289,7 @@ module Stripe
|
|
|
2165
1289
|
end
|
|
2166
1290
|
end
|
|
2167
1291
|
|
|
2168
|
-
class Crypto < Stripe::RequestParams
|
|
1292
|
+
class Crypto < ::Stripe::RequestParams
|
|
2169
1293
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2170
1294
|
#
|
|
2171
1295
|
# 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.
|
|
@@ -2182,9 +1306,9 @@ module Stripe
|
|
|
2182
1306
|
end
|
|
2183
1307
|
end
|
|
2184
1308
|
|
|
2185
|
-
class CustomerBalance < Stripe::RequestParams
|
|
2186
|
-
class BankTransfer < Stripe::RequestParams
|
|
2187
|
-
class EuBankTransfer < Stripe::RequestParams
|
|
1309
|
+
class CustomerBalance < ::Stripe::RequestParams
|
|
1310
|
+
class BankTransfer < ::Stripe::RequestParams
|
|
1311
|
+
class EuBankTransfer < ::Stripe::RequestParams
|
|
2188
1312
|
# The desired country code of the bank account information. Permitted values include: `BE`, `DE`, `ES`, `FR`, `IE`, or `NL`.
|
|
2189
1313
|
attr_accessor :country
|
|
2190
1314
|
|
|
@@ -2229,7 +1353,7 @@ module Stripe
|
|
|
2229
1353
|
end
|
|
2230
1354
|
end
|
|
2231
1355
|
|
|
2232
|
-
class Eps < Stripe::RequestParams
|
|
1356
|
+
class Eps < ::Stripe::RequestParams
|
|
2233
1357
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2234
1358
|
#
|
|
2235
1359
|
# 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.
|
|
@@ -2246,7 +1370,7 @@ module Stripe
|
|
|
2246
1370
|
end
|
|
2247
1371
|
end
|
|
2248
1372
|
|
|
2249
|
-
class Fpx < Stripe::RequestParams
|
|
1373
|
+
class Fpx < ::Stripe::RequestParams
|
|
2250
1374
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2251
1375
|
#
|
|
2252
1376
|
# 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.
|
|
@@ -2263,7 +1387,7 @@ module Stripe
|
|
|
2263
1387
|
end
|
|
2264
1388
|
end
|
|
2265
1389
|
|
|
2266
|
-
class Giropay < Stripe::RequestParams
|
|
1390
|
+
class Giropay < ::Stripe::RequestParams
|
|
2267
1391
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2268
1392
|
#
|
|
2269
1393
|
# 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.
|
|
@@ -2280,7 +1404,7 @@ module Stripe
|
|
|
2280
1404
|
end
|
|
2281
1405
|
end
|
|
2282
1406
|
|
|
2283
|
-
class
|
|
1407
|
+
class Grabpay < ::Stripe::RequestParams
|
|
2284
1408
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2285
1409
|
#
|
|
2286
1410
|
# 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.
|
|
@@ -2297,7 +1421,7 @@ module Stripe
|
|
|
2297
1421
|
end
|
|
2298
1422
|
end
|
|
2299
1423
|
|
|
2300
|
-
class
|
|
1424
|
+
class Ideal < ::Stripe::RequestParams
|
|
2301
1425
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2302
1426
|
#
|
|
2303
1427
|
# 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.
|
|
@@ -2314,49 +1438,9 @@ module Stripe
|
|
|
2314
1438
|
end
|
|
2315
1439
|
end
|
|
2316
1440
|
|
|
2317
|
-
class
|
|
2318
|
-
# 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.
|
|
2319
|
-
attr_accessor :expires_after
|
|
2320
|
-
# 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.
|
|
2321
|
-
attr_accessor :expires_at
|
|
2322
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2323
|
-
#
|
|
2324
|
-
# 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.
|
|
2325
|
-
#
|
|
2326
|
-
# 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.
|
|
2327
|
-
#
|
|
2328
|
-
# 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).
|
|
2329
|
-
#
|
|
2330
|
-
# 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`.
|
|
2331
|
-
attr_accessor :setup_future_usage
|
|
2332
|
-
|
|
2333
|
-
def initialize(expires_after: nil, expires_at: nil, setup_future_usage: nil)
|
|
2334
|
-
@expires_after = expires_after
|
|
2335
|
-
@expires_at = expires_at
|
|
2336
|
-
@setup_future_usage = setup_future_usage
|
|
2337
|
-
end
|
|
2338
|
-
end
|
|
1441
|
+
class InteracPresent < ::Stripe::RequestParams; end
|
|
2339
1442
|
|
|
2340
|
-
class
|
|
2341
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2342
|
-
#
|
|
2343
|
-
# 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.
|
|
2344
|
-
#
|
|
2345
|
-
# 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.
|
|
2346
|
-
#
|
|
2347
|
-
# 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).
|
|
2348
|
-
#
|
|
2349
|
-
# 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`.
|
|
2350
|
-
attr_accessor :setup_future_usage
|
|
2351
|
-
|
|
2352
|
-
def initialize(setup_future_usage: nil)
|
|
2353
|
-
@setup_future_usage = setup_future_usage
|
|
2354
|
-
end
|
|
2355
|
-
end
|
|
2356
|
-
|
|
2357
|
-
class InteracPresent < Stripe::RequestParams; end
|
|
2358
|
-
|
|
2359
|
-
class KakaoPay < Stripe::RequestParams
|
|
1443
|
+
class KakaoPay < ::Stripe::RequestParams
|
|
2360
1444
|
# Controls when the funds are captured from the customer's account.
|
|
2361
1445
|
#
|
|
2362
1446
|
# 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.
|
|
@@ -2378,8 +1462,8 @@ module Stripe
|
|
|
2378
1462
|
end
|
|
2379
1463
|
end
|
|
2380
1464
|
|
|
2381
|
-
class Klarna < Stripe::RequestParams
|
|
2382
|
-
class OnDemand < Stripe::RequestParams
|
|
1465
|
+
class Klarna < ::Stripe::RequestParams
|
|
1466
|
+
class OnDemand < ::Stripe::RequestParams
|
|
2383
1467
|
# Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc.
|
|
2384
1468
|
attr_accessor :average_amount
|
|
2385
1469
|
# 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.
|
|
@@ -2406,8 +1490,8 @@ module Stripe
|
|
|
2406
1490
|
end
|
|
2407
1491
|
end
|
|
2408
1492
|
|
|
2409
|
-
class Subscription < Stripe::RequestParams
|
|
2410
|
-
class NextBilling < Stripe::RequestParams
|
|
1493
|
+
class Subscription < ::Stripe::RequestParams
|
|
1494
|
+
class NextBilling < ::Stripe::RequestParams
|
|
2411
1495
|
# The amount of the next charge for the subscription.
|
|
2412
1496
|
attr_accessor :amount
|
|
2413
1497
|
# The date of the next charge for the subscription in YYYY-MM-DD format.
|
|
@@ -2481,7 +1565,7 @@ module Stripe
|
|
|
2481
1565
|
end
|
|
2482
1566
|
end
|
|
2483
1567
|
|
|
2484
|
-
class Konbini < Stripe::RequestParams
|
|
1568
|
+
class Konbini < ::Stripe::RequestParams
|
|
2485
1569
|
# 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.
|
|
2486
1570
|
attr_accessor :confirmation_number
|
|
2487
1571
|
# 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.
|
|
@@ -2516,7 +1600,7 @@ module Stripe
|
|
|
2516
1600
|
end
|
|
2517
1601
|
end
|
|
2518
1602
|
|
|
2519
|
-
class KrCard < Stripe::RequestParams
|
|
1603
|
+
class KrCard < ::Stripe::RequestParams
|
|
2520
1604
|
# Controls when the funds are captured from the customer's account.
|
|
2521
1605
|
#
|
|
2522
1606
|
# 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.
|
|
@@ -2538,7 +1622,7 @@ module Stripe
|
|
|
2538
1622
|
end
|
|
2539
1623
|
end
|
|
2540
1624
|
|
|
2541
|
-
class Link < Stripe::RequestParams
|
|
1625
|
+
class Link < ::Stripe::RequestParams
|
|
2542
1626
|
# Controls when the funds are captured from the customer's account.
|
|
2543
1627
|
#
|
|
2544
1628
|
# 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.
|
|
@@ -2565,7 +1649,7 @@ module Stripe
|
|
|
2565
1649
|
end
|
|
2566
1650
|
end
|
|
2567
1651
|
|
|
2568
|
-
class MbWay < Stripe::RequestParams
|
|
1652
|
+
class MbWay < ::Stripe::RequestParams
|
|
2569
1653
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2570
1654
|
#
|
|
2571
1655
|
# 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.
|
|
@@ -2582,7 +1666,7 @@ module Stripe
|
|
|
2582
1666
|
end
|
|
2583
1667
|
end
|
|
2584
1668
|
|
|
2585
|
-
class Mobilepay < Stripe::RequestParams
|
|
1669
|
+
class Mobilepay < ::Stripe::RequestParams
|
|
2586
1670
|
# Controls when the funds are captured from the customer's account.
|
|
2587
1671
|
#
|
|
2588
1672
|
# 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.
|
|
@@ -2606,7 +1690,7 @@ module Stripe
|
|
|
2606
1690
|
end
|
|
2607
1691
|
end
|
|
2608
1692
|
|
|
2609
|
-
class Multibanco < Stripe::RequestParams
|
|
1693
|
+
class Multibanco < ::Stripe::RequestParams
|
|
2610
1694
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2611
1695
|
#
|
|
2612
1696
|
# 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.
|
|
@@ -2623,7 +1707,7 @@ module Stripe
|
|
|
2623
1707
|
end
|
|
2624
1708
|
end
|
|
2625
1709
|
|
|
2626
|
-
class NaverPay < Stripe::RequestParams
|
|
1710
|
+
class NaverPay < ::Stripe::RequestParams
|
|
2627
1711
|
# Controls when the funds are captured from the customer's account.
|
|
2628
1712
|
#
|
|
2629
1713
|
# 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.
|
|
@@ -2645,7 +1729,7 @@ module Stripe
|
|
|
2645
1729
|
end
|
|
2646
1730
|
end
|
|
2647
1731
|
|
|
2648
|
-
class NzBankAccount < Stripe::RequestParams
|
|
1732
|
+
class NzBankAccount < ::Stripe::RequestParams
|
|
2649
1733
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2650
1734
|
#
|
|
2651
1735
|
# If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
@@ -2665,7 +1749,7 @@ module Stripe
|
|
|
2665
1749
|
end
|
|
2666
1750
|
end
|
|
2667
1751
|
|
|
2668
|
-
class Oxxo < Stripe::RequestParams
|
|
1752
|
+
class Oxxo < ::Stripe::RequestParams
|
|
2669
1753
|
# 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.
|
|
2670
1754
|
attr_accessor :expires_after_days
|
|
2671
1755
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -2685,7 +1769,7 @@ module Stripe
|
|
|
2685
1769
|
end
|
|
2686
1770
|
end
|
|
2687
1771
|
|
|
2688
|
-
class P24 < Stripe::RequestParams
|
|
1772
|
+
class P24 < ::Stripe::RequestParams
|
|
2689
1773
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2690
1774
|
#
|
|
2691
1775
|
# 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.
|
|
@@ -2705,9 +1789,9 @@ module Stripe
|
|
|
2705
1789
|
end
|
|
2706
1790
|
end
|
|
2707
1791
|
|
|
2708
|
-
class PayByBank < Stripe::RequestParams; end
|
|
1792
|
+
class PayByBank < ::Stripe::RequestParams; end
|
|
2709
1793
|
|
|
2710
|
-
class Payco < Stripe::RequestParams
|
|
1794
|
+
class Payco < ::Stripe::RequestParams
|
|
2711
1795
|
# Controls when the funds are captured from the customer's account.
|
|
2712
1796
|
#
|
|
2713
1797
|
# 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.
|
|
@@ -2720,7 +1804,7 @@ module Stripe
|
|
|
2720
1804
|
end
|
|
2721
1805
|
end
|
|
2722
1806
|
|
|
2723
|
-
class Paynow < Stripe::RequestParams
|
|
1807
|
+
class Paynow < ::Stripe::RequestParams
|
|
2724
1808
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2725
1809
|
#
|
|
2726
1810
|
# 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.
|
|
@@ -2737,66 +1821,13 @@ module Stripe
|
|
|
2737
1821
|
end
|
|
2738
1822
|
end
|
|
2739
1823
|
|
|
2740
|
-
class Paypal < Stripe::RequestParams
|
|
2741
|
-
class LineItem < Stripe::RequestParams
|
|
2742
|
-
class Tax < Stripe::RequestParams
|
|
2743
|
-
# The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2744
|
-
attr_accessor :amount
|
|
2745
|
-
# The tax behavior for the line item.
|
|
2746
|
-
attr_accessor :behavior
|
|
2747
|
-
|
|
2748
|
-
def initialize(amount: nil, behavior: nil)
|
|
2749
|
-
@amount = amount
|
|
2750
|
-
@behavior = behavior
|
|
2751
|
-
end
|
|
2752
|
-
end
|
|
2753
|
-
# Type of the line item.
|
|
2754
|
-
attr_accessor :category
|
|
2755
|
-
# Description of the line item.
|
|
2756
|
-
attr_accessor :description
|
|
2757
|
-
# Descriptive name of the line item.
|
|
2758
|
-
attr_accessor :name
|
|
2759
|
-
# Quantity of the line item. Must be a positive number.
|
|
2760
|
-
attr_accessor :quantity
|
|
2761
|
-
# Client facing stock keeping unit, article number or similar.
|
|
2762
|
-
attr_accessor :sku
|
|
2763
|
-
# The Stripe account ID of the connected account that sells the item.
|
|
2764
|
-
attr_accessor :sold_by
|
|
2765
|
-
# The tax information for the line item.
|
|
2766
|
-
attr_accessor :tax
|
|
2767
|
-
# Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2768
|
-
attr_accessor :unit_amount
|
|
2769
|
-
|
|
2770
|
-
def initialize(
|
|
2771
|
-
category: nil,
|
|
2772
|
-
description: nil,
|
|
2773
|
-
name: nil,
|
|
2774
|
-
quantity: nil,
|
|
2775
|
-
sku: nil,
|
|
2776
|
-
sold_by: nil,
|
|
2777
|
-
tax: nil,
|
|
2778
|
-
unit_amount: nil
|
|
2779
|
-
)
|
|
2780
|
-
@category = category
|
|
2781
|
-
@description = description
|
|
2782
|
-
@name = name
|
|
2783
|
-
@quantity = quantity
|
|
2784
|
-
@sku = sku
|
|
2785
|
-
@sold_by = sold_by
|
|
2786
|
-
@tax = tax
|
|
2787
|
-
@unit_amount = unit_amount
|
|
2788
|
-
end
|
|
2789
|
-
end
|
|
1824
|
+
class Paypal < ::Stripe::RequestParams
|
|
2790
1825
|
# Controls when the funds will be captured from the customer's account.
|
|
2791
1826
|
attr_accessor :capture_method
|
|
2792
|
-
# The line items purchased by the customer.
|
|
2793
|
-
attr_accessor :line_items
|
|
2794
1827
|
# [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
|
|
2795
1828
|
attr_accessor :preferred_locale
|
|
2796
1829
|
# 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.
|
|
2797
1830
|
attr_accessor :reference
|
|
2798
|
-
# 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.
|
|
2799
|
-
attr_accessor :reference_id
|
|
2800
1831
|
# The risk correlation ID for an on-session payment using a saved PayPal payment method.
|
|
2801
1832
|
attr_accessor :risk_correlation_id
|
|
2802
1833
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -2809,140 +1840,29 @@ module Stripe
|
|
|
2809
1840
|
#
|
|
2810
1841
|
# 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`.
|
|
2811
1842
|
attr_accessor :setup_future_usage
|
|
2812
|
-
# 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.
|
|
2813
|
-
attr_accessor :subsellers
|
|
2814
1843
|
|
|
2815
1844
|
def initialize(
|
|
2816
1845
|
capture_method: nil,
|
|
2817
|
-
line_items: nil,
|
|
2818
1846
|
preferred_locale: nil,
|
|
2819
1847
|
reference: nil,
|
|
2820
|
-
reference_id: nil,
|
|
2821
1848
|
risk_correlation_id: nil,
|
|
2822
|
-
setup_future_usage: nil
|
|
2823
|
-
subsellers: nil
|
|
1849
|
+
setup_future_usage: nil
|
|
2824
1850
|
)
|
|
2825
1851
|
@capture_method = capture_method
|
|
2826
|
-
@line_items = line_items
|
|
2827
1852
|
@preferred_locale = preferred_locale
|
|
2828
1853
|
@reference = reference
|
|
2829
|
-
@reference_id = reference_id
|
|
2830
1854
|
@risk_correlation_id = risk_correlation_id
|
|
2831
1855
|
@setup_future_usage = setup_future_usage
|
|
2832
|
-
@subsellers = subsellers
|
|
2833
|
-
end
|
|
2834
|
-
end
|
|
2835
|
-
|
|
2836
|
-
class Paypay < Stripe::RequestParams
|
|
2837
|
-
# Controls when the funds are captured from the customer's account.
|
|
2838
|
-
#
|
|
2839
|
-
# 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.
|
|
2840
|
-
#
|
|
2841
|
-
# 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.
|
|
2842
|
-
attr_accessor :capture_method
|
|
2843
|
-
|
|
2844
|
-
def initialize(capture_method: nil)
|
|
2845
|
-
@capture_method = capture_method
|
|
2846
|
-
end
|
|
2847
|
-
end
|
|
2848
|
-
|
|
2849
|
-
class Payto < Stripe::RequestParams
|
|
2850
|
-
class MandateOptions < Stripe::RequestParams
|
|
2851
|
-
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
2852
|
-
attr_accessor :amount
|
|
2853
|
-
# 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.
|
|
2854
|
-
attr_accessor :amount_type
|
|
2855
|
-
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
2856
|
-
attr_accessor :end_date
|
|
2857
|
-
# The periodicity at which payments will be collected.
|
|
2858
|
-
attr_accessor :payment_schedule
|
|
2859
|
-
# 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.
|
|
2860
|
-
attr_accessor :payments_per_period
|
|
2861
|
-
# The purpose for which payments are made. Defaults to retail.
|
|
2862
|
-
attr_accessor :purpose
|
|
2863
|
-
|
|
2864
|
-
def initialize(
|
|
2865
|
-
amount: nil,
|
|
2866
|
-
amount_type: nil,
|
|
2867
|
-
end_date: nil,
|
|
2868
|
-
payment_schedule: nil,
|
|
2869
|
-
payments_per_period: nil,
|
|
2870
|
-
purpose: nil
|
|
2871
|
-
)
|
|
2872
|
-
@amount = amount
|
|
2873
|
-
@amount_type = amount_type
|
|
2874
|
-
@end_date = end_date
|
|
2875
|
-
@payment_schedule = payment_schedule
|
|
2876
|
-
@payments_per_period = payments_per_period
|
|
2877
|
-
@purpose = purpose
|
|
2878
|
-
end
|
|
2879
|
-
end
|
|
2880
|
-
# 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`
|
|
2881
|
-
attr_accessor :mandate_options
|
|
2882
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2883
|
-
#
|
|
2884
|
-
# 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.
|
|
2885
|
-
#
|
|
2886
|
-
# 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.
|
|
2887
|
-
#
|
|
2888
|
-
# 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).
|
|
2889
|
-
#
|
|
2890
|
-
# 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`.
|
|
2891
|
-
attr_accessor :setup_future_usage
|
|
2892
|
-
|
|
2893
|
-
def initialize(mandate_options: nil, setup_future_usage: nil)
|
|
2894
|
-
@mandate_options = mandate_options
|
|
2895
|
-
@setup_future_usage = setup_future_usage
|
|
2896
1856
|
end
|
|
2897
1857
|
end
|
|
2898
1858
|
|
|
2899
|
-
class Pix < Stripe::RequestParams
|
|
2900
|
-
class MandateOptions < Stripe::RequestParams
|
|
2901
|
-
# Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
|
|
2902
|
-
attr_accessor :amount
|
|
2903
|
-
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
2904
|
-
attr_accessor :amount_includes_iof
|
|
2905
|
-
# Type of amount. Defaults to `maximum`.
|
|
2906
|
-
attr_accessor :amount_type
|
|
2907
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
|
|
2908
|
-
attr_accessor :currency
|
|
2909
|
-
# 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.
|
|
2910
|
-
attr_accessor :end_date
|
|
2911
|
-
# Schedule at which the future payments will be charged. Defaults to `weekly`.
|
|
2912
|
-
attr_accessor :payment_schedule
|
|
2913
|
-
# Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
|
|
2914
|
-
attr_accessor :reference
|
|
2915
|
-
# 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.
|
|
2916
|
-
attr_accessor :start_date
|
|
2917
|
-
|
|
2918
|
-
def initialize(
|
|
2919
|
-
amount: nil,
|
|
2920
|
-
amount_includes_iof: nil,
|
|
2921
|
-
amount_type: nil,
|
|
2922
|
-
currency: nil,
|
|
2923
|
-
end_date: nil,
|
|
2924
|
-
payment_schedule: nil,
|
|
2925
|
-
reference: nil,
|
|
2926
|
-
start_date: nil
|
|
2927
|
-
)
|
|
2928
|
-
@amount = amount
|
|
2929
|
-
@amount_includes_iof = amount_includes_iof
|
|
2930
|
-
@amount_type = amount_type
|
|
2931
|
-
@currency = currency
|
|
2932
|
-
@end_date = end_date
|
|
2933
|
-
@payment_schedule = payment_schedule
|
|
2934
|
-
@reference = reference
|
|
2935
|
-
@start_date = start_date
|
|
2936
|
-
end
|
|
2937
|
-
end
|
|
1859
|
+
class Pix < ::Stripe::RequestParams
|
|
2938
1860
|
# Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
2939
1861
|
attr_accessor :amount_includes_iof
|
|
2940
1862
|
# The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
|
|
2941
1863
|
attr_accessor :expires_after_seconds
|
|
2942
1864
|
# The timestamp at which the Pix expires (between 10 and 1209600 seconds in the future). Defaults to 1 day in the future.
|
|
2943
1865
|
attr_accessor :expires_at
|
|
2944
|
-
# Additional fields for mandate creation. Only applicable when `setup_future_usage=off_session`.
|
|
2945
|
-
attr_accessor :mandate_options
|
|
2946
1866
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2947
1867
|
#
|
|
2948
1868
|
# 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.
|
|
@@ -2958,35 +1878,16 @@ module Stripe
|
|
|
2958
1878
|
amount_includes_iof: nil,
|
|
2959
1879
|
expires_after_seconds: nil,
|
|
2960
1880
|
expires_at: nil,
|
|
2961
|
-
mandate_options: nil,
|
|
2962
1881
|
setup_future_usage: nil
|
|
2963
1882
|
)
|
|
2964
1883
|
@amount_includes_iof = amount_includes_iof
|
|
2965
1884
|
@expires_after_seconds = expires_after_seconds
|
|
2966
1885
|
@expires_at = expires_at
|
|
2967
|
-
@mandate_options = mandate_options
|
|
2968
|
-
@setup_future_usage = setup_future_usage
|
|
2969
|
-
end
|
|
2970
|
-
end
|
|
2971
|
-
|
|
2972
|
-
class Promptpay < Stripe::RequestParams
|
|
2973
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2974
|
-
#
|
|
2975
|
-
# 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.
|
|
2976
|
-
#
|
|
2977
|
-
# 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.
|
|
2978
|
-
#
|
|
2979
|
-
# 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).
|
|
2980
|
-
#
|
|
2981
|
-
# 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`.
|
|
2982
|
-
attr_accessor :setup_future_usage
|
|
2983
|
-
|
|
2984
|
-
def initialize(setup_future_usage: nil)
|
|
2985
1886
|
@setup_future_usage = setup_future_usage
|
|
2986
1887
|
end
|
|
2987
1888
|
end
|
|
2988
1889
|
|
|
2989
|
-
class
|
|
1890
|
+
class Promptpay < ::Stripe::RequestParams
|
|
2990
1891
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2991
1892
|
#
|
|
2992
1893
|
# 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.
|
|
@@ -3003,9 +1904,7 @@ module Stripe
|
|
|
3003
1904
|
end
|
|
3004
1905
|
end
|
|
3005
1906
|
|
|
3006
|
-
class
|
|
3007
|
-
|
|
3008
|
-
class RevolutPay < Stripe::RequestParams
|
|
1907
|
+
class RevolutPay < ::Stripe::RequestParams
|
|
3009
1908
|
# Controls when the funds are captured from the customer's account.
|
|
3010
1909
|
#
|
|
3011
1910
|
# 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.
|
|
@@ -3027,7 +1926,7 @@ module Stripe
|
|
|
3027
1926
|
end
|
|
3028
1927
|
end
|
|
3029
1928
|
|
|
3030
|
-
class SamsungPay < Stripe::RequestParams
|
|
1929
|
+
class SamsungPay < ::Stripe::RequestParams
|
|
3031
1930
|
# Controls when the funds are captured from the customer's account.
|
|
3032
1931
|
#
|
|
3033
1932
|
# 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.
|
|
@@ -3040,7 +1939,7 @@ module Stripe
|
|
|
3040
1939
|
end
|
|
3041
1940
|
end
|
|
3042
1941
|
|
|
3043
|
-
class Satispay < Stripe::RequestParams
|
|
1942
|
+
class Satispay < ::Stripe::RequestParams
|
|
3044
1943
|
# Controls when the funds are captured from the customer's account.
|
|
3045
1944
|
#
|
|
3046
1945
|
# 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.
|
|
@@ -3053,8 +1952,8 @@ module Stripe
|
|
|
3053
1952
|
end
|
|
3054
1953
|
end
|
|
3055
1954
|
|
|
3056
|
-
class SepaDebit < Stripe::RequestParams
|
|
3057
|
-
class MandateOptions < Stripe::RequestParams
|
|
1955
|
+
class SepaDebit < ::Stripe::RequestParams
|
|
1956
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
3058
1957
|
# 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'.
|
|
3059
1958
|
attr_accessor :reference_prefix
|
|
3060
1959
|
|
|
@@ -3084,24 +1983,7 @@ module Stripe
|
|
|
3084
1983
|
end
|
|
3085
1984
|
end
|
|
3086
1985
|
|
|
3087
|
-
class
|
|
3088
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3089
|
-
#
|
|
3090
|
-
# 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.
|
|
3091
|
-
#
|
|
3092
|
-
# 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.
|
|
3093
|
-
#
|
|
3094
|
-
# 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).
|
|
3095
|
-
#
|
|
3096
|
-
# 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`.
|
|
3097
|
-
attr_accessor :setup_future_usage
|
|
3098
|
-
|
|
3099
|
-
def initialize(setup_future_usage: nil)
|
|
3100
|
-
@setup_future_usage = setup_future_usage
|
|
3101
|
-
end
|
|
3102
|
-
end
|
|
3103
|
-
|
|
3104
|
-
class Sofort < Stripe::RequestParams
|
|
1986
|
+
class Sofort < ::Stripe::RequestParams
|
|
3105
1987
|
# Language shown to the payer on redirect.
|
|
3106
1988
|
attr_accessor :preferred_language
|
|
3107
1989
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -3121,24 +2003,7 @@ module Stripe
|
|
|
3121
2003
|
end
|
|
3122
2004
|
end
|
|
3123
2005
|
|
|
3124
|
-
class
|
|
3125
|
-
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3126
|
-
#
|
|
3127
|
-
# 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.
|
|
3128
|
-
#
|
|
3129
|
-
# 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.
|
|
3130
|
-
#
|
|
3131
|
-
# 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).
|
|
3132
|
-
#
|
|
3133
|
-
# 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`.
|
|
3134
|
-
attr_accessor :setup_future_usage
|
|
3135
|
-
|
|
3136
|
-
def initialize(setup_future_usage: nil)
|
|
3137
|
-
@setup_future_usage = setup_future_usage
|
|
3138
|
-
end
|
|
3139
|
-
end
|
|
3140
|
-
|
|
3141
|
-
class Swish < Stripe::RequestParams
|
|
2006
|
+
class Swish < ::Stripe::RequestParams
|
|
3142
2007
|
# A reference for this payment to be displayed in the Swish app.
|
|
3143
2008
|
attr_accessor :reference
|
|
3144
2009
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -3158,7 +2023,7 @@ module Stripe
|
|
|
3158
2023
|
end
|
|
3159
2024
|
end
|
|
3160
2025
|
|
|
3161
|
-
class Twint < Stripe::RequestParams
|
|
2026
|
+
class Twint < ::Stripe::RequestParams
|
|
3162
2027
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3163
2028
|
#
|
|
3164
2029
|
# 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.
|
|
@@ -3175,32 +2040,18 @@ module Stripe
|
|
|
3175
2040
|
end
|
|
3176
2041
|
end
|
|
3177
2042
|
|
|
3178
|
-
class UsBankAccount < Stripe::RequestParams
|
|
3179
|
-
class FinancialConnections < Stripe::RequestParams
|
|
3180
|
-
class Filters < Stripe::RequestParams
|
|
2043
|
+
class UsBankAccount < ::Stripe::RequestParams
|
|
2044
|
+
class FinancialConnections < ::Stripe::RequestParams
|
|
2045
|
+
class Filters < ::Stripe::RequestParams
|
|
3181
2046
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
3182
2047
|
attr_accessor :account_subcategories
|
|
3183
|
-
# ID of the institution to use to filter for selectable accounts.
|
|
3184
|
-
attr_accessor :institution
|
|
3185
2048
|
|
|
3186
|
-
def initialize(account_subcategories: nil
|
|
2049
|
+
def initialize(account_subcategories: nil)
|
|
3187
2050
|
@account_subcategories = account_subcategories
|
|
3188
|
-
@institution = institution
|
|
3189
|
-
end
|
|
3190
|
-
end
|
|
3191
|
-
|
|
3192
|
-
class ManualEntry < Stripe::RequestParams
|
|
3193
|
-
# Settings for configuring manual entry of account details.
|
|
3194
|
-
attr_accessor :mode
|
|
3195
|
-
|
|
3196
|
-
def initialize(mode: nil)
|
|
3197
|
-
@mode = mode
|
|
3198
2051
|
end
|
|
3199
2052
|
end
|
|
3200
2053
|
# Provide filters for the linked accounts that the customer can select for the payment method.
|
|
3201
2054
|
attr_accessor :filters
|
|
3202
|
-
# Customize manual entry behavior
|
|
3203
|
-
attr_accessor :manual_entry
|
|
3204
2055
|
# 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`.
|
|
3205
2056
|
attr_accessor :permissions
|
|
3206
2057
|
# List of data features that you would like to retrieve upon account creation.
|
|
@@ -3208,22 +2059,15 @@ module Stripe
|
|
|
3208
2059
|
# 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.
|
|
3209
2060
|
attr_accessor :return_url
|
|
3210
2061
|
|
|
3211
|
-
def initialize(
|
|
3212
|
-
filters: nil,
|
|
3213
|
-
manual_entry: nil,
|
|
3214
|
-
permissions: nil,
|
|
3215
|
-
prefetch: nil,
|
|
3216
|
-
return_url: nil
|
|
3217
|
-
)
|
|
2062
|
+
def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
|
|
3218
2063
|
@filters = filters
|
|
3219
|
-
@manual_entry = manual_entry
|
|
3220
2064
|
@permissions = permissions
|
|
3221
2065
|
@prefetch = prefetch
|
|
3222
2066
|
@return_url = return_url
|
|
3223
2067
|
end
|
|
3224
2068
|
end
|
|
3225
2069
|
|
|
3226
|
-
class MandateOptions < Stripe::RequestParams
|
|
2070
|
+
class MandateOptions < ::Stripe::RequestParams
|
|
3227
2071
|
# The method used to collect offline mandate customer acceptance.
|
|
3228
2072
|
attr_accessor :collection_method
|
|
3229
2073
|
|
|
@@ -3232,7 +2076,7 @@ module Stripe
|
|
|
3232
2076
|
end
|
|
3233
2077
|
end
|
|
3234
2078
|
|
|
3235
|
-
class Networks < Stripe::RequestParams
|
|
2079
|
+
class Networks < ::Stripe::RequestParams
|
|
3236
2080
|
# Triggers validations to run across the selected networks
|
|
3237
2081
|
attr_accessor :requested
|
|
3238
2082
|
|
|
@@ -3282,7 +2126,7 @@ module Stripe
|
|
|
3282
2126
|
end
|
|
3283
2127
|
end
|
|
3284
2128
|
|
|
3285
|
-
class WechatPay < Stripe::RequestParams
|
|
2129
|
+
class WechatPay < ::Stripe::RequestParams
|
|
3286
2130
|
# The app ID registered with WeChat Pay. Only required when client is ios or android.
|
|
3287
2131
|
attr_accessor :app_id
|
|
3288
2132
|
# The client type that the end customer will pay from
|
|
@@ -3305,7 +2149,7 @@ module Stripe
|
|
|
3305
2149
|
end
|
|
3306
2150
|
end
|
|
3307
2151
|
|
|
3308
|
-
class Zip < Stripe::RequestParams
|
|
2152
|
+
class Zip < ::Stripe::RequestParams
|
|
3309
2153
|
# Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3310
2154
|
#
|
|
3311
2155
|
# 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.
|
|
@@ -3361,12 +2205,8 @@ module Stripe
|
|
|
3361
2205
|
attr_accessor :fpx
|
|
3362
2206
|
# If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.
|
|
3363
2207
|
attr_accessor :giropay
|
|
3364
|
-
# If this is a `gopay` PaymentMethod, this sub-hash contains details about the Gopay payment method options.
|
|
3365
|
-
attr_accessor :gopay
|
|
3366
2208
|
# If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
|
|
3367
2209
|
attr_accessor :grabpay
|
|
3368
|
-
# If this is a `id_bank_transfer` PaymentMethod, this sub-hash contains details about the Indonesia Bank Transfer payment method options.
|
|
3369
|
-
attr_accessor :id_bank_transfer
|
|
3370
2210
|
# If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.
|
|
3371
2211
|
attr_accessor :ideal
|
|
3372
2212
|
# If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.
|
|
@@ -3403,18 +2243,10 @@ module Stripe
|
|
|
3403
2243
|
attr_accessor :paynow
|
|
3404
2244
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
|
3405
2245
|
attr_accessor :paypal
|
|
3406
|
-
# If this is a `paypay` PaymentMethod, this sub-hash contains details about the PayPay payment method options.
|
|
3407
|
-
attr_accessor :paypay
|
|
3408
|
-
# If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.
|
|
3409
|
-
attr_accessor :payto
|
|
3410
2246
|
# If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.
|
|
3411
2247
|
attr_accessor :pix
|
|
3412
2248
|
# If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
|
|
3413
2249
|
attr_accessor :promptpay
|
|
3414
|
-
# If this is a `qris` PaymentMethod, this sub-hash contains details about the QRIS payment method options.
|
|
3415
|
-
attr_accessor :qris
|
|
3416
|
-
# If this is a `rechnung` PaymentMethod, this sub-hash contains details about the Rechnung payment method options.
|
|
3417
|
-
attr_accessor :rechnung
|
|
3418
2250
|
# If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
|
|
3419
2251
|
attr_accessor :revolut_pay
|
|
3420
2252
|
# If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.
|
|
@@ -3423,12 +2255,8 @@ module Stripe
|
|
|
3423
2255
|
attr_accessor :satispay
|
|
3424
2256
|
# If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
3425
2257
|
attr_accessor :sepa_debit
|
|
3426
|
-
# If this is a `shopeepay` PaymentMethod, this sub-hash contains details about the ShopeePay payment method options.
|
|
3427
|
-
attr_accessor :shopeepay
|
|
3428
2258
|
# If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
|
|
3429
2259
|
attr_accessor :sofort
|
|
3430
|
-
# If this is a `stripe_balance` PaymentMethod, this sub-hash contains details about the Stripe Balance payment method options.
|
|
3431
|
-
attr_accessor :stripe_balance
|
|
3432
2260
|
# If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.
|
|
3433
2261
|
attr_accessor :swish
|
|
3434
2262
|
# If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.
|
|
@@ -3461,9 +2289,7 @@ module Stripe
|
|
|
3461
2289
|
eps: nil,
|
|
3462
2290
|
fpx: nil,
|
|
3463
2291
|
giropay: nil,
|
|
3464
|
-
gopay: nil,
|
|
3465
2292
|
grabpay: nil,
|
|
3466
|
-
id_bank_transfer: nil,
|
|
3467
2293
|
ideal: nil,
|
|
3468
2294
|
interac_present: nil,
|
|
3469
2295
|
kakao_pay: nil,
|
|
@@ -3482,19 +2308,13 @@ module Stripe
|
|
|
3482
2308
|
payco: nil,
|
|
3483
2309
|
paynow: nil,
|
|
3484
2310
|
paypal: nil,
|
|
3485
|
-
paypay: nil,
|
|
3486
|
-
payto: nil,
|
|
3487
2311
|
pix: nil,
|
|
3488
2312
|
promptpay: nil,
|
|
3489
|
-
qris: nil,
|
|
3490
|
-
rechnung: nil,
|
|
3491
2313
|
revolut_pay: nil,
|
|
3492
2314
|
samsung_pay: nil,
|
|
3493
2315
|
satispay: nil,
|
|
3494
2316
|
sepa_debit: nil,
|
|
3495
|
-
shopeepay: nil,
|
|
3496
2317
|
sofort: nil,
|
|
3497
|
-
stripe_balance: nil,
|
|
3498
2318
|
swish: nil,
|
|
3499
2319
|
twint: nil,
|
|
3500
2320
|
us_bank_account: nil,
|
|
@@ -3521,9 +2341,7 @@ module Stripe
|
|
|
3521
2341
|
@eps = eps
|
|
3522
2342
|
@fpx = fpx
|
|
3523
2343
|
@giropay = giropay
|
|
3524
|
-
@gopay = gopay
|
|
3525
2344
|
@grabpay = grabpay
|
|
3526
|
-
@id_bank_transfer = id_bank_transfer
|
|
3527
2345
|
@ideal = ideal
|
|
3528
2346
|
@interac_present = interac_present
|
|
3529
2347
|
@kakao_pay = kakao_pay
|
|
@@ -3542,19 +2360,13 @@ module Stripe
|
|
|
3542
2360
|
@payco = payco
|
|
3543
2361
|
@paynow = paynow
|
|
3544
2362
|
@paypal = paypal
|
|
3545
|
-
@paypay = paypay
|
|
3546
|
-
@payto = payto
|
|
3547
2363
|
@pix = pix
|
|
3548
2364
|
@promptpay = promptpay
|
|
3549
|
-
@qris = qris
|
|
3550
|
-
@rechnung = rechnung
|
|
3551
2365
|
@revolut_pay = revolut_pay
|
|
3552
2366
|
@samsung_pay = samsung_pay
|
|
3553
2367
|
@satispay = satispay
|
|
3554
2368
|
@sepa_debit = sepa_debit
|
|
3555
|
-
@shopeepay = shopeepay
|
|
3556
2369
|
@sofort = sofort
|
|
3557
|
-
@stripe_balance = stripe_balance
|
|
3558
2370
|
@swish = swish
|
|
3559
2371
|
@twint = twint
|
|
3560
2372
|
@us_bank_account = us_bank_account
|
|
@@ -3563,8 +2375,8 @@ module Stripe
|
|
|
3563
2375
|
end
|
|
3564
2376
|
end
|
|
3565
2377
|
|
|
3566
|
-
class Shipping < Stripe::RequestParams
|
|
3567
|
-
class Address < Stripe::RequestParams
|
|
2378
|
+
class Shipping < ::Stripe::RequestParams
|
|
2379
|
+
class Address < ::Stripe::RequestParams
|
|
3568
2380
|
# City, district, suburb, town, or village.
|
|
3569
2381
|
attr_accessor :city
|
|
3570
2382
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
@@ -3614,7 +2426,7 @@ module Stripe
|
|
|
3614
2426
|
end
|
|
3615
2427
|
end
|
|
3616
2428
|
|
|
3617
|
-
class TransferData < Stripe::RequestParams
|
|
2429
|
+
class TransferData < ::Stripe::RequestParams
|
|
3618
2430
|
# The amount that will be transferred automatically when a charge succeeds.
|
|
3619
2431
|
attr_accessor :amount
|
|
3620
2432
|
|
|
@@ -3638,29 +2450,17 @@ module Stripe
|
|
|
3638
2450
|
#
|
|
3639
2451
|
# 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.
|
|
3640
2452
|
attr_accessor :customer
|
|
3641
|
-
# ID of the Account this PaymentIntent belongs to, if one exists.
|
|
3642
|
-
#
|
|
3643
|
-
# Payment methods attached to other Accounts cannot be used with this PaymentIntent.
|
|
3644
|
-
#
|
|
3645
|
-
# 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.
|
|
3646
|
-
attr_accessor :customer_account
|
|
3647
2453
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
|
3648
2454
|
attr_accessor :description
|
|
3649
2455
|
# The list of payment method types to exclude from use with this payment.
|
|
3650
2456
|
attr_accessor :excluded_payment_method_types
|
|
3651
2457
|
# Specifies which fields in the response should be expanded.
|
|
3652
2458
|
attr_accessor :expand
|
|
3653
|
-
# The FX rate in the quote is validated and used to convert the presentment amount to the settlement amount.
|
|
3654
|
-
attr_accessor :fx_quote
|
|
3655
|
-
# Automations to be run during the PaymentIntent lifecycle
|
|
3656
|
-
attr_accessor :hooks
|
|
3657
|
-
# This hash contains details about the Mandate to create.
|
|
3658
|
-
attr_accessor :mandate_data
|
|
3659
2459
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
3660
2460
|
attr_accessor :metadata
|
|
3661
2461
|
# Provides industry-specific information about the charge.
|
|
3662
2462
|
attr_accessor :payment_details
|
|
3663
|
-
#
|
|
2463
|
+
# ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://stripe.com/docs/payments/payment-methods/transitioning#compatibility) object) to attach to this PaymentIntent. To unset this field to null, pass in an empty string.
|
|
3664
2464
|
attr_accessor :payment_method
|
|
3665
2465
|
# The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this PaymentIntent.
|
|
3666
2466
|
attr_accessor :payment_method_configuration
|
|
@@ -3704,13 +2504,9 @@ module Stripe
|
|
|
3704
2504
|
capture_method: nil,
|
|
3705
2505
|
currency: nil,
|
|
3706
2506
|
customer: nil,
|
|
3707
|
-
customer_account: nil,
|
|
3708
2507
|
description: nil,
|
|
3709
2508
|
excluded_payment_method_types: nil,
|
|
3710
2509
|
expand: nil,
|
|
3711
|
-
fx_quote: nil,
|
|
3712
|
-
hooks: nil,
|
|
3713
|
-
mandate_data: nil,
|
|
3714
2510
|
metadata: nil,
|
|
3715
2511
|
payment_details: nil,
|
|
3716
2512
|
payment_method: nil,
|
|
@@ -3732,13 +2528,9 @@ module Stripe
|
|
|
3732
2528
|
@capture_method = capture_method
|
|
3733
2529
|
@currency = currency
|
|
3734
2530
|
@customer = customer
|
|
3735
|
-
@customer_account = customer_account
|
|
3736
2531
|
@description = description
|
|
3737
2532
|
@excluded_payment_method_types = excluded_payment_method_types
|
|
3738
2533
|
@expand = expand
|
|
3739
|
-
@fx_quote = fx_quote
|
|
3740
|
-
@hooks = hooks
|
|
3741
|
-
@mandate_data = mandate_data
|
|
3742
2534
|
@metadata = metadata
|
|
3743
2535
|
@payment_details = payment_details
|
|
3744
2536
|
@payment_method = payment_method
|