getPrivateMoneyCoupons method

Future<PaginatedCoupons> getPrivateMoneyCoupons({
  1. required String privateMoneyId,
  2. String? before,
  3. String? after,
  4. int? perPage,
})

Implementation

Future<PaginatedCoupons> getPrivateMoneyCoupons({
  required String privateMoneyId,
  String? before,
  String? after,
  int? perPage,
}) async {
  return await invokeMethod<PaginatedCoupons>(
    (j) => PaginatedCoupons.fromJson(j),
    'getPrivateMoneyCoupons',
    {
      'env': this.env.index,
      'accessToken': this.accessToken,
      'privateMoneyId': privateMoneyId,
      'before': before,
      'after': after,
      'perPage': perPage,
    },
  );
}