toString method

  1. @override
String toString()
override

Returns the CheckoutObject fields as a String object

Implementation

@override
String toString() {
  Map collection = {
    'description': description,
    'id': id,
    'isSuccessful': isSuccessful,
    'error': error.toString(),
    'name': name,
    'url': url,
    'pricingType': pricingType,
    'requestedInfo': requestedInfo
  };
  return collection.toString();
}