PHP Interface WellCommerce\Bundle\PaymentBundle\Processor\PayPalProcessorInterface

Author: Adam Piotrowski ([email protected])
Inheritance: extends WellCommerce\Bundle\PaymentBundle\Processor\PaymentProcessorInterface
Mostra file Open project: wellcommerce/wellcommerce

Public Methods

Method Description
cancelPayment ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) : Response Cancels a payment for order
confirmPayment ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) : Response Confirms a payment for order
getCancelUrl ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) : string Returns the URL to cancel action
getConfirmUrl ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) : string Returns the URL to confirm action

Method Details

cancelPayment() public method

Cancels a payment for order
public cancelPayment ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) : Response
$payment WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface
return Symfony\Component\HttpFoundation\Response

confirmPayment() public method

Confirms a payment for order
public confirmPayment ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) : Response
$payment WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface
return Symfony\Component\HttpFoundation\Response

getCancelUrl() public method

Returns the URL to cancel action
public getCancelUrl ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) : string
$payment WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface
return string

getConfirmUrl() public method

Returns the URL to confirm action
public getConfirmUrl ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) : string
$payment WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface
return string