Skip to content

Commit

Permalink
Recurring order model change for GetRecurringOrder
Browse files Browse the repository at this point in the history
  • Loading branch information
Dušan Bobičić committed Sep 30, 2024
1 parent df73db8 commit afe664e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ public async Task<RecurringToken> GetRecurringTokenAsync(string recurringToken,
var data = await _sveaHttpClient.HttpGet<RecurringToken>(url, configureAwait);
return data;
}
public async Task<OrderData> GetRecurringOrderAsync(string recurringToken, long orderId, bool configureAwait = false)
public async Task<RecurringOrder> GetRecurringOrderAsync(string recurringToken, long orderId, bool configureAwait = false)
{
var url = new Uri($"/api/tokens/{recurringToken}/orders/{orderId}", UriKind.Relative);
var data = await _sveaHttpClient.HttpGet<OrderData>(url, configureAwait);
var data = await _sveaHttpClient.HttpGet<RecurringOrder>(url, configureAwait);
return data;
}
public async Task<ChangePaymentMethodResponse> ChangePaymentMethodAsync(ChangepaymentMethodModel changePaymentMethodModel, string recurringToken, bool configureAwait = false)
Expand Down

0 comments on commit afe664e

Please sign in to comment.