PaymentSDK
Mobile payment SDK
de.wirecard.paymentsdk.models.Notification Class Reference

ElasticEngine has a built-in notification capability. The Merchant simply sends the notifications instructions as part of each transaction request. Notifications need to be specified as a URL. There are two types of notifications: HTTP(S) (Web Server POST) SMTP (Email with URL scheme 'mailto') It is possible to setup conditional notifications based on the state of transaction. For example, a Merchant can instruct a notification to only occur on. More...

+ Inheritance diagram for de.wirecard.paymentsdk.models.Notification:
+ Collaboration diagram for de.wirecard.paymentsdk.models.Notification:

Public Instance Methods

 Notification (WirecardTransactionState transactionState, String url)
 Constructor. More...
 
 Notification ()
 Constructor. More...
 
WirecardTransactionState getTransactionState ()
 Returns the Transaction State, for which the Instant Payment Notification will be sent. More...
 
void setTransactionState (WirecardTransactionState transactionState)
 Sets the Transaction State, for which the Instant Payment Notification will be sent. More...
 
String getUrl ()
 Returns the URL to be used for the Instant Payment Notification. More...
 
void setUrl (String url)
 Sets the URL to be used for the Instant Payment Notification. More...
 

Private Fields

WirecardTransactionState transactionState
 The Transaction State, for which the Instant Payment Notification will be sent. More...
 
String url
 The URL to be used for the Instant Payment Notification. More...
 

Detailed Description

ElasticEngine has a built-in notification capability. The Merchant simply sends the notifications instructions as part of each transaction request. Notifications need to be specified as a URL. There are two types of notifications: HTTP(S) (Web Server POST) SMTP (Email with URL scheme 'mailto') It is possible to setup conditional notifications based on the state of transaction. For example, a Merchant can instruct a notification to only occur on.

See also
WirecardTransactionState::FAILED or
WirecardTransactionState::SUCCESS transactions.

Constructor & Destructor Documentation

de.wirecard.paymentsdk.models.Notification.Notification ( WirecardTransactionState  transactionState,
String  url 
)
inline

Constructor.

Parameters
transactionStateThe Transaction State, for which the Instant Payment Notification will be sent.
urlThe URL to be used for the Instant Payment Notification.
de.wirecard.paymentsdk.models.Notification.Notification ( )
inline

Constructor.

Method Documentation

WirecardTransactionState de.wirecard.paymentsdk.models.Notification.getTransactionState ( )
inline

Returns the Transaction State, for which the Instant Payment Notification will be sent.

Returns
transactionState
String de.wirecard.paymentsdk.models.Notification.getUrl ( )
inline

Returns the URL to be used for the Instant Payment Notification.

Returns
url
void de.wirecard.paymentsdk.models.Notification.setTransactionState ( WirecardTransactionState  transactionState)
inline

Sets the Transaction State, for which the Instant Payment Notification will be sent.

Parameters
transactionState
void de.wirecard.paymentsdk.models.Notification.setUrl ( String  url)
inline

Sets the URL to be used for the Instant Payment Notification.

Parameters
url

Member Data Documentation

WirecardTransactionState de.wirecard.paymentsdk.models.Notification.transactionState
private

The Transaction State, for which the Instant Payment Notification will be sent.

String de.wirecard.paymentsdk.models.Notification.url
private

The URL to be used for the Instant Payment Notification.