mega-pure-kit 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/mega-pure-kit.gemspec +12 -0
- data/stripe-19.3.0/exe/stripe-console +16 -0
- data/stripe-19.3.0/lib/data/ca-certificates.crt +3511 -0
- data/stripe-19.3.0/lib/stripe/api_operations/create.rb +16 -0
- data/stripe-19.3.0/lib/stripe/api_operations/delete.rb +44 -0
- data/stripe-19.3.0/lib/stripe/api_operations/list.rb +16 -0
- data/stripe-19.3.0/lib/stripe/api_operations/nested_resource.rb +101 -0
- data/stripe-19.3.0/lib/stripe/api_operations/request.rb +94 -0
- data/stripe-19.3.0/lib/stripe/api_operations/save.rb +107 -0
- data/stripe-19.3.0/lib/stripe/api_operations/search.rb +21 -0
- data/stripe-19.3.0/lib/stripe/api_operations/singleton_save.rb +90 -0
- data/stripe-19.3.0/lib/stripe/api_requestor.rb +1168 -0
- data/stripe-19.3.0/lib/stripe/api_resource.rb +145 -0
- data/stripe-19.3.0/lib/stripe/api_resource_test_helpers.rb +53 -0
- data/stripe-19.3.0/lib/stripe/api_version.rb +9 -0
- data/stripe-19.3.0/lib/stripe/connection_manager.rb +196 -0
- data/stripe-19.3.0/lib/stripe/error_object.rb +93 -0
- data/stripe-19.3.0/lib/stripe/errors.rb +171 -0
- data/stripe-19.3.0/lib/stripe/event_types.rb +106 -0
- data/stripe-19.3.0/lib/stripe/events/unknown_event_notification.rb +19 -0
- data/stripe-19.3.0/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +123 -0
- data/stripe-19.3.0/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +100 -0
- data/stripe-19.3.0/lib/stripe/events/v2_commerce_product_catalog_imports_failed_event.rb +44 -0
- data/stripe-19.3.0/lib/stripe/events/v2_commerce_product_catalog_imports_processing_event.rb +44 -0
- data/stripe-19.3.0/lib/stripe/events/v2_commerce_product_catalog_imports_succeeded_event.rb +44 -0
- data/stripe-19.3.0/lib/stripe/events/v2_commerce_product_catalog_imports_succeeded_with_errors_event.rb +44 -0
- data/stripe-19.3.0/lib/stripe/events/v2_core_account_closed_event.rb +44 -0
- data/stripe-19.3.0/lib/stripe/events/v2_core_account_created_event.rb +44 -0
- data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +63 -0
- data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +44 -0
- data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +63 -0
- data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +44 -0
- data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +63 -0
- data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +44 -0
- data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +44 -0
- data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_future_requirements_updated_event.rb +44 -0
- data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +44 -0
- data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +44 -0
- data/stripe-19.3.0/lib/stripe/events/v2_core_account_link_returned_event.rb +42 -0
- data/stripe-19.3.0/lib/stripe/events/v2_core_account_person_created_event.rb +61 -0
- data/stripe-19.3.0/lib/stripe/events/v2_core_account_person_deleted_event.rb +61 -0
- data/stripe-19.3.0/lib/stripe/events/v2_core_account_person_updated_event.rb +61 -0
- data/stripe-19.3.0/lib/stripe/events/v2_core_account_updated_event.rb +44 -0
- data/stripe-19.3.0/lib/stripe/events/v2_core_event_destination_ping_event.rb +44 -0
- data/stripe-19.3.0/lib/stripe/instrumentation.rb +106 -0
- data/stripe-19.3.0/lib/stripe/list_object.rb +141 -0
- data/stripe-19.3.0/lib/stripe/multipart_encoder.rb +131 -0
- data/stripe-19.3.0/lib/stripe/oauth.rb +58 -0
- data/stripe-19.3.0/lib/stripe/object_types.rb +189 -0
- data/stripe-19.3.0/lib/stripe/params/account_capability_list_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/account_capability_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/account_capability_update_params.rb +18 -0
- data/stripe-19.3.0/lib/stripe/params/account_create_params.rb +2202 -0
- data/stripe-19.3.0/lib/stripe/params/account_delete_params.rb +6 -0
- data/stripe-19.3.0/lib/stripe/params/account_external_account_create_params.rb +134 -0
- data/stripe-19.3.0/lib/stripe/params/account_external_account_delete_params.rb +6 -0
- data/stripe-19.3.0/lib/stripe/params/account_external_account_list_params.rb +25 -0
- data/stripe-19.3.0/lib/stripe/params/account_external_account_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/account_external_account_update_params.rb +91 -0
- data/stripe-19.3.0/lib/stripe/params/account_link_create_params.rb +52 -0
- data/stripe-19.3.0/lib/stripe/params/account_list_params.rb +42 -0
- data/stripe-19.3.0/lib/stripe/params/account_login_link_create_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/account_person_create_params.rb +435 -0
- data/stripe-19.3.0/lib/stripe/params/account_person_delete_params.rb +6 -0
- data/stripe-19.3.0/lib/stripe/params/account_person_list_params.rb +61 -0
- data/stripe-19.3.0/lib/stripe/params/account_person_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/account_person_update_params.rb +435 -0
- data/stripe-19.3.0/lib/stripe/params/account_persons_params.rb +61 -0
- data/stripe-19.3.0/lib/stripe/params/account_reject_params.rb +16 -0
- data/stripe-19.3.0/lib/stripe/params/account_retrieve_current_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/account_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/account_session_create_params.rb +632 -0
- data/stripe-19.3.0/lib/stripe/params/account_update_params.rb +2149 -0
- data/stripe-19.3.0/lib/stripe/params/apple_pay_domain_create_params.rb +16 -0
- data/stripe-19.3.0/lib/stripe/params/apple_pay_domain_delete_params.rb +6 -0
- data/stripe-19.3.0/lib/stripe/params/apple_pay_domain_list_params.rb +31 -0
- data/stripe-19.3.0/lib/stripe/params/apple_pay_domain_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/application_fee_list_params.rb +52 -0
- data/stripe-19.3.0/lib/stripe/params/application_fee_refund_create_params.rb +19 -0
- data/stripe-19.3.0/lib/stripe/params/application_fee_refund_list_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/application_fee_refund_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/application_fee_refund_update_params.rb +16 -0
- data/stripe-19.3.0/lib/stripe/params/application_fee_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/apps/secret_create_params.rb +38 -0
- data/stripe-19.3.0/lib/stripe/params/apps/secret_delete_where_params.rb +32 -0
- data/stripe-19.3.0/lib/stripe/params/apps/secret_find_params.rb +32 -0
- data/stripe-19.3.0/lib/stripe/params/apps/secret_list_params.rb +38 -0
- data/stripe-19.3.0/lib/stripe/params/balance_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/balance_settings_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/balance_settings_update_params.rb +107 -0
- data/stripe-19.3.0/lib/stripe/params/balance_transaction_list_params.rb +64 -0
- data/stripe-19.3.0/lib/stripe/params/balance_transaction_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/billing/alert_activate_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/billing/alert_archive_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/billing/alert_create_params.rb +52 -0
- data/stripe-19.3.0/lib/stripe/params/billing/alert_deactivate_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/billing/alert_list_params.rb +37 -0
- data/stripe-19.3.0/lib/stripe/params/billing/alert_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +57 -0
- data/stripe-19.3.0/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +41 -0
- data/stripe-19.3.0/lib/stripe/params/billing/credit_balance_transaction_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/billing/credit_grant_create_params.rb +107 -0
- data/stripe-19.3.0/lib/stripe/params/billing/credit_grant_expire_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/billing/credit_grant_list_params.rb +37 -0
- data/stripe-19.3.0/lib/stripe/params/billing/credit_grant_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/billing/credit_grant_update_params.rb +21 -0
- data/stripe-19.3.0/lib/stripe/params/billing/credit_grant_void_grant_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/billing/meter_create_params.rb +70 -0
- data/stripe-19.3.0/lib/stripe/params/billing/meter_deactivate_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/billing/meter_event_adjustment_create_params.rb +32 -0
- data/stripe-19.3.0/lib/stripe/params/billing/meter_event_create_params.rb +27 -0
- data/stripe-19.3.0/lib/stripe/params/billing/meter_event_summary_list_params.rb +45 -0
- data/stripe-19.3.0/lib/stripe/params/billing/meter_list_params.rb +27 -0
- data/stripe-19.3.0/lib/stripe/params/billing/meter_reactivate_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/billing/meter_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/billing/meter_update_params.rb +18 -0
- data/stripe-19.3.0/lib/stripe/params/billing_portal/configuration_create_params.rb +232 -0
- data/stripe-19.3.0/lib/stripe/params/billing_portal/configuration_list_params.rb +37 -0
- data/stripe-19.3.0/lib/stripe/params/billing_portal/configuration_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/billing_portal/configuration_update_params.rb +238 -0
- data/stripe-19.3.0/lib/stripe/params/billing_portal/session_create_params.rb +183 -0
- data/stripe-19.3.0/lib/stripe/params/charge_capture_params.rb +57 -0
- data/stripe-19.3.0/lib/stripe/params/charge_create_params.rb +175 -0
- data/stripe-19.3.0/lib/stripe/params/charge_list_params.rb +60 -0
- data/stripe-19.3.0/lib/stripe/params/charge_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/charge_search_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/charge_update_params.rb +102 -0
- data/stripe-19.3.0/lib/stripe/params/checkout/session_create_params.rb +2740 -0
- data/stripe-19.3.0/lib/stripe/params/checkout/session_expire_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/checkout/session_line_item_list_params.rb +24 -0
- data/stripe-19.3.0/lib/stripe/params/checkout/session_list_line_items_params.rb +24 -0
- data/stripe-19.3.0/lib/stripe/params/checkout/session_list_params.rb +87 -0
- data/stripe-19.3.0/lib/stripe/params/checkout/session_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/checkout/session_update_params.rb +348 -0
- data/stripe-19.3.0/lib/stripe/params/climate/order_cancel_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/climate/order_create_params.rb +53 -0
- data/stripe-19.3.0/lib/stripe/params/climate/order_list_params.rb +24 -0
- data/stripe-19.3.0/lib/stripe/params/climate/order_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/climate/order_update_params.rb +29 -0
- data/stripe-19.3.0/lib/stripe/params/climate/product_list_params.rb +24 -0
- data/stripe-19.3.0/lib/stripe/params/climate/product_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/climate/supplier_list_params.rb +24 -0
- data/stripe-19.3.0/lib/stripe/params/climate/supplier_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/confirmation_token_create_params.rb +715 -0
- data/stripe-19.3.0/lib/stripe/params/confirmation_token_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/country_spec_list_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/country_spec_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/coupon_create_params.rb +80 -0
- data/stripe-19.3.0/lib/stripe/params/coupon_delete_params.rb +6 -0
- data/stripe-19.3.0/lib/stripe/params/coupon_list_params.rb +42 -0
- data/stripe-19.3.0/lib/stripe/params/coupon_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/coupon_update_params.rb +30 -0
- data/stripe-19.3.0/lib/stripe/params/credit_note_create_params.rb +178 -0
- data/stripe-19.3.0/lib/stripe/params/credit_note_line_item_list_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/credit_note_list_params.rb +60 -0
- data/stripe-19.3.0/lib/stripe/params/credit_note_list_preview_line_items_params.rb +190 -0
- data/stripe-19.3.0/lib/stripe/params/credit_note_preview_lines_list_params.rb +190 -0
- data/stripe-19.3.0/lib/stripe/params/credit_note_preview_params.rb +178 -0
- data/stripe-19.3.0/lib/stripe/params/credit_note_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/credit_note_update_params.rb +19 -0
- data/stripe-19.3.0/lib/stripe/params/credit_note_void_credit_note_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/customer_balance_transaction_create_params.rb +25 -0
- data/stripe-19.3.0/lib/stripe/params/customer_balance_transaction_list_params.rb +52 -0
- data/stripe-19.3.0/lib/stripe/params/customer_balance_transaction_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/customer_balance_transaction_update_params.rb +19 -0
- data/stripe-19.3.0/lib/stripe/params/customer_cash_balance_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/customer_cash_balance_transaction_list_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/customer_cash_balance_transaction_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/customer_cash_balance_update_params.rb +24 -0
- data/stripe-19.3.0/lib/stripe/params/customer_create_funding_instructions_params.rb +46 -0
- data/stripe-19.3.0/lib/stripe/params/customer_create_params.rb +259 -0
- data/stripe-19.3.0/lib/stripe/params/customer_delete_discount_params.rb +6 -0
- data/stripe-19.3.0/lib/stripe/params/customer_delete_params.rb +6 -0
- data/stripe-19.3.0/lib/stripe/params/customer_fund_cash_balance_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/customer_funding_instructions_create_params.rb +46 -0
- data/stripe-19.3.0/lib/stripe/params/customer_list_params.rb +56 -0
- data/stripe-19.3.0/lib/stripe/params/customer_list_payment_methods_params.rb +35 -0
- data/stripe-19.3.0/lib/stripe/params/customer_payment_method_list_params.rb +35 -0
- data/stripe-19.3.0/lib/stripe/params/customer_payment_method_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/customer_payment_source_create_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/customer_payment_source_delete_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/customer_payment_source_list_params.rb +25 -0
- data/stripe-19.3.0/lib/stripe/params/customer_payment_source_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/customer_payment_source_update_params.rb +114 -0
- data/stripe-19.3.0/lib/stripe/params/customer_payment_source_verify_params.rb +16 -0
- data/stripe-19.3.0/lib/stripe/params/customer_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/customer_retrieve_payment_method_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/customer_search_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/customer_session_create_params.rb +188 -0
- data/stripe-19.3.0/lib/stripe/params/customer_tax_id_create_params.rb +19 -0
- data/stripe-19.3.0/lib/stripe/params/customer_tax_id_delete_params.rb +6 -0
- data/stripe-19.3.0/lib/stripe/params/customer_tax_id_list_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/customer_tax_id_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/customer_update_params.rb +243 -0
- data/stripe-19.3.0/lib/stripe/params/dispute_close_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/dispute_list_params.rb +56 -0
- data/stripe-19.3.0/lib/stripe/params/dispute_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/dispute_update_params.rb +324 -0
- data/stripe-19.3.0/lib/stripe/params/entitlements/active_entitlement_list_params.rb +33 -0
- data/stripe-19.3.0/lib/stripe/params/entitlements/active_entitlement_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/entitlements/feature_create_params.rb +24 -0
- data/stripe-19.3.0/lib/stripe/params/entitlements/feature_list_params.rb +37 -0
- data/stripe-19.3.0/lib/stripe/params/entitlements/feature_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/entitlements/feature_update_params.rb +24 -0
- data/stripe-19.3.0/lib/stripe/params/ephemeral_key_create_params.rb +31 -0
- data/stripe-19.3.0/lib/stripe/params/ephemeral_key_delete_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/event_list_params.rb +60 -0
- data/stripe-19.3.0/lib/stripe/params/event_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/exchange_rate_list_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/exchange_rate_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/file_create_params.rb +36 -0
- data/stripe-19.3.0/lib/stripe/params/file_link_create_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/file_link_list_params.rb +56 -0
- data/stripe-19.3.0/lib/stripe/params/file_link_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/file_link_update_params.rb +19 -0
- data/stripe-19.3.0/lib/stripe/params/file_list_params.rb +52 -0
- data/stripe-19.3.0/lib/stripe/params/file_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/financial_connections/account_disconnect_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/financial_connections/account_list_owners_params.rb +33 -0
- data/stripe-19.3.0/lib/stripe/params/financial_connections/account_list_params.rb +51 -0
- data/stripe-19.3.0/lib/stripe/params/financial_connections/account_owner_list_params.rb +33 -0
- data/stripe-19.3.0/lib/stripe/params/financial_connections/account_refresh_account_params.rb +18 -0
- data/stripe-19.3.0/lib/stripe/params/financial_connections/account_refresh_params.rb +18 -0
- data/stripe-19.3.0/lib/stripe/params/financial_connections/account_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/financial_connections/account_subscribe_params.rb +18 -0
- data/stripe-19.3.0/lib/stripe/params/financial_connections/account_unsubscribe_params.rb +18 -0
- data/stripe-19.3.0/lib/stripe/params/financial_connections/session_create_params.rb +68 -0
- data/stripe-19.3.0/lib/stripe/params/financial_connections/session_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/financial_connections/transaction_list_params.rb +67 -0
- data/stripe-19.3.0/lib/stripe/params/financial_connections/transaction_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/forwarding/request_create_params.rb +59 -0
- data/stripe-19.3.0/lib/stripe/params/forwarding/request_list_params.rb +44 -0
- data/stripe-19.3.0/lib/stripe/params/forwarding/request_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/identity/verification_report_list_params.rb +62 -0
- data/stripe-19.3.0/lib/stripe/params/identity/verification_report_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/identity/verification_session_cancel_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/identity/verification_session_create_params.rb +111 -0
- data/stripe-19.3.0/lib/stripe/params/identity/verification_session_list_params.rb +66 -0
- data/stripe-19.3.0/lib/stripe/params/identity/verification_session_redact_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/identity/verification_session_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/identity/verification_session_update_params.rb +69 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_add_lines_params.rb +261 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_attach_payment_params.rb +19 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_create_params.rb +664 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_create_preview_params.rb +1230 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_delete_params.rb +6 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_finalize_invoice_params.rb +16 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_item_create_params.rb +165 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_item_delete_params.rb +6 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_item_list_params.rb +64 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_item_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_item_update_params.rb +145 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_line_item_list_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_line_item_update_params.rb +232 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_list_params.rb +90 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_mark_uncollectible_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_pay_params.rb +41 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_payment_list_params.rb +75 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_payment_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_remove_lines_params.rb +30 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_rendering_template_archive_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_rendering_template_list_params.rb +25 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_rendering_template_retrieve_params.rb +16 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_rendering_template_unarchive_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_search_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_send_invoice_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_update_lines_params.rb +261 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_update_params.rb +628 -0
- data/stripe-19.3.0/lib/stripe/params/invoice_void_invoice_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/authorization_approve_params.rb +21 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/authorization_capture_params.rb +390 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/authorization_create_params.rb +452 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/authorization_decline_params.rb +18 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/authorization_expire_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +223 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/authorization_increment_params.rb +21 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/authorization_list_params.rb +62 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/authorization_respond_params.rb +18 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/authorization_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/authorization_reverse_params.rb +18 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/authorization_update_params.rb +18 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/card_create_params.rb +242 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/card_deliver_card_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/card_fail_card_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/card_list_params.rb +78 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/card_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/card_return_card_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/card_ship_card_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/card_submit_card_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/card_update_params.rb +189 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/cardholder_create_params.rb +246 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/cardholder_list_params.rb +66 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/cardholder_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/cardholder_update_params.rb +238 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/dispute_create_params.rb +297 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/dispute_list_params.rb +58 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/dispute_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/dispute_submit_params.rb +18 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/dispute_update_params.rb +275 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_activate_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_create_params.rb +75 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_deactivate_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_list_params.rb +52 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_reject_params.rb +29 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_update_params.rb +75 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/physical_bundle_list_params.rb +37 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/physical_bundle_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/token_list_params.rb +58 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/token_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/token_update_params.rb +18 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +441 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +441 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/transaction_list_params.rb +62 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/transaction_refund_params.rb +18 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/transaction_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/issuing/transaction_update_params.rb +18 -0
- data/stripe-19.3.0/lib/stripe/params/mandate_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/payment_attempt_record_list_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/payment_attempt_record_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +23 -0
- data/stripe-19.3.0/lib/stripe/params/payment_intent_cancel_params.rb +16 -0
- data/stripe-19.3.0/lib/stripe/params/payment_intent_capture_params.rb +291 -0
- data/stripe-19.3.0/lib/stripe/params/payment_intent_confirm_params.rb +2878 -0
- data/stripe-19.3.0/lib/stripe/params/payment_intent_create_params.rb +3009 -0
- data/stripe-19.3.0/lib/stripe/params/payment_intent_increment_authorization_params.rb +285 -0
- data/stripe-19.3.0/lib/stripe/params/payment_intent_list_params.rb +56 -0
- data/stripe-19.3.0/lib/stripe/params/payment_intent_retrieve_params.rb +16 -0
- data/stripe-19.3.0/lib/stripe/params/payment_intent_search_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/payment_intent_update_params.rb +2876 -0
- data/stripe-19.3.0/lib/stripe/params/payment_intent_verify_microdeposits_params.rb +19 -0
- data/stripe-19.3.0/lib/stripe/params/payment_link_create_params.rb +879 -0
- data/stripe-19.3.0/lib/stripe/params/payment_link_line_item_list_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/payment_link_list_line_items_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/payment_link_list_params.rb +25 -0
- data/stripe-19.3.0/lib/stripe/params/payment_link_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/payment_link_update_params.rb +667 -0
- data/stripe-19.3.0/lib/stripe/params/payment_method_attach_params.rb +19 -0
- data/stripe-19.3.0/lib/stripe/params/payment_method_configuration_create_params.rb +1282 -0
- data/stripe-19.3.0/lib/stripe/params/payment_method_configuration_list_params.rb +35 -0
- data/stripe-19.3.0/lib/stripe/params/payment_method_configuration_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/payment_method_configuration_update_params.rb +1282 -0
- data/stripe-19.3.0/lib/stripe/params/payment_method_create_params.rb +662 -0
- data/stripe-19.3.0/lib/stripe/params/payment_method_detach_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/payment_method_domain_create_params.rb +19 -0
- data/stripe-19.3.0/lib/stripe/params/payment_method_domain_list_params.rb +35 -0
- data/stripe-19.3.0/lib/stripe/params/payment_method_domain_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/payment_method_domain_update_params.rb +16 -0
- data/stripe-19.3.0/lib/stripe/params/payment_method_domain_validate_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/payment_method_list_params.rb +43 -0
- data/stripe-19.3.0/lib/stripe/params/payment_method_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/payment_method_update_params.rb +139 -0
- data/stripe-19.3.0/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +19 -0
- data/stripe-19.3.0/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +19 -0
- data/stripe-19.3.0/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +19 -0
- data/stripe-19.3.0/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +93 -0
- data/stripe-19.3.0/lib/stripe/params/payment_record_report_payment_attempt_params.rb +186 -0
- data/stripe-19.3.0/lib/stripe/params/payment_record_report_payment_params.rb +252 -0
- data/stripe-19.3.0/lib/stripe/params/payment_record_report_refund_params.rb +79 -0
- data/stripe-19.3.0/lib/stripe/params/payment_record_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/payout_cancel_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/payout_create_params.rb +51 -0
- data/stripe-19.3.0/lib/stripe/params/payout_list_params.rb +78 -0
- data/stripe-19.3.0/lib/stripe/params/payout_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/payout_reverse_params.rb +16 -0
- data/stripe-19.3.0/lib/stripe/params/payout_update_params.rb +16 -0
- data/stripe-19.3.0/lib/stripe/params/plan_create_params.rb +178 -0
- data/stripe-19.3.0/lib/stripe/params/plan_delete_params.rb +6 -0
- data/stripe-19.3.0/lib/stripe/params/plan_list_params.rb +56 -0
- data/stripe-19.3.0/lib/stripe/params/plan_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/plan_update_params.rb +35 -0
- data/stripe-19.3.0/lib/stripe/params/price_create_params.rb +318 -0
- data/stripe-19.3.0/lib/stripe/params/price_list_params.rb +87 -0
- data/stripe-19.3.0/lib/stripe/params/price_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/price_search_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/price_update_params.rb +133 -0
- data/stripe-19.3.0/lib/stripe/params/product_create_params.rb +276 -0
- data/stripe-19.3.0/lib/stripe/params/product_delete_params.rb +6 -0
- data/stripe-19.3.0/lib/stripe/params/product_feature_create_params.rb +16 -0
- data/stripe-19.3.0/lib/stripe/params/product_feature_delete_params.rb +6 -0
- data/stripe-19.3.0/lib/stripe/params/product_feature_list_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/product_feature_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/product_list_params.rb +68 -0
- data/stripe-19.3.0/lib/stripe/params/product_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/product_search_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/product_update_params.rb +96 -0
- data/stripe-19.3.0/lib/stripe/params/promotion_code_create_params.rb +95 -0
- data/stripe-19.3.0/lib/stripe/params/promotion_code_list_params.rb +68 -0
- data/stripe-19.3.0/lib/stripe/params/promotion_code_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/promotion_code_update_params.rb +38 -0
- data/stripe-19.3.0/lib/stripe/params/quote_accept_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/quote_cancel_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/quote_computed_upfront_line_items_list_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/quote_create_params.rb +327 -0
- data/stripe-19.3.0/lib/stripe/params/quote_finalize_quote_params.rb +16 -0
- data/stripe-19.3.0/lib/stripe/params/quote_line_item_list_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/quote_list_computed_upfront_line_items_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/quote_list_line_items_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/quote_list_params.rb +43 -0
- data/stripe-19.3.0/lib/stripe/params/quote_pdf_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/quote_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/quote_update_params.rb +289 -0
- data/stripe-19.3.0/lib/stripe/params/radar/early_fraud_warning_list_params.rb +58 -0
- data/stripe-19.3.0/lib/stripe/params/radar/early_fraud_warning_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/radar/payment_evaluation_create_params.rb +223 -0
- data/stripe-19.3.0/lib/stripe/params/radar/value_list_create_params.rb +27 -0
- data/stripe-19.3.0/lib/stripe/params/radar/value_list_delete_params.rb +8 -0
- data/stripe-19.3.0/lib/stripe/params/radar/value_list_item_create_params.rb +21 -0
- data/stripe-19.3.0/lib/stripe/params/radar/value_list_item_delete_params.rb +8 -0
- data/stripe-19.3.0/lib/stripe/params/radar/value_list_item_list_params.rb +58 -0
- data/stripe-19.3.0/lib/stripe/params/radar/value_list_item_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/radar/value_list_list_params.rb +58 -0
- data/stripe-19.3.0/lib/stripe/params/radar/value_list_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/radar/value_list_update_params.rb +24 -0
- data/stripe-19.3.0/lib/stripe/params/refund_cancel_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/refund_create_params.rb +59 -0
- data/stripe-19.3.0/lib/stripe/params/refund_expire_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/refund_list_params.rb +56 -0
- data/stripe-19.3.0/lib/stripe/params/refund_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/refund_update_params.rb +16 -0
- data/stripe-19.3.0/lib/stripe/params/reporting/report_run_create_params.rb +59 -0
- data/stripe-19.3.0/lib/stripe/params/reporting/report_run_list_params.rb +44 -0
- data/stripe-19.3.0/lib/stripe/params/reporting/report_run_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/reporting/report_type_list_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/reporting/report_type_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/review_approve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/review_list_params.rb +42 -0
- data/stripe-19.3.0/lib/stripe/params/review_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/setup_attempt_list_params.rb +55 -0
- data/stripe-19.3.0/lib/stripe/params/setup_intent_cancel_params.rb +16 -0
- data/stripe-19.3.0/lib/stripe/params/setup_intent_confirm_params.rb +1252 -0
- data/stripe-19.3.0/lib/stripe/params/setup_intent_create_params.rb +1342 -0
- data/stripe-19.3.0/lib/stripe/params/setup_intent_list_params.rb +66 -0
- data/stripe-19.3.0/lib/stripe/params/setup_intent_retrieve_params.rb +16 -0
- data/stripe-19.3.0/lib/stripe/params/setup_intent_update_params.rb +1237 -0
- data/stripe-19.3.0/lib/stripe/params/setup_intent_verify_microdeposits_params.rb +19 -0
- data/stripe-19.3.0/lib/stripe/params/shipping_rate_create_params.rb +103 -0
- data/stripe-19.3.0/lib/stripe/params/shipping_rate_list_params.rb +56 -0
- data/stripe-19.3.0/lib/stripe/params/shipping_rate_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/shipping_rate_update_params.rb +44 -0
- data/stripe-19.3.0/lib/stripe/params/sigma/scheduled_query_run_list_params.rb +24 -0
- data/stripe-19.3.0/lib/stripe/params/sigma/scheduled_query_run_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/source_create_params.rb +317 -0
- data/stripe-19.3.0/lib/stripe/params/source_detach_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/source_retrieve_params.rb +16 -0
- data/stripe-19.3.0/lib/stripe/params/source_transaction_list_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/source_update_params.rb +259 -0
- data/stripe-19.3.0/lib/stripe/params/source_verify_params.rb +16 -0
- data/stripe-19.3.0/lib/stripe/params/subscription_cancel_params.rb +33 -0
- data/stripe-19.3.0/lib/stripe/params/subscription_create_params.rb +917 -0
- data/stripe-19.3.0/lib/stripe/params/subscription_delete_discount_params.rb +6 -0
- data/stripe-19.3.0/lib/stripe/params/subscription_item_create_params.rb +138 -0
- data/stripe-19.3.0/lib/stripe/params/subscription_item_delete_params.rb +27 -0
- data/stripe-19.3.0/lib/stripe/params/subscription_item_list_params.rb +31 -0
- data/stripe-19.3.0/lib/stripe/params/subscription_item_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/subscription_item_update_params.rb +138 -0
- data/stripe-19.3.0/lib/stripe/params/subscription_list_params.rb +133 -0
- data/stripe-19.3.0/lib/stripe/params/subscription_migrate_params.rb +35 -0
- data/stripe-19.3.0/lib/stripe/params/subscription_resume_params.rb +27 -0
- data/stripe-19.3.0/lib/stripe/params/subscription_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/subscription_schedule_cancel_params.rb +19 -0
- data/stripe-19.3.0/lib/stripe/params/subscription_schedule_create_params.rb +668 -0
- data/stripe-19.3.0/lib/stripe/params/subscription_schedule_list_params.rb +126 -0
- data/stripe-19.3.0/lib/stripe/params/subscription_schedule_release_params.rb +16 -0
- data/stripe-19.3.0/lib/stripe/params/subscription_schedule_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/subscription_schedule_update_params.rb +636 -0
- data/stripe-19.3.0/lib/stripe/params/subscription_search_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/subscription_update_params.rb +896 -0
- data/stripe-19.3.0/lib/stripe/params/tax/association_find_params.rb +18 -0
- data/stripe-19.3.0/lib/stripe/params/tax/calculation_create_params.rb +206 -0
- data/stripe-19.3.0/lib/stripe/params/tax/calculation_line_item_list_params.rb +24 -0
- data/stripe-19.3.0/lib/stripe/params/tax/calculation_list_line_items_params.rb +24 -0
- data/stripe-19.3.0/lib/stripe/params/tax/calculation_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/tax/registration_create_params.rb +2044 -0
- data/stripe-19.3.0/lib/stripe/params/tax/registration_list_params.rb +27 -0
- data/stripe-19.3.0/lib/stripe/params/tax/registration_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/tax/registration_update_params.rb +21 -0
- data/stripe-19.3.0/lib/stripe/params/tax/settings_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/tax/settings_update_params.rb +71 -0
- data/stripe-19.3.0/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +27 -0
- data/stripe-19.3.0/lib/stripe/params/tax/transaction_create_reversal_params.rb +87 -0
- data/stripe-19.3.0/lib/stripe/params/tax/transaction_line_item_list_params.rb +24 -0
- data/stripe-19.3.0/lib/stripe/params/tax/transaction_list_line_items_params.rb +24 -0
- data/stripe-19.3.0/lib/stripe/params/tax/transaction_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/tax_code_list_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/tax_code_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/tax_id_create_params.rb +39 -0
- data/stripe-19.3.0/lib/stripe/params/tax_id_delete_params.rb +6 -0
- data/stripe-19.3.0/lib/stripe/params/tax_id_list_params.rb +42 -0
- data/stripe-19.3.0/lib/stripe/params/tax_id_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/tax_rate_create_params.rb +55 -0
- data/stripe-19.3.0/lib/stripe/params/tax_rate_list_params.rb +56 -0
- data/stripe-19.3.0/lib/stripe/params/tax_rate_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/tax_rate_update_params.rb +47 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/configuration_create_params.rb +671 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/configuration_delete_params.rb +8 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/configuration_list_params.rb +33 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/configuration_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/configuration_update_params.rb +671 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/connection_token_create_params.rb +18 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/location_create_params.rb +153 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/location_delete_params.rb +8 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/location_list_params.rb +24 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/location_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/location_update_params.rb +153 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/onboarding_link_create_params.rb +43 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/reader_cancel_action_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/reader_collect_inputs_params.rb +96 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/reader_collect_payment_method_params.rb +51 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/reader_confirm_payment_intent_params.rb +29 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/reader_create_params.rb +27 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/reader_delete_params.rb +8 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/reader_list_params.rb +45 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/reader_present_payment_method_params.rb +72 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/reader_process_payment_intent_params.rb +55 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/reader_process_setup_intent_params.rb +32 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/reader_refund_payment_params.rb +53 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/reader_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/reader_set_reader_display_params.rb +52 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/reader_succeed_input_collection_params.rb +18 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/reader_timeout_input_collection_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/terminal/reader_update_params.rb +21 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +717 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +24 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +395 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +457 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_expire_params.rb +17 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +228 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +23 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_respond_params.rb +20 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +20 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/card_deliver_card_params.rb +17 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/card_fail_card_params.rb +17 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/card_return_card_params.rb +17 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/card_ship_card_params.rb +17 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/card_submit_card_params.rb +17 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/personalization_design_activate_params.rb +17 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rb +17 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/personalization_design_reject_params.rb +31 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +446 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +446 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +20 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/refund_expire_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb +74 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rb +20 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rb +17 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/test_clock_advance_params.rb +18 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/test_clock_create_params.rb +24 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/test_clock_delete_params.rb +8 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/test_clock_list_params.rb +24 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/test_clock_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb +28 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb +17 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rb +17 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rb +17 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_payment_post_params.rb +17 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rb +28 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_payment_update_params.rb +57 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rb +17 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rb +17 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rb +28 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rb +57 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +68 -0
- data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +68 -0
- data/stripe-19.3.0/lib/stripe/params/token_create_params.rb +1210 -0
- data/stripe-19.3.0/lib/stripe/params/token_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/topup_cancel_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/topup_create_params.rb +67 -0
- data/stripe-19.3.0/lib/stripe/params/topup_list_params.rb +74 -0
- data/stripe-19.3.0/lib/stripe/params/topup_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/topup_update_params.rb +19 -0
- data/stripe-19.3.0/lib/stripe/params/transfer_create_params.rb +47 -0
- data/stripe-19.3.0/lib/stripe/params/transfer_list_params.rb +56 -0
- data/stripe-19.3.0/lib/stripe/params/transfer_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/transfer_reversal_create_params.rb +31 -0
- data/stripe-19.3.0/lib/stripe/params/transfer_reversal_list_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/transfer_reversal_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/transfer_reversal_update_params.rb +16 -0
- data/stripe-19.3.0/lib/stripe/params/transfer_update_params.rb +19 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/credit_reversal_create_params.rb +21 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/credit_reversal_list_params.rb +41 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/credit_reversal_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/debit_reversal_create_params.rb +21 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/debit_reversal_list_params.rb +45 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/debit_reversal_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_close_params.rb +32 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_create_params.rb +201 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_features_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_features_update_params.rb +163 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_list_params.rb +54 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_retrieve_features_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_update_features_params.rb +163 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_update_params.rb +216 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_cancel_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_create_params.rb +45 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_fail_params.rb +26 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_list_params.rb +37 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_succeed_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_cancel_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_create_params.rb +190 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_fail_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_list_params.rb +62 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_post_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rb +26 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_update_params.rb +55 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_cancel_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_create_params.rb +81 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_fail_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_list_params.rb +37 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_post_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rb +26 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_update_params.rb +55 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/received_credit_create_params.rb +66 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/received_credit_list_params.rb +49 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/received_credit_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/received_debit_create_params.rb +66 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/received_debit_list_params.rb +37 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/received_debit_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/transaction_entry_list_params.rb +84 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/transaction_entry_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/transaction_list_params.rb +92 -0
- data/stripe-19.3.0/lib/stripe/params/treasury/transaction_retrieve_params.rb +15 -0
- data/stripe-19.3.0/lib/stripe/params/v2/billing/meter_event_adjustment_create_params.rb +31 -0
- data/stripe-19.3.0/lib/stripe/params/v2/billing/meter_event_create_params.rb +33 -0
- data/stripe-19.3.0/lib/stripe/params/v2/billing/meter_event_session_create_params.rb +10 -0
- data/stripe-19.3.0/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +41 -0
- data/stripe-19.3.0/lib/stripe/params/v2/commerce/product_catalog/import_create_params.rb +25 -0
- data/stripe-19.3.0/lib/stripe/params/v2/commerce/product_catalog/import_list_params.rb +54 -0
- data/stripe-19.3.0/lib/stripe/params/v2/commerce/product_catalog/import_retrieve_params.rb +12 -0
- data/stripe-19.3.0/lib/stripe/params/v2/core/account_close_params.rb +17 -0
- data/stripe-19.3.0/lib/stripe/params/v2/core/account_create_params.rb +2189 -0
- data/stripe-19.3.0/lib/stripe/params/v2/core/account_link_create_params.rb +101 -0
- data/stripe-19.3.0/lib/stripe/params/v2/core/account_list_params.rb +23 -0
- data/stripe-19.3.0/lib/stripe/params/v2/core/account_retrieve_params.rb +17 -0
- data/stripe-19.3.0/lib/stripe/params/v2/core/account_token_create_params.rb +1070 -0
- data/stripe-19.3.0/lib/stripe/params/v2/core/account_token_retrieve_params.rb +10 -0
- data/stripe-19.3.0/lib/stripe/params/v2/core/account_update_params.rb +2242 -0
- data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_create_params.rb +507 -0
- data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_delete_params.rb +12 -0
- data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_list_params.rb +19 -0
- data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +12 -0
- data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_token_create_params.rb +497 -0
- data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_token_retrieve_params.rb +12 -0
- data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_update_params.rb +507 -0
- data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_create_params.rb +106 -0
- data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_delete_params.rb +10 -0
- data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_disable_params.rb +10 -0
- data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_enable_params.rb +10 -0
- data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_list_params.rb +20 -0
- data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_ping_params.rb +10 -0
- data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_retrieve_params.rb +17 -0
- data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_update_params.rb +47 -0
- data/stripe-19.3.0/lib/stripe/params/v2/core/event_list_params.rb +45 -0
- data/stripe-19.3.0/lib/stripe/params/v2/core/event_retrieve_params.rb +10 -0
- data/stripe-19.3.0/lib/stripe/params/webhook_endpoint_create_params.rb +39 -0
- data/stripe-19.3.0/lib/stripe/params/webhook_endpoint_delete_params.rb +6 -0
- data/stripe-19.3.0/lib/stripe/params/webhook_endpoint_list_params.rb +22 -0
- data/stripe-19.3.0/lib/stripe/params/webhook_endpoint_retrieve_params.rb +13 -0
- data/stripe-19.3.0/lib/stripe/params/webhook_endpoint_update_params.rb +35 -0
- data/stripe-19.3.0/lib/stripe/params.rb +1345 -0
- data/stripe-19.3.0/lib/stripe/railtie.rb +8 -0
- data/stripe-19.3.0/lib/stripe/request_options.rb +138 -0
- data/stripe-19.3.0/lib/stripe/request_params.rb +140 -0
- data/stripe-19.3.0/lib/stripe/resources/account.rb +1295 -0
- data/stripe-19.3.0/lib/stripe/resources/account_link.rb +39 -0
- data/stripe-19.3.0/lib/stripe/resources/account_session.rb +737 -0
- data/stripe-19.3.0/lib/stripe/resources/apple_pay_domain.rb +76 -0
- data/stripe-19.3.0/lib/stripe/resources/application.rb +28 -0
- data/stripe-19.3.0/lib/stripe/resources/application_fee.rb +76 -0
- data/stripe-19.3.0/lib/stripe/resources/application_fee_refund.rb +63 -0
- data/stripe-19.3.0/lib/stripe/resources/apps/secret.rb +96 -0
- data/stripe-19.3.0/lib/stripe/resources/balance.rb +340 -0
- data/stripe-19.3.0/lib/stripe/resources/balance_settings.rb +132 -0
- data/stripe-19.3.0/lib/stripe/resources/balance_transaction.rb +90 -0
- data/stripe-19.3.0/lib/stripe/resources/bank_account.rb +214 -0
- data/stripe-19.3.0/lib/stripe/resources/billing/alert.rb +142 -0
- data/stripe-19.3.0/lib/stripe/resources/billing/alert_triggered.rb +34 -0
- data/stripe-19.3.0/lib/stripe/resources/billing/credit_balance_summary.rb +104 -0
- data/stripe-19.3.0/lib/stripe/resources/billing/credit_balance_transaction.rb +177 -0
- data/stripe-19.3.0/lib/stripe/resources/billing/credit_grant.rb +200 -0
- data/stripe-19.3.0/lib/stripe/resources/billing/meter.rb +178 -0
- data/stripe-19.3.0/lib/stripe/resources/billing/meter_event.rb +49 -0
- data/stripe-19.3.0/lib/stripe/resources/billing/meter_event_adjustment.rb +59 -0
- data/stripe-19.3.0/lib/stripe/resources/billing/meter_event_summary.rb +40 -0
- data/stripe-19.3.0/lib/stripe/resources/billing_portal/configuration.rb +306 -0
- data/stripe-19.3.0/lib/stripe/resources/billing_portal/session.rb +240 -0
- data/stripe-19.3.0/lib/stripe/resources/capability.rb +179 -0
- data/stripe-19.3.0/lib/stripe/resources/card.rb +162 -0
- data/stripe-19.3.0/lib/stripe/resources/cash_balance.rb +61 -0
- data/stripe-19.3.0/lib/stripe/resources/charge.rb +2418 -0
- data/stripe-19.3.0/lib/stripe/resources/checkout/session.rb +2541 -0
- data/stripe-19.3.0/lib/stripe/resources/climate/order.rb +177 -0
- data/stripe-19.3.0/lib/stripe/resources/climate/product.rb +76 -0
- data/stripe-19.3.0/lib/stripe/resources/climate/supplier.rb +69 -0
- data/stripe-19.3.0/lib/stripe/resources/confirmation_token.rb +1808 -0
- data/stripe-19.3.0/lib/stripe/resources/connect_collection_transfer.rb +32 -0
- data/stripe-19.3.0/lib/stripe/resources/country_spec.rb +92 -0
- data/stripe-19.3.0/lib/stripe/resources/coupon.rb +131 -0
- data/stripe-19.3.0/lib/stripe/resources/credit_note.rb +317 -0
- data/stripe-19.3.0/lib/stripe/resources/credit_note_line_item.rb +129 -0
- data/stripe-19.3.0/lib/stripe/resources/customer.rb +450 -0
- data/stripe-19.3.0/lib/stripe/resources/customer_balance_transaction.rb +78 -0
- data/stripe-19.3.0/lib/stripe/resources/customer_cash_balance_transaction.rb +234 -0
- data/stripe-19.3.0/lib/stripe/resources/customer_session.rb +228 -0
- data/stripe-19.3.0/lib/stripe/resources/discount.rb +66 -0
- data/stripe-19.3.0/lib/stripe/resources/dispute.rb +496 -0
- data/stripe-19.3.0/lib/stripe/resources/entitlements/active_entitlement.rb +45 -0
- data/stripe-19.3.0/lib/stripe/resources/entitlements/active_entitlement_summary.rb +31 -0
- data/stripe-19.3.0/lib/stripe/resources/entitlements/feature.rb +72 -0
- data/stripe-19.3.0/lib/stripe/resources/ephemeral_key.rb +64 -0
- data/stripe-19.3.0/lib/stripe/resources/event.rb +96 -0
- data/stripe-19.3.0/lib/stripe/resources/exchange_rate.rb +69 -0
- data/stripe-19.3.0/lib/stripe/resources/file.rb +89 -0
- data/stripe-19.3.0/lib/stripe/resources/file_link.rb +65 -0
- data/stripe-19.3.0/lib/stripe/resources/financial_connections/account.rb +375 -0
- data/stripe-19.3.0/lib/stripe/resources/financial_connections/account_owner.rb +39 -0
- data/stripe-19.3.0/lib/stripe/resources/financial_connections/account_ownership.rb +31 -0
- data/stripe-19.3.0/lib/stripe/resources/financial_connections/session.rb +88 -0
- data/stripe-19.3.0/lib/stripe/resources/financial_connections/transaction.rb +73 -0
- data/stripe-19.3.0/lib/stripe/resources/forwarding/request.rb +163 -0
- data/stripe-19.3.0/lib/stripe/resources/funding_instructions.rb +525 -0
- data/stripe-19.3.0/lib/stripe/resources/identity/verification_report.rb +408 -0
- data/stripe-19.3.0/lib/stripe/resources/identity/verification_session.rb +428 -0
- data/stripe-19.3.0/lib/stripe/resources/invoice.rb +1361 -0
- data/stripe-19.3.0/lib/stripe/resources/invoice_item.rb +271 -0
- data/stripe-19.3.0/lib/stripe/resources/invoice_line_item.rb +321 -0
- data/stripe-19.3.0/lib/stripe/resources/invoice_payment.rb +92 -0
- data/stripe-19.3.0/lib/stripe/resources/invoice_rendering_template.rb +90 -0
- data/stripe-19.3.0/lib/stripe/resources/issuing/authorization.rb +762 -0
- data/stripe-19.3.0/lib/stripe/resources/issuing/card.rb +463 -0
- data/stripe-19.3.0/lib/stripe/resources/issuing/cardholder.rb +296 -0
- data/stripe-19.3.0/lib/stripe/resources/issuing/dispute.rb +324 -0
- data/stripe-19.3.0/lib/stripe/resources/issuing/personalization_design.rb +206 -0
- data/stripe-19.3.0/lib/stripe/resources/issuing/physical_bundle.rb +65 -0
- data/stripe-19.3.0/lib/stripe/resources/issuing/token.rb +195 -0
- data/stripe-19.3.0/lib/stripe/resources/issuing/transaction.rb +571 -0
- data/stripe-19.3.0/lib/stripe/resources/line_item.rb +108 -0
- data/stripe-19.3.0/lib/stripe/resources/login_link.rb +35 -0
- data/stripe-19.3.0/lib/stripe/resources/mandate.rb +468 -0
- data/stripe-19.3.0/lib/stripe/resources/payment_attempt_record.rb +2060 -0
- data/stripe-19.3.0/lib/stripe/resources/payment_intent.rb +3456 -0
- data/stripe-19.3.0/lib/stripe/resources/payment_intent_amount_details_line_item.rb +138 -0
- data/stripe-19.3.0/lib/stripe/resources/payment_link.rb +849 -0
- data/stripe-19.3.0/lib/stripe/resources/payment_method.rb +1754 -0
- data/stripe-19.3.0/lib/stripe/resources/payment_method_configuration.rb +2056 -0
- data/stripe-19.3.0/lib/stripe/resources/payment_method_domain.rb +280 -0
- data/stripe-19.3.0/lib/stripe/resources/payment_record.rb +2190 -0
- data/stripe-19.3.0/lib/stripe/resources/payout.rb +168 -0
- data/stripe-19.3.0/lib/stripe/resources/person.rb +506 -0
- data/stripe-19.3.0/lib/stripe/resources/plan.rb +170 -0
- data/stripe-19.3.0/lib/stripe/resources/price.rb +280 -0
- data/stripe-19.3.0/lib/stripe/resources/product.rb +159 -0
- data/stripe-19.3.0/lib/stripe/resources/product_feature.rb +33 -0
- data/stripe-19.3.0/lib/stripe/resources/promotion_code.rb +122 -0
- data/stripe-19.3.0/lib/stripe/resources/quote.rb +675 -0
- data/stripe-19.3.0/lib/stripe/resources/radar/early_fraud_warning.rb +54 -0
- data/stripe-19.3.0/lib/stripe/resources/radar/payment_evaluation.rb +497 -0
- data/stripe-19.3.0/lib/stripe/resources/radar/value_list.rb +102 -0
- data/stripe-19.3.0/lib/stripe/resources/radar/value_list_item.rb +85 -0
- data/stripe-19.3.0/lib/stripe/resources/refund.rb +781 -0
- data/stripe-19.3.0/lib/stripe/resources/reporting/report_run.rb +104 -0
- data/stripe-19.3.0/lib/stripe/resources/reporting/report_type.rb +60 -0
- data/stripe-19.3.0/lib/stripe/resources/reserve/hold.rb +84 -0
- data/stripe-19.3.0/lib/stripe/resources/reserve/plan.rb +78 -0
- data/stripe-19.3.0/lib/stripe/resources/reserve/release.rb +65 -0
- data/stripe-19.3.0/lib/stripe/resources/reserve_transaction.rb +30 -0
- data/stripe-19.3.0/lib/stripe/resources/reversal.rb +74 -0
- data/stripe-19.3.0/lib/stripe/resources/review.rb +118 -0
- data/stripe-19.3.0/lib/stripe/resources/setup_attempt.rb +683 -0
- data/stripe-19.3.0/lib/stripe/resources/setup_intent.rb +942 -0
- data/stripe-19.3.0/lib/stripe/resources/shipping_rate.rb +144 -0
- data/stripe-19.3.0/lib/stripe/resources/sigma/scheduled_query_run.rb +76 -0
- data/stripe-19.3.0/lib/stripe/resources/source.rb +972 -0
- data/stripe-19.3.0/lib/stripe/resources/source_mandate_notification.rb +98 -0
- data/stripe-19.3.0/lib/stripe/resources/source_transaction.rb +154 -0
- data/stripe-19.3.0/lib/stripe/resources/subscription.rb +975 -0
- data/stripe-19.3.0/lib/stripe/resources/subscription_item.rb +131 -0
- data/stripe-19.3.0/lib/stripe/resources/subscription_schedule.rb +618 -0
- data/stripe-19.3.0/lib/stripe/resources/tax/association.rb +86 -0
- data/stripe-19.3.0/lib/stripe/resources/tax/calculation.rb +321 -0
- data/stripe-19.3.0/lib/stripe/resources/tax/calculation_line_item.rb +103 -0
- data/stripe-19.3.0/lib/stripe/resources/tax/registration.rb +2275 -0
- data/stripe-19.3.0/lib/stripe/resources/tax/settings.rb +131 -0
- data/stripe-19.3.0/lib/stripe/resources/tax/transaction.rb +287 -0
- data/stripe-19.3.0/lib/stripe/resources/tax/transaction_line_item.rb +60 -0
- data/stripe-19.3.0/lib/stripe/resources/tax_code.rb +36 -0
- data/stripe-19.3.0/lib/stripe/resources/tax_deducted_at_source.rb +30 -0
- data/stripe-19.3.0/lib/stripe/resources/tax_id.rb +119 -0
- data/stripe-19.3.0/lib/stripe/resources/tax_rate.rb +99 -0
- data/stripe-19.3.0/lib/stripe/resources/terminal/configuration.rb +799 -0
- data/stripe-19.3.0/lib/stripe/resources/terminal/connection_token.rb +43 -0
- data/stripe-19.3.0/lib/stripe/resources/terminal/location.rb +183 -0
- data/stripe-19.3.0/lib/stripe/resources/terminal/onboarding_link.rb +71 -0
- data/stripe-19.3.0/lib/stripe/resources/terminal/reader.rb +925 -0
- data/stripe-19.3.0/lib/stripe/resources/test_helpers/test_clock.rb +133 -0
- data/stripe-19.3.0/lib/stripe/resources/token.rb +76 -0
- data/stripe-19.3.0/lib/stripe/resources/topup.rb +101 -0
- data/stripe-19.3.0/lib/stripe/resources/transfer.rb +93 -0
- data/stripe-19.3.0/lib/stripe/resources/treasury/credit_reversal.rb +86 -0
- data/stripe-19.3.0/lib/stripe/resources/treasury/debit_reversal.rb +101 -0
- data/stripe-19.3.0/lib/stripe/resources/treasury/financial_account.rb +253 -0
- data/stripe-19.3.0/lib/stripe/resources/treasury/financial_account_features.rb +396 -0
- data/stripe-19.3.0/lib/stripe/resources/treasury/inbound_transfer.rb +308 -0
- data/stripe-19.3.0/lib/stripe/resources/treasury/outbound_payment.rb +408 -0
- data/stripe-19.3.0/lib/stripe/resources/treasury/outbound_transfer.rb +388 -0
- data/stripe-19.3.0/lib/stripe/resources/treasury/received_credit.rb +261 -0
- data/stripe-19.3.0/lib/stripe/resources/treasury/received_debit.rb +226 -0
- data/stripe-19.3.0/lib/stripe/resources/treasury/transaction.rb +143 -0
- data/stripe-19.3.0/lib/stripe/resources/treasury/transaction_entry.rb +124 -0
- data/stripe-19.3.0/lib/stripe/resources/v2/amount.rb +9 -0
- data/stripe-19.3.0/lib/stripe/resources/v2/billing/meter_event.rb +43 -0
- data/stripe-19.3.0/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +53 -0
- data/stripe-19.3.0/lib/stripe/resources/v2/billing/meter_event_session.rb +38 -0
- data/stripe-19.3.0/lib/stripe/resources/v2/commerce/product_catalog_import.rb +276 -0
- data/stripe-19.3.0/lib/stripe/resources/v2/core/account.rb +3645 -0
- data/stripe-19.3.0/lib/stripe/resources/v2/core/account_link.rb +123 -0
- data/stripe-19.3.0/lib/stripe/resources/v2/core/account_person.rb +487 -0
- data/stripe-19.3.0/lib/stripe/resources/v2/core/account_person_token.rb +37 -0
- data/stripe-19.3.0/lib/stripe/resources/v2/core/account_token.rb +37 -0
- data/stripe-19.3.0/lib/stripe/resources/v2/core/event.rb +70 -0
- data/stripe-19.3.0/lib/stripe/resources/v2/core/event_destination.rb +147 -0
- data/stripe-19.3.0/lib/stripe/resources/v2/core/event_notification.rb +63 -0
- data/stripe-19.3.0/lib/stripe/resources/v2/deleted_object.rb +21 -0
- data/stripe-19.3.0/lib/stripe/resources/webhook_endpoint.rb +103 -0
- data/stripe-19.3.0/lib/stripe/resources.rb +503 -0
- data/stripe-19.3.0/lib/stripe/search_result_object.rb +89 -0
- data/stripe-19.3.0/lib/stripe/services/account_capability_service.rb +39 -0
- data/stripe-19.3.0/lib/stripe/services/account_external_account_service.rb +68 -0
- data/stripe-19.3.0/lib/stripe/services/account_link_service.rb +17 -0
- data/stripe-19.3.0/lib/stripe/services/account_login_link_service.rb +19 -0
- data/stripe-19.3.0/lib/stripe/services/account_person_service.rb +61 -0
- data/stripe-19.3.0/lib/stripe/services/account_service.rb +100 -0
- data/stripe-19.3.0/lib/stripe/services/account_session_service.rb +17 -0
- data/stripe-19.3.0/lib/stripe/services/apple_pay_domain_service.rb +50 -0
- data/stripe-19.3.0/lib/stripe/services/application_fee_refund_service.rb +60 -0
- data/stripe-19.3.0/lib/stripe/services/application_fee_service.rb +35 -0
- data/stripe-19.3.0/lib/stripe/services/apps/secret_service.rb +52 -0
- data/stripe-19.3.0/lib/stripe/services/apps_service.rb +13 -0
- data/stripe-19.3.0/lib/stripe/services/balance_service.rb +12 -0
- data/stripe-19.3.0/lib/stripe/services/balance_settings_service.rb +30 -0
- data/stripe-19.3.0/lib/stripe/services/balance_transaction_service.rb +32 -0
- data/stripe-19.3.0/lib/stripe/services/billing/alert_service.rb +74 -0
- data/stripe-19.3.0/lib/stripe/services/billing/credit_balance_summary_service.rb +19 -0
- data/stripe-19.3.0/lib/stripe/services/billing/credit_balance_transaction_service.rb +30 -0
- data/stripe-19.3.0/lib/stripe/services/billing/credit_grant_service.rb +74 -0
- data/stripe-19.3.0/lib/stripe/services/billing/meter_event_adjustment_service.rb +19 -0
- data/stripe-19.3.0/lib/stripe/services/billing/meter_event_service.rb +19 -0
- data/stripe-19.3.0/lib/stripe/services/billing/meter_event_summary_service.rb +19 -0
- data/stripe-19.3.0/lib/stripe/services/billing/meter_service.rb +81 -0
- data/stripe-19.3.0/lib/stripe/services/billing_portal/configuration_service.rb +52 -0
- data/stripe-19.3.0/lib/stripe/services/billing_portal/session_service.rb +19 -0
- data/stripe-19.3.0/lib/stripe/services/billing_portal_service.rb +14 -0
- data/stripe-19.3.0/lib/stripe/services/billing_service.rb +20 -0
- data/stripe-19.3.0/lib/stripe/services/charge_service.rb +69 -0
- data/stripe-19.3.0/lib/stripe/services/checkout/session_line_item_service.rb +19 -0
- data/stripe-19.3.0/lib/stripe/services/checkout/session_service.rb +82 -0
- data/stripe-19.3.0/lib/stripe/services/checkout_service.rb +13 -0
- data/stripe-19.3.0/lib/stripe/services/climate/order_service.rb +70 -0
- data/stripe-19.3.0/lib/stripe/services/climate/product_service.rb +30 -0
- data/stripe-19.3.0/lib/stripe/services/climate/supplier_service.rb +30 -0
- data/stripe-19.3.0/lib/stripe/services/climate_service.rb +15 -0
- data/stripe-19.3.0/lib/stripe/services/confirmation_token_service.rb +17 -0
- data/stripe-19.3.0/lib/stripe/services/country_spec_service.rb +28 -0
- data/stripe-19.3.0/lib/stripe/services/coupon_service.rb +51 -0
- data/stripe-19.3.0/lib/stripe/services/credit_note_line_item_service.rb +17 -0
- data/stripe-19.3.0/lib/stripe/services/credit_note_preview_lines_service.rb +21 -0
- data/stripe-19.3.0/lib/stripe/services/credit_note_service.rb +98 -0
- data/stripe-19.3.0/lib/stripe/services/customer_balance_transaction_service.rb +50 -0
- data/stripe-19.3.0/lib/stripe/services/customer_cash_balance_service.rb +28 -0
- data/stripe-19.3.0/lib/stripe/services/customer_cash_balance_transaction_service.rb +28 -0
- data/stripe-19.3.0/lib/stripe/services/customer_funding_instructions_service.rb +19 -0
- data/stripe-19.3.0/lib/stripe/services/customer_payment_method_service.rb +28 -0
- data/stripe-19.3.0/lib/stripe/services/customer_payment_source_service.rb +76 -0
- data/stripe-19.3.0/lib/stripe/services/customer_service.rb +89 -0
- data/stripe-19.3.0/lib/stripe/services/customer_session_service.rb +17 -0
- data/stripe-19.3.0/lib/stripe/services/customer_tax_id_service.rb +50 -0
- data/stripe-19.3.0/lib/stripe/services/dispute_service.rb +48 -0
- data/stripe-19.3.0/lib/stripe/services/entitlements/active_entitlement_service.rb +30 -0
- data/stripe-19.3.0/lib/stripe/services/entitlements/feature_service.rb +52 -0
- data/stripe-19.3.0/lib/stripe/services/entitlements_service.rb +14 -0
- data/stripe-19.3.0/lib/stripe/services/ephemeral_key_service.rb +28 -0
- data/stripe-19.3.0/lib/stripe/services/event_service.rb +22 -0
- data/stripe-19.3.0/lib/stripe/services/exchange_rate_service.rb +32 -0
- data/stripe-19.3.0/lib/stripe/services/file_link_service.rb +38 -0
- data/stripe-19.3.0/lib/stripe/services/file_service.rb +35 -0
- data/stripe-19.3.0/lib/stripe/services/financial_connections/account_owner_service.rb +19 -0
- data/stripe-19.3.0/lib/stripe/services/financial_connections/account_service.rb +81 -0
- data/stripe-19.3.0/lib/stripe/services/financial_connections/session_service.rb +30 -0
- data/stripe-19.3.0/lib/stripe/services/financial_connections/transaction_service.rb +30 -0
- data/stripe-19.3.0/lib/stripe/services/financial_connections_service.rb +15 -0
- data/stripe-19.3.0/lib/stripe/services/forwarding/request_service.rb +41 -0
- data/stripe-19.3.0/lib/stripe/services/forwarding_service.rb +13 -0
- data/stripe-19.3.0/lib/stripe/services/identity/verification_report_service.rb +30 -0
- data/stripe-19.3.0/lib/stripe/services/identity/verification_session_service.rb +106 -0
- data/stripe-19.3.0/lib/stripe/services/identity_service.rb +14 -0
- data/stripe-19.3.0/lib/stripe/services/invoice_item_service.rb +65 -0
- data/stripe-19.3.0/lib/stripe/services/invoice_line_item_service.rb +33 -0
- data/stripe-19.3.0/lib/stripe/services/invoice_payment_service.rb +28 -0
- data/stripe-19.3.0/lib/stripe/services/invoice_rendering_template_service.rb +50 -0
- data/stripe-19.3.0/lib/stripe/services/invoice_service.rb +212 -0
- data/stripe-19.3.0/lib/stripe/services/issuing/authorization_service.rb +65 -0
- data/stripe-19.3.0/lib/stripe/services/issuing/card_service.rb +52 -0
- data/stripe-19.3.0/lib/stripe/services/issuing/cardholder_service.rb +52 -0
- data/stripe-19.3.0/lib/stripe/services/issuing/dispute_service.rb +63 -0
- data/stripe-19.3.0/lib/stripe/services/issuing/personalization_design_service.rb +52 -0
- data/stripe-19.3.0/lib/stripe/services/issuing/physical_bundle_service.rb +30 -0
- data/stripe-19.3.0/lib/stripe/services/issuing/token_service.rb +41 -0
- data/stripe-19.3.0/lib/stripe/services/issuing/transaction_service.rb +41 -0
- data/stripe-19.3.0/lib/stripe/services/issuing_service.rb +20 -0
- data/stripe-19.3.0/lib/stripe/services/mandate_service.rb +17 -0
- data/stripe-19.3.0/lib/stripe/services/oauth_service.rb +63 -0
- data/stripe-19.3.0/lib/stripe/services/payment_attempt_record_service.rb +28 -0
- data/stripe-19.3.0/lib/stripe/services/payment_intent_amount_details_line_item_service.rb +17 -0
- data/stripe-19.3.0/lib/stripe/services/payment_intent_service.rb +218 -0
- data/stripe-19.3.0/lib/stripe/services/payment_link_line_item_service.rb +17 -0
- data/stripe-19.3.0/lib/stripe/services/payment_link_service.rb +59 -0
- data/stripe-19.3.0/lib/stripe/services/payment_method_configuration_service.rb +50 -0
- data/stripe-19.3.0/lib/stripe/services/payment_method_domain_service.rb +66 -0
- data/stripe-19.3.0/lib/stripe/services/payment_method_service.rb +86 -0
- data/stripe-19.3.0/lib/stripe/services/payment_record_service.rb +101 -0
- data/stripe-19.3.0/lib/stripe/services/payout_service.rb +66 -0
- data/stripe-19.3.0/lib/stripe/services/plan_service.rb +51 -0
- data/stripe-19.3.0/lib/stripe/services/price_service.rb +54 -0
- data/stripe-19.3.0/lib/stripe/services/product_feature_service.rb +50 -0
- data/stripe-19.3.0/lib/stripe/services/product_service.rb +72 -0
- data/stripe-19.3.0/lib/stripe/services/promotion_code_service.rb +50 -0
- data/stripe-19.3.0/lib/stripe/services/quote_computed_upfront_line_items_service.rb +17 -0
- data/stripe-19.3.0/lib/stripe/services/quote_line_item_service.rb +17 -0
- data/stripe-19.3.0/lib/stripe/services/quote_service.rb +96 -0
- data/stripe-19.3.0/lib/stripe/services/radar/early_fraud_warning_service.rb +32 -0
- data/stripe-19.3.0/lib/stripe/services/radar/payment_evaluation_service.rb +19 -0
- data/stripe-19.3.0/lib/stripe/services/radar/value_list_item_service.rb +52 -0
- data/stripe-19.3.0/lib/stripe/services/radar/value_list_service.rb +63 -0
- data/stripe-19.3.0/lib/stripe/services/radar_service.rb +16 -0
- data/stripe-19.3.0/lib/stripe/services/refund_service.rb +63 -0
- data/stripe-19.3.0/lib/stripe/services/reporting/report_run_service.rb +41 -0
- data/stripe-19.3.0/lib/stripe/services/reporting/report_type_service.rb +30 -0
- data/stripe-19.3.0/lib/stripe/services/reporting_service.rb +14 -0
- data/stripe-19.3.0/lib/stripe/services/review_service.rb +33 -0
- data/stripe-19.3.0/lib/stripe/services/setup_attempt_service.rb +17 -0
- data/stripe-19.3.0/lib/stripe/services/setup_intent_service.rb +105 -0
- data/stripe-19.3.0/lib/stripe/services/shipping_rate_service.rb +50 -0
- data/stripe-19.3.0/lib/stripe/services/sigma/scheduled_query_run_service.rb +30 -0
- data/stripe-19.3.0/lib/stripe/services/sigma_service.rb +13 -0
- data/stripe-19.3.0/lib/stripe/services/source_service.rb +64 -0
- data/stripe-19.3.0/lib/stripe/services/source_transaction_service.rb +17 -0
- data/stripe-19.3.0/lib/stripe/services/subscription_item_service.rb +65 -0
- data/stripe-19.3.0/lib/stripe/services/subscription_schedule_service.rb +80 -0
- data/stripe-19.3.0/lib/stripe/services/subscription_service.rb +142 -0
- data/stripe-19.3.0/lib/stripe/services/tax/association_service.rb +19 -0
- data/stripe-19.3.0/lib/stripe/services/tax/calculation_line_item_service.rb +19 -0
- data/stripe-19.3.0/lib/stripe/services/tax/calculation_service.rb +37 -0
- data/stripe-19.3.0/lib/stripe/services/tax/registration_service.rb +54 -0
- data/stripe-19.3.0/lib/stripe/services/tax/settings_service.rb +30 -0
- data/stripe-19.3.0/lib/stripe/services/tax/transaction_line_item_service.rb +19 -0
- data/stripe-19.3.0/lib/stripe/services/tax/transaction_service.rb +48 -0
- data/stripe-19.3.0/lib/stripe/services/tax_code_service.rb +22 -0
- data/stripe-19.3.0/lib/stripe/services/tax_id_service.rb +38 -0
- data/stripe-19.3.0/lib/stripe/services/tax_rate_service.rb +38 -0
- data/stripe-19.3.0/lib/stripe/services/tax_service.rb +17 -0
- data/stripe-19.3.0/lib/stripe/services/terminal/configuration_service.rb +63 -0
- data/stripe-19.3.0/lib/stripe/services/terminal/connection_token_service.rb +19 -0
- data/stripe-19.3.0/lib/stripe/services/terminal/location_service.rb +64 -0
- data/stripe-19.3.0/lib/stripe/services/terminal/onboarding_link_service.rb +19 -0
- data/stripe-19.3.0/lib/stripe/services/terminal/reader_service.rb +151 -0
- data/stripe-19.3.0/lib/stripe/services/terminal_service.rb +17 -0
- data/stripe-19.3.0/lib/stripe/services/test_helpers/confirmation_token_service.rb +19 -0
- data/stripe-19.3.0/lib/stripe/services/test_helpers/customer_service.rb +19 -0
- data/stripe-19.3.0/lib/stripe/services/test_helpers/issuing/authorization_service.rb +99 -0
- data/stripe-19.3.0/lib/stripe/services/test_helpers/issuing/card_service.rb +65 -0
- data/stripe-19.3.0/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +43 -0
- data/stripe-19.3.0/lib/stripe/services/test_helpers/issuing/transaction_service.rb +51 -0
- data/stripe-19.3.0/lib/stripe/services/test_helpers/issuing_service.rb +19 -0
- data/stripe-19.3.0/lib/stripe/services/test_helpers/refund_service.rb +19 -0
- data/stripe-19.3.0/lib/stripe/services/test_helpers/terminal/reader_service.rb +43 -0
- data/stripe-19.3.0/lib/stripe/services/test_helpers/terminal_service.rb +15 -0
- data/stripe-19.3.0/lib/stripe/services/test_helpers/test_clock_service.rb +63 -0
- data/stripe-19.3.0/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +43 -0
- data/stripe-19.3.0/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +54 -0
- data/stripe-19.3.0/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +54 -0
- data/stripe-19.3.0/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +21 -0
- data/stripe-19.3.0/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +21 -0
- data/stripe-19.3.0/lib/stripe/services/test_helpers/treasury_service.rb +19 -0
- data/stripe-19.3.0/lib/stripe/services/test_helpers_service.rb +19 -0
- data/stripe-19.3.0/lib/stripe/services/token_service.rb +23 -0
- data/stripe-19.3.0/lib/stripe/services/topup_service.rb +49 -0
- data/stripe-19.3.0/lib/stripe/services/transfer_reversal_service.rb +56 -0
- data/stripe-19.3.0/lib/stripe/services/transfer_service.rb +47 -0
- data/stripe-19.3.0/lib/stripe/services/treasury/credit_reversal_service.rb +41 -0
- data/stripe-19.3.0/lib/stripe/services/treasury/debit_reversal_service.rb +41 -0
- data/stripe-19.3.0/lib/stripe/services/treasury/financial_account_features_service.rb +30 -0
- data/stripe-19.3.0/lib/stripe/services/treasury/financial_account_service.rb +70 -0
- data/stripe-19.3.0/lib/stripe/services/treasury/inbound_transfer_service.rb +52 -0
- data/stripe-19.3.0/lib/stripe/services/treasury/outbound_payment_service.rb +52 -0
- data/stripe-19.3.0/lib/stripe/services/treasury/outbound_transfer_service.rb +52 -0
- data/stripe-19.3.0/lib/stripe/services/treasury/received_credit_service.rb +30 -0
- data/stripe-19.3.0/lib/stripe/services/treasury/received_debit_service.rb +30 -0
- data/stripe-19.3.0/lib/stripe/services/treasury/transaction_entry_service.rb +30 -0
- data/stripe-19.3.0/lib/stripe/services/treasury/transaction_service.rb +30 -0
- data/stripe-19.3.0/lib/stripe/services/treasury_service.rb +22 -0
- data/stripe-19.3.0/lib/stripe/services/v1_services.rb +93 -0
- data/stripe-19.3.0/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +21 -0
- data/stripe-19.3.0/lib/stripe/services/v2/billing/meter_event_service.rb +21 -0
- data/stripe-19.3.0/lib/stripe/services/v2/billing/meter_event_session_service.rb +21 -0
- data/stripe-19.3.0/lib/stripe/services/v2/billing/meter_event_stream_service.rb +23 -0
- data/stripe-19.3.0/lib/stripe/services/v2/billing_service.rb +18 -0
- data/stripe-19.3.0/lib/stripe/services/v2/commerce/product_catalog/import_service.rb +45 -0
- data/stripe-19.3.0/lib/stripe/services/v2/commerce/product_catalog_service.rb +17 -0
- data/stripe-19.3.0/lib/stripe/services/v2/commerce_service.rb +15 -0
- data/stripe-19.3.0/lib/stripe/services/v2/core/account_link_service.rb +23 -0
- data/stripe-19.3.0/lib/stripe/services/v2/core/account_service.rb +91 -0
- data/stripe-19.3.0/lib/stripe/services/v2/core/account_token_service.rb +44 -0
- data/stripe-19.3.0/lib/stripe/services/v2/core/accounts/person_service.rb +85 -0
- data/stripe-19.3.0/lib/stripe/services/v2/core/accounts/person_token_service.rb +43 -0
- data/stripe-19.3.0/lib/stripe/services/v2/core/event_destination_service.rb +98 -0
- data/stripe-19.3.0/lib/stripe/services/v2/core/event_service.rb +33 -0
- data/stripe-19.3.0/lib/stripe/services/v2/core_service.rb +19 -0
- data/stripe-19.3.0/lib/stripe/services/v2_services.rb +15 -0
- data/stripe-19.3.0/lib/stripe/services/webhook_endpoint_service.rb +61 -0
- data/stripe-19.3.0/lib/stripe/services.rb +472 -0
- data/stripe-19.3.0/lib/stripe/singleton_api_resource.rb +26 -0
- data/stripe-19.3.0/lib/stripe/stripe_client.rb +97 -0
- data/stripe-19.3.0/lib/stripe/stripe_configuration.rb +210 -0
- data/stripe-19.3.0/lib/stripe/stripe_context.rb +68 -0
- data/stripe-19.3.0/lib/stripe/stripe_object.rb +692 -0
- data/stripe-19.3.0/lib/stripe/stripe_response.rb +108 -0
- data/stripe-19.3.0/lib/stripe/stripe_service.rb +34 -0
- data/stripe-19.3.0/lib/stripe/util.rb +490 -0
- data/stripe-19.3.0/lib/stripe/v2_list_object.rb +84 -0
- data/stripe-19.3.0/lib/stripe/version.rb +5 -0
- data/stripe-19.3.0/lib/stripe/webhook.rb +129 -0
- data/stripe-19.3.0/lib/stripe.rb +185 -0
- data/stripe-19.3.0/rbi/stripe/resources/v2/core/event_notification.rbi +43 -0
- data/stripe-19.3.0/rbi/stripe/stripe_client.rbi +17 -0
- data/stripe-19.3.0/rbi/stripe.rbi +170441 -0
- metadata +1083 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
class ConnectCollectionTransfer < APIResource
|
|
6
|
+
OBJECT_NAME = "connect_collection_transfer"
|
|
7
|
+
def self.object_name
|
|
8
|
+
"connect_collection_transfer"
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
# Amount transferred, in cents (or local equivalent).
|
|
12
|
+
attr_reader :amount
|
|
13
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
14
|
+
attr_reader :currency
|
|
15
|
+
# ID of the account that funds are being collected for.
|
|
16
|
+
attr_reader :destination
|
|
17
|
+
# Unique identifier for the object.
|
|
18
|
+
attr_reader :id
|
|
19
|
+
# If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
20
|
+
attr_reader :livemode
|
|
21
|
+
# String representing the object's type. Objects of the same type share the same value.
|
|
22
|
+
attr_reader :object
|
|
23
|
+
|
|
24
|
+
def self.inner_class_types
|
|
25
|
+
@inner_class_types = {}
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
def self.field_remappings
|
|
29
|
+
@field_remappings = {}
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
# Stripe needs to collect certain pieces of information about each account
|
|
6
|
+
# created. These requirements can differ depending on the account's country. The
|
|
7
|
+
# Country Specs API makes these rules available to your integration.
|
|
8
|
+
#
|
|
9
|
+
# You can also view the information from this API call as [an online
|
|
10
|
+
# guide](https://docs.stripe.com/docs/connect/required-verification-information).
|
|
11
|
+
class CountrySpec < APIResource
|
|
12
|
+
extend Stripe::APIOperations::List
|
|
13
|
+
|
|
14
|
+
OBJECT_NAME = "country_spec"
|
|
15
|
+
def self.object_name
|
|
16
|
+
"country_spec"
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
class VerificationFields < ::Stripe::StripeObject
|
|
20
|
+
class Company < ::Stripe::StripeObject
|
|
21
|
+
# Additional fields which are only required for some users.
|
|
22
|
+
attr_reader :additional
|
|
23
|
+
# Fields which every account must eventually provide.
|
|
24
|
+
attr_reader :minimum
|
|
25
|
+
|
|
26
|
+
def self.inner_class_types
|
|
27
|
+
@inner_class_types = {}
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
def self.field_remappings
|
|
31
|
+
@field_remappings = {}
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
class Individual < ::Stripe::StripeObject
|
|
36
|
+
# Additional fields which are only required for some users.
|
|
37
|
+
attr_reader :additional
|
|
38
|
+
# Fields which every account must eventually provide.
|
|
39
|
+
attr_reader :minimum
|
|
40
|
+
|
|
41
|
+
def self.inner_class_types
|
|
42
|
+
@inner_class_types = {}
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
def self.field_remappings
|
|
46
|
+
@field_remappings = {}
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
# Attribute for field company
|
|
50
|
+
attr_reader :company
|
|
51
|
+
# Attribute for field individual
|
|
52
|
+
attr_reader :individual
|
|
53
|
+
|
|
54
|
+
def self.inner_class_types
|
|
55
|
+
@inner_class_types = { company: Company, individual: Individual }
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
def self.field_remappings
|
|
59
|
+
@field_remappings = {}
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
# The default currency for this country. This applies to both payment methods and bank accounts.
|
|
63
|
+
attr_reader :default_currency
|
|
64
|
+
# Unique identifier for the object. Represented as the ISO country code for this country.
|
|
65
|
+
attr_reader :id
|
|
66
|
+
# String representing the object's type. Objects of the same type share the same value.
|
|
67
|
+
attr_reader :object
|
|
68
|
+
# Currencies that can be accepted in the specific country (for transfers).
|
|
69
|
+
attr_reader :supported_bank_account_currencies
|
|
70
|
+
# Currencies that can be accepted in the specified country (for payments).
|
|
71
|
+
attr_reader :supported_payment_currencies
|
|
72
|
+
# Payment methods available in the specified country. You may need to enable some payment methods (e.g., [ACH](https://stripe.com/docs/ach)) on your account before they appear in this list. The `stripe` payment method refers to [charging through your platform](https://stripe.com/docs/connect/destination-charges).
|
|
73
|
+
attr_reader :supported_payment_methods
|
|
74
|
+
# Countries that can accept transfers from the specified country.
|
|
75
|
+
attr_reader :supported_transfer_countries
|
|
76
|
+
# Attribute for field verification_fields
|
|
77
|
+
attr_reader :verification_fields
|
|
78
|
+
|
|
79
|
+
# Lists all Country Spec objects available in the API.
|
|
80
|
+
def self.list(params = {}, opts = {})
|
|
81
|
+
request_stripe_object(method: :get, path: "/v1/country_specs", params: params, opts: opts)
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
def self.inner_class_types
|
|
85
|
+
@inner_class_types = { verification_fields: VerificationFields }
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
def self.field_remappings
|
|
89
|
+
@field_remappings = {}
|
|
90
|
+
end
|
|
91
|
+
end
|
|
92
|
+
end
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
# A coupon contains information about a percent-off or amount-off discount you
|
|
6
|
+
# might want to apply to a customer. Coupons may be applied to [subscriptions](https://api.stripe.com#subscriptions), [invoices](https://api.stripe.com#invoices),
|
|
7
|
+
# [checkout sessions](https://docs.stripe.com/api/checkout/sessions), [quotes](https://api.stripe.com#quotes), and more. Coupons do not work with conventional one-off [charges](https://docs.stripe.com/api/charges/create) or [payment intents](https://docs.stripe.com/api/payment_intents).
|
|
8
|
+
class Coupon < APIResource
|
|
9
|
+
extend Stripe::APIOperations::Create
|
|
10
|
+
include Stripe::APIOperations::Delete
|
|
11
|
+
extend Stripe::APIOperations::List
|
|
12
|
+
include Stripe::APIOperations::Save
|
|
13
|
+
|
|
14
|
+
OBJECT_NAME = "coupon"
|
|
15
|
+
def self.object_name
|
|
16
|
+
"coupon"
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
class AppliesTo < ::Stripe::StripeObject
|
|
20
|
+
# A list of product IDs this coupon applies to
|
|
21
|
+
attr_reader :products
|
|
22
|
+
|
|
23
|
+
def self.inner_class_types
|
|
24
|
+
@inner_class_types = {}
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
def self.field_remappings
|
|
28
|
+
@field_remappings = {}
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
class CurrencyOptions < ::Stripe::StripeObject
|
|
33
|
+
# Amount (in the `currency` specified) that will be taken off the subtotal of any invoices for this customer.
|
|
34
|
+
attr_reader :amount_off
|
|
35
|
+
|
|
36
|
+
def self.inner_class_types
|
|
37
|
+
@inner_class_types = {}
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
def self.field_remappings
|
|
41
|
+
@field_remappings = {}
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
# Amount (in the `currency` specified) that will be taken off the subtotal of any invoices for this customer.
|
|
45
|
+
attr_reader :amount_off
|
|
46
|
+
# Attribute for field applies_to
|
|
47
|
+
attr_reader :applies_to
|
|
48
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
49
|
+
attr_reader :created
|
|
50
|
+
# If `amount_off` has been set, the three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the amount to take off.
|
|
51
|
+
attr_reader :currency
|
|
52
|
+
# Coupons defined in each available currency option. Each key must be a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) and a [supported currency](https://stripe.com/docs/currencies).
|
|
53
|
+
attr_reader :currency_options
|
|
54
|
+
# Always true for a deleted object
|
|
55
|
+
attr_reader :deleted
|
|
56
|
+
# One of `forever`, `once`, or `repeating`. Describes how long a customer who applies this coupon will get the discount.
|
|
57
|
+
attr_reader :duration
|
|
58
|
+
# If `duration` is `repeating`, the number of months the coupon applies. Null if coupon `duration` is `forever` or `once`.
|
|
59
|
+
attr_reader :duration_in_months
|
|
60
|
+
# Unique identifier for the object.
|
|
61
|
+
attr_reader :id
|
|
62
|
+
# If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
63
|
+
attr_reader :livemode
|
|
64
|
+
# Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.
|
|
65
|
+
attr_reader :max_redemptions
|
|
66
|
+
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
67
|
+
attr_reader :metadata
|
|
68
|
+
# Name of the coupon displayed to customers on for instance invoices or receipts.
|
|
69
|
+
attr_reader :name
|
|
70
|
+
# String representing the object's type. Objects of the same type share the same value.
|
|
71
|
+
attr_reader :object
|
|
72
|
+
# Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon. For example, a coupon with percent_off of 50 will make a $ (or local equivalent)100 invoice $ (or local equivalent)50 instead.
|
|
73
|
+
attr_reader :percent_off
|
|
74
|
+
# Date after which the coupon can no longer be redeemed.
|
|
75
|
+
attr_reader :redeem_by
|
|
76
|
+
# Number of times this coupon has been applied to a customer.
|
|
77
|
+
attr_reader :times_redeemed
|
|
78
|
+
# Taking account of the above properties, whether this coupon can still be applied to a customer.
|
|
79
|
+
attr_reader :valid
|
|
80
|
+
|
|
81
|
+
# You can create coupons easily via the [coupon management](https://dashboard.stripe.com/coupons) page of the Stripe dashboard. Coupon creation is also accessible via the API if you need to create coupons on the fly.
|
|
82
|
+
#
|
|
83
|
+
# A coupon has either a percent_off or an amount_off and currency. If you set an amount_off, that amount will be subtracted from any invoice's subtotal. For example, an invoice with a subtotal of 100 will have a final total of 0 if a coupon with an amount_off of 200 is applied to it and an invoice with a subtotal of 300 will have a final total of 100 if a coupon with an amount_off of 200 is applied to it.
|
|
84
|
+
def self.create(params = {}, opts = {})
|
|
85
|
+
request_stripe_object(method: :post, path: "/v1/coupons", params: params, opts: opts)
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# You can delete coupons via the [coupon management](https://dashboard.stripe.com/coupons) page of the Stripe dashboard. However, deleting a coupon does not affect any customers who have already applied the coupon; it means that new customers can't redeem the coupon. You can also delete coupons via the API.
|
|
89
|
+
def self.delete(coupon, params = {}, opts = {})
|
|
90
|
+
request_stripe_object(
|
|
91
|
+
method: :delete,
|
|
92
|
+
path: format("/v1/coupons/%<coupon>s", { coupon: CGI.escape(coupon) }),
|
|
93
|
+
params: params,
|
|
94
|
+
opts: opts
|
|
95
|
+
)
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
# You can delete coupons via the [coupon management](https://dashboard.stripe.com/coupons) page of the Stripe dashboard. However, deleting a coupon does not affect any customers who have already applied the coupon; it means that new customers can't redeem the coupon. You can also delete coupons via the API.
|
|
99
|
+
def delete(params = {}, opts = {})
|
|
100
|
+
request_stripe_object(
|
|
101
|
+
method: :delete,
|
|
102
|
+
path: format("/v1/coupons/%<coupon>s", { coupon: CGI.escape(self["id"]) }),
|
|
103
|
+
params: params,
|
|
104
|
+
opts: opts
|
|
105
|
+
)
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
# Returns a list of your coupons.
|
|
109
|
+
def self.list(params = {}, opts = {})
|
|
110
|
+
request_stripe_object(method: :get, path: "/v1/coupons", params: params, opts: opts)
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
# Updates the metadata of a coupon. Other coupon details (currency, duration, amount_off) are, by design, not editable.
|
|
114
|
+
def self.update(coupon, params = {}, opts = {})
|
|
115
|
+
request_stripe_object(
|
|
116
|
+
method: :post,
|
|
117
|
+
path: format("/v1/coupons/%<coupon>s", { coupon: CGI.escape(coupon) }),
|
|
118
|
+
params: params,
|
|
119
|
+
opts: opts
|
|
120
|
+
)
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
def self.inner_class_types
|
|
124
|
+
@inner_class_types = { applies_to: AppliesTo, currency_options: CurrencyOptions }
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
def self.field_remappings
|
|
128
|
+
@field_remappings = {}
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
end
|
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
# Issue a credit note to adjust an invoice's amount after the invoice is finalized.
|
|
6
|
+
#
|
|
7
|
+
# Related guide: [Credit notes](https://docs.stripe.com/billing/invoices/credit-notes)
|
|
8
|
+
class CreditNote < APIResource
|
|
9
|
+
extend Stripe::APIOperations::Create
|
|
10
|
+
extend Stripe::APIOperations::List
|
|
11
|
+
include Stripe::APIOperations::Save
|
|
12
|
+
|
|
13
|
+
OBJECT_NAME = "credit_note"
|
|
14
|
+
def self.object_name
|
|
15
|
+
"credit_note"
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
class DiscountAmount < ::Stripe::StripeObject
|
|
19
|
+
# The amount, in cents (or local equivalent), of the discount.
|
|
20
|
+
attr_reader :amount
|
|
21
|
+
# The discount that was applied to get this discount amount.
|
|
22
|
+
attr_reader :discount
|
|
23
|
+
|
|
24
|
+
def self.inner_class_types
|
|
25
|
+
@inner_class_types = {}
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
def self.field_remappings
|
|
29
|
+
@field_remappings = {}
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
class PretaxCreditAmount < ::Stripe::StripeObject
|
|
34
|
+
# The amount, in cents (or local equivalent), of the pretax credit amount.
|
|
35
|
+
attr_reader :amount
|
|
36
|
+
# The credit balance transaction that was applied to get this pretax credit amount.
|
|
37
|
+
attr_reader :credit_balance_transaction
|
|
38
|
+
# The discount that was applied to get this pretax credit amount.
|
|
39
|
+
attr_reader :discount
|
|
40
|
+
# Type of the pretax credit amount referenced.
|
|
41
|
+
attr_reader :type
|
|
42
|
+
|
|
43
|
+
def self.inner_class_types
|
|
44
|
+
@inner_class_types = {}
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
def self.field_remappings
|
|
48
|
+
@field_remappings = {}
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
class Refund < ::Stripe::StripeObject
|
|
53
|
+
class PaymentRecordRefund < ::Stripe::StripeObject
|
|
54
|
+
# ID of the payment record.
|
|
55
|
+
attr_reader :payment_record
|
|
56
|
+
# ID of the refund group.
|
|
57
|
+
attr_reader :refund_group
|
|
58
|
+
|
|
59
|
+
def self.inner_class_types
|
|
60
|
+
@inner_class_types = {}
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
def self.field_remappings
|
|
64
|
+
@field_remappings = {}
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
# Amount of the refund that applies to this credit note, in cents (or local equivalent).
|
|
68
|
+
attr_reader :amount_refunded
|
|
69
|
+
# The PaymentRecord refund details associated with this credit note refund.
|
|
70
|
+
attr_reader :payment_record_refund
|
|
71
|
+
# ID of the refund.
|
|
72
|
+
attr_reader :refund
|
|
73
|
+
# Type of the refund, one of `refund` or `payment_record_refund`.
|
|
74
|
+
attr_reader :type
|
|
75
|
+
|
|
76
|
+
def self.inner_class_types
|
|
77
|
+
@inner_class_types = { payment_record_refund: PaymentRecordRefund }
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
def self.field_remappings
|
|
81
|
+
@field_remappings = {}
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
class ShippingCost < ::Stripe::StripeObject
|
|
86
|
+
class Tax < ::Stripe::StripeObject
|
|
87
|
+
# Amount of tax applied for this rate.
|
|
88
|
+
attr_reader :amount
|
|
89
|
+
# Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax.
|
|
90
|
+
#
|
|
91
|
+
# Related guide: [Tax rates](/billing/taxes/tax-rates)
|
|
92
|
+
attr_reader :rate
|
|
93
|
+
# The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported.
|
|
94
|
+
attr_reader :taxability_reason
|
|
95
|
+
# The amount on which tax is calculated, in cents (or local equivalent).
|
|
96
|
+
attr_reader :taxable_amount
|
|
97
|
+
|
|
98
|
+
def self.inner_class_types
|
|
99
|
+
@inner_class_types = {}
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
def self.field_remappings
|
|
103
|
+
@field_remappings = {}
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
# Total shipping cost before any taxes are applied.
|
|
107
|
+
attr_reader :amount_subtotal
|
|
108
|
+
# Total tax amount applied due to shipping costs. If no tax was applied, defaults to 0.
|
|
109
|
+
attr_reader :amount_tax
|
|
110
|
+
# Total shipping cost after taxes are applied.
|
|
111
|
+
attr_reader :amount_total
|
|
112
|
+
# The ID of the ShippingRate for this invoice.
|
|
113
|
+
attr_reader :shipping_rate
|
|
114
|
+
# The taxes applied to the shipping rate.
|
|
115
|
+
attr_reader :taxes
|
|
116
|
+
|
|
117
|
+
def self.inner_class_types
|
|
118
|
+
@inner_class_types = { taxes: Tax }
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
def self.field_remappings
|
|
122
|
+
@field_remappings = {}
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
class TotalTax < ::Stripe::StripeObject
|
|
127
|
+
class TaxRateDetails < ::Stripe::StripeObject
|
|
128
|
+
# ID of the tax rate
|
|
129
|
+
attr_reader :tax_rate
|
|
130
|
+
|
|
131
|
+
def self.inner_class_types
|
|
132
|
+
@inner_class_types = {}
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
def self.field_remappings
|
|
136
|
+
@field_remappings = {}
|
|
137
|
+
end
|
|
138
|
+
end
|
|
139
|
+
# The amount of the tax, in cents (or local equivalent).
|
|
140
|
+
attr_reader :amount
|
|
141
|
+
# Whether this tax is inclusive or exclusive.
|
|
142
|
+
attr_reader :tax_behavior
|
|
143
|
+
# Additional details about the tax rate. Only present when `type` is `tax_rate_details`.
|
|
144
|
+
attr_reader :tax_rate_details
|
|
145
|
+
# The reasoning behind this tax, for example, if the product is tax exempt. The possible values for this field may be extended as new tax rules are supported.
|
|
146
|
+
attr_reader :taxability_reason
|
|
147
|
+
# The amount on which tax is calculated, in cents (or local equivalent).
|
|
148
|
+
attr_reader :taxable_amount
|
|
149
|
+
# The type of tax information.
|
|
150
|
+
attr_reader :type
|
|
151
|
+
|
|
152
|
+
def self.inner_class_types
|
|
153
|
+
@inner_class_types = { tax_rate_details: TaxRateDetails }
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
def self.field_remappings
|
|
157
|
+
@field_remappings = {}
|
|
158
|
+
end
|
|
159
|
+
end
|
|
160
|
+
# The integer amount in cents (or local equivalent) representing the total amount of the credit note, including tax.
|
|
161
|
+
attr_reader :amount
|
|
162
|
+
# This is the sum of all the shipping amounts.
|
|
163
|
+
attr_reader :amount_shipping
|
|
164
|
+
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
165
|
+
attr_reader :created
|
|
166
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
167
|
+
attr_reader :currency
|
|
168
|
+
# ID of the customer.
|
|
169
|
+
attr_reader :customer
|
|
170
|
+
# ID of the account representing the customer.
|
|
171
|
+
attr_reader :customer_account
|
|
172
|
+
# Customer balance transaction related to this credit note.
|
|
173
|
+
attr_reader :customer_balance_transaction
|
|
174
|
+
# The integer amount in cents (or local equivalent) representing the total amount of discount that was credited.
|
|
175
|
+
attr_reader :discount_amount
|
|
176
|
+
# The aggregate amounts calculated per discount for all line items.
|
|
177
|
+
attr_reader :discount_amounts
|
|
178
|
+
# The date when this credit note is in effect. Same as `created` unless overwritten. When defined, this value replaces the system-generated 'Date of issue' printed on the credit note PDF.
|
|
179
|
+
attr_reader :effective_at
|
|
180
|
+
# Unique identifier for the object.
|
|
181
|
+
attr_reader :id
|
|
182
|
+
# ID of the invoice.
|
|
183
|
+
attr_reader :invoice
|
|
184
|
+
# Line items that make up the credit note
|
|
185
|
+
attr_reader :lines
|
|
186
|
+
# If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
187
|
+
attr_reader :livemode
|
|
188
|
+
# Customer-facing text that appears on the credit note PDF.
|
|
189
|
+
attr_reader :memo
|
|
190
|
+
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
191
|
+
attr_reader :metadata
|
|
192
|
+
# A unique number that identifies this particular credit note and appears on the PDF of the credit note and its associated invoice.
|
|
193
|
+
attr_reader :number
|
|
194
|
+
# String representing the object's type. Objects of the same type share the same value.
|
|
195
|
+
attr_reader :object
|
|
196
|
+
# Amount that was credited outside of Stripe.
|
|
197
|
+
attr_reader :out_of_band_amount
|
|
198
|
+
# The link to download the PDF of the credit note.
|
|
199
|
+
attr_reader :pdf
|
|
200
|
+
# The amount of the credit note that was refunded to the customer, credited to the customer's balance, credited outside of Stripe, or any combination thereof.
|
|
201
|
+
attr_reader :post_payment_amount
|
|
202
|
+
# The amount of the credit note by which the invoice's `amount_remaining` and `amount_due` were reduced.
|
|
203
|
+
attr_reader :pre_payment_amount
|
|
204
|
+
# The pretax credit amounts (ex: discount, credit grants, etc) for all line items.
|
|
205
|
+
attr_reader :pretax_credit_amounts
|
|
206
|
+
# Reason for issuing this credit note, one of `duplicate`, `fraudulent`, `order_change`, or `product_unsatisfactory`
|
|
207
|
+
attr_reader :reason
|
|
208
|
+
# Refunds related to this credit note.
|
|
209
|
+
attr_reader :refunds
|
|
210
|
+
# The details of the cost of shipping, including the ShippingRate applied to the invoice.
|
|
211
|
+
attr_reader :shipping_cost
|
|
212
|
+
# Status of this credit note, one of `issued` or `void`. Learn more about [voiding credit notes](https://docs.stripe.com/billing/invoices/credit-notes#voiding).
|
|
213
|
+
attr_reader :status
|
|
214
|
+
# The integer amount in cents (or local equivalent) representing the amount of the credit note, excluding exclusive tax and invoice level discounts.
|
|
215
|
+
attr_reader :subtotal
|
|
216
|
+
# The integer amount in cents (or local equivalent) representing the amount of the credit note, excluding all tax and invoice level discounts.
|
|
217
|
+
attr_reader :subtotal_excluding_tax
|
|
218
|
+
# The integer amount in cents (or local equivalent) representing the total amount of the credit note, including tax and all discount.
|
|
219
|
+
attr_reader :total
|
|
220
|
+
# The integer amount in cents (or local equivalent) representing the total amount of the credit note, excluding tax, but including discounts.
|
|
221
|
+
attr_reader :total_excluding_tax
|
|
222
|
+
# The aggregate tax information for all line items.
|
|
223
|
+
attr_reader :total_taxes
|
|
224
|
+
# Type of this credit note, one of `pre_payment` or `post_payment`. A `pre_payment` credit note means it was issued when the invoice was open. A `post_payment` credit note means it was issued when the invoice was paid.
|
|
225
|
+
attr_reader :type
|
|
226
|
+
# The time that the credit note was voided.
|
|
227
|
+
attr_reader :voided_at
|
|
228
|
+
|
|
229
|
+
# Issue a credit note to adjust the amount of a finalized invoice. A credit note will first reduce the invoice's amount_remaining (and amount_due), but not below zero.
|
|
230
|
+
# This amount is indicated by the credit note's pre_payment_amount. The excess amount is indicated by post_payment_amount, and it can result in any combination of the following:
|
|
231
|
+
#
|
|
232
|
+
#
|
|
233
|
+
# Refunds: create a new refund (using refund_amount) or link existing refunds (using refunds).
|
|
234
|
+
# Customer balance credit: credit the customer's balance (using credit_amount) which will be automatically applied to their next invoice when it's finalized.
|
|
235
|
+
# Outside of Stripe credit: record the amount that is or will be credited outside of Stripe (using out_of_band_amount).
|
|
236
|
+
#
|
|
237
|
+
#
|
|
238
|
+
# The sum of refunds, customer balance credits, and outside of Stripe credits must equal the post_payment_amount.
|
|
239
|
+
#
|
|
240
|
+
# You may issue multiple credit notes for an invoice. Each credit note may increment the invoice's pre_payment_credit_notes_amount,
|
|
241
|
+
# post_payment_credit_notes_amount, or both, depending on the invoice's amount_remaining at the time of credit note creation.
|
|
242
|
+
#
|
|
243
|
+
# For invoices that also have refunds created through the [Refund API](https://docs.stripe.com/docs/api/refunds), the credit note API subtracts those refund amounts from the maximum creditable amount. This prevents the combined credit notes and refunds from exceeding the invoice amount. If you use both, ensure the combined total does not exceed the invoice's paid amount.
|
|
244
|
+
def self.create(params = {}, opts = {})
|
|
245
|
+
request_stripe_object(method: :post, path: "/v1/credit_notes", params: params, opts: opts)
|
|
246
|
+
end
|
|
247
|
+
|
|
248
|
+
# Returns a list of credit notes.
|
|
249
|
+
def self.list(params = {}, opts = {})
|
|
250
|
+
request_stripe_object(method: :get, path: "/v1/credit_notes", params: params, opts: opts)
|
|
251
|
+
end
|
|
252
|
+
|
|
253
|
+
# When retrieving a credit note preview, you'll get a lines property containing the first handful of those items. This URL you can retrieve the full (paginated) list of line items.
|
|
254
|
+
def self.list_preview_line_items(params = {}, opts = {})
|
|
255
|
+
request_stripe_object(
|
|
256
|
+
method: :get,
|
|
257
|
+
path: "/v1/credit_notes/preview/lines",
|
|
258
|
+
params: params,
|
|
259
|
+
opts: opts
|
|
260
|
+
)
|
|
261
|
+
end
|
|
262
|
+
|
|
263
|
+
# Get a preview of a credit note without creating it.
|
|
264
|
+
def self.preview(params = {}, opts = {})
|
|
265
|
+
request_stripe_object(
|
|
266
|
+
method: :get,
|
|
267
|
+
path: "/v1/credit_notes/preview",
|
|
268
|
+
params: params,
|
|
269
|
+
opts: opts
|
|
270
|
+
)
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
# Updates an existing credit note.
|
|
274
|
+
def self.update(id, params = {}, opts = {})
|
|
275
|
+
request_stripe_object(
|
|
276
|
+
method: :post,
|
|
277
|
+
path: format("/v1/credit_notes/%<id>s", { id: CGI.escape(id) }),
|
|
278
|
+
params: params,
|
|
279
|
+
opts: opts
|
|
280
|
+
)
|
|
281
|
+
end
|
|
282
|
+
|
|
283
|
+
# Marks a credit note as void. Learn more about [voiding credit notes](https://docs.stripe.com/docs/billing/invoices/credit-notes#voiding).
|
|
284
|
+
def void_credit_note(params = {}, opts = {})
|
|
285
|
+
request_stripe_object(
|
|
286
|
+
method: :post,
|
|
287
|
+
path: format("/v1/credit_notes/%<id>s/void", { id: CGI.escape(self["id"]) }),
|
|
288
|
+
params: params,
|
|
289
|
+
opts: opts
|
|
290
|
+
)
|
|
291
|
+
end
|
|
292
|
+
|
|
293
|
+
# Marks a credit note as void. Learn more about [voiding credit notes](https://docs.stripe.com/docs/billing/invoices/credit-notes#voiding).
|
|
294
|
+
def self.void_credit_note(id, params = {}, opts = {})
|
|
295
|
+
request_stripe_object(
|
|
296
|
+
method: :post,
|
|
297
|
+
path: format("/v1/credit_notes/%<id>s/void", { id: CGI.escape(id) }),
|
|
298
|
+
params: params,
|
|
299
|
+
opts: opts
|
|
300
|
+
)
|
|
301
|
+
end
|
|
302
|
+
|
|
303
|
+
def self.inner_class_types
|
|
304
|
+
@inner_class_types = {
|
|
305
|
+
discount_amounts: DiscountAmount,
|
|
306
|
+
pretax_credit_amounts: PretaxCreditAmount,
|
|
307
|
+
refunds: Refund,
|
|
308
|
+
shipping_cost: ShippingCost,
|
|
309
|
+
total_taxes: TotalTax,
|
|
310
|
+
}
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
def self.field_remappings
|
|
314
|
+
@field_remappings = {}
|
|
315
|
+
end
|
|
316
|
+
end
|
|
317
|
+
end
|