Esempio n. 1
0
 public void CreateProduct(ShoppyProductUpdate product)
 {
     MakeRequest("PUT", "/products/", product);
 }
Esempio n. 2
0
 public void UpdateProduct(string id, ShoppyProductUpdate product)
 {
     MakeRequest("POST", "/products/" + id, product);
 }
Esempio n. 3
0
 public ShoppyPayResponse Pay(ShoppyProductUpdate options)
 {
     return(MakeRequest("POST", "/pay", new { product = options }).Body.ToObject <JObject>().Value <JObject>("details").ToObject <ShoppyPayResponse>());
 }