コード例 #1
0
        public void List(DataModel.Queries.PromotionTiersFilter filter, Action <ApiResponse <DataModel.PromotionTierList> > callback)
        {
            UriBuilder uriBuilder = UriBuilderExtension.WithQuery(this.client.GetUriBuilder("/promotions/tiers"), filter);

            this.client.DoGetRequest <DataModel.PromotionTierList>(uriBuilder.Uri, callback);
        }
コード例 #2
0
 public async Task<DataModel.PromotionTierList> List(DataModel.Queries.PromotionTiersFilter filter)
 {
     UriBuilder uriBuilder =  UriBuilderExtension.WithQuery(this.client.GetUriBuilder("/promotions/tiers"), filter);
     return await this.client.DoGetRequest<DataModel.PromotionTierList>(uriBuilder.Uri).ConfigureAwait(false);
 }