PaymentDetailsEntity constructor
PaymentDetailsEntity({})
Creates a PaymentDetailsEntity with the specified parameters.
All parameters are optional, but for a valid payment, at minimum the following should be provided:
amountcurrencymerchantOrderIdredirectUrl
Implementation
PaymentDetailsEntity({
this.amount,
this.currency,
this.merchantOrderId,
this.orderPurpose,
this.notifyCustomer,
this.customerDetails,
this.redirectUrl,
this.createdAt,
this.paymentLink,
this.orderStatus,
this.orderId,
this.sendReceiptToCustomer,
});