src/Libraries/Offers/BaseCampaignOffer.php
/**
     * Initializes benefits if it is not initialized against the offer nature.
     */
Initializes benefits if it is not initialized against the offer nature.
Initializes benefits if it is not initialized against the offer nature .
protected function initializeBenefit ()
    {
        if ( !isset($this->request->coupon_benefits[ $this->offerNature ]) )
            $this->request->coupon_benefits[ $this->offerNature ] = 0;
    }
protected function initializeBenefit ( ) { if ( ! isset ( $ this -> request -> coupon_benefits [ $ this -> offerNature ] ) ) $ this -> request -> coupon_benefits [ $ this -> offerNature ] = 0 ; }
Initializes benefits if it is not initialized against the offer nature.
Initializes benefits if it is not initialized against the offer nature .