public virtual RecurringCharge UpdateRecurringCharge(string id, RecurringChargeOptions options) { var url = string.Format("{0}/{1}", Urls.RecurringCharges, id); var response = Requestor.PutJson(url, ParameterBuilder.BuildJsonPostParameters(options), SecretKey); return(Mapper <RecurringCharge> .MapFromJson(response)); }
public virtual RecurringCharge RecurringCharge(RecurringChargeOptions options) { var response = Requestor.PostJson( Urls.RecurringCharges, ParameterBuilder.BuildJsonPostParameters(options), SecretKey); return(Mapper <RecurringCharge> .MapFromJson(response)); }