protected void UpdateIdentyfikatorOsobyNiefizycznej(IdentyfikatorOsobyNiefizycznejV50 idOsoby) { if (idOsoby == null) { return; } idOsoby.RegonSpecified = !IsDefaultValue(idOsoby.Regon); }
public static IdentyfikatorOsobyNiefizycznejV50 GetIdentyfikatorOsobyNiefizycznejV50(bool defineRegon = true) { var id = new IdentyfikatorOsobyNiefizycznejV50 { Nip = "8117960116", PelnaNazwa = "Zwyczajna Firma s.c." }; if (defineRegon) { id.Regon = "357359470"; } return(id); }