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 CustomerAccounts
findBy(MultiMap<java.lang.String> CustomerAccountsFilterMap)
CustomerAccounts
forClient(java.lang.String clientKey)
CustomerAccounts
forCustomer(java.lang.String ID_CUSTOMER)
static CustomerAccounts
fromJson(java.lang.String json)
CustomerAccounts
get(InvocationContext invocationContext, java.lang.String liveMode)
CustomerAccounts
get(InvocationContext invocationContext, java.lang.String liveMode, java.lang.String apiEndPoint)
java.lang.String
getAccountNumber()
The Account Number to get details of.java.lang.String
getFromIndex()
The id of the object before which the previous set of objects are to be retrieved.java.lang.String
getHasMoreResults()
true if there are more results or pagesjava.lang.String
getIDCUSTOMER()
The unique identifier assigned by EBPP to the customer.java.util.List<CustomerAccount>
getList()
Get listCustomerAccounts
getPage(InvocationContext invocationContext, java.lang.String liveMode)
CustomerAccounts
getPage(InvocationContext invocationContext, java.lang.String liveMode, java.lang.String apiEndPoint)
java.lang.String
getPageSize()
The maximum number of objects returned in the query.java.lang.String
getQueryId()
The query id of the object.java.util.List<java.lang.String>
getStatus()
The status of the customer's account in EBPP.java.lang.String
getToIndex()
The id of the object after which the next set of objects are to be retrieved.java.lang.String
getTotalResultsCount()
total number of Customer accounts of customer available with matching criteriajava.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.CustomerAccounts
retrievedBy(java.lang.String requestor, java.lang.String requestorType)
CustomerAccounts
setList(java.util.List<CustomerAccount> list)
java.lang.String
toJson()
CustomerAccounts
videChannel(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:
videChannel
in 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
-
-