Interface MaestroTransactionRequest
- All Superinterfaces:
GiroCheckoutRequest
public interface MaestroTransactionRequest extends GiroCheckoutRequest
Initialisiert eine Maestro-Zahlung. Durch eine erfolgreiche Initialisierung
wird eine Referenznummer erstellt sowie ein Weiterleitungslink (redirect) an
den Händler übermittelt. Der übermittelte Link führt zum Bezahlformular. Der
Kunde muss an diese URL weitergeleitet werden. Dies kann durch einen
HTTP-Redirect-Header, eine HTML-Seite mit entsprechendem Meta-Tag oder
Javascript erfolgen.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
AUTH_TYPE
Reservierung des Betragsstatic java.lang.Integer
BEZAHLSEITE_FUER_MOBILE_BROWSER_OPTIMIERT_JA
Bezahlseite ist für mobile Endgeräte optimiertstatic java.lang.Integer
BEZAHLSEITE_FUER_MOBILE_BROWSER_OPTIMIERT_NEIN
Bezahlseite ist nicht für mobile Endgeräte optimiertstatic java.lang.String
SALE_TYPE
Verkauf wird sofort gebucht (default) -
Method Summary
Modifier and Type Method Description MaestroTransactionResponse
execute()
Initialisierung einer Zahlung mit der Maestro-Karte.
Beispiel:
MaestroTransactionRequest request = project .createMaestroTransactionRequest(merchantTxId, amount, currency, purpose, locale, mobile, urlRedirect, urlNotify);
MaestroTransactionResponse response = request.execute();
-
Field Details
-
SALE_TYPE
static final java.lang.String SALE_TYPEVerkauf wird sofort gebucht (default)- See Also:
- Constant Field Values
-
AUTH_TYPE
static final java.lang.String AUTH_TYPEReservierung des Betrags- See Also:
- Constant Field Values
-
BEZAHLSEITE_FUER_MOBILE_BROWSER_OPTIMIERT_NEIN
static final java.lang.Integer BEZAHLSEITE_FUER_MOBILE_BROWSER_OPTIMIERT_NEINBezahlseite ist nicht für mobile Endgeräte optimiert -
BEZAHLSEITE_FUER_MOBILE_BROWSER_OPTIMIERT_JA
static final java.lang.Integer BEZAHLSEITE_FUER_MOBILE_BROWSER_OPTIMIERT_JABezahlseite ist für mobile Endgeräte optimiert
-
-
Method Details
-
execute
Initialisierung einer Zahlung mit der Maestro-Karte.
Beispiel:
MaestroTransactionRequest request = project .createMaestroTransactionRequest(merchantTxId, amount, currency, purpose, locale, mobile, urlRedirect, urlNotify);
MaestroTransactionResponse response = request.execute();
- Returns:
MaestroTransactionResponse
- Throws:
GiroCheckoutException
GiroCheckoutProtocolException
-