Payment constructor
Payment({
- required String id,
- Decimal? amount,
- String? beneficiaryId,
- String? currency,
- String? reference,
- String? reason,
- String? status,
- String? creatorContactId,
- PaymentType? paymentType,
- String? paymentDate,
- String? transferredAt,
- String? authorisationStepsRequired,
- String? lastUpdaterContactId,
- String? shortReference,
- String? conversionId,
- String? failureReason,
- String? payerId,
- String? payerDetailsSource,
- DateTime? createdAt,
- DateTime? updatedAt,
- String? paymentGroupId,
- String? uniqueRequestId,
- Decimal? failureReturnedAmount,
- String? ultimateBeneficiaryName,
Implementation
Payment({
required this.id,
this.amount,
this.beneficiaryId,
this.currency,
this.reference,
this.reason,
this.status,
this.creatorContactId,
this.paymentType,
this.paymentDate,
this.transferredAt,
this.authorisationStepsRequired,
this.lastUpdaterContactId,
this.shortReference,
this.conversionId,
this.failureReason,
this.payerId,
this.payerDetailsSource,
this.createdAt,
this.updatedAt,
this.paymentGroupId,
this.uniqueRequestId,
this.failureReturnedAmount,
this.ultimateBeneficiaryName,
});