getAmount() публичный Метод

The amount to record as payment against invoice. If you omit this parameter, the total invoice amount is recorded as payment.
public getAmount ( ) : PayPal\Api\Currency
Результат PayPal\Api\Currency
Пример #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");
     $this->assertEquals($obj->getAmount(), CurrencyTest::getObject());
 }