src/Libraries/ApplyCoupon.php
/**
     * Starts coupon application process.
     *
     * @return object|bool
     */
Starts coupon application process.
@return object|bool
Starts coupon application process . @return object|bool
public function process ()
    {
        if ( $this->validateCouponFlag && !$this->validate() ) return false;
        $this->initialize();
        $this->setCouponBenefits();
        return $this->request;
    }
public function process ( ) { if ( $ this -> validateCouponFlag && ! $ this -> validate ( ) ) return false ; $ this -> initialize ( ) ; $ this -> setCouponBenefits ( ) ; return $ this -> request ; }
Starts coupon application process.
Starts coupon application process .
/**
         * Checks if validation is to be done for this coupon.
         *
         * If validation need to be done, then all
         * validations for the coupon are performed.
         *
         */ /**
         * Initializes coupon benefits.
         */ /**
         * Sets coupon benefits from offer.
         */