CORE POS - IS4C
The CORE POS front end
Public Member Functions | List of all members
CouponCode Class Reference
Inheritance diagram for CouponCode:
SpecialUPC

Public Member Functions

 isSpecial ($upc)
 
 handle ($upc, $json)
 
- Public Member Functions inherited from SpecialUPC
 isSpecial ($upc)
 
 is_special ($upc)
 
 handle ($upc, $json)
 

Detailed Description

Handle standard manufacturer coupons

This module looks for UPCs with prefix

It extracts the manufacturer prefix from the UPC and validates that a matching item is in the transaction

It looks up the coupon code to calculate a discount value and adds the coupon to the transaction

Member Function Documentation

CouponCode::handle (   $upc,
  $json 
)

Adjust string index of pieces based on whether check digits have been included


The documentation for this class was generated from the following file: