#import <WPAuthorizationInfo.h>
A WPAuthorizationInfo represents authorization information that was obtained from the user's EMV card and is stored on WePay's servers. This information can be used to complete the payment transaction via WePay's web APIs.
◆ initWithAmount:currencyCode:transactionToken:tokenId:()
- (instancetype) initWithAmount: |
|
(NSDecimalNumber *) |
amount |
currencyCode: |
|
(NSString *) |
currencyCode |
transactionToken: |
|
(NSString *) |
transactionToken |
tokenId: |
|
(NSString *) |
tokenId |
|
|
| |
Initializes a WPAuthorizationInfo with the info provided.
- Parameters
-
amount | The amount that was authorized. |
currencyCode | The currency code that the amount is specified in. |
transactionToken | The transaction token that certifies the transaction |
tokenId | The ID of the payment token. |
- Returns
- A WPAuthorizationInfo object initialized with the info provided.
◆ initWithId:()
- (instancetype) initWithId: |
|
(NSString *) |
tokenId |
|
Initialzes a WPPaymentToken with the Id provided.
- Parameters
-
tokenId | The Id of the token. |
- Returns
- A WPPaymentToken object initialized with the Id provided.
◆ amount
- (NSDecimalNumber*) amount |
|
readnonatomicstrong |
The amount that was authorized.
◆ currencyCode
- (NSString*) currencyCode |
|
readnonatomicstrong |
The currency code that the amount is specified in.
◆ tokenId
|
readnonatomicstronginherited |
◆ transactionToken
- (NSString*) transactionToken |
|
readnonatomicstrong |
The transaction token that certifies the transaction.
The documentation for this class was generated from the following file: