PHP Class PayPal\Api\Transaction

A transaction defines the contract of a payment - what is the payment for and who is fulfilling it.
Inheritance: extends PayPal\Api\TransactionBase
Afficher le fichier Open project: paypal/rest-api-sdk-php Class Usage Examples

Méthodes publiques

Méthode Description
getPurchaseUnitReferenceId ( ) : string Identifier to the purchase unit corresponding to this sale transaction
getTransactions ( ) : self[] Additional transactions for complex payment scenarios.
setPurchaseUnitReferenceId ( string $purchase_unit_reference_id ) Identifier to the purchase unit corresponding to this sale transaction
setTransactions ( self $transactions ) Additional transactions for complex payment scenarios.

Method Details

getPurchaseUnitReferenceId() public méthode

Identifier to the purchase unit corresponding to this sale transaction
Deprecation: Use #getReferenceId instead
public getPurchaseUnitReferenceId ( ) : string
Résultat string

getTransactions() public méthode

Additional transactions for complex payment scenarios.
public getTransactions ( ) : self[]
Résultat self[]

setPurchaseUnitReferenceId() public méthode

Identifier to the purchase unit corresponding to this sale transaction
Deprecation: Use #setReferenceId instead
public setPurchaseUnitReferenceId ( string $purchase_unit_reference_id )
$purchase_unit_reference_id string

setTransactions() public méthode

Additional transactions for complex payment scenarios.
public setTransactions ( self $transactions )
$transactions self