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

net.authorize.sim.button.TextButton Maven / Gradle / Ivy

Go to download

Authorize.Net SDK includes standard payments, recurring billing, and customer profiles.

There is a newer version: 3.0.0
Show newest version
package net.authorize.sim.button;

public class TextButton extends Button {

	private String name = "submit_button";
	private String value = "Submit";
	private String cssClass = null;

	private TextButton() {
		this.buttonType = ButtonType.TEXT;
	}

	public static TextButton createButton(String name, String value) {
		TextButton button = new TextButton();
		button.name = name;
		button.value = value;

		return button;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the value
	 */
	public String getValue() {
		return value;
	}
	/**
	 * @param value the value to set
	 */
	public void setValue(String value) {
		this.value = value;
	}

	/**
	 * @return the cssClass
	 */
	public String getCssClass() {
		return cssClass;
	}

	/**
	 * @param cssClass the cssClass to set
	 */
	public void setCssClass(String cssClass) {
		this.cssClass = cssClass;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy