getAccountCoupons method
Implementation
Future<PaginatedAccountCoupons> getAccountCoupons({
required String accountId,
String? isAvailable,
String? before,
String? after,
int? perPage,
}) async {
return await invokeMethod<PaginatedAccountCoupons>(
(j) => PaginatedAccountCoupons.fromJson(j),
'autogen_getAccountCoupons',
{
'env': this.env.index,
'accessToken': this.accessToken,
'account_id': accountId,
'is_available': isAvailable,
'before': before,
'after': after,
'per_page': perPage,
},
);
}