@pisell/pisellos 2.2.243 → 2.2.244

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 (315) hide show
  1. package/dist/model/strategy/adapter/promotion/evaluator.js +2 -3
  2. package/dist/model/strategy/adapter/promotion/index.js +9 -0
  3. package/dist/model/strategy/adapter/walletPass/utils.js +4 -7
  4. package/dist/modules/Cart/utils/cartProduct.js +3 -24
  5. package/dist/modules/Cart/utils/changePrice.js +11 -11
  6. package/dist/modules/Customer/index.d.ts +0 -20
  7. package/dist/modules/Customer/index.js +83 -172
  8. package/dist/modules/Customer/types.d.ts +0 -2
  9. package/dist/modules/Discount/index.js +3 -4
  10. package/dist/modules/Discount/types.d.ts +0 -1
  11. package/dist/modules/OpenData/index.d.ts +0 -8
  12. package/dist/modules/OpenData/index.js +17 -37
  13. package/dist/modules/Order/index.d.ts +18 -268
  14. package/dist/modules/Order/index.js +757 -3306
  15. package/dist/modules/Order/types.d.ts +31 -279
  16. package/dist/modules/Order/types.js +0 -38
  17. package/dist/modules/Order/utils.d.ts +5 -147
  18. package/dist/modules/Order/utils.js +103 -746
  19. package/dist/modules/Payment/index.d.ts +13 -10
  20. package/dist/modules/Payment/index.js +837 -467
  21. package/dist/modules/Payment/types.d.ts +0 -2
  22. package/dist/modules/Payment/utils.js +1 -2
  23. package/dist/modules/Payment/walletpass.js +7 -14
  24. package/dist/modules/ProductList/index.d.ts +12 -16
  25. package/dist/modules/ProductList/index.js +59 -133
  26. package/dist/modules/ProductList/types.d.ts +0 -14
  27. package/dist/modules/Quotation/index.d.ts +1 -0
  28. package/dist/modules/Quotation/index.js +22 -25
  29. package/dist/modules/Rules/index.d.ts +0 -4
  30. package/dist/modules/Rules/index.js +69 -93
  31. package/dist/modules/Rules/types.d.ts +0 -1
  32. package/dist/modules/SalesSummary/index.d.ts +25 -8
  33. package/dist/modules/SalesSummary/index.js +35 -86
  34. package/dist/modules/SalesSummary/types.d.ts +1 -4
  35. package/dist/modules/SalesSummary/utils.d.ts +25 -2
  36. package/dist/modules/SalesSummary/utils.js +162 -794
  37. package/dist/modules/Schedule/index.d.ts +0 -7
  38. package/dist/modules/Schedule/index.js +2 -24
  39. package/dist/modules/Summary/index.js +3 -4
  40. package/dist/modules/index.d.ts +0 -2
  41. package/dist/modules/index.js +1 -3
  42. package/dist/plugins/request.d.ts +0 -1
  43. package/dist/server/index.d.ts +1 -204
  44. package/dist/server/index.js +928 -3658
  45. package/dist/server/modules/index.d.ts +0 -2
  46. package/dist/server/modules/index.js +0 -2
  47. package/dist/server/modules/order/index.d.ts +4 -120
  48. package/dist/server/modules/order/index.js +483 -1779
  49. package/dist/server/modules/order/types.d.ts +3 -32
  50. package/dist/server/modules/order/types.js +0 -8
  51. package/dist/server/modules/order/utils/filterBookings.js +3 -26
  52. package/dist/server/modules/order/utils/filterOrders.js +8 -23
  53. package/dist/server/modules/products/index.d.ts +7 -34
  54. package/dist/server/modules/products/index.js +317 -631
  55. package/dist/server/modules/resource/index.d.ts +0 -2
  56. package/dist/server/modules/resource/index.js +3 -29
  57. package/dist/server/modules/schedule/index.d.ts +4 -4
  58. package/dist/server/modules/schedule/index.js +88 -111
  59. package/dist/solution/BaseSales/index.d.ts +9 -131
  60. package/dist/solution/BaseSales/index.js +447 -1944
  61. package/dist/solution/BaseSales/types.d.ts +6 -76
  62. package/dist/solution/BaseSales/types.js +4 -5
  63. package/dist/solution/BaseSales/utils/transformBaseProductToOrderProduct.d.ts +0 -1
  64. package/dist/solution/BaseSales/utils/transformBaseProductToOrderProduct.js +24 -105
  65. package/dist/solution/BaseSales/utils.d.ts +1 -1
  66. package/dist/solution/BaseSales/utils.js +21 -62
  67. package/dist/solution/BookingByStep/index.d.ts +1 -1
  68. package/dist/solution/BookingTicket/index.d.ts +10 -270
  69. package/dist/solution/BookingTicket/index.js +237 -1772
  70. package/dist/solution/BookingTicket/types.d.ts +1 -118
  71. package/dist/solution/BookingTicket/types.js +2 -41
  72. package/dist/solution/BookingTicket/utils/bookingStatus.d.ts +0 -40
  73. package/dist/solution/BookingTicket/utils/bookingStatus.js +0 -70
  74. package/dist/solution/BookingTicket/utils/cartView.d.ts +1 -9
  75. package/dist/solution/BookingTicket/utils/cartView.js +7 -94
  76. package/dist/solution/BookingTicket/utils/scan/index.d.ts +0 -5
  77. package/dist/solution/BookingTicket/utils/scan/index.js +8 -20
  78. package/dist/solution/Checkout/appointmentDemo.json +1 -0
  79. package/dist/solution/Checkout/index.d.ts +0 -1
  80. package/dist/solution/Checkout/index.js +9 -10
  81. package/dist/solution/RegisterAndLogin/config.js +10 -2
  82. package/dist/solution/ScanOrder/index.d.ts +3 -9
  83. package/dist/solution/ScanOrder/index.js +134 -241
  84. package/dist/solution/ScanOrder/types.d.ts +5 -9
  85. package/dist/solution/ScanOrder/types.js +3 -2
  86. package/dist/solution/ScanOrder/utils.d.ts +1 -1
  87. package/dist/solution/ScanOrder/utils.js +22 -84
  88. package/dist/solution/VenueBooking/index.d.ts +2 -5
  89. package/dist/solution/VenueBooking/index.js +59 -110
  90. package/dist/solution/VenueBooking/sales-section-4-annotated.json +2 -0
  91. package/dist/solution/VenueBooking/utils/slotMerge.d.ts +0 -4
  92. package/dist/solution/VenueBooking/utils/slotMerge.js +0 -10
  93. package/dist/types/index.d.ts +0 -10
  94. package/lib/model/strategy/adapter/promotion/evaluator.js +1 -2
  95. package/lib/model/strategy/adapter/promotion/index.js +0 -49
  96. package/lib/model/strategy/adapter/walletPass/utils.js +2 -3
  97. package/lib/modules/Cart/utils/cartProduct.js +3 -20
  98. package/lib/modules/Cart/utils/changePrice.js +20 -12
  99. package/lib/modules/Customer/index.d.ts +0 -20
  100. package/lib/modules/Customer/index.js +11 -64
  101. package/lib/modules/Customer/types.d.ts +0 -2
  102. package/lib/modules/Discount/index.js +1 -5
  103. package/lib/modules/Discount/types.d.ts +0 -1
  104. package/lib/modules/OpenData/index.d.ts +0 -8
  105. package/lib/modules/OpenData/index.js +5 -19
  106. package/lib/modules/Order/index.d.ts +18 -268
  107. package/lib/modules/Order/index.js +344 -2149
  108. package/lib/modules/Order/types.d.ts +31 -279
  109. package/lib/modules/Order/types.js +0 -1
  110. package/lib/modules/Order/utils.d.ts +5 -147
  111. package/lib/modules/Order/utils.js +46 -614
  112. package/lib/modules/Payment/index.d.ts +13 -10
  113. package/lib/modules/Payment/index.js +150 -18
  114. package/lib/modules/Payment/types.d.ts +0 -2
  115. package/lib/modules/Payment/utils.js +1 -2
  116. package/lib/modules/Payment/walletpass.js +3 -7
  117. package/lib/modules/ProductList/index.d.ts +12 -16
  118. package/lib/modules/ProductList/index.js +4 -41
  119. package/lib/modules/ProductList/types.d.ts +0 -14
  120. package/lib/modules/Quotation/index.d.ts +1 -0
  121. package/lib/modules/Quotation/index.js +16 -19
  122. package/lib/modules/Rules/index.d.ts +0 -4
  123. package/lib/modules/Rules/index.js +120 -136
  124. package/lib/modules/Rules/types.d.ts +0 -1
  125. package/lib/modules/SalesSummary/index.d.ts +25 -8
  126. package/lib/modules/SalesSummary/index.js +4 -30
  127. package/lib/modules/SalesSummary/types.d.ts +1 -4
  128. package/lib/modules/SalesSummary/utils.d.ts +25 -2
  129. package/lib/modules/SalesSummary/utils.js +91 -645
  130. package/lib/modules/Schedule/index.d.ts +0 -7
  131. package/lib/modules/Schedule/index.js +1 -17
  132. package/lib/modules/Summary/index.js +4 -5
  133. package/lib/modules/index.d.ts +0 -2
  134. package/lib/modules/index.js +1 -5
  135. package/lib/plugins/request.d.ts +0 -1
  136. package/lib/server/index.d.ts +1 -204
  137. package/lib/server/index.js +57 -1888
  138. package/lib/server/modules/index.d.ts +0 -2
  139. package/lib/server/modules/index.js +0 -3
  140. package/lib/server/modules/order/index.d.ts +4 -120
  141. package/lib/server/modules/order/index.js +142 -919
  142. package/lib/server/modules/order/types.d.ts +3 -32
  143. package/lib/server/modules/order/utils/filterBookings.js +5 -24
  144. package/lib/server/modules/order/utils/filterOrders.js +6 -15
  145. package/lib/server/modules/products/index.d.ts +7 -34
  146. package/lib/server/modules/products/index.js +54 -189
  147. package/lib/server/modules/resource/index.d.ts +0 -2
  148. package/lib/server/modules/resource/index.js +3 -27
  149. package/lib/server/modules/schedule/index.d.ts +4 -4
  150. package/lib/server/modules/schedule/index.js +40 -47
  151. package/lib/solution/BaseSales/index.d.ts +9 -131
  152. package/lib/solution/BaseSales/index.js +63 -1106
  153. package/lib/solution/BaseSales/types.d.ts +6 -76
  154. package/lib/solution/BaseSales/types.js +1 -3
  155. package/lib/solution/BaseSales/utils/transformBaseProductToOrderProduct.d.ts +0 -1
  156. package/lib/solution/BaseSales/utils/transformBaseProductToOrderProduct.js +18 -106
  157. package/lib/solution/BaseSales/utils.d.ts +1 -1
  158. package/lib/solution/BaseSales/utils.js +10 -54
  159. package/lib/solution/BookingByStep/index.d.ts +1 -1
  160. package/lib/solution/BookingTicket/index.d.ts +10 -270
  161. package/lib/solution/BookingTicket/index.js +29 -922
  162. package/lib/solution/BookingTicket/types.d.ts +1 -118
  163. package/lib/solution/BookingTicket/types.js +0 -11
  164. package/lib/solution/BookingTicket/utils/bookingStatus.d.ts +0 -40
  165. package/lib/solution/BookingTicket/utils/bookingStatus.js +2 -44
  166. package/lib/solution/BookingTicket/utils/cartView.d.ts +1 -9
  167. package/lib/solution/BookingTicket/utils/cartView.js +6 -61
  168. package/lib/solution/BookingTicket/utils/scan/index.d.ts +0 -5
  169. package/lib/solution/BookingTicket/utils/scan/index.js +3 -17
  170. package/lib/solution/Checkout/appointmentDemo.json +1 -0
  171. package/lib/solution/Checkout/index.d.ts +0 -1
  172. package/lib/solution/Checkout/index.js +2 -1
  173. package/lib/solution/RegisterAndLogin/config.js +10 -2
  174. package/lib/solution/ScanOrder/index.d.ts +3 -9
  175. package/lib/solution/ScanOrder/index.js +70 -153
  176. package/lib/solution/ScanOrder/types.d.ts +5 -9
  177. package/lib/solution/ScanOrder/utils.d.ts +1 -1
  178. package/lib/solution/ScanOrder/utils.js +17 -83
  179. package/lib/solution/VenueBooking/index.d.ts +2 -5
  180. package/lib/solution/VenueBooking/index.js +17 -54
  181. package/lib/solution/VenueBooking/sales-section-4-annotated.json +2 -0
  182. package/lib/solution/VenueBooking/utils/slotMerge.d.ts +0 -4
  183. package/lib/solution/VenueBooking/utils/slotMerge.js +0 -10
  184. package/lib/types/index.d.ts +0 -10
  185. package/package.json +1 -1
  186. package/dist/modules/BookingContext/index.d.ts +0 -48
  187. package/dist/modules/BookingContext/index.js +0 -566
  188. package/dist/modules/BookingContext/types.d.ts +0 -102
  189. package/dist/modules/BookingContext/types.js +0 -51
  190. package/dist/modules/BookingContext/utils/buildCacheItemFromOrderLine.d.ts +0 -16
  191. package/dist/modules/BookingContext/utils/buildCacheItemFromOrderLine.js +0 -284
  192. package/dist/modules/BookingContext/utils/buildNormalProductCacheItemFromOrderLine.d.ts +0 -8
  193. package/dist/modules/BookingContext/utils/buildNormalProductCacheItemFromOrderLine.js +0 -145
  194. package/dist/modules/BookingContext/utils/cacheItemToBookingInput.d.ts +0 -76
  195. package/dist/modules/BookingContext/utils/cacheItemToBookingInput.js +0 -218
  196. package/dist/modules/BookingContext/utils/flexible.d.ts +0 -28
  197. package/dist/modules/BookingContext/utils/flexible.js +0 -56
  198. package/dist/modules/BookingContext/utils/formatResourceList.d.ts +0 -8
  199. package/dist/modules/BookingContext/utils/formatResourceList.js +0 -38
  200. package/dist/modules/BookingContext/utils/index.d.ts +0 -11
  201. package/dist/modules/BookingContext/utils/index.js +0 -11
  202. package/dist/modules/BookingContext/utils/noResource.d.ts +0 -13
  203. package/dist/modules/BookingContext/utils/noResource.js +0 -77
  204. package/dist/modules/BookingContext/utils/orderLineDisplay.d.ts +0 -1
  205. package/dist/modules/BookingContext/utils/orderLineDisplay.js +0 -36
  206. package/dist/modules/BookingContext/utils/productExtend.d.ts +0 -72
  207. package/dist/modules/BookingContext/utils/productExtend.js +0 -339
  208. package/dist/modules/BookingContext/utils/resourceErrors.d.ts +0 -41
  209. package/dist/modules/BookingContext/utils/resourceErrors.js +0 -74
  210. package/dist/modules/BookingContext/utils/resourceSelection.d.ts +0 -7
  211. package/dist/modules/BookingContext/utils/resourceSelection.js +0 -24
  212. package/dist/modules/BookingContext/utils/resources.d.ts +0 -80
  213. package/dist/modules/BookingContext/utils/resources.js +0 -486
  214. package/dist/modules/BookingContext/utils/serviceTimes.d.ts +0 -55
  215. package/dist/modules/BookingContext/utils/serviceTimes.js +0 -151
  216. package/dist/modules/BookingContext/utils/timeSlices.d.ts +0 -42
  217. package/dist/modules/BookingContext/utils/timeSlices.js +0 -100
  218. package/dist/modules/Order/utils/manualProductDiscount.d.ts +0 -106
  219. package/dist/modules/Order/utils/manualProductDiscount.js +0 -210
  220. package/dist/modules/SurchargeList/index.d.ts +0 -16
  221. package/dist/modules/SurchargeList/index.js +0 -162
  222. package/dist/modules/SurchargeList/types.d.ts +0 -11
  223. package/dist/modules/SurchargeList/types.js +0 -1
  224. package/dist/server/modules/payment/index.d.ts +0 -28
  225. package/dist/server/modules/payment/index.js +0 -305
  226. package/dist/server/modules/payment/types.d.ts +0 -9
  227. package/dist/server/modules/payment/types.js +0 -1
  228. package/dist/server/test.json +0 -713
  229. package/dist/server/utils/small-ticket.d.ts +0 -71
  230. package/dist/server/utils/small-ticket.js +0 -830
  231. package/dist/solution/BaseSales/utils/cartPromotion.d.ts +0 -287
  232. package/dist/solution/BaseSales/utils/cartPromotion.js +0 -1438
  233. package/dist/solution/BaseSales/utils/quotationPrice.d.ts +0 -7
  234. package/dist/solution/BaseSales/utils/quotationPrice.js +0 -237
  235. package/dist/solution/BookingTicket/utils/addProductDecision.d.ts +0 -117
  236. package/dist/solution/BookingTicket/utils/addProductDecision.js +0 -346
  237. package/dist/solution/BookingTicket/utils/addTimeAvailability.d.ts +0 -35
  238. package/dist/solution/BookingTicket/utils/addTimeAvailability.js +0 -95
  239. package/dist/solution/BookingTicket/utils/exampleData.d.ts +0 -123
  240. package/dist/solution/BookingTicket/utils/exampleData.js +0 -183
  241. package/dist/solution/BookingTicket/utils/resolveBestAddTimePlan.d.ts +0 -185
  242. package/dist/solution/BookingTicket/utils/resolveBestAddTimePlan.js +0 -438
  243. package/dist/solution/BookingTicket/utils/scan/applyGlobalScan.d.ts +0 -36
  244. package/dist/solution/BookingTicket/utils/scan/applyGlobalScan.js +0 -399
  245. package/dist/solution/BookingTicket/utils/scan/formatGlobalScan.d.ts +0 -32
  246. package/dist/solution/BookingTicket/utils/scan/formatGlobalScan.js +0 -56
  247. package/dist/solution/BookingTicket/utils/scan/scanProductValues.d.ts +0 -21
  248. package/dist/solution/BookingTicket/utils/scan/scanProductValues.js +0 -150
  249. package/dist/solution/BookingTicket/utils/sessionCatalogStale.d.ts +0 -23
  250. package/dist/solution/BookingTicket/utils/sessionCatalogStale.js +0 -78
  251. package/lib/modules/BookingContext/index.d.ts +0 -48
  252. package/lib/modules/BookingContext/index.js +0 -368
  253. package/lib/modules/BookingContext/types.d.ts +0 -102
  254. package/lib/modules/BookingContext/types.js +0 -34
  255. package/lib/modules/BookingContext/utils/buildCacheItemFromOrderLine.d.ts +0 -16
  256. package/lib/modules/BookingContext/utils/buildCacheItemFromOrderLine.js +0 -276
  257. package/lib/modules/BookingContext/utils/buildNormalProductCacheItemFromOrderLine.d.ts +0 -8
  258. package/lib/modules/BookingContext/utils/buildNormalProductCacheItemFromOrderLine.js +0 -151
  259. package/lib/modules/BookingContext/utils/cacheItemToBookingInput.d.ts +0 -76
  260. package/lib/modules/BookingContext/utils/cacheItemToBookingInput.js +0 -201
  261. package/lib/modules/BookingContext/utils/flexible.d.ts +0 -28
  262. package/lib/modules/BookingContext/utils/flexible.js +0 -80
  263. package/lib/modules/BookingContext/utils/formatResourceList.d.ts +0 -8
  264. package/lib/modules/BookingContext/utils/formatResourceList.js +0 -50
  265. package/lib/modules/BookingContext/utils/index.d.ts +0 -11
  266. package/lib/modules/BookingContext/utils/index.js +0 -43
  267. package/lib/modules/BookingContext/utils/noResource.d.ts +0 -13
  268. package/lib/modules/BookingContext/utils/noResource.js +0 -90
  269. package/lib/modules/BookingContext/utils/orderLineDisplay.d.ts +0 -1
  270. package/lib/modules/BookingContext/utils/orderLineDisplay.js +0 -56
  271. package/lib/modules/BookingContext/utils/productExtend.d.ts +0 -72
  272. package/lib/modules/BookingContext/utils/productExtend.js +0 -283
  273. package/lib/modules/BookingContext/utils/resourceErrors.d.ts +0 -41
  274. package/lib/modules/BookingContext/utils/resourceErrors.js +0 -80
  275. package/lib/modules/BookingContext/utils/resourceSelection.d.ts +0 -7
  276. package/lib/modules/BookingContext/utils/resourceSelection.js +0 -46
  277. package/lib/modules/BookingContext/utils/resources.d.ts +0 -80
  278. package/lib/modules/BookingContext/utils/resources.js +0 -377
  279. package/lib/modules/BookingContext/utils/serviceTimes.d.ts +0 -55
  280. package/lib/modules/BookingContext/utils/serviceTimes.js +0 -162
  281. package/lib/modules/BookingContext/utils/timeSlices.d.ts +0 -42
  282. package/lib/modules/BookingContext/utils/timeSlices.js +0 -124
  283. package/lib/modules/Order/utils/manualProductDiscount.d.ts +0 -106
  284. package/lib/modules/Order/utils/manualProductDiscount.js +0 -206
  285. package/lib/modules/SurchargeList/index.d.ts +0 -16
  286. package/lib/modules/SurchargeList/index.js +0 -89
  287. package/lib/modules/SurchargeList/types.d.ts +0 -11
  288. package/lib/modules/SurchargeList/types.js +0 -17
  289. package/lib/server/modules/payment/index.d.ts +0 -28
  290. package/lib/server/modules/payment/index.js +0 -192
  291. package/lib/server/modules/payment/types.d.ts +0 -9
  292. package/lib/server/modules/payment/types.js +0 -17
  293. package/lib/server/test.json +0 -713
  294. package/lib/server/utils/small-ticket.d.ts +0 -71
  295. package/lib/server/utils/small-ticket.js +0 -781
  296. package/lib/solution/BaseSales/utils/cartPromotion.d.ts +0 -287
  297. package/lib/solution/BaseSales/utils/cartPromotion.js +0 -992
  298. package/lib/solution/BaseSales/utils/quotationPrice.d.ts +0 -7
  299. package/lib/solution/BaseSales/utils/quotationPrice.js +0 -277
  300. package/lib/solution/BookingTicket/utils/addProductDecision.d.ts +0 -117
  301. package/lib/solution/BookingTicket/utils/addProductDecision.js +0 -318
  302. package/lib/solution/BookingTicket/utils/addTimeAvailability.d.ts +0 -35
  303. package/lib/solution/BookingTicket/utils/addTimeAvailability.js +0 -125
  304. package/lib/solution/BookingTicket/utils/exampleData.d.ts +0 -123
  305. package/lib/solution/BookingTicket/utils/exampleData.js +0 -0
  306. package/lib/solution/BookingTicket/utils/resolveBestAddTimePlan.d.ts +0 -185
  307. package/lib/solution/BookingTicket/utils/resolveBestAddTimePlan.js +0 -254
  308. package/lib/solution/BookingTicket/utils/scan/applyGlobalScan.d.ts +0 -36
  309. package/lib/solution/BookingTicket/utils/scan/applyGlobalScan.js +0 -168
  310. package/lib/solution/BookingTicket/utils/scan/formatGlobalScan.d.ts +0 -32
  311. package/lib/solution/BookingTicket/utils/scan/formatGlobalScan.js +0 -51
  312. package/lib/solution/BookingTicket/utils/scan/scanProductValues.d.ts +0 -21
  313. package/lib/solution/BookingTicket/utils/scan/scanProductValues.js +0 -127
  314. package/lib/solution/BookingTicket/utils/sessionCatalogStale.d.ts +0 -23
  315. package/lib/solution/BookingTicket/utils/sessionCatalogStale.js +0 -85
@@ -1,713 +0,0 @@
1
- [{
2
- "order_id": null,
3
- "external_sale_number": "LOCAL_9_a59a7849_20260609205409880_470806",
4
- "order_number": null,
5
- "shop_order_number": "11T5BOTEFHB",
6
- "shop_full_order_number": "4900001",
7
- "type": "virtual",
8
- "business_code": "",
9
- "platform": "pos",
10
- "sales_channel": "my_pisel",
11
- "order_sales_channel": "pos",
12
- "status": "normal",
13
- "payment_status": "paid",
14
- "shipping_status": "unfulfilled",
15
- "customer_id": 1,
16
- "customer_name": "Select a customer",
17
- "country_calling_code": "",
18
- "phone": "",
19
- "email": "",
20
- "is_price_include_tax": 0,
21
- "tax_title": "GST",
22
- "tax_country_code": "AU",
23
- "currency_code": "AUD",
24
- "currency_symbol": "$",
25
- "currency_format": "symbol_first",
26
- "is_deposit": 0,
27
- "deposit_amount": "0.00",
28
- "shop_discount": "0.00",
29
- "surcharge_fee": "2.80",
30
- "note": "",
31
- "schedule_date": "2026-06-09 20:54:09",
32
- "request_unique_idempotency_token": "LOCAL_9_a59a7849_20260609205409880_470806_1781009649880_payment_1",
33
- "vouchers": [],
34
- "products": [
35
- {
36
- "order_detail_id": null,
37
- "product_id": 61743,
38
- "product_variant_id": 0,
39
- "product_sku": {
40
- "option": []
41
- },
42
- "selling_price": "8.00",
43
- "original_price": "8.00",
44
- "tax_fee": "1.08",
45
- "is_charge_tax": 1,
46
- "discount_list": [],
47
- "product_bundle": [],
48
- "metadata": {
49
- "unique_identification_number": "c33068cd-95f6-43df-9031-19d4c8aab0fb",
50
- "main_product_original_price": "8.00",
51
- "main_product_selling_price": "8.00",
52
- "main_product_attached_bundle_selling_price": "8.00",
53
- "main_product_attached_bundle_payment_price": "8.00",
54
- "average_discount_amount_rate": "1",
55
- "source_product_price": "8.00",
56
- "main_product_attached_bundle_surcharge_fee": "2.80",
57
- "main_product_attached_bundle_tax_fee": "1.08",
58
- "surcharge_rounding_remainder": "0.00",
59
- "tax_fee_rounding_remainder": "0.00",
60
- "relation_surcharge_ids": [
61
- 2782
62
- ],
63
- "product_discount_difference": ""
64
- },
65
- "note": "",
66
- "payment_price": "8.00",
67
- "main_product_attached_bundle_surcharge_fee": "2.80",
68
- "surcharge_rounding_remainder": 0,
69
- "relation_surcharge_ids": [
70
- 2782
71
- ],
72
- "original_tax_fee_rounding_remainder": 0,
73
- "main_product_attached_bundle_tax_fee": "1.08",
74
- "original_tax_fee": 1.08,
75
- "tax_fee_rounding_remainder": 0,
76
- "product_quantity": 1
77
- }
78
- ],
79
- "bookings": [],
80
- "payments": [
81
- {
82
- "amount": "11.88",
83
- "code": "CASHMANUAL",
84
- "custom_payment_id": 20,
85
- "name": "Cash",
86
- "type": "default",
87
- "voucher_id": 0,
88
- "origin_amount": "11.88",
89
- "status": "paid",
90
- "metadata": {
91
- "unique_payment_number": "cash-1781009844896-d0789f2a8f2488",
92
- "actual_paid_amount": 11.88,
93
- "change_given_amount": 0
94
- },
95
- "rounding_amount": "0"
96
- }
97
- ],
98
- "surcharges": [
99
- {
100
- "key": "custom_surcharge_0",
101
- "label": {
102
- "en": "Pay surcharge 10%+2",
103
- "zh-CN": "支付附加费10%+2",
104
- "zh-HK": "支付附加費10%+2",
105
- "original": "支付附加费10%+2"
106
- },
107
- "name": {
108
- "en": "Pay surcharge 10%+2",
109
- "zh-CN": "支付附加费10%+2",
110
- "zh-HK": "支付附加費10%+2",
111
- "original": "支付附加费10%+2"
112
- },
113
- "value": 2.8,
114
- "surcharge_id": 2782,
115
- "description": {
116
- "en": "",
117
- "zh-CN": "",
118
- "zh-HK": "",
119
- "original": "支付附加费"
120
- },
121
- "type": "default",
122
- "fixed": "2.00",
123
- "amount": 2.8,
124
- "percentage": "0.1000",
125
- "metadata": {
126
- "open_product": 1
127
- }
128
- }
129
- ],
130
- "relation_forms": [],
131
- "contacts": [],
132
- "contacts_info": null,
133
- "holder": null,
134
- "metadata": {},
135
- "delivery_type": "nil",
136
- "small_ticket_data_flag": 1,
137
- "need_sync": 1,
138
- "payment_info": {
139
- "small_ticket_data": {
140
- "zh_CN": {
141
- "base_data": {
142
- "shop_name": "Devtest shop",
143
- "note": "",
144
- "shop_order_number": "11T5BOTEFHB",
145
- "order_number": "4900001",
146
- "shop_tax_number": "289390111113144",
147
- "shop_phone": "13772099769",
148
- "shop_address": "41 Exhibition Street, Melbourne VIC 3000, 澳大利亚",
149
- "original_payment_status": "paid",
150
- "is_repeat": 0,
151
- "buzzer": "",
152
- "order_no": "4900001",
153
- "order_time": "2026/06/09 20:57:24"
154
- },
155
- "products": [
156
- {
157
- "product_title": "咖啡",
158
- "product_quantity": 1,
159
- "selling_price": "$8.00",
160
- "original_price": "$8.00",
161
- "total_original_price": "$8.00",
162
- "extension_list": []
163
- }
164
- ],
165
- "fees": {
166
- "fees": [
167
- {
168
- "item": "支付附加费10%+2",
169
- "value": "$2.80"
170
- }
171
- ],
172
- "countFee": {
173
- "total_amount": "$0.00",
174
- "product_expect_amount": "$0.00",
175
- "expect_amount": "$0.00",
176
- "product_quantity": 1,
177
- "has_pay": "$11.88",
178
- "payment_method": "",
179
- "tax_title": "GST",
180
- "total_refund_amount": "$0.00"
181
- }
182
- },
183
- "customer": [
184
- {
185
- "item": "联系人姓名",
186
- "value": ""
187
- },
188
- {
189
- "item": "联系电话",
190
- "value": ""
191
- },
192
- {
193
- "item": "邮箱",
194
- "value": ""
195
- }
196
- ],
197
- "appointment": [],
198
- "delivery": [
199
- {
200
- "item": "",
201
- "value": "堂食",
202
- "size": 2,
203
- "align": "left"
204
- }
205
- ],
206
- "resources": [],
207
- "payment_data": [
208
- [
209
- {
210
- "item": "Cash",
211
- "value": "$11.88"
212
- },
213
- {
214
- "item": "2026/06/09 20:57:24",
215
- "value": ""
216
- }
217
- ]
218
- ],
219
- "tickets": [],
220
- "source_shop": [],
221
- "refund_data": [],
222
- "expend_data": []
223
- },
224
- "en": {
225
- "base_data": {
226
- "shop_name": "Devtest shop",
227
- "note": "",
228
- "shop_order_number": "11T5BOTEFHB",
229
- "order_number": "4900001",
230
- "shop_tax_number": "289390111113144",
231
- "shop_phone": "13772099769",
232
- "shop_address": "41 Exhibition Street, Melbourne VIC 3000, 澳大利亚",
233
- "original_payment_status": "paid",
234
- "is_repeat": 0,
235
- "buzzer": "",
236
- "order_no": "4900001",
237
- "order_time": "20:57:24 09/06/2026"
238
- },
239
- "products": [
240
- {
241
- "product_title": "咖啡",
242
- "product_quantity": 1,
243
- "selling_price": "$8.00",
244
- "original_price": "$8.00",
245
- "total_original_price": "$8.00",
246
- "extension_list": []
247
- }
248
- ],
249
- "fees": {
250
- "fees": [
251
- {
252
- "item": "Pay surcharge 10%+2",
253
- "value": "$2.80"
254
- }
255
- ],
256
- "countFee": {
257
- "total_amount": "$0.00",
258
- "product_expect_amount": "$0.00",
259
- "expect_amount": "$0.00",
260
- "product_quantity": 1,
261
- "has_pay": "$11.88",
262
- "payment_method": "",
263
- "tax_title": "GST",
264
- "total_refund_amount": "$0.00"
265
- }
266
- },
267
- "customer": [
268
- {
269
- "item": "Contact name",
270
- "value": ""
271
- },
272
- {
273
- "item": "Contact Mobile",
274
- "value": ""
275
- },
276
- {
277
- "item": "email",
278
- "value": ""
279
- }
280
- ],
281
- "appointment": [],
282
- "delivery": [
283
- {
284
- "item": "",
285
- "value": "Dine-in",
286
- "size": 2,
287
- "align": "left"
288
- }
289
- ],
290
- "resources": [],
291
- "payment_data": [
292
- [
293
- {
294
- "item": "Cash",
295
- "value": "$11.88"
296
- },
297
- {
298
- "item": "20:57:24 09/06/2026",
299
- "value": ""
300
- }
301
- ]
302
- ],
303
- "tickets": [],
304
- "source_shop": [],
305
- "refund_data": [],
306
- "expend_data": []
307
- }
308
- }
309
- }
310
- },{
311
- "payment_info": {
312
- "failed_payments": [],
313
- "machine_code_info": [],
314
- "small_ticket_data": {
315
- "en": {
316
- "base_data": {
317
- "shop_name": "Devtest shop",
318
- "note": "",
319
- "shop_order_number": "11T5BOTEFHB",
320
- "order_number": "4900001",
321
- "shop_tax_number": "289390111113144",
322
- "shop_phone": "",
323
- "shop_address": "41 Exhibition Street, Melbourne VIC 3000, Australia",
324
- "original_payment_status": "paid",
325
- "is_repeat": 0,
326
- "buzzer": "",
327
- "order_no": "4900001",
328
- "order_time": "20:57 09/06/2026"
329
- },
330
- "products": [
331
- {
332
- "product_title": "Coffee",
333
- "product_quantity": 1,
334
- "selling_price": "$8.00",
335
- "original_price": "$8.00",
336
- "total_original_price": "$8.00",
337
- "extension_list": []
338
- }
339
- ],
340
- "fees": {
341
- "fees": [
342
- {
343
- "item": "Pay surcharge 10%+2",
344
- "value": "$2.80"
345
- },
346
- {
347
- "item": "GST",
348
- "value": "$1.08"
349
- }
350
- ],
351
- "countFee": {
352
- "total_amount": "$11.88",
353
- "product_expect_amount": "$8.00",
354
- "expect_amount": "$11.88",
355
- "product_quantity": 1,
356
- "has_pay": "$11.88",
357
- "payment_method": "",
358
- "tax_title": "GST",
359
- "total_refund_amount": "$0.00"
360
- }
361
- },
362
- "customer": [
363
- {
364
- "item": "Contact name",
365
- "value": "Select a customer"
366
- },
367
- {
368
- "item": "Contact Mobile",
369
- "value": ""
370
- },
371
- {
372
- "item": "email",
373
- "value": ""
374
- }
375
- ],
376
- "payment_data": [
377
- [
378
- {
379
- "item": "Cash",
380
- "value": "$11.88"
381
- },
382
- {
383
- "item": "Change cash",
384
- "value": "$0.00"
385
- },
386
- {
387
- "item": "20:57:26 09/06/2026",
388
- "value": ""
389
- }
390
- ]
391
- ]
392
- },
393
- "zh_CN": {
394
- "base_data": {
395
- "shop_name": "Devtest shop",
396
- "note": "",
397
- "shop_order_number": "11T5BOTEFHB",
398
- "order_number": "4900001",
399
- "shop_tax_number": "289390111113144",
400
- "shop_phone": "",
401
- "shop_address": "41 Exhibition Street, Melbourne VIC 3000, Australia",
402
- "original_payment_status": "paid",
403
- "is_repeat": 0,
404
- "buzzer": "",
405
- "order_no": "4900001",
406
- "order_time": "2026/06/09 20:57"
407
- },
408
- "products": [
409
- {
410
- "product_title": "咖啡",
411
- "product_quantity": 1,
412
- "selling_price": "$8.00",
413
- "original_price": "$8.00",
414
- "total_original_price": "$8.00",
415
- "extension_list": []
416
- }
417
- ],
418
- "fees": {
419
- "fees": [
420
- {
421
- "item": "支付附加费10%+2",
422
- "value": "$2.80"
423
- },
424
- {
425
- "item": "GST",
426
- "value": "$1.08"
427
- }
428
- ],
429
- "countFee": {
430
- "total_amount": "$11.88",
431
- "product_expect_amount": "$8.00",
432
- "expect_amount": "$11.88",
433
- "product_quantity": 1,
434
- "has_pay": "$11.88",
435
- "payment_method": "",
436
- "tax_title": "GST",
437
- "total_refund_amount": "$0.00"
438
- }
439
- },
440
- "customer": [
441
- {
442
- "item": "联系人姓名",
443
- "value": "Select a customer"
444
- },
445
- {
446
- "item": "联系电话",
447
- "value": ""
448
- },
449
- {
450
- "item": "邮箱",
451
- "value": ""
452
- }
453
- ],
454
- "payment_data": [
455
- [
456
- {
457
- "item": "现金支付",
458
- "value": "$11.88"
459
- },
460
- {
461
- "item": "找零",
462
- "value": "$0.00"
463
- },
464
- {
465
- "item": "2026/06/09 20:57:26",
466
- "value": ""
467
- }
468
- ]
469
- ]
470
- },
471
- "zh_HK": {
472
- "base_data": {
473
- "shop_name": "Devtest shop",
474
- "note": "",
475
- "shop_order_number": "11T5BOTEFHB",
476
- "order_number": "4900001",
477
- "shop_tax_number": "289390111113144",
478
- "shop_phone": "",
479
- "shop_address": "41 Exhibition Street, Melbourne VIC 3000, Australia",
480
- "original_payment_status": "paid",
481
- "is_repeat": 0,
482
- "buzzer": "",
483
- "order_no": "4900001",
484
- "order_time": "2026/06/09 20:57"
485
- },
486
- "products": [
487
- {
488
- "product_title": "咖啡",
489
- "product_quantity": 1,
490
- "selling_price": "$8.00",
491
- "original_price": "$8.00",
492
- "total_original_price": "$8.00",
493
- "extension_list": []
494
- }
495
- ],
496
- "fees": {
497
- "fees": [
498
- {
499
- "item": "支付附加費10%+2",
500
- "value": "$2.80"
501
- },
502
- {
503
- "item": "GST",
504
- "value": "$1.08"
505
- }
506
- ],
507
- "countFee": {
508
- "total_amount": "$11.88",
509
- "product_expect_amount": "$8.00",
510
- "expect_amount": "$11.88",
511
- "product_quantity": 1,
512
- "has_pay": "$11.88",
513
- "payment_method": "",
514
- "tax_title": "GST",
515
- "total_refund_amount": "$0.00"
516
- }
517
- },
518
- "customer": [
519
- {
520
- "item": "聯繫人姓名",
521
- "value": "Select a customer"
522
- },
523
- {
524
- "item": "聯繫電話",
525
- "value": ""
526
- },
527
- {
528
- "item": "邮箱",
529
- "value": ""
530
- }
531
- ],
532
- "payment_data": [
533
- [
534
- {
535
- "item": "現金支付",
536
- "value": "$11.88"
537
- },
538
- {
539
- "item": "找零",
540
- "value": "$0.00"
541
- },
542
- {
543
- "item": "2026/06/09 20:57:26",
544
- "value": ""
545
- }
546
- ]
547
- ]
548
- },
549
- "ja": {
550
- "base_data": {
551
- "shop_name": "Devtest shop",
552
- "note": "",
553
- "shop_order_number": "11T5BOTEFHB",
554
- "order_number": "4900001",
555
- "shop_tax_number": "289390111113144",
556
- "shop_phone": "",
557
- "shop_address": "41 Exhibition Street, Melbourne VIC 3000, Australia",
558
- "original_payment_status": "paid",
559
- "is_repeat": 0,
560
- "buzzer": "",
561
- "order_no": "4900001",
562
- "order_time": "2026/06/09 20:57"
563
- },
564
- "products": [
565
- {
566
- "product_title": "コーヒー",
567
- "product_quantity": 1,
568
- "selling_price": "$8.00",
569
- "original_price": "$8.00",
570
- "total_original_price": "$8.00",
571
- "extension_list": []
572
- }
573
- ],
574
- "fees": {
575
- "fees": [
576
- {
577
- "item": "支付附加费10%+2",
578
- "value": "$2.80"
579
- },
580
- {
581
- "item": "GST",
582
- "value": "$1.08"
583
- }
584
- ],
585
- "countFee": {
586
- "total_amount": "$11.88",
587
- "product_expect_amount": "$8.00",
588
- "expect_amount": "$11.88",
589
- "product_quantity": 1,
590
- "has_pay": "$11.88",
591
- "payment_method": "",
592
- "tax_title": "GST",
593
- "total_refund_amount": "$0.00"
594
- }
595
- },
596
- "customer": [
597
- {
598
- "item": "連絡先名",
599
- "value": "Select a customer"
600
- },
601
- {
602
- "item": "連絡先電話",
603
- "value": ""
604
- },
605
- {
606
- "item": "メール",
607
- "value": ""
608
- }
609
- ],
610
- "payment_data": [
611
- [
612
- {
613
- "item": "現金",
614
- "value": "$11.88"
615
- },
616
- {
617
- "item": "お釣り",
618
- "value": "$0.00"
619
- },
620
- {
621
- "item": "2026/06/09 20:57:26",
622
- "value": ""
623
- }
624
- ]
625
- ]
626
- },
627
- "pt": {
628
- "base_data": {
629
- "shop_name": "Devtest shop",
630
- "note": "",
631
- "shop_order_number": "11T5BOTEFHB",
632
- "order_number": "4900001",
633
- "shop_tax_number": "289390111113144",
634
- "shop_phone": "",
635
- "shop_address": "41 Exhibition Street, Melbourne VIC 3000, Australia",
636
- "original_payment_status": "paid",
637
- "is_repeat": 0,
638
- "buzzer": "",
639
- "order_no": "4900001",
640
- "order_time": "2026/06/09 20:57"
641
- },
642
- "products": [
643
- {
644
- "product_title": "café",
645
- "product_quantity": 1,
646
- "selling_price": "$8.00",
647
- "original_price": "$8.00",
648
- "total_original_price": "$8.00",
649
- "extension_list": []
650
- }
651
- ],
652
- "fees": {
653
- "fees": [
654
- {
655
- "item": "支付附加费10%+2",
656
- "value": "$2.80"
657
- },
658
- {
659
- "item": "GST",
660
- "value": "$1.08"
661
- }
662
- ],
663
- "countFee": {
664
- "total_amount": "$11.88",
665
- "product_expect_amount": "$8.00",
666
- "expect_amount": "$11.88",
667
- "product_quantity": 1,
668
- "has_pay": "$11.88",
669
- "payment_method": "",
670
- "tax_title": "GST",
671
- "total_refund_amount": "$0.00"
672
- }
673
- },
674
- "customer": [
675
- {
676
- "item": "Nome de contato",
677
- "value": "Select a customer"
678
- },
679
- {
680
- "item": "Celular de contato",
681
- "value": ""
682
- },
683
- {
684
- "item": "e-mail",
685
- "value": ""
686
- }
687
- ],
688
- "payment_data": [
689
- [
690
- {
691
- "item": "Dinheiro",
692
- "value": "$11.88"
693
- },
694
- {
695
- "item": "Troco",
696
- "value": "$0.00"
697
- },
698
- {
699
- "item": "2026/06/09 20:57:26",
700
- "value": ""
701
- }
702
- ]
703
- ]
704
- }
705
- },
706
- "current_change_given_amount": "0.00"
707
- },
708
- "order_id": 99905,
709
- "payment_status": "paid",
710
- "expect_amount": "11.88",
711
- "machine_code_print_info_v2": [],
712
- "need_sync": 0
713
- }]