Order: {"benefits":[],"orderType":"DELIVERY","scheduled":false,"payments":{"methods":[{"method":"PIX","prepaid":true,"currency":"BRL","type":"ONLINE","value":22.58,"card":{"brand":"PIX"}}],"pending":0,"prepaid":22.58},"engineType":"IFOOD","salesChannel":"IFOOD","reference":"54f31c3b-cb66-483b-87e3-1ae667001d72","createdAt":"2023-12-06T12:21:05.712Z","total":{"benefits":0,"deliveryFee":5.99,"orderAmount":22.58,"subTotal":15.6,"additionalFees":0.99},"additionalInfo":{"metadata":{"logisticProduct":"FULL_SERVICE"}},"id":"IFOOD_54f31c3b-cb66-483b-87e3-1ae667001d72","containerId":"47C54FD811024ACE9F4D3CD52E785952","additionalFees":[{"liabilities":[{"percentage":100,"name":"IFOOD"}],"description":"Taxa de Servi\u00e7o","type":"SMALL_ORDER_FEE_35_PROMOTIONS","fullDescription":"\u00c9 cobrada pelo iFood em pedidos que n\u00e3o atingem o valor de R$ 35, incluindo itens promocionais, sem contar com taxa de entrega e cupom.","value":0.99}],"delivery":{"mode":"DEFAULT","deliveredBy":"IFOOD","deliveryAddress":{"country":"BR","streetName":"R. Brg. Gavi\u00e3o Peixoto","formattedAddress":"R. Brg. Gavi\u00e3o Peixoto, 789","streetNumber":"789","city":"S\u00e3o Paulo","postalCode":"05078000","coordinates":{"latitude":-23.524068,"longitude":-46.717389},"neighborhood":"Lapa","state":"SP"},"deliveryDateTime":"2023-12-06T12:50:05.712Z","pickupCode":"6859"},"merchant":{"name":"Padaria Villagio","id":"0d22cf29-021d-4d59-afeb-6aa822060e7c"},"picking":{"replacementOptions":"STORE_CHOOSE_OTHER_ITEMS"},"version":"0.0.3","orderTiming":"IMMEDIATE","companyId":"2DAD377AB8944304AB214A17CA34EE32","preparationStartDateTime":"2023-12-06T12:21:05.712Z","isTest":false,"refId":"54f31c3b-cb66-483b-87e3-1ae667001d72","displayId":"7192","engineName":"IFOODV2","items":[{"unitPrice":12.9,"unit":"UN","quantity":1,"externalCode":"632","totalPrice":12.9,"price":12.9,"imageUrl":"https:\/\/static-images.ifood.com.br\/image\/upload\/t_high\/pratos\/0d22cf29-021d-4d59-afeb-6aa822060e7c\/202303310909_8554_i.jpg","name":"Franc\u00eas na chapa entrada requeij\u00e3o","index":1,"id":"1be44c45-65e5-4cc1-a07f-4bef2df44692","optionsPrice":0,"uniqueId":"3f48af46-cebc-40b0-afa7-ee69fa268fd5"},{"unitPrice":2.7,"unit":"UN","quantity":1,"externalCode":"502","totalPrice":2.7,"price":2.7,"imageUrl":"https:\/\/static-images.ifood.com.br\/image\/upload\/t_high\/pratos\/0d22cf29-021d-4d59-afeb-6aa822060e7c\/202306160936_GP1X_i.jpg","name":"Mini empadinha frango","index":2,"id":"302d893d-e9d1-4d20-897b-2a7c4321f5ec","optionsPrice":0,"uniqueId":"812e4372-d5f0-4711-90b1-e769dd1d5e4d"}],"scheduledAt":"2023-12-06T12:50:05.712Z","customer":{"phone":{"number":"0800 705 1020","localizer":"70289783","localizerExpiration":"2023-12-06T16:21:05.712Z"},"documentNumber":"35434784863","name":"ANA PAULA PACHECO","ordersCountOnMerchant":0,"segmentation":"Cliente","id":"ef9b289b-9b6f-44fb-a822-50a0e3bb755e"},"engineId":"3108CAD7500647C185E9594FA5946D9B","actions":[{"createdAt":"2023-12-06T12:22:26.434Z","status":"PLACED"},{"createdAt":"2023-12-06T12:22:26.709Z","user":"updateOrder [EED1]","status":"CONFIRMED"}],"updatedAt":"2023-12-06T12:22:26.867Z","status":"CONFIRMED"} Error: Undefined index: deliveryMethod