Order: {"benefits":[],"orderType":"DELIVERY","scheduled":false,"payments":{"methods":[{"method":"DEBIT","prepaid":true,"currency":"BRL","type":"ONLINE","value":46.29,"card":{"brand":"MASTERCARD_MAESTRO"}}],"pending":0,"prepaid":46.29},"engineType":"IFOOD","salesChannel":"IFOOD","reference":"31ba0bf5-96d8-4093-8253-d30220a31eb4","createdAt":"2023-12-05T10:39:14.544Z","total":{"benefits":0,"deliveryFee":6.99,"orderAmount":46.29,"subTotal":39.3,"additionalFees":0},"additionalInfo":{"metadata":{"logisticProduct":"FULL_SERVICE"}},"id":"IFOOD_31ba0bf5-96d8-4093-8253-d30220a31eb4","containerId":"47C54FD811024ACE9F4D3CD52E785952","delivery":{"mode":"DEFAULT","deliveredBy":"IFOOD","deliveryAddress":{"country":"BR","streetName":"R. Bergamota","formattedAddress":"R. Bergamota, 326","streetNumber":"326","city":"S\u00e3o Paulo","postalCode":"05468000","coordinates":{"latitude":-23.539283,"longitude":-46.716116},"neighborhood":"Alto da Lapa","state":"SP","complement":"Ap. 41"},"deliveryDateTime":"2023-12-05T11:11:14.544Z","pickupCode":"9746"},"merchant":{"name":"Padaria Villagio","id":"0d22cf29-021d-4d59-afeb-6aa822060e7c"},"version":"0.0.3","orderTiming":"IMMEDIATE","companyId":"2DAD377AB8944304AB214A17CA34EE32","preparationStartDateTime":"2023-12-05T10:39:14.544Z","isTest":false,"refId":"31ba0bf5-96d8-4093-8253-d30220a31eb4","displayId":"6887","engineName":"IFOODV2","items":[{"unitPrice":2,"unit":"GRAMS","quantity":2,"externalCode":"1349","totalPrice":4,"price":4,"imageUrl":"https:\/\/static-images.ifood.com.br\/image\/upload\/t_high\/pratos\/0d22cf29-021d-4d59-afeb-6aa822060e7c\/202303220708_A0M0_i.jpg","name":"P\u00e3o franc\u00eas","index":1,"id":"d245fa35-c76e-4a71-9204-69608bb929b0","optionsPrice":0,"uniqueId":"cc4d1b31-43d1-437a-a24a-515f638394a5"},{"unitPrice":9.9,"quantity":1,"externalCode":"7893000394117","totalPrice":9.9,"index":2,"unit":"GRAMS","ean":"7893000394117","price":9.9,"imageUrl":"https:\/\/static-images.ifood.com.br\/image\/upload\/t_high\/pratos\/820af392-002c-47b1-bfae-d7ef31743c7f\/202307052252_471ug4t2a0s.jpg","name":"Margarina com Sal Qualy 250g","id":"385a99a0-8dd5-4f24-bb98-5da2f67c71f0","optionsPrice":0,"uniqueId":"c84129ba-5b04-42e9-94bf-31b7e0f56570"},{"unitPrice":16.9,"quantity":1,"externalCode":"101607","totalPrice":16.9,"index":3,"unit":"GRAMS","ean":"7894900027013","price":16.9,"imageUrl":"https:\/\/static-images.ifood.com.br\/image\/upload\/t_high\/pratos\/820af392-002c-47b1-bfae-d7ef31743c7f\/202310111116_2k878c7ryru.jpg","name":"Coca-Cola Original Garrafa 2l","id":"496a3a06-244d-44cb-b669-c5e16482d16a","optionsPrice":0,"uniqueId":"6ce67ffc-0c74-4ab2-bcc7-15466276ee43"},{"unitPrice":8.5,"quantity":1,"externalCode":"7898215151708","totalPrice":8.5,"index":4,"unit":"GRAMS","ean":"7898215151678","price":8.5,"imageUrl":"https:\/\/static-images.ifood.com.br\/image\/upload\/t_high\/pratos\/820af392-002c-47b1-bfae-d7ef31743c7f\/202307070849_0h63v5kqif75.jpg","name":"Leite Integral Piracanjuba 1l","id":"2a485cdf-0904-4cb7-84ef-d94416e3d72e","optionsPrice":0,"uniqueId":"ff4f9d27-e85c-4103-b17a-2ac4eccbc140"}],"scheduledAt":"2023-12-05T11:11:14.544Z","customer":{"phone":{"number":"0800 705 6070","localizer":"81094320","localizerExpiration":"2023-12-05T14:39:14.544Z"},"documentNumber":"29330830862","name":"Felipe Bellintani","ordersCountOnMerchant":0,"segmentation":"Cliente Frequente","id":"c26faea1-b09b-4ae0-aa0e-db38d5475b56"},"engineId":"3108CAD7500647C185E9594FA5946D9B","status":"CONFIRMED","actions":[{"createdAt":"2023-12-05T10:39:52.523Z","status":"PLACED"},{"createdAt":"2023-12-05T10:39:53.323Z","user":"IFoodV2OnNewStatusEventService","status":"CONFIRMED"}],"updatedAt":"2023-12-05T10:39:54.167Z"} Error: Undefined index: deliveryMethod