Property | Type | Description | |
---|---|---|---|
Items | List |
Method | Description | |
---|---|---|
GetItemById ( string itemId ) : |
||
GetRealDiscountLabel ( ) : string |
Gets the actual discount label for this package. Checks for any active promotion for this package.
|
|
HasActivePromotion ( ) : bool |
Checks for any active promotion for this package, also checks if the current date is between the promotion's begin and end date.
|
|
Package ( string id, string originalDiscountLabel, List |
public GetItemById ( string itemId ) : |
||
itemId | string | |
return |
public Package ( string id, string originalDiscountLabel, List |
||
id | string | |
originalDiscountLabel | string | |
packageItems | List |
|
promotionItems | List |
|
promotionDiscountLabel | string | |
promotionBeginDate | string | |
promotionEndDate | string | |
return | System |