Click or drag to resize

CampaignsHelper Class

Helper methods for campaign plugin.
Inheritance Hierarchy
SystemObject
  Atomia.Billing.Core.Sdk.BusinessLogicCampaignsHelper

Namespace:  Atomia.Billing.Core.Sdk.BusinessLogic
Assembly:  Atomia.Billing.Core.Sdk (in Atomia.Billing.Core.Sdk.dll) Version: 18.10.7096.28998
Syntax
public class CampaignsHelper

The CampaignsHelper type exposes the following members.

Constructors
  NameDescription
Public methodCampaignsHelper
Initializes a new instance of the CampaignsHelper class
Top
Methods
  NameDescription
Public methodStatic memberCampaignPromoCodesBulkDelete
Delete multiple campaing promo codes in one call
Public methodStatic memberDeleteCampaign
Delete single campaign
Public methodStatic memberDeleteCampaignsBulk
Delete multiple campaings in one call
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 methodStatic memberGenerateCampaignCodes
Generates multiple unique campaign codes in campaign object but don't save them. SaveCampaign method must be called to update campaign and save campaign codes
Public methodStatic memberGetCampaignByCode
Gets the campaign by the given campaign code.
Public methodStatic memberGetCampaignById
Gets the campaign by its Id
Public methodStatic memberGetCampaignByName
Gets the campaign by its name.
Public methodStatic memberGetCampaignCode
Gets the campaign code object for the given code.
Public methodStatic memberGetCampaigns
Gets the campaigns.
Public methodStatic memberGetCurrentCampaignsWithoutPromoCode
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodStatic memberGetPromoCodes
Gets promo codes for campaign or promo code set
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIsAnyCampaignWithCodeActive
Checks if any campaign with code in the system is active.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberSaveCampaign
Saves the campaign.
Public methodStatic memberSaveCampaignCode
Saves the campaign code.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also