PayPal\Api\ShippingCost::getTax PHP Метод

getTax() публичный Метод

The tax percentage on the shipping amount.
public getTax ( ) : Tax
Результат Tax
    public function getTax()
    {
        return $this->tax;
    }

Usage Example

Пример #1
0
 /**
  * @depends testSerializationDeserialization
  * @param ShippingCost $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getAmount(), CurrencyTest::getObject());
     $this->assertEquals($obj->getTax(), TaxTest::getObject());
 }