Click or drag to resize

CampaignDiscount Class

Campaign discount business representation class.
Inheritance Hierarchy
SystemObject
  Atomia.Billing.Core.Sdk.BusinessObjectsCampaignDiscount

Namespace:  Atomia.Billing.Core.Sdk.BusinessObjects
Assembly:  Atomia.Billing.Core.Sdk (in Atomia.Billing.Core.Sdk.dll) Version: 18.10.7096.28998
Syntax
public class CampaignDiscount : IBusinessObject<CampaignDiscountData>

The CampaignDiscount type exposes the following members.

Constructors
  NameDescription
Public methodCampaignDiscount
Initializes a new instance of the CampaignDiscount class.
Top
Properties
  NameDescription
Public propertyCampaign
Gets or sets the campaign.
Public propertyCampaignDiscountConditions
Gets or sets the campaign discount conditions.
Public propertyCampaignDiscountItems
Gets or sets the campaign discount items.
Public propertyClientType
Gets or sets a client type.
Public propertyCurrencyCode
Gets or sets the currency code.
Public propertyDataObject
Gets or sets the data object. When getting data object it creates a new object from the database.
Public propertyDiscountAmount
Gets or sets the discount amount.
Public propertyDiscountPercentage
Gets or sets the discount percentage.
Public propertyId
Gets or sets the id.
Public propertyIsDiscountTransferable
Gets or sets if discount should transfer on renewal or not.
Public propertyIsExclusive
Gets or sets a value indicating whether this instance is exclusive.
Public propertyLimits
Gets or sets the limits.
Public propertyMinimalOrderAmount
Gets or sets a minimal order amount condition.
Public propertyPriority
Gets or sets the priority.
Public propertySortByPrice
Gets or sets the sort by price.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateDataObject
Updates the data object by merging it's properties with the properties from the current business object.
Top
See Also