public INSTALL_PARAM_C9_GP() : base() { GPTagMeta = EMVTagsEnum.INSTALL_PARAM_OR_APPLICATION_CONTACTLESS_USAGE_C9_GP; Tag = new T(GPTagMeta.Tag); Val = new INSTALL_PARAM_C9_GP_VALUE(GPTagMeta.DataFormatter); }
public override int Deserialize(byte[] rawTlv, int pos) { pos = base.Deserialize(rawTlv, pos); byte[] valCurrent = Val.Serialize(); Val = new INSTALL_PARAM_C9_GP_VALUE(GPTagMeta.DataFormatter); if (valCurrent.Length > 2) { ((INSTALL_PARAM_C9_GP_VALUE)Val).PDEPresent = true; } Val.Deserialize(valCurrent, 0); return(pos); }