com.tinypass.client.publisher.model.KlarnaConfiguration Maven / Gradle / Ivy
package com.tinypass.client.publisher.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.tinypass.client.publisher.model.App;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
public class KlarnaConfiguration {
/* The ID of the payment provider configuration */
private String configurationId = null;
/* The application ref */
private App app = null;
/* The payment provider name */
private String sourceName = null;
/* The payment provider source ID */
private Integer sourceId = null;
/* The title */
private String title = null;
/* Is configuration properties can be still edit */
private Boolean isEditable = null;
/* Is configuration disabled for further using */
private Boolean isDisabled = null;
/* Klarna payment provider properties */
private String properties = null;
/* Is configuration visible on checkout */
private Boolean isVisible = null;
public String getConfigurationId() {
return configurationId;
}
public void setConfigurationId(String configurationId) {
this.configurationId = configurationId;
}
public App getApp() {
return app;
}
public void setApp(App app) {
this.app = app;
}
public String getSourceName() {
return sourceName;
}
public void setSourceName(String sourceName) {
this.sourceName = sourceName;
}
public Integer getSourceId() {
return sourceId;
}
public void setSourceId(Integer sourceId) {
this.sourceId = sourceId;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public Boolean getIsEditable() {
return isEditable;
}
public void setIsEditable(Boolean isEditable) {
this.isEditable = isEditable;
}
public Boolean getIsDisabled() {
return isDisabled;
}
public void setIsDisabled(Boolean isDisabled) {
this.isDisabled = isDisabled;
}
public String getProperties() {
return properties;
}
public void setProperties(String properties) {
this.properties = properties;
}
public Boolean getIsVisible() {
return isVisible;
}
public void setIsVisible(Boolean isVisible) {
this.isVisible = isVisible;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class KlarnaConfiguration {\n");
sb.append(" configurationId: ").append(configurationId).append("\n");
sb.append(" app: ").append(app).append("\n");
sb.append(" sourceName: ").append(sourceName).append("\n");
sb.append(" sourceId: ").append(sourceId).append("\n");
sb.append(" title: ").append(title).append("\n");
sb.append(" isEditable: ").append(isEditable).append("\n");
sb.append(" isDisabled: ").append(isDisabled).append("\n");
sb.append(" properties: ").append(properties).append("\n");
sb.append(" isVisible: ").append(isVisible).append("\n");
sb.append("}\n");
return sb.toString();
}
}