C# Class Kooboo.Commerce.Api.OrderQueryExtensions

Show file Open project: Kooboo/Ecommerce

Public Methods

Method Description
ByCouponCode ( this query, string couponCode ) : Query
ByCustomField ( this query, string fieldName, string fieldValue ) : Query
ByCustomerId ( this query, int customerId ) : Query
ById ( this query, int id ) : Query
ByOrderStatus ( this query, OrderStatus status ) : Query
ByProcessingStatus ( this query, string status ) : Query
ByTotal ( this query, decimal fromTotal, decimal toTotal ) : Query
ByUtcCreatedDate ( this query, System.DateTime fromDate, System.DateTime toDate ) : Query

Method Details

ByCouponCode() public static method

public static ByCouponCode ( this query, string couponCode ) : Query
query this
couponCode string
return Query

ByCustomField() public static method

public static ByCustomField ( this query, string fieldName, string fieldValue ) : Query
query this
fieldName string
fieldValue string
return Query

ByCustomerId() public static method

public static ByCustomerId ( this query, int customerId ) : Query
query this
customerId int
return Query

ById() public static method

public static ById ( this query, int id ) : Query
query this
id int
return Query

ByOrderStatus() public static method

public static ByOrderStatus ( this query, OrderStatus status ) : Query
query this
status OrderStatus
return Query

ByProcessingStatus() public static method

public static ByProcessingStatus ( this query, string status ) : Query
query this
status string
return Query

ByTotal() public static method

public static ByTotal ( this query, decimal fromTotal, decimal toTotal ) : Query
query this
fromTotal decimal
toTotal decimal
return Query

ByUtcCreatedDate() public static method

public static ByUtcCreatedDate ( this query, System.DateTime fromDate, System.DateTime toDate ) : Query
query this
fromDate System.DateTime
toDate System.DateTime
return Query