PropagaPayment constructor

PropagaPayment({
  1. required double totalAmount,
  2. required String token,
  3. required String cornerStoreId,
  4. required String wholesalerTransactionId,
  5. required List<Products> products,
  6. required void onSuccessTransaction(
    1. PropagaResponse
    ),
  7. required void onErrorTransaction(
    1. PropagaError
    ),
})

Implementation

PropagaPayment({
  required this.totalAmount,
  required this.token,
  required this.cornerStoreId,
  required this.wholesalerTransactionId,
  required this.products,
  required this.onSuccessTransaction,
  required this.onErrorTransaction,
});