PHP Class WellCommerce\Bundle\PaymentBundle\Processor\PayPalProcessor

Author: Adam Piotrowski ([email protected])
Inheritance: extends AbstractPayPalProcessor
Afficher le fichier Open project: wellcommerce/wellcommerce

Méthodes publiques

Méthode Description
cancelPayment ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) : Response
confirmPayment ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) : Response
getCancelUrl ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) : string
getConfirmUrl ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) : string
getInitializeUrl ( ) : string
preparePayment ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment )
processPayment ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) : WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface

Méthodes protégées

Méthode Description
createRedirectUrls ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) : PayPal\Api\RedirectUrls Creates a collection of PayPal url definitions
updatePayment ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment, ApiContext $apiContext ) : WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface }

Method Details

cancelPayment() public méthode

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

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

createRedirectUrls() protected méthode

Creates a collection of PayPal url definitions
protected createRedirectUrls ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) : PayPal\Api\RedirectUrls
$payment WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface
Résultat PayPal\Api\RedirectUrls

getCancelUrl() public méthode

public getCancelUrl ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) : string
$payment WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface
Résultat string

getConfirmUrl() public méthode

public getConfirmUrl ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) : string
$payment WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface
Résultat string

getInitializeUrl() public méthode

public getInitializeUrl ( ) : string
Résultat string

preparePayment() public méthode

public preparePayment ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment )
$payment WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface

processPayment() public méthode

public processPayment ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) : WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface
$payment WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface
Résultat WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface

updatePayment() protected méthode

}
protected updatePayment ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment, ApiContext $apiContext ) : WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface
$payment WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface
$apiContext PayPal\Rest\ApiContext
Résultat WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface