PayPal\Api\PaymentDetail::getTransactionType PHP Method

getTransactionType() public method

Type of the transaction.
public getTransactionType ( ) : string
return string
    public function getTransactionType()
    {
        return $this->transaction_type;
    }

Usage Example

 /**
  * @depends testSerializationDeserialization
  * @param PaymentDetail $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getType(), "TestSample");
     $this->assertEquals($obj->getTransactionId(), "TestSample");
     $this->assertEquals($obj->getTransactionType(), "TestSample");
     $this->assertEquals($obj->getDate(), "TestSample");
     $this->assertEquals($obj->getMethod(), "TestSample");
     $this->assertEquals($obj->getNote(), "TestSample");
 }
All Usage Examples Of PayPal\Api\PaymentDetail::getTransactionType