Method | Description | |
---|---|---|
Promotion ( string voucher_code, Agathas.Storefront.Common.Money discount, Agathas.Storefront.Common.Money threshold ) : System | ||
calculate_discount_for ( IEnumerable |
||
create_coupon_for ( System.Guid basket_id ) : |
||
is_applicable_for ( IEnumerable |
||
is_still_active ( ) : bool | ||
reason_why_cannot_be_applied_to ( IEnumerable |
Method | Description | |
---|---|---|
Promotion ( ) : System |
public Promotion ( string voucher_code, Agathas.Storefront.Common.Money discount, Agathas.Storefront.Common.Money threshold ) : System | ||
voucher_code | string | |
discount | Agathas.Storefront.Common.Money | |
threshold | Agathas.Storefront.Common.Money | |
return | System |
public calculate_discount_for ( IEnumerable |
||
items | IEnumerable |
|
return | Agathas.Storefront.Common.Money |
public create_coupon_for ( System.Guid basket_id ) : |
||
basket_id | System.Guid | |
return |
public is_applicable_for ( IEnumerable |
||
items | IEnumerable |
|
return | bool |
public reason_why_cannot_be_applied_to ( IEnumerable |
||
items | IEnumerable |
|
return | CouponIssues |