-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into chore/add-integration-tests-00
- Loading branch information
Showing
12 changed files
with
97 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
commercetools.Sdk/commercetools.Base.Abstractions/Serialization/IStreamSerializerService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
using System; | ||
using System.IO; | ||
using System.IO; | ||
|
||
namespace commercetools.Base.Serialization | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...etools.Sdk/commercetools.Sdk.Api/Generated/Models/Carts/DiscountedLineItemPortionDraft.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using commercetools.Sdk.Api.Models.Common; | ||
|
||
|
||
namespace commercetools.Sdk.Api.Models.Carts | ||
{ | ||
|
||
public partial class DiscountedLineItemPortionDraft : IDiscountedLineItemPortionDraft | ||
{ | ||
public IReference Discount { get; set; } | ||
|
||
public ITypedMoneyDraft DiscountedAmount { get; set; } | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...tools.Sdk/commercetools.Sdk.Api/Generated/Models/Carts/IDiscountedLineItemPortionDraft.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using commercetools.Sdk.Api.Models.Common; | ||
using commercetools.Base.CustomAttributes; | ||
|
||
// ReSharper disable CheckNamespace | ||
namespace commercetools.Sdk.Api.Models.Carts | ||
{ | ||
[DeserializeAs(typeof(commercetools.Sdk.Api.Models.Carts.DiscountedLineItemPortionDraft))] | ||
public partial interface IDiscountedLineItemPortionDraft | ||
{ | ||
IReference Discount { get; set; } | ||
|
||
ITypedMoneyDraft DiscountedAmount { get; set; } | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
...Sdk.Api/Predicates/Query/Generated/Carts/DiscountedLineItemPortionDraftQueryBuilderDsl.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
using System; | ||
|
||
// ReSharper disable CheckNamespace | ||
namespace commercetools.Sdk.Api.Predicates.Query.Carts | ||
{ | ||
|
||
public partial class DiscountedLineItemPortionDraftQueryBuilderDsl | ||
{ | ||
public DiscountedLineItemPortionDraftQueryBuilderDsl() | ||
{ | ||
} | ||
|
||
public static DiscountedLineItemPortionDraftQueryBuilderDsl Of() | ||
{ | ||
return new DiscountedLineItemPortionDraftQueryBuilderDsl(); | ||
} | ||
|
||
public CombinationQueryPredicate<DiscountedLineItemPortionDraftQueryBuilderDsl> Discount( | ||
Func<commercetools.Sdk.Api.Predicates.Query.Common.ReferenceQueryBuilderDsl, CombinationQueryPredicate<commercetools.Sdk.Api.Predicates.Query.Common.ReferenceQueryBuilderDsl>> fn) | ||
{ | ||
return new CombinationQueryPredicate<DiscountedLineItemPortionDraftQueryBuilderDsl>(ContainerQueryPredicate.Of() | ||
.Parent(ConstantQueryPredicate.Of().Constant("discount")) | ||
.Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Common.ReferenceQueryBuilderDsl.Of())), | ||
DiscountedLineItemPortionDraftQueryBuilderDsl.Of); | ||
} | ||
|
||
public CombinationQueryPredicate<DiscountedLineItemPortionDraftQueryBuilderDsl> DiscountedAmount( | ||
Func<commercetools.Sdk.Api.Predicates.Query.Common.TypedMoneyDraftQueryBuilderDsl, CombinationQueryPredicate<commercetools.Sdk.Api.Predicates.Query.Common.TypedMoneyDraftQueryBuilderDsl>> fn) | ||
{ | ||
return new CombinationQueryPredicate<DiscountedLineItemPortionDraftQueryBuilderDsl>(ContainerQueryPredicate.Of() | ||
.Parent(ConstantQueryPredicate.Of().Constant("discountedAmount")) | ||
.Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Common.TypedMoneyDraftQueryBuilderDsl.Of())), | ||
DiscountedLineItemPortionDraftQueryBuilderDsl.Of); | ||
} | ||
|
||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters