com.paypal.base.rest
Class QueryParameters

java.lang.Object
  extended by com.paypal.base.rest.QueryParameters

public class QueryParameters
extends Object

QueryParameters holds query parameters used for retrieving PaymentHistory object.

Author:
kjayakumar

Constructor Summary
QueryParameters()
           
 
Method Summary
 Map<String,String> getContainerMap()
           
 void setCount(String count)
          Set the count
 void setEndTime(String endTime)
          Set the endTime
 void setPayeeId(String payeeId)
          Set the payeeId
 void setSortBy(String sortBy)
          Set the sortBy
 void setSortOrder(String sortOrder)
          Set the sortOrder
 void setStartId(String startId)
          Set the startId
 void setStartIndex(String startIndex)
          Set the startIndex
 void setStartTime(String startTime)
          Set the startTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryParameters

public QueryParameters()
Method Detail

getContainerMap

public Map<String,String> getContainerMap()
Returns:
the containerMap

setCount

public void setCount(String count)
Set the count

Parameters:
count - Number of items to return.

setStartId

public void setStartId(String startId)
Set the startId

Parameters:
startId - Resource ID that indicates the starting resource to return.

setStartIndex

public void setStartIndex(String startIndex)
Set the startIndex

Parameters:
startIndex - Start index of the resources to be returned. Typically used to jump to a specific position in the resource history based on its order.

setStartTime

public void setStartTime(String startTime)
Set the startTime

Parameters:
startTime - Resource creation time that indicates the start of a range of results.

setEndTime

public void setEndTime(String endTime)
Set the endTime

Parameters:
endTime - Resource creation time that indicates the end of a range of results.

setPayeeId

public void setPayeeId(String payeeId)
Set the payeeId

Parameters:
payeeId - PayeeId

setSortBy

public void setSortBy(String sortBy)
Set the sortBy

Parameters:
sortBy - Sort based on create_time or update_time.

setSortOrder

public void setSortOrder(String sortOrder)
Set the sortOrder

Parameters:
sortOrder - Sort based on order of results. Options include asc for ascending order or dec for descending order.


Copyright © 2015. All Rights Reserved.