Updating version + fixes
This commit is contained in:
Родитель
bfc84cd348
Коммит
d79c9b4787
|
@ -3,8 +3,11 @@
|
|||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// </copyright>
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
namespace Microsoft.Store.PartnerCenter.Samples.Customers
|
||||
{
|
||||
using Microsoft.Store.PartnerCenter.Models.ValidationStatus.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// A scenario that showcases retrieving a customer's validation status.
|
||||
/// </summary>
|
||||
|
@ -28,6 +31,8 @@ namespace Microsoft.Store.PartnerCenter.Samples.Customers
|
|||
var partnerOperations = this.Context.UserPartnerOperations;
|
||||
this.Context.ConsoleHelper.StartProgress($"Retrieving customer's validation status for type: {ValidationType.Account}");
|
||||
|
||||
var validationTypeToFetch = ValidationType.Account;
|
||||
|
||||
var customerValidationStatus = partnerOperations.Customers.ById(customerIdToRetrieve).ValidationStatus.GetValidationStatus(validationTypeToFetch);
|
||||
|
||||
this.Context.ConsoleHelper.StopProgress();
|
||||
|
|
|
@ -36,6 +36,7 @@ namespace Microsoft.Store.PartnerCenter.Samples
|
|||
using Subscriptions;
|
||||
using Utilization;
|
||||
using Validations;
|
||||
using ValidationStatus;
|
||||
|
||||
/// <summary>
|
||||
/// The main program class for the partner center .NET SDK samples.
|
||||
|
@ -241,6 +242,7 @@ namespace Microsoft.Store.PartnerCenter.Samples
|
|||
new GetCustomerQualifications(context),
|
||||
new CreateCustomerQualification(context),
|
||||
new CreateCustomerQualificationWithGCC(context),
|
||||
new GetValidationStatus(context),
|
||||
new DeleteCustomerFromTipAccount(context),
|
||||
new GetCustomerManagedServices(context),
|
||||
new GetCustomerRelationshipRequest(context),
|
||||
|
|
|
@ -45,21 +45,21 @@
|
|||
<Reference Include="Microsoft.Identity.Client, Version=4.31.0.0, Culture=neutral, PublicKeyToken=0a613f4dd989e8ae, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Identity.Client.4.31.0\lib\net461\Microsoft.Identity.Client.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Store.PartnerCenter, Version=2.0.1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Store.PartnerCenter.2.0.1\lib\netstandard2.0\Microsoft.Store.PartnerCenter.dll</HintPath>
|
||||
<Reference Include="Microsoft.Store.PartnerCenter, Version=3.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Store.PartnerCenter.3.0.0\lib\netstandard2.0\Microsoft.Store.PartnerCenter.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Store.PartnerCenter.Extensions, Version=2.0.1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Store.PartnerCenter.2.0.1\lib\netstandard2.0\Microsoft.Store.PartnerCenter.Extensions.dll</HintPath>
|
||||
<Reference Include="Microsoft.Store.PartnerCenter.Extensions, Version=3.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Store.PartnerCenter.3.0.0\lib\netstandard2.0\Microsoft.Store.PartnerCenter.Extensions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Store.PartnerCenter.Models, Version=2.0.1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Store.PartnerCenter.2.0.1\lib\netstandard2.0\Microsoft.Store.PartnerCenter.Models.dll</HintPath>
|
||||
<Reference Include="Microsoft.Store.PartnerCenter.Models, Version=3.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Store.PartnerCenter.3.0.0\lib\netstandard2.0\Microsoft.Store.PartnerCenter.Models.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.12.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.ComponentModel.Annotations, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.ComponentModel.Annotations.4.7.0\lib\net461\System.ComponentModel.Annotations.dll</HintPath>
|
||||
<HintPath>..\packages\System.ComponentModel.Annotations.5.0.0\lib\net461\System.ComponentModel.Annotations.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||
<Reference Include="System.configuration" />
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Microsoft.Identity.Client" version="4.31.0" targetFramework="net461" />
|
||||
<package id="Microsoft.Store.PartnerCenter" version="2.0.1" targetFramework="net461" />
|
||||
<package id="Microsoft.Store.PartnerCenter" version="3.0.0" targetFramework="net461" />
|
||||
<package id="Newtonsoft.Json" version="12.0.2" targetFramework="net461" />
|
||||
<package id="System.ComponentModel.Annotations" version="4.7.0" targetFramework="net461" />
|
||||
<package id="System.ComponentModel.Annotations" version="5.0.0" targetFramework="net461" />
|
||||
<package id="System.Data.DataSetExtensions" version="4.5.0" targetFramework="net461" />
|
||||
<package id="System.Net.Http" version="4.3.4" targetFramework="net461" />
|
||||
<package id="System.Security.Cryptography.Algorithms" version="4.3.1" targetFramework="net461" />
|
||||
|
|
Загрузка…
Ссылка в новой задаче