ReportsClient class

A Client that helps manage reports and returns coinbase_exchange objects.

Inheritance

Constructors

ReportsClient({bool sandbox = false, required String apiKey, required String secretKey, required String passphrase})

Properties

apiKey String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
passphrase String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sandbox bool
getter/setter pair
secretKey String
getter/setter pair

Methods

createReport({DateTime? startDate, DateTime? endDate, required ReportTypeEnum type, DateTime? year, ReportFormatEnum? format, String? productId, String? accountId, String? email, String? profileId}) Future<Map>
Create a report
getAllReports({String? portfolioId, DateTime? after, int? limit, ReportTypeEnum? type, bool? ignoreExpired}) Future<List<Report>>
Get all reports
getReport({required String? reportId}) Future<Report>
Get a report
listDecode(String body) List<Map<String, dynamic>>
A helper function to decode lists from coinbase
inherited
mapDecode(String body) Map<String, dynamic>
A helper function to decode maps from coinbase
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited