<?php

namespace FiloBlu\Esb\Block\Adminhtml\Input;

use Magento\Backend\Block\Template;

class Ace extends Template
{
    public function getParameters()
    {
        return '{
    "conditions":[
       {
          "field":"{adyen_notification_event_code}",
          "operator":"eq",
          "value":"CAPTURE : TRUE"
       },
        "and",
       {
          "field":"{order_currency_code}",
          "operator":"eq",
          "value":"EUR"
       },
       
          "and",
       [
       
          {
             "field":"{is_virtual}",
             "operator":"eq",
             "value":"10"
          },
         
             "or",
          
          {
             "field":"{store_id}",
             "operator":"eq",
             "value":"{store_id}"
          }
       ]
    ],
    "payload":{
       "order_id":"{data.entity_id}",
       "from_status":"{orig_data.status}",
       "to_status":"{data.status}",
       "payment_method":"{data.payment.method}",
       "cc_type":"{data.payment.cc_type}"
    }
 }';
    }
}
