public override void SetGovTalkDetails()
        {
            GovTalkDetailsCreator govTalkDetailsCreator = new GovTalkDetailsCreator(new ListRequestGovTalkDetailsBuilder());

            govTalkDetailsCreator.CreateGovTalkDetails();
            GovTalkMessage.GovTalkDetails = govTalkDetailsCreator.GetGovTalkDetails();
        }
        public override void SetGovTalkDetails()
        {
            // get values from config
            GovTalkDetailsCreator govTalkDetailsCreatoor = new GovTalkDetailsCreator(new SubmitRequestGovTalkDetailsBuilder());

            govTalkDetailsCreatoor.CreateGovTalkDetails();
            GovTalkMessage.GovTalkDetails = govTalkDetailsCreatoor.GetGovTalkDetails();
        }
Beispiel #3
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()
 {
     // get values from config
     GovTalkDetailsCreator govTalkDetailsCreatoor = new GovTalkDetailsCreator(new SubmitRequestGovTalkDetailsBuilder());
     govTalkDetailsCreatoor.CreateGovTalkDetails();
     GovTalkMessage.GovTalkDetails = govTalkDetailsCreatoor.GetGovTalkDetails();
 }
 public override void SetGovTalkDetails()
 {
     GovTalkDetailsCreator govTalkDetailsCreator = new GovTalkDetailsCreator(new ListRequestGovTalkDetailsBuilder());
     govTalkDetailsCreator.CreateGovTalkDetails();
     GovTalkMessage.GovTalkDetails = govTalkDetailsCreator.GetGovTalkDetails();
 }