public static CreateOrderRequest CreateDetailedWithTravelLineItems(string orderNumber)
        {
            var lineItems = LineItemTestData.CreateTravelLineItems();
            var request   = CreateDetailedWithoutLineItems(orderNumber, lineItems.Sum(i => i.TotalLineAmount))
                            .WithLineItems(lineItems);

            return(request);
        }
        public static InitializePaymentRequest CreateDetailedWithTravelLineItems(Guid orderId)
        {
            var lineItems = LineItemTestData.CreateTravelLineItems();
            var request   = CreateDetailedWithoutLineItems(orderId, lineItems.Sum(i => i.TotalLineAmount))
                            .WithLineItems(lineItems);

            return(request);
        }
        public static CreateOrderRequest CreateDetailedWithInvalidTotalAmount(string orderNumber)
        {
            var lineItems = LineItemTestData.CreateTravelLineItems();

            const decimal adjustTotalSumWithToMakeItInvalid = 2.25m;
            var           request = CreateSimple(orderNumber, lineItems.Sum(i => i.TotalLineAmount) + adjustTotalSumWithToMakeItInvalid)
                                    .WithLineItems(lineItems);

            return(request);
        }
        public static InitializePaymentRequest CreateDetailedWithInvalidTotalAmount(Guid orderId)
        {
            var lineItems = LineItemTestData.CreateTravelLineItems();

            const decimal adjustTotalSumWithToMakeItInvalid = 2.25m;
            var           request = CreateSimple(orderId, lineItems.Sum(i => i.TotalLineAmount) + adjustTotalSumWithToMakeItInvalid)
                                    .WithLineItems(lineItems);

            return(request);
        }