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();
    }