PHP 클래스 PayPal\Api\PaymentExecution

상속: extends PayPal\Common\PPModel
파일 보기 프로젝트 열기: paypal/rest-api-sdk-php 1 사용 예제들

공개 메소드들

메소드 설명
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[]