Exemplo n.º 1
0
        public static void TestGovTalkDetails()
        {
            TestReferenceData();
            GovTalkDetailsCreator govTalkDetailsCreator = new GovTalkDetailsCreator(new SubmitRequestGovTalkDetailsBuilder());

            govTalkDetailsCreator.CreateGovTalkDetails();

            hmrcclasses.GovTalkMessageGovTalkDetails govTalkDetails = govTalkDetailsCreator.GetGovTalkDetails();

            XmlElement xml = govTalkDetailsCreator.SerializeGovTalkDetails(govTalkDetails);

            Console.WriteLine(xml.InnerXml.ToString());
        }
 public override void SetGovTalkDetails()
 {
     GovTalkMessageGovTalkDetails govTalkDetails = new GovTalkMessageGovTalkDetails();
     GovTalkMessageGovTalkDetailsKey[] Keys = new GovTalkMessageGovTalkDetailsKey[1];
     govTalkDetails.Keys = Keys;
     GovTalkMessage.GovTalkDetails = govTalkDetails;
 }