public GenerateDocflowsSuiteRequest(Guid?accountId = default, Sender sender = default, Payer payer = default, int?docflowCount = default) { if (accountId == null) { throw new InvalidDataException("accountId is a required property for GenerateDocflowsSuiteRequest and cannot be null"); } AccountId = accountId; Sender = sender ?? throw new InvalidDataException("sender is a required property for GenerateDocflowsSuiteRequest and cannot be null"); Payer = payer ?? throw new InvalidDataException("payer is a required property for GenerateDocflowsSuiteRequest and cannot be null"); if (docflowCount == null) { throw new InvalidDataException("docflowCount is a required property for GenerateDocflowsSuiteRequest and cannot be null"); } DocflowCount = docflowCount; }
public GenerateFnsReportRequest(Guid?accountId = default, Sender sender = default, Payer payer = default, string ifnsCode = default, string state = default) { if (accountId == null) { throw new InvalidDataException("accountId is a required property for GenerateFnsReportRequest and cannot be null"); } AccountId = accountId; Sender = sender ?? throw new InvalidDataException("sender is a required property for GenerateFnsReportRequest and cannot be null"); Payer = payer ?? throw new InvalidDataException("payer is a required property for GenerateFnsReportRequest and cannot be null"); State = state ?? throw new InvalidDataException("state is a required property for GenerateFnsReportRequest and cannot be null"); IfnsCode = ifnsCode; }
public GenerateFufRequest(Sender sender = default, Payer payer = default, WarrantInfo warrant = default) { Sender = sender ?? throw new InvalidDataException("sender is a required property for GenerateFufRequest and cannot be null"); Payer = payer; Warrant = warrant; }
public GenerateDemandRequest(Guid?accountId = default, Sender sender = default, Payer payer = default, List <string> knds = default, string ifnsCode = default) { if (accountId == null) { throw new InvalidDataException("accountId is a required property for GenerateDemandRequest and cannot be null"); } AccountId = accountId; Sender = sender ?? throw new InvalidDataException("sender is a required property for GenerateDemandRequest and cannot be null"); Payer = payer ?? throw new InvalidDataException("payer is a required property for GenerateDemandRequest and cannot be null"); Knds = knds ?? throw new InvalidDataException("knds is a required property for GenerateDemandRequest and cannot be null"); IfnsCode = ifnsCode; }
public GenerateCuLetterRequest(Guid?accountId = default, Sender sender = default, Payer payer = default, string text = default, string ifnsCode = default) { if (accountId == null) { throw new InvalidDataException("accountId is a required property for GenerateCuLetterRequest and cannot be null"); } AccountId = accountId; Sender = sender ?? throw new InvalidDataException("sender is a required property for GenerateCuLetterRequest and cannot be null"); Payer = payer ?? throw new InvalidDataException("payer is a required property for GenerateCuLetterRequest and cannot be null"); Text = text ?? throw new InvalidDataException("text is a required property for GenerateCuLetterRequest and cannot be null"); IfnsCode = ifnsCode; }