public static class Event.Details
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Event.Details.Origin |
static class |
Event.Details.Scheme |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCause()
What triggered the event.
|
java.lang.String |
getDescription()
Human readable description of the cause.
|
Event.Details.Origin |
getOrigin()
Who initiated the event.
|
java.lang.String |
getReasonCode()
Set when a
bank is the origin of the event. |
Event.Details.Scheme |
getScheme()
A Direct Debit scheme.
|
public java.lang.String getCause()
What triggered the event. Note: cause
is our simplified and predictable key indicating what triggered the event.
public java.lang.String getDescription()
Human readable description of the cause. Note: Changes to event descriptions are not considered breaking.
public Event.Details.Origin getOrigin()
Who initiated the event. One of:
bank
: this event was triggered by a report from the banksgocardless
: this event was performed by GoCardless automaticallyapi
: this event was triggered by an API endpointcustomer
: this event was triggered by a Customerpublic java.lang.String getReasonCode()
Set when a bank
is the origin of the event. This is the reason code received in the report from the customer’s bank. See the GoCardless Direct Debit guide for information on the meanings of different reason codes. Note: reason_code
is payment scheme-specific and can be inconsistent between banks.
public Event.Details.Scheme getScheme()
A Direct Debit scheme. Set when a bank is the origin of the event.