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.
Files changed (1044) hide show
  1. checksums.yaml +7 -0
  2. data/mega-pure-kit.gemspec +12 -0
  3. data/stripe-19.3.0/exe/stripe-console +16 -0
  4. data/stripe-19.3.0/lib/data/ca-certificates.crt +3511 -0
  5. data/stripe-19.3.0/lib/stripe/api_operations/create.rb +16 -0
  6. data/stripe-19.3.0/lib/stripe/api_operations/delete.rb +44 -0
  7. data/stripe-19.3.0/lib/stripe/api_operations/list.rb +16 -0
  8. data/stripe-19.3.0/lib/stripe/api_operations/nested_resource.rb +101 -0
  9. data/stripe-19.3.0/lib/stripe/api_operations/request.rb +94 -0
  10. data/stripe-19.3.0/lib/stripe/api_operations/save.rb +107 -0
  11. data/stripe-19.3.0/lib/stripe/api_operations/search.rb +21 -0
  12. data/stripe-19.3.0/lib/stripe/api_operations/singleton_save.rb +90 -0
  13. data/stripe-19.3.0/lib/stripe/api_requestor.rb +1168 -0
  14. data/stripe-19.3.0/lib/stripe/api_resource.rb +145 -0
  15. data/stripe-19.3.0/lib/stripe/api_resource_test_helpers.rb +53 -0
  16. data/stripe-19.3.0/lib/stripe/api_version.rb +9 -0
  17. data/stripe-19.3.0/lib/stripe/connection_manager.rb +196 -0
  18. data/stripe-19.3.0/lib/stripe/error_object.rb +93 -0
  19. data/stripe-19.3.0/lib/stripe/errors.rb +171 -0
  20. data/stripe-19.3.0/lib/stripe/event_types.rb +106 -0
  21. data/stripe-19.3.0/lib/stripe/events/unknown_event_notification.rb +19 -0
  22. data/stripe-19.3.0/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +123 -0
  23. data/stripe-19.3.0/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +100 -0
  24. data/stripe-19.3.0/lib/stripe/events/v2_commerce_product_catalog_imports_failed_event.rb +44 -0
  25. data/stripe-19.3.0/lib/stripe/events/v2_commerce_product_catalog_imports_processing_event.rb +44 -0
  26. data/stripe-19.3.0/lib/stripe/events/v2_commerce_product_catalog_imports_succeeded_event.rb +44 -0
  27. data/stripe-19.3.0/lib/stripe/events/v2_commerce_product_catalog_imports_succeeded_with_errors_event.rb +44 -0
  28. data/stripe-19.3.0/lib/stripe/events/v2_core_account_closed_event.rb +44 -0
  29. data/stripe-19.3.0/lib/stripe/events/v2_core_account_created_event.rb +44 -0
  30. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +63 -0
  31. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +44 -0
  32. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +63 -0
  33. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +44 -0
  34. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +63 -0
  35. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +44 -0
  36. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +44 -0
  37. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_future_requirements_updated_event.rb +44 -0
  38. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +44 -0
  39. data/stripe-19.3.0/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +44 -0
  40. data/stripe-19.3.0/lib/stripe/events/v2_core_account_link_returned_event.rb +42 -0
  41. data/stripe-19.3.0/lib/stripe/events/v2_core_account_person_created_event.rb +61 -0
  42. data/stripe-19.3.0/lib/stripe/events/v2_core_account_person_deleted_event.rb +61 -0
  43. data/stripe-19.3.0/lib/stripe/events/v2_core_account_person_updated_event.rb +61 -0
  44. data/stripe-19.3.0/lib/stripe/events/v2_core_account_updated_event.rb +44 -0
  45. data/stripe-19.3.0/lib/stripe/events/v2_core_event_destination_ping_event.rb +44 -0
  46. data/stripe-19.3.0/lib/stripe/instrumentation.rb +106 -0
  47. data/stripe-19.3.0/lib/stripe/list_object.rb +141 -0
  48. data/stripe-19.3.0/lib/stripe/multipart_encoder.rb +131 -0
  49. data/stripe-19.3.0/lib/stripe/oauth.rb +58 -0
  50. data/stripe-19.3.0/lib/stripe/object_types.rb +189 -0
  51. data/stripe-19.3.0/lib/stripe/params/account_capability_list_params.rb +13 -0
  52. data/stripe-19.3.0/lib/stripe/params/account_capability_retrieve_params.rb +13 -0
  53. data/stripe-19.3.0/lib/stripe/params/account_capability_update_params.rb +18 -0
  54. data/stripe-19.3.0/lib/stripe/params/account_create_params.rb +2202 -0
  55. data/stripe-19.3.0/lib/stripe/params/account_delete_params.rb +6 -0
  56. data/stripe-19.3.0/lib/stripe/params/account_external_account_create_params.rb +134 -0
  57. data/stripe-19.3.0/lib/stripe/params/account_external_account_delete_params.rb +6 -0
  58. data/stripe-19.3.0/lib/stripe/params/account_external_account_list_params.rb +25 -0
  59. data/stripe-19.3.0/lib/stripe/params/account_external_account_retrieve_params.rb +13 -0
  60. data/stripe-19.3.0/lib/stripe/params/account_external_account_update_params.rb +91 -0
  61. data/stripe-19.3.0/lib/stripe/params/account_link_create_params.rb +52 -0
  62. data/stripe-19.3.0/lib/stripe/params/account_list_params.rb +42 -0
  63. data/stripe-19.3.0/lib/stripe/params/account_login_link_create_params.rb +13 -0
  64. data/stripe-19.3.0/lib/stripe/params/account_person_create_params.rb +435 -0
  65. data/stripe-19.3.0/lib/stripe/params/account_person_delete_params.rb +6 -0
  66. data/stripe-19.3.0/lib/stripe/params/account_person_list_params.rb +61 -0
  67. data/stripe-19.3.0/lib/stripe/params/account_person_retrieve_params.rb +13 -0
  68. data/stripe-19.3.0/lib/stripe/params/account_person_update_params.rb +435 -0
  69. data/stripe-19.3.0/lib/stripe/params/account_persons_params.rb +61 -0
  70. data/stripe-19.3.0/lib/stripe/params/account_reject_params.rb +16 -0
  71. data/stripe-19.3.0/lib/stripe/params/account_retrieve_current_params.rb +13 -0
  72. data/stripe-19.3.0/lib/stripe/params/account_retrieve_params.rb +13 -0
  73. data/stripe-19.3.0/lib/stripe/params/account_session_create_params.rb +632 -0
  74. data/stripe-19.3.0/lib/stripe/params/account_update_params.rb +2149 -0
  75. data/stripe-19.3.0/lib/stripe/params/apple_pay_domain_create_params.rb +16 -0
  76. data/stripe-19.3.0/lib/stripe/params/apple_pay_domain_delete_params.rb +6 -0
  77. data/stripe-19.3.0/lib/stripe/params/apple_pay_domain_list_params.rb +31 -0
  78. data/stripe-19.3.0/lib/stripe/params/apple_pay_domain_retrieve_params.rb +13 -0
  79. data/stripe-19.3.0/lib/stripe/params/application_fee_list_params.rb +52 -0
  80. data/stripe-19.3.0/lib/stripe/params/application_fee_refund_create_params.rb +19 -0
  81. data/stripe-19.3.0/lib/stripe/params/application_fee_refund_list_params.rb +22 -0
  82. data/stripe-19.3.0/lib/stripe/params/application_fee_refund_retrieve_params.rb +13 -0
  83. data/stripe-19.3.0/lib/stripe/params/application_fee_refund_update_params.rb +16 -0
  84. data/stripe-19.3.0/lib/stripe/params/application_fee_retrieve_params.rb +13 -0
  85. data/stripe-19.3.0/lib/stripe/params/apps/secret_create_params.rb +38 -0
  86. data/stripe-19.3.0/lib/stripe/params/apps/secret_delete_where_params.rb +32 -0
  87. data/stripe-19.3.0/lib/stripe/params/apps/secret_find_params.rb +32 -0
  88. data/stripe-19.3.0/lib/stripe/params/apps/secret_list_params.rb +38 -0
  89. data/stripe-19.3.0/lib/stripe/params/balance_retrieve_params.rb +13 -0
  90. data/stripe-19.3.0/lib/stripe/params/balance_settings_retrieve_params.rb +13 -0
  91. data/stripe-19.3.0/lib/stripe/params/balance_settings_update_params.rb +107 -0
  92. data/stripe-19.3.0/lib/stripe/params/balance_transaction_list_params.rb +64 -0
  93. data/stripe-19.3.0/lib/stripe/params/balance_transaction_retrieve_params.rb +13 -0
  94. data/stripe-19.3.0/lib/stripe/params/billing/alert_activate_params.rb +15 -0
  95. data/stripe-19.3.0/lib/stripe/params/billing/alert_archive_params.rb +15 -0
  96. data/stripe-19.3.0/lib/stripe/params/billing/alert_create_params.rb +52 -0
  97. data/stripe-19.3.0/lib/stripe/params/billing/alert_deactivate_params.rb +15 -0
  98. data/stripe-19.3.0/lib/stripe/params/billing/alert_list_params.rb +37 -0
  99. data/stripe-19.3.0/lib/stripe/params/billing/alert_retrieve_params.rb +15 -0
  100. data/stripe-19.3.0/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +57 -0
  101. data/stripe-19.3.0/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +41 -0
  102. data/stripe-19.3.0/lib/stripe/params/billing/credit_balance_transaction_retrieve_params.rb +15 -0
  103. data/stripe-19.3.0/lib/stripe/params/billing/credit_grant_create_params.rb +107 -0
  104. data/stripe-19.3.0/lib/stripe/params/billing/credit_grant_expire_params.rb +15 -0
  105. data/stripe-19.3.0/lib/stripe/params/billing/credit_grant_list_params.rb +37 -0
  106. data/stripe-19.3.0/lib/stripe/params/billing/credit_grant_retrieve_params.rb +15 -0
  107. data/stripe-19.3.0/lib/stripe/params/billing/credit_grant_update_params.rb +21 -0
  108. data/stripe-19.3.0/lib/stripe/params/billing/credit_grant_void_grant_params.rb +15 -0
  109. data/stripe-19.3.0/lib/stripe/params/billing/meter_create_params.rb +70 -0
  110. data/stripe-19.3.0/lib/stripe/params/billing/meter_deactivate_params.rb +15 -0
  111. data/stripe-19.3.0/lib/stripe/params/billing/meter_event_adjustment_create_params.rb +32 -0
  112. data/stripe-19.3.0/lib/stripe/params/billing/meter_event_create_params.rb +27 -0
  113. data/stripe-19.3.0/lib/stripe/params/billing/meter_event_summary_list_params.rb +45 -0
  114. data/stripe-19.3.0/lib/stripe/params/billing/meter_list_params.rb +27 -0
  115. data/stripe-19.3.0/lib/stripe/params/billing/meter_reactivate_params.rb +15 -0
  116. data/stripe-19.3.0/lib/stripe/params/billing/meter_retrieve_params.rb +15 -0
  117. data/stripe-19.3.0/lib/stripe/params/billing/meter_update_params.rb +18 -0
  118. data/stripe-19.3.0/lib/stripe/params/billing_portal/configuration_create_params.rb +232 -0
  119. data/stripe-19.3.0/lib/stripe/params/billing_portal/configuration_list_params.rb +37 -0
  120. data/stripe-19.3.0/lib/stripe/params/billing_portal/configuration_retrieve_params.rb +15 -0
  121. data/stripe-19.3.0/lib/stripe/params/billing_portal/configuration_update_params.rb +238 -0
  122. data/stripe-19.3.0/lib/stripe/params/billing_portal/session_create_params.rb +183 -0
  123. data/stripe-19.3.0/lib/stripe/params/charge_capture_params.rb +57 -0
  124. data/stripe-19.3.0/lib/stripe/params/charge_create_params.rb +175 -0
  125. data/stripe-19.3.0/lib/stripe/params/charge_list_params.rb +60 -0
  126. data/stripe-19.3.0/lib/stripe/params/charge_retrieve_params.rb +13 -0
  127. data/stripe-19.3.0/lib/stripe/params/charge_search_params.rb +22 -0
  128. data/stripe-19.3.0/lib/stripe/params/charge_update_params.rb +102 -0
  129. data/stripe-19.3.0/lib/stripe/params/checkout/session_create_params.rb +2740 -0
  130. data/stripe-19.3.0/lib/stripe/params/checkout/session_expire_params.rb +15 -0
  131. data/stripe-19.3.0/lib/stripe/params/checkout/session_line_item_list_params.rb +24 -0
  132. data/stripe-19.3.0/lib/stripe/params/checkout/session_list_line_items_params.rb +24 -0
  133. data/stripe-19.3.0/lib/stripe/params/checkout/session_list_params.rb +87 -0
  134. data/stripe-19.3.0/lib/stripe/params/checkout/session_retrieve_params.rb +15 -0
  135. data/stripe-19.3.0/lib/stripe/params/checkout/session_update_params.rb +348 -0
  136. data/stripe-19.3.0/lib/stripe/params/climate/order_cancel_params.rb +15 -0
  137. data/stripe-19.3.0/lib/stripe/params/climate/order_create_params.rb +53 -0
  138. data/stripe-19.3.0/lib/stripe/params/climate/order_list_params.rb +24 -0
  139. data/stripe-19.3.0/lib/stripe/params/climate/order_retrieve_params.rb +15 -0
  140. data/stripe-19.3.0/lib/stripe/params/climate/order_update_params.rb +29 -0
  141. data/stripe-19.3.0/lib/stripe/params/climate/product_list_params.rb +24 -0
  142. data/stripe-19.3.0/lib/stripe/params/climate/product_retrieve_params.rb +15 -0
  143. data/stripe-19.3.0/lib/stripe/params/climate/supplier_list_params.rb +24 -0
  144. data/stripe-19.3.0/lib/stripe/params/climate/supplier_retrieve_params.rb +15 -0
  145. data/stripe-19.3.0/lib/stripe/params/confirmation_token_create_params.rb +715 -0
  146. data/stripe-19.3.0/lib/stripe/params/confirmation_token_retrieve_params.rb +13 -0
  147. data/stripe-19.3.0/lib/stripe/params/country_spec_list_params.rb +22 -0
  148. data/stripe-19.3.0/lib/stripe/params/country_spec_retrieve_params.rb +13 -0
  149. data/stripe-19.3.0/lib/stripe/params/coupon_create_params.rb +80 -0
  150. data/stripe-19.3.0/lib/stripe/params/coupon_delete_params.rb +6 -0
  151. data/stripe-19.3.0/lib/stripe/params/coupon_list_params.rb +42 -0
  152. data/stripe-19.3.0/lib/stripe/params/coupon_retrieve_params.rb +13 -0
  153. data/stripe-19.3.0/lib/stripe/params/coupon_update_params.rb +30 -0
  154. data/stripe-19.3.0/lib/stripe/params/credit_note_create_params.rb +178 -0
  155. data/stripe-19.3.0/lib/stripe/params/credit_note_line_item_list_params.rb +22 -0
  156. data/stripe-19.3.0/lib/stripe/params/credit_note_list_params.rb +60 -0
  157. data/stripe-19.3.0/lib/stripe/params/credit_note_list_preview_line_items_params.rb +190 -0
  158. data/stripe-19.3.0/lib/stripe/params/credit_note_preview_lines_list_params.rb +190 -0
  159. data/stripe-19.3.0/lib/stripe/params/credit_note_preview_params.rb +178 -0
  160. data/stripe-19.3.0/lib/stripe/params/credit_note_retrieve_params.rb +13 -0
  161. data/stripe-19.3.0/lib/stripe/params/credit_note_update_params.rb +19 -0
  162. data/stripe-19.3.0/lib/stripe/params/credit_note_void_credit_note_params.rb +13 -0
  163. data/stripe-19.3.0/lib/stripe/params/customer_balance_transaction_create_params.rb +25 -0
  164. data/stripe-19.3.0/lib/stripe/params/customer_balance_transaction_list_params.rb +52 -0
  165. data/stripe-19.3.0/lib/stripe/params/customer_balance_transaction_retrieve_params.rb +13 -0
  166. data/stripe-19.3.0/lib/stripe/params/customer_balance_transaction_update_params.rb +19 -0
  167. data/stripe-19.3.0/lib/stripe/params/customer_cash_balance_retrieve_params.rb +13 -0
  168. data/stripe-19.3.0/lib/stripe/params/customer_cash_balance_transaction_list_params.rb +22 -0
  169. data/stripe-19.3.0/lib/stripe/params/customer_cash_balance_transaction_retrieve_params.rb +13 -0
  170. data/stripe-19.3.0/lib/stripe/params/customer_cash_balance_update_params.rb +24 -0
  171. data/stripe-19.3.0/lib/stripe/params/customer_create_funding_instructions_params.rb +46 -0
  172. data/stripe-19.3.0/lib/stripe/params/customer_create_params.rb +259 -0
  173. data/stripe-19.3.0/lib/stripe/params/customer_delete_discount_params.rb +6 -0
  174. data/stripe-19.3.0/lib/stripe/params/customer_delete_params.rb +6 -0
  175. data/stripe-19.3.0/lib/stripe/params/customer_fund_cash_balance_params.rb +22 -0
  176. data/stripe-19.3.0/lib/stripe/params/customer_funding_instructions_create_params.rb +46 -0
  177. data/stripe-19.3.0/lib/stripe/params/customer_list_params.rb +56 -0
  178. data/stripe-19.3.0/lib/stripe/params/customer_list_payment_methods_params.rb +35 -0
  179. data/stripe-19.3.0/lib/stripe/params/customer_payment_method_list_params.rb +35 -0
  180. data/stripe-19.3.0/lib/stripe/params/customer_payment_method_retrieve_params.rb +13 -0
  181. data/stripe-19.3.0/lib/stripe/params/customer_payment_source_create_params.rb +22 -0
  182. data/stripe-19.3.0/lib/stripe/params/customer_payment_source_delete_params.rb +13 -0
  183. data/stripe-19.3.0/lib/stripe/params/customer_payment_source_list_params.rb +25 -0
  184. data/stripe-19.3.0/lib/stripe/params/customer_payment_source_retrieve_params.rb +13 -0
  185. data/stripe-19.3.0/lib/stripe/params/customer_payment_source_update_params.rb +114 -0
  186. data/stripe-19.3.0/lib/stripe/params/customer_payment_source_verify_params.rb +16 -0
  187. data/stripe-19.3.0/lib/stripe/params/customer_retrieve_params.rb +13 -0
  188. data/stripe-19.3.0/lib/stripe/params/customer_retrieve_payment_method_params.rb +13 -0
  189. data/stripe-19.3.0/lib/stripe/params/customer_search_params.rb +22 -0
  190. data/stripe-19.3.0/lib/stripe/params/customer_session_create_params.rb +188 -0
  191. data/stripe-19.3.0/lib/stripe/params/customer_tax_id_create_params.rb +19 -0
  192. data/stripe-19.3.0/lib/stripe/params/customer_tax_id_delete_params.rb +6 -0
  193. data/stripe-19.3.0/lib/stripe/params/customer_tax_id_list_params.rb +22 -0
  194. data/stripe-19.3.0/lib/stripe/params/customer_tax_id_retrieve_params.rb +13 -0
  195. data/stripe-19.3.0/lib/stripe/params/customer_update_params.rb +243 -0
  196. data/stripe-19.3.0/lib/stripe/params/dispute_close_params.rb +13 -0
  197. data/stripe-19.3.0/lib/stripe/params/dispute_list_params.rb +56 -0
  198. data/stripe-19.3.0/lib/stripe/params/dispute_retrieve_params.rb +13 -0
  199. data/stripe-19.3.0/lib/stripe/params/dispute_update_params.rb +324 -0
  200. data/stripe-19.3.0/lib/stripe/params/entitlements/active_entitlement_list_params.rb +33 -0
  201. data/stripe-19.3.0/lib/stripe/params/entitlements/active_entitlement_retrieve_params.rb +15 -0
  202. data/stripe-19.3.0/lib/stripe/params/entitlements/feature_create_params.rb +24 -0
  203. data/stripe-19.3.0/lib/stripe/params/entitlements/feature_list_params.rb +37 -0
  204. data/stripe-19.3.0/lib/stripe/params/entitlements/feature_retrieve_params.rb +15 -0
  205. data/stripe-19.3.0/lib/stripe/params/entitlements/feature_update_params.rb +24 -0
  206. data/stripe-19.3.0/lib/stripe/params/ephemeral_key_create_params.rb +31 -0
  207. data/stripe-19.3.0/lib/stripe/params/ephemeral_key_delete_params.rb +13 -0
  208. data/stripe-19.3.0/lib/stripe/params/event_list_params.rb +60 -0
  209. data/stripe-19.3.0/lib/stripe/params/event_retrieve_params.rb +13 -0
  210. data/stripe-19.3.0/lib/stripe/params/exchange_rate_list_params.rb +22 -0
  211. data/stripe-19.3.0/lib/stripe/params/exchange_rate_retrieve_params.rb +13 -0
  212. data/stripe-19.3.0/lib/stripe/params/file_create_params.rb +36 -0
  213. data/stripe-19.3.0/lib/stripe/params/file_link_create_params.rb +22 -0
  214. data/stripe-19.3.0/lib/stripe/params/file_link_list_params.rb +56 -0
  215. data/stripe-19.3.0/lib/stripe/params/file_link_retrieve_params.rb +13 -0
  216. data/stripe-19.3.0/lib/stripe/params/file_link_update_params.rb +19 -0
  217. data/stripe-19.3.0/lib/stripe/params/file_list_params.rb +52 -0
  218. data/stripe-19.3.0/lib/stripe/params/file_retrieve_params.rb +13 -0
  219. data/stripe-19.3.0/lib/stripe/params/financial_connections/account_disconnect_params.rb +15 -0
  220. data/stripe-19.3.0/lib/stripe/params/financial_connections/account_list_owners_params.rb +33 -0
  221. data/stripe-19.3.0/lib/stripe/params/financial_connections/account_list_params.rb +51 -0
  222. data/stripe-19.3.0/lib/stripe/params/financial_connections/account_owner_list_params.rb +33 -0
  223. data/stripe-19.3.0/lib/stripe/params/financial_connections/account_refresh_account_params.rb +18 -0
  224. data/stripe-19.3.0/lib/stripe/params/financial_connections/account_refresh_params.rb +18 -0
  225. data/stripe-19.3.0/lib/stripe/params/financial_connections/account_retrieve_params.rb +15 -0
  226. data/stripe-19.3.0/lib/stripe/params/financial_connections/account_subscribe_params.rb +18 -0
  227. data/stripe-19.3.0/lib/stripe/params/financial_connections/account_unsubscribe_params.rb +18 -0
  228. data/stripe-19.3.0/lib/stripe/params/financial_connections/session_create_params.rb +68 -0
  229. data/stripe-19.3.0/lib/stripe/params/financial_connections/session_retrieve_params.rb +15 -0
  230. data/stripe-19.3.0/lib/stripe/params/financial_connections/transaction_list_params.rb +67 -0
  231. data/stripe-19.3.0/lib/stripe/params/financial_connections/transaction_retrieve_params.rb +15 -0
  232. data/stripe-19.3.0/lib/stripe/params/forwarding/request_create_params.rb +59 -0
  233. data/stripe-19.3.0/lib/stripe/params/forwarding/request_list_params.rb +44 -0
  234. data/stripe-19.3.0/lib/stripe/params/forwarding/request_retrieve_params.rb +15 -0
  235. data/stripe-19.3.0/lib/stripe/params/identity/verification_report_list_params.rb +62 -0
  236. data/stripe-19.3.0/lib/stripe/params/identity/verification_report_retrieve_params.rb +15 -0
  237. data/stripe-19.3.0/lib/stripe/params/identity/verification_session_cancel_params.rb +15 -0
  238. data/stripe-19.3.0/lib/stripe/params/identity/verification_session_create_params.rb +111 -0
  239. data/stripe-19.3.0/lib/stripe/params/identity/verification_session_list_params.rb +66 -0
  240. data/stripe-19.3.0/lib/stripe/params/identity/verification_session_redact_params.rb +15 -0
  241. data/stripe-19.3.0/lib/stripe/params/identity/verification_session_retrieve_params.rb +15 -0
  242. data/stripe-19.3.0/lib/stripe/params/identity/verification_session_update_params.rb +69 -0
  243. data/stripe-19.3.0/lib/stripe/params/invoice_add_lines_params.rb +261 -0
  244. data/stripe-19.3.0/lib/stripe/params/invoice_attach_payment_params.rb +19 -0
  245. data/stripe-19.3.0/lib/stripe/params/invoice_create_params.rb +664 -0
  246. data/stripe-19.3.0/lib/stripe/params/invoice_create_preview_params.rb +1230 -0
  247. data/stripe-19.3.0/lib/stripe/params/invoice_delete_params.rb +6 -0
  248. data/stripe-19.3.0/lib/stripe/params/invoice_finalize_invoice_params.rb +16 -0
  249. data/stripe-19.3.0/lib/stripe/params/invoice_item_create_params.rb +165 -0
  250. data/stripe-19.3.0/lib/stripe/params/invoice_item_delete_params.rb +6 -0
  251. data/stripe-19.3.0/lib/stripe/params/invoice_item_list_params.rb +64 -0
  252. data/stripe-19.3.0/lib/stripe/params/invoice_item_retrieve_params.rb +13 -0
  253. data/stripe-19.3.0/lib/stripe/params/invoice_item_update_params.rb +145 -0
  254. data/stripe-19.3.0/lib/stripe/params/invoice_line_item_list_params.rb +22 -0
  255. data/stripe-19.3.0/lib/stripe/params/invoice_line_item_update_params.rb +232 -0
  256. data/stripe-19.3.0/lib/stripe/params/invoice_list_params.rb +90 -0
  257. data/stripe-19.3.0/lib/stripe/params/invoice_mark_uncollectible_params.rb +13 -0
  258. data/stripe-19.3.0/lib/stripe/params/invoice_pay_params.rb +41 -0
  259. data/stripe-19.3.0/lib/stripe/params/invoice_payment_list_params.rb +75 -0
  260. data/stripe-19.3.0/lib/stripe/params/invoice_payment_retrieve_params.rb +13 -0
  261. data/stripe-19.3.0/lib/stripe/params/invoice_remove_lines_params.rb +30 -0
  262. data/stripe-19.3.0/lib/stripe/params/invoice_rendering_template_archive_params.rb +13 -0
  263. data/stripe-19.3.0/lib/stripe/params/invoice_rendering_template_list_params.rb +25 -0
  264. data/stripe-19.3.0/lib/stripe/params/invoice_rendering_template_retrieve_params.rb +16 -0
  265. data/stripe-19.3.0/lib/stripe/params/invoice_rendering_template_unarchive_params.rb +13 -0
  266. data/stripe-19.3.0/lib/stripe/params/invoice_retrieve_params.rb +13 -0
  267. data/stripe-19.3.0/lib/stripe/params/invoice_search_params.rb +22 -0
  268. data/stripe-19.3.0/lib/stripe/params/invoice_send_invoice_params.rb +13 -0
  269. data/stripe-19.3.0/lib/stripe/params/invoice_update_lines_params.rb +261 -0
  270. data/stripe-19.3.0/lib/stripe/params/invoice_update_params.rb +628 -0
  271. data/stripe-19.3.0/lib/stripe/params/invoice_void_invoice_params.rb +13 -0
  272. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_approve_params.rb +21 -0
  273. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_capture_params.rb +390 -0
  274. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_create_params.rb +452 -0
  275. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_decline_params.rb +18 -0
  276. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_expire_params.rb +15 -0
  277. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +223 -0
  278. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_increment_params.rb +21 -0
  279. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_list_params.rb +62 -0
  280. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_respond_params.rb +18 -0
  281. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_retrieve_params.rb +15 -0
  282. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_reverse_params.rb +18 -0
  283. data/stripe-19.3.0/lib/stripe/params/issuing/authorization_update_params.rb +18 -0
  284. data/stripe-19.3.0/lib/stripe/params/issuing/card_create_params.rb +242 -0
  285. data/stripe-19.3.0/lib/stripe/params/issuing/card_deliver_card_params.rb +15 -0
  286. data/stripe-19.3.0/lib/stripe/params/issuing/card_fail_card_params.rb +15 -0
  287. data/stripe-19.3.0/lib/stripe/params/issuing/card_list_params.rb +78 -0
  288. data/stripe-19.3.0/lib/stripe/params/issuing/card_retrieve_params.rb +15 -0
  289. data/stripe-19.3.0/lib/stripe/params/issuing/card_return_card_params.rb +15 -0
  290. data/stripe-19.3.0/lib/stripe/params/issuing/card_ship_card_params.rb +15 -0
  291. data/stripe-19.3.0/lib/stripe/params/issuing/card_submit_card_params.rb +15 -0
  292. data/stripe-19.3.0/lib/stripe/params/issuing/card_update_params.rb +189 -0
  293. data/stripe-19.3.0/lib/stripe/params/issuing/cardholder_create_params.rb +246 -0
  294. data/stripe-19.3.0/lib/stripe/params/issuing/cardholder_list_params.rb +66 -0
  295. data/stripe-19.3.0/lib/stripe/params/issuing/cardholder_retrieve_params.rb +15 -0
  296. data/stripe-19.3.0/lib/stripe/params/issuing/cardholder_update_params.rb +238 -0
  297. data/stripe-19.3.0/lib/stripe/params/issuing/dispute_create_params.rb +297 -0
  298. data/stripe-19.3.0/lib/stripe/params/issuing/dispute_list_params.rb +58 -0
  299. data/stripe-19.3.0/lib/stripe/params/issuing/dispute_retrieve_params.rb +15 -0
  300. data/stripe-19.3.0/lib/stripe/params/issuing/dispute_submit_params.rb +18 -0
  301. data/stripe-19.3.0/lib/stripe/params/issuing/dispute_update_params.rb +275 -0
  302. data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_activate_params.rb +15 -0
  303. data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_create_params.rb +75 -0
  304. data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_deactivate_params.rb +15 -0
  305. data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_list_params.rb +52 -0
  306. data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_reject_params.rb +29 -0
  307. data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_retrieve_params.rb +15 -0
  308. data/stripe-19.3.0/lib/stripe/params/issuing/personalization_design_update_params.rb +75 -0
  309. data/stripe-19.3.0/lib/stripe/params/issuing/physical_bundle_list_params.rb +37 -0
  310. data/stripe-19.3.0/lib/stripe/params/issuing/physical_bundle_retrieve_params.rb +15 -0
  311. data/stripe-19.3.0/lib/stripe/params/issuing/token_list_params.rb +58 -0
  312. data/stripe-19.3.0/lib/stripe/params/issuing/token_retrieve_params.rb +15 -0
  313. data/stripe-19.3.0/lib/stripe/params/issuing/token_update_params.rb +18 -0
  314. data/stripe-19.3.0/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +441 -0
  315. data/stripe-19.3.0/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +441 -0
  316. data/stripe-19.3.0/lib/stripe/params/issuing/transaction_list_params.rb +62 -0
  317. data/stripe-19.3.0/lib/stripe/params/issuing/transaction_refund_params.rb +18 -0
  318. data/stripe-19.3.0/lib/stripe/params/issuing/transaction_retrieve_params.rb +15 -0
  319. data/stripe-19.3.0/lib/stripe/params/issuing/transaction_update_params.rb +18 -0
  320. data/stripe-19.3.0/lib/stripe/params/mandate_retrieve_params.rb +13 -0
  321. data/stripe-19.3.0/lib/stripe/params/payment_attempt_record_list_params.rb +22 -0
  322. data/stripe-19.3.0/lib/stripe/params/payment_attempt_record_retrieve_params.rb +13 -0
  323. data/stripe-19.3.0/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb +22 -0
  324. data/stripe-19.3.0/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +23 -0
  325. data/stripe-19.3.0/lib/stripe/params/payment_intent_cancel_params.rb +16 -0
  326. data/stripe-19.3.0/lib/stripe/params/payment_intent_capture_params.rb +291 -0
  327. data/stripe-19.3.0/lib/stripe/params/payment_intent_confirm_params.rb +2878 -0
  328. data/stripe-19.3.0/lib/stripe/params/payment_intent_create_params.rb +3009 -0
  329. data/stripe-19.3.0/lib/stripe/params/payment_intent_increment_authorization_params.rb +285 -0
  330. data/stripe-19.3.0/lib/stripe/params/payment_intent_list_params.rb +56 -0
  331. data/stripe-19.3.0/lib/stripe/params/payment_intent_retrieve_params.rb +16 -0
  332. data/stripe-19.3.0/lib/stripe/params/payment_intent_search_params.rb +22 -0
  333. data/stripe-19.3.0/lib/stripe/params/payment_intent_update_params.rb +2876 -0
  334. data/stripe-19.3.0/lib/stripe/params/payment_intent_verify_microdeposits_params.rb +19 -0
  335. data/stripe-19.3.0/lib/stripe/params/payment_link_create_params.rb +879 -0
  336. data/stripe-19.3.0/lib/stripe/params/payment_link_line_item_list_params.rb +22 -0
  337. data/stripe-19.3.0/lib/stripe/params/payment_link_list_line_items_params.rb +22 -0
  338. data/stripe-19.3.0/lib/stripe/params/payment_link_list_params.rb +25 -0
  339. data/stripe-19.3.0/lib/stripe/params/payment_link_retrieve_params.rb +13 -0
  340. data/stripe-19.3.0/lib/stripe/params/payment_link_update_params.rb +667 -0
  341. data/stripe-19.3.0/lib/stripe/params/payment_method_attach_params.rb +19 -0
  342. data/stripe-19.3.0/lib/stripe/params/payment_method_configuration_create_params.rb +1282 -0
  343. data/stripe-19.3.0/lib/stripe/params/payment_method_configuration_list_params.rb +35 -0
  344. data/stripe-19.3.0/lib/stripe/params/payment_method_configuration_retrieve_params.rb +13 -0
  345. data/stripe-19.3.0/lib/stripe/params/payment_method_configuration_update_params.rb +1282 -0
  346. data/stripe-19.3.0/lib/stripe/params/payment_method_create_params.rb +662 -0
  347. data/stripe-19.3.0/lib/stripe/params/payment_method_detach_params.rb +13 -0
  348. data/stripe-19.3.0/lib/stripe/params/payment_method_domain_create_params.rb +19 -0
  349. data/stripe-19.3.0/lib/stripe/params/payment_method_domain_list_params.rb +35 -0
  350. data/stripe-19.3.0/lib/stripe/params/payment_method_domain_retrieve_params.rb +13 -0
  351. data/stripe-19.3.0/lib/stripe/params/payment_method_domain_update_params.rb +16 -0
  352. data/stripe-19.3.0/lib/stripe/params/payment_method_domain_validate_params.rb +13 -0
  353. data/stripe-19.3.0/lib/stripe/params/payment_method_list_params.rb +43 -0
  354. data/stripe-19.3.0/lib/stripe/params/payment_method_retrieve_params.rb +13 -0
  355. data/stripe-19.3.0/lib/stripe/params/payment_method_update_params.rb +139 -0
  356. data/stripe-19.3.0/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +19 -0
  357. data/stripe-19.3.0/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +19 -0
  358. data/stripe-19.3.0/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +19 -0
  359. data/stripe-19.3.0/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +93 -0
  360. data/stripe-19.3.0/lib/stripe/params/payment_record_report_payment_attempt_params.rb +186 -0
  361. data/stripe-19.3.0/lib/stripe/params/payment_record_report_payment_params.rb +252 -0
  362. data/stripe-19.3.0/lib/stripe/params/payment_record_report_refund_params.rb +79 -0
  363. data/stripe-19.3.0/lib/stripe/params/payment_record_retrieve_params.rb +13 -0
  364. data/stripe-19.3.0/lib/stripe/params/payout_cancel_params.rb +13 -0
  365. data/stripe-19.3.0/lib/stripe/params/payout_create_params.rb +51 -0
  366. data/stripe-19.3.0/lib/stripe/params/payout_list_params.rb +78 -0
  367. data/stripe-19.3.0/lib/stripe/params/payout_retrieve_params.rb +13 -0
  368. data/stripe-19.3.0/lib/stripe/params/payout_reverse_params.rb +16 -0
  369. data/stripe-19.3.0/lib/stripe/params/payout_update_params.rb +16 -0
  370. data/stripe-19.3.0/lib/stripe/params/plan_create_params.rb +178 -0
  371. data/stripe-19.3.0/lib/stripe/params/plan_delete_params.rb +6 -0
  372. data/stripe-19.3.0/lib/stripe/params/plan_list_params.rb +56 -0
  373. data/stripe-19.3.0/lib/stripe/params/plan_retrieve_params.rb +13 -0
  374. data/stripe-19.3.0/lib/stripe/params/plan_update_params.rb +35 -0
  375. data/stripe-19.3.0/lib/stripe/params/price_create_params.rb +318 -0
  376. data/stripe-19.3.0/lib/stripe/params/price_list_params.rb +87 -0
  377. data/stripe-19.3.0/lib/stripe/params/price_retrieve_params.rb +13 -0
  378. data/stripe-19.3.0/lib/stripe/params/price_search_params.rb +22 -0
  379. data/stripe-19.3.0/lib/stripe/params/price_update_params.rb +133 -0
  380. data/stripe-19.3.0/lib/stripe/params/product_create_params.rb +276 -0
  381. data/stripe-19.3.0/lib/stripe/params/product_delete_params.rb +6 -0
  382. data/stripe-19.3.0/lib/stripe/params/product_feature_create_params.rb +16 -0
  383. data/stripe-19.3.0/lib/stripe/params/product_feature_delete_params.rb +6 -0
  384. data/stripe-19.3.0/lib/stripe/params/product_feature_list_params.rb +22 -0
  385. data/stripe-19.3.0/lib/stripe/params/product_feature_retrieve_params.rb +13 -0
  386. data/stripe-19.3.0/lib/stripe/params/product_list_params.rb +68 -0
  387. data/stripe-19.3.0/lib/stripe/params/product_retrieve_params.rb +13 -0
  388. data/stripe-19.3.0/lib/stripe/params/product_search_params.rb +22 -0
  389. data/stripe-19.3.0/lib/stripe/params/product_update_params.rb +96 -0
  390. data/stripe-19.3.0/lib/stripe/params/promotion_code_create_params.rb +95 -0
  391. data/stripe-19.3.0/lib/stripe/params/promotion_code_list_params.rb +68 -0
  392. data/stripe-19.3.0/lib/stripe/params/promotion_code_retrieve_params.rb +13 -0
  393. data/stripe-19.3.0/lib/stripe/params/promotion_code_update_params.rb +38 -0
  394. data/stripe-19.3.0/lib/stripe/params/quote_accept_params.rb +13 -0
  395. data/stripe-19.3.0/lib/stripe/params/quote_cancel_params.rb +13 -0
  396. data/stripe-19.3.0/lib/stripe/params/quote_computed_upfront_line_items_list_params.rb +22 -0
  397. data/stripe-19.3.0/lib/stripe/params/quote_create_params.rb +327 -0
  398. data/stripe-19.3.0/lib/stripe/params/quote_finalize_quote_params.rb +16 -0
  399. data/stripe-19.3.0/lib/stripe/params/quote_line_item_list_params.rb +22 -0
  400. data/stripe-19.3.0/lib/stripe/params/quote_list_computed_upfront_line_items_params.rb +22 -0
  401. data/stripe-19.3.0/lib/stripe/params/quote_list_line_items_params.rb +22 -0
  402. data/stripe-19.3.0/lib/stripe/params/quote_list_params.rb +43 -0
  403. data/stripe-19.3.0/lib/stripe/params/quote_pdf_params.rb +13 -0
  404. data/stripe-19.3.0/lib/stripe/params/quote_retrieve_params.rb +13 -0
  405. data/stripe-19.3.0/lib/stripe/params/quote_update_params.rb +289 -0
  406. data/stripe-19.3.0/lib/stripe/params/radar/early_fraud_warning_list_params.rb +58 -0
  407. data/stripe-19.3.0/lib/stripe/params/radar/early_fraud_warning_retrieve_params.rb +15 -0
  408. data/stripe-19.3.0/lib/stripe/params/radar/payment_evaluation_create_params.rb +223 -0
  409. data/stripe-19.3.0/lib/stripe/params/radar/value_list_create_params.rb +27 -0
  410. data/stripe-19.3.0/lib/stripe/params/radar/value_list_delete_params.rb +8 -0
  411. data/stripe-19.3.0/lib/stripe/params/radar/value_list_item_create_params.rb +21 -0
  412. data/stripe-19.3.0/lib/stripe/params/radar/value_list_item_delete_params.rb +8 -0
  413. data/stripe-19.3.0/lib/stripe/params/radar/value_list_item_list_params.rb +58 -0
  414. data/stripe-19.3.0/lib/stripe/params/radar/value_list_item_retrieve_params.rb +15 -0
  415. data/stripe-19.3.0/lib/stripe/params/radar/value_list_list_params.rb +58 -0
  416. data/stripe-19.3.0/lib/stripe/params/radar/value_list_retrieve_params.rb +15 -0
  417. data/stripe-19.3.0/lib/stripe/params/radar/value_list_update_params.rb +24 -0
  418. data/stripe-19.3.0/lib/stripe/params/refund_cancel_params.rb +13 -0
  419. data/stripe-19.3.0/lib/stripe/params/refund_create_params.rb +59 -0
  420. data/stripe-19.3.0/lib/stripe/params/refund_expire_params.rb +13 -0
  421. data/stripe-19.3.0/lib/stripe/params/refund_list_params.rb +56 -0
  422. data/stripe-19.3.0/lib/stripe/params/refund_retrieve_params.rb +13 -0
  423. data/stripe-19.3.0/lib/stripe/params/refund_update_params.rb +16 -0
  424. data/stripe-19.3.0/lib/stripe/params/reporting/report_run_create_params.rb +59 -0
  425. data/stripe-19.3.0/lib/stripe/params/reporting/report_run_list_params.rb +44 -0
  426. data/stripe-19.3.0/lib/stripe/params/reporting/report_run_retrieve_params.rb +15 -0
  427. data/stripe-19.3.0/lib/stripe/params/reporting/report_type_list_params.rb +15 -0
  428. data/stripe-19.3.0/lib/stripe/params/reporting/report_type_retrieve_params.rb +15 -0
  429. data/stripe-19.3.0/lib/stripe/params/review_approve_params.rb +13 -0
  430. data/stripe-19.3.0/lib/stripe/params/review_list_params.rb +42 -0
  431. data/stripe-19.3.0/lib/stripe/params/review_retrieve_params.rb +13 -0
  432. data/stripe-19.3.0/lib/stripe/params/setup_attempt_list_params.rb +55 -0
  433. data/stripe-19.3.0/lib/stripe/params/setup_intent_cancel_params.rb +16 -0
  434. data/stripe-19.3.0/lib/stripe/params/setup_intent_confirm_params.rb +1252 -0
  435. data/stripe-19.3.0/lib/stripe/params/setup_intent_create_params.rb +1342 -0
  436. data/stripe-19.3.0/lib/stripe/params/setup_intent_list_params.rb +66 -0
  437. data/stripe-19.3.0/lib/stripe/params/setup_intent_retrieve_params.rb +16 -0
  438. data/stripe-19.3.0/lib/stripe/params/setup_intent_update_params.rb +1237 -0
  439. data/stripe-19.3.0/lib/stripe/params/setup_intent_verify_microdeposits_params.rb +19 -0
  440. data/stripe-19.3.0/lib/stripe/params/shipping_rate_create_params.rb +103 -0
  441. data/stripe-19.3.0/lib/stripe/params/shipping_rate_list_params.rb +56 -0
  442. data/stripe-19.3.0/lib/stripe/params/shipping_rate_retrieve_params.rb +13 -0
  443. data/stripe-19.3.0/lib/stripe/params/shipping_rate_update_params.rb +44 -0
  444. data/stripe-19.3.0/lib/stripe/params/sigma/scheduled_query_run_list_params.rb +24 -0
  445. data/stripe-19.3.0/lib/stripe/params/sigma/scheduled_query_run_retrieve_params.rb +15 -0
  446. data/stripe-19.3.0/lib/stripe/params/source_create_params.rb +317 -0
  447. data/stripe-19.3.0/lib/stripe/params/source_detach_params.rb +13 -0
  448. data/stripe-19.3.0/lib/stripe/params/source_retrieve_params.rb +16 -0
  449. data/stripe-19.3.0/lib/stripe/params/source_transaction_list_params.rb +22 -0
  450. data/stripe-19.3.0/lib/stripe/params/source_update_params.rb +259 -0
  451. data/stripe-19.3.0/lib/stripe/params/source_verify_params.rb +16 -0
  452. data/stripe-19.3.0/lib/stripe/params/subscription_cancel_params.rb +33 -0
  453. data/stripe-19.3.0/lib/stripe/params/subscription_create_params.rb +917 -0
  454. data/stripe-19.3.0/lib/stripe/params/subscription_delete_discount_params.rb +6 -0
  455. data/stripe-19.3.0/lib/stripe/params/subscription_item_create_params.rb +138 -0
  456. data/stripe-19.3.0/lib/stripe/params/subscription_item_delete_params.rb +27 -0
  457. data/stripe-19.3.0/lib/stripe/params/subscription_item_list_params.rb +31 -0
  458. data/stripe-19.3.0/lib/stripe/params/subscription_item_retrieve_params.rb +13 -0
  459. data/stripe-19.3.0/lib/stripe/params/subscription_item_update_params.rb +138 -0
  460. data/stripe-19.3.0/lib/stripe/params/subscription_list_params.rb +133 -0
  461. data/stripe-19.3.0/lib/stripe/params/subscription_migrate_params.rb +35 -0
  462. data/stripe-19.3.0/lib/stripe/params/subscription_resume_params.rb +27 -0
  463. data/stripe-19.3.0/lib/stripe/params/subscription_retrieve_params.rb +13 -0
  464. data/stripe-19.3.0/lib/stripe/params/subscription_schedule_cancel_params.rb +19 -0
  465. data/stripe-19.3.0/lib/stripe/params/subscription_schedule_create_params.rb +668 -0
  466. data/stripe-19.3.0/lib/stripe/params/subscription_schedule_list_params.rb +126 -0
  467. data/stripe-19.3.0/lib/stripe/params/subscription_schedule_release_params.rb +16 -0
  468. data/stripe-19.3.0/lib/stripe/params/subscription_schedule_retrieve_params.rb +13 -0
  469. data/stripe-19.3.0/lib/stripe/params/subscription_schedule_update_params.rb +636 -0
  470. data/stripe-19.3.0/lib/stripe/params/subscription_search_params.rb +22 -0
  471. data/stripe-19.3.0/lib/stripe/params/subscription_update_params.rb +896 -0
  472. data/stripe-19.3.0/lib/stripe/params/tax/association_find_params.rb +18 -0
  473. data/stripe-19.3.0/lib/stripe/params/tax/calculation_create_params.rb +206 -0
  474. data/stripe-19.3.0/lib/stripe/params/tax/calculation_line_item_list_params.rb +24 -0
  475. data/stripe-19.3.0/lib/stripe/params/tax/calculation_list_line_items_params.rb +24 -0
  476. data/stripe-19.3.0/lib/stripe/params/tax/calculation_retrieve_params.rb +15 -0
  477. data/stripe-19.3.0/lib/stripe/params/tax/registration_create_params.rb +2044 -0
  478. data/stripe-19.3.0/lib/stripe/params/tax/registration_list_params.rb +27 -0
  479. data/stripe-19.3.0/lib/stripe/params/tax/registration_retrieve_params.rb +15 -0
  480. data/stripe-19.3.0/lib/stripe/params/tax/registration_update_params.rb +21 -0
  481. data/stripe-19.3.0/lib/stripe/params/tax/settings_retrieve_params.rb +15 -0
  482. data/stripe-19.3.0/lib/stripe/params/tax/settings_update_params.rb +71 -0
  483. data/stripe-19.3.0/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +27 -0
  484. data/stripe-19.3.0/lib/stripe/params/tax/transaction_create_reversal_params.rb +87 -0
  485. data/stripe-19.3.0/lib/stripe/params/tax/transaction_line_item_list_params.rb +24 -0
  486. data/stripe-19.3.0/lib/stripe/params/tax/transaction_list_line_items_params.rb +24 -0
  487. data/stripe-19.3.0/lib/stripe/params/tax/transaction_retrieve_params.rb +15 -0
  488. data/stripe-19.3.0/lib/stripe/params/tax_code_list_params.rb +22 -0
  489. data/stripe-19.3.0/lib/stripe/params/tax_code_retrieve_params.rb +13 -0
  490. data/stripe-19.3.0/lib/stripe/params/tax_id_create_params.rb +39 -0
  491. data/stripe-19.3.0/lib/stripe/params/tax_id_delete_params.rb +6 -0
  492. data/stripe-19.3.0/lib/stripe/params/tax_id_list_params.rb +42 -0
  493. data/stripe-19.3.0/lib/stripe/params/tax_id_retrieve_params.rb +13 -0
  494. data/stripe-19.3.0/lib/stripe/params/tax_rate_create_params.rb +55 -0
  495. data/stripe-19.3.0/lib/stripe/params/tax_rate_list_params.rb +56 -0
  496. data/stripe-19.3.0/lib/stripe/params/tax_rate_retrieve_params.rb +13 -0
  497. data/stripe-19.3.0/lib/stripe/params/tax_rate_update_params.rb +47 -0
  498. data/stripe-19.3.0/lib/stripe/params/terminal/configuration_create_params.rb +671 -0
  499. data/stripe-19.3.0/lib/stripe/params/terminal/configuration_delete_params.rb +8 -0
  500. data/stripe-19.3.0/lib/stripe/params/terminal/configuration_list_params.rb +33 -0
  501. data/stripe-19.3.0/lib/stripe/params/terminal/configuration_retrieve_params.rb +15 -0
  502. data/stripe-19.3.0/lib/stripe/params/terminal/configuration_update_params.rb +671 -0
  503. data/stripe-19.3.0/lib/stripe/params/terminal/connection_token_create_params.rb +18 -0
  504. data/stripe-19.3.0/lib/stripe/params/terminal/location_create_params.rb +153 -0
  505. data/stripe-19.3.0/lib/stripe/params/terminal/location_delete_params.rb +8 -0
  506. data/stripe-19.3.0/lib/stripe/params/terminal/location_list_params.rb +24 -0
  507. data/stripe-19.3.0/lib/stripe/params/terminal/location_retrieve_params.rb +15 -0
  508. data/stripe-19.3.0/lib/stripe/params/terminal/location_update_params.rb +153 -0
  509. data/stripe-19.3.0/lib/stripe/params/terminal/onboarding_link_create_params.rb +43 -0
  510. data/stripe-19.3.0/lib/stripe/params/terminal/reader_cancel_action_params.rb +15 -0
  511. data/stripe-19.3.0/lib/stripe/params/terminal/reader_collect_inputs_params.rb +96 -0
  512. data/stripe-19.3.0/lib/stripe/params/terminal/reader_collect_payment_method_params.rb +51 -0
  513. data/stripe-19.3.0/lib/stripe/params/terminal/reader_confirm_payment_intent_params.rb +29 -0
  514. data/stripe-19.3.0/lib/stripe/params/terminal/reader_create_params.rb +27 -0
  515. data/stripe-19.3.0/lib/stripe/params/terminal/reader_delete_params.rb +8 -0
  516. data/stripe-19.3.0/lib/stripe/params/terminal/reader_list_params.rb +45 -0
  517. data/stripe-19.3.0/lib/stripe/params/terminal/reader_present_payment_method_params.rb +72 -0
  518. data/stripe-19.3.0/lib/stripe/params/terminal/reader_process_payment_intent_params.rb +55 -0
  519. data/stripe-19.3.0/lib/stripe/params/terminal/reader_process_setup_intent_params.rb +32 -0
  520. data/stripe-19.3.0/lib/stripe/params/terminal/reader_refund_payment_params.rb +53 -0
  521. data/stripe-19.3.0/lib/stripe/params/terminal/reader_retrieve_params.rb +15 -0
  522. data/stripe-19.3.0/lib/stripe/params/terminal/reader_set_reader_display_params.rb +52 -0
  523. data/stripe-19.3.0/lib/stripe/params/terminal/reader_succeed_input_collection_params.rb +18 -0
  524. data/stripe-19.3.0/lib/stripe/params/terminal/reader_timeout_input_collection_params.rb +15 -0
  525. data/stripe-19.3.0/lib/stripe/params/terminal/reader_update_params.rb +21 -0
  526. data/stripe-19.3.0/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +717 -0
  527. data/stripe-19.3.0/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +24 -0
  528. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +395 -0
  529. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +457 -0
  530. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_expire_params.rb +17 -0
  531. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +228 -0
  532. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +23 -0
  533. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_respond_params.rb +20 -0
  534. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +20 -0
  535. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/card_deliver_card_params.rb +17 -0
  536. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/card_fail_card_params.rb +17 -0
  537. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/card_return_card_params.rb +17 -0
  538. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/card_ship_card_params.rb +17 -0
  539. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/card_submit_card_params.rb +17 -0
  540. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/personalization_design_activate_params.rb +17 -0
  541. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rb +17 -0
  542. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/personalization_design_reject_params.rb +31 -0
  543. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +446 -0
  544. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +446 -0
  545. data/stripe-19.3.0/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +20 -0
  546. data/stripe-19.3.0/lib/stripe/params/test_helpers/refund_expire_params.rb +15 -0
  547. data/stripe-19.3.0/lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb +74 -0
  548. data/stripe-19.3.0/lib/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rb +20 -0
  549. data/stripe-19.3.0/lib/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rb +17 -0
  550. data/stripe-19.3.0/lib/stripe/params/test_helpers/test_clock_advance_params.rb +18 -0
  551. data/stripe-19.3.0/lib/stripe/params/test_helpers/test_clock_create_params.rb +24 -0
  552. data/stripe-19.3.0/lib/stripe/params/test_helpers/test_clock_delete_params.rb +8 -0
  553. data/stripe-19.3.0/lib/stripe/params/test_helpers/test_clock_list_params.rb +24 -0
  554. data/stripe-19.3.0/lib/stripe/params/test_helpers/test_clock_retrieve_params.rb +15 -0
  555. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb +28 -0
  556. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb +17 -0
  557. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rb +17 -0
  558. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rb +17 -0
  559. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_payment_post_params.rb +17 -0
  560. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rb +28 -0
  561. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_payment_update_params.rb +57 -0
  562. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rb +17 -0
  563. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rb +17 -0
  564. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rb +28 -0
  565. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rb +57 -0
  566. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +68 -0
  567. data/stripe-19.3.0/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +68 -0
  568. data/stripe-19.3.0/lib/stripe/params/token_create_params.rb +1210 -0
  569. data/stripe-19.3.0/lib/stripe/params/token_retrieve_params.rb +13 -0
  570. data/stripe-19.3.0/lib/stripe/params/topup_cancel_params.rb +13 -0
  571. data/stripe-19.3.0/lib/stripe/params/topup_create_params.rb +67 -0
  572. data/stripe-19.3.0/lib/stripe/params/topup_list_params.rb +74 -0
  573. data/stripe-19.3.0/lib/stripe/params/topup_retrieve_params.rb +13 -0
  574. data/stripe-19.3.0/lib/stripe/params/topup_update_params.rb +19 -0
  575. data/stripe-19.3.0/lib/stripe/params/transfer_create_params.rb +47 -0
  576. data/stripe-19.3.0/lib/stripe/params/transfer_list_params.rb +56 -0
  577. data/stripe-19.3.0/lib/stripe/params/transfer_retrieve_params.rb +13 -0
  578. data/stripe-19.3.0/lib/stripe/params/transfer_reversal_create_params.rb +31 -0
  579. data/stripe-19.3.0/lib/stripe/params/transfer_reversal_list_params.rb +22 -0
  580. data/stripe-19.3.0/lib/stripe/params/transfer_reversal_retrieve_params.rb +13 -0
  581. data/stripe-19.3.0/lib/stripe/params/transfer_reversal_update_params.rb +16 -0
  582. data/stripe-19.3.0/lib/stripe/params/transfer_update_params.rb +19 -0
  583. data/stripe-19.3.0/lib/stripe/params/treasury/credit_reversal_create_params.rb +21 -0
  584. data/stripe-19.3.0/lib/stripe/params/treasury/credit_reversal_list_params.rb +41 -0
  585. data/stripe-19.3.0/lib/stripe/params/treasury/credit_reversal_retrieve_params.rb +15 -0
  586. data/stripe-19.3.0/lib/stripe/params/treasury/debit_reversal_create_params.rb +21 -0
  587. data/stripe-19.3.0/lib/stripe/params/treasury/debit_reversal_list_params.rb +45 -0
  588. data/stripe-19.3.0/lib/stripe/params/treasury/debit_reversal_retrieve_params.rb +15 -0
  589. data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_close_params.rb +32 -0
  590. data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_create_params.rb +201 -0
  591. data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_features_retrieve_params.rb +15 -0
  592. data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_features_update_params.rb +163 -0
  593. data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_list_params.rb +54 -0
  594. data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_retrieve_features_params.rb +15 -0
  595. data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_retrieve_params.rb +15 -0
  596. data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_update_features_params.rb +163 -0
  597. data/stripe-19.3.0/lib/stripe/params/treasury/financial_account_update_params.rb +216 -0
  598. data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_cancel_params.rb +15 -0
  599. data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_create_params.rb +45 -0
  600. data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_fail_params.rb +26 -0
  601. data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_list_params.rb +37 -0
  602. data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_retrieve_params.rb +15 -0
  603. data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb +15 -0
  604. data/stripe-19.3.0/lib/stripe/params/treasury/inbound_transfer_succeed_params.rb +15 -0
  605. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_cancel_params.rb +15 -0
  606. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_create_params.rb +190 -0
  607. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_fail_params.rb +15 -0
  608. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_list_params.rb +62 -0
  609. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_post_params.rb +15 -0
  610. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_retrieve_params.rb +15 -0
  611. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rb +26 -0
  612. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_payment_update_params.rb +55 -0
  613. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_cancel_params.rb +15 -0
  614. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_create_params.rb +81 -0
  615. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_fail_params.rb +15 -0
  616. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_list_params.rb +37 -0
  617. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_post_params.rb +15 -0
  618. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_retrieve_params.rb +15 -0
  619. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rb +26 -0
  620. data/stripe-19.3.0/lib/stripe/params/treasury/outbound_transfer_update_params.rb +55 -0
  621. data/stripe-19.3.0/lib/stripe/params/treasury/received_credit_create_params.rb +66 -0
  622. data/stripe-19.3.0/lib/stripe/params/treasury/received_credit_list_params.rb +49 -0
  623. data/stripe-19.3.0/lib/stripe/params/treasury/received_credit_retrieve_params.rb +15 -0
  624. data/stripe-19.3.0/lib/stripe/params/treasury/received_debit_create_params.rb +66 -0
  625. data/stripe-19.3.0/lib/stripe/params/treasury/received_debit_list_params.rb +37 -0
  626. data/stripe-19.3.0/lib/stripe/params/treasury/received_debit_retrieve_params.rb +15 -0
  627. data/stripe-19.3.0/lib/stripe/params/treasury/transaction_entry_list_params.rb +84 -0
  628. data/stripe-19.3.0/lib/stripe/params/treasury/transaction_entry_retrieve_params.rb +15 -0
  629. data/stripe-19.3.0/lib/stripe/params/treasury/transaction_list_params.rb +92 -0
  630. data/stripe-19.3.0/lib/stripe/params/treasury/transaction_retrieve_params.rb +15 -0
  631. data/stripe-19.3.0/lib/stripe/params/v2/billing/meter_event_adjustment_create_params.rb +31 -0
  632. data/stripe-19.3.0/lib/stripe/params/v2/billing/meter_event_create_params.rb +33 -0
  633. data/stripe-19.3.0/lib/stripe/params/v2/billing/meter_event_session_create_params.rb +10 -0
  634. data/stripe-19.3.0/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +41 -0
  635. data/stripe-19.3.0/lib/stripe/params/v2/commerce/product_catalog/import_create_params.rb +25 -0
  636. data/stripe-19.3.0/lib/stripe/params/v2/commerce/product_catalog/import_list_params.rb +54 -0
  637. data/stripe-19.3.0/lib/stripe/params/v2/commerce/product_catalog/import_retrieve_params.rb +12 -0
  638. data/stripe-19.3.0/lib/stripe/params/v2/core/account_close_params.rb +17 -0
  639. data/stripe-19.3.0/lib/stripe/params/v2/core/account_create_params.rb +2189 -0
  640. data/stripe-19.3.0/lib/stripe/params/v2/core/account_link_create_params.rb +101 -0
  641. data/stripe-19.3.0/lib/stripe/params/v2/core/account_list_params.rb +23 -0
  642. data/stripe-19.3.0/lib/stripe/params/v2/core/account_retrieve_params.rb +17 -0
  643. data/stripe-19.3.0/lib/stripe/params/v2/core/account_token_create_params.rb +1070 -0
  644. data/stripe-19.3.0/lib/stripe/params/v2/core/account_token_retrieve_params.rb +10 -0
  645. data/stripe-19.3.0/lib/stripe/params/v2/core/account_update_params.rb +2242 -0
  646. data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_create_params.rb +507 -0
  647. data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_delete_params.rb +12 -0
  648. data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_list_params.rb +19 -0
  649. data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +12 -0
  650. data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_token_create_params.rb +497 -0
  651. data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_token_retrieve_params.rb +12 -0
  652. data/stripe-19.3.0/lib/stripe/params/v2/core/accounts/person_update_params.rb +507 -0
  653. data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_create_params.rb +106 -0
  654. data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_delete_params.rb +10 -0
  655. data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_disable_params.rb +10 -0
  656. data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_enable_params.rb +10 -0
  657. data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_list_params.rb +20 -0
  658. data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_ping_params.rb +10 -0
  659. data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_retrieve_params.rb +17 -0
  660. data/stripe-19.3.0/lib/stripe/params/v2/core/event_destination_update_params.rb +47 -0
  661. data/stripe-19.3.0/lib/stripe/params/v2/core/event_list_params.rb +45 -0
  662. data/stripe-19.3.0/lib/stripe/params/v2/core/event_retrieve_params.rb +10 -0
  663. data/stripe-19.3.0/lib/stripe/params/webhook_endpoint_create_params.rb +39 -0
  664. data/stripe-19.3.0/lib/stripe/params/webhook_endpoint_delete_params.rb +6 -0
  665. data/stripe-19.3.0/lib/stripe/params/webhook_endpoint_list_params.rb +22 -0
  666. data/stripe-19.3.0/lib/stripe/params/webhook_endpoint_retrieve_params.rb +13 -0
  667. data/stripe-19.3.0/lib/stripe/params/webhook_endpoint_update_params.rb +35 -0
  668. data/stripe-19.3.0/lib/stripe/params.rb +1345 -0
  669. data/stripe-19.3.0/lib/stripe/railtie.rb +8 -0
  670. data/stripe-19.3.0/lib/stripe/request_options.rb +138 -0
  671. data/stripe-19.3.0/lib/stripe/request_params.rb +140 -0
  672. data/stripe-19.3.0/lib/stripe/resources/account.rb +1295 -0
  673. data/stripe-19.3.0/lib/stripe/resources/account_link.rb +39 -0
  674. data/stripe-19.3.0/lib/stripe/resources/account_session.rb +737 -0
  675. data/stripe-19.3.0/lib/stripe/resources/apple_pay_domain.rb +76 -0
  676. data/stripe-19.3.0/lib/stripe/resources/application.rb +28 -0
  677. data/stripe-19.3.0/lib/stripe/resources/application_fee.rb +76 -0
  678. data/stripe-19.3.0/lib/stripe/resources/application_fee_refund.rb +63 -0
  679. data/stripe-19.3.0/lib/stripe/resources/apps/secret.rb +96 -0
  680. data/stripe-19.3.0/lib/stripe/resources/balance.rb +340 -0
  681. data/stripe-19.3.0/lib/stripe/resources/balance_settings.rb +132 -0
  682. data/stripe-19.3.0/lib/stripe/resources/balance_transaction.rb +90 -0
  683. data/stripe-19.3.0/lib/stripe/resources/bank_account.rb +214 -0
  684. data/stripe-19.3.0/lib/stripe/resources/billing/alert.rb +142 -0
  685. data/stripe-19.3.0/lib/stripe/resources/billing/alert_triggered.rb +34 -0
  686. data/stripe-19.3.0/lib/stripe/resources/billing/credit_balance_summary.rb +104 -0
  687. data/stripe-19.3.0/lib/stripe/resources/billing/credit_balance_transaction.rb +177 -0
  688. data/stripe-19.3.0/lib/stripe/resources/billing/credit_grant.rb +200 -0
  689. data/stripe-19.3.0/lib/stripe/resources/billing/meter.rb +178 -0
  690. data/stripe-19.3.0/lib/stripe/resources/billing/meter_event.rb +49 -0
  691. data/stripe-19.3.0/lib/stripe/resources/billing/meter_event_adjustment.rb +59 -0
  692. data/stripe-19.3.0/lib/stripe/resources/billing/meter_event_summary.rb +40 -0
  693. data/stripe-19.3.0/lib/stripe/resources/billing_portal/configuration.rb +306 -0
  694. data/stripe-19.3.0/lib/stripe/resources/billing_portal/session.rb +240 -0
  695. data/stripe-19.3.0/lib/stripe/resources/capability.rb +179 -0
  696. data/stripe-19.3.0/lib/stripe/resources/card.rb +162 -0
  697. data/stripe-19.3.0/lib/stripe/resources/cash_balance.rb +61 -0
  698. data/stripe-19.3.0/lib/stripe/resources/charge.rb +2418 -0
  699. data/stripe-19.3.0/lib/stripe/resources/checkout/session.rb +2541 -0
  700. data/stripe-19.3.0/lib/stripe/resources/climate/order.rb +177 -0
  701. data/stripe-19.3.0/lib/stripe/resources/climate/product.rb +76 -0
  702. data/stripe-19.3.0/lib/stripe/resources/climate/supplier.rb +69 -0
  703. data/stripe-19.3.0/lib/stripe/resources/confirmation_token.rb +1808 -0
  704. data/stripe-19.3.0/lib/stripe/resources/connect_collection_transfer.rb +32 -0
  705. data/stripe-19.3.0/lib/stripe/resources/country_spec.rb +92 -0
  706. data/stripe-19.3.0/lib/stripe/resources/coupon.rb +131 -0
  707. data/stripe-19.3.0/lib/stripe/resources/credit_note.rb +317 -0
  708. data/stripe-19.3.0/lib/stripe/resources/credit_note_line_item.rb +129 -0
  709. data/stripe-19.3.0/lib/stripe/resources/customer.rb +450 -0
  710. data/stripe-19.3.0/lib/stripe/resources/customer_balance_transaction.rb +78 -0
  711. data/stripe-19.3.0/lib/stripe/resources/customer_cash_balance_transaction.rb +234 -0
  712. data/stripe-19.3.0/lib/stripe/resources/customer_session.rb +228 -0
  713. data/stripe-19.3.0/lib/stripe/resources/discount.rb +66 -0
  714. data/stripe-19.3.0/lib/stripe/resources/dispute.rb +496 -0
  715. data/stripe-19.3.0/lib/stripe/resources/entitlements/active_entitlement.rb +45 -0
  716. data/stripe-19.3.0/lib/stripe/resources/entitlements/active_entitlement_summary.rb +31 -0
  717. data/stripe-19.3.0/lib/stripe/resources/entitlements/feature.rb +72 -0
  718. data/stripe-19.3.0/lib/stripe/resources/ephemeral_key.rb +64 -0
  719. data/stripe-19.3.0/lib/stripe/resources/event.rb +96 -0
  720. data/stripe-19.3.0/lib/stripe/resources/exchange_rate.rb +69 -0
  721. data/stripe-19.3.0/lib/stripe/resources/file.rb +89 -0
  722. data/stripe-19.3.0/lib/stripe/resources/file_link.rb +65 -0
  723. data/stripe-19.3.0/lib/stripe/resources/financial_connections/account.rb +375 -0
  724. data/stripe-19.3.0/lib/stripe/resources/financial_connections/account_owner.rb +39 -0
  725. data/stripe-19.3.0/lib/stripe/resources/financial_connections/account_ownership.rb +31 -0
  726. data/stripe-19.3.0/lib/stripe/resources/financial_connections/session.rb +88 -0
  727. data/stripe-19.3.0/lib/stripe/resources/financial_connections/transaction.rb +73 -0
  728. data/stripe-19.3.0/lib/stripe/resources/forwarding/request.rb +163 -0
  729. data/stripe-19.3.0/lib/stripe/resources/funding_instructions.rb +525 -0
  730. data/stripe-19.3.0/lib/stripe/resources/identity/verification_report.rb +408 -0
  731. data/stripe-19.3.0/lib/stripe/resources/identity/verification_session.rb +428 -0
  732. data/stripe-19.3.0/lib/stripe/resources/invoice.rb +1361 -0
  733. data/stripe-19.3.0/lib/stripe/resources/invoice_item.rb +271 -0
  734. data/stripe-19.3.0/lib/stripe/resources/invoice_line_item.rb +321 -0
  735. data/stripe-19.3.0/lib/stripe/resources/invoice_payment.rb +92 -0
  736. data/stripe-19.3.0/lib/stripe/resources/invoice_rendering_template.rb +90 -0
  737. data/stripe-19.3.0/lib/stripe/resources/issuing/authorization.rb +762 -0
  738. data/stripe-19.3.0/lib/stripe/resources/issuing/card.rb +463 -0
  739. data/stripe-19.3.0/lib/stripe/resources/issuing/cardholder.rb +296 -0
  740. data/stripe-19.3.0/lib/stripe/resources/issuing/dispute.rb +324 -0
  741. data/stripe-19.3.0/lib/stripe/resources/issuing/personalization_design.rb +206 -0
  742. data/stripe-19.3.0/lib/stripe/resources/issuing/physical_bundle.rb +65 -0
  743. data/stripe-19.3.0/lib/stripe/resources/issuing/token.rb +195 -0
  744. data/stripe-19.3.0/lib/stripe/resources/issuing/transaction.rb +571 -0
  745. data/stripe-19.3.0/lib/stripe/resources/line_item.rb +108 -0
  746. data/stripe-19.3.0/lib/stripe/resources/login_link.rb +35 -0
  747. data/stripe-19.3.0/lib/stripe/resources/mandate.rb +468 -0
  748. data/stripe-19.3.0/lib/stripe/resources/payment_attempt_record.rb +2060 -0
  749. data/stripe-19.3.0/lib/stripe/resources/payment_intent.rb +3456 -0
  750. data/stripe-19.3.0/lib/stripe/resources/payment_intent_amount_details_line_item.rb +138 -0
  751. data/stripe-19.3.0/lib/stripe/resources/payment_link.rb +849 -0
  752. data/stripe-19.3.0/lib/stripe/resources/payment_method.rb +1754 -0
  753. data/stripe-19.3.0/lib/stripe/resources/payment_method_configuration.rb +2056 -0
  754. data/stripe-19.3.0/lib/stripe/resources/payment_method_domain.rb +280 -0
  755. data/stripe-19.3.0/lib/stripe/resources/payment_record.rb +2190 -0
  756. data/stripe-19.3.0/lib/stripe/resources/payout.rb +168 -0
  757. data/stripe-19.3.0/lib/stripe/resources/person.rb +506 -0
  758. data/stripe-19.3.0/lib/stripe/resources/plan.rb +170 -0
  759. data/stripe-19.3.0/lib/stripe/resources/price.rb +280 -0
  760. data/stripe-19.3.0/lib/stripe/resources/product.rb +159 -0
  761. data/stripe-19.3.0/lib/stripe/resources/product_feature.rb +33 -0
  762. data/stripe-19.3.0/lib/stripe/resources/promotion_code.rb +122 -0
  763. data/stripe-19.3.0/lib/stripe/resources/quote.rb +675 -0
  764. data/stripe-19.3.0/lib/stripe/resources/radar/early_fraud_warning.rb +54 -0
  765. data/stripe-19.3.0/lib/stripe/resources/radar/payment_evaluation.rb +497 -0
  766. data/stripe-19.3.0/lib/stripe/resources/radar/value_list.rb +102 -0
  767. data/stripe-19.3.0/lib/stripe/resources/radar/value_list_item.rb +85 -0
  768. data/stripe-19.3.0/lib/stripe/resources/refund.rb +781 -0
  769. data/stripe-19.3.0/lib/stripe/resources/reporting/report_run.rb +104 -0
  770. data/stripe-19.3.0/lib/stripe/resources/reporting/report_type.rb +60 -0
  771. data/stripe-19.3.0/lib/stripe/resources/reserve/hold.rb +84 -0
  772. data/stripe-19.3.0/lib/stripe/resources/reserve/plan.rb +78 -0
  773. data/stripe-19.3.0/lib/stripe/resources/reserve/release.rb +65 -0
  774. data/stripe-19.3.0/lib/stripe/resources/reserve_transaction.rb +30 -0
  775. data/stripe-19.3.0/lib/stripe/resources/reversal.rb +74 -0
  776. data/stripe-19.3.0/lib/stripe/resources/review.rb +118 -0
  777. data/stripe-19.3.0/lib/stripe/resources/setup_attempt.rb +683 -0
  778. data/stripe-19.3.0/lib/stripe/resources/setup_intent.rb +942 -0
  779. data/stripe-19.3.0/lib/stripe/resources/shipping_rate.rb +144 -0
  780. data/stripe-19.3.0/lib/stripe/resources/sigma/scheduled_query_run.rb +76 -0
  781. data/stripe-19.3.0/lib/stripe/resources/source.rb +972 -0
  782. data/stripe-19.3.0/lib/stripe/resources/source_mandate_notification.rb +98 -0
  783. data/stripe-19.3.0/lib/stripe/resources/source_transaction.rb +154 -0
  784. data/stripe-19.3.0/lib/stripe/resources/subscription.rb +975 -0
  785. data/stripe-19.3.0/lib/stripe/resources/subscription_item.rb +131 -0
  786. data/stripe-19.3.0/lib/stripe/resources/subscription_schedule.rb +618 -0
  787. data/stripe-19.3.0/lib/stripe/resources/tax/association.rb +86 -0
  788. data/stripe-19.3.0/lib/stripe/resources/tax/calculation.rb +321 -0
  789. data/stripe-19.3.0/lib/stripe/resources/tax/calculation_line_item.rb +103 -0
  790. data/stripe-19.3.0/lib/stripe/resources/tax/registration.rb +2275 -0
  791. data/stripe-19.3.0/lib/stripe/resources/tax/settings.rb +131 -0
  792. data/stripe-19.3.0/lib/stripe/resources/tax/transaction.rb +287 -0
  793. data/stripe-19.3.0/lib/stripe/resources/tax/transaction_line_item.rb +60 -0
  794. data/stripe-19.3.0/lib/stripe/resources/tax_code.rb +36 -0
  795. data/stripe-19.3.0/lib/stripe/resources/tax_deducted_at_source.rb +30 -0
  796. data/stripe-19.3.0/lib/stripe/resources/tax_id.rb +119 -0
  797. data/stripe-19.3.0/lib/stripe/resources/tax_rate.rb +99 -0
  798. data/stripe-19.3.0/lib/stripe/resources/terminal/configuration.rb +799 -0
  799. data/stripe-19.3.0/lib/stripe/resources/terminal/connection_token.rb +43 -0
  800. data/stripe-19.3.0/lib/stripe/resources/terminal/location.rb +183 -0
  801. data/stripe-19.3.0/lib/stripe/resources/terminal/onboarding_link.rb +71 -0
  802. data/stripe-19.3.0/lib/stripe/resources/terminal/reader.rb +925 -0
  803. data/stripe-19.3.0/lib/stripe/resources/test_helpers/test_clock.rb +133 -0
  804. data/stripe-19.3.0/lib/stripe/resources/token.rb +76 -0
  805. data/stripe-19.3.0/lib/stripe/resources/topup.rb +101 -0
  806. data/stripe-19.3.0/lib/stripe/resources/transfer.rb +93 -0
  807. data/stripe-19.3.0/lib/stripe/resources/treasury/credit_reversal.rb +86 -0
  808. data/stripe-19.3.0/lib/stripe/resources/treasury/debit_reversal.rb +101 -0
  809. data/stripe-19.3.0/lib/stripe/resources/treasury/financial_account.rb +253 -0
  810. data/stripe-19.3.0/lib/stripe/resources/treasury/financial_account_features.rb +396 -0
  811. data/stripe-19.3.0/lib/stripe/resources/treasury/inbound_transfer.rb +308 -0
  812. data/stripe-19.3.0/lib/stripe/resources/treasury/outbound_payment.rb +408 -0
  813. data/stripe-19.3.0/lib/stripe/resources/treasury/outbound_transfer.rb +388 -0
  814. data/stripe-19.3.0/lib/stripe/resources/treasury/received_credit.rb +261 -0
  815. data/stripe-19.3.0/lib/stripe/resources/treasury/received_debit.rb +226 -0
  816. data/stripe-19.3.0/lib/stripe/resources/treasury/transaction.rb +143 -0
  817. data/stripe-19.3.0/lib/stripe/resources/treasury/transaction_entry.rb +124 -0
  818. data/stripe-19.3.0/lib/stripe/resources/v2/amount.rb +9 -0
  819. data/stripe-19.3.0/lib/stripe/resources/v2/billing/meter_event.rb +43 -0
  820. data/stripe-19.3.0/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +53 -0
  821. data/stripe-19.3.0/lib/stripe/resources/v2/billing/meter_event_session.rb +38 -0
  822. data/stripe-19.3.0/lib/stripe/resources/v2/commerce/product_catalog_import.rb +276 -0
  823. data/stripe-19.3.0/lib/stripe/resources/v2/core/account.rb +3645 -0
  824. data/stripe-19.3.0/lib/stripe/resources/v2/core/account_link.rb +123 -0
  825. data/stripe-19.3.0/lib/stripe/resources/v2/core/account_person.rb +487 -0
  826. data/stripe-19.3.0/lib/stripe/resources/v2/core/account_person_token.rb +37 -0
  827. data/stripe-19.3.0/lib/stripe/resources/v2/core/account_token.rb +37 -0
  828. data/stripe-19.3.0/lib/stripe/resources/v2/core/event.rb +70 -0
  829. data/stripe-19.3.0/lib/stripe/resources/v2/core/event_destination.rb +147 -0
  830. data/stripe-19.3.0/lib/stripe/resources/v2/core/event_notification.rb +63 -0
  831. data/stripe-19.3.0/lib/stripe/resources/v2/deleted_object.rb +21 -0
  832. data/stripe-19.3.0/lib/stripe/resources/webhook_endpoint.rb +103 -0
  833. data/stripe-19.3.0/lib/stripe/resources.rb +503 -0
  834. data/stripe-19.3.0/lib/stripe/search_result_object.rb +89 -0
  835. data/stripe-19.3.0/lib/stripe/services/account_capability_service.rb +39 -0
  836. data/stripe-19.3.0/lib/stripe/services/account_external_account_service.rb +68 -0
  837. data/stripe-19.3.0/lib/stripe/services/account_link_service.rb +17 -0
  838. data/stripe-19.3.0/lib/stripe/services/account_login_link_service.rb +19 -0
  839. data/stripe-19.3.0/lib/stripe/services/account_person_service.rb +61 -0
  840. data/stripe-19.3.0/lib/stripe/services/account_service.rb +100 -0
  841. data/stripe-19.3.0/lib/stripe/services/account_session_service.rb +17 -0
  842. data/stripe-19.3.0/lib/stripe/services/apple_pay_domain_service.rb +50 -0
  843. data/stripe-19.3.0/lib/stripe/services/application_fee_refund_service.rb +60 -0
  844. data/stripe-19.3.0/lib/stripe/services/application_fee_service.rb +35 -0
  845. data/stripe-19.3.0/lib/stripe/services/apps/secret_service.rb +52 -0
  846. data/stripe-19.3.0/lib/stripe/services/apps_service.rb +13 -0
  847. data/stripe-19.3.0/lib/stripe/services/balance_service.rb +12 -0
  848. data/stripe-19.3.0/lib/stripe/services/balance_settings_service.rb +30 -0
  849. data/stripe-19.3.0/lib/stripe/services/balance_transaction_service.rb +32 -0
  850. data/stripe-19.3.0/lib/stripe/services/billing/alert_service.rb +74 -0
  851. data/stripe-19.3.0/lib/stripe/services/billing/credit_balance_summary_service.rb +19 -0
  852. data/stripe-19.3.0/lib/stripe/services/billing/credit_balance_transaction_service.rb +30 -0
  853. data/stripe-19.3.0/lib/stripe/services/billing/credit_grant_service.rb +74 -0
  854. data/stripe-19.3.0/lib/stripe/services/billing/meter_event_adjustment_service.rb +19 -0
  855. data/stripe-19.3.0/lib/stripe/services/billing/meter_event_service.rb +19 -0
  856. data/stripe-19.3.0/lib/stripe/services/billing/meter_event_summary_service.rb +19 -0
  857. data/stripe-19.3.0/lib/stripe/services/billing/meter_service.rb +81 -0
  858. data/stripe-19.3.0/lib/stripe/services/billing_portal/configuration_service.rb +52 -0
  859. data/stripe-19.3.0/lib/stripe/services/billing_portal/session_service.rb +19 -0
  860. data/stripe-19.3.0/lib/stripe/services/billing_portal_service.rb +14 -0
  861. data/stripe-19.3.0/lib/stripe/services/billing_service.rb +20 -0
  862. data/stripe-19.3.0/lib/stripe/services/charge_service.rb +69 -0
  863. data/stripe-19.3.0/lib/stripe/services/checkout/session_line_item_service.rb +19 -0
  864. data/stripe-19.3.0/lib/stripe/services/checkout/session_service.rb +82 -0
  865. data/stripe-19.3.0/lib/stripe/services/checkout_service.rb +13 -0
  866. data/stripe-19.3.0/lib/stripe/services/climate/order_service.rb +70 -0
  867. data/stripe-19.3.0/lib/stripe/services/climate/product_service.rb +30 -0
  868. data/stripe-19.3.0/lib/stripe/services/climate/supplier_service.rb +30 -0
  869. data/stripe-19.3.0/lib/stripe/services/climate_service.rb +15 -0
  870. data/stripe-19.3.0/lib/stripe/services/confirmation_token_service.rb +17 -0
  871. data/stripe-19.3.0/lib/stripe/services/country_spec_service.rb +28 -0
  872. data/stripe-19.3.0/lib/stripe/services/coupon_service.rb +51 -0
  873. data/stripe-19.3.0/lib/stripe/services/credit_note_line_item_service.rb +17 -0
  874. data/stripe-19.3.0/lib/stripe/services/credit_note_preview_lines_service.rb +21 -0
  875. data/stripe-19.3.0/lib/stripe/services/credit_note_service.rb +98 -0
  876. data/stripe-19.3.0/lib/stripe/services/customer_balance_transaction_service.rb +50 -0
  877. data/stripe-19.3.0/lib/stripe/services/customer_cash_balance_service.rb +28 -0
  878. data/stripe-19.3.0/lib/stripe/services/customer_cash_balance_transaction_service.rb +28 -0
  879. data/stripe-19.3.0/lib/stripe/services/customer_funding_instructions_service.rb +19 -0
  880. data/stripe-19.3.0/lib/stripe/services/customer_payment_method_service.rb +28 -0
  881. data/stripe-19.3.0/lib/stripe/services/customer_payment_source_service.rb +76 -0
  882. data/stripe-19.3.0/lib/stripe/services/customer_service.rb +89 -0
  883. data/stripe-19.3.0/lib/stripe/services/customer_session_service.rb +17 -0
  884. data/stripe-19.3.0/lib/stripe/services/customer_tax_id_service.rb +50 -0
  885. data/stripe-19.3.0/lib/stripe/services/dispute_service.rb +48 -0
  886. data/stripe-19.3.0/lib/stripe/services/entitlements/active_entitlement_service.rb +30 -0
  887. data/stripe-19.3.0/lib/stripe/services/entitlements/feature_service.rb +52 -0
  888. data/stripe-19.3.0/lib/stripe/services/entitlements_service.rb +14 -0
  889. data/stripe-19.3.0/lib/stripe/services/ephemeral_key_service.rb +28 -0
  890. data/stripe-19.3.0/lib/stripe/services/event_service.rb +22 -0
  891. data/stripe-19.3.0/lib/stripe/services/exchange_rate_service.rb +32 -0
  892. data/stripe-19.3.0/lib/stripe/services/file_link_service.rb +38 -0
  893. data/stripe-19.3.0/lib/stripe/services/file_service.rb +35 -0
  894. data/stripe-19.3.0/lib/stripe/services/financial_connections/account_owner_service.rb +19 -0
  895. data/stripe-19.3.0/lib/stripe/services/financial_connections/account_service.rb +81 -0
  896. data/stripe-19.3.0/lib/stripe/services/financial_connections/session_service.rb +30 -0
  897. data/stripe-19.3.0/lib/stripe/services/financial_connections/transaction_service.rb +30 -0
  898. data/stripe-19.3.0/lib/stripe/services/financial_connections_service.rb +15 -0
  899. data/stripe-19.3.0/lib/stripe/services/forwarding/request_service.rb +41 -0
  900. data/stripe-19.3.0/lib/stripe/services/forwarding_service.rb +13 -0
  901. data/stripe-19.3.0/lib/stripe/services/identity/verification_report_service.rb +30 -0
  902. data/stripe-19.3.0/lib/stripe/services/identity/verification_session_service.rb +106 -0
  903. data/stripe-19.3.0/lib/stripe/services/identity_service.rb +14 -0
  904. data/stripe-19.3.0/lib/stripe/services/invoice_item_service.rb +65 -0
  905. data/stripe-19.3.0/lib/stripe/services/invoice_line_item_service.rb +33 -0
  906. data/stripe-19.3.0/lib/stripe/services/invoice_payment_service.rb +28 -0
  907. data/stripe-19.3.0/lib/stripe/services/invoice_rendering_template_service.rb +50 -0
  908. data/stripe-19.3.0/lib/stripe/services/invoice_service.rb +212 -0
  909. data/stripe-19.3.0/lib/stripe/services/issuing/authorization_service.rb +65 -0
  910. data/stripe-19.3.0/lib/stripe/services/issuing/card_service.rb +52 -0
  911. data/stripe-19.3.0/lib/stripe/services/issuing/cardholder_service.rb +52 -0
  912. data/stripe-19.3.0/lib/stripe/services/issuing/dispute_service.rb +63 -0
  913. data/stripe-19.3.0/lib/stripe/services/issuing/personalization_design_service.rb +52 -0
  914. data/stripe-19.3.0/lib/stripe/services/issuing/physical_bundle_service.rb +30 -0
  915. data/stripe-19.3.0/lib/stripe/services/issuing/token_service.rb +41 -0
  916. data/stripe-19.3.0/lib/stripe/services/issuing/transaction_service.rb +41 -0
  917. data/stripe-19.3.0/lib/stripe/services/issuing_service.rb +20 -0
  918. data/stripe-19.3.0/lib/stripe/services/mandate_service.rb +17 -0
  919. data/stripe-19.3.0/lib/stripe/services/oauth_service.rb +63 -0
  920. data/stripe-19.3.0/lib/stripe/services/payment_attempt_record_service.rb +28 -0
  921. data/stripe-19.3.0/lib/stripe/services/payment_intent_amount_details_line_item_service.rb +17 -0
  922. data/stripe-19.3.0/lib/stripe/services/payment_intent_service.rb +218 -0
  923. data/stripe-19.3.0/lib/stripe/services/payment_link_line_item_service.rb +17 -0
  924. data/stripe-19.3.0/lib/stripe/services/payment_link_service.rb +59 -0
  925. data/stripe-19.3.0/lib/stripe/services/payment_method_configuration_service.rb +50 -0
  926. data/stripe-19.3.0/lib/stripe/services/payment_method_domain_service.rb +66 -0
  927. data/stripe-19.3.0/lib/stripe/services/payment_method_service.rb +86 -0
  928. data/stripe-19.3.0/lib/stripe/services/payment_record_service.rb +101 -0
  929. data/stripe-19.3.0/lib/stripe/services/payout_service.rb +66 -0
  930. data/stripe-19.3.0/lib/stripe/services/plan_service.rb +51 -0
  931. data/stripe-19.3.0/lib/stripe/services/price_service.rb +54 -0
  932. data/stripe-19.3.0/lib/stripe/services/product_feature_service.rb +50 -0
  933. data/stripe-19.3.0/lib/stripe/services/product_service.rb +72 -0
  934. data/stripe-19.3.0/lib/stripe/services/promotion_code_service.rb +50 -0
  935. data/stripe-19.3.0/lib/stripe/services/quote_computed_upfront_line_items_service.rb +17 -0
  936. data/stripe-19.3.0/lib/stripe/services/quote_line_item_service.rb +17 -0
  937. data/stripe-19.3.0/lib/stripe/services/quote_service.rb +96 -0
  938. data/stripe-19.3.0/lib/stripe/services/radar/early_fraud_warning_service.rb +32 -0
  939. data/stripe-19.3.0/lib/stripe/services/radar/payment_evaluation_service.rb +19 -0
  940. data/stripe-19.3.0/lib/stripe/services/radar/value_list_item_service.rb +52 -0
  941. data/stripe-19.3.0/lib/stripe/services/radar/value_list_service.rb +63 -0
  942. data/stripe-19.3.0/lib/stripe/services/radar_service.rb +16 -0
  943. data/stripe-19.3.0/lib/stripe/services/refund_service.rb +63 -0
  944. data/stripe-19.3.0/lib/stripe/services/reporting/report_run_service.rb +41 -0
  945. data/stripe-19.3.0/lib/stripe/services/reporting/report_type_service.rb +30 -0
  946. data/stripe-19.3.0/lib/stripe/services/reporting_service.rb +14 -0
  947. data/stripe-19.3.0/lib/stripe/services/review_service.rb +33 -0
  948. data/stripe-19.3.0/lib/stripe/services/setup_attempt_service.rb +17 -0
  949. data/stripe-19.3.0/lib/stripe/services/setup_intent_service.rb +105 -0
  950. data/stripe-19.3.0/lib/stripe/services/shipping_rate_service.rb +50 -0
  951. data/stripe-19.3.0/lib/stripe/services/sigma/scheduled_query_run_service.rb +30 -0
  952. data/stripe-19.3.0/lib/stripe/services/sigma_service.rb +13 -0
  953. data/stripe-19.3.0/lib/stripe/services/source_service.rb +64 -0
  954. data/stripe-19.3.0/lib/stripe/services/source_transaction_service.rb +17 -0
  955. data/stripe-19.3.0/lib/stripe/services/subscription_item_service.rb +65 -0
  956. data/stripe-19.3.0/lib/stripe/services/subscription_schedule_service.rb +80 -0
  957. data/stripe-19.3.0/lib/stripe/services/subscription_service.rb +142 -0
  958. data/stripe-19.3.0/lib/stripe/services/tax/association_service.rb +19 -0
  959. data/stripe-19.3.0/lib/stripe/services/tax/calculation_line_item_service.rb +19 -0
  960. data/stripe-19.3.0/lib/stripe/services/tax/calculation_service.rb +37 -0
  961. data/stripe-19.3.0/lib/stripe/services/tax/registration_service.rb +54 -0
  962. data/stripe-19.3.0/lib/stripe/services/tax/settings_service.rb +30 -0
  963. data/stripe-19.3.0/lib/stripe/services/tax/transaction_line_item_service.rb +19 -0
  964. data/stripe-19.3.0/lib/stripe/services/tax/transaction_service.rb +48 -0
  965. data/stripe-19.3.0/lib/stripe/services/tax_code_service.rb +22 -0
  966. data/stripe-19.3.0/lib/stripe/services/tax_id_service.rb +38 -0
  967. data/stripe-19.3.0/lib/stripe/services/tax_rate_service.rb +38 -0
  968. data/stripe-19.3.0/lib/stripe/services/tax_service.rb +17 -0
  969. data/stripe-19.3.0/lib/stripe/services/terminal/configuration_service.rb +63 -0
  970. data/stripe-19.3.0/lib/stripe/services/terminal/connection_token_service.rb +19 -0
  971. data/stripe-19.3.0/lib/stripe/services/terminal/location_service.rb +64 -0
  972. data/stripe-19.3.0/lib/stripe/services/terminal/onboarding_link_service.rb +19 -0
  973. data/stripe-19.3.0/lib/stripe/services/terminal/reader_service.rb +151 -0
  974. data/stripe-19.3.0/lib/stripe/services/terminal_service.rb +17 -0
  975. data/stripe-19.3.0/lib/stripe/services/test_helpers/confirmation_token_service.rb +19 -0
  976. data/stripe-19.3.0/lib/stripe/services/test_helpers/customer_service.rb +19 -0
  977. data/stripe-19.3.0/lib/stripe/services/test_helpers/issuing/authorization_service.rb +99 -0
  978. data/stripe-19.3.0/lib/stripe/services/test_helpers/issuing/card_service.rb +65 -0
  979. data/stripe-19.3.0/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +43 -0
  980. data/stripe-19.3.0/lib/stripe/services/test_helpers/issuing/transaction_service.rb +51 -0
  981. data/stripe-19.3.0/lib/stripe/services/test_helpers/issuing_service.rb +19 -0
  982. data/stripe-19.3.0/lib/stripe/services/test_helpers/refund_service.rb +19 -0
  983. data/stripe-19.3.0/lib/stripe/services/test_helpers/terminal/reader_service.rb +43 -0
  984. data/stripe-19.3.0/lib/stripe/services/test_helpers/terminal_service.rb +15 -0
  985. data/stripe-19.3.0/lib/stripe/services/test_helpers/test_clock_service.rb +63 -0
  986. data/stripe-19.3.0/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +43 -0
  987. data/stripe-19.3.0/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +54 -0
  988. data/stripe-19.3.0/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +54 -0
  989. data/stripe-19.3.0/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +21 -0
  990. data/stripe-19.3.0/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +21 -0
  991. data/stripe-19.3.0/lib/stripe/services/test_helpers/treasury_service.rb +19 -0
  992. data/stripe-19.3.0/lib/stripe/services/test_helpers_service.rb +19 -0
  993. data/stripe-19.3.0/lib/stripe/services/token_service.rb +23 -0
  994. data/stripe-19.3.0/lib/stripe/services/topup_service.rb +49 -0
  995. data/stripe-19.3.0/lib/stripe/services/transfer_reversal_service.rb +56 -0
  996. data/stripe-19.3.0/lib/stripe/services/transfer_service.rb +47 -0
  997. data/stripe-19.3.0/lib/stripe/services/treasury/credit_reversal_service.rb +41 -0
  998. data/stripe-19.3.0/lib/stripe/services/treasury/debit_reversal_service.rb +41 -0
  999. data/stripe-19.3.0/lib/stripe/services/treasury/financial_account_features_service.rb +30 -0
  1000. data/stripe-19.3.0/lib/stripe/services/treasury/financial_account_service.rb +70 -0
  1001. data/stripe-19.3.0/lib/stripe/services/treasury/inbound_transfer_service.rb +52 -0
  1002. data/stripe-19.3.0/lib/stripe/services/treasury/outbound_payment_service.rb +52 -0
  1003. data/stripe-19.3.0/lib/stripe/services/treasury/outbound_transfer_service.rb +52 -0
  1004. data/stripe-19.3.0/lib/stripe/services/treasury/received_credit_service.rb +30 -0
  1005. data/stripe-19.3.0/lib/stripe/services/treasury/received_debit_service.rb +30 -0
  1006. data/stripe-19.3.0/lib/stripe/services/treasury/transaction_entry_service.rb +30 -0
  1007. data/stripe-19.3.0/lib/stripe/services/treasury/transaction_service.rb +30 -0
  1008. data/stripe-19.3.0/lib/stripe/services/treasury_service.rb +22 -0
  1009. data/stripe-19.3.0/lib/stripe/services/v1_services.rb +93 -0
  1010. data/stripe-19.3.0/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +21 -0
  1011. data/stripe-19.3.0/lib/stripe/services/v2/billing/meter_event_service.rb +21 -0
  1012. data/stripe-19.3.0/lib/stripe/services/v2/billing/meter_event_session_service.rb +21 -0
  1013. data/stripe-19.3.0/lib/stripe/services/v2/billing/meter_event_stream_service.rb +23 -0
  1014. data/stripe-19.3.0/lib/stripe/services/v2/billing_service.rb +18 -0
  1015. data/stripe-19.3.0/lib/stripe/services/v2/commerce/product_catalog/import_service.rb +45 -0
  1016. data/stripe-19.3.0/lib/stripe/services/v2/commerce/product_catalog_service.rb +17 -0
  1017. data/stripe-19.3.0/lib/stripe/services/v2/commerce_service.rb +15 -0
  1018. data/stripe-19.3.0/lib/stripe/services/v2/core/account_link_service.rb +23 -0
  1019. data/stripe-19.3.0/lib/stripe/services/v2/core/account_service.rb +91 -0
  1020. data/stripe-19.3.0/lib/stripe/services/v2/core/account_token_service.rb +44 -0
  1021. data/stripe-19.3.0/lib/stripe/services/v2/core/accounts/person_service.rb +85 -0
  1022. data/stripe-19.3.0/lib/stripe/services/v2/core/accounts/person_token_service.rb +43 -0
  1023. data/stripe-19.3.0/lib/stripe/services/v2/core/event_destination_service.rb +98 -0
  1024. data/stripe-19.3.0/lib/stripe/services/v2/core/event_service.rb +33 -0
  1025. data/stripe-19.3.0/lib/stripe/services/v2/core_service.rb +19 -0
  1026. data/stripe-19.3.0/lib/stripe/services/v2_services.rb +15 -0
  1027. data/stripe-19.3.0/lib/stripe/services/webhook_endpoint_service.rb +61 -0
  1028. data/stripe-19.3.0/lib/stripe/services.rb +472 -0
  1029. data/stripe-19.3.0/lib/stripe/singleton_api_resource.rb +26 -0
  1030. data/stripe-19.3.0/lib/stripe/stripe_client.rb +97 -0
  1031. data/stripe-19.3.0/lib/stripe/stripe_configuration.rb +210 -0
  1032. data/stripe-19.3.0/lib/stripe/stripe_context.rb +68 -0
  1033. data/stripe-19.3.0/lib/stripe/stripe_object.rb +692 -0
  1034. data/stripe-19.3.0/lib/stripe/stripe_response.rb +108 -0
  1035. data/stripe-19.3.0/lib/stripe/stripe_service.rb +34 -0
  1036. data/stripe-19.3.0/lib/stripe/util.rb +490 -0
  1037. data/stripe-19.3.0/lib/stripe/v2_list_object.rb +84 -0
  1038. data/stripe-19.3.0/lib/stripe/version.rb +5 -0
  1039. data/stripe-19.3.0/lib/stripe/webhook.rb +129 -0
  1040. data/stripe-19.3.0/lib/stripe.rb +185 -0
  1041. data/stripe-19.3.0/rbi/stripe/resources/v2/core/event_notification.rbi +43 -0
  1042. data/stripe-19.3.0/rbi/stripe/stripe_client.rbi +17 -0
  1043. data/stripe-19.3.0/rbi/stripe.rbi +170441 -0
  1044. metadata +1083 -0
@@ -0,0 +1,636 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ class SubscriptionScheduleUpdateParams < ::Stripe::RequestParams
6
+ class DefaultSettings < ::Stripe::RequestParams
7
+ class AutomaticTax < ::Stripe::RequestParams
8
+ class Liability < ::Stripe::RequestParams
9
+ # The connected account being referenced when `type` is `account`.
10
+ attr_accessor :account
11
+ # Type of the account referenced in the request.
12
+ attr_accessor :type
13
+
14
+ def initialize(account: nil, type: nil)
15
+ @account = account
16
+ @type = type
17
+ end
18
+ end
19
+ # Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription.
20
+ attr_accessor :enabled
21
+ # The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
22
+ attr_accessor :liability
23
+
24
+ def initialize(enabled: nil, liability: nil)
25
+ @enabled = enabled
26
+ @liability = liability
27
+ end
28
+ end
29
+
30
+ class BillingThresholds < ::Stripe::RequestParams
31
+ # Monetary threshold that triggers the subscription to advance to a new billing period
32
+ attr_accessor :amount_gte
33
+ # Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged.
34
+ attr_accessor :reset_billing_cycle_anchor
35
+
36
+ def initialize(amount_gte: nil, reset_billing_cycle_anchor: nil)
37
+ @amount_gte = amount_gte
38
+ @reset_billing_cycle_anchor = reset_billing_cycle_anchor
39
+ end
40
+ end
41
+
42
+ class InvoiceSettings < ::Stripe::RequestParams
43
+ class Issuer < ::Stripe::RequestParams
44
+ # The connected account being referenced when `type` is `account`.
45
+ attr_accessor :account
46
+ # Type of the account referenced in the request.
47
+ attr_accessor :type
48
+
49
+ def initialize(account: nil, type: nil)
50
+ @account = account
51
+ @type = type
52
+ end
53
+ end
54
+ # The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule.
55
+ attr_accessor :account_tax_ids
56
+ # Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `collection_method=charge_automatically`.
57
+ attr_accessor :days_until_due
58
+ # The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
59
+ attr_accessor :issuer
60
+
61
+ def initialize(account_tax_ids: nil, days_until_due: nil, issuer: nil)
62
+ @account_tax_ids = account_tax_ids
63
+ @days_until_due = days_until_due
64
+ @issuer = issuer
65
+ end
66
+ end
67
+
68
+ class TransferData < ::Stripe::RequestParams
69
+ # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
70
+ attr_accessor :amount_percent
71
+ # ID of an existing, connected Stripe account.
72
+ attr_accessor :destination
73
+
74
+ def initialize(amount_percent: nil, destination: nil)
75
+ @amount_percent = amount_percent
76
+ @destination = destination
77
+ end
78
+ end
79
+ # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).
80
+ attr_accessor :application_fee_percent
81
+ # Default settings for automatic tax computation.
82
+ attr_accessor :automatic_tax
83
+ # Can be set to `phase_start` to set the anchor to the start of the phase or `automatic` to automatically change it if needed. Cannot be set to `phase_start` if this phase specifies a trial. For more information, see the billing cycle [documentation](https://docs.stripe.com/billing/subscriptions/billing-cycle).
84
+ attr_accessor :billing_cycle_anchor
85
+ # Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds.
86
+ attr_accessor :billing_thresholds
87
+ # Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay the underlying subscription at the end of each billing cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`. Defaults to `charge_automatically` on creation.
88
+ attr_accessor :collection_method
89
+ # ID of the default payment method for the subscription schedule. It must belong to the customer associated with the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings.
90
+ attr_accessor :default_payment_method
91
+ # Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
92
+ attr_accessor :description
93
+ # All invoices will be billed using the specified settings.
94
+ attr_accessor :invoice_settings
95
+ # The account on behalf of which to charge, for each of the associated subscription's invoices.
96
+ attr_accessor :on_behalf_of
97
+ # The data with which to automatically create a Transfer for each of the associated subscription's invoices.
98
+ attr_accessor :transfer_data
99
+
100
+ def initialize(
101
+ application_fee_percent: nil,
102
+ automatic_tax: nil,
103
+ billing_cycle_anchor: nil,
104
+ billing_thresholds: nil,
105
+ collection_method: nil,
106
+ default_payment_method: nil,
107
+ description: nil,
108
+ invoice_settings: nil,
109
+ on_behalf_of: nil,
110
+ transfer_data: nil
111
+ )
112
+ @application_fee_percent = application_fee_percent
113
+ @automatic_tax = automatic_tax
114
+ @billing_cycle_anchor = billing_cycle_anchor
115
+ @billing_thresholds = billing_thresholds
116
+ @collection_method = collection_method
117
+ @default_payment_method = default_payment_method
118
+ @description = description
119
+ @invoice_settings = invoice_settings
120
+ @on_behalf_of = on_behalf_of
121
+ @transfer_data = transfer_data
122
+ end
123
+ end
124
+
125
+ class Phase < ::Stripe::RequestParams
126
+ class AddInvoiceItem < ::Stripe::RequestParams
127
+ class Discount < ::Stripe::RequestParams
128
+ # ID of the coupon to create a new discount for.
129
+ attr_accessor :coupon
130
+ # ID of an existing discount on the object (or one of its ancestors) to reuse.
131
+ attr_accessor :discount
132
+ # ID of the promotion code to create a new discount for.
133
+ attr_accessor :promotion_code
134
+
135
+ def initialize(coupon: nil, discount: nil, promotion_code: nil)
136
+ @coupon = coupon
137
+ @discount = discount
138
+ @promotion_code = promotion_code
139
+ end
140
+ end
141
+
142
+ class Period < ::Stripe::RequestParams
143
+ class End < ::Stripe::RequestParams
144
+ # A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`.
145
+ attr_accessor :timestamp
146
+ # Select how to calculate the end of the invoice item period.
147
+ attr_accessor :type
148
+
149
+ def initialize(timestamp: nil, type: nil)
150
+ @timestamp = timestamp
151
+ @type = type
152
+ end
153
+ end
154
+
155
+ class Start < ::Stripe::RequestParams
156
+ # A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`.
157
+ attr_accessor :timestamp
158
+ # Select how to calculate the start of the invoice item period.
159
+ attr_accessor :type
160
+
161
+ def initialize(timestamp: nil, type: nil)
162
+ @timestamp = timestamp
163
+ @type = type
164
+ end
165
+ end
166
+ # End of the invoice item period.
167
+ attr_accessor :end
168
+ # Start of the invoice item period.
169
+ attr_accessor :start
170
+
171
+ def initialize(end_: nil, start: nil)
172
+ @end = end_
173
+ @start = start
174
+ end
175
+ end
176
+
177
+ class PriceData < ::Stripe::RequestParams
178
+ # 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).
179
+ attr_accessor :currency
180
+ # The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to.
181
+ attr_accessor :product
182
+ # Only required if a [default tax behavior](https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.
183
+ attr_accessor :tax_behavior
184
+ # A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge or a negative integer representing the amount to credit to the customer.
185
+ attr_accessor :unit_amount
186
+ # Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
187
+ attr_accessor :unit_amount_decimal
188
+
189
+ def initialize(
190
+ currency: nil,
191
+ product: nil,
192
+ tax_behavior: nil,
193
+ unit_amount: nil,
194
+ unit_amount_decimal: nil
195
+ )
196
+ @currency = currency
197
+ @product = product
198
+ @tax_behavior = tax_behavior
199
+ @unit_amount = unit_amount
200
+ @unit_amount_decimal = unit_amount_decimal
201
+ end
202
+
203
+ def self.field_encodings
204
+ @field_encodings = { unit_amount_decimal: :decimal_string }
205
+ end
206
+ end
207
+ # Controls whether discounts apply to this invoice item. Defaults to true if no value is provided.
208
+ attr_accessor :discountable
209
+ # The coupons to redeem into discounts for the item.
210
+ attr_accessor :discounts
211
+ # 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
212
+ attr_accessor :metadata
213
+ # The period associated with this invoice item. If not set, `period.start.type` defaults to `max_item_period_start` and `period.end.type` defaults to `min_item_period_end`.
214
+ attr_accessor :period
215
+ # The ID of the price object. One of `price` or `price_data` is required.
216
+ attr_accessor :price
217
+ # Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.
218
+ attr_accessor :price_data
219
+ # Quantity for this item. Defaults to 1.
220
+ attr_accessor :quantity
221
+ # The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item.
222
+ attr_accessor :tax_rates
223
+
224
+ def initialize(
225
+ discountable: nil,
226
+ discounts: nil,
227
+ metadata: nil,
228
+ period: nil,
229
+ price: nil,
230
+ price_data: nil,
231
+ quantity: nil,
232
+ tax_rates: nil
233
+ )
234
+ @discountable = discountable
235
+ @discounts = discounts
236
+ @metadata = metadata
237
+ @period = period
238
+ @price = price
239
+ @price_data = price_data
240
+ @quantity = quantity
241
+ @tax_rates = tax_rates
242
+ end
243
+
244
+ def self.field_encodings
245
+ @field_encodings = {
246
+ price_data: { kind: :object, fields: { unit_amount_decimal: :decimal_string } },
247
+ }
248
+ end
249
+ end
250
+
251
+ class AutomaticTax < ::Stripe::RequestParams
252
+ class Liability < ::Stripe::RequestParams
253
+ # The connected account being referenced when `type` is `account`.
254
+ attr_accessor :account
255
+ # Type of the account referenced in the request.
256
+ attr_accessor :type
257
+
258
+ def initialize(account: nil, type: nil)
259
+ @account = account
260
+ @type = type
261
+ end
262
+ end
263
+ # Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription.
264
+ attr_accessor :enabled
265
+ # The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.
266
+ attr_accessor :liability
267
+
268
+ def initialize(enabled: nil, liability: nil)
269
+ @enabled = enabled
270
+ @liability = liability
271
+ end
272
+ end
273
+
274
+ class BillingThresholds < ::Stripe::RequestParams
275
+ # Monetary threshold that triggers the subscription to advance to a new billing period
276
+ attr_accessor :amount_gte
277
+ # Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged.
278
+ attr_accessor :reset_billing_cycle_anchor
279
+
280
+ def initialize(amount_gte: nil, reset_billing_cycle_anchor: nil)
281
+ @amount_gte = amount_gte
282
+ @reset_billing_cycle_anchor = reset_billing_cycle_anchor
283
+ end
284
+ end
285
+
286
+ class Discount < ::Stripe::RequestParams
287
+ # ID of the coupon to create a new discount for.
288
+ attr_accessor :coupon
289
+ # ID of an existing discount on the object (or one of its ancestors) to reuse.
290
+ attr_accessor :discount
291
+ # ID of the promotion code to create a new discount for.
292
+ attr_accessor :promotion_code
293
+
294
+ def initialize(coupon: nil, discount: nil, promotion_code: nil)
295
+ @coupon = coupon
296
+ @discount = discount
297
+ @promotion_code = promotion_code
298
+ end
299
+ end
300
+
301
+ class Duration < ::Stripe::RequestParams
302
+ # Specifies phase duration. Either `day`, `week`, `month` or `year`.
303
+ attr_accessor :interval
304
+ # The multiplier applied to the interval.
305
+ attr_accessor :interval_count
306
+
307
+ def initialize(interval: nil, interval_count: nil)
308
+ @interval = interval
309
+ @interval_count = interval_count
310
+ end
311
+ end
312
+
313
+ class InvoiceSettings < ::Stripe::RequestParams
314
+ class Issuer < ::Stripe::RequestParams
315
+ # The connected account being referenced when `type` is `account`.
316
+ attr_accessor :account
317
+ # Type of the account referenced in the request.
318
+ attr_accessor :type
319
+
320
+ def initialize(account: nil, type: nil)
321
+ @account = account
322
+ @type = type
323
+ end
324
+ end
325
+ # The account tax IDs associated with this phase of the subscription schedule. Will be set on invoices generated by this phase of the subscription schedule.
326
+ attr_accessor :account_tax_ids
327
+ # Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`.
328
+ attr_accessor :days_until_due
329
+ # The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
330
+ attr_accessor :issuer
331
+
332
+ def initialize(account_tax_ids: nil, days_until_due: nil, issuer: nil)
333
+ @account_tax_ids = account_tax_ids
334
+ @days_until_due = days_until_due
335
+ @issuer = issuer
336
+ end
337
+ end
338
+
339
+ class Item < ::Stripe::RequestParams
340
+ class BillingThresholds < ::Stripe::RequestParams
341
+ # Number of units that meets the billing threshold to advance the subscription to a new billing period (e.g., it takes 10 $5 units to meet a $50 [monetary threshold](https://docs.stripe.com/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte))
342
+ attr_accessor :usage_gte
343
+
344
+ def initialize(usage_gte: nil)
345
+ @usage_gte = usage_gte
346
+ end
347
+ end
348
+
349
+ class Discount < ::Stripe::RequestParams
350
+ # ID of the coupon to create a new discount for.
351
+ attr_accessor :coupon
352
+ # ID of an existing discount on the object (or one of its ancestors) to reuse.
353
+ attr_accessor :discount
354
+ # ID of the promotion code to create a new discount for.
355
+ attr_accessor :promotion_code
356
+
357
+ def initialize(coupon: nil, discount: nil, promotion_code: nil)
358
+ @coupon = coupon
359
+ @discount = discount
360
+ @promotion_code = promotion_code
361
+ end
362
+ end
363
+
364
+ class PriceData < ::Stripe::RequestParams
365
+ class Recurring < ::Stripe::RequestParams
366
+ # Specifies billing frequency. Either `day`, `week`, `month` or `year`.
367
+ attr_accessor :interval
368
+ # The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).
369
+ attr_accessor :interval_count
370
+
371
+ def initialize(interval: nil, interval_count: nil)
372
+ @interval = interval
373
+ @interval_count = interval_count
374
+ end
375
+ end
376
+ # 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).
377
+ attr_accessor :currency
378
+ # The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to.
379
+ attr_accessor :product
380
+ # The recurring components of a price such as `interval` and `interval_count`.
381
+ attr_accessor :recurring
382
+ # Only required if a [default tax behavior](https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.
383
+ attr_accessor :tax_behavior
384
+ # A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge.
385
+ attr_accessor :unit_amount
386
+ # Same as `unit_amount`, but accepts a decimal value in cents (or local equivalent) with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set.
387
+ attr_accessor :unit_amount_decimal
388
+
389
+ def initialize(
390
+ currency: nil,
391
+ product: nil,
392
+ recurring: nil,
393
+ tax_behavior: nil,
394
+ unit_amount: nil,
395
+ unit_amount_decimal: nil
396
+ )
397
+ @currency = currency
398
+ @product = product
399
+ @recurring = recurring
400
+ @tax_behavior = tax_behavior
401
+ @unit_amount = unit_amount
402
+ @unit_amount_decimal = unit_amount_decimal
403
+ end
404
+
405
+ def self.field_encodings
406
+ @field_encodings = { unit_amount_decimal: :decimal_string }
407
+ end
408
+ end
409
+ # Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds.
410
+ attr_accessor :billing_thresholds
411
+ # The coupons to redeem into discounts for the subscription item.
412
+ attr_accessor :discounts
413
+ # Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to a configuration item. Metadata on a configuration item will update the underlying subscription item's `metadata` when the phase is entered, adding new keys and replacing existing keys. Individual keys in the subscription item's `metadata` can be unset by posting an empty value to them in the configuration item's `metadata`. To unset all keys in the subscription item's `metadata`, update the subscription item directly or unset every key individually from the configuration item's `metadata`.
414
+ attr_accessor :metadata
415
+ # The plan ID to subscribe to. You may specify the same ID in `plan` and `price`.
416
+ attr_accessor :plan
417
+ # The ID of the price object.
418
+ attr_accessor :price
419
+ # Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline.
420
+ attr_accessor :price_data
421
+ # Quantity for the given price. Can be set only if the price's `usage_type` is `licensed` and not `metered`.
422
+ attr_accessor :quantity
423
+ # A list of [Tax Rate](https://docs.stripe.com/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates.
424
+ attr_accessor :tax_rates
425
+
426
+ def initialize(
427
+ billing_thresholds: nil,
428
+ discounts: nil,
429
+ metadata: nil,
430
+ plan: nil,
431
+ price: nil,
432
+ price_data: nil,
433
+ quantity: nil,
434
+ tax_rates: nil
435
+ )
436
+ @billing_thresholds = billing_thresholds
437
+ @discounts = discounts
438
+ @metadata = metadata
439
+ @plan = plan
440
+ @price = price
441
+ @price_data = price_data
442
+ @quantity = quantity
443
+ @tax_rates = tax_rates
444
+ end
445
+
446
+ def self.field_encodings
447
+ @field_encodings = {
448
+ price_data: { kind: :object, fields: { unit_amount_decimal: :decimal_string } },
449
+ }
450
+ end
451
+ end
452
+
453
+ class TransferData < ::Stripe::RequestParams
454
+ # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the destination account. By default, the entire amount is transferred to the destination.
455
+ attr_accessor :amount_percent
456
+ # ID of an existing, connected Stripe account.
457
+ attr_accessor :destination
458
+
459
+ def initialize(amount_percent: nil, destination: nil)
460
+ @amount_percent = amount_percent
461
+ @destination = destination
462
+ end
463
+ end
464
+ # A list of prices and quantities that will generate invoice items appended to the next invoice for this phase. You may pass up to 20 items.
465
+ attr_accessor :add_invoice_items
466
+ # A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions).
467
+ attr_accessor :application_fee_percent
468
+ # Automatic tax settings for this phase.
469
+ attr_accessor :automatic_tax
470
+ # Can be set to `phase_start` to set the anchor to the start of the phase or `automatic` to automatically change it if needed. Cannot be set to `phase_start` if this phase specifies a trial. For more information, see the billing cycle [documentation](https://docs.stripe.com/billing/subscriptions/billing-cycle).
471
+ attr_accessor :billing_cycle_anchor
472
+ # Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds.
473
+ attr_accessor :billing_thresholds
474
+ # Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay the underlying subscription at the end of each billing cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`. Defaults to `charge_automatically` on creation.
475
+ attr_accessor :collection_method
476
+ # 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).
477
+ attr_accessor :currency
478
+ # ID of the default payment method for the subscription schedule. It must belong to the customer associated with the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings.
479
+ attr_accessor :default_payment_method
480
+ # A list of [Tax Rate](https://docs.stripe.com/api/tax_rates) ids. These Tax Rates will set the Subscription's [`default_tax_rates`](https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates), which means they will be the Invoice's [`default_tax_rates`](https://docs.stripe.com/api/invoices/create#create_invoice-default_tax_rates) for any Invoices issued by the Subscription during this Phase.
481
+ attr_accessor :default_tax_rates
482
+ # Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
483
+ attr_accessor :description
484
+ # The coupons to redeem into discounts for the schedule phase. If not specified, inherits the discount from the subscription's customer. Pass an empty string to avoid inheriting any discounts.
485
+ attr_accessor :discounts
486
+ # The number of intervals the phase should last. If set, `end_date` must not be set.
487
+ attr_accessor :duration
488
+ # The date at which this phase of the subscription schedule ends. If set, `duration` must not be set.
489
+ attr_accessor :end_date
490
+ # All invoices will be billed using the specified settings.
491
+ attr_accessor :invoice_settings
492
+ # List of configuration items, each with an attached price, to apply during this phase of the subscription schedule.
493
+ attr_accessor :items
494
+ # Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to a phase. Metadata on a schedule's phase will update the underlying subscription's `metadata` when the phase is entered, adding new keys and replacing existing keys in the subscription's `metadata`. Individual keys in the subscription's `metadata` can be unset by posting an empty value to them in the phase's `metadata`. To unset all keys in the subscription's `metadata`, update the subscription directly or unset every key individually from the phase's `metadata`.
495
+ attr_accessor :metadata
496
+ # The account on behalf of which to charge, for each of the associated subscription's invoices.
497
+ attr_accessor :on_behalf_of
498
+ # Controls whether the subscription schedule should create [prorations](https://docs.stripe.com/billing/subscriptions/prorations) when transitioning to this phase if there is a difference in billing configuration. It's different from the request-level [proration_behavior](https://docs.stripe.com/api/subscription_schedules/update#update_subscription_schedule-proration_behavior) parameter which controls what happens if the update request affects the billing configuration (item price, quantity, etc.) of the current phase.
499
+ attr_accessor :proration_behavior
500
+ # The date at which this phase of the subscription schedule starts or `now`. Must be set on the first phase.
501
+ attr_accessor :start_date
502
+ # The data with which to automatically create a Transfer for each of the associated subscription's invoices.
503
+ attr_accessor :transfer_data
504
+ # If set to true the entire phase is counted as a trial and the customer will not be charged for any fees.
505
+ attr_accessor :trial
506
+ # Sets the phase to trialing from the start date to this date. Must be before the phase end date, can not be combined with `trial`
507
+ attr_accessor :trial_end
508
+
509
+ def initialize(
510
+ add_invoice_items: nil,
511
+ application_fee_percent: nil,
512
+ automatic_tax: nil,
513
+ billing_cycle_anchor: nil,
514
+ billing_thresholds: nil,
515
+ collection_method: nil,
516
+ currency: nil,
517
+ default_payment_method: nil,
518
+ default_tax_rates: nil,
519
+ description: nil,
520
+ discounts: nil,
521
+ duration: nil,
522
+ end_date: nil,
523
+ invoice_settings: nil,
524
+ items: nil,
525
+ metadata: nil,
526
+ on_behalf_of: nil,
527
+ proration_behavior: nil,
528
+ start_date: nil,
529
+ transfer_data: nil,
530
+ trial: nil,
531
+ trial_end: nil
532
+ )
533
+ @add_invoice_items = add_invoice_items
534
+ @application_fee_percent = application_fee_percent
535
+ @automatic_tax = automatic_tax
536
+ @billing_cycle_anchor = billing_cycle_anchor
537
+ @billing_thresholds = billing_thresholds
538
+ @collection_method = collection_method
539
+ @currency = currency
540
+ @default_payment_method = default_payment_method
541
+ @default_tax_rates = default_tax_rates
542
+ @description = description
543
+ @discounts = discounts
544
+ @duration = duration
545
+ @end_date = end_date
546
+ @invoice_settings = invoice_settings
547
+ @items = items
548
+ @metadata = metadata
549
+ @on_behalf_of = on_behalf_of
550
+ @proration_behavior = proration_behavior
551
+ @start_date = start_date
552
+ @transfer_data = transfer_data
553
+ @trial = trial
554
+ @trial_end = trial_end
555
+ end
556
+
557
+ def self.field_encodings
558
+ @field_encodings = {
559
+ add_invoice_items: {
560
+ kind: :array,
561
+ element: {
562
+ kind: :object,
563
+ fields: { price_data: { kind: :object, fields: { unit_amount_decimal: :decimal_string } } },
564
+ },
565
+ },
566
+ items: {
567
+ kind: :array,
568
+ element: {
569
+ kind: :object,
570
+ fields: { price_data: { kind: :object, fields: { unit_amount_decimal: :decimal_string } } },
571
+ },
572
+ },
573
+ }
574
+ end
575
+ end
576
+ # Object representing the subscription schedule's default settings.
577
+ attr_accessor :default_settings
578
+ # Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running. `cancel` will end the subscription schedule and cancel the underlying subscription.
579
+ attr_accessor :end_behavior
580
+ # Specifies which fields in the response should be expanded.
581
+ attr_accessor :expand
582
+ # 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
583
+ attr_accessor :metadata
584
+ # List representing phases of the subscription schedule. Each phase can be customized to have different durations, plans, and coupons. If there are multiple phases, the `end_date` of one phase will always equal the `start_date` of the next phase. Note that past phases can be omitted.
585
+ attr_accessor :phases
586
+ # If the update changes the billing configuration (item price, quantity, etc.) of the current phase, indicates how prorations from this change should be handled. The default value is `create_prorations`.
587
+ attr_accessor :proration_behavior
588
+
589
+ def initialize(
590
+ default_settings: nil,
591
+ end_behavior: nil,
592
+ expand: nil,
593
+ metadata: nil,
594
+ phases: nil,
595
+ proration_behavior: nil
596
+ )
597
+ @default_settings = default_settings
598
+ @end_behavior = end_behavior
599
+ @expand = expand
600
+ @metadata = metadata
601
+ @phases = phases
602
+ @proration_behavior = proration_behavior
603
+ end
604
+
605
+ def self.field_encodings
606
+ @field_encodings = {
607
+ phases: {
608
+ kind: :array,
609
+ element: {
610
+ kind: :object,
611
+ fields: {
612
+ add_invoice_items: {
613
+ kind: :array,
614
+ element: {
615
+ kind: :object,
616
+ fields: {
617
+ price_data: { kind: :object, fields: { unit_amount_decimal: :decimal_string } },
618
+ },
619
+ },
620
+ },
621
+ items: {
622
+ kind: :array,
623
+ element: {
624
+ kind: :object,
625
+ fields: {
626
+ price_data: { kind: :object, fields: { unit_amount_decimal: :decimal_string } },
627
+ },
628
+ },
629
+ },
630
+ },
631
+ },
632
+ },
633
+ }
634
+ end
635
+ end
636
+ end
@@ -0,0 +1,22 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ class SubscriptionSearchParams < ::Stripe::RequestParams
6
+ # Specifies which fields in the response should be expanded.
7
+ attr_accessor :expand
8
+ # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
9
+ attr_accessor :limit
10
+ # A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.
11
+ attr_accessor :page
12
+ # The search query string. See [search query language](https://docs.stripe.com/search#search-query-language) and the list of supported [query fields for subscriptions](https://docs.stripe.com/search#query-fields-for-subscriptions).
13
+ attr_accessor :query
14
+
15
+ def initialize(expand: nil, limit: nil, page: nil, query: nil)
16
+ @expand = expand
17
+ @limit = limit
18
+ @page = page
19
+ @query = query
20
+ end
21
+ end
22
+ end