Discount_Shortcuts_GetDiscountByCodeOr404()
Discount_Shortcuts_GetDiscountByCodeOr404(string $code) : \Discount_Discount
Returns discount with given code or throws exception if such discount does not exist.
Parameters
string | $code |
Throws
- \Discount_Exception_ObjectNotFound