PaymentResponse constructor
PaymentResponse({})
Implementation
PaymentResponse({
required this.status,
required this.message,
this.transactionId,
this.orderId,
this.provider,
this.errorCode,
this.rawResponse,
DateTime? timestamp,
this.amount,
this.currency,
this.metadata,
}) : timestamp = timestamp ?? DateTime.now();