PHP Interface WellCommerce\Bundle\PaymentBundle\Processor\PayPalProcessorInterface

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

Méthodes publiques

Méthode 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 méthode

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

confirmPayment() public méthode

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

getCancelUrl() public méthode

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

getConfirmUrl() public méthode

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