Class PaydirektTransactionRequest
- Namespace
- GiroSolution.GiroCheckout.Request
- Assembly
- GiroCheckout.dll
Initialisierung einer Paydirekt Zahlung - Anfrage. 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 PaydirektTransactionRequest : GiroCheckoutRequest
- Inheritance
-
PaydirektTransactionRequest
- Inherited Members
Constructors
PaydirektTransactionRequest(Project, string, int, string, string, string, int?, string, string, string, int?, string, string, string, string, string, string, string, string, string, string, string, int?, string, ShoppingCartItem[], string, string, int?, string, string, string)
public PaydirektTransactionRequest(Project project, string merchantTxId, int amount, string currency, string purpose, string type, int? securedAuth, string securedAuthUntil, string shoppingCartType, string customerId, int? shippingAmount, string shippingAddresseFirstName, string shippingAddresseLastName, string shippingCompany, string shippingAdditionalAddressInformation, string shippingStreet, string shippingStreetNumber, string shippingZipCode, string shippingCity, string shippingCountry, string shippingEmail, string merchantReconciliationReferenceNumber, int? orderAmount, string orderId, ShoppingCartItem[] cart, string invoiceId, string customerMail, int? minimumAge, string urlRedirect, string urlNotify, string kassenzeichen)
Parameters
projectProjectmerchantTxIdstringamountintcurrencystringpurposestringtypestringsecuredAuthint?securedAuthUntilstringshoppingCartTypestringcustomerIdstringshippingAmountint?shippingAddresseFirstNamestringshippingAddresseLastNamestringshippingCompanystringshippingAdditionalAddressInformationstringshippingStreetstringshippingStreetNumberstringshippingZipCodestringshippingCitystringshippingCountrystringshippingEmailstringmerchantReconciliationReferenceNumberstringorderAmountint?orderIdstringcartShoppingCartItem[]invoiceIdstringcustomerMailstringminimumAgeint?urlRedirectstringurlNotifystringkassenzeichenstring
Fields
AMOUNT_REQ
protected const string AMOUNT_REQ = "amount"
Field Value
ANONYMOUS_DONATION_SHOPPING_CART_TYPE
protected const string ANONYMOUS_DONATION_SHOPPING_CART_TYPE = "ANONYMOUS_DONATION"
Field Value
AUTHORITIES_PAYMENT_SHOPPING_CART_TYPE
protected const string AUTHORITIES_PAYMENT_SHOPPING_CART_TYPE = "AUTHORITIES_PAYMENT"
Field Value
AUTH_TYPE
protected const string AUTH_TYPE = "AUTH"
Field Value
CART_REQ
protected const string CART_REQ = "cart"
Field Value
CURRENCY_REQ
protected const string CURRENCY_REQ = "currency"
Field Value
CUSTOMER_ID_REQ
protected const string CUSTOMER_ID_REQ = "customerId"
Field Value
CUSTOMER_MAIL_REQ
protected const string CUSTOMER_MAIL_REQ = "customerMail"
Field Value
DIGITAL_SHOPPING_CART_TYPE
protected const string DIGITAL_SHOPPING_CART_TYPE = "DIGITAL"
Field Value
INVOICE_ID_REQ
protected const string INVOICE_ID_REQ = "invoiceId"
Field Value
KASSENZEICHEN_REQ
protected const string KASSENZEICHEN_REQ = "kassenzeichen"
Field Value
MERCHANT_RECONCILIATION_REFERENCE_NUMBER_REQ
protected const string MERCHANT_RECONCILIATION_REFERENCE_NUMBER_REQ = "merchantReconciliationReferenceNumber"
Field Value
MERCHANT_TX_ID_REQ
protected const string MERCHANT_TX_ID_REQ = "merchantTxId"
Field Value
MINIMUM_AGE_REQ
protected const string MINIMUM_AGE_REQ = "minimumAge"
Field Value
MIXED_SHOPPING_CART_TYPE
protected const string MIXED_SHOPPING_CART_TYPE = "MIXED"
Field Value
ORDER_AMOUNT_REQ
protected const string ORDER_AMOUNT_REQ = "orderAmount"
Field Value
ORDER_ID_REQ
protected const string ORDER_ID_REQ = "orderId"
Field Value
PHYSICAL_SHOPPING_CART_TYPE
protected const string PHYSICAL_SHOPPING_CART_TYPE = "PHYSICAL"
Field Value
PURPOSE_REQ
protected const string PURPOSE_REQ = "purpose"
Field Value
REDIRECT_RES
protected const string REDIRECT_RES = "redirect"
Field Value
REFERENCE_RES
protected const string REFERENCE_RES = "reference"
Field Value
SALE_TYPE
protected const string SALE_TYPE = "SALE"
Field Value
SECURED_AUTH_REQ
protected const string SECURED_AUTH_REQ = "securedAuth"
Field Value
SECURED_AUTH_UNTIL_REQ
protected const string SECURED_AUTH_UNTIL_REQ = "securedAuthUntil"
Field Value
SHIPPING_ADDITIONAL_ADDRESS_INFORMATION_REQ
protected const string SHIPPING_ADDITIONAL_ADDRESS_INFORMATION_REQ = "shippingAdditionalAddressInformation"
Field Value
SHIPPING_ADDRESSE_FIRST_NAME_REQ
protected const string SHIPPING_ADDRESSE_FIRST_NAME_REQ = "shippingAddresseFirstName"
Field Value
SHIPPING_ADDRESSE_LAST_NAME_REQ
protected const string SHIPPING_ADDRESSE_LAST_NAME_REQ = "shippingAddresseLastName"
Field Value
SHIPPING_AMOUNT_REQ
protected const string SHIPPING_AMOUNT_REQ = "shippingAmount"
Field Value
SHIPPING_CITY_REQ
protected const string SHIPPING_CITY_REQ = "shippingCity"
Field Value
SHIPPING_COMPANY_REQ
protected const string SHIPPING_COMPANY_REQ = "shippingCompany"
Field Value
SHIPPING_COUNTRY_REQ
protected const string SHIPPING_COUNTRY_REQ = "shippingCountry"
Field Value
SHIPPING_EMAIL_REQ
protected const string SHIPPING_EMAIL_REQ = "shippingEmail"
Field Value
SHIPPING_STREET_NUMBER_REQ
protected const string SHIPPING_STREET_NUMBER_REQ = "shippingStreetNumber"
Field Value
SHIPPING_STREET_REQ
protected const string SHIPPING_STREET_REQ = "shippingStreet"
Field Value
SHIPPING_ZIP_CODE_REQ
protected const string SHIPPING_ZIP_CODE_REQ = "shippingZipCode"
Field Value
SHOPPING_CART_TYPE_REQ
protected const string SHOPPING_CART_TYPE_REQ = "shoppingCartType"
Field Value
TYPE_REQ
protected const string TYPE_REQ = "type"
Field Value
URL_NOTIFY_REQ
protected const string URL_NOTIFY_REQ = "urlNotify"
Field Value
URL_REDIRECT_REQ
protected const string URL_REDIRECT_REQ = "urlRedirect"
Field Value
amount
protected int amount
Field Value
cart
protected ShoppingCartItem[] cart
Field Value
currency
protected string currency
Field Value
customerId
protected string customerId
Field Value
customerMail
protected string customerMail
Field Value
invoiceId
protected string invoiceId
Field Value
kassenzeichen
protected string kassenzeichen
Field Value
merchantReconciliationReferenceNumber
protected string merchantReconciliationReferenceNumber
Field Value
merchantTxId
protected string merchantTxId
Field Value
minimumAge
protected int? minimumAge
Field Value
- int?
orderAmount
protected int? orderAmount
Field Value
- int?
orderId
protected string orderId
Field Value
purpose
protected string purpose
Field Value
securedAuth
protected int? securedAuth
Field Value
- int?
securedAuthUntil
protected string securedAuthUntil
Field Value
shippingAdditionalAddressInformation
protected string shippingAdditionalAddressInformation
Field Value
shippingAddresseFirstName
protected string shippingAddresseFirstName
Field Value
shippingAddresseLastName
protected string shippingAddresseLastName
Field Value
shippingAmount
protected int? shippingAmount
Field Value
- int?
shippingCity
protected string shippingCity
Field Value
shippingCompany
protected string shippingCompany
Field Value
shippingCountry
protected string shippingCountry
Field Value
shippingEmail
protected string shippingEmail
Field Value
shippingStreet
protected string shippingStreet
Field Value
shippingStreetNumber
protected string shippingStreetNumber
Field Value
shippingZipCode
protected string shippingZipCode
Field Value
shoppingCartType
protected string shoppingCartType
Field Value
type
protected string type
Field Value
urlNotify
protected string urlNotify
Field Value
urlRedirect
protected string urlRedirect
Field Value
Methods
ToString()
public override string ToString()
Returns
addParameters(List<RequestEntry>)
protected override void addParameters(List<GiroCheckoutRequest.RequestEntry> parameters)
Parameters
parametersList<GiroCheckoutRequest.RequestEntry>
execute()
Shop initiiert Paydirekt Transaktion (Initialisierung).
public PaydirektTransactionResponse execute()
Returns
getRequestUrl()
protected override string getRequestUrl()