---
schema_version: "1"
id: 5624a95caa8d8d7562471b8d958d68686da367657fe4b996de8eda4374823070
title: RE_TacticTransfer Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/retail_api/RE_tactic_transfer_class.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/RE_tactic_transfer_class.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3f7ddc49387ecdfa51d1b5f29695e41257ea73765645fc01e9601eabd4dfc1b4
description: The RE_TacticTransfer Apex class provides programmatic access to the RE_TacticTransfer sObject and its related sObjects.
---
# RE\_TacticTransfer Class

The RE\_TacticTransfer Apex class provides programmatic access to the RE\_TacticTransfer sObject and its related sObjects.

The RE\_TacticTransfer class contains:

- A List object of type cgcloud.RE\_TacticTransfer with all the managed package tactic data.
    
    List<cgcloud.RE\_TacticTransfer> tacticProductTransferWrapper = (List<cgcloud.RE\_TacticTransfer>) params.get('tacticTransfer');
- A List object of type cgcloud.RE\_TacticTransfer with all the tactic data.
    
    List<cgcloud\_\_Tactic\_\_c> targetTacticList = (List<cgcloud\_\_Tactic\_\_c>) params.get('targetTacticList');
- A List object of type Promotion\_\_c with all the promotion data.
    
    List<cgcloud\_\_Promotion\_\_c> targetPromotionList = (List<cgcloud\_\_Promotion\_\_c>) params.get('targetPromotionList');
- A Boolean flag to determine if the record is a tactic product
    
    Boolean isTacticProduct = (Boolean)params.get('isTacticProduct');

## Namespace

cgcloud

## Example Implementation

cgcloud.RE\_TacticTransfer tacticTransfer;

## Supported Methods

<table class="featureTable sort_table" summary="">
          <caption><span class="tablecap">Table 1. RE_TacticTransfer Supported Methods</span></caption>



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d13321e131">Method signature</th>

              <th class="featureTableHeader  " id="d13321e134">Description</th>

              <th class="featureTableHeader  " id="d13321e137">Version</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d13321e131" data-title="Method signature"><samp class="codeph nolang">global RE_TacticTransfer.Record
                  addTacticProduct(Tactic_Product__c tacticProduct)</samp></td>

              <td class="entry" headers="d13321e134" data-title="Description">Adds a new tactic product to the tactic.</td>

              <td class="entry" headers="d13321e137" data-title="Version">60.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d13321e131" data-title="Method signature"><samp class="codeph nolang">global SObject getRecord()</samp></td>

              <td class="entry" headers="d13321e134" data-title="Description">Returns the full sObject. <p class="p">To get the missing ID of the sObject, use the <samp class="codeph nolang">getId()</samp> method of the record wrapper.</p>
              </td>

              <td class="entry" headers="d13321e137" data-title="Version">60.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d13321e131" data-title="Method signature"><samp class="codeph nolang">global RE_TacticTransfer.Record
                  getTactic()</samp></td>

              <td class="entry" headers="d13321e134" data-title="Description">Returns the main <samp class="codeph nolang">tacticTransfer</samp> record.</td>

              <td class="entry" headers="d13321e137" data-title="Version">60.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d13321e131" data-title="Method signature"><samp class="codeph nolang">global List&lt;RE_TacticTransfer.TacticRecord&gt;
                  getTactics</samp></td>

              <td class="entry" headers="d13321e134" data-title="Description">Returns a&nbsp;list of <samp class="codeph nolang">RE_TacticTransfer.TacticRecord</samp>&nbsp;instances with the tactic contents.</td>

              <td class="entry" headers="d13321e137" data-title="Version">60.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d13321e131" data-title="Method signature"><samp class="codeph nolang">global List&lt;RE_TacticTransfer.Record&gt;
                  getTacticProducts()</samp></td>

              <td class="entry" headers="d13321e134" data-title="Description">Returns a filtered&nbsp;list of <samp class="codeph nolang">RE_PromotionTransfer.Record</samp>&nbsp;instances with the tactic contents.</td>

              <td class="entry" headers="d13321e137" data-title="Version">60.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d13321e131" data-title="Method signature"><samp class="codeph nolang">global RE_TacticTransfer(Tactic__c
                  tacticSObject)</samp></td>

              <td class="entry" headers="d13321e134" data-title="Description">Constructor that loads all related data for the given <samp class="codeph nolang">tacticTransfer</samp> ID.</td>

              <td class="entry" headers="d13321e137" data-title="Version">60.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d13321e131" data-title="Method signature"><samp class="codeph nolang">global void setIsDeleted(Boolean value)</samp></td>

              <td class="entry" headers="d13321e134" data-title="Description">Sets the <samp class="codeph nolang">isDeleted</samp> flag for the record.</td>

              <td class="entry" headers="d13321e137" data-title="Version">60.0</td>

            </tr>

          </tbody>

        </table>