EMTransactionVerifyRequest

@interface 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 (readonly, copy, nonatomic) NSString *_Nonnull locale;

    Swift

    var locale: String { get }

    Return Value

    The locale.

  • Gets the content type of the generic message.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) 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 (readonly, strong, nonatomic) NSData *_Nonnull content;

    Swift

    var content: Data { get }

    Return Value

    The content.

  • Gets message content in form of string.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSString *_Nonnull contentString;

    Swift

    var contentString: String { get }

    Return Value

    The content.

  • Gets message subject

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) 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) -> String

    Parameters

    encoding

    A 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]?) -> EMTransactionVerifyResponse

    Parameters

    aResponse

    The response to provide to the transaction. See enum EMTransactionVerifyResponseValue.

    aMeta

    The metadata for the message.

    Return Value

    The outgoing message ready to be sent.