/// <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));
 }
예제 #2
0
 public HttpResponse <OkResponse> UpdateCustomerPaymentPlan(string customerPlanId, CustomerPaymentPlanUpdate requestModel)
 {
     return(_recurringPaymentsServiceAsync.UpdateCustomerPaymentPlanAsync(customerPlanId, requestModel).Result);
 }
예제 #3
0
 public Task <HttpResponse <OkResponse> > UpdateCustomerPaymentPlanAsync(string customerPlanId, CustomerPaymentPlanUpdate requestModel)
 {
     return(_apiHttpClient.PutRequest <OkResponse>(string.Format(_configuration.ApiUrls.RecurringCustomerPaymentPlan, customerPlanId), _configuration.SecretKey, requestModel));
 }