public class FraudCheck extends PaymentsObject
authentication
Modifier | Constructor and Description |
---|---|
protected |
FraudCheck() |
protected |
FraudCheck(java.util.Map m) |
protected |
FraudCheck(PaymentsObject o) |
Modifier and Type | Method and Description |
---|---|
static FraudCheck |
create(Authentication auth,
java.util.Map map)
Creates an
FraudCheck object |
static FraudCheck |
create(java.util.Map map)
Creates an
FraudCheck object using the static properties PaymentsApi.PUBLIC_KEY and
PaymentsApi.PRIVATE_KEY as the default public and private API keys respectively. |
static FraudCheck |
create(java.lang.String publicKey,
java.lang.String privateKey,
java.util.Map map)
Deprecated.
As of release 1.1, replaced by
create(Authentication, Map) |
static FraudCheck |
find(Authentication auth,
java.lang.String id)
Retrieve a
FraudCheck object. |
static FraudCheck |
find(java.lang.String id)
Retrieve a
FraudCheck object using the static properties PaymentsApi.PUBLIC_KEY and
PaymentsApi.PRIVATE_KEY as the default public and private API keys respectively. |
static FraudCheck |
find(java.lang.String publicKey,
java.lang.String privateKey,
java.lang.String id)
Deprecated.
As of release 1.1, replaced by
find(Authentication, String) |
protected java.lang.String |
getObjectType() |
static ResourceList<FraudCheck> |
list()
Retrieve
FraudCheck objects using the static properties PaymentsApi.PUBLIC_KEY and
PaymentsApi.PRIVATE_KEY as the default public and private API keys respectively and the default
criteria (max 20, offset 0, default sorting and no filtering). |
static ResourceList<FraudCheck> |
list(Authentication auth)
Retrieve
FraudCheck objects using the default criteria (max 20, offset 0, default sorting and no filtering). |
static ResourceList<FraudCheck> |
list(Authentication auth,
java.util.Map criteria)
Retrieve
FraudCheck objects using the specified criteria. |
static ResourceList<FraudCheck> |
list(java.util.Map criteria)
Retrieve
FraudCheck objects using the specified criteria and using the static properties
PaymentsApi.PUBLIC_KEY and PaymentsApi.PRIVATE_KEY as the default public and private
API keys respectively. |
static ResourceList<FraudCheck> |
list(java.lang.String publicKey,
java.lang.String privateKey)
Deprecated.
As of release 1.1, replaced by
list(Authentication) |
static ResourceList<FraudCheck> |
list(java.lang.String publicKey,
java.lang.String privateKey,
java.util.Map criteria)
Deprecated.
As of release 1.1, replaced by
list(Authentication, Map) |
FraudCheck |
update()
Updates an
FraudCheck object. |
createObject, deleteObject, findObject, getAuthentication, listObjects, listObjects, updateObject
containsKey, get, normalize, put, remove, set
clear, containsValue, entrySet, forEach, getOrDefault, keySet, removeEldestEntry, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, isEmpty, merge, putAll, putIfAbsent, remove, replace, replace, size
protected FraudCheck()
protected FraudCheck(PaymentsObject o)
protected FraudCheck(java.util.Map m)
protected java.lang.String getObjectType()
getObjectType
in class PaymentsObject
public static FraudCheck create(java.util.Map map) throws ApiCommunicationException, AuthenticationException, InvalidRequestException, NotAllowedException, SystemException
FraudCheck
object using the static properties PaymentsApi.PUBLIC_KEY
and
PaymentsApi.PRIVATE_KEY
as the default public and private API keys respectively.map
- a map of parameters, valid keys and types:java.lang.Long amount
payments.command.api.APICardCommand card
java.lang.String card.addressCity
java.lang.String card.addressCountry
java.lang.String card.addressLine1
java.lang.String card.addressLine2
java.lang.String card.addressState
java.lang.String card.addressZip
java.lang.String card.cvc
java.lang.Integer card.expMonth
java.lang.Integer card.expYear
java.lang.String card.name
java.lang.String card.number
java.lang.String currency
java.lang.String description
java.lang.String ipAddress
java.lang.String mode
java.lang.String sessionId
java.lang.String token
ApiCommunicationException
AuthenticationException
InvalidRequestException
NotAllowedException
SystemException
@Deprecated public static FraudCheck create(java.lang.String publicKey, java.lang.String privateKey, java.util.Map map) throws ApiCommunicationException, AuthenticationException, InvalidRequestException, NotAllowedException, SystemException
create(Authentication, Map)
FraudCheck
objectpublicKey
- Public API key. If null, the value of static PaymentsApi.PUBLIC_KEY
will be usedprivateKey
- Private API key. If null, the value of static PaymentsApi.PRIVATE_KEY
will be usedmap
- a map of parameters, valid keys and types:java.lang.Long amount
payments.command.api.APICardCommand card
java.lang.String card.addressCity
java.lang.String card.addressCountry
java.lang.String card.addressLine1
java.lang.String card.addressLine2
java.lang.String card.addressState
java.lang.String card.addressZip
java.lang.String card.cvc
java.lang.Integer card.expMonth
java.lang.Integer card.expYear
java.lang.String card.name
java.lang.String card.number
java.lang.String currency
java.lang.String description
java.lang.String ipAddress
java.lang.String mode
java.lang.String sessionId
java.lang.String token
ApiCommunicationException
AuthenticationException
InvalidRequestException
NotAllowedException
SystemException
public static FraudCheck create(Authentication auth, java.util.Map map) throws ApiCommunicationException, AuthenticationException, InvalidRequestException, NotAllowedException, SystemException
FraudCheck
objectauth
- Authentication object representing overrides for PaymentsApi.PRIVATE_KEY
and PaymentsApi.PUBLIC_KEY
and/or passing an access token in for operations using OAuth.privateKey
- Private API key. If null, the value of static PaymentsApi.PRIVATE_KEY
will be usedmap
- a map of parameters, valid keys and types: java.lang.Long amount
payments.command.api.APICardCommand card
java.lang.String card.addressCity
java.lang.String card.addressCountry
java.lang.String card.addressLine1
java.lang.String card.addressLine2
java.lang.String card.addressState
java.lang.String card.addressZip
java.lang.String card.cvc
java.lang.Integer card.expMonth
java.lang.Integer card.expYear
java.lang.String card.name
java.lang.String card.number
java.lang.String currency
java.lang.String description
java.lang.String ipAddress
java.lang.String mode
java.lang.String sessionId
java.lang.String token
ApiCommunicationException
AuthenticationException
InvalidRequestException
NotAllowedException
SystemException
public static ResourceList<FraudCheck> list() throws ApiCommunicationException, AuthenticationException, InvalidRequestException, NotAllowedException, SystemException
FraudCheck
objects using the static properties PaymentsApi.PUBLIC_KEY
and
PaymentsApi.PRIVATE_KEY
as the default public and private API keys respectively and the default
criteria (max 20, offset 0, default sorting and no filtering).ApiCommunicationException
AuthenticationException
InvalidRequestException
NotAllowedException
SystemException
ResourceList
@Deprecated public static ResourceList<FraudCheck> list(java.lang.String publicKey, java.lang.String privateKey) throws ApiCommunicationException, AuthenticationException, InvalidRequestException, NotAllowedException, SystemException
list(Authentication)
FraudCheck
objects using the default criteria (max 20, offset 0, default sorting and no filtering).publicKey
- Public API key. If null, the value of static PaymentsApi.PUBLIC_KEY
will be usedprivateKey
- Private API key. If null, the value of static PaymentsApi.PRIVATE_KEY
will be usedApiCommunicationException
AuthenticationException
InvalidRequestException
NotAllowedException
SystemException
ResourceList
public static ResourceList<FraudCheck> list(Authentication auth) throws ApiCommunicationException, AuthenticationException, InvalidRequestException, NotAllowedException, SystemException
FraudCheck
objects using the default criteria (max 20, offset 0, default sorting and no filtering).auth
- Authentication object representing overrides for PaymentsApi.PRIVATE_KEY
and PaymentsApi.PUBLIC_KEY
and/or passing an access token in for operations using OAuth.ApiCommunicationException
AuthenticationException
InvalidRequestException
NotAllowedException
SystemException
ResourceList
public static ResourceList<FraudCheck> list(java.util.Map criteria) throws ApiCommunicationException, AuthenticationException, InvalidRequestException, NotAllowedException, SystemException
FraudCheck
objects using the specified criteria and using the static properties
PaymentsApi.PUBLIC_KEY
and PaymentsApi.PRIVATE_KEY
as the default public and private
API keys respectively.criteria
- a map of parameters; valid keys and types are:java.util.Map filter
java.lang.Integer max
java.lang.Integer offset
java.util.Map sorting
asc
for ascending or desc
for descending). Sortable properties are: amount
dateCreated
fraudResult
.ApiCommunicationException
AuthenticationException
InvalidRequestException
NotAllowedException
SystemException
ResourceList
public static ResourceList<FraudCheck> list(java.lang.String publicKey, java.lang.String privateKey, java.util.Map criteria) throws ApiCommunicationException, AuthenticationException, InvalidRequestException, NotAllowedException, SystemException
list(Authentication, Map)
FraudCheck
objects using the specified criteria.criteria
- a map of parameters; valid keys and types are:java.util.Map filter
java.lang.Integer max
java.lang.Integer offset
java.util.Map sorting
asc
for ascending or desc
for descending). Sortable properties are: amount
dateCreated
fraudResult
.publicKey
- Public API key. If null, the value of static PaymentsApi.PUBLIC_KEY
will be usedprivateKey
- Private API key. If null, the value of static PaymentsApi.PRIVATE_KEY
will be usedApiCommunicationException
AuthenticationException
InvalidRequestException
NotAllowedException
SystemException
ResourceList
public static ResourceList<FraudCheck> list(Authentication auth, java.util.Map criteria) throws ApiCommunicationException, AuthenticationException, InvalidRequestException, NotAllowedException, SystemException
FraudCheck
objects using the specified criteria.auth
- Authentication object representing overrides for PaymentsApi.PRIVATE_KEY
and PaymentsApi.PUBLIC_KEY
and/or passing an access token in for operations using OAuth.criteria
- a map of parameters; valid keys and types are: java.util.Map filter
java.lang.Integer max
java.lang.Integer offset
java.util.Map sorting
asc
for ascending or desc
for descending). Sortable properties are: amount
dateCreated
fraudResult
.ApiCommunicationException
AuthenticationException
InvalidRequestException
NotAllowedException
SystemException
ResourceList
public static FraudCheck find(java.lang.String id) throws ApiCommunicationException, AuthenticationException, InvalidRequestException, ObjectNotFoundException, NotAllowedException, SystemException
FraudCheck
object using the static properties PaymentsApi.PUBLIC_KEY
and
PaymentsApi.PRIVATE_KEY
as the default public and private API keys respectively.id
- the id of the FraudCheck object to retrieveApiCommunicationException
AuthenticationException
InvalidRequestException
ObjectNotFoundException
NotAllowedException
SystemException
@Deprecated public static FraudCheck find(java.lang.String publicKey, java.lang.String privateKey, java.lang.String id) throws ApiCommunicationException, AuthenticationException, InvalidRequestException, ObjectNotFoundException, NotAllowedException, SystemException
find(Authentication, String)
FraudCheck
object.publicKey
- Public API key. If null, the value of static PaymentsApi.PUBLIC_KEY
will be usedprivateKey
- Private API key. If null, the value of static PaymentsApi.PRIVATE_KEY
will be usedid
- the id of the FraudCheck
object to retrieveApiCommunicationException
AuthenticationException
InvalidRequestException
ObjectNotFoundException
NotAllowedException
SystemException
public static FraudCheck find(Authentication auth, java.lang.String id) throws ApiCommunicationException, AuthenticationException, InvalidRequestException, ObjectNotFoundException, NotAllowedException, SystemException
FraudCheck
object.auth
- Authentication object representing overrides for PaymentsApi.PRIVATE_KEY
and PaymentsApi.PUBLIC_KEY
and/or passing an access token in for operations using OAuth.id
- the id of the FraudCheck
object to retrieveApiCommunicationException
AuthenticationException
InvalidRequestException
ObjectNotFoundException
NotAllowedException
SystemException
public FraudCheck update() throws ApiCommunicationException, AuthenticationException, InvalidRequestException, ObjectNotFoundException, NotAllowedException, SystemException
FraudCheck
object.
The properties that can be updated:
ApiCommunicationException
AuthenticationException
InvalidRequestException
ObjectNotFoundException
NotAllowedException
SystemException