PayPalApiShippingCost

Class ShippingCost.

Defined (1)

The class is defined in the following location(s).

/classes/lib/PayPal/Api/ShippingCost.php  
  1. class ShippingCost extends PayPalModel 
  2. /** 
  3. * Shipping cost in amount. Range of 0 to 999999.99. 
  4. * @param \PayPal\Api\Currency $amount 
  5. *  
  6. * @return $this 
  7. */ 
  8. public function setAmount($amount) 
  9. $this->amount = $amount; 
  10. return $this; 
  11.  
  12. /** 
  13. * Shipping cost in amount. Range of 0 to 999999.99. 
  14. * @return \PayPal\Api\Currency 
  15. */ 
  16. public function getAmount() 
  17. return $this->amount; 
  18.  
  19. /** 
  20. * Tax percentage on shipping amount. 
  21. * @param \PayPal\Api\Tax $tax 
  22. *  
  23. * @return $this 
  24. */ 
  25. public function setTax($tax) 
  26. $this->tax = $tax; 
  27. return $this; 
  28.  
  29. /** 
  30. * Tax percentage on shipping amount. 
  31. * @return \PayPal\Api\Tax 
  32. */ 
  33. public function getTax() 
  34. return $this->tax; 
  35.