
Model.Ptsv2paymentreferencesUserInterface Maven / Gradle / Ivy
/*
* CyberSource Merged Spec
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
*
* OpenAPI spec version: 0.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package Model;
import java.util.Objects;
import java.util.Arrays;
import Model.Ptsv2paymentreferencesUserInterfaceColor;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* Ptsv2paymentreferencesUserInterface
*/
public class Ptsv2paymentreferencesUserInterface {
@SerializedName("borderRadius")
private String borderRadius = null;
@SerializedName("theme")
private String theme = null;
@SerializedName("color")
private Ptsv2paymentreferencesUserInterfaceColor color = null;
public Ptsv2paymentreferencesUserInterface borderRadius(String borderRadius) {
this.borderRadius = borderRadius;
return this;
}
/**
* Border Radius, Allowed Values - Number, Chars, SPACE, Percentage(%), DOT(.), Example '25px 10px 25px 10px'; '2em 1em 0.5em 3em'
* @return borderRadius
**/
@ApiModelProperty(value = "Border Radius, Allowed Values - Number, Chars, SPACE, Percentage(%), DOT(.), Example '25px 10px 25px 10px'; '2em 1em 0.5em 3em' ")
public String getBorderRadius() {
return borderRadius;
}
public void setBorderRadius(String borderRadius) {
this.borderRadius = borderRadius;
}
public Ptsv2paymentreferencesUserInterface theme(String theme) {
this.theme = theme;
return this;
}
/**
* UI Theme Name/Design Name - Allowed Chars: Alpha Numeric, Dot (.), Hyphen (-), Underscore (_)
* @return theme
**/
@ApiModelProperty(value = "UI Theme Name/Design Name - Allowed Chars: Alpha Numeric, Dot (.), Hyphen (-), Underscore (_) ")
public String getTheme() {
return theme;
}
public void setTheme(String theme) {
this.theme = theme;
}
public Ptsv2paymentreferencesUserInterface color(Ptsv2paymentreferencesUserInterfaceColor color) {
this.color = color;
return this;
}
/**
* Get color
* @return color
**/
@ApiModelProperty(value = "")
public Ptsv2paymentreferencesUserInterfaceColor getColor() {
return color;
}
public void setColor(Ptsv2paymentreferencesUserInterfaceColor color) {
this.color = color;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Ptsv2paymentreferencesUserInterface ptsv2paymentreferencesUserInterface = (Ptsv2paymentreferencesUserInterface) o;
return Objects.equals(this.borderRadius, ptsv2paymentreferencesUserInterface.borderRadius) &&
Objects.equals(this.theme, ptsv2paymentreferencesUserInterface.theme) &&
Objects.equals(this.color, ptsv2paymentreferencesUserInterface.color);
}
@Override
public int hashCode() {
return Objects.hash(borderRadius, theme, color);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Ptsv2paymentreferencesUserInterface {\n");
if (borderRadius != null) sb.append(" borderRadius: ").append(toIndentedString(borderRadius)).append("\n");
if (theme != null) sb.append(" theme: ").append(toIndentedString(theme)).append("\n");
if (color != null) sb.append(" color: ").append(toIndentedString(color)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
// return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy