confirmOrder method Null safety
It's used to confirm the order if the payment is Credit card
.
It will return the data of the payment gatway.
Implementation
Future<PaymentFrameModel> confirmOrder(
{required int customerId,
int? paymentOptionId,
int? addressId,
required int loyaltyPoints,
required double finalAmount,
int? storeId});