메소드 |
설명 |
|
__get ( string $key ) : mixed |
Magic __get method for backwards compatibility. Maps legacy vars to new getters. |
|
__isset ( string $key ) : boolean |
Magic __isset method for backwards compatibility. Legacy properties which could be accessed directly in the past. |
|
apply_before_tax ( ) : boolean |
Check if coupon needs applying before tax. |
|
dcr_usage_count ( string $used_by = '' ) |
Decrease usage count for current coupon. |
|
enable_free_shipping ( ) : boolean |
Check if a coupon enables free shipping. |
|
exclude_sale_items ( ) : boolean |
Check if a coupon excludes sale items. |
|
format_array ( string | array $array ) : array |
Format loaded data as array. |
|
inc_usage_count ( string $used_by = '' ) |
Increase usage count for current coupon. |
|