YMKMasstransitPaymentMedia

Warning

This feature is available in the Full MapKit SDK version

class YMKMasstransitPaymentMedia : NSObject

Summary

Class methods

 init(id: String, name: String?, type: YMKMasstransitPaymentMediaMediaType)

Properties

var id: String { get }
string which identifies the current media, can be used to select icons im maps application

var name: String? { get }
Localized name of the media, which is used for payment

var typeYMKMasstransitPaymentMediaMediaType { get }
Type of media, which is used for payment

Class methods

init(id:name:type:)

 init(id: String, name: String?, type: YMKMasstransitPaymentMediaMediaType)


Properties

id

var id: String { get }

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


name

var name: String? { get }

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

Optional field, can be nil.


type

var type: YMKMasstransitPaymentMediaMediaType { get }

Type of media, which is used for payment.