Click or drag to resize

CampaignDiscountItem Class

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

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 CampaignDiscountItem : IBusinessObject<CampaignDiscountItemData>

The CampaignDiscountItem type exposes the following members.

Constructors
  NameDescription
Public methodCampaignDiscountItem
Initializes a new instance of the CampaignDiscountItem class
Top
Properties
  NameDescription
Public propertyAddItemToOrder
Set this property to true if you want to add the item to the order if it does not already exist.
Public propertyCampaignDiscount
Gets or sets the campaign discount id.
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 propertyDiscountConditionHandler
Gets or sets the discount condition handler.
Public propertyDiscountPercentage
Gets or sets the discount percentage.
Public propertyId
Gets or sets the id.
Public propertyItemName
Gets or sets the item name, the property will be used together with the AddItemToOrder property.
Public propertyItemNumber
Gets or sets the item number.
Public propertyItemToMap
Gets or sets the item to map.
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