VoucherDefinition

Represents details about a voucher definition that’s used to issue vouchers. This object is available in API version 51.0 and later.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see VoucherDefinition in the Loyalty Management Developer Guide and Referral Marketing Developer Guide.

Field NameField LabelTypeDigitsLengthPrecisionScale
AutogeneratedCodeLengthAutogenerated Code Lengthint9   
CodePrefixCode Prefixstring 64  
CodeSuffixCode Suffixstring 64  
CostPerVoucherCost Per Vouchercurrency  182
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
CurrencyIsoCodeCurrency ISO Codepicklist 3  
DescriptionDescriptiontextarea 1000  
DiscountPercentDiscount Percentageint9   
EffectiveDateEffective Datedate    
EffectiveDateTimeEffective Date Timedatetime    
ExpirationDateExpiration Datedate    
ExpirationDateTimeExpiration Date Timedatetime    
ExpirationPeriodExpiration Periodint9   
ExpirationPeriodUnitExpiration Period Unitpicklist 255  
ExpirationTypeExpiration Typepicklist 255  
FaceValueFace Valuecurrency  182
HasTimeBasedVoucherPeriodTime-Based Voucher Periodboolean    
IdVoucher Definition IDid 18  
ImageUrlImage URLurl 1000  
IsActiveActiveboolean    
IsDeletedDeletedboolean    
IsPartialRedeemablePartial Redeemableboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
LastReferencedDateLast Referenced Datedatetime    
LastViewedDateLast Viewed Datedatetime    
LoyaltyProgramIdLoyalty Program IDreference 18  
NameNamestring 255  
OwnerIdOwner IDreference 18  
PartnerAccountIdAccount IDreference 18  
ProductCategoryDerivedFieldIdCategory IDreference 18  
ProductDerivedFieldIdProduct IDreference 18  
ProductIdProduct IDreference 18  
SystemModstampSystem Modstampdatetime    
TypeTypepicklist 255  

History for tracked fields of VoucherDefinition.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameHistory in the Object Reference for the Salesforce Platform.

Field NameField LabelTypeDigitsLengthPrecisionScale
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
DataTypeDatatypepicklist 40  
FieldChanged Fieldpicklist 255  
IdVoucher Definition History IDid 18  
IsDeletedDeletedboolean    
NewValueNew ValueanyType 255  
OldValueOld ValueanyType 255  
VoucherDefinitionIdVoucher Definition IDreference 18  

Sharing for VoucherDefinition.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameShare in the Object Reference for the Salesforce Platform.

Field NameField LabelTypeDigitsLengthPrecisionScale
AccessLevelCustom Object Accesspicklist 40  
IdCustom Object Share IDid 18  
IsDeletedDeletedboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
ParentIdParent IDreference 18  
RowCauseRow Causepicklist 40  
UserOrGroupIdUser/Group IDreference 18