/// <summary> /// Updates the card associated with the Customer Payment Plan and/or its status /// </summary> /// <param name="customerPlanId"></param> /// <returns></returns> public HttpResponse <OkResponse> UpdateCustomerPaymentPlan(string customerPlanId, CustomerPaymentPlanUpdate requestModel) { return(new ApiHttpClient().PutRequest <OkResponse>(string.Format(ApiUrls.RecurringCustomerPaymentPlan, customerPlanId), AppSettings.SecretKey, requestModel)); }
public HttpResponse <OkResponse> UpdateCustomerPaymentPlan(string customerPlanId, CustomerPaymentPlanUpdate requestModel) { return(_recurringPaymentsServiceAsync.UpdateCustomerPaymentPlanAsync(customerPlanId, requestModel).Result); }
public Task <HttpResponse <OkResponse> > UpdateCustomerPaymentPlanAsync(string customerPlanId, CustomerPaymentPlanUpdate requestModel) { return(_apiHttpClient.PutRequest <OkResponse>(string.Format(_configuration.ApiUrls.RecurringCustomerPaymentPlan, customerPlanId), _configuration.SecretKey, requestModel)); }