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 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 |
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 Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
DataType | Datatype | picklist | 40 | |||
Field | Changed Field | picklist | 255 | |||
Id | Voucher Definition History ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
NewValue | New Value | anyType | 255 | |||
OldValue | Old Value | anyType | 255 | |||
VoucherDefinitionId | Voucher Definition ID | reference | 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 Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
AccessLevel | Custom Object Access | picklist | 40 | |||
Id | Custom Object Share ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
LastModifiedById | Last Modified By ID | reference | 18 | |||
LastModifiedDate | Last Modified Date | datetime | ||||
ParentId | Parent ID | reference | 18 | |||
RowCause | Row Cause | picklist | 40 | |||
UserOrGroupId | User/Group ID | reference | 18 |