OrderPayment constructor

OrderPayment({
  1. OrderPaymentStatusEnum? status,
  2. OrderPaymentMethodEnum? method,
  3. Money? amount,
  4. OrderPaymentWallet? wallet,
  5. PaymentFailure? failure,
})

Returns a new OrderPayment instance.

Implementation

OrderPayment({
  this.status,
  this.method,
  this.amount,
  this.wallet,
  this.failure,
});