Fix de l'API d'invoice pour pouvoir avoir l'info des produits.

This commit is contained in:
Victor Turgeon
2022-11-07 22:41:21 -05:00
parent 13310f6cd0
commit a3537c0a0f
7 changed files with 1467 additions and 36 deletions

View File

@@ -414,6 +414,15 @@ Pikachu is also the starter Pokémon of Pokémon Rumble Blast and Pokémon Rumbl
Province = "QC",
Country = "Canada",
InventoryUserId = AdminID,
},
new {
Id = 2,
CivicNumber = 420,
Street = "Rue MikeWard",
City = "Saint-Jérôme",
PostalCode = "H0H0H0",
Province = "QC",
Country = "Canada",
}
);
#endregion
@@ -476,6 +485,16 @@ Pikachu is also the starter Pokémon of Pokémon Rumble Blast and Pokémon Rumbl
PurchaseDate = DateTime.Now,
ShippingAddressId = 1,
Status = InvoiceModel.InStates.Returned,
},
new {
Id = 6,
EmailAddress = "test@admin.com",
FirstName = "Jérémy",
LastName = "Le Petit",
PhoneNumber = "111-111-1111",
PurchaseDate = DateTime.Now,
ShippingAddressId = 2,
Status = InvoiceModel.InStates.Confirmed,
}
);
@@ -578,6 +597,14 @@ Pikachu is also the starter Pokémon of Pokémon Rumble Blast and Pokémon Rumbl
ProductId = 15,
Quantity = (uint)2,
InvoiceModelId = 5
},
// invoice 6
new {
Id = 16,
ProductId = 20,
Quantity = (uint)4,
InvoiceModelId = 6
}
);
#endregion