toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'merchant_uuid': merchant_uuid,
'merchant_op_id': merchant_op_id,
'amount': amount.toMap(),
'description': description,
'return_url': return_url,
'currency': currency,
'items': items.map((x) => x.toMap()).toList(),
'invoice_number': invoice_number,
'cancel_url': cancel_url,
'buyer_identity_code': buyer_identity_code,
'terminal_id': terminal_id,
};
}