Ogone\Tests\Ecommerce\EcommercePaymentRequestTest::provideCompletePaymentRequest PHP Method

provideCompletePaymentRequest() private method

private provideCompletePaymentRequest ( ) : Ogone\Ecommerce\EcommercePaymentRequest
return Ogone\Ecommerce\EcommercePaymentRequest
    private function provideCompletePaymentRequest()
    {
        $paymentRequest = $this->provideMinimalPaymentRequest();
        $paymentRequest->setAccepturl('http://example.com/accept');
        $paymentRequest->setDeclineurl('http://example.com/decline');
        $paymentRequest->setExceptionurl('http://example.com/exception');
        $paymentRequest->setCancelurl('http://example.com/cancel');
        $paymentRequest->setBackurl('http://example.com/back');
        $paymentRequest->setDynamicTemplateUri('http://example.com/template');
        $paymentRequest->setCurrency('EUR');
        $paymentRequest->setLanguage('nl_BE');
        $paymentRequest->setPaymentMethod('CreditCard');
        $paymentRequest->setBrand('VISA');
        $paymentRequest->setFeedbackMessage("Thanks for ordering");
        $paymentRequest->setFeedbackParams(array('amountOfProducts' => '5', 'usedCoupon' => 1));
        $paymentRequest->setParamvar('aParamVar');
        $paymentRequest->setOrderDescription("Four horses and a carriage");
        $paymentRequest->setOwnerPhone('123456789');
        $paymentRequest->setOperation(EcommercePaymentRequest::OPERATION_REQUEST_DIRECT_SALE);
        return $paymentRequest;
    }