com.paypal.api.payments
Class ShippingCost

java.lang.Object
  extended by com.paypal.api.payments.ShippingCost

public class ShippingCost
extends Object


Constructor Summary
ShippingCost()
          Default Constructor
 
Method Summary
 Currency getAmount()
          Getter for amount
 Tax getTax()
          Getter for tax
 ShippingCost setAmount(Currency amount)
          Setter for amount
 ShippingCost setTax(Tax tax)
          Setter for tax
 String toJSON()
          Returns a JSON string corresponding to object state
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShippingCost

public ShippingCost()
Default Constructor

Method Detail

setAmount

public ShippingCost setAmount(Currency amount)
Setter for amount


getAmount

public Currency getAmount()
Getter for amount


setTax

public ShippingCost setTax(Tax tax)
Setter for tax


getTax

public Tax getTax()
Getter for tax


toJSON

public String toJSON()
Returns a JSON string corresponding to object state

Returns:
JSON representation

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015. All Rights Reserved.