com.paypal.api.payments
Class CustomAmount

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

public class CustomAmount
extends Object


Constructor Summary
CustomAmount()
          Default Constructor
 
Method Summary
 Currency getAmount()
          Getter for amount
 String getLabel()
          Getter for label
 CustomAmount setAmount(Currency amount)
          Setter for amount
 CustomAmount setLabel(String label)
          Setter for label
 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

CustomAmount

public CustomAmount()
Default Constructor

Method Detail

setLabel

public CustomAmount setLabel(String label)
Setter for label


getLabel

public String getLabel()
Getter for label


setAmount

public CustomAmount setAmount(Currency amount)
Setter for amount


getAmount

public Currency getAmount()
Getter for amount


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.