The custom amount applied on an invoice. If you include a label, the amount cannot be empty.
Наследование: extends PayPal\Common\PayPalModel
Пример #1
0
 /**
  * @depends testSerializationDeserialization
  * @param CustomAmount $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getLabel(), "TestSample");
     $this->assertEquals($obj->getAmount(), CurrencyTest::getObject());
 }