The amount of the payment
The recipient's email address. This is the email address at the time the payment was sent. If the email address has changed, this will be the old email address.
The ID of the payment. This can be used to retrieve a payment.
An optional free text field containing user supplied information about the payment. This field has a maximum length of 140 characters.
If the payment was sent from a payment cycle, then this is the ID of the payment cycle entry. Otherwise, it will be null.
If the payment was sent from a payment cycle, then this is the ID of the payment cycle. Otherwise, it will be null.
The raw ContactInfo object that was returned from the API
The status of the payment. Refer to the API documentation for a list of possible statuses.
Protected
executeReturns the payment cycle that this payment was sent from. If the payment was not sent from a payment cycle, then this will be null.
Returns the payment cycle entry that this payment was sent from. If the payment was not sent from a payment cycle, then this will be null.
Protected
getProtected
throwProtected
throwA helper function that will either return the variable's value or throw an exception if the value is null or undefined. Unit testing is simplified by avoiding ??
The name of the variable being checked
The value of the variable being checked
The value of the variable if it is available, otherwise an exception is thrown.
All classes in the resource folder should implement this interface so that they can be instantiated in the main barrel.