UniInvoiceModel constructor
UniInvoiceModel({
- required String id,
- String status = '',
- int amount = 0,
- String currency = '',
- String description = '',
- String logoUrl = '',
- String amountFormat = '',
- String url = '',
- String callbackUrl = '',
- String expiredAt = '',
- String createdAt = '',
- String updatedAt = '',
- String backUrl = '',
- String successUrl = '',
- Map<
String, dynamic> metadata = const {},
Implementation
UniInvoiceModel({
required this.id,
this.status = '',
this.amount = 0,
this.currency = '',
this.description = '',
this.logoUrl = '',
this.amountFormat = '',
this.url = '',
this.callbackUrl = '',
this.expiredAt = '',
this.createdAt = '',
this.updatedAt = '',
this.backUrl = '',
this.successUrl = '',
this.metadata = const {},
});