C# Class Bukimedia.PrestaSharp.Factories.ProductSupplierFactory

Inheritance: RestSharpFactory
Show file Open project: Bukimedia/PrestaSharp Class Usage Examples

Public Methods

Method Description
Add ( Entities ProductSupplier ) : Entities.product_supplier
AddList ( List ProductSuppliers ) : List
Delete ( Entities ProductSupplier ) : void
Delete ( long ProductSupplierId ) : void
Get ( long ProductSupplierId ) : Entities.product_supplier
GetAll ( ) : List

Get all product suppliers.

GetByFilter ( string>.Dictionary Filter, string Sort, string Limit ) : List

More information about filtering: http://doc.prestashop.com/display/PS14/Chapter+8+-+Advanced+Use

GetIds ( ) : List
GetIdsByFilter ( string>.Dictionary Filter, string Sort, string Limit ) : List

More information about filtering: http://doc.prestashop.com/display/PS14/Chapter+8+-+Advanced+Use

ProductSupplierFactory ( string BaseUrl, string Account, string SecretKey ) : System
Update ( Entities ProductSupplier ) : void

Method Details

Add() public method

public Add ( Entities ProductSupplier ) : Entities.product_supplier
ProductSupplier Entities
return Entities.product_supplier

AddList() public method

public AddList ( List ProductSuppliers ) : List
ProductSuppliers List
return List

Delete() public method

public Delete ( Entities ProductSupplier ) : void
ProductSupplier Entities
return void

Delete() public method

public Delete ( long ProductSupplierId ) : void
ProductSupplierId long
return void

Get() public method

public Get ( long ProductSupplierId ) : Entities.product_supplier
ProductSupplierId long
return Entities.product_supplier

GetAll() public method

Get all product suppliers.
public GetAll ( ) : List
return List

GetByFilter() public method

More information about filtering: http://doc.prestashop.com/display/PS14/Chapter+8+-+Advanced+Use
public GetByFilter ( string>.Dictionary Filter, string Sort, string Limit ) : List
Filter string>.Dictionary Example: key:name value:Apple
Sort string Field_ASC or Field_DESC. Example: name_ASC or name_DESC
Limit string Example: 5 limit to 5. 9,5 Only include the first 5 elements starting from the 10th element.
return List

GetIds() public method

public GetIds ( ) : List
return List

GetIdsByFilter() public method

More information about filtering: http://doc.prestashop.com/display/PS14/Chapter+8+-+Advanced+Use
public GetIdsByFilter ( string>.Dictionary Filter, string Sort, string Limit ) : List
Filter string>.Dictionary Example: key:name value:Apple
Sort string Field_ASC or Field_DESC. Example: name_ASC or name_DESC
Limit string Example: 5 limit to 5. 9,5 Only include the first 5 elements starting from the 10th element.
return List

ProductSupplierFactory() public method

public ProductSupplierFactory ( string BaseUrl, string Account, string SecretKey ) : System
BaseUrl string
Account string
SecretKey string
return System

Update() public method

public Update ( Entities ProductSupplier ) : void
ProductSupplier Entities
return void