![]() |
PaymentSDK
Mobile payment SDK
|
Defines ApplePay payment method. More...
#import <WDApplePayPayment.h>
Inheritance diagram for WDApplePayPayment:
Collaboration diagram for WDApplePayPayment:Public Instance Methods | |
| (nullable instancetype) | - initWithPayment:summaryItems:currency:transactionType: |
| Initializes payment object with parameters gathered via PKPaymentAuthorizationViewController. More... | |
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: |
Additional Inherited Members | |
Public Class Methods inherited from NSObject | |
| (id) | + alloc |
| (Class) | + class |
| (void) | + initialize |
| (void) | + load |
| (id) | + new |
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... | |
Defines ApplePay payment method.
It is merchant's app responsibility to gather parameters via PKPaymentAuthorizationViewController
| - (nullable instancetype) initWithPayment: | (nonnull PKPayment *) | payment | |
| summaryItems: | (nonnull NSArray< PKPaymentSummaryItem * > *) | summaryItems | |
| currency: | (WDCurrency) | currency | |
| transactionType: | (WDTransactionType) | transactionType | |
Initializes payment object with parameters gathered via PKPaymentAuthorizationViewController.
| payment | PKPayment object gathered via PKPaymentAuthorizationViewController |
| summaryItems | summaryItems gathered via PKPaymentAuthorizationViewController |
| currency | currency code. Supported codes: "GBP", ""USD" |
| transactionType | transaction type. Supported transaction types: WDTransactionTypeAuthorization, WDTransactionTypeCaptureAuthorization, WDTransactionTypePurchase, WDTransactionTypeReferencedAuthorization, WDTransactionTypeReferencedPurchase, WDTransactionTypeRefundCapture, WDTransactionTypeRefundPurchase, WDTransactionTypeVoidAuthorization |
Implemented in WDApplePayManagedPayment.