stripe 15.4.0.pre.beta.1 → 15.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (603) hide show
  1. checksums.yaml +4 -4
  2. data/API_VERSION +1 -1
  3. data/CHANGELOG.md +686 -1593
  4. data/OPENAPI_VERSION +1 -1
  5. data/README.md +1 -1
  6. data/VERSION +1 -1
  7. data/lib/stripe/api_requestor.rb +0 -28
  8. data/lib/stripe/api_version.rb +2 -1
  9. data/lib/stripe/errors.rb +0 -54
  10. data/lib/stripe/event_types.rb +0 -98
  11. data/lib/stripe/object_types.rb +0 -50
  12. data/lib/stripe/resources/account.rb +6 -658
  13. data/lib/stripe/resources/account_link.rb +3 -1
  14. data/lib/stripe/resources/account_session.rb +52 -256
  15. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
  16. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -4
  17. data/lib/stripe/resources/billing/credit_grant.rb +1 -11
  18. data/lib/stripe/resources/billing_portal/configuration.rb +46 -2
  19. data/lib/stripe/resources/billing_portal/session.rb +0 -6
  20. data/lib/stripe/resources/card.rb +0 -2
  21. data/lib/stripe/resources/cash_balance.rb +0 -2
  22. data/lib/stripe/resources/charge.rb +7 -1543
  23. data/lib/stripe/resources/checkout/session.rb +24 -320
  24. data/lib/stripe/resources/confirmation_token.rb +3 -173
  25. data/lib/stripe/resources/coupon.rb +1 -30
  26. data/lib/stripe/resources/credit_note.rb +0 -6
  27. data/lib/stripe/resources/credit_note_line_item.rb +0 -9
  28. data/lib/stripe/resources/customer.rb +1 -3
  29. data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
  30. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
  31. data/lib/stripe/resources/customer_session.rb +1 -6
  32. data/lib/stripe/resources/discount.rb +0 -2
  33. data/lib/stripe/resources/dispute.rb +1 -3
  34. data/lib/stripe/resources/event.rb +14 -57
  35. data/lib/stripe/resources/financial_connections/account.rb +1 -22
  36. data/lib/stripe/resources/financial_connections/session.rb +2 -62
  37. data/lib/stripe/resources/identity/verification_session.rb +0 -10
  38. data/lib/stripe/resources/invoice.rb +40 -1071
  39. data/lib/stripe/resources/invoice_item.rb +3 -79
  40. data/lib/stripe/resources/invoice_line_item.rb +1 -55
  41. data/lib/stripe/resources/invoice_payment.rb +53 -2
  42. data/lib/stripe/resources/issuing/cardholder.rb +1 -2
  43. data/lib/stripe/resources/issuing/transaction.rb +0 -6
  44. data/lib/stripe/resources/line_item.rb +0 -37
  45. data/lib/stripe/resources/mandate.rb +0 -24
  46. data/lib/stripe/resources/payment_intent.rb +297 -5243
  47. data/lib/stripe/resources/payment_link.rb +83 -5
  48. data/lib/stripe/resources/payment_method.rb +5 -196
  49. data/lib/stripe/resources/payment_method_configuration.rb +0 -295
  50. data/lib/stripe/resources/payout.rb +0 -6
  51. data/lib/stripe/resources/price.rb +0 -30
  52. data/lib/stripe/resources/promotion_code.rb +0 -10
  53. data/lib/stripe/resources/quote.rb +8 -2039
  54. data/lib/stripe/resources/radar/value_list.rb +2 -2
  55. data/lib/stripe/resources/refund.rb +1 -10
  56. data/lib/stripe/resources/review.rb +2 -2
  57. data/lib/stripe/resources/setup_attempt.rb +1 -22
  58. data/lib/stripe/resources/setup_intent.rb +9 -578
  59. data/lib/stripe/resources/source.rb +0 -29
  60. data/lib/stripe/resources/subscription.rb +11 -290
  61. data/lib/stripe/resources/subscription_item.rb +5 -86
  62. data/lib/stripe/resources/subscription_schedule.rb +45 -1010
  63. data/lib/stripe/resources/tax/registration.rb +408 -30
  64. data/lib/stripe/resources/tax_id.rb +2 -12
  65. data/lib/stripe/resources/terminal/configuration.rb +196 -0
  66. data/lib/stripe/resources/terminal/reader.rb +0 -8
  67. data/lib/stripe/resources/transfer.rb +0 -6
  68. data/lib/stripe/resources/treasury/financial_account.rb +3 -22
  69. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  70. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -37
  71. data/lib/stripe/resources/treasury/received_credit.rb +1 -38
  72. data/lib/stripe/resources/treasury/received_debit.rb +1 -40
  73. data/lib/stripe/resources.rb +0 -104
  74. data/lib/stripe/services/account_link_service.rb +3 -1
  75. data/lib/stripe/services/account_service.rb +4 -565
  76. data/lib/stripe/services/account_session_service.rb +35 -226
  77. data/lib/stripe/services/billing/credit_balance_summary_service.rb +1 -4
  78. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -4
  79. data/lib/stripe/services/billing/credit_grant_service.rb +1 -9
  80. data/lib/stripe/services/billing_portal/configuration_service.rb +36 -2
  81. data/lib/stripe/services/billing_portal/session_service.rb +0 -4
  82. data/lib/stripe/services/charge_service.rb +0 -1418
  83. data/lib/stripe/services/checkout/session_service.rb +16 -241
  84. data/lib/stripe/services/coupon_service.rb +1 -17
  85. data/lib/stripe/services/credit_note_service.rb +0 -4
  86. data/lib/stripe/services/customer_session_service.rb +1 -4
  87. data/lib/stripe/services/financial_connections/account_service.rb +2 -7
  88. data/lib/stripe/services/financial_connections/session_service.rb +2 -34
  89. data/lib/stripe/services/financial_connections_service.rb +1 -2
  90. data/lib/stripe/services/identity/verification_session_service.rb +0 -8
  91. data/lib/stripe/services/invoice_item_service.rb +3 -75
  92. data/lib/stripe/services/invoice_line_item_service.rb +1 -33
  93. data/lib/stripe/services/invoice_payment_service.rb +83 -0
  94. data/lib/stripe/services/invoice_service.rb +40 -1022
  95. data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
  96. data/lib/stripe/services/issuing/transaction_service.rb +0 -4
  97. data/lib/stripe/services/issuing_service.rb +1 -5
  98. data/lib/stripe/services/payment_intent_service.rb +399 -4882
  99. data/lib/stripe/services/payment_link_service.rb +81 -5
  100. data/lib/stripe/services/payment_method_configuration_service.rb +0 -210
  101. data/lib/stripe/services/payment_method_service.rb +2 -121
  102. data/lib/stripe/services/payout_service.rb +0 -4
  103. data/lib/stripe/services/price_service.rb +0 -19
  104. data/lib/stripe/services/promotion_code_service.rb +0 -8
  105. data/lib/stripe/services/quote_service.rb +9 -1724
  106. data/lib/stripe/services/radar/value_list_service.rb +1 -1
  107. data/lib/stripe/services/setup_intent_service.rb +9 -538
  108. data/lib/stripe/services/subscription_item_service.rb +5 -77
  109. data/lib/stripe/services/subscription_schedule_service.rb +45 -914
  110. data/lib/stripe/services/subscription_service.rb +11 -251
  111. data/lib/stripe/services/tax/registration_service.rb +360 -30
  112. data/lib/stripe/services/tax_id_service.rb +2 -8
  113. data/lib/stripe/services/tax_service.rb +1 -3
  114. data/lib/stripe/services/terminal/configuration_service.rb +152 -0
  115. data/lib/stripe/services/terminal_service.rb +1 -2
  116. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +0 -97
  117. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
  118. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
  119. data/lib/stripe/services/transfer_service.rb +0 -4
  120. data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
  121. data/lib/stripe/services/treasury/financial_account_service.rb +2 -16
  122. data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
  123. data/lib/stripe/services/v1_services.rb +2 -11
  124. data/lib/stripe/services/v2/core_service.rb +1 -4
  125. data/lib/stripe/services/v2_services.rb +1 -4
  126. data/lib/stripe/services.rb +1 -53
  127. data/lib/stripe/stripe_configuration.rb +1 -3
  128. data/lib/stripe/stripe_object.rb +1 -1
  129. data/lib/stripe/util.rb +1 -7
  130. data/lib/stripe/version.rb +1 -1
  131. data/lib/stripe.rb +0 -53
  132. data/rbi/stripe/resources/account.rbi +4995 -0
  133. data/rbi/stripe/resources/account_link.rbi +76 -0
  134. data/rbi/stripe/resources/account_session.rbi +1074 -0
  135. data/rbi/stripe/resources/apple_pay_domain.rbi +88 -0
  136. data/rbi/stripe/resources/application.rbi +20 -0
  137. data/rbi/stripe/resources/application_fee.rbi +118 -0
  138. data/rbi/stripe/resources/application_fee_refund.rbi +37 -0
  139. data/rbi/stripe/resources/apps/secret.rbi +195 -0
  140. data/rbi/stripe/resources/balance.rbi +235 -0
  141. data/rbi/stripe/resources/balance_transaction.rbi +147 -0
  142. data/rbi/stripe/resources/bank_account.rbi +127 -0
  143. data/rbi/stripe/resources/billing/alert.rbi +201 -0
  144. data/rbi/stripe/resources/billing/alert_triggered.rbi +28 -0
  145. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +63 -0
  146. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +147 -0
  147. data/rbi/stripe/resources/billing/credit_grant.rbi +291 -0
  148. data/rbi/stripe/resources/billing/meter.rbi +226 -0
  149. data/rbi/stripe/resources/billing/meter_event.rbi +64 -0
  150. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +64 -0
  151. data/rbi/stripe/resources/billing/meter_event_summary.rbi +35 -0
  152. data/rbi/stripe/resources/billing_portal/configuration.rbi +703 -0
  153. data/rbi/stripe/resources/billing_portal/session.rbi +345 -0
  154. data/rbi/stripe/resources/capability.rbi +125 -0
  155. data/rbi/stripe/resources/card.rbi +125 -0
  156. data/rbi/stripe/resources/cash_balance.rbi +32 -0
  157. data/rbi/stripe/resources/charge.rbi +2089 -0
  158. data/rbi/stripe/resources/checkout/session.rbi +4095 -0
  159. data/rbi/stripe/resources/climate/order.rbi +245 -0
  160. data/rbi/stripe/resources/climate/product.rbi +75 -0
  161. data/rbi/stripe/resources/climate/supplier.rbi +72 -0
  162. data/rbi/stripe/resources/confirmation_token.rbi +1818 -0
  163. data/rbi/stripe/resources/connect_collection_transfer.rbi +26 -0
  164. data/rbi/stripe/resources/country_spec.rbi +85 -0
  165. data/rbi/stripe/resources/coupon.rbi +250 -0
  166. data/rbi/stripe/resources/credit_note.rbi +752 -0
  167. data/rbi/stripe/resources/credit_note_line_item.rbi +101 -0
  168. data/rbi/stripe/resources/customer.rbi +1005 -0
  169. data/rbi/stripe/resources/customer_balance_transaction.rbi +56 -0
  170. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +151 -0
  171. data/rbi/stripe/resources/customer_session.rbi +200 -0
  172. data/rbi/stripe/resources/discount.rbi +53 -0
  173. data/rbi/stripe/resources/dispute.rbi +761 -0
  174. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +58 -0
  175. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +23 -0
  176. data/rbi/stripe/resources/entitlements/feature.rbi +117 -0
  177. data/rbi/stripe/resources/ephemeral_key.rbi +44 -0
  178. data/rbi/stripe/resources/event.rbi +137 -0
  179. data/rbi/stripe/resources/exchange_rate.rbi +66 -0
  180. data/rbi/stripe/resources/file.rbi +143 -0
  181. data/rbi/stripe/resources/file_link.rbi +141 -0
  182. data/rbi/stripe/resources/financial_connections/account.rbi +339 -0
  183. data/rbi/stripe/resources/financial_connections/account_owner.rbi +35 -0
  184. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +23 -0
  185. data/rbi/stripe/resources/financial_connections/session.rbi +123 -0
  186. data/rbi/stripe/resources/financial_connections/transaction.rbi +124 -0
  187. data/rbi/stripe/resources/forwarding/request.rbi +216 -0
  188. data/rbi/stripe/resources/funding_instructions.rbi +437 -0
  189. data/rbi/stripe/resources/identity/verification_report.rbi +360 -0
  190. data/rbi/stripe/resources/identity/verification_session.rbi +564 -0
  191. data/rbi/stripe/resources/invoice.rbi +3858 -0
  192. data/rbi/stripe/resources/invoice_item.rbi +470 -0
  193. data/rbi/stripe/resources/invoice_line_item.rbi +432 -0
  194. data/rbi/stripe/resources/invoice_payment.rbi +121 -0
  195. data/rbi/stripe/resources/invoice_rendering_template.rbi +104 -0
  196. data/rbi/stripe/resources/issuing/authorization.rbi +1283 -0
  197. data/rbi/stripe/resources/issuing/card.rbi +741 -0
  198. data/rbi/stripe/resources/issuing/cardholder.rbi +744 -0
  199. data/rbi/stripe/resources/issuing/dispute.rbi +913 -0
  200. data/rbi/stripe/resources/issuing/personalization_design.rbi +338 -0
  201. data/rbi/stripe/resources/issuing/physical_bundle.rbi +79 -0
  202. data/rbi/stripe/resources/issuing/token.rbi +226 -0
  203. data/rbi/stripe/resources/issuing/transaction.rbi +1061 -0
  204. data/rbi/stripe/resources/line_item.rbi +72 -0
  205. data/rbi/stripe/resources/login_link.rbi +19 -0
  206. data/rbi/stripe/resources/mandate.rbi +191 -0
  207. data/rbi/stripe/resources/payment_intent.rbi +9997 -0
  208. data/rbi/stripe/resources/payment_link.rbi +1893 -0
  209. data/rbi/stripe/resources/payment_method.rbi +1770 -0
  210. data/rbi/stripe/resources/payment_method_configuration.rbi +3550 -0
  211. data/rbi/stripe/resources/payment_method_domain.rbi +228 -0
  212. data/rbi/stripe/resources/payout.rbi +300 -0
  213. data/rbi/stripe/resources/person.rbi +401 -0
  214. data/rbi/stripe/resources/plan.rbi +371 -0
  215. data/rbi/stripe/resources/price.rbi +694 -0
  216. data/rbi/stripe/resources/product.rbi +555 -0
  217. data/rbi/stripe/resources/product_feature.rbi +26 -0
  218. data/rbi/stripe/resources/promotion_code.rbi +261 -0
  219. data/rbi/stripe/resources/quote.rbi +1145 -0
  220. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +98 -0
  221. data/rbi/stripe/resources/radar/value_list.rbi +168 -0
  222. data/rbi/stripe/resources/radar/value_list_item.rbi +129 -0
  223. data/rbi/stripe/resources/refund.rbi +523 -0
  224. data/rbi/stripe/resources/reporting/report_run.rbi +191 -0
  225. data/rbi/stripe/resources/reporting/report_type.rbi +57 -0
  226. data/rbi/stripe/resources/reserve_transaction.rbi +23 -0
  227. data/rbi/stripe/resources/reversal.rbi +51 -0
  228. data/rbi/stripe/resources/review.rbi +154 -0
  229. data/rbi/stripe/resources/setup_attempt.rbi +477 -0
  230. data/rbi/stripe/resources/setup_intent.rbi +3978 -0
  231. data/rbi/stripe/resources/shipping_rate.rbi +305 -0
  232. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +75 -0
  233. data/rbi/stripe/resources/source.rbi +1496 -0
  234. data/rbi/stripe/resources/source_mandate_notification.rbi +77 -0
  235. data/rbi/stripe/resources/source_transaction.rbi +127 -0
  236. data/rbi/stripe/resources/subscription.rbi +2080 -0
  237. data/rbi/stripe/resources/subscription_item.rbi +404 -0
  238. data/rbi/stripe/resources/subscription_schedule.rbi +1673 -0
  239. data/rbi/stripe/resources/tax/calculation.rbi +478 -0
  240. data/rbi/stripe/resources/tax/calculation_line_item.rbi +91 -0
  241. data/rbi/stripe/resources/tax/registration.rbi +3216 -0
  242. data/rbi/stripe/resources/tax/settings.rbi +141 -0
  243. data/rbi/stripe/resources/tax/transaction.rbi +351 -0
  244. data/rbi/stripe/resources/tax/transaction_line_item.rbi +54 -0
  245. data/rbi/stripe/resources/tax_code.rbi +44 -0
  246. data/rbi/stripe/resources/tax_deducted_at_source.rbi +23 -0
  247. data/rbi/stripe/resources/tax_id.rbi +165 -0
  248. data/rbi/stripe/resources/tax_rate.rbi +239 -0
  249. data/rbi/stripe/resources/terminal/configuration.rbi +1595 -0
  250. data/rbi/stripe/resources/terminal/connection_token.rbi +37 -0
  251. data/rbi/stripe/resources/terminal/location.rbi +222 -0
  252. data/rbi/stripe/resources/terminal/reader.rbi +994 -0
  253. data/rbi/stripe/resources/test_helpers/test_clock.rbi +132 -0
  254. data/rbi/stripe/resources/token.rbi +1283 -0
  255. data/rbi/stripe/resources/topup.rbi +222 -0
  256. data/rbi/stripe/resources/transfer.rbi +199 -0
  257. data/rbi/stripe/resources/treasury/credit_reversal.rbi +119 -0
  258. data/rbi/stripe/resources/treasury/debit_reversal.rbi +131 -0
  259. data/rbi/stripe/resources/treasury/financial_account.rbi +869 -0
  260. data/rbi/stripe/resources/treasury/financial_account_features.rbi +260 -0
  261. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +295 -0
  262. data/rbi/stripe/resources/treasury/outbound_payment.rbi +592 -0
  263. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +431 -0
  264. data/rbi/stripe/resources/treasury/received_credit.rbi +302 -0
  265. data/rbi/stripe/resources/treasury/received_debit.rbi +256 -0
  266. data/rbi/stripe/resources/treasury/transaction.rbi +215 -0
  267. data/rbi/stripe/resources/treasury/transaction_entry.rbi +192 -0
  268. data/rbi/stripe/resources/v2/amount.rbi +14 -0
  269. data/rbi/stripe/resources/v2/billing/meter_event.rbi +37 -0
  270. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +41 -0
  271. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +31 -0
  272. data/rbi/stripe/resources/v2/event.rbi +48 -0
  273. data/rbi/stripe/resources/v2/event_destination.rbi +91 -0
  274. data/rbi/stripe/resources/webhook_endpoint.rbi +168 -0
  275. data/rbi/stripe/services/account_capability_service.rbi +51 -0
  276. data/{lib/stripe/services/external_account_service.rb → rbi/stripe/services/account_external_account_service.rbi} +122 -135
  277. data/rbi/stripe/services/account_link_service.rbi +60 -0
  278. data/rbi/stripe/services/account_login_link_service.rbi +22 -0
  279. data/rbi/stripe/services/account_person_service.rbi +1011 -0
  280. data/rbi/stripe/services/account_service.rbi +4281 -0
  281. data/rbi/stripe/services/account_session_service.rbi +685 -0
  282. data/rbi/stripe/services/apple_pay_domain_service.rbi +76 -0
  283. data/rbi/stripe/services/application_fee_refund_service.rbi +93 -0
  284. data/rbi/stripe/services/application_fee_service.rbi +78 -0
  285. data/rbi/stripe/services/apps/secret_service.rbi +151 -0
  286. data/rbi/stripe/services/apps_service.rbi +9 -0
  287. data/rbi/stripe/services/balance_service.rbi +21 -0
  288. data/rbi/stripe/services/balance_transaction_service.rbi +93 -0
  289. data/rbi/stripe/services/billing/alert_service.rbi +152 -0
  290. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +68 -0
  291. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +59 -0
  292. data/rbi/stripe/services/billing/credit_grant_service.rbi +211 -0
  293. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +42 -0
  294. data/rbi/stripe/services/billing/meter_event_service.rbi +42 -0
  295. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +54 -0
  296. data/rbi/stripe/services/billing/meter_service.rbi +163 -0
  297. data/rbi/stripe/services/billing_portal/configuration_service.rbi +555 -0
  298. data/rbi/stripe/services/billing_portal/session_service.rbi +204 -0
  299. data/rbi/stripe/services/billing_portal_service.rbi +10 -0
  300. data/rbi/stripe/services/billing_service.rbi +15 -0
  301. data/rbi/stripe/services/charge_service.rbi +448 -0
  302. data/rbi/stripe/services/checkout/session_line_item_service.rbi +33 -0
  303. data/rbi/stripe/services/checkout/session_service.rbi +2690 -0
  304. data/rbi/stripe/services/checkout_service.rbi +9 -0
  305. data/rbi/stripe/services/climate/order_service.rbi +142 -0
  306. data/rbi/stripe/services/climate/product_service.rbi +46 -0
  307. data/{lib/stripe/services/financial_connections/institution_service.rb → rbi/stripe/services/climate/supplier_service.rbi} +25 -36
  308. data/rbi/stripe/services/climate_service.rbi +11 -0
  309. data/rbi/stripe/services/confirmation_token_service.rbi +20 -0
  310. data/rbi/stripe/services/country_spec_service.rbi +44 -0
  311. data/rbi/stripe/services/coupon_service.rbi +194 -0
  312. data/{lib/stripe/services/quote_preview_invoice_service.rb → rbi/stripe/services/credit_note_line_item_service.rbi} +16 -20
  313. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +167 -0
  314. data/rbi/stripe/services/credit_note_service.rbi +415 -0
  315. data/rbi/stripe/services/customer_balance_transaction_service.rbi +92 -0
  316. data/rbi/stripe/services/customer_cash_balance_service.rbi +45 -0
  317. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +44 -0
  318. data/rbi/stripe/services/customer_funding_instructions_service.rbi +59 -0
  319. data/rbi/stripe/services/customer_payment_method_service.rbi +57 -0
  320. data/rbi/stripe/services/customer_payment_source_service.rbi +232 -0
  321. data/rbi/stripe/services/customer_service.rbi +647 -0
  322. data/rbi/stripe/services/customer_session_service.rbi +116 -0
  323. data/rbi/stripe/services/customer_tax_id_service.rbi +70 -0
  324. data/rbi/stripe/services/dispute_service.rbi +424 -0
  325. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +55 -0
  326. data/rbi/stripe/services/entitlements/feature_service.rbi +107 -0
  327. data/rbi/stripe/services/entitlements_service.rbi +10 -0
  328. data/rbi/stripe/services/ephemeral_key_service.rbi +53 -0
  329. data/rbi/stripe/services/event_service.rbi +83 -0
  330. data/rbi/stripe/services/exchange_rate_service.rbi +44 -0
  331. data/rbi/stripe/services/file_link_service.rbi +124 -0
  332. data/rbi/stripe/services/file_service.rbi +116 -0
  333. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +42 -0
  334. data/rbi/stripe/services/financial_connections/account_service.rbi +133 -0
  335. data/rbi/stripe/services/financial_connections/session_service.rbi +88 -0
  336. data/rbi/stripe/services/financial_connections/transaction_service.rbi +92 -0
  337. data/rbi/stripe/services/financial_connections_service.rbi +11 -0
  338. data/rbi/stripe/services/forwarding/request_service.rbi +134 -0
  339. data/rbi/stripe/services/forwarding_service.rbi +9 -0
  340. data/rbi/stripe/services/identity/verification_report_service.rbi +87 -0
  341. data/rbi/stripe/services/identity/verification_session_service.rbi +339 -0
  342. data/rbi/stripe/services/identity_service.rbi +10 -0
  343. data/rbi/stripe/services/invoice_item_service.rbi +366 -0
  344. data/rbi/stripe/services/invoice_line_item_service.rbi +259 -0
  345. data/rbi/stripe/services/invoice_payment_service.rbi +71 -0
  346. data/rbi/stripe/services/invoice_rendering_template_service.rbi +82 -0
  347. data/rbi/stripe/services/invoice_service.rbi +3027 -0
  348. data/rbi/stripe/services/issuing/authorization_service.rbi +146 -0
  349. data/rbi/stripe/services/issuing/card_service.rbi +495 -0
  350. data/rbi/stripe/services/issuing/cardholder_service.rbi +587 -0
  351. data/rbi/stripe/services/issuing/dispute_service.rbi +707 -0
  352. data/rbi/stripe/services/issuing/personalization_design_service.rbi +243 -0
  353. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +59 -0
  354. data/rbi/stripe/services/issuing/token_service.rbi +99 -0
  355. data/rbi/stripe/services/issuing/transaction_service.rbi +105 -0
  356. data/rbi/stripe/services/issuing_service.rbi +16 -0
  357. data/rbi/stripe/services/mandate_service.rbi +20 -0
  358. data/rbi/stripe/services/payment_intent_service.rbi +7994 -0
  359. data/{lib/stripe/services/payment_intent_amount_details_line_item_service.rb → rbi/stripe/services/payment_link_line_item_service.rbi} +16 -20
  360. data/rbi/stripe/services/payment_link_service.rbi +1441 -0
  361. data/rbi/stripe/services/payment_method_configuration_service.rbi +2487 -0
  362. data/rbi/stripe/services/payment_method_domain_service.rbi +112 -0
  363. data/rbi/stripe/services/payment_method_service.rbi +781 -0
  364. data/rbi/stripe/services/payout_service.rbi +205 -0
  365. data/rbi/stripe/services/plan_service.rbi +282 -0
  366. data/rbi/stripe/services/price_service.rbi +546 -0
  367. data/rbi/stripe/services/product_feature_service.rbi +67 -0
  368. data/rbi/stripe/services/product_service.rbi +477 -0
  369. data/rbi/stripe/services/promotion_code_service.rbi +214 -0
  370. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +31 -0
  371. data/{lib/stripe/services/order_line_item_service.rb → rbi/stripe/services/quote_line_item_service.rbi} +16 -20
  372. data/rbi/stripe/services/quote_service.rbi +699 -0
  373. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +85 -0
  374. data/rbi/stripe/services/radar/value_list_item_service.rbi +109 -0
  375. data/rbi/stripe/services/radar/value_list_service.rbi +141 -0
  376. data/rbi/stripe/services/radar_service.rbi +11 -0
  377. data/rbi/stripe/services/refund_service.rbi +185 -0
  378. data/rbi/stripe/services/reporting/report_run_service.rbi +135 -0
  379. data/rbi/stripe/services/reporting/report_type_service.rbi +35 -0
  380. data/rbi/stripe/services/reporting_service.rbi +10 -0
  381. data/rbi/stripe/services/review_service.rbi +84 -0
  382. data/rbi/stripe/services/setup_attempt_service.rbi +65 -0
  383. data/rbi/stripe/services/setup_intent_service.rbi +3709 -0
  384. data/rbi/stripe/services/shipping_rate_service.rbi +241 -0
  385. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +46 -0
  386. data/rbi/stripe/services/sigma_service.rbi +9 -0
  387. data/rbi/stripe/services/source_service.rbi +663 -0
  388. data/{lib/stripe/services/quote_line_service.rb → rbi/stripe/services/source_transaction_service.rbi} +16 -20
  389. data/rbi/stripe/services/subscription_item_service.rbi +350 -0
  390. data/rbi/stripe/services/subscription_schedule_service.rbi +1333 -0
  391. data/rbi/stripe/services/subscription_service.rbi +1684 -0
  392. data/{lib/stripe/services/financial_connections/account_inferred_balance_service.rb → rbi/stripe/services/tax/calculation_line_item_service.rbi} +17 -21
  393. data/rbi/stripe/services/tax/calculation_service.rbi +234 -0
  394. data/rbi/stripe/services/tax/registration_service.rbi +2278 -0
  395. data/rbi/stripe/services/tax/settings_service.rbi +93 -0
  396. data/{lib/stripe/services/privacy/redaction_job_validation_error_service.rb → rbi/stripe/services/tax/transaction_line_item_service.rbi} +17 -21
  397. data/rbi/stripe/services/tax/transaction_service.rbi +146 -0
  398. data/rbi/stripe/services/tax_code_service.rbi +44 -0
  399. data/rbi/stripe/services/tax_id_service.rbi +110 -0
  400. data/rbi/stripe/services/tax_rate_service.rbi +185 -0
  401. data/rbi/stripe/services/tax_service.rbi +12 -0
  402. data/rbi/stripe/services/terminal/configuration_service.rbi +1286 -0
  403. data/rbi/stripe/services/terminal/connection_token_service.rbi +25 -0
  404. data/rbi/stripe/services/terminal/location_service.rbi +182 -0
  405. data/rbi/stripe/services/terminal/reader_service.rbi +540 -0
  406. data/rbi/stripe/services/terminal_service.rbi +12 -0
  407. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +746 -0
  408. data/rbi/stripe/services/test_helpers/customer_service.rbi +33 -0
  409. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +848 -0
  410. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +76 -0
  411. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +69 -0
  412. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +711 -0
  413. data/rbi/stripe/services/test_helpers/issuing_service.rbi +14 -0
  414. data/rbi/stripe/services/test_helpers/refund_service.rbi +22 -0
  415. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +93 -0
  416. data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
  417. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +90 -0
  418. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +64 -0
  419. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +125 -0
  420. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +125 -0
  421. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +87 -0
  422. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +87 -0
  423. data/rbi/stripe/services/test_helpers/treasury_service.rbi +15 -0
  424. data/rbi/stripe/services/test_helpers_service.rbi +15 -0
  425. data/rbi/stripe/services/token_service.rbi +1257 -0
  426. data/rbi/stripe/services/topup_service.rbi +176 -0
  427. data/rbi/stripe/services/transfer_reversal_service.rbi +101 -0
  428. data/rbi/stripe/services/transfer_service.rbi +152 -0
  429. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +84 -0
  430. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +88 -0
  431. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +198 -0
  432. data/rbi/stripe/services/treasury/financial_account_service.rbi +566 -0
  433. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +117 -0
  434. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +304 -0
  435. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +157 -0
  436. data/rbi/stripe/services/treasury/received_credit_service.rbi +72 -0
  437. data/rbi/stripe/services/treasury/received_debit_service.rbi +59 -0
  438. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +111 -0
  439. data/rbi/stripe/services/treasury/transaction_service.rbi +122 -0
  440. data/rbi/stripe/services/treasury_service.rbi +18 -0
  441. data/rbi/stripe/services/v1_services.rbi +77 -0
  442. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +39 -0
  443. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +42 -0
  444. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +18 -0
  445. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +55 -0
  446. data/rbi/stripe/services/v2/billing_service.rbi +14 -0
  447. data/rbi/stripe/services/v2/core/event_destination_service.rbi +192 -0
  448. data/rbi/stripe/services/v2/core/event_service.rbi +36 -0
  449. data/rbi/stripe/services/v2/core_service.rbi +12 -0
  450. data/rbi/stripe/services/v2_services.rbi +10 -0
  451. data/rbi/stripe/services/webhook_endpoint_service.rbi +129 -0
  452. data/stripe.gemspec +1 -4
  453. metadata +325 -162
  454. data/lib/stripe/events/v2_core_account_closed_event.rb +0 -21
  455. data/lib/stripe/events/v2_core_account_created_event.rb +0 -21
  456. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -23
  457. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -21
  458. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -23
  459. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -21
  460. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -23
  461. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -21
  462. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -21
  463. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -21
  464. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -21
  465. data/lib/stripe/events/v2_core_account_link_completed_event.rb +0 -13
  466. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -23
  467. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -23
  468. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -23
  469. data/lib/stripe/events/v2_core_account_updated_event.rb +0 -21
  470. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -21
  471. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
  472. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -21
  473. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -21
  474. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -21
  475. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -23
  476. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -21
  477. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -21
  478. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -21
  479. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -21
  480. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -21
  481. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -21
  482. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -21
  483. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -21
  484. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -21
  485. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -21
  486. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -21
  487. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -21
  488. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -21
  489. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -21
  490. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -21
  491. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -21
  492. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -21
  493. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -23
  494. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -21
  495. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -21
  496. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -21
  497. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -21
  498. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -21
  499. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -21
  500. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -21
  501. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -21
  502. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -21
  503. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -21
  504. data/lib/stripe/events/v2_off_session_payment_requires_capture_event.rb +0 -21
  505. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -21
  506. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -21
  507. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -21
  508. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -21
  509. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -21
  510. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -21
  511. data/lib/stripe/resources/account_notice.rb +0 -123
  512. data/lib/stripe/resources/balance_settings.rb +0 -105
  513. data/lib/stripe/resources/capital/financing_offer.rb +0 -179
  514. data/lib/stripe/resources/capital/financing_summary.rb +0 -55
  515. data/lib/stripe/resources/capital/financing_transaction.rb +0 -114
  516. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
  517. data/lib/stripe/resources/financial_connections/institution.rb +0 -92
  518. data/lib/stripe/resources/fx_quote.rb +0 -184
  519. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -602
  520. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -82
  521. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -86
  522. data/lib/stripe/resources/issuing/settlement.rb +0 -53
  523. data/lib/stripe/resources/margin.rb +0 -115
  524. data/lib/stripe/resources/order.rb +0 -2958
  525. data/lib/stripe/resources/payment_attempt_record.rb +0 -1099
  526. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -72
  527. data/lib/stripe/resources/payment_record.rb +0 -1628
  528. data/lib/stripe/resources/privacy/redaction_job.rb +0 -298
  529. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -33
  530. data/lib/stripe/resources/quote_line.rb +0 -274
  531. data/lib/stripe/resources/quote_preview_invoice.rb +0 -663
  532. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -371
  533. data/lib/stripe/resources/tax/association.rb +0 -66
  534. data/lib/stripe/resources/tax/form.rb +0 -211
  535. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -31
  536. data/lib/stripe/resources/v2/core/account.rb +0 -1755
  537. data/lib/stripe/resources/v2/core/account_link.rb +0 -56
  538. data/lib/stripe/resources/v2/core/person.rb +0 -276
  539. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -74
  540. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -39
  541. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -20
  542. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -22
  543. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -51
  544. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -58
  545. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -68
  546. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -94
  547. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -129
  548. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -82
  549. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -45
  550. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -117
  551. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -75
  552. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -49
  553. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -122
  554. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -84
  555. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -78
  556. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -68
  557. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -72
  558. data/lib/stripe/services/account_notice_service.rb +0 -101
  559. data/lib/stripe/services/balance_settings_service.rb +0 -96
  560. data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
  561. data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
  562. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
  563. data/lib/stripe/services/capital_service.rb +0 -15
  564. data/lib/stripe/services/fx_quote_service.rb +0 -123
  565. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
  566. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
  567. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
  568. data/lib/stripe/services/margin_service.rb +0 -119
  569. data/lib/stripe/services/order_service.rb +0 -2388
  570. data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
  571. data/lib/stripe/services/payment_record_service.rb +0 -542
  572. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -240
  573. data/lib/stripe/services/privacy_service.rb +0 -13
  574. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
  575. data/lib/stripe/services/tax/association_service.rb +0 -31
  576. data/lib/stripe/services/tax/form_service.rb +0 -100
  577. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
  578. data/lib/stripe/services/v2/core/account_link_service.rb +0 -76
  579. data/lib/stripe/services/v2/core/account_service.rb +0 -4170
  580. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1045
  581. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -130
  582. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -107
  583. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  584. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -74
  585. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -43
  586. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -82
  587. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -125
  588. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -95
  589. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -199
  590. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -235
  591. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -172
  592. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -90
  593. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -32
  594. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -70
  595. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -43
  596. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -69
  597. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -73
  598. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  599. data/lib/stripe/services/v2/payment_service.rb +0 -15
  600. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -137
  601. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  602. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -49
  603. data/rbi/stripe.rbi +0 -193855
@@ -0,0 +1,1595 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ # typed: true
5
+ module Stripe
6
+ module Terminal
7
+ # A Configurations object represents how features should be configured for terminal readers.
8
+ # For information about how to use it, see the [Terminal configurations documentation](https://docs.stripe.com/terminal/fleet/configurations-overview).
9
+ class Configuration < APIResource
10
+ class BbposWiseposE < Stripe::StripeObject
11
+ # A File ID representing an image to display on the reader
12
+ sig { returns(T.any(String, Stripe::File)) }
13
+ attr_reader :splashscreen
14
+ end
15
+ class Offline < Stripe::StripeObject
16
+ # Determines whether to allow transactions to be collected while reader is offline. Defaults to false.
17
+ sig { returns(T.nilable(T::Boolean)) }
18
+ attr_reader :enabled
19
+ end
20
+ class RebootWindow < Stripe::StripeObject
21
+ # Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour.
22
+ sig { returns(Integer) }
23
+ attr_reader :end_hour
24
+ # Integer between 0 to 23 that represents the start hour of the reboot time window.
25
+ sig { returns(Integer) }
26
+ attr_reader :start_hour
27
+ end
28
+ class StripeS700 < Stripe::StripeObject
29
+ # A File ID representing an image to display on the reader
30
+ sig { returns(T.any(String, Stripe::File)) }
31
+ attr_reader :splashscreen
32
+ end
33
+ class Tipping < Stripe::StripeObject
34
+ class Aed < Stripe::StripeObject
35
+ # Fixed amounts displayed when collecting a tip
36
+ sig { returns(T.nilable(T::Array[Integer])) }
37
+ attr_reader :fixed_amounts
38
+ # Percentages displayed when collecting a tip
39
+ sig { returns(T.nilable(T::Array[Integer])) }
40
+ attr_reader :percentages
41
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
42
+ sig { returns(Integer) }
43
+ attr_reader :smart_tip_threshold
44
+ end
45
+ class Aud < Stripe::StripeObject
46
+ # Fixed amounts displayed when collecting a tip
47
+ sig { returns(T.nilable(T::Array[Integer])) }
48
+ attr_reader :fixed_amounts
49
+ # Percentages displayed when collecting a tip
50
+ sig { returns(T.nilable(T::Array[Integer])) }
51
+ attr_reader :percentages
52
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
53
+ sig { returns(Integer) }
54
+ attr_reader :smart_tip_threshold
55
+ end
56
+ class Bgn < Stripe::StripeObject
57
+ # Fixed amounts displayed when collecting a tip
58
+ sig { returns(T.nilable(T::Array[Integer])) }
59
+ attr_reader :fixed_amounts
60
+ # Percentages displayed when collecting a tip
61
+ sig { returns(T.nilable(T::Array[Integer])) }
62
+ attr_reader :percentages
63
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
64
+ sig { returns(Integer) }
65
+ attr_reader :smart_tip_threshold
66
+ end
67
+ class Cad < Stripe::StripeObject
68
+ # Fixed amounts displayed when collecting a tip
69
+ sig { returns(T.nilable(T::Array[Integer])) }
70
+ attr_reader :fixed_amounts
71
+ # Percentages displayed when collecting a tip
72
+ sig { returns(T.nilable(T::Array[Integer])) }
73
+ attr_reader :percentages
74
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
75
+ sig { returns(Integer) }
76
+ attr_reader :smart_tip_threshold
77
+ end
78
+ class Chf < Stripe::StripeObject
79
+ # Fixed amounts displayed when collecting a tip
80
+ sig { returns(T.nilable(T::Array[Integer])) }
81
+ attr_reader :fixed_amounts
82
+ # Percentages displayed when collecting a tip
83
+ sig { returns(T.nilable(T::Array[Integer])) }
84
+ attr_reader :percentages
85
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
86
+ sig { returns(Integer) }
87
+ attr_reader :smart_tip_threshold
88
+ end
89
+ class Czk < Stripe::StripeObject
90
+ # Fixed amounts displayed when collecting a tip
91
+ sig { returns(T.nilable(T::Array[Integer])) }
92
+ attr_reader :fixed_amounts
93
+ # Percentages displayed when collecting a tip
94
+ sig { returns(T.nilable(T::Array[Integer])) }
95
+ attr_reader :percentages
96
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
97
+ sig { returns(Integer) }
98
+ attr_reader :smart_tip_threshold
99
+ end
100
+ class Dkk < Stripe::StripeObject
101
+ # Fixed amounts displayed when collecting a tip
102
+ sig { returns(T.nilable(T::Array[Integer])) }
103
+ attr_reader :fixed_amounts
104
+ # Percentages displayed when collecting a tip
105
+ sig { returns(T.nilable(T::Array[Integer])) }
106
+ attr_reader :percentages
107
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
108
+ sig { returns(Integer) }
109
+ attr_reader :smart_tip_threshold
110
+ end
111
+ class Eur < Stripe::StripeObject
112
+ # Fixed amounts displayed when collecting a tip
113
+ sig { returns(T.nilable(T::Array[Integer])) }
114
+ attr_reader :fixed_amounts
115
+ # Percentages displayed when collecting a tip
116
+ sig { returns(T.nilable(T::Array[Integer])) }
117
+ attr_reader :percentages
118
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
119
+ sig { returns(Integer) }
120
+ attr_reader :smart_tip_threshold
121
+ end
122
+ class Gbp < Stripe::StripeObject
123
+ # Fixed amounts displayed when collecting a tip
124
+ sig { returns(T.nilable(T::Array[Integer])) }
125
+ attr_reader :fixed_amounts
126
+ # Percentages displayed when collecting a tip
127
+ sig { returns(T.nilable(T::Array[Integer])) }
128
+ attr_reader :percentages
129
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
130
+ sig { returns(Integer) }
131
+ attr_reader :smart_tip_threshold
132
+ end
133
+ class Hkd < Stripe::StripeObject
134
+ # Fixed amounts displayed when collecting a tip
135
+ sig { returns(T.nilable(T::Array[Integer])) }
136
+ attr_reader :fixed_amounts
137
+ # Percentages displayed when collecting a tip
138
+ sig { returns(T.nilable(T::Array[Integer])) }
139
+ attr_reader :percentages
140
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
141
+ sig { returns(Integer) }
142
+ attr_reader :smart_tip_threshold
143
+ end
144
+ class Huf < Stripe::StripeObject
145
+ # Fixed amounts displayed when collecting a tip
146
+ sig { returns(T.nilable(T::Array[Integer])) }
147
+ attr_reader :fixed_amounts
148
+ # Percentages displayed when collecting a tip
149
+ sig { returns(T.nilable(T::Array[Integer])) }
150
+ attr_reader :percentages
151
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
152
+ sig { returns(Integer) }
153
+ attr_reader :smart_tip_threshold
154
+ end
155
+ class Jpy < Stripe::StripeObject
156
+ # Fixed amounts displayed when collecting a tip
157
+ sig { returns(T.nilable(T::Array[Integer])) }
158
+ attr_reader :fixed_amounts
159
+ # Percentages displayed when collecting a tip
160
+ sig { returns(T.nilable(T::Array[Integer])) }
161
+ attr_reader :percentages
162
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
163
+ sig { returns(Integer) }
164
+ attr_reader :smart_tip_threshold
165
+ end
166
+ class Myr < Stripe::StripeObject
167
+ # Fixed amounts displayed when collecting a tip
168
+ sig { returns(T.nilable(T::Array[Integer])) }
169
+ attr_reader :fixed_amounts
170
+ # Percentages displayed when collecting a tip
171
+ sig { returns(T.nilable(T::Array[Integer])) }
172
+ attr_reader :percentages
173
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
174
+ sig { returns(Integer) }
175
+ attr_reader :smart_tip_threshold
176
+ end
177
+ class Nok < Stripe::StripeObject
178
+ # Fixed amounts displayed when collecting a tip
179
+ sig { returns(T.nilable(T::Array[Integer])) }
180
+ attr_reader :fixed_amounts
181
+ # Percentages displayed when collecting a tip
182
+ sig { returns(T.nilable(T::Array[Integer])) }
183
+ attr_reader :percentages
184
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
185
+ sig { returns(Integer) }
186
+ attr_reader :smart_tip_threshold
187
+ end
188
+ class Nzd < Stripe::StripeObject
189
+ # Fixed amounts displayed when collecting a tip
190
+ sig { returns(T.nilable(T::Array[Integer])) }
191
+ attr_reader :fixed_amounts
192
+ # Percentages displayed when collecting a tip
193
+ sig { returns(T.nilable(T::Array[Integer])) }
194
+ attr_reader :percentages
195
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
196
+ sig { returns(Integer) }
197
+ attr_reader :smart_tip_threshold
198
+ end
199
+ class Pln < Stripe::StripeObject
200
+ # Fixed amounts displayed when collecting a tip
201
+ sig { returns(T.nilable(T::Array[Integer])) }
202
+ attr_reader :fixed_amounts
203
+ # Percentages displayed when collecting a tip
204
+ sig { returns(T.nilable(T::Array[Integer])) }
205
+ attr_reader :percentages
206
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
207
+ sig { returns(Integer) }
208
+ attr_reader :smart_tip_threshold
209
+ end
210
+ class Ron < Stripe::StripeObject
211
+ # Fixed amounts displayed when collecting a tip
212
+ sig { returns(T.nilable(T::Array[Integer])) }
213
+ attr_reader :fixed_amounts
214
+ # Percentages displayed when collecting a tip
215
+ sig { returns(T.nilable(T::Array[Integer])) }
216
+ attr_reader :percentages
217
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
218
+ sig { returns(Integer) }
219
+ attr_reader :smart_tip_threshold
220
+ end
221
+ class Sek < Stripe::StripeObject
222
+ # Fixed amounts displayed when collecting a tip
223
+ sig { returns(T.nilable(T::Array[Integer])) }
224
+ attr_reader :fixed_amounts
225
+ # Percentages displayed when collecting a tip
226
+ sig { returns(T.nilable(T::Array[Integer])) }
227
+ attr_reader :percentages
228
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
229
+ sig { returns(Integer) }
230
+ attr_reader :smart_tip_threshold
231
+ end
232
+ class Sgd < Stripe::StripeObject
233
+ # Fixed amounts displayed when collecting a tip
234
+ sig { returns(T.nilable(T::Array[Integer])) }
235
+ attr_reader :fixed_amounts
236
+ # Percentages displayed when collecting a tip
237
+ sig { returns(T.nilable(T::Array[Integer])) }
238
+ attr_reader :percentages
239
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
240
+ sig { returns(Integer) }
241
+ attr_reader :smart_tip_threshold
242
+ end
243
+ class Usd < Stripe::StripeObject
244
+ # Fixed amounts displayed when collecting a tip
245
+ sig { returns(T.nilable(T::Array[Integer])) }
246
+ attr_reader :fixed_amounts
247
+ # Percentages displayed when collecting a tip
248
+ sig { returns(T.nilable(T::Array[Integer])) }
249
+ attr_reader :percentages
250
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
251
+ sig { returns(Integer) }
252
+ attr_reader :smart_tip_threshold
253
+ end
254
+ # Attribute for field aed
255
+ sig { returns(Aed) }
256
+ attr_reader :aed
257
+ # Attribute for field aud
258
+ sig { returns(Aud) }
259
+ attr_reader :aud
260
+ # Attribute for field bgn
261
+ sig { returns(Bgn) }
262
+ attr_reader :bgn
263
+ # Attribute for field cad
264
+ sig { returns(Cad) }
265
+ attr_reader :cad
266
+ # Attribute for field chf
267
+ sig { returns(Chf) }
268
+ attr_reader :chf
269
+ # Attribute for field czk
270
+ sig { returns(Czk) }
271
+ attr_reader :czk
272
+ # Attribute for field dkk
273
+ sig { returns(Dkk) }
274
+ attr_reader :dkk
275
+ # Attribute for field eur
276
+ sig { returns(Eur) }
277
+ attr_reader :eur
278
+ # Attribute for field gbp
279
+ sig { returns(Gbp) }
280
+ attr_reader :gbp
281
+ # Attribute for field hkd
282
+ sig { returns(Hkd) }
283
+ attr_reader :hkd
284
+ # Attribute for field huf
285
+ sig { returns(Huf) }
286
+ attr_reader :huf
287
+ # Attribute for field jpy
288
+ sig { returns(Jpy) }
289
+ attr_reader :jpy
290
+ # Attribute for field myr
291
+ sig { returns(Myr) }
292
+ attr_reader :myr
293
+ # Attribute for field nok
294
+ sig { returns(Nok) }
295
+ attr_reader :nok
296
+ # Attribute for field nzd
297
+ sig { returns(Nzd) }
298
+ attr_reader :nzd
299
+ # Attribute for field pln
300
+ sig { returns(Pln) }
301
+ attr_reader :pln
302
+ # Attribute for field ron
303
+ sig { returns(Ron) }
304
+ attr_reader :ron
305
+ # Attribute for field sek
306
+ sig { returns(Sek) }
307
+ attr_reader :sek
308
+ # Attribute for field sgd
309
+ sig { returns(Sgd) }
310
+ attr_reader :sgd
311
+ # Attribute for field usd
312
+ sig { returns(Usd) }
313
+ attr_reader :usd
314
+ end
315
+ class VerifoneP400 < Stripe::StripeObject
316
+ # A File ID representing an image to display on the reader
317
+ sig { returns(T.any(String, Stripe::File)) }
318
+ attr_reader :splashscreen
319
+ end
320
+ class Wifi < Stripe::StripeObject
321
+ class EnterpriseEapPeap < Stripe::StripeObject
322
+ # A File ID representing a PEM file containing the server certificate
323
+ sig { returns(String) }
324
+ attr_reader :ca_certificate_file
325
+ # Password for connecting to the WiFi network
326
+ sig { returns(String) }
327
+ attr_reader :password
328
+ # Name of the WiFi network
329
+ sig { returns(String) }
330
+ attr_reader :ssid
331
+ # Username for connecting to the WiFi network
332
+ sig { returns(String) }
333
+ attr_reader :username
334
+ end
335
+ class EnterpriseEapTls < Stripe::StripeObject
336
+ # A File ID representing a PEM file containing the server certificate
337
+ sig { returns(String) }
338
+ attr_reader :ca_certificate_file
339
+ # A File ID representing a PEM file containing the client certificate
340
+ sig { returns(String) }
341
+ attr_reader :client_certificate_file
342
+ # A File ID representing a PEM file containing the client RSA private key
343
+ sig { returns(String) }
344
+ attr_reader :private_key_file
345
+ # Password for the private key file
346
+ sig { returns(String) }
347
+ attr_reader :private_key_file_password
348
+ # Name of the WiFi network
349
+ sig { returns(String) }
350
+ attr_reader :ssid
351
+ end
352
+ class PersonalPsk < Stripe::StripeObject
353
+ # Password for connecting to the WiFi network
354
+ sig { returns(String) }
355
+ attr_reader :password
356
+ # Name of the WiFi network
357
+ sig { returns(String) }
358
+ attr_reader :ssid
359
+ end
360
+ # Attribute for field enterprise_eap_peap
361
+ sig { returns(EnterpriseEapPeap) }
362
+ attr_reader :enterprise_eap_peap
363
+ # Attribute for field enterprise_eap_tls
364
+ sig { returns(EnterpriseEapTls) }
365
+ attr_reader :enterprise_eap_tls
366
+ # Attribute for field personal_psk
367
+ sig { returns(PersonalPsk) }
368
+ attr_reader :personal_psk
369
+ # Security type of the WiFi network. The hash with the corresponding name contains the credentials for this security type.
370
+ sig { returns(String) }
371
+ attr_reader :type
372
+ end
373
+ # Attribute for field bbpos_wisepos_e
374
+ sig { returns(BbposWiseposE) }
375
+ attr_reader :bbpos_wisepos_e
376
+ # Unique identifier for the object.
377
+ sig { returns(String) }
378
+ attr_reader :id
379
+ # Whether this Configuration is the default for your account
380
+ sig { returns(T.nilable(T::Boolean)) }
381
+ attr_reader :is_account_default
382
+ # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
383
+ sig { returns(T::Boolean) }
384
+ attr_reader :livemode
385
+ # String indicating the name of the Configuration object, set by the user
386
+ sig { returns(T.nilable(String)) }
387
+ attr_reader :name
388
+ # String representing the object's type. Objects of the same type share the same value.
389
+ sig { returns(String) }
390
+ attr_reader :object
391
+ # Attribute for field offline
392
+ sig { returns(Offline) }
393
+ attr_reader :offline
394
+ # Attribute for field reboot_window
395
+ sig { returns(RebootWindow) }
396
+ attr_reader :reboot_window
397
+ # Attribute for field stripe_s700
398
+ sig { returns(StripeS700) }
399
+ attr_reader :stripe_s700
400
+ # Attribute for field tipping
401
+ sig { returns(Tipping) }
402
+ attr_reader :tipping
403
+ # Attribute for field verifone_p400
404
+ sig { returns(VerifoneP400) }
405
+ attr_reader :verifone_p400
406
+ # Attribute for field wifi
407
+ sig { returns(Wifi) }
408
+ attr_reader :wifi
409
+ # Always true for a deleted object
410
+ sig { returns(T::Boolean) }
411
+ attr_reader :deleted
412
+ class DeleteParams < Stripe::RequestParams; end
413
+ class UpdateParams < Stripe::RequestParams
414
+ class BbposWiseposE < Stripe::RequestParams
415
+ # A File ID representing an image to display on the reader
416
+ sig { returns(T.nilable(T.nilable(String))) }
417
+ attr_accessor :splashscreen
418
+ sig { params(splashscreen: T.nilable(T.nilable(String))).void }
419
+ def initialize(splashscreen: nil); end
420
+ end
421
+ class Offline < Stripe::RequestParams
422
+ # Determines whether to allow transactions to be collected while reader is offline. Defaults to false.
423
+ sig { returns(T::Boolean) }
424
+ attr_accessor :enabled
425
+ sig { params(enabled: T::Boolean).void }
426
+ def initialize(enabled: nil); end
427
+ end
428
+ class RebootWindow < Stripe::RequestParams
429
+ # Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour.
430
+ sig { returns(Integer) }
431
+ attr_accessor :end_hour
432
+ # Integer between 0 to 23 that represents the start hour of the reboot time window.
433
+ sig { returns(Integer) }
434
+ attr_accessor :start_hour
435
+ sig { params(end_hour: Integer, start_hour: Integer).void }
436
+ def initialize(end_hour: nil, start_hour: nil); end
437
+ end
438
+ class StripeS700 < Stripe::RequestParams
439
+ # A File ID representing an image you would like displayed on the reader.
440
+ sig { returns(T.nilable(T.nilable(String))) }
441
+ attr_accessor :splashscreen
442
+ sig { params(splashscreen: T.nilable(T.nilable(String))).void }
443
+ def initialize(splashscreen: nil); end
444
+ end
445
+ class Tipping < Stripe::RequestParams
446
+ class Aed < Stripe::RequestParams
447
+ # Fixed amounts displayed when collecting a tip
448
+ sig { returns(T.nilable(T::Array[Integer])) }
449
+ attr_accessor :fixed_amounts
450
+ # Percentages displayed when collecting a tip
451
+ sig { returns(T.nilable(T::Array[Integer])) }
452
+ attr_accessor :percentages
453
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
454
+ sig { returns(T.nilable(Integer)) }
455
+ attr_accessor :smart_tip_threshold
456
+ sig {
457
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
458
+ }
459
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
460
+ end
461
+ class Aud < Stripe::RequestParams
462
+ # Fixed amounts displayed when collecting a tip
463
+ sig { returns(T.nilable(T::Array[Integer])) }
464
+ attr_accessor :fixed_amounts
465
+ # Percentages displayed when collecting a tip
466
+ sig { returns(T.nilable(T::Array[Integer])) }
467
+ attr_accessor :percentages
468
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
469
+ sig { returns(T.nilable(Integer)) }
470
+ attr_accessor :smart_tip_threshold
471
+ sig {
472
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
473
+ }
474
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
475
+ end
476
+ class Bgn < Stripe::RequestParams
477
+ # Fixed amounts displayed when collecting a tip
478
+ sig { returns(T.nilable(T::Array[Integer])) }
479
+ attr_accessor :fixed_amounts
480
+ # Percentages displayed when collecting a tip
481
+ sig { returns(T.nilable(T::Array[Integer])) }
482
+ attr_accessor :percentages
483
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
484
+ sig { returns(T.nilable(Integer)) }
485
+ attr_accessor :smart_tip_threshold
486
+ sig {
487
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
488
+ }
489
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
490
+ end
491
+ class Cad < Stripe::RequestParams
492
+ # Fixed amounts displayed when collecting a tip
493
+ sig { returns(T.nilable(T::Array[Integer])) }
494
+ attr_accessor :fixed_amounts
495
+ # Percentages displayed when collecting a tip
496
+ sig { returns(T.nilable(T::Array[Integer])) }
497
+ attr_accessor :percentages
498
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
499
+ sig { returns(T.nilable(Integer)) }
500
+ attr_accessor :smart_tip_threshold
501
+ sig {
502
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
503
+ }
504
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
505
+ end
506
+ class Chf < Stripe::RequestParams
507
+ # Fixed amounts displayed when collecting a tip
508
+ sig { returns(T.nilable(T::Array[Integer])) }
509
+ attr_accessor :fixed_amounts
510
+ # Percentages displayed when collecting a tip
511
+ sig { returns(T.nilable(T::Array[Integer])) }
512
+ attr_accessor :percentages
513
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
514
+ sig { returns(T.nilable(Integer)) }
515
+ attr_accessor :smart_tip_threshold
516
+ sig {
517
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
518
+ }
519
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
520
+ end
521
+ class Czk < Stripe::RequestParams
522
+ # Fixed amounts displayed when collecting a tip
523
+ sig { returns(T.nilable(T::Array[Integer])) }
524
+ attr_accessor :fixed_amounts
525
+ # Percentages displayed when collecting a tip
526
+ sig { returns(T.nilable(T::Array[Integer])) }
527
+ attr_accessor :percentages
528
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
529
+ sig { returns(T.nilable(Integer)) }
530
+ attr_accessor :smart_tip_threshold
531
+ sig {
532
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
533
+ }
534
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
535
+ end
536
+ class Dkk < Stripe::RequestParams
537
+ # Fixed amounts displayed when collecting a tip
538
+ sig { returns(T.nilable(T::Array[Integer])) }
539
+ attr_accessor :fixed_amounts
540
+ # Percentages displayed when collecting a tip
541
+ sig { returns(T.nilable(T::Array[Integer])) }
542
+ attr_accessor :percentages
543
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
544
+ sig { returns(T.nilable(Integer)) }
545
+ attr_accessor :smart_tip_threshold
546
+ sig {
547
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
548
+ }
549
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
550
+ end
551
+ class Eur < Stripe::RequestParams
552
+ # Fixed amounts displayed when collecting a tip
553
+ sig { returns(T.nilable(T::Array[Integer])) }
554
+ attr_accessor :fixed_amounts
555
+ # Percentages displayed when collecting a tip
556
+ sig { returns(T.nilable(T::Array[Integer])) }
557
+ attr_accessor :percentages
558
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
559
+ sig { returns(T.nilable(Integer)) }
560
+ attr_accessor :smart_tip_threshold
561
+ sig {
562
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
563
+ }
564
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
565
+ end
566
+ class Gbp < Stripe::RequestParams
567
+ # Fixed amounts displayed when collecting a tip
568
+ sig { returns(T.nilable(T::Array[Integer])) }
569
+ attr_accessor :fixed_amounts
570
+ # Percentages displayed when collecting a tip
571
+ sig { returns(T.nilable(T::Array[Integer])) }
572
+ attr_accessor :percentages
573
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
574
+ sig { returns(T.nilable(Integer)) }
575
+ attr_accessor :smart_tip_threshold
576
+ sig {
577
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
578
+ }
579
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
580
+ end
581
+ class Hkd < Stripe::RequestParams
582
+ # Fixed amounts displayed when collecting a tip
583
+ sig { returns(T.nilable(T::Array[Integer])) }
584
+ attr_accessor :fixed_amounts
585
+ # Percentages displayed when collecting a tip
586
+ sig { returns(T.nilable(T::Array[Integer])) }
587
+ attr_accessor :percentages
588
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
589
+ sig { returns(T.nilable(Integer)) }
590
+ attr_accessor :smart_tip_threshold
591
+ sig {
592
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
593
+ }
594
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
595
+ end
596
+ class Huf < Stripe::RequestParams
597
+ # Fixed amounts displayed when collecting a tip
598
+ sig { returns(T.nilable(T::Array[Integer])) }
599
+ attr_accessor :fixed_amounts
600
+ # Percentages displayed when collecting a tip
601
+ sig { returns(T.nilable(T::Array[Integer])) }
602
+ attr_accessor :percentages
603
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
604
+ sig { returns(T.nilable(Integer)) }
605
+ attr_accessor :smart_tip_threshold
606
+ sig {
607
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
608
+ }
609
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
610
+ end
611
+ class Jpy < Stripe::RequestParams
612
+ # Fixed amounts displayed when collecting a tip
613
+ sig { returns(T.nilable(T::Array[Integer])) }
614
+ attr_accessor :fixed_amounts
615
+ # Percentages displayed when collecting a tip
616
+ sig { returns(T.nilable(T::Array[Integer])) }
617
+ attr_accessor :percentages
618
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
619
+ sig { returns(T.nilable(Integer)) }
620
+ attr_accessor :smart_tip_threshold
621
+ sig {
622
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
623
+ }
624
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
625
+ end
626
+ class Myr < Stripe::RequestParams
627
+ # Fixed amounts displayed when collecting a tip
628
+ sig { returns(T.nilable(T::Array[Integer])) }
629
+ attr_accessor :fixed_amounts
630
+ # Percentages displayed when collecting a tip
631
+ sig { returns(T.nilable(T::Array[Integer])) }
632
+ attr_accessor :percentages
633
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
634
+ sig { returns(T.nilable(Integer)) }
635
+ attr_accessor :smart_tip_threshold
636
+ sig {
637
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
638
+ }
639
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
640
+ end
641
+ class Nok < Stripe::RequestParams
642
+ # Fixed amounts displayed when collecting a tip
643
+ sig { returns(T.nilable(T::Array[Integer])) }
644
+ attr_accessor :fixed_amounts
645
+ # Percentages displayed when collecting a tip
646
+ sig { returns(T.nilable(T::Array[Integer])) }
647
+ attr_accessor :percentages
648
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
649
+ sig { returns(T.nilable(Integer)) }
650
+ attr_accessor :smart_tip_threshold
651
+ sig {
652
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
653
+ }
654
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
655
+ end
656
+ class Nzd < Stripe::RequestParams
657
+ # Fixed amounts displayed when collecting a tip
658
+ sig { returns(T.nilable(T::Array[Integer])) }
659
+ attr_accessor :fixed_amounts
660
+ # Percentages displayed when collecting a tip
661
+ sig { returns(T.nilable(T::Array[Integer])) }
662
+ attr_accessor :percentages
663
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
664
+ sig { returns(T.nilable(Integer)) }
665
+ attr_accessor :smart_tip_threshold
666
+ sig {
667
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
668
+ }
669
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
670
+ end
671
+ class Pln < Stripe::RequestParams
672
+ # Fixed amounts displayed when collecting a tip
673
+ sig { returns(T.nilable(T::Array[Integer])) }
674
+ attr_accessor :fixed_amounts
675
+ # Percentages displayed when collecting a tip
676
+ sig { returns(T.nilable(T::Array[Integer])) }
677
+ attr_accessor :percentages
678
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
679
+ sig { returns(T.nilable(Integer)) }
680
+ attr_accessor :smart_tip_threshold
681
+ sig {
682
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
683
+ }
684
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
685
+ end
686
+ class Ron < Stripe::RequestParams
687
+ # Fixed amounts displayed when collecting a tip
688
+ sig { returns(T.nilable(T::Array[Integer])) }
689
+ attr_accessor :fixed_amounts
690
+ # Percentages displayed when collecting a tip
691
+ sig { returns(T.nilable(T::Array[Integer])) }
692
+ attr_accessor :percentages
693
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
694
+ sig { returns(T.nilable(Integer)) }
695
+ attr_accessor :smart_tip_threshold
696
+ sig {
697
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
698
+ }
699
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
700
+ end
701
+ class Sek < Stripe::RequestParams
702
+ # Fixed amounts displayed when collecting a tip
703
+ sig { returns(T.nilable(T::Array[Integer])) }
704
+ attr_accessor :fixed_amounts
705
+ # Percentages displayed when collecting a tip
706
+ sig { returns(T.nilable(T::Array[Integer])) }
707
+ attr_accessor :percentages
708
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
709
+ sig { returns(T.nilable(Integer)) }
710
+ attr_accessor :smart_tip_threshold
711
+ sig {
712
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
713
+ }
714
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
715
+ end
716
+ class Sgd < Stripe::RequestParams
717
+ # Fixed amounts displayed when collecting a tip
718
+ sig { returns(T.nilable(T::Array[Integer])) }
719
+ attr_accessor :fixed_amounts
720
+ # Percentages displayed when collecting a tip
721
+ sig { returns(T.nilable(T::Array[Integer])) }
722
+ attr_accessor :percentages
723
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
724
+ sig { returns(T.nilable(Integer)) }
725
+ attr_accessor :smart_tip_threshold
726
+ sig {
727
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
728
+ }
729
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
730
+ end
731
+ class Usd < Stripe::RequestParams
732
+ # Fixed amounts displayed when collecting a tip
733
+ sig { returns(T.nilable(T::Array[Integer])) }
734
+ attr_accessor :fixed_amounts
735
+ # Percentages displayed when collecting a tip
736
+ sig { returns(T.nilable(T::Array[Integer])) }
737
+ attr_accessor :percentages
738
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
739
+ sig { returns(T.nilable(Integer)) }
740
+ attr_accessor :smart_tip_threshold
741
+ sig {
742
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
743
+ }
744
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
745
+ end
746
+ # Tipping configuration for AED
747
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Aed)) }
748
+ attr_accessor :aed
749
+ # Tipping configuration for AUD
750
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Aud)) }
751
+ attr_accessor :aud
752
+ # Tipping configuration for BGN
753
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Bgn)) }
754
+ attr_accessor :bgn
755
+ # Tipping configuration for CAD
756
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Cad)) }
757
+ attr_accessor :cad
758
+ # Tipping configuration for CHF
759
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Chf)) }
760
+ attr_accessor :chf
761
+ # Tipping configuration for CZK
762
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Czk)) }
763
+ attr_accessor :czk
764
+ # Tipping configuration for DKK
765
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Dkk)) }
766
+ attr_accessor :dkk
767
+ # Tipping configuration for EUR
768
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Eur)) }
769
+ attr_accessor :eur
770
+ # Tipping configuration for GBP
771
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Gbp)) }
772
+ attr_accessor :gbp
773
+ # Tipping configuration for HKD
774
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Hkd)) }
775
+ attr_accessor :hkd
776
+ # Tipping configuration for HUF
777
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Huf)) }
778
+ attr_accessor :huf
779
+ # Tipping configuration for JPY
780
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Jpy)) }
781
+ attr_accessor :jpy
782
+ # Tipping configuration for MYR
783
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Myr)) }
784
+ attr_accessor :myr
785
+ # Tipping configuration for NOK
786
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Nok)) }
787
+ attr_accessor :nok
788
+ # Tipping configuration for NZD
789
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Nzd)) }
790
+ attr_accessor :nzd
791
+ # Tipping configuration for PLN
792
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Pln)) }
793
+ attr_accessor :pln
794
+ # Tipping configuration for RON
795
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Ron)) }
796
+ attr_accessor :ron
797
+ # Tipping configuration for SEK
798
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Sek)) }
799
+ attr_accessor :sek
800
+ # Tipping configuration for SGD
801
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Sgd)) }
802
+ attr_accessor :sgd
803
+ # Tipping configuration for USD
804
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Usd)) }
805
+ attr_accessor :usd
806
+ sig {
807
+ params(aed: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Aed), aud: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Aud), bgn: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Bgn), cad: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Cad), chf: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Chf), czk: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Czk), dkk: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Dkk), eur: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Eur), gbp: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Gbp), hkd: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Hkd), huf: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Huf), jpy: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Jpy), myr: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Myr), nok: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Nok), nzd: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Nzd), pln: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Pln), ron: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Ron), sek: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Sek), sgd: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Sgd), usd: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Usd)).void
808
+ }
809
+ def initialize(
810
+ aed: nil,
811
+ aud: nil,
812
+ bgn: nil,
813
+ cad: nil,
814
+ chf: nil,
815
+ czk: nil,
816
+ dkk: nil,
817
+ eur: nil,
818
+ gbp: nil,
819
+ hkd: nil,
820
+ huf: nil,
821
+ jpy: nil,
822
+ myr: nil,
823
+ nok: nil,
824
+ nzd: nil,
825
+ pln: nil,
826
+ ron: nil,
827
+ sek: nil,
828
+ sgd: nil,
829
+ usd: nil
830
+ ); end
831
+ end
832
+ class VerifoneP400 < Stripe::RequestParams
833
+ # A File ID representing an image you would like displayed on the reader.
834
+ sig { returns(T.nilable(T.nilable(String))) }
835
+ attr_accessor :splashscreen
836
+ sig { params(splashscreen: T.nilable(T.nilable(String))).void }
837
+ def initialize(splashscreen: nil); end
838
+ end
839
+ class Wifi < Stripe::RequestParams
840
+ class EnterpriseEapPeap < Stripe::RequestParams
841
+ # A File ID representing a PEM file containing the server certificate
842
+ sig { returns(T.nilable(String)) }
843
+ attr_accessor :ca_certificate_file
844
+ # Password for connecting to the WiFi network
845
+ sig { returns(String) }
846
+ attr_accessor :password
847
+ # Name of the WiFi network
848
+ sig { returns(String) }
849
+ attr_accessor :ssid
850
+ # Username for connecting to the WiFi network
851
+ sig { returns(String) }
852
+ attr_accessor :username
853
+ sig {
854
+ params(ca_certificate_file: T.nilable(String), password: String, ssid: String, username: String).void
855
+ }
856
+ def initialize(ca_certificate_file: nil, password: nil, ssid: nil, username: nil); end
857
+ end
858
+ class EnterpriseEapTls < Stripe::RequestParams
859
+ # A File ID representing a PEM file containing the server certificate
860
+ sig { returns(T.nilable(String)) }
861
+ attr_accessor :ca_certificate_file
862
+ # A File ID representing a PEM file containing the client certificate
863
+ sig { returns(String) }
864
+ attr_accessor :client_certificate_file
865
+ # A File ID representing a PEM file containing the client RSA private key
866
+ sig { returns(String) }
867
+ attr_accessor :private_key_file
868
+ # Password for the private key file
869
+ sig { returns(T.nilable(String)) }
870
+ attr_accessor :private_key_file_password
871
+ # Name of the WiFi network
872
+ sig { returns(String) }
873
+ attr_accessor :ssid
874
+ sig {
875
+ params(ca_certificate_file: T.nilable(String), client_certificate_file: String, private_key_file: String, private_key_file_password: T.nilable(String), ssid: String).void
876
+ }
877
+ def initialize(
878
+ ca_certificate_file: nil,
879
+ client_certificate_file: nil,
880
+ private_key_file: nil,
881
+ private_key_file_password: nil,
882
+ ssid: nil
883
+ ); end
884
+ end
885
+ class PersonalPsk < Stripe::RequestParams
886
+ # Password for connecting to the WiFi network
887
+ sig { returns(String) }
888
+ attr_accessor :password
889
+ # Name of the WiFi network
890
+ sig { returns(String) }
891
+ attr_accessor :ssid
892
+ sig { params(password: String, ssid: String).void }
893
+ def initialize(password: nil, ssid: nil); end
894
+ end
895
+ # Credentials for a WPA-Enterprise WiFi network using the EAP-PEAP authentication method.
896
+ sig {
897
+ returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Wifi::EnterpriseEapPeap))
898
+ }
899
+ attr_accessor :enterprise_eap_peap
900
+ # Credentials for a WPA-Enterprise WiFi network using the EAP-TLS authentication method.
901
+ sig {
902
+ returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Wifi::EnterpriseEapTls))
903
+ }
904
+ attr_accessor :enterprise_eap_tls
905
+ # Credentials for a WPA-Personal WiFi network.
906
+ sig {
907
+ returns(T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Wifi::PersonalPsk))
908
+ }
909
+ attr_accessor :personal_psk
910
+ # Security type of the WiFi network. Fill out the hash with the corresponding name to provide the set of credentials for this security type.
911
+ sig { returns(String) }
912
+ attr_accessor :type
913
+ sig {
914
+ params(enterprise_eap_peap: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Wifi::EnterpriseEapPeap), enterprise_eap_tls: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Wifi::EnterpriseEapTls), personal_psk: T.nilable(::Stripe::Terminal::Configuration::UpdateParams::Wifi::PersonalPsk), type: String).void
915
+ }
916
+ def initialize(
917
+ enterprise_eap_peap: nil,
918
+ enterprise_eap_tls: nil,
919
+ personal_psk: nil,
920
+ type: nil
921
+ ); end
922
+ end
923
+ # An object containing device type specific settings for BBPOS WisePOS E readers
924
+ sig {
925
+ returns(T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::BbposWiseposE))))
926
+ }
927
+ attr_accessor :bbpos_wisepos_e
928
+ # Specifies which fields in the response should be expanded.
929
+ sig { returns(T.nilable(T::Array[String])) }
930
+ attr_accessor :expand
931
+ # Name of the configuration
932
+ sig { returns(T.nilable(String)) }
933
+ attr_accessor :name
934
+ # Configurations for collecting transactions offline.
935
+ sig {
936
+ returns(T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::Offline))))
937
+ }
938
+ attr_accessor :offline
939
+ # Reboot time settings for readers that support customized reboot time configuration.
940
+ sig {
941
+ returns(T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::RebootWindow))))
942
+ }
943
+ attr_accessor :reboot_window
944
+ # An object containing device type specific settings for Stripe S700 readers
945
+ sig {
946
+ returns(T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::StripeS700))))
947
+ }
948
+ attr_accessor :stripe_s700
949
+ # Tipping configurations for readers supporting on-reader tips
950
+ sig {
951
+ returns(T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::Tipping))))
952
+ }
953
+ attr_accessor :tipping
954
+ # An object containing device type specific settings for Verifone P400 readers
955
+ sig {
956
+ returns(T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::VerifoneP400))))
957
+ }
958
+ attr_accessor :verifone_p400
959
+ # Configurations for connecting to a WiFi network.
960
+ sig {
961
+ returns(T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::Wifi))))
962
+ }
963
+ attr_accessor :wifi
964
+ sig {
965
+ params(bbpos_wisepos_e: T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::BbposWiseposE))), expand: T.nilable(T::Array[String]), name: T.nilable(String), offline: T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::Offline))), reboot_window: T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::RebootWindow))), stripe_s700: T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::StripeS700))), tipping: T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::Tipping))), verifone_p400: T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::VerifoneP400))), wifi: T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::UpdateParams::Wifi)))).void
966
+ }
967
+ def initialize(
968
+ bbpos_wisepos_e: nil,
969
+ expand: nil,
970
+ name: nil,
971
+ offline: nil,
972
+ reboot_window: nil,
973
+ stripe_s700: nil,
974
+ tipping: nil,
975
+ verifone_p400: nil,
976
+ wifi: nil
977
+ ); end
978
+ end
979
+ class ListParams < Stripe::RequestParams
980
+ # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
981
+ sig { returns(T.nilable(String)) }
982
+ attr_accessor :ending_before
983
+ # Specifies which fields in the response should be expanded.
984
+ sig { returns(T.nilable(T::Array[String])) }
985
+ attr_accessor :expand
986
+ # if present, only return the account default or non-default configurations.
987
+ sig { returns(T.nilable(T::Boolean)) }
988
+ attr_accessor :is_account_default
989
+ # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
990
+ sig { returns(T.nilable(Integer)) }
991
+ attr_accessor :limit
992
+ # A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
993
+ sig { returns(T.nilable(String)) }
994
+ attr_accessor :starting_after
995
+ sig {
996
+ params(ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), is_account_default: T.nilable(T::Boolean), limit: T.nilable(Integer), starting_after: T.nilable(String)).void
997
+ }
998
+ def initialize(
999
+ ending_before: nil,
1000
+ expand: nil,
1001
+ is_account_default: nil,
1002
+ limit: nil,
1003
+ starting_after: nil
1004
+ ); end
1005
+ end
1006
+ class CreateParams < Stripe::RequestParams
1007
+ class BbposWiseposE < Stripe::RequestParams
1008
+ # A File ID representing an image to display on the reader
1009
+ sig { returns(T.nilable(T.nilable(String))) }
1010
+ attr_accessor :splashscreen
1011
+ sig { params(splashscreen: T.nilable(T.nilable(String))).void }
1012
+ def initialize(splashscreen: nil); end
1013
+ end
1014
+ class Offline < Stripe::RequestParams
1015
+ # Determines whether to allow transactions to be collected while reader is offline. Defaults to false.
1016
+ sig { returns(T::Boolean) }
1017
+ attr_accessor :enabled
1018
+ sig { params(enabled: T::Boolean).void }
1019
+ def initialize(enabled: nil); end
1020
+ end
1021
+ class RebootWindow < Stripe::RequestParams
1022
+ # Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour.
1023
+ sig { returns(Integer) }
1024
+ attr_accessor :end_hour
1025
+ # Integer between 0 to 23 that represents the start hour of the reboot time window.
1026
+ sig { returns(Integer) }
1027
+ attr_accessor :start_hour
1028
+ sig { params(end_hour: Integer, start_hour: Integer).void }
1029
+ def initialize(end_hour: nil, start_hour: nil); end
1030
+ end
1031
+ class StripeS700 < Stripe::RequestParams
1032
+ # A File ID representing an image you would like displayed on the reader.
1033
+ sig { returns(T.nilable(T.nilable(String))) }
1034
+ attr_accessor :splashscreen
1035
+ sig { params(splashscreen: T.nilable(T.nilable(String))).void }
1036
+ def initialize(splashscreen: nil); end
1037
+ end
1038
+ class Tipping < Stripe::RequestParams
1039
+ class Aed < Stripe::RequestParams
1040
+ # Fixed amounts displayed when collecting a tip
1041
+ sig { returns(T.nilable(T::Array[Integer])) }
1042
+ attr_accessor :fixed_amounts
1043
+ # Percentages displayed when collecting a tip
1044
+ sig { returns(T.nilable(T::Array[Integer])) }
1045
+ attr_accessor :percentages
1046
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
1047
+ sig { returns(T.nilable(Integer)) }
1048
+ attr_accessor :smart_tip_threshold
1049
+ sig {
1050
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
1051
+ }
1052
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
1053
+ end
1054
+ class Aud < Stripe::RequestParams
1055
+ # Fixed amounts displayed when collecting a tip
1056
+ sig { returns(T.nilable(T::Array[Integer])) }
1057
+ attr_accessor :fixed_amounts
1058
+ # Percentages displayed when collecting a tip
1059
+ sig { returns(T.nilable(T::Array[Integer])) }
1060
+ attr_accessor :percentages
1061
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
1062
+ sig { returns(T.nilable(Integer)) }
1063
+ attr_accessor :smart_tip_threshold
1064
+ sig {
1065
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
1066
+ }
1067
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
1068
+ end
1069
+ class Bgn < Stripe::RequestParams
1070
+ # Fixed amounts displayed when collecting a tip
1071
+ sig { returns(T.nilable(T::Array[Integer])) }
1072
+ attr_accessor :fixed_amounts
1073
+ # Percentages displayed when collecting a tip
1074
+ sig { returns(T.nilable(T::Array[Integer])) }
1075
+ attr_accessor :percentages
1076
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
1077
+ sig { returns(T.nilable(Integer)) }
1078
+ attr_accessor :smart_tip_threshold
1079
+ sig {
1080
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
1081
+ }
1082
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
1083
+ end
1084
+ class Cad < Stripe::RequestParams
1085
+ # Fixed amounts displayed when collecting a tip
1086
+ sig { returns(T.nilable(T::Array[Integer])) }
1087
+ attr_accessor :fixed_amounts
1088
+ # Percentages displayed when collecting a tip
1089
+ sig { returns(T.nilable(T::Array[Integer])) }
1090
+ attr_accessor :percentages
1091
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
1092
+ sig { returns(T.nilable(Integer)) }
1093
+ attr_accessor :smart_tip_threshold
1094
+ sig {
1095
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
1096
+ }
1097
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
1098
+ end
1099
+ class Chf < Stripe::RequestParams
1100
+ # Fixed amounts displayed when collecting a tip
1101
+ sig { returns(T.nilable(T::Array[Integer])) }
1102
+ attr_accessor :fixed_amounts
1103
+ # Percentages displayed when collecting a tip
1104
+ sig { returns(T.nilable(T::Array[Integer])) }
1105
+ attr_accessor :percentages
1106
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
1107
+ sig { returns(T.nilable(Integer)) }
1108
+ attr_accessor :smart_tip_threshold
1109
+ sig {
1110
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
1111
+ }
1112
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
1113
+ end
1114
+ class Czk < Stripe::RequestParams
1115
+ # Fixed amounts displayed when collecting a tip
1116
+ sig { returns(T.nilable(T::Array[Integer])) }
1117
+ attr_accessor :fixed_amounts
1118
+ # Percentages displayed when collecting a tip
1119
+ sig { returns(T.nilable(T::Array[Integer])) }
1120
+ attr_accessor :percentages
1121
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
1122
+ sig { returns(T.nilable(Integer)) }
1123
+ attr_accessor :smart_tip_threshold
1124
+ sig {
1125
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
1126
+ }
1127
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
1128
+ end
1129
+ class Dkk < Stripe::RequestParams
1130
+ # Fixed amounts displayed when collecting a tip
1131
+ sig { returns(T.nilable(T::Array[Integer])) }
1132
+ attr_accessor :fixed_amounts
1133
+ # Percentages displayed when collecting a tip
1134
+ sig { returns(T.nilable(T::Array[Integer])) }
1135
+ attr_accessor :percentages
1136
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
1137
+ sig { returns(T.nilable(Integer)) }
1138
+ attr_accessor :smart_tip_threshold
1139
+ sig {
1140
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
1141
+ }
1142
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
1143
+ end
1144
+ class Eur < Stripe::RequestParams
1145
+ # Fixed amounts displayed when collecting a tip
1146
+ sig { returns(T.nilable(T::Array[Integer])) }
1147
+ attr_accessor :fixed_amounts
1148
+ # Percentages displayed when collecting a tip
1149
+ sig { returns(T.nilable(T::Array[Integer])) }
1150
+ attr_accessor :percentages
1151
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
1152
+ sig { returns(T.nilable(Integer)) }
1153
+ attr_accessor :smart_tip_threshold
1154
+ sig {
1155
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
1156
+ }
1157
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
1158
+ end
1159
+ class Gbp < Stripe::RequestParams
1160
+ # Fixed amounts displayed when collecting a tip
1161
+ sig { returns(T.nilable(T::Array[Integer])) }
1162
+ attr_accessor :fixed_amounts
1163
+ # Percentages displayed when collecting a tip
1164
+ sig { returns(T.nilable(T::Array[Integer])) }
1165
+ attr_accessor :percentages
1166
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
1167
+ sig { returns(T.nilable(Integer)) }
1168
+ attr_accessor :smart_tip_threshold
1169
+ sig {
1170
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
1171
+ }
1172
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
1173
+ end
1174
+ class Hkd < Stripe::RequestParams
1175
+ # Fixed amounts displayed when collecting a tip
1176
+ sig { returns(T.nilable(T::Array[Integer])) }
1177
+ attr_accessor :fixed_amounts
1178
+ # Percentages displayed when collecting a tip
1179
+ sig { returns(T.nilable(T::Array[Integer])) }
1180
+ attr_accessor :percentages
1181
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
1182
+ sig { returns(T.nilable(Integer)) }
1183
+ attr_accessor :smart_tip_threshold
1184
+ sig {
1185
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
1186
+ }
1187
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
1188
+ end
1189
+ class Huf < Stripe::RequestParams
1190
+ # Fixed amounts displayed when collecting a tip
1191
+ sig { returns(T.nilable(T::Array[Integer])) }
1192
+ attr_accessor :fixed_amounts
1193
+ # Percentages displayed when collecting a tip
1194
+ sig { returns(T.nilable(T::Array[Integer])) }
1195
+ attr_accessor :percentages
1196
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
1197
+ sig { returns(T.nilable(Integer)) }
1198
+ attr_accessor :smart_tip_threshold
1199
+ sig {
1200
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
1201
+ }
1202
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
1203
+ end
1204
+ class Jpy < Stripe::RequestParams
1205
+ # Fixed amounts displayed when collecting a tip
1206
+ sig { returns(T.nilable(T::Array[Integer])) }
1207
+ attr_accessor :fixed_amounts
1208
+ # Percentages displayed when collecting a tip
1209
+ sig { returns(T.nilable(T::Array[Integer])) }
1210
+ attr_accessor :percentages
1211
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
1212
+ sig { returns(T.nilable(Integer)) }
1213
+ attr_accessor :smart_tip_threshold
1214
+ sig {
1215
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
1216
+ }
1217
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
1218
+ end
1219
+ class Myr < Stripe::RequestParams
1220
+ # Fixed amounts displayed when collecting a tip
1221
+ sig { returns(T.nilable(T::Array[Integer])) }
1222
+ attr_accessor :fixed_amounts
1223
+ # Percentages displayed when collecting a tip
1224
+ sig { returns(T.nilable(T::Array[Integer])) }
1225
+ attr_accessor :percentages
1226
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
1227
+ sig { returns(T.nilable(Integer)) }
1228
+ attr_accessor :smart_tip_threshold
1229
+ sig {
1230
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
1231
+ }
1232
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
1233
+ end
1234
+ class Nok < Stripe::RequestParams
1235
+ # Fixed amounts displayed when collecting a tip
1236
+ sig { returns(T.nilable(T::Array[Integer])) }
1237
+ attr_accessor :fixed_amounts
1238
+ # Percentages displayed when collecting a tip
1239
+ sig { returns(T.nilable(T::Array[Integer])) }
1240
+ attr_accessor :percentages
1241
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
1242
+ sig { returns(T.nilable(Integer)) }
1243
+ attr_accessor :smart_tip_threshold
1244
+ sig {
1245
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
1246
+ }
1247
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
1248
+ end
1249
+ class Nzd < Stripe::RequestParams
1250
+ # Fixed amounts displayed when collecting a tip
1251
+ sig { returns(T.nilable(T::Array[Integer])) }
1252
+ attr_accessor :fixed_amounts
1253
+ # Percentages displayed when collecting a tip
1254
+ sig { returns(T.nilable(T::Array[Integer])) }
1255
+ attr_accessor :percentages
1256
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
1257
+ sig { returns(T.nilable(Integer)) }
1258
+ attr_accessor :smart_tip_threshold
1259
+ sig {
1260
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
1261
+ }
1262
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
1263
+ end
1264
+ class Pln < Stripe::RequestParams
1265
+ # Fixed amounts displayed when collecting a tip
1266
+ sig { returns(T.nilable(T::Array[Integer])) }
1267
+ attr_accessor :fixed_amounts
1268
+ # Percentages displayed when collecting a tip
1269
+ sig { returns(T.nilable(T::Array[Integer])) }
1270
+ attr_accessor :percentages
1271
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
1272
+ sig { returns(T.nilable(Integer)) }
1273
+ attr_accessor :smart_tip_threshold
1274
+ sig {
1275
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
1276
+ }
1277
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
1278
+ end
1279
+ class Ron < Stripe::RequestParams
1280
+ # Fixed amounts displayed when collecting a tip
1281
+ sig { returns(T.nilable(T::Array[Integer])) }
1282
+ attr_accessor :fixed_amounts
1283
+ # Percentages displayed when collecting a tip
1284
+ sig { returns(T.nilable(T::Array[Integer])) }
1285
+ attr_accessor :percentages
1286
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
1287
+ sig { returns(T.nilable(Integer)) }
1288
+ attr_accessor :smart_tip_threshold
1289
+ sig {
1290
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
1291
+ }
1292
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
1293
+ end
1294
+ class Sek < Stripe::RequestParams
1295
+ # Fixed amounts displayed when collecting a tip
1296
+ sig { returns(T.nilable(T::Array[Integer])) }
1297
+ attr_accessor :fixed_amounts
1298
+ # Percentages displayed when collecting a tip
1299
+ sig { returns(T.nilable(T::Array[Integer])) }
1300
+ attr_accessor :percentages
1301
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
1302
+ sig { returns(T.nilable(Integer)) }
1303
+ attr_accessor :smart_tip_threshold
1304
+ sig {
1305
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
1306
+ }
1307
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
1308
+ end
1309
+ class Sgd < Stripe::RequestParams
1310
+ # Fixed amounts displayed when collecting a tip
1311
+ sig { returns(T.nilable(T::Array[Integer])) }
1312
+ attr_accessor :fixed_amounts
1313
+ # Percentages displayed when collecting a tip
1314
+ sig { returns(T.nilable(T::Array[Integer])) }
1315
+ attr_accessor :percentages
1316
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
1317
+ sig { returns(T.nilable(Integer)) }
1318
+ attr_accessor :smart_tip_threshold
1319
+ sig {
1320
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
1321
+ }
1322
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
1323
+ end
1324
+ class Usd < Stripe::RequestParams
1325
+ # Fixed amounts displayed when collecting a tip
1326
+ sig { returns(T.nilable(T::Array[Integer])) }
1327
+ attr_accessor :fixed_amounts
1328
+ # Percentages displayed when collecting a tip
1329
+ sig { returns(T.nilable(T::Array[Integer])) }
1330
+ attr_accessor :percentages
1331
+ # Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
1332
+ sig { returns(T.nilable(Integer)) }
1333
+ attr_accessor :smart_tip_threshold
1334
+ sig {
1335
+ params(fixed_amounts: T.nilable(T::Array[Integer]), percentages: T.nilable(T::Array[Integer]), smart_tip_threshold: T.nilable(Integer)).void
1336
+ }
1337
+ def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
1338
+ end
1339
+ # Tipping configuration for AED
1340
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Aed)) }
1341
+ attr_accessor :aed
1342
+ # Tipping configuration for AUD
1343
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Aud)) }
1344
+ attr_accessor :aud
1345
+ # Tipping configuration for BGN
1346
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Bgn)) }
1347
+ attr_accessor :bgn
1348
+ # Tipping configuration for CAD
1349
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Cad)) }
1350
+ attr_accessor :cad
1351
+ # Tipping configuration for CHF
1352
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Chf)) }
1353
+ attr_accessor :chf
1354
+ # Tipping configuration for CZK
1355
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Czk)) }
1356
+ attr_accessor :czk
1357
+ # Tipping configuration for DKK
1358
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Dkk)) }
1359
+ attr_accessor :dkk
1360
+ # Tipping configuration for EUR
1361
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Eur)) }
1362
+ attr_accessor :eur
1363
+ # Tipping configuration for GBP
1364
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Gbp)) }
1365
+ attr_accessor :gbp
1366
+ # Tipping configuration for HKD
1367
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Hkd)) }
1368
+ attr_accessor :hkd
1369
+ # Tipping configuration for HUF
1370
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Huf)) }
1371
+ attr_accessor :huf
1372
+ # Tipping configuration for JPY
1373
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Jpy)) }
1374
+ attr_accessor :jpy
1375
+ # Tipping configuration for MYR
1376
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Myr)) }
1377
+ attr_accessor :myr
1378
+ # Tipping configuration for NOK
1379
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Nok)) }
1380
+ attr_accessor :nok
1381
+ # Tipping configuration for NZD
1382
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Nzd)) }
1383
+ attr_accessor :nzd
1384
+ # Tipping configuration for PLN
1385
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Pln)) }
1386
+ attr_accessor :pln
1387
+ # Tipping configuration for RON
1388
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Ron)) }
1389
+ attr_accessor :ron
1390
+ # Tipping configuration for SEK
1391
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Sek)) }
1392
+ attr_accessor :sek
1393
+ # Tipping configuration for SGD
1394
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Sgd)) }
1395
+ attr_accessor :sgd
1396
+ # Tipping configuration for USD
1397
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Usd)) }
1398
+ attr_accessor :usd
1399
+ sig {
1400
+ params(aed: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Aed), aud: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Aud), bgn: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Bgn), cad: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Cad), chf: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Chf), czk: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Czk), dkk: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Dkk), eur: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Eur), gbp: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Gbp), hkd: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Hkd), huf: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Huf), jpy: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Jpy), myr: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Myr), nok: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Nok), nzd: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Nzd), pln: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Pln), ron: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Ron), sek: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Sek), sgd: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Sgd), usd: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Tipping::Usd)).void
1401
+ }
1402
+ def initialize(
1403
+ aed: nil,
1404
+ aud: nil,
1405
+ bgn: nil,
1406
+ cad: nil,
1407
+ chf: nil,
1408
+ czk: nil,
1409
+ dkk: nil,
1410
+ eur: nil,
1411
+ gbp: nil,
1412
+ hkd: nil,
1413
+ huf: nil,
1414
+ jpy: nil,
1415
+ myr: nil,
1416
+ nok: nil,
1417
+ nzd: nil,
1418
+ pln: nil,
1419
+ ron: nil,
1420
+ sek: nil,
1421
+ sgd: nil,
1422
+ usd: nil
1423
+ ); end
1424
+ end
1425
+ class VerifoneP400 < Stripe::RequestParams
1426
+ # A File ID representing an image you would like displayed on the reader.
1427
+ sig { returns(T.nilable(T.nilable(String))) }
1428
+ attr_accessor :splashscreen
1429
+ sig { params(splashscreen: T.nilable(T.nilable(String))).void }
1430
+ def initialize(splashscreen: nil); end
1431
+ end
1432
+ class Wifi < Stripe::RequestParams
1433
+ class EnterpriseEapPeap < Stripe::RequestParams
1434
+ # A File ID representing a PEM file containing the server certificate
1435
+ sig { returns(T.nilable(String)) }
1436
+ attr_accessor :ca_certificate_file
1437
+ # Password for connecting to the WiFi network
1438
+ sig { returns(String) }
1439
+ attr_accessor :password
1440
+ # Name of the WiFi network
1441
+ sig { returns(String) }
1442
+ attr_accessor :ssid
1443
+ # Username for connecting to the WiFi network
1444
+ sig { returns(String) }
1445
+ attr_accessor :username
1446
+ sig {
1447
+ params(ca_certificate_file: T.nilable(String), password: String, ssid: String, username: String).void
1448
+ }
1449
+ def initialize(ca_certificate_file: nil, password: nil, ssid: nil, username: nil); end
1450
+ end
1451
+ class EnterpriseEapTls < Stripe::RequestParams
1452
+ # A File ID representing a PEM file containing the server certificate
1453
+ sig { returns(T.nilable(String)) }
1454
+ attr_accessor :ca_certificate_file
1455
+ # A File ID representing a PEM file containing the client certificate
1456
+ sig { returns(String) }
1457
+ attr_accessor :client_certificate_file
1458
+ # A File ID representing a PEM file containing the client RSA private key
1459
+ sig { returns(String) }
1460
+ attr_accessor :private_key_file
1461
+ # Password for the private key file
1462
+ sig { returns(T.nilable(String)) }
1463
+ attr_accessor :private_key_file_password
1464
+ # Name of the WiFi network
1465
+ sig { returns(String) }
1466
+ attr_accessor :ssid
1467
+ sig {
1468
+ params(ca_certificate_file: T.nilable(String), client_certificate_file: String, private_key_file: String, private_key_file_password: T.nilable(String), ssid: String).void
1469
+ }
1470
+ def initialize(
1471
+ ca_certificate_file: nil,
1472
+ client_certificate_file: nil,
1473
+ private_key_file: nil,
1474
+ private_key_file_password: nil,
1475
+ ssid: nil
1476
+ ); end
1477
+ end
1478
+ class PersonalPsk < Stripe::RequestParams
1479
+ # Password for connecting to the WiFi network
1480
+ sig { returns(String) }
1481
+ attr_accessor :password
1482
+ # Name of the WiFi network
1483
+ sig { returns(String) }
1484
+ attr_accessor :ssid
1485
+ sig { params(password: String, ssid: String).void }
1486
+ def initialize(password: nil, ssid: nil); end
1487
+ end
1488
+ # Credentials for a WPA-Enterprise WiFi network using the EAP-PEAP authentication method.
1489
+ sig {
1490
+ returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Wifi::EnterpriseEapPeap))
1491
+ }
1492
+ attr_accessor :enterprise_eap_peap
1493
+ # Credentials for a WPA-Enterprise WiFi network using the EAP-TLS authentication method.
1494
+ sig {
1495
+ returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Wifi::EnterpriseEapTls))
1496
+ }
1497
+ attr_accessor :enterprise_eap_tls
1498
+ # Credentials for a WPA-Personal WiFi network.
1499
+ sig {
1500
+ returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::Wifi::PersonalPsk))
1501
+ }
1502
+ attr_accessor :personal_psk
1503
+ # Security type of the WiFi network. Fill out the hash with the corresponding name to provide the set of credentials for this security type.
1504
+ sig { returns(String) }
1505
+ attr_accessor :type
1506
+ sig {
1507
+ params(enterprise_eap_peap: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Wifi::EnterpriseEapPeap), enterprise_eap_tls: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Wifi::EnterpriseEapTls), personal_psk: T.nilable(::Stripe::Terminal::Configuration::CreateParams::Wifi::PersonalPsk), type: String).void
1508
+ }
1509
+ def initialize(
1510
+ enterprise_eap_peap: nil,
1511
+ enterprise_eap_tls: nil,
1512
+ personal_psk: nil,
1513
+ type: nil
1514
+ ); end
1515
+ end
1516
+ # An object containing device type specific settings for BBPOS WisePOS E readers
1517
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::BbposWiseposE)) }
1518
+ attr_accessor :bbpos_wisepos_e
1519
+ # Specifies which fields in the response should be expanded.
1520
+ sig { returns(T.nilable(T::Array[String])) }
1521
+ attr_accessor :expand
1522
+ # Name of the configuration
1523
+ sig { returns(T.nilable(String)) }
1524
+ attr_accessor :name
1525
+ # Configurations for collecting transactions offline.
1526
+ sig {
1527
+ returns(T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::CreateParams::Offline))))
1528
+ }
1529
+ attr_accessor :offline
1530
+ # Reboot time settings for readers that support customized reboot time configuration.
1531
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::RebootWindow)) }
1532
+ attr_accessor :reboot_window
1533
+ # An object containing device type specific settings for Stripe S700 readers
1534
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::StripeS700)) }
1535
+ attr_accessor :stripe_s700
1536
+ # Tipping configurations for readers supporting on-reader tips
1537
+ sig {
1538
+ returns(T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::CreateParams::Tipping))))
1539
+ }
1540
+ attr_accessor :tipping
1541
+ # An object containing device type specific settings for Verifone P400 readers
1542
+ sig { returns(T.nilable(::Stripe::Terminal::Configuration::CreateParams::VerifoneP400)) }
1543
+ attr_accessor :verifone_p400
1544
+ # Configurations for connecting to a WiFi network.
1545
+ sig {
1546
+ returns(T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::CreateParams::Wifi))))
1547
+ }
1548
+ attr_accessor :wifi
1549
+ sig {
1550
+ params(bbpos_wisepos_e: T.nilable(::Stripe::Terminal::Configuration::CreateParams::BbposWiseposE), expand: T.nilable(T::Array[String]), name: T.nilable(String), offline: T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::CreateParams::Offline))), reboot_window: T.nilable(::Stripe::Terminal::Configuration::CreateParams::RebootWindow), stripe_s700: T.nilable(::Stripe::Terminal::Configuration::CreateParams::StripeS700), tipping: T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::CreateParams::Tipping))), verifone_p400: T.nilable(::Stripe::Terminal::Configuration::CreateParams::VerifoneP400), wifi: T.nilable(T.nilable(T.any(String, ::Stripe::Terminal::Configuration::CreateParams::Wifi)))).void
1551
+ }
1552
+ def initialize(
1553
+ bbpos_wisepos_e: nil,
1554
+ expand: nil,
1555
+ name: nil,
1556
+ offline: nil,
1557
+ reboot_window: nil,
1558
+ stripe_s700: nil,
1559
+ tipping: nil,
1560
+ verifone_p400: nil,
1561
+ wifi: nil
1562
+ ); end
1563
+ end
1564
+ # Creates a new Configuration object.
1565
+ sig {
1566
+ params(params: T.any(::Stripe::Terminal::Configuration::CreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Configuration)
1567
+ }
1568
+ def self.create(params = {}, opts = {}); end
1569
+
1570
+ # Deletes a Configuration object.
1571
+ sig {
1572
+ params(configuration: String, params: T.any(::Stripe::Terminal::Configuration::DeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Configuration)
1573
+ }
1574
+ def self.delete(configuration, params = {}, opts = {}); end
1575
+
1576
+ # Deletes a Configuration object.
1577
+ sig {
1578
+ params(params: T.any(::Stripe::Terminal::Configuration::DeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Configuration)
1579
+ }
1580
+ def delete(params = {}, opts = {}); end
1581
+
1582
+ # Returns a list of Configuration objects.
1583
+ sig {
1584
+ params(params: T.any(::Stripe::Terminal::Configuration::ListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject)
1585
+ }
1586
+ def self.list(params = {}, opts = {}); end
1587
+
1588
+ # Updates a new Configuration object.
1589
+ sig {
1590
+ params(configuration: String, params: T.any(::Stripe::Terminal::Configuration::UpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Terminal::Configuration)
1591
+ }
1592
+ def self.update(configuration, params = {}, opts = {}); end
1593
+ end
1594
+ end
1595
+ end