MMKMasstransitPayment

Warning

This feature is available in the Full MapKit SDK version

@interface MMKMasstransitPayment : NSObject

Summary

Class methods

+ (nonnull MMKMasstransitPayment *)paymentWithPaymentMedia:(nullable MMKMasstransitPaymentMedia *)paymentMedia
                                                     price:(nonnull MMKTaxiMoney *)price;

Properties

@property (nonatomic, readonly, nullable)
    MMKMasstransitPaymentMedia *paymentMedia;

Contains information about the payment media

@property (nonatomic, readonly, nonnull) MMKTaxiMoney *price;
Cost of travel in the vehicle

Class methods

paymentWithPaymentMedia:price:

+ (nonnull MMKMasstransitPayment *)paymentWithPaymentMedia:(nullable MMKMasstransitPaymentMedia *)paymentMedia
                                                     price:(nonnull MMKTaxiMoney *)price;


Properties

paymentMedia

@property (nonatomic, readonly, nullable)
    MMKMasstransitPaymentMedia *paymentMedia;

Contains information about the payment media.

Optional field, can be nil.


price

@property (nonatomic, readonly, nonnull) MMKTaxiMoney *price;

Cost of travel in the vehicle.