Invoice constructor
const
Invoice({
- required String number,
- required String asset,
- required String blockchain,
- String? network,
- required String status,
- required String amount,
- String? description,
- dynamic metadata,
- String? checkoutUrl,
- String? onchainUrl,
- String? successUrl,
- String? cancelUrl,
- String? explorerUrl,
- DateTime? expiresAt,
- required DateTime createdAt,
- DateTime? updatedAt,
Invoice model.
Implementation
const Invoice({
required this.number,
required this.asset,
required this.blockchain,
this.network,
required this.status,
required this.amount,
this.description,
this.hiddenMessage,
this.metadata,
this.checkoutUrl,
this.onchainUrl,
this.successUrl,
this.cancelUrl,
this.explorerUrl,
this.expiresAt,
required this.createdAt,
this.updatedAt,
});