Product information for a product
Inheritance: ProductBaseModel
        private static async Task<Product> AddNewProduct(Dinero dinero, ProductCreateModel model)
        {
            var productCreatedResult = await dinero.Products.AddAsync(model);

            var guid = productCreatedResult.ProductGuid;
            Console.WriteLine("product created. Name: " + model.Name + " (" + guid + ")");

            return await Getproduct(dinero, guid);
        }
 public static async Task<Product> AddNewProduct(Dinero dinero)
 {
     var model = new ProductCreateModel
     {
         AccountNumber = 55000,
         Quantity = 20,
         Unit = "metre",
         Name = "test",
         //ProductNumber = "QXA",
         BaseAmountValue = 200,
     };
     return await AddNewProduct(dinero, model);
 }
 /// <summary>
 /// Add a new product to the organization
 /// </summary>
 /// <param name="modelToCreate">Content of the new product</param>
 /// <returns>201 (created) if the product was successfully saved.</returns>
 public Task<ProductCreatedResult> AddAsync(ProductCreateModel modelToCreate)
 {
     if (modelToCreate == null) throw new ArgumentNullException("modelToCreate");
     return PostAsync<ProductCreatedResult>(modelToCreate);
 }
 /// <summary>
 /// Add a new product to the organization
 /// </summary>
 /// <param name="modelToCreate">Content of the new product</param>
 /// <returns>201 (created) if the product was successfully saved.</returns>
 public ProductCreatedResult Add(ProductCreateModel modelToCreate)
 {
     return TaskHelper.ExecuteSync(() => AddAsync(modelToCreate));
 }