toString method
Returns the ChargeObject fields as a String object
Implementation
@override
String toString() {
Map collection = {
'metaData': metaData,
'name': name,
'isSuccessful': isSuccessful,
'error': error.toString(),
'description': description,
'pricingType': pricingType,
'addresses': addresses,
'code': code,
'createdAt': createdAt,
'exchangeRate': exchangeRate,
'expiresAt': expiresAt,
'url': url,
'id': id,
'payments': payments,
'supportEmail': supportEmail,
'timeline': timeline
};
return collection.toString();
}