updateCheck method
Implementation
Future<Check> updateCheck({
required String checkId,
double? amount,
String? description,
String? expiresAt,
String? pointExpiresAt,
int? pointExpiresInDays,
}) async {
return await invokeMethod<Check>(
(j) => Check.fromJson(j),
'autogen_updateCheck',
{
'env': this.env.index,
'accessToken': this.accessToken,
'check_id': checkId,
'amount': amount,
'description': description,
'expires_at': expiresAt,
'point_expires_at': pointExpiresAt,
'point_expires_in_days': pointExpiresInDays,
},
);
}