public virtual Task <Discount> UpdateDiscountAsync(string discountId, DiscountOptions options) { var url = string.Format(Urls.Discount, discountId); return(_httpClient.PutObject <Discount>(url, options)); }
public virtual Task <Discount> PostDiscountAsync(DiscountOptions options) { return(_httpClient.PostObject <Discount>(Urls.Discounts, options)); }