Example #1
0
        public async Task TestPurchaseReservationOrderSingleScopeUpfront()
        {
            var purchaseRequestContent = CreatePurchaseRequestContent("Single", "Upfront");
            var response = await Tenant.CalculateReservationOrderAsync(purchaseRequestContent);

            var purchaseResponse = await Collection.CreateOrUpdateAsync(WaitUntil.Completed, response.Value.Properties.ReservationOrderId, purchaseRequestContent);

            TestCreatePurchaseResponse(purchaseResponse, purchaseRequestContent, response.Value.Properties.ReservationOrderId);
        }