Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.50 KB | None | 0 0
  1. POLLING
  2. array(1) {
  3. [0]=>
  4. array(4) {
  5. ["id"]=>
  6. string(36) "211037ff-7be0-4a3c-abf6-9e1e9c957cba"
  7. ["code"]=>
  8. string(9) "CONFIRMED"
  9. ["correlationId"]=>
  10. string(16) "4113469767532040"
  11. ["createdAt"]=>
  12. string(24) "2019-03-22T19:54:27.742Z"
  13. }
  14. }
  15.  
  16. DADOS DO PEDIDO
  17. array(16) {
  18. ["id"]=>
  19. string(32) "8aefcc6169a57f410169a6f5e1327b52"
  20. ["reference"]=>
  21. string(16) "4113469767532040"
  22. ["shortReference"]=>
  23. string(4) "4964"
  24. ["createdAt"]=>
  25. string(24) "2019-03-22T19:52:05.505Z"
  26. ["type"]=>
  27. string(8) "DELIVERY"
  28. ["merchant"]=>
  29. array(3) {
  30. ["id"]=>
  31. string(6) "208040"
  32. ["name"]=>
  33. string(20) "TESTE Formula System"
  34. ["address"]=>
  35. array(8) {
  36. ["formattedAddress"]=>
  37. string(12) "RAMAL BUJARI"
  38. ["country"]=>
  39. string(2) "BR"
  40. ["state"]=>
  41. string(2) "AC"
  42. ["city"]=>
  43. string(6) "BUJARI"
  44. ["neighborhood"]=>
  45. string(6) "bujari"
  46. ["streetName"]=>
  47. string(12) "RAMAL BUJARI"
  48. ["streetNumber"]=>
  49. string(3) "123"
  50. ["postalCode"]=>
  51. string(8) "69923000"
  52. }
  53. }
  54. ["payments"]=>
  55. array(1) {
  56. [0]=>
  57. array(4) {
  58. ["name"]=>
  59. string(31) "DÉBITO - MASTERCARD (MÁQUINA)"
  60. ["code"]=>
  61. string(6) "MEREST"
  62. ["value"]=>
  63. float(79)
  64. ["prepaid"]=>
  65. bool(false)
  66. }
  67. }
  68. ["customer"]=>
  69. array(5) {
  70. ["id"]=>
  71. string(9) "106534724"
  72. ["name"]=>
  73. string(30) "Pedro Henrique Oliveira Soares"
  74. ["phone"]=>
  75. string(14) "31 - 975228200"
  76. ["email"]=>
  77. string(23) "PEDROHOSOARES@GMAIL.COM"
  78. ["ordersCountOnRestaurant"]=>
  79. int(0)
  80. }
  81. ["items"]=>
  82. array(2) {
  83. [0]=>
  84. array(7) {
  85. ["name"]=>
  86. string(16) "Pastel de queijo"
  87. ["quantity"]=>
  88. int(1)
  89. ["price"]=>
  90. float(6)
  91. ["subItemsPrice"]=>
  92. int(0)
  93. ["totalPrice"]=>
  94. float(6)
  95. ["discount"]=>
  96. float(0)
  97. ["addition"]=>
  98. float(0)
  99. }
  100. [1]=>
  101. array(8) {
  102. ["name"]=>
  103. string(9) "Canellone"
  104. ["quantity"]=>
  105. int(1)
  106. ["price"]=>
  107. float(26)
  108. ["subItemsPrice"]=>
  109. float(27)
  110. ["totalPrice"]=>
  111. float(53)
  112. ["discount"]=>
  113. float(0)
  114. ["addition"]=>
  115. float(0)
  116. ["subItems"]=>
  117. array(1) {
  118. [0]=>
  119. array(6) {
  120. ["name"]=>
  121. string(7) "Ao Sugo"
  122. ["quantity"]=>
  123. int(1)
  124. ["price"]=>
  125. float(27)
  126. ["totalPrice"]=>
  127. float(27)
  128. ["discount"]=>
  129. float(0)
  130. ["addition"]=>
  131. float(0)
  132. }
  133. }
  134. }
  135. }
  136. ["subTotal"]=>
  137. float(59)
  138. ["totalPrice"]=>
  139. float(79)
  140. ["deliveryFee"]=>
  141. float(20)
  142. ["deliveryAddress"]=>
  143. array(9) {
  144. ["formattedAddress"]=>
  145. string(12) "R TESTE, 100"
  146. ["country"]=>
  147. string(2) "BR"
  148. ["state"]=>
  149. string(2) "AC"
  150. ["city"]=>
  151. string(6) "BUJARI"
  152. ["coordinates"]=>
  153. array(2) {
  154. ["latitude"]=>
  155. float(-9.826178)
  156. ["longitude"]=>
  157. float(-67.951177)
  158. }
  159. ["neighborhood"]=>
  160. string(6) "OUTROS"
  161. ["streetName"]=>
  162. string(7) "R TESTE"
  163. ["streetNumber"]=>
  164. string(3) "100"
  165. ["postalCode"]=>
  166. string(8) "12345678"
  167. }
  168. ["deliveryDateTime"]=>
  169. string(24) "2019-03-22T20:12:05.505Z"
  170. ["localizer"]=>
  171. array(1) {
  172. ["id"]=>
  173. string(8) "14200128"
  174. }
  175. ["preparationTimeInSeconds"]=>
  176. int(2099)
  177. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement