CustomNotification class abstract
CustomNotification
Properties:
- amount - The amount of the payment that the notification is about. Set the value in minor units.
- eventCode - The event that caused the notification to be sent.Currently supported values: * AUTHORISATION * CANCELLATION * REFUND * CAPTURE * REPORT_AVAILABLE * CHARGEBACK * REQUEST_FOR_INFORMATION * NOTIFICATION_OF_CHARGEBACK * NOTIFICATIONTEST * ORDER_OPENED * ORDER_CLOSED * CHARGEBACK_REVERSED * REFUNDED_REVERSED * REFUND_WITH_DATA
- eventDate - The time of the event. Format: ISO 8601, YYYY-MM-DDThh:mm:ssTZD.
- merchantReference - Your reference for the custom test notification.
- paymentMethod - The payment method for the payment that the notification is about. Possible values: * amex * visa * mc * maestro * bcmc * paypal * sms * bankTransfer_NL * bankTransfer_DE * bankTransfer_BE * ideal * elv * sepadirectdebit
- reason - A description of what caused the notification.
- success - The outcome of the event which the notification is about. Set to either true or false.
- Annotations
-
- @BuiltValue.new()
Constructors
- CustomNotification([void updates(CustomNotificationBuilder b)])
-
factory
Properties
- amount → Amount?
-
The amount of the payment that the notification is about. Set the value in minor units.
no setter
- eventCode → String?
-
The event that caused the notification to be sent.Currently supported values: * AUTHORISATION * CANCELLATION * REFUND * CAPTURE * REPORT_AVAILABLE * CHARGEBACK * REQUEST_FOR_INFORMATION * NOTIFICATION_OF_CHARGEBACK * NOTIFICATIONTEST * ORDER_OPENED * ORDER_CLOSED * CHARGEBACK_REVERSED * REFUNDED_REVERSED * REFUND_WITH_DATA
no setter
- eventDate → DateTime?
-
The time of the event. Format: ISO 8601, YYYY-MM-DDThh:mm:ssTZD.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- merchantReference → String?
-
Your reference for the custom test notification.
no setter
- paymentMethod → String?
-
The payment method for the payment that the notification is about. Possible values: * amex * visa * mc * maestro * bcmc * paypal * sms * bankTransfer_NL * bankTransfer_DE * bankTransfer_BE * ideal * elv * sepadirectdebit
no setter
- reason → String?
-
A description of what caused the notification.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- success → bool?
-
The outcome of the event which the notification is about. Set to either true or false.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(CustomNotificationBuilder)) → CustomNotification -
Rebuilds the instance.
inherited
-
toBuilder(
) → CustomNotificationBuilder -
Converts the instance to a builder
B.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
CustomNotification> -
no setter