Method | Description | |
---|---|---|
AddItem ( |
||
AddItem ( |
||
ApplyCoupon ( |
||
CalculatePrice ( |
||
ChangeBillingAddress ( |
||
ChangeItemQuantity ( |
||
ChangeShippingAddress ( |
||
ChangeShippingMethod ( |
||
Create ( |
||
Delete ( |
||
ExpireCart ( |
||
Find ( int id ) : |
||
FindByCustomerEmail ( string customerEmail ) : |
||
FindByCustomerId ( int customerId ) : |
||
FindBySessionId ( string sessionId ) : |
||
MigrateCart ( |
||
Query ( ) : IQueryable |
||
RemoveItem ( |
||
RemoveProduct ( |
||
ShoppingCartService ( |
public AddItem ( |
||
cart | ||
product | ||
productPrice | ||
quantity | int | |
return |
public AddItem ( |
||
cart | ||
item | ||
return | void |
public ApplyCoupon ( |
||
cart | ||
coupon | string | |
return | bool |
public CalculatePrice ( |
||
cart | ||
shoppingContext | ||
return |
public ChangeBillingAddress ( |
||
cart | ||
address | ||
return | void |
public ChangeItemQuantity ( |
||
cart | ||
item | ||
newQuantity | int | |
return | void |
public ChangeShippingAddress ( |
||
cart | ||
address | ||
return | void |
public ChangeShippingMethod ( |
||
cart | ||
shippingMethod | ShippingMethod | |
return | void |
public ExpireCart ( |
||
cart | ||
return | void |
public FindByCustomerEmail ( string customerEmail ) : |
||
customerEmail | string | |
return |
public FindByCustomerId ( int customerId ) : |
||
customerId | int | |
return |
public FindBySessionId ( string sessionId ) : |
||
sessionId | string | |
return |
public MigrateCart ( |
||
from | ||
to | ||
return | void |
public RemoveItem ( |
||
cart | ||
itemId | int | |
return | bool |
public RemoveProduct ( |
||
cart | ||
productPriceId | int | |
return | bool |
public ShoppingCartService ( |
||
instance | ||
return | System |