PayPal\Api\ExternalFunding::getAmount PHP Method

getAmount() public method

Amount being funded by the external funding account
public getAmount ( ) : Amount
return Amount
    public function getAmount()
    {
        return $this->amount;
    }

Usage Example

Exemplo n.º 1
0
 /**
  * @depends testSerializationDeserialization
  * @param ExternalFunding $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getReferenceId(), "TestSample");
     $this->assertEquals($obj->getCode(), "TestSample");
     $this->assertEquals($obj->getFundingAccountId(), "TestSample");
     $this->assertEquals($obj->getDisplayText(), "TestSample");
     $this->assertEquals($obj->getAmount(), AmountTest::getObject());
 }