---
schema_version: "1"
id: 8045834584334eb43c70403af52ef1524b58370bd20bf78a1bc59a245b30de91
title: RE_PromotionTransfer Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/retail_api/RE_promotion_transfer_class.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/RE_promotion_transfer_class.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 2d379cb0005699429176cbc9160dd074344b2e89058d40411c78ee7dee4b17a2
description: The RE_PromotionTransfer Apex class provides programmatic access to the RE_PromotionTransfer sObject and its related sObjects.
---
# RE\_PromotionTransfer Class

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

## Namespace

cgcloud

## Example Implementation

cgcloud.RE\_PromotionTransfer promotionTransfer;

## Supported Methods

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



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

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

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

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d12743e83" data-title="Method signature"><samp class="codeph nolang">global Boolean isNew()</samp></td>

              <td class="entry" headers="d12743e86" data-title="Description">Indicates whether the <samp class="codeph nolang">promotionTransfer</samp> record is
                new (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>).</td>

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

            </tr>

            <tr>
              <td class="entry" headers="d12743e83" data-title="Method signature"><samp class="codeph nolang">global Boolean isDeleted()</samp></td>

              <td class="entry" headers="d12743e86" data-title="Description">Indicates whether the <samp class="codeph nolang">promotionTransfer</samp> record is
                deleted (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>).</td>

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

            </tr>

            <tr>
              <td class="entry" headers="d12743e83" data-title="Method signature"><samp class="codeph nolang">global RE_PromotionTransfer.Record
                  getPromotion()</samp></td>

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

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

            </tr>

            <tr>
              <td class="entry" headers="d12743e83" data-title="Method signature"><samp class="codeph nolang">global RE_PromotionTransfer(cgcloud__Promotion__c
                  promotionSObject)</samp></td>

              <td class="entry" headers="d12743e86" data-title="Description">Constructor that loads all the related data of the given <samp class="codeph nolang">promotionTransfer</samp> record ID.</td>

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

            </tr>

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

              <td class="entry" headers="d12743e86" data-title="Description">Returns the full <samp class="codeph nolang">cgcloud__Promotion__c</samp> 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="d12743e89" data-title="Version">60.0</td>

            </tr>

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

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

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

            </tr>

          </tbody>

        </table>