public function modifyRecurringPayment($orderId, $hostedDataId, $amount, $startDate, $count, $frequency, $period)
    {
        $service = $this->getService();

        $paymentInformation     = new Model\RecurringPaymentInformation($startDate, $count, $frequency, $period);
        $payment                = new Model\Payment($hostedDataId, $amount);
        $recurringPaymentAction = new Request\Action\RecurringPayment\Modify($service, $orderId, $payment, $paymentInformation);

        return $recurringPaymentAction->modify();
    }
public function modifyRecurringPayment($orderId, $hostedDataId, $amount, $startDate, $count, $frequency, $period)
    {
        $service = $this->getService();

        $paymentInformation     = new Model\RecurringPaymentInformation($startDate, $count, $frequency, $period);
        $payment                = new Model\Payment($hostedDataId, $amount);
        $recurringPaymentAction = new Request\Action\RecurringPayment\Modify($service, $orderId, $payment, $paymentInformation);

        return $recurringPaymentAction->modify();
    }
public function modifyRecurringPayment ( $ orderId , $ hostedDataId , $ amount , $ startDate , $ count , $ frequency , $ period ) { $ service = $ this -> getService ( ) ; $ paymentInformation = new Model \ RecurringPaymentInformation ( $ startDate , $ count , $ frequency , $ period ) ; $ payment = new Model \ Payment ( $ hostedDataId , $ amount ) ; $ recurringPaymentAction = new Request \ Action \ RecurringPayment \ Modify ( $ service , $ orderId , $ payment , $ paymentInformation ) ; return $ recurringPaymentAction -> modify ( ) ; }
Modify a recurring payment

@param string         $orderId
@param string         $hostedDataId
@param float          $amount
@param \DateTime|null $startDate
@param int            $count
@param int            $frequency
@param string         $period

@return Response\Action\ConfirmRecurring|Response\Error
@throws \Exception
Modify a recurring payment