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.
/** * @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"); }
/** * @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"); $this->assertEquals($obj->getAmount(), CurrencyTest::getObject()); }