Package com.onlinepayments.domain
Class PaymentProductFieldDisplayHints
java.lang.Object
com.onlinepayments.domain.PaymentProductFieldDisplayHints
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontrue - Indicates that this field is advised to be captured to increase the success rates even-though it isn't marked as required.The order in which the fields should be shown (ascending)Object detailing the type of form element that should be used to present the fieldgetLabel()Label/Name of the field to be used in the user interfacegetLink()Deprecated.DeprecatedgetMask()A mask that can be used in the input field.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 obfuscatedA placeholder value for the form elementThe type of keyboard that can best be used to fill out the value of this field.Object that contains an optional tooltip to assist the customervoidsetAlwaysShow(Boolean value) true - Indicates that this field is advised to be captured to increase the success rates even-though it isn't marked as required.voidsetDisplayOrder(Integer value) The order in which the fields should be shown (ascending)voidObject detailing the type of form element that should be used to present the fieldvoidLabel/Name of the field to be used in the user interfacevoidDeprecated.DeprecatedvoidA mask that can be used in the input field.voidsetObfuscate(Boolean value) 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 obfuscatedvoidsetPlaceholderLabel(String value) A placeholder value for the form elementvoidsetPreferredInputType(String value) The type of keyboard that can best be used to fill out the value of this field.voidObject that contains an optional tooltip to assist the customerwithAlwaysShow(Boolean value) true - Indicates that this field is advised to be captured to increase the success rates even-though it isn't marked as required.withDisplayOrder(Integer value) The order in which the fields should be shown (ascending)Object detailing the type of form element that should be used to present the fieldLabel/Name of the field to be used in the user interfaceDeprecated.DeprecatedA mask that can be used in the input field.withObfuscate(Boolean value) 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 obfuscatedwithPlaceholderLabel(String value) A placeholder value for the form elementwithPreferredInputType(String value) The type of keyboard that can best be used to fill out the value of this field.Object that contains an optional tooltip to assist the customer
-
Constructor Details
-
PaymentProductFieldDisplayHints
public PaymentProductFieldDisplayHints()
-
-
Method Details
-
getAlwaysShow
- 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.
-
setAlwaysShow
- 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.
-
withAlwaysShow
- 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.
-
getDisplayOrder
The order in which the fields should be shown (ascending) -
setDisplayOrder
The order in which the fields should be shown (ascending) -
withDisplayOrder
The order in which the fields should be shown (ascending) -
getFormElement
Object detailing the type of form element that should be used to present the field -
setFormElement
Object detailing the type of form element that should be used to present the field -
withFormElement
Object detailing the type of form element that should be used to present the field -
getLabel
Label/Name of the field to be used in the user interface -
setLabel
Label/Name of the field to be used in the user interface -
withLabel
Label/Name of the field to be used in the user interface -
getLink
Deprecated.DeprecatedDeprecated: This field is not used by any payment product Link that should be used to replace the '{link}' variable in the label. -
setLink
Deprecated.DeprecatedDeprecated: This field is not used by any payment product Link that should be used to replace the '{link}' variable in the label. -
withLink
Deprecated.DeprecatedDeprecated: This field is not used by any payment product Link that should be used to replace the '{link}' variable in the label. -
getMask
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 will be ignored during typing).- is used for wildcards (and also chars) 9 is used for numbers Everything outside {{ and }} is used as-is.
-
setMask
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 will be ignored during typing).- is used for wildcards (and also chars) 9 is used for numbers Everything outside {{ and }} is used as-is.
-
withMask
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 will be ignored during typing).- is used for wildcards (and also chars) 9 is used for numbers Everything outside {{ and }} is used as-is.
-
getObfuscate
- 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
-
setObfuscate
- 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
-
withObfuscate
- 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
-
getPlaceholderLabel
A placeholder value for the form element -
setPlaceholderLabel
A placeholder value for the form element -
withPlaceholderLabel
A placeholder value for the form element -
getPreferredInputType
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
-
setPreferredInputType
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
-
withPreferredInputType
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
-
getTooltip
Object that contains an optional tooltip to assist the customer -
setTooltip
Object that contains an optional tooltip to assist the customer -
withTooltip
Object that contains an optional tooltip to assist the customer
-