yavsc/yavscModel/FrontOffice/Catalog/SaleForm.cs

41 lines
849 B
C#

10 years ago
using System;
using System.Collections.Generic;
Refactoring: moving the Catalog manager and model into the Yavsc.Model.FrontOffice namespace * Web.config: * Catalog.xml: * MyClass.cs: * Note.cs: * Euro.cs: * Unit.cs: * Text.cs: * Link.cs: * Price.cs: * Label.cs: * Brand.cs: * Scalar.cs: * Option.cs: * Period.cs: * YavscModel.csproj: * Catalog.cs: * Service.cs: * Product.cs: * YavscClient.csproj: * CatalogManager.cs: * Currency.cs: * CheckBox.cs: * SaleForm.cs: * FormInput.cs: * CatalogProvider.cs: * TextInput.cs: * SelectItem.cs: * SalesCatalog.csproj: * FilesInput.cs: * FormElement.cs: * SelectInput.cs: * IValueProvider.cs: * StockStatus.cs: * RadioButton.cs: * Commande.cs: * ProductImage.cs: * WebCatalogExtensions.cs: * TemplateException.cs: * ProductCategory.cs: * PhysicalProduct.cs: * Note.cs: * Link.cs: * Text.cs: * Euro.cs: * Unit.cs: * WorkFlowManager.cs: * Brand.cs: * Label.cs: * Price.cs: * Scalar.cs: * FrontOfficeController.cs: * Period.cs: * Option.cs: * Product.cs: * Service.cs: * Catalog.cs: * SaleForm.cs: * Currency.cs: * CheckBox.cs: * TextInput.cs: * FrontOfficeApiController.cs: * FormInput.cs: * SelectItem.cs: * FilesInput.cs: * XmlCatalog.cs: * FormElement.cs: * SelectInput.cs: * RadioButton.cs: * StockStatus.cs: * ProductImage.cs: * CatalogHelper.cs: * CatalogManager.cs: * CatalogProvider.cs: * ProductCategory.cs: * PhysicalProduct.cs: * XmlCatalogProvider.cs: * CatalogProviderConfigurationElement.cs: * CatalogProvidersConfigurationSection.cs: * CatalogProvidersConfigurationCollection.cs: * CatalogProviderConfigurationElement.cs: * CatalogProvidersConfigurationSection.cs: * CatalogProvidersConfigurationCollection.cs: * CatalogHelper.cs:
10 years ago
namespace Yavsc.Model.FrontOffice
10 years ago
{
public class SaleForm
{
/// <summary>
/// Gets or sets the catalog reference.
/// It must be non null,
/// it is an Uri, returning the Xml
/// Catalog at Http GET request
/// </summary>
/// <value>The catalog reference.</value>
public string CatalogReference { get; set; }
10 years ago
public SaleForm ()
{
}
/// <summary>
/// Gets or sets the action, that is,
/// the Method of the FrontOffice controller
/// called to post this Command form.
/// It defaults to "Command"
/// </summary>
/// <value>The action.</value>
10 years ago
public string Action {
get;
set;
}
/// <summary>
/// Gets or sets the input values of this command form.
/// </summary>
/// <value>The items.</value>
10 years ago
public FormElement[] Items { get; set; }
}
}