C# Class Bukimedia.PrestaSharp.Factories.SpecificPriceRuleFactory

Inheritance: RestSharpFactory
Show file Open project: Bukimedia/PrestaSharp

Public Methods

Method Description
Add ( Entities SpecificPriceRule ) : Entities.specific_price_rule
AddList ( List SpecificPriceRules ) : List

Add a list of specific price rules.

Delete ( Entities SpecificPriceRule ) : void
Delete ( long SpecificPriceRuleId ) : void
Get ( long SpecificPriceId ) : Entities.specific_price_rule
GetAll ( ) : List

Get all specific price rules.

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

SpecificPriceRuleFactory ( string BaseUrl, string Account, string SecretKey ) : System
Update ( Entities SpecificPriceRule ) : void

Method Details

Add() public method

public Add ( Entities SpecificPriceRule ) : Entities.specific_price_rule
SpecificPriceRule Entities
return Entities.specific_price_rule

AddList() public method

Add a list of specific price rules.
public AddList ( List SpecificPriceRules ) : List
SpecificPriceRules List
return List

Delete() public method

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

Delete() public method

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

Get() public method

public Get ( long SpecificPriceId ) : Entities.specific_price_rule
SpecificPriceId long
return Entities.specific_price_rule

GetAll() public method

Get all specific price rules.
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

SpecificPriceRuleFactory() public method

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

Update() public method

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