Newer Version Available

This content describes an older version of this product. View Latest

VoucherDefinition

Represents details about a voucher definition that’s associated with a loyalty program.

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.

Fields

Field Name Field Label Type Digits Length Precision Scale
AutogeneratedCodeLength Autogenerated Code Length int 9
CodePrefix Code Prefix string 64
CodeSuffix Code Suffix string 64
CostPerVoucher Cost Per Voucher currency 18 2
CreatedById Created By ID reference 18
CreatedDate Created Date datetime
CurrencyIsoCode Currency ISO Code picklist 3
Description Description textarea 1000
DiscountPercent Discount Percentage int 9
EffectiveDate Effective Date date
EffectiveDateTime Effective Date Time datetime
ExpirationDate Expiration Date date
ExpirationDateTime Expiration Date Time datetime
ExpirationPeriod Expiration Period int 9
ExpirationPeriodUnit Expiration Period Unit picklist 255
ExpirationType Expiration Type picklist 255
FaceValue Face Value currency 18 2
HasTimeBasedVoucherPeriod Time-Based Voucher Period boolean
Id Voucher Definition ID id 18
ImageUrl Image URL url 1000
IsActive Active boolean
IsDeleted Deleted boolean
IsPartialRedeemable Partial Redeemable boolean
LastModifiedById Last Modified By ID reference 18
LastModifiedDate Last Modified Date datetime
LastReferencedDate Last Referenced Date datetime
LastViewedDate Last Viewed Date datetime
LoyaltyProgramId Loyalty Program ID reference 18
Name Name string 255
OwnerId Owner ID reference 18
PartnerAccountId Account ID reference 18
ProductCategoryDerivedFieldId Category ID reference 18
ProductDerivedFieldId Product ID reference 18
ProductId Product ID reference 18
SystemModstamp System Modstamp datetime
Type Type picklist 255