コード例 #1
0
            private Receiver CreateReciever(String mottaker)
            {
                PartnerIdentification identification = new PartnerIdentification();

                identification.value     = mottaker;
                identification.authority = Organisasjonsnummer.ISO6523_ACTORID;

                return(new Receiver(identification));
            }
コード例 #2
0
            private Sender CreateSender(string avsender, string onBehalfOf)
            {
                PartnerIdentification identification = new PartnerIdentification();
                String value = Organisasjonsnummer.COUNTRY_CODE_ORGANIZATION_NUMBER_NORWAY + ":" + avsender;

                if (onBehalfOf != null)
                {
                    value += ":" + onBehalfOf;
                }

                identification.value     = value;
                identification.authority = Organisasjonsnummer.ISO6523_ACTORID;

                return(new Sender(identification));
            }
コード例 #3
0
 public Partner(PartnerIdentification identifier)
 {
     this.identifier = identifier;
 }