Class CustomerAccounts
- java.lang.Object
-
- com.orbipay.paymentsapi.client.wrappers.Base
-
- com.orbipay.paymentsapi.client.wrappers.CustomerAccounts
-
public class CustomerAccounts extends Base
-
-
Constructor Summary
Constructors Constructor Description CustomerAccounts()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomerAccountsfindBy(MultiMap<java.lang.String> CustomerAccountsFilterMap)CustomerAccountsforClient(java.lang.String clientKey)CustomerAccountsforCustomer(java.lang.String ID_CUSTOMER)static CustomerAccountsfromJson(java.lang.String json)CustomerAccountsget(InvocationContext invocationContext, java.lang.String liveMode)CustomerAccountsget(InvocationContext invocationContext, java.lang.String liveMode, java.lang.String apiEndPoint)java.lang.StringgetAccountNumber()The Account Number to get details of.java.lang.StringgetFromIndex()The id of the object before which the previous set of objects are to be retrieved.java.lang.StringgetHasMoreResults()true if there are more results or pagesjava.lang.StringgetIDCUSTOMER()The unique identifier assigned by EBPP to the customer.java.util.List<CustomerAccount>getList()Get listCustomerAccountsgetPage(InvocationContext invocationContext, java.lang.String liveMode)CustomerAccountsgetPage(InvocationContext invocationContext, java.lang.String liveMode, java.lang.String apiEndPoint)java.lang.StringgetPageSize()The maximum number of objects returned in the query.java.lang.StringgetQueryId()The query id of the object.java.util.List<java.lang.String>getStatus()The status of the customer's account in EBPP.java.lang.StringgetToIndex()The id of the object after which the next set of objects are to be retrieved.java.lang.StringgetTotalResultsCount()total number of Customer accounts of customer available with matching criteriajava.lang.StringgetUrl()This URL fetches the next or previous set of customer accounts, based on the presence of after_object or before_object parameter.CustomerAccountsretrievedBy(java.lang.String requestor, java.lang.String requestorType)CustomerAccountssetList(java.util.List<CustomerAccount> list)java.lang.StringtoJson()CustomerAccountsvideChannel(java.lang.String channel)-
Methods inherited from class com.orbipay.paymentsapi.client.wrappers.Base
getApiEndPoint, getHttpStatusCode, getInvocationContext, getLiveMode, requestedBy, withContext
-
-
-
-
Method Detail
-
getList
public java.util.List<CustomerAccount> getList()
Get list- Returns:
- list
-
getTotalResultsCount
public java.lang.String getTotalResultsCount()
total number of Customer accounts of customer available with matching criteria- Returns:
- totalResultsCount
-
getHasMoreResults
public java.lang.String getHasMoreResults()
true if there are more results or pages- Returns:
- hasMoreResults
-
getUrl
public java.lang.String getUrl()
This URL fetches the next or previous set of customer accounts, based on the presence of after_object or before_object parameter.- Returns:
- url
-
getFromIndex
public java.lang.String getFromIndex()
The id of the object before which the previous set of objects are to be retrieved.- Returns:
- fromIndex
-
getToIndex
public java.lang.String getToIndex()
The id of the object after which the next set of objects are to be retrieved.- Returns:
- toIndex
-
getQueryId
public java.lang.String getQueryId()
The query id of the object.- Returns:
- queryId
-
getIDCUSTOMER
public java.lang.String getIDCUSTOMER()
The unique identifier assigned by EBPP to the customer.- Returns:
- ID_CUSTOMER
-
getPageSize
public java.lang.String getPageSize()
The maximum number of objects returned in the query.- Returns:
- pageSize
-
getAccountNumber
public java.lang.String getAccountNumber()
The Account Number to get details of.- Returns:
- accountNumber
-
getStatus
public java.util.List<java.lang.String> getStatus()
The status of the customer's account in EBPP. This can take multiple values in the format key=value1&key=value2....- Returns:
- status
-
forClient
public CustomerAccounts forClient(java.lang.String clientKey)
-
setList
public CustomerAccounts setList(java.util.List<CustomerAccount> list)
- Parameters:
list- : The list is of type List<CustomerAccount>.- Returns:
- CustomerAccounts: The Instance of CustomerAccounts.
-
videChannel
public CustomerAccounts videChannel(java.lang.String channel)
- Overrides:
videChannelin classBase- Parameters:
channel- : The channel is of type String.- Returns:
- CustomerAccounts: The Instance of CustomerAccounts.
-
findBy
public CustomerAccounts findBy(MultiMap<java.lang.String> CustomerAccountsFilterMap)
- Parameters:
CustomerAccountsFilterMap- : The CustomerAccountsFilterMap is of type com.orbipay.paymentsapi.client.MultiMap.- Returns:
- CustomerAccounts: The Instance of CustomerAccounts.
-
forCustomer
public CustomerAccounts forCustomer(java.lang.String ID_CUSTOMER)
- Parameters:
ID_CUSTOMER- : The ID_CUSTOMER is of type String.- Returns:
- CustomerAccounts: The Instance of CustomerAccounts.
-
retrievedBy
public CustomerAccounts retrievedBy(java.lang.String requestor, java.lang.String requestorType)
- Parameters:
requestor- : The requestor is of type String.requestorType- : The requestorType is of type String.- Returns:
- CustomerAccounts: The Instance of CustomerAccounts.
-
get
public CustomerAccounts get(InvocationContext invocationContext, java.lang.String liveMode) throws OrbipayApiException
- Parameters:
invocationContext- : The invocationContext is of type InvocationContext.liveMode- : The liveMode is of type String- Returns:
- CustomerAccounts: The Instance of CustomerAccounts.
- Throws:
OrbipayApiException- The only Exception that is thrown in Exceptional case
-
get
public CustomerAccounts get(InvocationContext invocationContext, java.lang.String liveMode, java.lang.String apiEndPoint) throws OrbipayApiException
- Parameters:
invocationContext- : The invocationContext is of type InvocationContext.liveMode- : The liveMode is of type StringapiEndPoint- : The apiEndPoint is of type String.- Returns:
- CustomerAccounts: The Instance of CustomerAccounts.
- Throws:
OrbipayApiException- The only Exception that is thrown in Exceptional case
-
getPage
public CustomerAccounts getPage(InvocationContext invocationContext, java.lang.String liveMode) throws OrbipayApiException
- Parameters:
invocationContext- : The invocationContext is of type InvocationContext.liveMode- : The liveMode is of type String- Returns:
- CustomerAccounts: The Instance of CustomerAccounts.
- Throws:
OrbipayApiException- The only Exception that is thrown in Exceptional case
-
getPage
public CustomerAccounts getPage(InvocationContext invocationContext, java.lang.String liveMode, java.lang.String apiEndPoint) throws OrbipayApiException
- Parameters:
invocationContext- : The invocationContext is of type InvocationContext.liveMode- : The liveMode is of type StringapiEndPoint- : The apiEndPoint is of type String.- Returns:
- CustomerAccounts: The Instance of CustomerAccounts.
- Throws:
OrbipayApiException- The only Exception that is thrown in Exceptional case
-
fromJson
public static CustomerAccounts fromJson(java.lang.String json) throws OrbipayApiException
- Throws:
OrbipayApiException
-
toJson
public java.lang.String toJson() throws OrbipayApiException- Throws:
OrbipayApiException
-
-