com.paypal.api.payments
Class OverrideChargeModel

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

public class OverrideChargeModel
extends Object


Constructor Summary
OverrideChargeModel()
          Default Constructor
OverrideChargeModel(String chargeId, Currency amount)
          Parameterized Constructor
 
Method Summary
 Currency getAmount()
          Getter for amount
 String getChargeId()
          Getter for chargeId
 OverrideChargeModel setAmount(Currency amount)
          Setter for amount
 OverrideChargeModel setChargeId(String chargeId)
          Setter for chargeId
 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

OverrideChargeModel

public OverrideChargeModel()
Default Constructor


OverrideChargeModel

public OverrideChargeModel(String chargeId,
                           Currency amount)
Parameterized Constructor

Method Detail

setChargeId

public OverrideChargeModel setChargeId(String chargeId)
Setter for chargeId


getChargeId

public String getChargeId()
Getter for chargeId


setAmount

public OverrideChargeModel 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.