MppTokenRequestor

@interface MppTokenRequestor : NSObject

Token Requestor that is eligible for the account ranges in the request.

MppTokenRequestor properties

  • Returns identifier of the Token Requestor.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *tokenRequestorId;

    Return Value

    Identifier of the Token Requestor.

  • Returns legal name of the token requestor.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *name;

    Return Value

    The legal name of the token requestor.

  • Returns the name of the token requestor to be displayed to the account holder.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *consumerFacingEntityName;

    Return Value

    The name of the token requestor.

  • Returns image of the token requestor (for instance a logo). Provided as an Asset ID – use the Get Asset API to retrieve the actual asset.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *imageAssetId;

    Return Value

    The Asset ID of image of token requestor.

  • Returns the type of the token requestor.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *tokenRequestorType;

    Return Value

    The type of the token requestor as instance of MppTokenRequestorType object.

  • Returns the identifier of the Wallet Provider.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *walletId;

    Return Value

    The identifier of the Wallet Provider.

  • Returns array of account range start numbers that are enabled for the token requestor. The start numbers will be 19 digits in length.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSArray *enabledAccountRanges;

    Return Value

    List of account range start numbers.

  • Returns array of the push methods supported by the token requestor.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSArray *supportedPushMethods;

    Return Value

    Supported push methods as array of MppPushMethod objects.

  • Returns flag to indicate if token requestor supports multiple push receipts in a single request.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL supportsMultiplePushedCards;

    Return Value

    true if token requestor supports multiple push receipts in a single request, false otherwise

MppTokenRequestor methods

  • Constructs Token Requestor from values passed in dictionary.

    Declaration

    Objective-C

    + (nonnull instancetype)tokenRequestorWithDictionary:
        (NSDictionary *_Nonnull)dictionary;

    Parameters

    dictionary

    Dictionary containing values to create a Token Requestor.

    Return Value

    Token Requestor.

  • Verify if given Token Requestor is valid.

    Declaration

    Objective-C

    - (BOOL)isValid;

    Return Value

    Bool value if given Token Requestor is valid.