コード例 #1
0
        public Task DeleteStoredCardAsync(DeleteStoredCardRequest deleteStoredCardRequest)
        {
            var query = RequestQueryParamsBuilder.BuildQueryParam(deleteStoredCardRequest);
            var path  = "/payment/v1/cards" + query;

            return(AsyncRestClient.Delete <object>(RequestOptions.BaseUrl + path, CreateHeaders(path, RequestOptions)));
        }
コード例 #2
0
 public Task DeleteProductAsync(long id)
 {
     var path = "/craftlink/v1/products/" + id;
     return AsyncRestClient.Delete<object>(RequestOptions.BaseUrl + path, CreateHeaders(path, RequestOptions));
 }