public static SampleOrderLine Create(Guid userId, int orderId, int orderLineId) { SampleOrderLine sampleOrderLine = new SampleOrderLine(); sampleOrderLine.Id = SampleOrderLine.CreateUrn(userId, (long)orderId, (long)orderLineId); sampleOrderLine.CreatedDate = DateTime.Now; sampleOrderLine.OrderId = (long)orderId; sampleOrderLine.OrderLineId = (long)orderLineId; sampleOrderLine.AlbumName = "AlbumName"; sampleOrderLine.CashMixValueIncVat = new decimal(1528914989, -1561970359, 372399876, false, 28); sampleOrderLine.TransactionValueExVat = new decimal(79, 0, 0, false, 2); sampleOrderLine.ContentUrn = "urn:content:" + Guid.NewGuid().ToString("N"); return(sampleOrderLine); }
public static SampleOrderLine Create(Guid userId) { return(SampleOrderLine.Create(userId, 1, 1)); }