Class CreditCardTransactionRequest

Namespace
GiroSolution.GiroCheckout.Request
Assembly
GiroCheckout.dll

Initialisiert eine Kreditkartenzahlung. 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.

public class CreditCardTransactionRequest : GiroCheckoutRequest
Inheritance
CreditCardTransactionRequest
Inherited Members

Constructors

CreditCardTransactionRequest(Project, string, int, string, string, string, string, int?, string, int?, string, string, string, string, string, string, string, string)

public CreditCardTransactionRequest(Project project, string merchantTxId, int amount, string currency, string purpose, string type, string locale, int? mobile, string pkn, int? recurring, string urlRedirect, string urlNotify, string tds2Address, string tds2Postcode, string tds2City, string tds2Country, string tds2Optional, string kassenzeichen)

Parameters

project Project
merchantTxId string
amount int
currency string
purpose string
type string
locale string
mobile int?
pkn string
recurring int?
urlRedirect string
urlNotify string
tds2Address string
tds2Postcode string
tds2City string
tds2Country string
tds2Optional string
kassenzeichen string

Fields

AMOUNT_REQ

protected const string AMOUNT_REQ = "amount"

Field Value

string

AUTH_TYPE

Reservierung des Betrags

public const string AUTH_TYPE = "AUTH"

Field Value

string

BEZAHLSEITE_FUER_MOBILE_BROWSER_OPTIMIERT_JA

Bezahlseite ist für mobile Endgeräte optimiert

public const int BEZAHLSEITE_FUER_MOBILE_BROWSER_OPTIMIERT_JA = 1

Field Value

int

BEZAHLSEITE_FUER_MOBILE_BROWSER_OPTIMIERT_NEIN

Bezahlseite ist nicht für mobile Endgeräte optimiert

public const int BEZAHLSEITE_FUER_MOBILE_BROWSER_OPTIMIERT_NEIN = 0

Field Value

int

CURRENCY_REQ

protected const string CURRENCY_REQ = "currency"

Field Value

string

KASSENZEICHEN_REQ

protected const string KASSENZEICHEN_REQ = "kassenzeichen"

Field Value

string

LOCALE_REQ

protected const string LOCALE_REQ = "locale"

Field Value

string

MERCHANT_TX_ID_REQ

protected const string MERCHANT_TX_ID_REQ = "merchantTxId"

Field Value

string

MOBILE_REQ

protected const string MOBILE_REQ = "mobile"

Field Value

string

PKN_REQ

protected const string PKN_REQ = "pkn"

Field Value

string

PURPOSE_REQ

protected const string PURPOSE_REQ = "purpose"

Field Value

string

RECURRING_REQ

protected const string RECURRING_REQ = "recurring"

Field Value

string

REDIRECT_RES

protected const string REDIRECT_RES = "redirect"

Field Value

string

REFERENCE_RES

protected const string REFERENCE_RES = "reference"

Field Value

string

SALE_TYPE

Verkauf wird sofort gebucht (default)

public const string SALE_TYPE = "SALE"

Field Value

string

TDS2_ADDRESS

protected const string TDS2_ADDRESS = "tds2Address"

Field Value

string

TDS2_CITY

protected const string TDS2_CITY = "tds2City"

Field Value

string

TDS2_COUNTRY

protected const string TDS2_COUNTRY = "tds2Country"

Field Value

string

TDS2_OPTIONAL

protected const string TDS2_OPTIONAL = "tds2Optional"

Field Value

string

TDS2_POSTCODE

protected const string TDS2_POSTCODE = "tds2Postcode"

Field Value

string

TYPE_REQ

protected const string TYPE_REQ = "type"

Field Value

string

URL_NOTIFY_REQ

protected const string URL_NOTIFY_REQ = "urlNotify"

Field Value

string

URL_REDIRECT_REQ

protected const string URL_REDIRECT_REQ = "urlRedirect"

Field Value

string

WIEDERKEHRENDE_ZAHLUNG_JA

Wiederkehrende Zahlung

public const int WIEDERKEHRENDE_ZAHLUNG_JA = 1

Field Value

int

WIEDERKEHRENDE_ZAHLUNG_NEIN

Keine wiederkehrende Zahlung

public const int WIEDERKEHRENDE_ZAHLUNG_NEIN = 0

Field Value

int

amount

protected int amount

Field Value

int

currency

protected string currency

Field Value

string

kassenzeichen

protected string kassenzeichen

Field Value

string

locale

protected string locale

Field Value

string

merchantTxId

protected string merchantTxId

Field Value

string

mobile

protected int? mobile

Field Value

int?

pkn

protected string pkn

Field Value

string

purpose

protected string purpose

Field Value

string

recurring

protected int? recurring

Field Value

int?

tds2Address

protected string tds2Address

Field Value

string

tds2City

protected string tds2City

Field Value

string

tds2Country

protected string tds2Country

Field Value

string

tds2Optional

protected string tds2Optional

Field Value

string

tds2Postcode

protected string tds2Postcode

Field Value

string

type

protected string type

Field Value

string

urlNotify

protected string urlNotify

Field Value

string

urlRedirect

protected string urlRedirect

Field Value

string

Methods

ToString()

public override string ToString()

Returns

string

addParameters(List<RequestEntry>)

protected override void addParameters(List<GiroCheckoutRequest.RequestEntry> parameters)

Parameters

parameters List<GiroCheckoutRequest.RequestEntry>

execute()

Initialisierung einer Kreditkartenzahlung.

public CreditCardTransactionResponse execute()

Returns

CreditCardTransactionResponse

CreditCardTransactionResponse

getRequestUrl()

protected override string getRequestUrl()

Returns

string