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
)
Public Shared Function GetCampaignById (
campaignId As Guid,
includePromoCodes As Boolean
) As Campaign
public:
static Campaign^ GetCampaignById(
Guid campaignId,
bool includePromoCodes
)
static member GetCampaignById :
campaignId : Guid *
includePromoCodes : bool -> Campaign
Parameters
- campaignId
- Type: SystemGuid
The campaign Id - includePromoCodes
- Type: SystemBoolean
Marks if returned campaign will contains promo codes or not.
Return Value
Type:
CampaignRequested campaign or
null if not found.
See Also