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

Defines Card payment method. More...

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

Public Instance Methods

 WirecardCardPayment (String requestTimeStamp, String requestID, String merchantID, WirecardTransactionType transactionType, BigDecimal amount, String currency, String signature)
 Constructor. More...
 
 WirecardCardPayment (String signature, String requestTimeStamp, String requestID, String merchantID, WirecardTransactionType transactionType, BigDecimal amount, String currency)
 Constructor. More...
 
CardToken getCardToken ()
 
void setCardToken (CardToken cardToken)
 
boolean isRequireSecurityCode ()
 
void setRequireSecurityCode (boolean requireSecurityCode)
 
boolean isAttempt3d ()
 
void setAttempt3d (boolean attempt3d)
 
boolean isRecurring ()
 
void setRecurring (boolean recurring)
 
SubMerchantInfo getSubMerchantInfo ()
 
void setSubMerchantInfo (SubMerchantInfo subMerchantInfo)
 
- Public Instance Methods inherited from de.wirecard.paymentsdk.models.WirecardPayment
String getRequestTimeStamp ()
 Returns date when requestSignature was generated. More...
 
void setRequestTimeStamp (String requestTimeStamp)
 Sets date when requestSignature was generated. More...
 
String getRequestID ()
 Returns unique identifier associated with the transaction, which is created by the merchant. More...
 
void setRequestID (String requestID)
 Sets unique identifier associated with the transaction, which is created by the merchant. More...
 
String getMerchantAccountID ()
 Returns unique identifier assigned for every Merchant Account. More...
 
void setMerchantAccountID (String merchantAccountID)
 Sets unique identifier assigned for every Merchant Account. More...
 
WirecardTransactionType getTransactionType ()
 Returns determines transaction processing behaviour. More...
 
void setTransactionType (WirecardTransactionType transactionType)
 Sets determines transaction processing behaviour. More...
 
BigDecimal getAmount ()
 Returns the only amount that accompanies the transaction when it is created and/or requested. More...
 
void setAmount (BigDecimal amount)
 Sets the only amount that accompanies the transaction when it is created and/or requested. More...
 
String getCurrency ()
 Returns currency in which the transaction is processed. More...
 
void setCurrency (String currency)
 Sets currency in which the transaction is processed. More...
 
String getRequestSignature ()
 Returns request signature - authorize client to process the transaction. More...
 
void setRequestSignature (String requestSignature)
 Sets request signature - authorize client to process the transaction. More...
 
String getParentTransactionID ()
 Returns transaction ID of the first transaction in the series. More...
 
void setParentTransactionID (String parentTransactionID)
 Sets transaction ID of the first transaction in the series. More...
 
Order getOrder ()
 Returns customer's order information. More...
 
void setOrder (Order order)
 Sets customer's order information. More...
 
CustomerData getAccountHolder ()
 Returns customer's order information. More...
 
void setAccountHolder (CustomerData accountHolder)
 Sets customer's order information. More...
 
CustomerData getShippingAddress ()
 Returns customer's shipping information. More...
 
void setShippingAddress (CustomerData shippingAddress)
 Sets customer's shipping information. More...
 
List< NotificationgetNotifications ()
 Returns list of notifications configuration. More...
 
void setNotifications (List< Notification > notifications)
 Sets list of notifications configuration. More...
 
String getIpAddress ()
 Returns the IP Address of the Customer as recorded by the entity receiving the Transaction Attempt from the Customer. More...
 
void setIpAddress (String ipAddress)
 Sets the IP Address of the Customer as recorded by the entity receiving the Transaction Attempt from the Customer. More...
 
String getLocale ()
 Returns locale - defines the user's language and any special variant preferences that the user wants to see in their user interface. More...
 
void setLocale (String locale)
 Sets locale - defines the user's language and any special variant preferences that the user wants to see in their user interface. More...
 
String getMerchantAccountResolverCategory ()
 Sets merchant account resolver category - category used by frontend merchant to resolve internal merchant for processing payment. More...
 
void setMerchantAccountResolverCategory (String merchantAccountResolverCategory)
 Sets merchant account resolver category - category used by frontend merchant to resolve internal merchant for processing payment. More...
 
String getSignature ()
 Returns signature - authorize client to process the transaction. More...
 
void setSignature (String signature)
 Sets signature - authorize client to process the transaction. More...
 

Private Fields

CardToken cardToken
 Tokenized card data gathered by previous transaction. More...
 
boolean requireSecurityCode = true
 Force user to enter security code. More...
 
boolean attempt3d = true
 Indicates that the Transaction Request should proceed with the 3D Secure workflow if the [Card Holder] is enrolled. Otherwise, the transaction proceeds without 3D Secure. More...
 
boolean recurring
 Mark payment as recurring. More...
 
SubMerchantInfo subMerchantInfo
 Sub Merchant Info. More...
 

Additional Inherited Members

- Protected Instance Methods inherited from de.wirecard.paymentsdk.models.WirecardPayment
 WirecardPayment (String requestTimeStamp, String requestID, String merchantAccountID, WirecardTransactionType transactionType, BigDecimal amount, String currency, String requestSignature)
 
 WirecardPayment (String signature, String requestTimeStamp, String requestID, String merchantAccountID, WirecardTransactionType transactionType, BigDecimal amount, String currency)
 

Detailed Description

Defines Card payment method.

Constructor & Destructor Documentation

de.wirecard.paymentsdk.models.WirecardCardPayment.WirecardCardPayment ( String  requestTimeStamp,
String  requestID,
String  merchantID,
WirecardTransactionType  transactionType,
BigDecimal  amount,
String  currency,
String  signature 
)
inline

Constructor.

Parameters
requestTimeStampDate when requestSignature was generated.
requestIDUnique identifier associated with the transaction, which is created by the merchant.
merchantIDUnique identifier assigned for every Merchant Account.
transactionTypeDetermines transaction processing behaviour.
amountThe only amount that accompanies the transaction when it is created and/or requested.
currencyCurrency in which the transaction is processed.
signatureAuthorize client to process the transaction.
Deprecated:
de.wirecard.paymentsdk.models.WirecardCardPayment.WirecardCardPayment ( String  signature,
String  requestTimeStamp,
String  requestID,
String  merchantID,
WirecardTransactionType  transactionType,
BigDecimal  amount,
String  currency 
)
inline

Constructor.

Parameters
signatureAuthorize client to process the transaction.
requestTimeStampDate when requestSignature was generated.
requestIDUnique identifier associated with the transaction, which is created by the merchant.
merchantIDUnique identifier assigned for every Merchant Account.
transactionTypeDetermines transaction processing behaviour.
amountThe only amount that accompanies the transaction when it is created and/or requested.
currencyCurrency in which the transaction is processed.

Method Documentation

CardToken de.wirecard.paymentsdk.models.WirecardCardPayment.getCardToken ( )
inline
SubMerchantInfo de.wirecard.paymentsdk.models.WirecardCardPayment.getSubMerchantInfo ( )
inline
boolean de.wirecard.paymentsdk.models.WirecardCardPayment.isAttempt3d ( )
inline
boolean de.wirecard.paymentsdk.models.WirecardCardPayment.isRecurring ( )
inline
boolean de.wirecard.paymentsdk.models.WirecardCardPayment.isRequireSecurityCode ( )
inline
void de.wirecard.paymentsdk.models.WirecardCardPayment.setAttempt3d ( boolean  attempt3d)
inline
void de.wirecard.paymentsdk.models.WirecardCardPayment.setCardToken ( CardToken  cardToken)
inline
void de.wirecard.paymentsdk.models.WirecardCardPayment.setRecurring ( boolean  recurring)
inline
void de.wirecard.paymentsdk.models.WirecardCardPayment.setRequireSecurityCode ( boolean  requireSecurityCode)
inline
void de.wirecard.paymentsdk.models.WirecardCardPayment.setSubMerchantInfo ( SubMerchantInfo  subMerchantInfo)
inline

Member Data Documentation

boolean de.wirecard.paymentsdk.models.WirecardCardPayment.attempt3d = true
private

Indicates that the Transaction Request should proceed with the 3D Secure workflow if the [Card Holder] is enrolled. Otherwise, the transaction proceeds without 3D Secure.

CardToken de.wirecard.paymentsdk.models.WirecardCardPayment.cardToken
private

Tokenized card data gathered by previous transaction.

boolean de.wirecard.paymentsdk.models.WirecardCardPayment.recurring
private

Mark payment as recurring.

boolean de.wirecard.paymentsdk.models.WirecardCardPayment.requireSecurityCode = true
private

Force user to enter security code.

SubMerchantInfo de.wirecard.paymentsdk.models.WirecardCardPayment.subMerchantInfo
private

Sub Merchant Info.