PayPal\Api\PaymentDetail::getType PHP Method

getType() public method

The PayPal payment detail. Indicates whether payment was made in an invoicing flow through PayPal or externally. In the case of the mark-as-paid API, the supported payment type is EXTERNAL. For backward compatibility, the PAYPAL payment type is still supported.
public getType ( ) : string
return string
    public function getType()
    {
        return $this->type;
    }

Usage Example

コード例 #1
0
 /**
  * @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::getType