All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.safecharge.model.Field Maven / Gradle / Ivy

package com.safecharge.model;

import java.util.List;

/**
 * Copyright (C) 2007-2017 SafeCharge International Group Limited.
 * 

* Holder for Checkout Page's Merchant's specific info. For example: order id, account name, etc. in the Merchant's ERP system. * The data in the field can be validated by regular expression. * * @author Nikola Dichev * @since 4/7/2017 */ public class Field { private String name; private String regex; private String type; private List validationMessage; private List caption; public String getName() { return name; } public void setName(String name) { this.name = name; } public String getRegex() { return regex; } public void setRegex(String regex) { this.regex = regex; } public String getType() { return type; } public void setType(String type) { this.type = type; } public List getValidationMessage() { return validationMessage; } public void setValidationMessage(List validationMessage) { this.validationMessage = validationMessage; } public List getCaption() { return caption; } public void setCaption(List caption) { this.caption = caption; } @Override public String toString() { final StringBuilder sb = new StringBuilder("Field{"); sb.append("name='") .append(name) .append('\''); sb.append(", regex='") .append(regex) .append('\''); sb.append(", type='") .append(type) .append('\''); sb.append(", validationMessage=") .append(validationMessage); sb.append(", caption=") .append(caption); sb.append('}'); return sb.toString(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy