s_c__Voucher__c Object Reference
Name | s_c__Voucher__c |
---|---|
Type | Custom StoreConnect Object |
Description | Vouchers can be used at checkout as payment |
Field Definitions
Field Name | Type | Required | Unique |
---|---|---|---|
s_c__Code__c | Text | No | Yes |
The unique code for this Voucher that can be entered during checkout. | |||
s_c__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. | |||
s_c__Opening_Balance__c | Currency(18, 2) | Yes | No |
The initial value of this Voucher. | |||
s_c__Order_Item_Id__c | Lookup (OrderItem) | No | No |
The Order Item that this Voucher was purchased with. | |||
s_c__Product_Id__c | Lookup (Product2) | No | No |
The Product that defines what type of Voucher this is. | |||
s_c__Recipient_Id__c | Lookup (Contact) | No | No |
The Contact to send this Voucher to. | |||
s_c__Resend_Email__c | Checkbox(true) | No | No |
When checked, this will send the Voucher email to the Recipient_Id__c. | |||
s_c__Store_Id__c | Lookup (s_c__Store__c) | Yes | No |
The Store that this Voucher belongs to. | |||
s_c__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