PayPal\Api\RefundDetail::getTransactionId PHP Méthode

getTransactionId() public méthode

The PayPal refund transaction ID. Required with the PAYPAL refund type.
public getTransactionId ( ) : string
Résultat string
    public function getTransactionId()
    {
        return $this->transaction_id;
    }

Usage Example

 /**
  * @depends testSerializationDeserialization
  * @param RefundDetail $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getType(), "TestSample");
     $this->assertEquals($obj->getTransactionId(), "TestSample");
     $this->assertEquals($obj->getDate(), "TestSample");
     $this->assertEquals($obj->getNote(), "TestSample");
     $this->assertEquals($obj->getAmount(), CurrencyTest::getObject());
 }