toJson method
Implementation
Map<String, dynamic> toJson() => {
if (cashReceiptType != null) 'cashReceiptType': cashReceiptType!.toJson(),
if (customerIdentifier != null) 'customerIdentifier': customerIdentifier!,
if (bankCode != null) 'bankCode': bankCode!.toJson(),
};