getCvsAuthorization method

Future<CvsAuthorization> getCvsAuthorization({
  1. required String accountId,
  2. required String orderId,
})

Implementation

Future<CvsAuthorization> getCvsAuthorization({
  required String accountId,
  required String orderId,
}) async {
  return await invokeMethod<CvsAuthorization>(
    (j) => CvsAuthorization.fromJson(j),
    'getCvsAuthorization',
    {
      'env': this.env.index,
      'accessToken': this.accessToken,
      'accountId': accountId,
      'orderId': orderId,
    },
  );
}