The custom amount applied on an invoice. If you include a label, the amount cannot be empty.
Inheritance: extends PayPal\Common\PayPalModel
Esempio n. 1
0
 /**
  * @depends testSerializationDeserialization
  * @param CustomAmount $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getLabel(), "TestSample");
     $this->assertEquals($obj->getAmount(), CurrencyTest::getObject());
 }