com.paypal.api.payments
Class Credit

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

public class Credit
extends Object


Constructor Summary
Credit()
          Default Constructor
Credit(String type)
          Parameterized Constructor
 
Method Summary
 String getId()
          Getter for id
 String getTerms()
          Getter for terms
 String getType()
          Getter for type
 Credit setId(String id)
          Setter for id
 Credit setTerms(String terms)
          Setter for terms
 Credit setType(String type)
          Setter for type
 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

Credit

public Credit()
Default Constructor


Credit

public Credit(String type)
Parameterized Constructor

Method Detail

setId

public Credit setId(String id)
Setter for id


getId

public String getId()
Getter for id


setType

public Credit setType(String type)
Setter for type


getType

public String getType()
Getter for type


setTerms

public Credit setTerms(String terms)
Setter for terms


getTerms

public String getTerms()
Getter for terms


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.