PHP Class PayPal\Api\PaymentExecution

Inheritance: extends PayPal\Common\PPModel
Show file Open project: paypal/rest-api-sdk-php Class Usage Examples

Public Methods

Method Description
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.

Method Details

addTransaction() public method

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

getCarrierAccountId() public method

Carrier account id for a carrier billing payment. For a carrier billing payment, payer_id is not applicable.
Deprecation: Not publicly available
public getCarrierAccountId ( ) : string
return string

getPayerId() public method

The ID of the Payer, passed in the return_url by PayPal.
public getPayerId ( ) : string
return string

getTransactions() public method

Transactional details including the amount and item details.
public getTransactions ( ) : Transaction[]
return Transaction[]

removeTransaction() public method

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

setCarrierAccountId() public method

Carrier account id for a carrier billing payment. For a carrier billing payment, payer_id is not applicable.
Deprecation: Not publicly available
public setCarrierAccountId ( string $carrier_account_id )
$carrier_account_id string

setPayerId() public method

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

setTransactions() public method

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