Order: {"benefits":[],"orderType":"DELIVERY","scheduled":false,"payments":{"methods":[{"method":"CREDIT","prepaid":true,"currency":"BRL","type":"ONLINE","value":30.86,"card":{"brand":"VISA"}}],"pending":0,"prepaid":30.86},"engineType":"IFOOD","salesChannel":"IFOOD","reference":"df77e56f-833a-4ccf-917b-5ee4b1de32d8","createdAt":"2023-12-05T12:28:53.882Z","total":{"benefits":0,"deliveryFee":4.99,"orderAmount":30.86,"subTotal":24.88,"additionalFees":0.99},"additionalInfo":{"metadata":{"logisticProduct":"FULL_SERVICE"}},"id":"IFOOD_df77e56f-833a-4ccf-917b-5ee4b1de32d8","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":"Av. Imperatriz Leopoldina","formattedAddress":"Av. Imperatriz Leopoldina, 845","streetNumber":"845","city":"S\u00e3o Paulo","postalCode":"05305011","coordinates":{"latitude":-23.529287,"longitude":-46.732173},"neighborhood":"Vila Leopoldina","state":"SP","complement":"Apto 94 B"},"deliveryDateTime":"2023-12-05T12:55:53.882Z","pickupCode":"4783"},"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-05T12:28:53.882Z","isTest":false,"refId":"df77e56f-833a-4ccf-917b-5ee4b1de32d8","displayId":"9918","engineName":"IFOODV2","items":[{"unitPrice":8.69,"unit":"GRAMS","quantity":2,"externalCode":"1410","totalPrice":17.38,"price":17.38,"imageUrl":"https:\/\/static-images.ifood.com.br\/image\/upload\/t_high\/pratos\/0d22cf29-021d-4d59-afeb-6aa822060e7c\/202303220728_41V2_i.jpg","name":"Queijo mussarela tirolez 100 gr","index":1,"id":"14145c87-3934-4396-9d5d-afaba463894e","optionsPrice":0,"uniqueId":"054c2a43-ce64-4f7c-8e88-c7e5b3b07ba3"},{"unitPrice":3.75,"unit":"GRAMS","quantity":2,"externalCode":"2185","totalPrice":7.5,"price":7.5,"imageUrl":"https:\/\/static-images.ifood.com.br\/image\/upload\/t_high\/pratos\/0d22cf29-021d-4d59-afeb-6aa822060e7c\/202303290956_J2RR_i.jpg","name":"Mortadela sadia","index":2,"id":"a6fc11f6-fd51-4bf0-b94b-6fadca6887e1","optionsPrice":0,"uniqueId":"8c4770ae-7ef3-4a0f-b676-e874525f5c7f"}],"scheduledAt":"2023-12-05T12:55:53.882Z","customer":{"phone":{"number":"0800 705 4050","localizer":"40568569","localizerExpiration":"2023-12-05T16:28:53.882Z"},"documentNumber":"22037669801","name":"RODRIGO GUEDES CASALI","ordersCountOnMerchant":5,"segmentation":"Cliente Frequente","id":"e79ee24a-0cb1-4699-8a1a-b8cb519e51a2"},"engineId":"3108CAD7500647C185E9594FA5946D9B","actions":[{"createdAt":"2023-12-05T12:29:03.369Z","status":"PLACED"},{"createdAt":"2023-12-05T12:29:03.657Z","user":"updateOrder [EED1]","status":"CONFIRMED"}],"updatedAt":"2023-12-05T12:29:03.808Z","status":"CONFIRMED"} Error: Undefined index: deliveryMethod