public class Event extends PaymentsObject
authentication
Constructor and Description |
---|
Event() |
Modifier and Type | Method and Description |
---|---|
static Event |
create(java.util.Map params) |
static Event |
create(java.lang.String publicKey,
java.lang.String privateKey,
java.util.Map params) |
protected java.lang.String |
getObjectType() |
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 java.lang.String getObjectType()
getObjectType
in class PaymentsObject
public static Event create(java.util.Map params) throws ApiCommunicationException, AuthenticationException, InvalidRequestException
params
- a map of parameters; valid keys and types are:paylod
url
CreateException
ObjectNotFoundException
com.simplify.payments.exception.InvalidArgumentException
ApiCommunicationException
AuthenticationException
InvalidRequestException
public static Event create(java.lang.String publicKey, java.lang.String privateKey, java.util.Map params) throws ApiCommunicationException, AuthenticationException, InvalidRequestException
params
- a map of parameters; valid keys and types are:paylod
url
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 usedCreateException
ObjectNotFoundException
com.simplify.payments.exception.InvalidArgumentException
ApiCommunicationException
AuthenticationException
InvalidRequestException