com.tinypass.client.publisher.model.AvalaraConfiguration 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.AddressConfig;
import com.tinypass.client.publisher.model.AvalaraOriginAddress;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
public class AvalaraConfiguration {
/* Avalara Account ID */
private String avalaraAccountId = null;
/* Avalara License Key */
private String avalaraLicenseKey = null;
/* Avalara Company Code */
private String avalaraCompanyCode = null;
/* Avalara SalesInvoice transaction type enabled */
private Boolean avalaraSalesInvoiceEnabled = null;
/* Avalara ReturnInvoice transaction type enabled */
private Boolean avalaraReturnInvoiceEnabled = null;
/* Avalara collect and verify billing addresses at checkout */
private Boolean avalaraCollectAddressEnabled = null;
private List avalaraAddressConfigUs = new ArrayList();
private List avalaraAddressConfigCa = new ArrayList();
/* Avalara origin address */
private AvalaraOriginAddress avalaraOriginAddress = null;
public String getAvalaraAccountId() {
return avalaraAccountId;
}
public void setAvalaraAccountId(String avalaraAccountId) {
this.avalaraAccountId = avalaraAccountId;
}
public String getAvalaraLicenseKey() {
return avalaraLicenseKey;
}
public void setAvalaraLicenseKey(String avalaraLicenseKey) {
this.avalaraLicenseKey = avalaraLicenseKey;
}
public String getAvalaraCompanyCode() {
return avalaraCompanyCode;
}
public void setAvalaraCompanyCode(String avalaraCompanyCode) {
this.avalaraCompanyCode = avalaraCompanyCode;
}
public Boolean getAvalaraSalesInvoiceEnabled() {
return avalaraSalesInvoiceEnabled;
}
public void setAvalaraSalesInvoiceEnabled(Boolean avalaraSalesInvoiceEnabled) {
this.avalaraSalesInvoiceEnabled = avalaraSalesInvoiceEnabled;
}
public Boolean getAvalaraReturnInvoiceEnabled() {
return avalaraReturnInvoiceEnabled;
}
public void setAvalaraReturnInvoiceEnabled(Boolean avalaraReturnInvoiceEnabled) {
this.avalaraReturnInvoiceEnabled = avalaraReturnInvoiceEnabled;
}
public Boolean getAvalaraCollectAddressEnabled() {
return avalaraCollectAddressEnabled;
}
public void setAvalaraCollectAddressEnabled(Boolean avalaraCollectAddressEnabled) {
this.avalaraCollectAddressEnabled = avalaraCollectAddressEnabled;
}
public List getAvalaraAddressConfigUs() {
return avalaraAddressConfigUs;
}
public void setAvalaraAddressConfigUs(List avalaraAddressConfigUs) {
this.avalaraAddressConfigUs = avalaraAddressConfigUs;
}
public List getAvalaraAddressConfigCa() {
return avalaraAddressConfigCa;
}
public void setAvalaraAddressConfigCa(List avalaraAddressConfigCa) {
this.avalaraAddressConfigCa = avalaraAddressConfigCa;
}
public AvalaraOriginAddress getAvalaraOriginAddress() {
return avalaraOriginAddress;
}
public void setAvalaraOriginAddress(AvalaraOriginAddress avalaraOriginAddress) {
this.avalaraOriginAddress = avalaraOriginAddress;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AvalaraConfiguration {\n");
sb.append(" avalaraAccountId: ").append(avalaraAccountId).append("\n");
sb.append(" avalaraLicenseKey: ").append(avalaraLicenseKey).append("\n");
sb.append(" avalaraCompanyCode: ").append(avalaraCompanyCode).append("\n");
sb.append(" avalaraSalesInvoiceEnabled: ").append(avalaraSalesInvoiceEnabled).append("\n");
sb.append(" avalaraReturnInvoiceEnabled: ").append(avalaraReturnInvoiceEnabled).append("\n");
sb.append(" avalaraCollectAddressEnabled: ").append(avalaraCollectAddressEnabled).append("\n");
sb.append(" avalaraAddressConfigUs: ").append(avalaraAddressConfigUs).append("\n");
sb.append(" avalaraAddressConfigCa: ").append(avalaraAddressConfigCa).append("\n");
sb.append(" avalaraOriginAddress: ").append(avalaraOriginAddress).append("\n");
sb.append("}\n");
return sb.toString();
}
}