toString method

  1. @override
String toString()
override

Returns the InvoiceObject as a String object.

Implementation

@override
String toString() {
  Map collection = {
    'businessName': businessName,
    'isSuccessful': isSuccessful,
    'error': error.toString(),
    'charge': charge.toString(),
    'code': code,
    'status': status,
    'customerEmail': customerEmail,
    'customerName': customerName,
    'memo': memo,
    'createdAt': createdAt,
    'updatedAt': updatedAt,
    'localPrice': localPrice,
    'url': url
  };
  return collection.toString();
}