![]() |
PaymentSDK
Mobile payment SDK
|
Defines Card payment method. More...
#import <WDCardPayment.h>
Inheritance diagram for WDCardPayment:
Collaboration diagram for WDCardPayment:Public Instance Methods | |
| (nullable instancetype) | - initWithAmount:amountCurrency:transactionType: |
| Initialize Car payment object. More... | |
| (nullable instancetype) | - init |
Public Instance Methods inherited from WDPayment | |
| (nullable WDNotification *) | - notificationForState: |
| Returns the notification for transaction state. More... | |
Public Instance Methods inherited from NSObject | |
| (Class) | - classForCoder |
| (id) | - copy |
| (void) | - dealloc |
| (void) | - finalize |
| (id) | - init |
| (id) | - mutableCopy |
Public Instance Methods inherited from <NSObject> | |
| (NSString *) | - description |
| (NSUInteger) | - hash |
| (BOOL) | - isEqual: |
Properties | |
| WDAttempt | attemptThreeD |
| 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... | |
| BOOL | recurring |
| Mark payment as recurring. More... | |
| BOOL | requireSecurityCode |
| Prompt [Card Holder] for security code, in case of referenced transactions. More... | |
| WDCardToken * | token |
| Tokenized card data gathered by previous transaction [WDPaymentResponse cardToken]. More... | |
| WDSubMerchantInfo * | subMerchantInfo |
| Info about particular merchant. More... | |
Properties inherited from WDPayment | |
| NSString * | requestSignature |
| Authorize client to process the transaction. More... | |
| NSDate * | requestTimestamp |
| Date when requestSignature was generated. More... | |
| NSString * | signature |
| 2nd generation signature. Authorize client to process the transaction. checkPayment works only with this signature. More... | |
| NSString * | merchantAccountID |
| Unique identifier assigned for every Merchant Account. More... | |
| NSString * | merchantAccountResolverCategory |
| Category used by frontend merchant to resolve internal merchant for processing payment. More... | |
| NSString * | requestID |
| Unique identifier associated with the transaction, which is created by the merchant. More... | |
| NSDecimalNumber * | amount |
| The only amount that accompanies the transaction when it is created and/or requested. More... | |
| WDCurrency | amountCurrency |
| Currency in which the transaction is processed. More... | |
| WDTransactionType | transactionType |
| Determines transaction processing behaviour. More... | |
| WDCustomerData * | accountHolder |
| Customer's account information. More... | |
| WDCustomerData * | shipping |
| Customer's shipping information. More... | |
| WDOrder * | order |
| Customer's order information. More... | |
| NSArray< WDNotification * > * | notifications |
| Notifications configuration. More... | |
| NSString * | IPAddress |
| The IP Address of the Customer as recorded by the entity receiving the Transaction Attempt from the Customer. More... | |
| WDLocale | locale |
| Defines the user's language and any special variant preferences that the user wants to see in their user interface. More... | |
| NSString * | parentTransactionID |
| transaction identifier of previous transaction gathered by [WDPaymentResponse transactionIdentifier] More... | |
Additional Inherited Members | |
Public Class Methods inherited from NSObject | |
| (id) | + alloc |
| (Class) | + class |
| (void) | + initialize |
| (void) | + load |
| (id) | + new |
Defines Card payment method.
| - (nullable instancetype) init |
| - (nullable instancetype) initWithAmount: | (nonnull NSDecimalNumber *) | amount | |
| amountCurrency: | (WDCurrency) | amountCurrency | |
| transactionType: | (WDTransactionType) | transactionType | |
Initialize Car payment object.
| amount | Amount that accompanies the transaction |
| amountCurrency | Currency in which the transaction is processed |
| transactionType | WDTransactionType transaction type |
|
readwritenonatomicassign |
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.
Default value is YES. In case of referenced transactions (WDTransactionTypeCaptureAuthorization, WDTransactionTypeReferencedAuthorization, WDTransactionTypeReferencedPurchase), it is ignored.
|
readwritenonatomicassign |
Mark payment as recurring.
Default value is NO.
|
readwritenonatomicassign |
Prompt [Card Holder] for security code, in case of referenced transactions.
Default value is NO.
|
readwritenonatomicstrong |
Info about particular merchant.
It is optional.
|
readwritenonatomicstrong |
Tokenized card data gathered by previous transaction [WDPaymentResponse cardToken].
set [WDCardToken tokenID] if you want to use the same card as in previous transaction. In case of transaction referenced by parentTransactionID and security code is required set [WDCardToken maskedAccountNumber] to help user with security code typing