Voucher__c Object Reference

Field Definitions

Field Name Type Required Unique Description
Code__c Text No Yes The unique code for this Voucher that can be entered during checkout.
Expires_At__c DateTime No No The exact time at which this Voucher expires. The time zone used is per the users time zone setting in Salesforce and the time is then converted and saved as the equivalent time in UTC. If setting a future date, be sure to take any time zone changes into account.
Opening_Balance__c Currency(18, 2) Yes No The initial value of this Voucher.
Order_Item_Id__c Lookup(OrderItem) No No The Order Item that this Voucher was purchased with.
Product_Id__c Lookup(Product2) No No The Product that defines what type of Voucher this is.
Recipient_Id__c Lookup(Contact) No No The Contact to send this Voucher to.
Resend_Email__c Checkbox(true) No No When checked, this will send the Voucher email to the Recipient_Id__c.
Store_Id__c Lookup(Store__c) Yes No The Store that this Voucher belongs to.
Usage__c Picklist Yes No Indicates whether the Voucher can be used on other Stores.

For more information about how or when to use the above, see our documentation.

 

 
Back to Documentation