Click or drag to resize

CampaignsHelperGetCampaignById Method

Gets the campaign by its Id

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 GetCampaignById(
	Guid campaignId,
	bool includePromoCodes
)

Parameters

campaignId
Type: SystemGuid
The campaign Id
includePromoCodes
Type: SystemBoolean
Marks if returned campaign will contains promo codes or not.

Return Value

Type: Campaign
Requested campaign or null if not found.
See Also