public function setSubscriptionPeriod(SubscriptionPeriod $period)
    {
        $this->parameters['sub_period_unit'] = $period->getUnit();
        $this->parameters['sub_period_number'] = $period->getInterval();
        $this->parameters['sub_period_moment'] = $period->getMoment();
    }
public function setSubscriptionPeriod(SubscriptionPeriod $period)
    {
        $this->parameters['sub_period_unit'] = $period->getUnit();
        $this->parameters['sub_period_number'] = $period->getInterval();
        $this->parameters['sub_period_moment'] = $period->getMoment();
    }
public function setSubscriptionPeriod ( SubscriptionPeriod $ period ) { $ this -> parameters [ 'sub_period_unit' ] = $ period -> getUnit ( ) ; $ this -> parameters [ 'sub_period_number' ] = $ period -> getInterval ( ) ; $ this -> parameters [ 'sub_period_moment' ] = $ period -> getMoment ( ) ; }
Set subscription payment interval
@author René de Kat <renedekat@9lives-development.com>
Set subscription payment interval