Order: {"benefits":[],"orderType":"DELIVERY","scheduled":false,"payments":{"methods":[{"method":"CREDIT","prepaid":true,"currency":"BRL","type":"ONLINE","value":37.85,"card":{"brand":"MASTERCARD"}}],"pending":0,"prepaid":37.85},"engineType":"IFOOD","salesChannel":"IFOOD","reference":"cdd01b34-0ee6-4cf9-83c2-a896ac6859ec","createdAt":"2023-12-06T17:45:14.825Z","total":{"benefits":0,"deliveryFee":16.99,"orderAmount":37.85,"subTotal":19.87,"additionalFees":0.99},"additionalInfo":{"metadata":{"logisticProduct":"FULL_SERVICE"}},"id":"IFOOD_cdd01b34-0ee6-4cf9-83c2-a896ac6859ec","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":{"reference":"Est\u00e1dio do Pacaemb\u00fa","country":"BR","streetName":"R. Eng. Edgar Eg\u00eddio de Souza","formattedAddress":"R. Eng. Edgar Eg\u00eddio de Souza, 341","streetNumber":"341","city":"S\u00e3o Paulo","postalCode":"01233020","coordinates":{"latitude":-23.542084,"longitude":-46.663807},"neighborhood":"Consola\u00e7\u00e3o","state":"SP","complement":"Apto 21"},"deliveryDateTime":"2023-12-06T18:34:14.825Z","pickupCode":"2813"},"merchant":{"name":"Padaria Villagio","id":"0d22cf29-021d-4d59-afeb-6aa822060e7c"},"version":"0.0.3","orderTiming":"IMMEDIATE","companyId":"2DAD377AB8944304AB214A17CA34EE32","preparationStartDateTime":"2023-12-06T17:45:14.825Z","isTest":false,"refId":"cdd01b34-0ee6-4cf9-83c2-a896ac6859ec","displayId":"8491","engineName":"IFOODV2","items":[{"unitPrice":3.99,"unit":"UN","quantity":3,"externalCode":"1962","totalPrice":11.97,"price":11.97,"imageUrl":"https:\/\/static-images.ifood.com.br\/image\/upload\/t_high\/pratos\/0d22cf29-021d-4d59-afeb-6aa822060e7c\/202306181107_76G5_i.jpg","name":"P\u00e3o mini delicia","index":1,"id":"33346b88-2c45-4cad-8d8a-0fa2bfb51da2","optionsPrice":0,"uniqueId":"1f560720-57b2-4564-942a-6e0c5c0b8bd8"},{"unitPrice":7.9,"quantity":1,"externalCode":"7894321722016","totalPrice":7.9,"index":2,"unit":"GRAMS","ean":"7894321722099","price":7.9,"imageUrl":"https:\/\/static-images.ifood.com.br\/image\/upload\/t_high\/pratos\/820af392-002c-47b1-bfae-d7ef31743c7f\/202210190038_2l9ganhmi6.jpg","name":"Toddynho Tradicional 200ml","id":"dc46609b-7335-44d0-bb34-1d3fce069665","optionsPrice":0,"uniqueId":"12a0d046-e765-491c-9908-c9793d56d692"}],"scheduledAt":"2023-12-06T18:34:14.825Z","customer":{"phone":{"number":"0800 711 8080","localizer":"97957814","localizerExpiration":"2023-12-06T21:45:14.825Z"},"documentNumber":"17665018858","name":"Adelaide Carpigiani","ordersCountOnMerchant":0,"segmentation":"Cliente Frequente","id":"6a4e36d3-af86-4c09-9549-1e08de8283e0"},"engineId":"3108CAD7500647C185E9594FA5946D9B","actions":[{"createdAt":"2023-12-06T17:45:26.666Z","status":"PLACED"},{"createdAt":"2023-12-06T17:45:27.043Z","user":"updateOrder [EED1]","status":"CONFIRMED"}],"updatedAt":"2023-12-06T17:45:27.198Z","status":"CONFIRMED"} Error: Undefined index: deliveryMethod