PHP Класс PayPal\Api\PaymentExecution

Наследование: extends PayPal\Common\PPModel
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
addTransaction ( Transaction $transaction ) Append Transactions to the list.
getCarrierAccountId ( ) : string Carrier account id for a carrier billing payment. For a carrier billing payment, payer_id is not applicable.
getPayerId ( ) : string The ID of the Payer, passed in the return_url by PayPal.
getTransactions ( ) : Transaction[] Transactional details including the amount and item details.
removeTransaction ( Transaction $transaction ) Remove Transactions from the list.
setCarrierAccountId ( string $carrier_account_id ) Carrier account id for a carrier billing payment. For a carrier billing payment, payer_id is not applicable.
setPayerId ( string $payer_id ) The ID of the Payer, passed in the return_url by PayPal.
setTransactions ( Transaction[] $transactions ) Transactional details including the amount and item details.

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

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

Append Transactions to the list.
public addTransaction ( Transaction $transaction )
$transaction Transaction

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

Carrier account id for a carrier billing payment. For a carrier billing payment, payer_id is not applicable.
Устаревший: Not publicly available
public getCarrierAccountId ( ) : string
Результат string

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

The ID of the Payer, passed in the return_url by PayPal.
public getPayerId ( ) : string
Результат string

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

Transactional details including the amount and item details.
public getTransactions ( ) : Transaction[]
Результат Transaction[]

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

Remove Transactions from the list.
public removeTransaction ( Transaction $transaction )
$transaction Transaction

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

Carrier account id for a carrier billing payment. For a carrier billing payment, payer_id is not applicable.
Устаревший: Not publicly available
public setCarrierAccountId ( string $carrier_account_id )
$carrier_account_id string

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

The ID of the Payer, passed in the return_url by PayPal.
public setPayerId ( string $payer_id )
$payer_id string

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

Transactional details including the amount and item details.
public setTransactions ( Transaction[] $transactions )
$transactions Transaction[]