package cz.moneta.test.sanity.transactional.cards.firstvision;

import com.fasterxml.jackson.annotation.JsonProperty;

public class MESSAGE {
    public final static String FV = "t/cards.cluster/call-fv/v1";
    public final static String VMX_MSGIN = "VMX_MSGIN";
    public final static String VMX_MSGOUT = "VMX_ROOT.VMX_MSGOUT";
    public final static String SVC_RETURN = VMX_MSGOUT +".SVC_RETURN";
    @JsonProperty("API-NAME")
    private final String apiName;
    @JsonProperty("API-VERSION")
    private final String apiVersion;
    @JsonProperty(VMX_MSGIN)
    private VMX_MSGIN msg = new VMX_MSGIN();

    public MESSAGE(String apiName, String apiVersion) {
        this.apiName = apiName;
        this.apiVersion = apiVersion;
    }

    private static class VMX_MSGIN {
        @JsonProperty("CONTEXT")
        private String context = "00000MMB";
    }
}
