/// <param name='operations'>
        /// Reference to the Pltkw3msApiUI2.ApiPayment.IPaymentStatus.
        /// </param>
        /// <param name='orderId'>
        /// Required.
        /// </param>
        /// <param name='cancellationToken'>
        /// Cancellation token.
        /// </param>
        public static async Task <string> GetPaymentStatusByOrderidAsync(this IPaymentStatus operations, string orderId, CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Microsoft.Rest.HttpOperationResponse <string> result = await operations.GetPaymentStatusByOrderidWithOperationResponseAsync(orderId, cancellationToken).ConfigureAwait(false);

            return(result.Body);
        }