Class Customer
java.lang.Object
in.juspay.model.JuspayEntity
in.juspay.model.Customer
-
Nested Class Summary
Nested classes/interfaces inherited from class in.juspay.model.JuspayEntity
JuspayEntity.AuthMethod, JuspayEntity.RequestMethod -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Customerstatic Customercreate(Map<String, Object> params, RequestOptions requestOptions) static Customerstatic Customerget(String id, RequestOptions requestOptions) getId()static Customerstatic CustomergetWithClientAuthToken(String id, RequestOptions requestOptions) static CustomerListstatic CustomerListlist(Map<String, Object> params, RequestOptions requestOptions) voidsetDateCreated(Date dateCreated) voidsetEmailAddress(String emailAddress) voidsetFirstName(String firstName) voidvoidsetJuspayOptions(JuspayOptions juspayOptions) voidsetLastName(String lastName) voidsetLastUpdated(Date lastUpdated) voidsetMobileCountryCode(String mobileCountryCode) voidsetMobileNumber(String mobileNumber) voidvoidsetObjectReferenceId(String objectReferenceId) static Customerstatic CustomerMethods inherited from class in.juspay.model.JuspayEntity
addInputParamsToResponse, createEntityFromResponse, decryptResponse, encryptRequest, getEncryptionMethodBasedOnConfig, makeServiceCall, makeServiceCall, makeServiceCallWithAuthDecider
-
Constructor Details
-
Customer
public Customer()
-
-
Method Details
-
create
public static Customer create(Map<String, Object> params) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
create
public static Customer create(Map<String, Object> params, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
update
public static Customer update(String id, Map<String, Object> params) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
update
public static Customer update(String id, Map<String, Object> params, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
list
public static CustomerList list(Map<String, Object> params) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
list
public static CustomerList list(Map<String, Object> params, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
get
-
getWithClientAuthToken
public static Customer getWithClientAuthToken(String id) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
getWithClientAuthToken
public static Customer getWithClientAuthToken(String id, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
get
public static Customer get(String id, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
getId
-
setId
-
getObject
-
setObject
-
getFirstName
-
setFirstName
-
getLastName
-
setLastName
-
getMobileCountryCode
-
setMobileCountryCode
-
getMobileNumber
-
setMobileNumber
-
getEmailAddress
-
setEmailAddress
-
getDateCreated
-
setDateCreated
-
getLastUpdated
-
setLastUpdated
-
getObjectReferenceId
-
setObjectReferenceId
-
getJuspayOptions
-
setJuspayOptions
-