Class PaymentProductFieldDisplayHints
Inheritance
PaymentProductFieldDisplayHints
Assembly: connect-sdk-dotnet.dll
Syntax
public class PaymentProductFieldDisplayHints
Properties
AlwaysShow
- true - Indicates that this field is advised to be captured to increase the success rates even though it isn't marked as required. Please note that making the field required could hurt the success rates negatively. This boolean only indicates our advise to always show this field to the customer.
- false - Indicates that this field is not to be shown unless it is a required field.
Declaration
public bool? AlwaysShow { get; set; }
Property Value
DisplayOrder
The order in which the fields should be shown (ascending)
Declaration
public int? DisplayOrder { get; set; }
Property Value
FormElement
Object detailing the type of form element that should be used to present the field
Declaration
public PaymentProductFieldFormElement FormElement { get; set; }
Property Value
Label
Label/Name of the field to be used in the user interface
Declaration
public string Label { get; set; }
Property Value
Link
Link that should be used to replace the '{link}' variable in the label.
Declaration
public string Link { get; set; }
Property Value
Mask
A mask that can be used in the input field. You can use it to inject additional characters to provide a better user experience and to restrict the accepted character set (illegal characters to be ignored during typing).
* is used for wildcards (and also chars)
9 is used for numbers
Everything outside {{ and }} is used as-is.
Declaration
public string Mask { get; set; }
Property Value
Obfuscate
- true - The data in this field should be obfuscated as it is entered, just like a password field
- false - The data in this field does not need to be obfuscated
Declaration
public bool? Obfuscate { get; set; }
Property Value
PlaceholderLabel
A placeholder value for the form element
Declaration
public string PlaceholderLabel { get; set; }
Property Value
PreferredInputType
The type of keyboard that can best be used to fill out the value of this field. Possible values are:
- PhoneNumberKeyboard - Keyboard that is normally used to enter phone numbers
- StringKeyboard - Keyboard that is used to enter strings
- IntegerKeyboard - Keyboard that is used to enter only numerical values
- EmailAddressKeyboard - Keyboard that allows easier entry of email addresses
Declaration
public string PreferredInputType { get; set; }
Property Value
Tooltip
Object that contains an optional tooltip to assist the customer
Declaration
public PaymentProductFieldTooltip Tooltip { get; set; }
Property Value