Order: {"benefits":[],"orderType":"DELIVERY","scheduled":false,"payments":{"methods":[{"method":"CREDIT","prepaid":true,"currency":"BRL","type":"ONLINE","value":35.38,"card":{"brand":"MASTERCARD"}}],"pending":0,"prepaid":35.38},"engineType":"IFOOD","salesChannel":"IFOOD","reference":"f9b73143-f207-44f1-b89c-9be3bc947342","createdAt":"2023-12-06T12:31:48.255Z","total":{"benefits":0,"deliveryFee":5.99,"orderAmount":35.38,"subTotal":28.4,"additionalFees":0.99},"additionalInfo":{"metadata":{"logisticProduct":"FULL_SERVICE"}},"id":"IFOOD_f9b73143-f207-44f1-b89c-9be3bc947342","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. Barbalha","formattedAddress":"R. Barbalha, 137","streetNumber":"137","city":"S\u00e3o Paulo","postalCode":"05083020","coordinates":{"latitude":-23.53499,"longitude":-46.719578},"neighborhood":"Lapa","state":"SP"},"deliveryDateTime":"2023-12-06T12:59:48.255Z","pickupCode":"8691"},"merchant":{"name":"Padaria Villagio","id":"0d22cf29-021d-4d59-afeb-6aa822060e7c"},"version":"0.0.3","orderTiming":"IMMEDIATE","companyId":"2DAD377AB8944304AB214A17CA34EE32","preparationStartDateTime":"2023-12-06T12:31:48.255Z","isTest":false,"refId":"f9b73143-f207-44f1-b89c-9be3bc947342","displayId":"1026","engineName":"IFOODV2","items":[{"unitPrice":8.9,"unit":"UN","quantity":1,"externalCode":"631","totalPrice":8.9,"price":8.9,"imageUrl":"https:\/\/static-images.ifood.com.br\/image\/upload\/t_high\/pratos\/0d22cf29-021d-4d59-afeb-6aa822060e7c\/202303310907_2BHE_i.jpg","name":"Franc\u00eas na chapa com manteiga","index":1,"id":"e073aaa8-682c-4665-aee0-abceac626562","optionsPrice":0,"uniqueId":"35793be5-5e7f-408a-a124-6dd45e0e7de5"},{"unitPrice":19.5,"unit":"GRAMS","quantity":1,"externalCode":"45","totalPrice":19.5,"price":19.5,"imageUrl":"https:\/\/static-images.ifood.com.br\/image\/upload\/t_high\/pratos\/0d22cf29-021d-4d59-afeb-6aa822060e7c\/202303281101_CK4D_i.jpg","name":"Suco morango 500ml","index":2,"id":"3c54982d-72cb-4945-8c80-b81b8872ca9e","optionsPrice":0,"uniqueId":"65da1ba4-325a-41ab-8c29-5c667d1f44e1"}],"scheduledAt":"2023-12-06T12:59:48.255Z","customer":{"phone":{"number":"0800 705 4050","localizer":"43194280","localizerExpiration":"2023-12-06T16:31:48.255Z"},"documentNumber":"10582889707","name":"PEDRO","ordersCountOnMerchant":1,"segmentation":"Cliente","id":"0c2a2944-aeb7-4c7b-9de6-0f8ea33e6ca5"},"engineId":"3108CAD7500647C185E9594FA5946D9B","status":"CONFIRMED","actions":[{"createdAt":"2023-12-06T12:32:01.579Z","status":"PLACED"},{"createdAt":"2023-12-06T12:32:01.835Z","user":"updateOrder [EED1]","status":"CONFIRMED"}],"updatedAt":"2023-12-06T12:32:01.986Z"} Error: Undefined index: deliveryMethod