WePay iOS SDK  7.0.0-prerelease-1
WPPaymentToken Class Reference

#import <WPPaymentToken.h>

Inheritance diagram for WPPaymentToken:
WPAuthorizationInfo

Instance Methods

(instancetype) - initWithId:
 

Properties

NSString * tokenId
 

Detailed Description

A WPPaymentToken represents payment information that was obtained from the user and is stored on WePay's servers. This token can be used to complete the payment transaction via WePay's web APIs.

Method Documentation

◆ initWithId:()

- (instancetype) initWithId: (NSString *)  tokenId

Initialzes a WPPaymentToken with the Id provided.

Parameters
tokenIdThe Id of the token.
Returns
A WPPaymentToken object initialized with the Id provided.

Property Documentation

◆ tokenId

- (NSString*) tokenId
readnonatomicstrong

The token's id.


The documentation for this class was generated from the following file: