\Simplify_Event

Base class for all domain objects.

Summary

Methods
Properties
Constants
createEvent()
setAll()
getProperties()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$properties
N/A

Properties

$properties

$properties

Methods

createEvent()

createEvent(array $hash, mixed $authentication) : \Payments_Event

Creates an Event object

Parameters

array $hash

A map of parameters; valid keys are:

paylod
The raw JWS payload.
required
url
The URL for the webhook. If present it must match the URL registered for the webhook.

mixed $authentication

Object that contains the API public and private keys. If null the values of the static Simplify::$publicKey and Simplify::$privateKey will be used.

Throws

\InvalidArgumentException

Returns

\Payments_Event —

an Event object.

setAll()

setAll(mixed $hash)

Updates the object's properties with the values in the specified map.

Parameters

mixed $hash

array Map of values to set.

getProperties()

getProperties() : array

Returns the object's properties as a map.

Returns

array —

map of properties.