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:
40 lines
849 B
C#
40 lines
849 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Yavsc.Model.FrontOffice
|
|
{
|
|
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; }
|
|
|
|
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>
|
|
public string Action {
|
|
get;
|
|
set;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets or sets the input values of this command form.
|
|
/// </summary>
|
|
/// <value>The items.</value>
|
|
public FormElement[] Items { get; set; }
|
|
}
|
|
}
|
|
|