Class ProductChange
The change that happened to the product including old value, new value, country code as the region code and reporting context.
Implements
Namespace: Google.Shopping.Merchant.Notifications.V1Beta
Assembly: Google.Shopping.Merchant.Notifications.V1Beta.dll
Syntax
public sealed class ProductChange : IMessage<ProductChange>, IEquatable<ProductChange>, IDeepCloneable<ProductChange>, IBufferMessage, IMessage
Constructors
ProductChange()
Declaration
public ProductChange()
ProductChange(ProductChange)
Declaration
public ProductChange(ProductChange other)
Parameters
Type | Name | Description |
---|---|---|
ProductChange | other |
Properties
HasNewValue
Gets whether the "new_value" field is set
Declaration
public bool HasNewValue { get; }
Property Value
Type | Description |
---|---|
bool |
HasOldValue
Gets whether the "old_value" field is set
Declaration
public bool HasOldValue { get; }
Property Value
Type | Description |
---|---|
bool |
HasRegionCode
Gets whether the "region_code" field is set
Declaration
public bool HasRegionCode { get; }
Property Value
Type | Description |
---|---|
bool |
HasReportingContext
Gets whether the "reporting_context" field is set
Declaration
public bool HasReportingContext { get; }
Property Value
Type | Description |
---|---|
bool |
NewValue
The new value of the changed resource or attribute.
Declaration
public string NewValue { get; set; }
Property Value
Type | Description |
---|---|
string |
OldValue
The old value of the changed resource or attribute.
Declaration
public string OldValue { get; set; }
Property Value
Type | Description |
---|---|
string |
RegionCode
Countries that have the change (if applicable)
Declaration
public string RegionCode { get; set; }
Property Value
Type | Description |
---|---|
string |
ReportingContext
Reporting contexts that have the change (if applicable)
Declaration
public ReportingContext.Types.ReportingContextEnum ReportingContext { get; set; }
Property Value
Type | Description |
---|---|
ReportingContext.Types.ReportingContextEnum |