Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- POLLING
- array(1) {
- [0]=>
- array(4) {
- ["id"]=>
- string(36) "211037ff-7be0-4a3c-abf6-9e1e9c957cba"
- ["code"]=>
- string(9) "CONFIRMED"
- ["correlationId"]=>
- string(16) "4113469767532040"
- ["createdAt"]=>
- string(24) "2019-03-22T19:54:27.742Z"
- }
- }
- DADOS DO PEDIDO
- array(16) {
- ["id"]=>
- string(32) "8aefcc6169a57f410169a6f5e1327b52"
- ["reference"]=>
- string(16) "4113469767532040"
- ["shortReference"]=>
- string(4) "4964"
- ["createdAt"]=>
- string(24) "2019-03-22T19:52:05.505Z"
- ["type"]=>
- string(8) "DELIVERY"
- ["merchant"]=>
- array(3) {
- ["id"]=>
- string(6) "208040"
- ["name"]=>
- string(20) "TESTE Formula System"
- ["address"]=>
- array(8) {
- ["formattedAddress"]=>
- string(12) "RAMAL BUJARI"
- ["country"]=>
- string(2) "BR"
- ["state"]=>
- string(2) "AC"
- ["city"]=>
- string(6) "BUJARI"
- ["neighborhood"]=>
- string(6) "bujari"
- ["streetName"]=>
- string(12) "RAMAL BUJARI"
- ["streetNumber"]=>
- string(3) "123"
- ["postalCode"]=>
- string(8) "69923000"
- }
- }
- ["payments"]=>
- array(1) {
- [0]=>
- array(4) {
- ["name"]=>
- string(31) "DÉBITO - MASTERCARD (MÁQUINA)"
- ["code"]=>
- string(6) "MEREST"
- ["value"]=>
- float(79)
- ["prepaid"]=>
- bool(false)
- }
- }
- ["customer"]=>
- array(5) {
- ["id"]=>
- string(9) "106534724"
- ["name"]=>
- string(30) "Pedro Henrique Oliveira Soares"
- ["phone"]=>
- string(14) "31 - 975228200"
- ["email"]=>
- string(23) "PEDROHOSOARES@GMAIL.COM"
- ["ordersCountOnRestaurant"]=>
- int(0)
- }
- ["items"]=>
- array(2) {
- [0]=>
- array(7) {
- ["name"]=>
- string(16) "Pastel de queijo"
- ["quantity"]=>
- int(1)
- ["price"]=>
- float(6)
- ["subItemsPrice"]=>
- int(0)
- ["totalPrice"]=>
- float(6)
- ["discount"]=>
- float(0)
- ["addition"]=>
- float(0)
- }
- [1]=>
- array(8) {
- ["name"]=>
- string(9) "Canellone"
- ["quantity"]=>
- int(1)
- ["price"]=>
- float(26)
- ["subItemsPrice"]=>
- float(27)
- ["totalPrice"]=>
- float(53)
- ["discount"]=>
- float(0)
- ["addition"]=>
- float(0)
- ["subItems"]=>
- array(1) {
- [0]=>
- array(6) {
- ["name"]=>
- string(7) "Ao Sugo"
- ["quantity"]=>
- int(1)
- ["price"]=>
- float(27)
- ["totalPrice"]=>
- float(27)
- ["discount"]=>
- float(0)
- ["addition"]=>
- float(0)
- }
- }
- }
- }
- ["subTotal"]=>
- float(59)
- ["totalPrice"]=>
- float(79)
- ["deliveryFee"]=>
- float(20)
- ["deliveryAddress"]=>
- array(9) {
- ["formattedAddress"]=>
- string(12) "R TESTE, 100"
- ["country"]=>
- string(2) "BR"
- ["state"]=>
- string(2) "AC"
- ["city"]=>
- string(6) "BUJARI"
- ["coordinates"]=>
- array(2) {
- ["latitude"]=>
- float(-9.826178)
- ["longitude"]=>
- float(-67.951177)
- }
- ["neighborhood"]=>
- string(6) "OUTROS"
- ["streetName"]=>
- string(7) "R TESTE"
- ["streetNumber"]=>
- string(3) "100"
- ["postalCode"]=>
- string(8) "12345678"
- }
- ["deliveryDateTime"]=>
- string(24) "2019-03-22T20:12:05.505Z"
- ["localizer"]=>
- array(1) {
- ["id"]=>
- string(8) "14200128"
- }
- ["preparationTimeInSeconds"]=>
- int(2099)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement