public class TransactionReview extends PaymentsObject
authentication
Modifier | Constructor and Description |
---|---|
protected |
TransactionReview() |
protected |
TransactionReview(java.util.Map m) |
protected |
TransactionReview(PaymentsObject o) |
Modifier and Type | Method and Description |
---|---|
static TransactionReview |
create(Authentication auth,
java.util.Map map)
Creates an
TransactionReview object |
static TransactionReview |
create(java.util.Map map)
Creates an
TransactionReview object using the static properties PaymentsApi.PUBLIC_KEY and
PaymentsApi.PRIVATE_KEY as the default public and private API keys respectively. |
static TransactionReview |
create(java.lang.String publicKey,
java.lang.String privateKey,
java.util.Map map)
Deprecated.
As of release 1.1, replaced by
create(Authentication, Map) |
TransactionReview |
delete()
Deletes an
TransactionReview object. |
static TransactionReview |
find(Authentication auth,
java.lang.String id)
Retrieve a
TransactionReview object. |
static TransactionReview |
find(java.lang.String id)
Retrieve a
TransactionReview object using the static properties PaymentsApi.PUBLIC_KEY and
PaymentsApi.PRIVATE_KEY as the default public and private API keys respectively. |
static TransactionReview |
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<TransactionReview> |
list()
Retrieve
TransactionReview 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<TransactionReview> |
list(Authentication auth)
Retrieve
TransactionReview objects using the default criteria (max 20, offset 0, default sorting and no filtering). |
static ResourceList<TransactionReview> |
list(Authentication auth,
java.util.Map criteria)
Retrieve
TransactionReview objects using the specified criteria. |
static ResourceList<TransactionReview> |
list(java.util.Map criteria)
Retrieve
TransactionReview 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<TransactionReview> |
list(java.lang.String publicKey,
java.lang.String privateKey)
Deprecated.
As of release 1.1, replaced by
list(Authentication) |
static ResourceList<TransactionReview> |
list(java.lang.String publicKey,
java.lang.String privateKey,
java.util.Map criteria)
Deprecated.
As of release 1.1, replaced by
list(Authentication, Map) |
TransactionReview |
update()
Updates an
TransactionReview 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 TransactionReview()
protected TransactionReview(PaymentsObject o)
protected TransactionReview(java.util.Map m)
protected java.lang.String getObjectType()
getObjectType
in class PaymentsObject
public static TransactionReview create(java.util.Map map) throws ApiCommunicationException, AuthenticationException, InvalidRequestException, NotAllowedException, SystemException
TransactionReview
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:ApiCommunicationException
AuthenticationException
InvalidRequestException
NotAllowedException
SystemException
@Deprecated public static TransactionReview create(java.lang.String publicKey, java.lang.String privateKey, java.util.Map map) throws ApiCommunicationException, AuthenticationException, InvalidRequestException, NotAllowedException, SystemException
create(Authentication, Map)
TransactionReview
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:ApiCommunicationException
AuthenticationException
InvalidRequestException
NotAllowedException
SystemException
public static TransactionReview create(Authentication auth, java.util.Map map) throws ApiCommunicationException, AuthenticationException, InvalidRequestException, NotAllowedException, SystemException
TransactionReview
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: ApiCommunicationException
AuthenticationException
InvalidRequestException
NotAllowedException
SystemException
public TransactionReview delete() throws ApiCommunicationException, AuthenticationException, InvalidRequestException, ObjectNotFoundException, NotAllowedException, SystemException
TransactionReview
object.ApiCommunicationException
AuthenticationException
InvalidRequestException
ObjectNotFoundException
NotAllowedException
SystemException
public static ResourceList<TransactionReview> list() throws ApiCommunicationException, AuthenticationException, InvalidRequestException, NotAllowedException, SystemException
TransactionReview
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<TransactionReview> list(java.lang.String publicKey, java.lang.String privateKey) throws ApiCommunicationException, AuthenticationException, InvalidRequestException, NotAllowedException, SystemException
list(Authentication)
TransactionReview
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<TransactionReview> list(Authentication auth) throws ApiCommunicationException, AuthenticationException, InvalidRequestException, NotAllowedException, SystemException
TransactionReview
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<TransactionReview> list(java.util.Map criteria) throws ApiCommunicationException, AuthenticationException, InvalidRequestException, NotAllowedException, SystemException
TransactionReview
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:ApiCommunicationException
AuthenticationException
InvalidRequestException
NotAllowedException
SystemException
ResourceList
public static ResourceList<TransactionReview> list(java.lang.String publicKey, java.lang.String privateKey, java.util.Map criteria) throws ApiCommunicationException, AuthenticationException, InvalidRequestException, NotAllowedException, SystemException
list(Authentication, Map)
TransactionReview
objects using the specified criteria.criteria
- a map of parameters; valid keys and types are: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<TransactionReview> list(Authentication auth, java.util.Map criteria) throws ApiCommunicationException, AuthenticationException, InvalidRequestException, NotAllowedException, SystemException
TransactionReview
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: ApiCommunicationException
AuthenticationException
InvalidRequestException
NotAllowedException
SystemException
ResourceList
public static TransactionReview find(java.lang.String id) throws ApiCommunicationException, AuthenticationException, InvalidRequestException, ObjectNotFoundException, NotAllowedException, SystemException
TransactionReview
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 TransactionReview object to retrieveApiCommunicationException
AuthenticationException
InvalidRequestException
ObjectNotFoundException
NotAllowedException
SystemException
@Deprecated public static TransactionReview find(java.lang.String publicKey, java.lang.String privateKey, java.lang.String id) throws ApiCommunicationException, AuthenticationException, InvalidRequestException, ObjectNotFoundException, NotAllowedException, SystemException
find(Authentication, String)
TransactionReview
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 TransactionReview
object to retrieveApiCommunicationException
AuthenticationException
InvalidRequestException
ObjectNotFoundException
NotAllowedException
SystemException
public static TransactionReview find(Authentication auth, java.lang.String id) throws ApiCommunicationException, AuthenticationException, InvalidRequestException, ObjectNotFoundException, NotAllowedException, SystemException
TransactionReview
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 TransactionReview
object to retrieveApiCommunicationException
AuthenticationException
InvalidRequestException
ObjectNotFoundException
NotAllowedException
SystemException
public TransactionReview update() throws ApiCommunicationException, AuthenticationException, InvalidRequestException, ObjectNotFoundException, NotAllowedException, SystemException
TransactionReview
object.
The properties that can be updated:
ApiCommunicationException
AuthenticationException
InvalidRequestException
ObjectNotFoundException
NotAllowedException
SystemException