PayPal\Api\RefundDetail::getAmount PHP 메소드

getAmount() 공개 메소드

Amount to be recorded as refund against invoice. If this field is not passed, the total invoice paid amount is recorded as refund.
public getAmount ( ) : PayPal\Api\Currency
리턴 PayPal\Api\Currency
    public function getAmount()
    {
        return $this->amount;
    }

Usage Example

예제 #1
0
 /**
  * @depends testSerializationDeserialization
  * @param RefundDetail $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getType(), "TestSample");
     $this->assertEquals($obj->getDate(), "TestSample");
     $this->assertEquals($obj->getNote(), "TestSample");
     $this->assertEquals($obj->getAmount(), CurrencyTest::getObject());
 }