/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.payment/PaymentData

PaymentData

\ data class PaymentData(val drtFragmentHashCode: Int, val modeTitle: String, val modeIcon: String?, val modeDarkVehicleIcon: Int?, val paymentSummaryDetails: List<PaymentSummaryDetails>, val transportDetails: TransportDetails, val total: Double, val currency: String, val paymentOptions: List<PaymentOption>?, var review: List<Review>?, var publishableApiKey: String?, var ephemeralKey: EphemeralKey?, val areInputsValid: Boolean, val billingEnabled: Boolean, val hasTickets: Boolean)

Constructors

PaymentData constructor(drtFragmentHashCode: Int, modeTitle: String, modeIcon: String?, modeDarkVehicleIcon: Int?, paymentSummaryDetails: List<PaymentSummaryDetails>, transportDetails: TransportDetails, total: Double, currency: String, paymentOptions: List<PaymentOption>?, review: List<Review>?, publishableApiKey: String?, ephemeralKey: EphemeralKey?, areInputsValid: Boolean, billingEnabled: Boolean, hasTickets: Boolean)

Properties

Name Summary
areInputsValid val areInputsValid: Boolean
billingEnabled val billingEnabled: Boolean
currency val currency: String
drtFragmentHashCode val drtFragmentHashCode: Int
ephemeralKey var ephemeralKey: EphemeralKey?
hasTickets val hasTickets: Boolean
modeDarkVehicleIcon val modeDarkVehicleIcon: Int?
modeIcon val modeIcon: String?
modeTitle val modeTitle: String
paymentOptions val paymentOptions: List<PaymentOption>?
paymentSummaryDetails val paymentSummaryDetails: List<PaymentSummaryDetails>
publishableApiKey var publishableApiKey: String?
review var review: List<Review>?
total val total: Double
transportDetails val transportDetails: TransportDetails

Functions

Name Summary
getTotalPrice fun getTotalPrice(): Double
getTotalTickets fun getTotalTickets(): Int
getTotalValue fun getTotalValue(): String