YMKMasstransitPayment

Важно

This feature is available in the Full MapKit SDK version

@interface YMKMasstransitPayment : NSObject

Summary

Class methods

+ (nonnull YMKMasstransitPayment *)paymentWithPaymentMedia:(nullable YMKMasstransitPaymentMedia *)paymentMedia
                                                     price:(nonnull YMKTaxiMoney *)price;

Properties

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

Contains information about the payment media

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

Class methods

paymentWithPaymentMedia:price:

+ (nonnull YMKMasstransitPayment *)paymentWithPaymentMedia:(nullable YMKMasstransitPaymentMedia *)paymentMedia
                                                     price:(nonnull YMKTaxiMoney *)price;


Properties

paymentMedia

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

Contains information about the payment media.

Optional field, can be nil.


price

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

Cost of travel in the vehicle.


Предыдущая
Следующая