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":"1be74ad3-35c9-453d-9191-c2c66febcfc0","createdAt":"2023-12-05T10:34:45.329Z","total":{"benefits":0,"deliveryFee":4.99,"orderAmount":30.86,"subTotal":24.88,"additionalFees":0.99},"additionalInfo":{"metadata":{"logisticProduct":"FULL_SERVICE"}},"id":"IFOOD_1be74ad3-35c9-453d-9191-c2c66febcfc0","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":"Pr\u00e9dio bradesco","country":"BR","streetName":"Rua Dr. Seidel","formattedAddress":"Rua Dr. Seidel, 425","streetNumber":"425","city":"S\u00e3o Paulo","postalCode":"05315000","coordinates":{"latitude":-23.532482,"longitude":-46.734629},"neighborhood":"Vila Leopoldina","state":"SP","complement":"Dpto investimentos"},"deliveryDateTime":"2023-12-05T11:02:45.329Z","pickupCode":"7515"},"merchant":{"name":"Padaria Villagio","id":"0d22cf29-021d-4d59-afeb-6aa822060e7c"},"version":"0.0.3","orderTiming":"IMMEDIATE","companyId":"2DAD377AB8944304AB214A17CA34EE32","preparationStartDateTime":"2023-12-05T10:34:45.329Z","isTest":false,"refId":"1be74ad3-35c9-453d-9191-c2c66febcfc0","displayId":"3307","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":"f6c15505-ce31-42c9-9c6b-2c0bfcffaa04"},{"unitPrice":7.99,"unit":"UN","quantity":1,"externalCode":"663","totalPrice":7.99,"price":7.99,"imageUrl":"https:\/\/static-images.ifood.com.br\/image\/upload\/t_high\/pratos\/0d22cf29-021d-4d59-afeb-6aa822060e7c\/202303290846_Q534_i.jpg","name":"Mini p\u00e3o de queijo parmes\u00e3o","index":2,"id":"c3bc73f0-8668-400e-804d-5d0298ece6c1","optionsPrice":0,"uniqueId":"8d4e8220-eab4-47e2-956c-b07421320273"},{"unitPrice":7.99,"unit":"UN","quantity":1,"externalCode":"483","totalPrice":7.99,"price":7.99,"imageUrl":"https:\/\/static-images.ifood.com.br\/image\/upload\/t_high\/pratos\/0d22cf29-021d-4d59-afeb-6aa822060e7c\/202306241321_4DJ2_i.jpg","name":"Bolo Corte de brigadeiro","index":3,"id":"fb5fdb27-6366-400c-bfd9-cdf1f7f843ca","optionsPrice":0,"uniqueId":"a04a9e9c-68d8-45e3-8927-2d6c39ccc4d4"}],"scheduledAt":"2023-12-05T11:02:45.329Z","customer":{"phone":{"number":"0800 705 6070","localizer":"12129675","localizerExpiration":"2023-12-05T14:34:45.329Z"},"documentNumber":"40318978806","name":"NAT\u00c1LIA CASTRO","ordersCountOnMerchant":7,"segmentation":"Cliente","id":"02f9de8f-ec76-4ddb-b231-dcb7ea5b4439"},"engineId":"3108CAD7500647C185E9594FA5946D9B","actions":[{"createdAt":"2023-12-05T10:35:01.871Z","status":"PLACED"},{"createdAt":"2023-12-05T10:35:02.144Z","user":"updateOrder [EED1]","status":"CONFIRMED"}],"updatedAt":"2023-12-05T10:35:02.442Z","status":"CONFIRMED"} Error: Undefined index: deliveryMethod