PaymentSDK
Mobile payment SDK
WDOrder Class Reference

Order data. More...

#import <WDOrder.h>

+ Inheritance diagram for WDOrder:
+ Collaboration diagram for WDOrder:

Properties

NSStringdescriptor
 The description of the transaction that shows up on the Account Holder's statement. More...
 
NSStringnumber
 Merchant-provided string to store the 'Order Number' for the Transaction. More...
 
NSStringdetail
 Merchant-provided string to store the 'Order Detail' for the Transaction. More...
 
NSArray< WDOrderItem * > * items
 Order Items. More...
 

Additional Inherited Members

- Public Class Methods inherited from NSObject
(id+ alloc
 
(Class+ class
 
(void) + initialize
 
(void) + load
 
(id+ new
 
- 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:
 

Detailed Description

Order data.

Property Documentation

- (NSString*) descriptor
readwritenonatomicstrong

The description of the transaction that shows up on the Account Holder's statement.

In the case of a Credit Card Statement, it can be dynamically set per transaction, but only supported by some acquirers. It is optional. Max. length is 64

- (NSString*) detail
readwritenonatomicstrong

Merchant-provided string to store the 'Order Detail' for the Transaction.

It is optional. Max. length is 2048

- (NSArray<WDOrderItem *>*) items
readwritenonatomicstrong

Order Items.

At the moment supported by WDPayPalPayment method. Order item details may be sent along with transaction requests. This information of the shopping basket will be displayed in WDPayPalPayment during the checkout and later stored as a part of the payment details in PayPal. However, they cannot be obtained from the Payment Gateway later as part of transaction details.

- (NSString*) number
readwritenonatomicstrong

Merchant-provided string to store the 'Order Number' for the Transaction.

It is optional. Max. length is 64