Properties
-
hashCode
→ int
-
The hash code for this object. [...]
read-only, inherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
checkoutReview({required int customerId, int? paymentOptionId, int? addressId, int? loyaltyPoints, int? pickStoreID})
→ Future<CheckoutReviewModel>
-
It's used to get final stage in checkout cycle, It's just a review contains
order Items - selected payment - selected address
-
chehckoutCartSummary({required int customerId, required int storeId, required int addressId})
→ Future<CheckouCartSummaryModel>
-
It's return checkout summary (total - sub total - discount value)
-
confirm({required int customerId, int? paymentOptionId, int? addressId, required int loyaltyPoints, required double finalAmount, int? storeId})
→ Future<String>
-
It's used to confirm the order if the payment is
Cash on delivery
. [...]
-
confirmOneClickOrder({required int customerId, int? addressId, required int qty, required int skuId})
→ Future<String>
-
It's used to confirm the order with one click. [...]
-
confirmOrder({required int customerId, int? paymentOptionId, int? addressId, required int loyaltyPoints, required double finalAmount, int? storeId})
→ Future<PaymentFrameModel>
-
It's used to confirm the order if the payment is
Credit card
. [...]
-
couponClear({required String couponCode, required int addressId, required int loyaltyPoints, required int customerId, int? storeId})
→ Future<CheckouCartSummaryModel>
-
It's used to remove coupon value
-
couponRedeem({required String couponCode, required int addressId, required int loyaltyPoints, required int customerId, int? storeId})
→ Future<CheckouCartSummaryModel>
-
It's used to apply coupon value
-
getDefaultAddress({required int customerId})
→ Future<AddressModel>
-
It's return the default address of the user.
-
getPaymentOptions()
→ Future<List<PaymentOptionsModel>>
-
It's return all Payment options available (COD - CC - Apple pay) [...]
-
getShipmentAddresses({required int customerId})
→ Future<List<AddressModel>>
-
It's return user shipmentAddresses. [...]
-
loyaltyPointsClear({required int customerId, required int addressId, required int loyaltyPoints, int? storeId})
→ Future<CheckouCartSummaryModel>
-
It's used to remove points
-
loyaltyPointsRedeem({required int customerId, required int addressId, required int loyaltyPoints, int? storeId})
→ Future<CheckouCartSummaryModel>
-
It's used to apply points
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a non-existent method or property is accessed. [...]
inherited
-
oneClickOrderDetails({required int customerId, required int qty, required int skuId})
→ Future<OneClickOrderDetailsModel>
-
It's used to return details like
default address - total - shipment fees
to use when making one click order.
-
oneClickOrderTriggeredDiscount({required int customerId, required int qty, required int skuId})
→ Future<OneClickOrderDetailsModel>
-
It will notify the user if he will have a discount while making one click order.
-
toString()
→ String
-
A string representation of this object. [...]
inherited