MMKMasstransitPaymentMedia

Warning

This feature is available in the Full MapKit SDK version

@interface MMKMasstransitPaymentMedia : NSObject

Summary

Class methods

+ (nonnull MMKMasstransitPaymentMedia *)paymentMediaWithId:(nonnull NSString *)id
                                                      name:(nullable NSString *)name
                                                      type:( MMKMasstransitPaymentMediaMediaType)type;

Properties

@property (nonatomic, readonly, nonnull) NSString *id;
string which identifies the current media, can be used to select icons im maps application

@property (nonatomic, readonly, nullable) NSString *name;
Localized name of the media, which is used for payment

@property (nonatomic, readonly) MMKMasstransitPaymentMediaMediaType type;
Type of media, which is used for payment

Class methods

paymentMediaWithId:name:type:

+ (nonnull MMKMasstransitPaymentMedia *)paymentMediaWithId:(nonnull NSString *)id
                                                      name:(nullable NSString *)name
                                                      type:( MMKMasstransitPaymentMediaMediaType)type;


Properties

id

@property (nonatomic, readonly, nonnull) NSString *id;

string which identifies the current media, can be used to select icons im maps application.


name

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

Localized name of the media, which is used for payment.

Optional field, can be nil.


type

@property (nonatomic, readonly) MMKMasstransitPaymentMediaMediaType type;

Type of media, which is used for payment.