PayPal\Api\PaymentSummary::getPaypal PHP Method

getPaypal() public method

Total Amount paid/refunded via PayPal.
public getPaypal ( ) : PayPal\Api\Currency
return PayPal\Api\Currency
    public function getPaypal()
    {
        return $this->paypal;
    }

Usage Example

 /**
  * @depends testSerializationDeserialization
  * @param PaymentSummary $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getPaypal(), CurrencyTest::getObject());
     $this->assertEquals($obj->getOther(), CurrencyTest::getObject());
 }