CampaignsHelperGenerateCampaignCodes Method |
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
Namespace:
Atomia.Billing.Core.Sdk.BusinessLogic
Assembly:
Atomia.Billing.Core.Sdk (in Atomia.Billing.Core.Sdk.dll) Version: 18.10.7096.28998
Syntax public static Campaign GenerateCampaignCodes(
Campaign createdCampaign,
CampaignCodeGeneratorSettings settings
)
Public Shared Function GenerateCampaignCodes (
createdCampaign As Campaign,
settings As CampaignCodeGeneratorSettings
) As Campaign
public:
static Campaign^ GenerateCampaignCodes(
Campaign^ createdCampaign,
CampaignCodeGeneratorSettings^ settings
)
static member GenerateCampaignCodes :
createdCampaign : Campaign *
settings : CampaignCodeGeneratorSettings -> Campaign
Parameters
- createdCampaign
- Type: Atomia.Billing.Core.Sdk.BusinessObjectsCampaign
Campaign for which campaign codes are created. - settings
- Type: Atomia.Billing.Core.Sdk.BusinessObjectsCampaignCodeGeneratorSettings
CampaignCodesGeneratorSettings property which is used for creating campaign codes.
Return Value
Type:
Campaign[Missing <returns> documentation for "M:Atomia.Billing.Core.Sdk.BusinessLogic.CampaignsHelper.GenerateCampaignCodes(Atomia.Billing.Core.Sdk.BusinessObjects.Campaign,Atomia.Billing.Core.Sdk.BusinessObjects.CampaignCodeGeneratorSettings)"]
See Also