private Receiver CreateReciever(String mottaker) { PartnerIdentification identification = new PartnerIdentification(); identification.value = mottaker; identification.authority = Organisasjonsnummer.ISO6523_ACTORID; return(new Receiver(identification)); }
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)); }
public Partner(PartnerIdentification identifier) { this.identifier = identifier; }