private static InvoiceCC GetCCInvoice(string body) { if (string.IsNullOrWhiteSpace(body)) { return(InvoiceCC.Blank(0)); } return(JsonConvert.DeserializeObject <InvoiceCC>(body)); }
internal Success(int statusCode, string reasonPhase, string raw, InvoiceCC invoiceCC) : base(statusCode, reasonPhase, raw, true) { InvoiceCC = invoiceCC; this.SuccessfulResult = this; }