PHP Класс WellCommerce\Bundle\PaymentBundle\Processor\PayPalProcessor

Автор: Adam Piotrowski ([email protected])
Наследование: extends AbstractPayPalProcessor
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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 }

Описание методов

cancelPayment() публичный Метод

public cancelPayment ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) : Response
$payment WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface
Результат Symfony\Component\HttpFoundation\Response

confirmPayment() публичный Метод

public confirmPayment ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) : Response
$payment WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface
Результат Symfony\Component\HttpFoundation\Response

createRedirectUrls() защищенный Метод

Creates a collection of PayPal url definitions
protected createRedirectUrls ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) : PayPal\Api\RedirectUrls
$payment WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface
Результат PayPal\Api\RedirectUrls

getCancelUrl() публичный Метод

public getCancelUrl ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) : string
$payment WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface
Результат string

getConfirmUrl() публичный Метод

public getConfirmUrl ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) : string
$payment WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface
Результат string

getInitializeUrl() публичный Метод

public getInitializeUrl ( ) : string
Результат string

preparePayment() публичный Метод

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

processPayment() публичный Метод

public processPayment ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface $payment ) : WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface
$payment WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface
Результат WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface

updatePayment() защищенный Метод

}
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
Результат WellCommerce\Bundle\PaymentBundle\Entity\PaymentInterface