-
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.
Co-authored-by: Auto Mation <[email protected]>
- Loading branch information
1 parent
ef1818a
commit 9de7f7c
Showing
23 changed files
with
588 additions
and
6 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
17 changes: 17 additions & 0 deletions
17
...rcetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceAddedMessage.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,17 @@ | ||
using commercetools.Sdk.Api.Models.Common; | ||
using commercetools.Base.CustomAttributes; | ||
|
||
|
||
namespace commercetools.Sdk.Api.Models.Messages | ||
{ | ||
[DeserializeAs(typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceAddedMessage))] | ||
public partial interface IProductPriceAddedMessage : IMessage | ||
{ | ||
long VariantId { get; set; } | ||
|
||
IPrice Price { get; set; } | ||
|
||
bool Staged { get; set; } | ||
|
||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...s.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceAddedMessagePayload.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,17 @@ | ||
using commercetools.Sdk.Api.Models.Common; | ||
using commercetools.Base.CustomAttributes; | ||
|
||
|
||
namespace commercetools.Sdk.Api.Models.Messages | ||
{ | ||
[DeserializeAs(typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceAddedMessagePayload))] | ||
public partial interface IProductPriceAddedMessagePayload : IMessagePayload | ||
{ | ||
long VariantId { get; set; } | ||
|
||
IPrice Price { get; set; } | ||
|
||
bool Staged { get; set; } | ||
|
||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...etools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceChangedMessage.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,21 @@ | ||
using commercetools.Sdk.Api.Models.Common; | ||
using commercetools.Base.CustomAttributes; | ||
|
||
|
||
namespace commercetools.Sdk.Api.Models.Messages | ||
{ | ||
[DeserializeAs(typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceChangedMessage))] | ||
public partial interface IProductPriceChangedMessage : IMessage | ||
{ | ||
long VariantId { get; set; } | ||
|
||
IPrice OldPrice { get; set; } | ||
|
||
IPrice NewPrice { get; set; } | ||
|
||
bool Staged { get; set; } | ||
|
||
IPrice OldStagedPrice { get; set; } | ||
|
||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceChangedMessagePayload.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,21 @@ | ||
using commercetools.Sdk.Api.Models.Common; | ||
using commercetools.Base.CustomAttributes; | ||
|
||
|
||
namespace commercetools.Sdk.Api.Models.Messages | ||
{ | ||
[DeserializeAs(typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceChangedMessagePayload))] | ||
public partial interface IProductPriceChangedMessagePayload : IMessagePayload | ||
{ | ||
long VariantId { get; set; } | ||
|
||
IPrice OldPrice { get; set; } | ||
|
||
IPrice NewPrice { get; set; } | ||
|
||
bool Staged { get; set; } | ||
|
||
IPrice OldStagedPrice { get; set; } | ||
|
||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...etools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceModeSetMessage.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.Products; | ||
using commercetools.Base.CustomAttributes; | ||
|
||
|
||
namespace commercetools.Sdk.Api.Models.Messages | ||
{ | ||
[DeserializeAs(typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceModeSetMessage))] | ||
public partial interface IProductPriceModeSetMessage : IMessage | ||
{ | ||
IProductPriceModeEnum To { get; set; } | ||
|
||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceModeSetMessagePayload.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.Products; | ||
using commercetools.Base.CustomAttributes; | ||
|
||
|
||
namespace commercetools.Sdk.Api.Models.Messages | ||
{ | ||
[DeserializeAs(typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceModeSetMessagePayload))] | ||
public partial interface IProductPriceModeSetMessagePayload : IMessagePayload | ||
{ | ||
IProductPriceModeEnum To { get; set; } | ||
|
||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...etools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceRemovedMessage.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,17 @@ | ||
using commercetools.Sdk.Api.Models.Common; | ||
using commercetools.Base.CustomAttributes; | ||
|
||
|
||
namespace commercetools.Sdk.Api.Models.Messages | ||
{ | ||
[DeserializeAs(typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceRemovedMessage))] | ||
public partial interface IProductPriceRemovedMessage : IMessage | ||
{ | ||
long VariantId { get; set; } | ||
|
||
IPrice Price { get; set; } | ||
|
||
bool Staged { get; set; } | ||
|
||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceRemovedMessagePayload.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,17 @@ | ||
using commercetools.Sdk.Api.Models.Common; | ||
using commercetools.Base.CustomAttributes; | ||
|
||
|
||
namespace commercetools.Sdk.Api.Models.Messages | ||
{ | ||
[DeserializeAs(typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceRemovedMessagePayload))] | ||
public partial interface IProductPriceRemovedMessagePayload : IMessagePayload | ||
{ | ||
long VariantId { get; set; } | ||
|
||
IPrice Price { get; set; } | ||
|
||
bool Staged { get; set; } | ||
|
||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceSetMessage.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,21 @@ | ||
using commercetools.Sdk.Api.Models.Common; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using commercetools.Base.CustomAttributes; | ||
|
||
|
||
namespace commercetools.Sdk.Api.Models.Messages | ||
{ | ||
[DeserializeAs(typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceSetMessage))] | ||
public partial interface IProductPriceSetMessage : IMessage | ||
{ | ||
long VariantId { get; set; } | ||
|
||
IList<IPrice> Prices { get; set; } | ||
IEnumerable<IPrice> PricesEnumerable { set => Prices = value.ToList(); } | ||
|
||
|
||
bool Staged { get; set; } | ||
|
||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...ols.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceSetMessagePayload.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,21 @@ | ||
using commercetools.Sdk.Api.Models.Common; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using commercetools.Base.CustomAttributes; | ||
|
||
|
||
namespace commercetools.Sdk.Api.Models.Messages | ||
{ | ||
[DeserializeAs(typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceSetMessagePayload))] | ||
public partial interface IProductPriceSetMessagePayload : IMessagePayload | ||
{ | ||
long VariantId { get; set; } | ||
|
||
IList<IPrice> Prices { get; set; } | ||
IEnumerable<IPrice> PricesEnumerable { set => Prices = value.ToList(); } | ||
|
||
|
||
bool Staged { get; set; } | ||
|
||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...ercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceAddedMessage.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,42 @@ | ||
using commercetools.Sdk.Api.Models.Common; | ||
using System; | ||
|
||
|
||
namespace commercetools.Sdk.Api.Models.Messages | ||
{ | ||
|
||
public partial class ProductPriceAddedMessage : IProductPriceAddedMessage | ||
{ | ||
public string Id { get; set; } | ||
|
||
public long Version { get; set; } | ||
|
||
public DateTime CreatedAt { get; set; } | ||
|
||
public DateTime LastModifiedAt { get; set; } | ||
|
||
public ILastModifiedBy LastModifiedBy { get; set; } | ||
|
||
public ICreatedBy CreatedBy { get; set; } | ||
|
||
public long SequenceNumber { get; set; } | ||
|
||
public IReference Resource { get; set; } | ||
|
||
public long ResourceVersion { get; set; } | ||
|
||
public string Type { get; set; } | ||
|
||
public IUserProvidedIdentifiers ResourceUserProvidedIdentifiers { get; set; } | ||
|
||
public long VariantId { get; set; } | ||
|
||
public IPrice Price { get; set; } | ||
|
||
public bool Staged { get; set; } | ||
public ProductPriceAddedMessage() | ||
{ | ||
this.Type = "ProductPriceAdded"; | ||
} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...ls.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceAddedMessagePayload.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,21 @@ | ||
using commercetools.Sdk.Api.Models.Common; | ||
|
||
|
||
namespace commercetools.Sdk.Api.Models.Messages | ||
{ | ||
|
||
public partial class ProductPriceAddedMessagePayload : IProductPriceAddedMessagePayload | ||
{ | ||
public string Type { get; set; } | ||
|
||
public long VariantId { get; set; } | ||
|
||
public IPrice Price { get; set; } | ||
|
||
public bool Staged { get; set; } | ||
public ProductPriceAddedMessagePayload() | ||
{ | ||
this.Type = "ProductPriceAdded"; | ||
} | ||
} | ||
} |
Oops, something went wrong.