EMTransactionVerifyRequest
Objective-C
@interface EMTransactionVerifyRequest : EMIncomingMessage <EMMessageMeta>
Swift
class EMTransactionVerifyRequest : EMIncomingMessage, EMMessageMeta
Interface of a transaction verify request from the OOB server.
Since
5.3-
Gets the locale the message content is for.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull locale;Swift
var locale: String { get }Return Value
The locale.
-
Gets the content type of the generic message.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull contentType;Swift
var contentType: String { get }Return Value
The content type.
-
Gets message content as a secure byte array.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSData *_Nonnull content;Swift
var content: Data { get }Return Value
The content.
-
Gets message content in form of string.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSString *_Nonnull contentString;Swift
var contentString: String { get }Return Value
The content.
-
Gets message subject
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull subject;Swift
var subject: String { get }Return Value
The subject.
-
Gets message content in specific encoding format.
Declaration
Objective-C
- (nonnull NSString *)contentStringWithEncoding:(NSStringEncoding)encoding;Swift
func contentString(encoding: UInt) -> StringParameters
encodingA string encoding.
Return Value
The content.
-
Creates an outgoing response for this transaction verification request message.
Declaration
Objective-C
- (nonnull EMTransactionVerifyResponse *) createWithResponse:(EMTransactionVerifyResponseValue)aResponse meta:(nullable NSDictionary<NSString *, NSString *> *)aMeta;Swift
func create(response aResponse: EMTransactionVerifyResponseValue, meta aMeta: [String : String]?) -> EMTransactionVerifyResponseParameters
aResponseThe response to provide to the transaction. See enum EMTransactionVerifyResponseValue.
aMetaThe metadata for the message.
Return Value
The outgoing message ready to be sent.
EMTransactionVerifyRequest Class Reference