PaymentController class

Inheritance

Constructors

PaymentController()

Properties

allowPayment RxBool
getter/setter pair
amount double
getter/setter pair
bookedPaymentId String
getter/setter pair
bookingHistory Rx<BookingHistory>
getter/setter pair
checkAvailabilityExpireTimer Timer?
getter/setter pair
corporatePassengersNumber RxInt
getter/setter pair
creditPackage Rxn<CreditPackage>
final
currenciesList RxList<CryptoCurrencyModel>
getter/setter pair
currentDonation RxDouble
getter/setter pair
currentSubscriptionName String
no setter
departureStops int
no setter
donationAmount RxDouble
no setter
donationController TextEditingController
getter/setter pair
donationFocus FocusNode
getter/setter pair
exclusivePlusKey GlobalKey<State<StatefulWidget>>
final
fee double
no setter
formattedTime String
no setter
freeAvailabilityCheckCounter RxInt
getter/setter pair
freeCheckAvailabilityForSaved RxInt
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
no setterinherited
hasSetDonation RxBool
getter/setter pair
initialized bool
Checks whether the controller has already been initialized.
no setterinherited
isAgreedExclusive RxBool
getter/setter pair
isAgreedExclusivePlus RxBool
getter/setter pair
isAgreedPayment RxBool
getter/setter pair
isAgreedTerms RxBool
getter/setter pair
isBank bool
no setter
isCard bool
no setter
isCheckingSeatAvailability RxBool
getter/setter pair
isCheckingSeatAvailabilityForSaved RxBool
getter/setter pair
isClosed bool
Checks whether the controller has already been closed.
no setterinherited
isCrypto bool
no setter
isFlightBooking bool
no setter
isMembership bool
no setter
isRoundTrip bool
no setter
isSearchCredit bool
no setter
listeners int
no setterinherited
membershipStatsController StatsController
/////////////////////////// ///////////////////////////
final
milesPercentage int
no setter
milesPercentageValue double
no setter
minDonation RxDouble
getter/setter pair
neoMilesBalance int
no setter
neoMilesController NeoMilesController
final
onDelete InternalFinalCallback<void>
Internal callback that starts the cycle of this controller.
finalinherited
onStart InternalFinalCallback<void>
Called at the exact moment the widget is allocated in memory. It uses an internal "callable" type, to avoid any @overrides in subclases. This method should be internal and is required to define the lifetime cycle of the subclass.
finalinherited
passengerAddonsPricing Rxn<PassengerAddonsPricing>
getter/setter pair
passengerExpanded RxBool
getter/setter pair
passengerTitles RxList<String>
getter/setter pair
passengerTypes RxList<String>
getter/setter pair
paymentDetails Rx<PaymentDetails>
getter/setter pair
paymentExpireStartDate Rxn<DateTime>
final
paymentExpireTimer Timer?
getter/setter pair
paymentExpireTimerCount RxInt
final
paymentId Rxn<String>
final
paymentReference Rxn<String>
final
paymentType Rx<PaymentType>
final
rateRequestConsumed int
no setter
rateRequestRemaining int
no setter
rateRequestTotal int
no setter
receiptFile Rxn<XFile>
final
receiptUrl Rxn<String>
final
returnStops int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
savedDaysLeftExpireTimer Timer?
getter/setter pair
savedDaysLeftExpireTimerCount RxInt
final
savedDonation RxDouble
getter/setter pair
savedExpireTimer Timer?
getter/setter pair
savedExpireTimerCount RxInt
final
searchcheckAvailabilityTimerCount RxInt
getter/setter pair
searchCreditConsumed int
no setter
searchCreditNeededForRateRequest int
no setter
searchCreditRemaining int
no setter
searchCreditTotal int
no setter
searchExpireTimer Timer?
getter/setter pair
searchExpireTimerCount RxInt
final
seatAvailabilityCheckedForFirstTime bool
no setter
seatExpireTimer Timer?
getter/setter pair
seatExpireTimerCount RxInt
final
seatTime String
no setter
selectedCryptoCurrency Rx<CryptoCurrencyModel>
getter/setter pair
selectedPackage Rxn<Datum>
final
selectedPaymentMethod Rx<PaymentMethod>
getter/setter pair
selectedUpgradeOption Rx<UpgradeOption>
getter/setter pair
selectedWallet RxString
getter/setter pair
selectedWalletType RxString
getter/setter pair
startTimer RxBool
getter/setter pair
subscriptionName RxString
getter/setter pair
subscriptionType Rx<SubscriptionType>
final
timer Timer?
getter/setter pair
totalDiscountedAmount double
no setter
transferIdController TextEditingController
getter/setter pair
tripExpanded RxBool
getter/setter pair
useNeoMiles RxBool
getter/setter pair
userData UserModel?
no setter

Methods

$configureLifeCycle() → void
inherited
addListener(GetStateUpdate listener) Disposer
Register a closure to be called when the object notifies its listeners.
inherited
addListenerId(Object? key, GetStateUpdate listener) Disposer
inherited
approveRateRequest() Future<void>
calculateSharedDonation() → void
checkBookingisWithIn12Hours(String dDate, String dTime, {int defaultHours = 12}) int
checkFlightAvailability() Future<void>
clearDonation() → void
clearPage() → void
dispose() → void
inherited
disposeId(Object id) → void
To dispose an id from future updates(), this ids are registered by GetBuilder() or similar, so is a way to unlink the state change with the Widget from the Controller.
inherited
getAddress() Future<String>
getAllCryptoCurrencies() Future<void>
getBooking(String bookingId) → void
getExchangeEstimate() Future<void>
getPaymentInfo() Future<void>
getRemainingTime(String departureDate, String departureTime) int
highlight() → void
initiateBankPayment() → void
initiateBookingCryptoPayment() → void
initiateCardPayment() → void
initPayment(PaymentDetails paymentDetails, {bool gotoPayment = true, BookingHistory? paymentHistory, bool isRateConfirmed = false, bool isSaved = false, bool isPaymentFailedForRateRequest = false}) Future<void>
initRateConfirmation() → void
initRateRequest() → dynamic
initSubscriptionPayment() → void
isAllowToPayment() → void
isPaymentFailed(String bookingId) Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyChildrens() → void
inherited
onClose() → void
Called before onDelete method. onClose might be used to dispose resources used by the controller. Like closing events, or streams before the controller is destroyed. Or dispose objects that can potentially create some memory leaks, like TextEditingControllers, AnimationControllers. Might be useful as well to persist some data on disk.
inherited
onInit() → void
Called immediately after the widget is allocated in memory. You might use this to initialize something for the controller.
inherited
onReady() → void
Called 1 frame after onInit(). It is the perfect place to enter navigation events, like snackbar, dialogs, or a new route, or async request.
inherited
passengerCreation() → void
pickReceipt() → void
refresh() → void
inherited
refreshGroup(Object id) → void
inherited
reloadPayment() → void
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that the object notifies.
inherited
removeListenerId(Object id, VoidCallback listener) → void
inherited
removeReceiptFile() → void
savedToRateRequest() Future<void>
selectReceipt(XFile file) → void
setSharedDonationByTextField(String value, double totalSaved) → void
setSharedDonationFromOption(double value, double totalSaved) → void
shouldShowLayoverWarning() bool
showCurrencySelectionDialog() Future<void>
showPaymentWarningDialog(BuildContext context, {DateTime? expiryDate}) Future<void>
storePayment() Future<void>
submitBankReceipt() → void
subscriptionTotalPrice() num
toString() String
A string representation of this object.
inherited
update([List<Object>? ids, bool condition = true]) → void
Rebuilds GetBuilder each time you call update(); Can take a List of ids, that will only update the matching GetBuilder( id: ), ids can be reused among GetBuilders like group tags. The update will only notify the Widgets, if condition is true.
inherited
uploadReceipt() → void
useFreeQuotaOrSearchCredit() → void
useFreeQuotaOrSearchCreditForSaved() → void
verifyPayment() Future<void>

Operators

operator ==(Object other) bool
The equality operator.
inherited