Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Promotion.TacticRecord

This APEX class provides a wrapper to Promotion Tactic SObject Records. Each instance wraps an SObject Record related to the parent TPM_Promotion and provide methods to manipulate them in order to flag them for insertion or deletion. It also provides methods to extract the underlying SObject records so updates can be made.

Namespace

cgcloud

TPM_Promotion.TacticRecord Methods

The following are methods for TPM_Promotion.TacticRecord.

global Set<Id> getEffectiveBrands

Returns the read only list of effective brands of the tactic.

API Version

55

Signature

global Set<Id> getEffectiveBrands()

global Set<Id> getEffectiveCategories

Returns the read only list of effective categories of the tactic.

API Version

55

Signature

global Set<Id> getEffectiveCategories()

global TPM_ProductFilter getProductFilter

Returns the Product filter of the tactic.

API Version

55

Signature

global TPM_ProductFilter getProductFilter()