/// <summary> /// Initiate non SEPA foreign transfers /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='nonEEARequest'> /// Data for non SEPA foreign transfer /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <object> NonEEAAsync(this IPolishAPI operations, PaymentNonEEARequest nonEEARequest, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.NonEEAWithHttpMessagesAsync(nonEEARequest, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// Initiate non SEPA foreign transfers /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='nonEEARequest'> /// Data for non SEPA foreign transfer /// </param> public static object NonEEA(this IPolishAPI operations, PaymentNonEEARequest nonEEARequest) { return(operations.NonEEAAsync(nonEEARequest).GetAwaiter().GetResult()); }