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

com.zuora.model.ExpandedTaxationItem Maven / Gradle / Ivy

There is a newer version: 3.2.1
Show newest version
/*
 * Zuora API Reference
 * REST API reference for the Zuora Billing, Payments, and Central Platform! Check out the [REST API Overview](https://www.zuora.com/developer/api-references/api/overview/).
 *
 * The version of the OpenAPI document: 2024-05-20
 * Contact: [email protected]
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package com.zuora.model;

import java.util.Objects;
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 java.io.IOException;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Arrays;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonArray;
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonDeserializer;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonParseException;
import com.google.gson.TypeAdapterFactory;
import com.google.gson.reflect.TypeToken;
import com.google.gson.TypeAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import java.io.IOException;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;

import com.zuora.JSON;

/**
 * ExpandedTaxationItem
 */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0")
public class ExpandedTaxationItem {
  public static final String SERIALIZED_NAME_ID = "id";
  @SerializedName(SERIALIZED_NAME_ID)
  private String id;

  public static final String SERIALIZED_NAME_CREATED_BY_ID = "createdById";
  @SerializedName(SERIALIZED_NAME_CREATED_BY_ID)
  private String createdById;

  public static final String SERIALIZED_NAME_CREATED_DATE = "createdDate";
  @SerializedName(SERIALIZED_NAME_CREATED_DATE)
  private String createdDate;

  public static final String SERIALIZED_NAME_CREDIT_AMOUNT = "creditAmount";
  @SerializedName(SERIALIZED_NAME_CREDIT_AMOUNT)
  private BigDecimal creditAmount;

  public static final String SERIALIZED_NAME_UPDATED_BY_ID = "updatedById";
  @SerializedName(SERIALIZED_NAME_UPDATED_BY_ID)
  private String updatedById;

  public static final String SERIALIZED_NAME_UPDATED_DATE = "updatedDate";
  @SerializedName(SERIALIZED_NAME_UPDATED_DATE)
  private String updatedDate;

  public static final String SERIALIZED_NAME_ACCOUNTING_CODE = "accountingCode";
  @SerializedName(SERIALIZED_NAME_ACCOUNTING_CODE)
  private String accountingCode;

  public static final String SERIALIZED_NAME_EXEMPT_AMOUNT = "exemptAmount";
  @SerializedName(SERIALIZED_NAME_EXEMPT_AMOUNT)
  private BigDecimal exemptAmount;

  public static final String SERIALIZED_NAME_INVOICE_ITEM_ID = "invoiceItemId";
  @SerializedName(SERIALIZED_NAME_INVOICE_ITEM_ID)
  private String invoiceItemId;

  public static final String SERIALIZED_NAME_JURISDICTION = "jurisdiction";
  @SerializedName(SERIALIZED_NAME_JURISDICTION)
  private String jurisdiction;

  public static final String SERIALIZED_NAME_LOCATION_CODE = "locationCode";
  @SerializedName(SERIALIZED_NAME_LOCATION_CODE)
  private String locationCode;

  public static final String SERIALIZED_NAME_NAME = "name";
  @SerializedName(SERIALIZED_NAME_NAME)
  private String name;

  public static final String SERIALIZED_NAME_PAYMENT_AMOUNT = "paymentAmount";
  @SerializedName(SERIALIZED_NAME_PAYMENT_AMOUNT)
  private BigDecimal paymentAmount;

  public static final String SERIALIZED_NAME_TAXABLE_AMOUNT = "taxableAmount";
  @SerializedName(SERIALIZED_NAME_TAXABLE_AMOUNT)
  private BigDecimal taxableAmount;

  public static final String SERIALIZED_NAME_TAX_AMOUNT = "taxAmount";
  @SerializedName(SERIALIZED_NAME_TAX_AMOUNT)
  private BigDecimal taxAmount;

  public static final String SERIALIZED_NAME_TAX_AMOUNT_UNROUNDED = "taxAmountUnrounded";
  @SerializedName(SERIALIZED_NAME_TAX_AMOUNT_UNROUNDED)
  private BigDecimal taxAmountUnrounded;

  public static final String SERIALIZED_NAME_COUNTRY_CODE = "countryCode";
  @SerializedName(SERIALIZED_NAME_COUNTRY_CODE)
  private String countryCode;

  public static final String SERIALIZED_NAME_TAX_CODE_DESCRIPTION = "taxCodeDescription";
  @SerializedName(SERIALIZED_NAME_TAX_CODE_DESCRIPTION)
  private String taxCodeDescription;

  public static final String SERIALIZED_NAME_CUSTOMER_CODE = "customerCode";
  @SerializedName(SERIALIZED_NAME_CUSTOMER_CODE)
  private String customerCode;

  public static final String SERIALIZED_NAME_EXEMPT_CERTIFICATE = "exemptCertificate";
  @SerializedName(SERIALIZED_NAME_EXEMPT_CERTIFICATE)
  private String exemptCertificate;

  public static final String SERIALIZED_NAME_SELLER_REGISTRATION = "sellerRegistration";
  @SerializedName(SERIALIZED_NAME_SELLER_REGISTRATION)
  private String sellerRegistration;

  public static final String SERIALIZED_NAME_TAX_DESCRIPTION = "taxDescription";
  @SerializedName(SERIALIZED_NAME_TAX_DESCRIPTION)
  private String taxDescription;

  public static final String SERIALIZED_NAME_TAX_RULE_ID = "taxRuleId";
  @SerializedName(SERIALIZED_NAME_TAX_RULE_ID)
  private String taxRuleId;

  public static final String SERIALIZED_NAME_TAX_CODE = "taxCode";
  @SerializedName(SERIALIZED_NAME_TAX_CODE)
  private String taxCode;

  public static final String SERIALIZED_NAME_TAX_MODE = "taxMode";
  @SerializedName(SERIALIZED_NAME_TAX_MODE)
  private String taxMode;

  public static final String SERIALIZED_NAME_TAX_DATE = "taxDate";
  @SerializedName(SERIALIZED_NAME_TAX_DATE)
  private LocalDate taxDate;

  public static final String SERIALIZED_NAME_PERIOD_END_DATE = "periodEndDate";
  @SerializedName(SERIALIZED_NAME_PERIOD_END_DATE)
  private LocalDate periodEndDate;

  public static final String SERIALIZED_NAME_PERIOD_START_DATE = "periodStartDate";
  @SerializedName(SERIALIZED_NAME_PERIOD_START_DATE)
  private LocalDate periodStartDate;

  public static final String SERIALIZED_NAME_TAX_RATE = "taxRate";
  @SerializedName(SERIALIZED_NAME_TAX_RATE)
  private BigDecimal taxRate;

  public static final String SERIALIZED_NAME_TAX_RATE_DESCRIPTION = "taxRateDescription";
  @SerializedName(SERIALIZED_NAME_TAX_RATE_DESCRIPTION)
  private String taxRateDescription;

  public static final String SERIALIZED_NAME_TAX_RATE_TYPE = "taxRateType";
  @SerializedName(SERIALIZED_NAME_TAX_RATE_TYPE)
  private String taxRateType;

  public static final String SERIALIZED_NAME_BALANCE = "balance";
  @SerializedName(SERIALIZED_NAME_BALANCE)
  private BigDecimal balance;

  public static final String SERIALIZED_NAME_JOURNAL_ENTRY_ID = "journalEntryId";
  @SerializedName(SERIALIZED_NAME_JOURNAL_ENTRY_ID)
  private String journalEntryId;

  public static final String SERIALIZED_NAME_SALES_TAX_PAYABLE_ACCOUNTING_CODE_ID = "salesTaxPayableAccountingCodeId";
  @SerializedName(SERIALIZED_NAME_SALES_TAX_PAYABLE_ACCOUNTING_CODE_ID)
  private String salesTaxPayableAccountingCodeId;

  public static final String SERIALIZED_NAME_ACCOUNT_RECEIVABLE_ACCOUNTING_CODE_ID = "accountReceivableAccountingCodeId";
  @SerializedName(SERIALIZED_NAME_ACCOUNT_RECEIVABLE_ACCOUNTING_CODE_ID)
  private String accountReceivableAccountingCodeId;

  public static final String SERIALIZED_NAME_TAXABLE_ITEM_SNAPSHOT_ID = "taxableItemSnapshotId";
  @SerializedName(SERIALIZED_NAME_TAXABLE_ITEM_SNAPSHOT_ID)
  private String taxableItemSnapshotId;

  public ExpandedTaxationItem() {
  }

  public ExpandedTaxationItem id(String id) {
    this.id = id;
    return this;
  }

  /**
   * Get id
   * @return id
   */
  @javax.annotation.Nullable
  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }


  public ExpandedTaxationItem createdById(String createdById) {
    this.createdById = createdById;
    return this;
  }

  /**
   * Get createdById
   * @return createdById
   */
  @javax.annotation.Nullable
  public String getCreatedById() {
    return createdById;
  }

  public void setCreatedById(String createdById) {
    this.createdById = createdById;
  }


  public ExpandedTaxationItem createdDate(String createdDate) {
    this.createdDate = createdDate;
    return this;
  }

  /**
   * Get createdDate
   * @return createdDate
   */
  @javax.annotation.Nullable
  public String getCreatedDate() {
    return createdDate;
  }

  public void setCreatedDate(String createdDate) {
    this.createdDate = createdDate;
  }


  public ExpandedTaxationItem creditAmount(BigDecimal creditAmount) {
    this.creditAmount = creditAmount;
    return this;
  }

  /**
   * Get creditAmount
   * @return creditAmount
   */
  @javax.annotation.Nullable
  public BigDecimal getCreditAmount() {
    return creditAmount;
  }

  public void setCreditAmount(BigDecimal creditAmount) {
    this.creditAmount = creditAmount;
  }


  public ExpandedTaxationItem updatedById(String updatedById) {
    this.updatedById = updatedById;
    return this;
  }

  /**
   * Get updatedById
   * @return updatedById
   */
  @javax.annotation.Nullable
  public String getUpdatedById() {
    return updatedById;
  }

  public void setUpdatedById(String updatedById) {
    this.updatedById = updatedById;
  }


  public ExpandedTaxationItem updatedDate(String updatedDate) {
    this.updatedDate = updatedDate;
    return this;
  }

  /**
   * Get updatedDate
   * @return updatedDate
   */
  @javax.annotation.Nullable
  public String getUpdatedDate() {
    return updatedDate;
  }

  public void setUpdatedDate(String updatedDate) {
    this.updatedDate = updatedDate;
  }


  public ExpandedTaxationItem accountingCode(String accountingCode) {
    this.accountingCode = accountingCode;
    return this;
  }

  /**
   * Get accountingCode
   * @return accountingCode
   */
  @javax.annotation.Nullable
  public String getAccountingCode() {
    return accountingCode;
  }

  public void setAccountingCode(String accountingCode) {
    this.accountingCode = accountingCode;
  }


  public ExpandedTaxationItem exemptAmount(BigDecimal exemptAmount) {
    this.exemptAmount = exemptAmount;
    return this;
  }

  /**
   * Get exemptAmount
   * @return exemptAmount
   */
  @javax.annotation.Nullable
  public BigDecimal getExemptAmount() {
    return exemptAmount;
  }

  public void setExemptAmount(BigDecimal exemptAmount) {
    this.exemptAmount = exemptAmount;
  }


  public ExpandedTaxationItem invoiceItemId(String invoiceItemId) {
    this.invoiceItemId = invoiceItemId;
    return this;
  }

  /**
   * Get invoiceItemId
   * @return invoiceItemId
   */
  @javax.annotation.Nullable
  public String getInvoiceItemId() {
    return invoiceItemId;
  }

  public void setInvoiceItemId(String invoiceItemId) {
    this.invoiceItemId = invoiceItemId;
  }


  public ExpandedTaxationItem jurisdiction(String jurisdiction) {
    this.jurisdiction = jurisdiction;
    return this;
  }

  /**
   * Get jurisdiction
   * @return jurisdiction
   */
  @javax.annotation.Nullable
  public String getJurisdiction() {
    return jurisdiction;
  }

  public void setJurisdiction(String jurisdiction) {
    this.jurisdiction = jurisdiction;
  }


  public ExpandedTaxationItem locationCode(String locationCode) {
    this.locationCode = locationCode;
    return this;
  }

  /**
   * Get locationCode
   * @return locationCode
   */
  @javax.annotation.Nullable
  public String getLocationCode() {
    return locationCode;
  }

  public void setLocationCode(String locationCode) {
    this.locationCode = locationCode;
  }


  public ExpandedTaxationItem name(String name) {
    this.name = name;
    return this;
  }

  /**
   * Get name
   * @return name
   */
  @javax.annotation.Nullable
  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public ExpandedTaxationItem paymentAmount(BigDecimal paymentAmount) {
    this.paymentAmount = paymentAmount;
    return this;
  }

  /**
   * Get paymentAmount
   * @return paymentAmount
   */
  @javax.annotation.Nullable
  public BigDecimal getPaymentAmount() {
    return paymentAmount;
  }

  public void setPaymentAmount(BigDecimal paymentAmount) {
    this.paymentAmount = paymentAmount;
  }


  public ExpandedTaxationItem taxableAmount(BigDecimal taxableAmount) {
    this.taxableAmount = taxableAmount;
    return this;
  }

  /**
   * Get taxableAmount
   * @return taxableAmount
   */
  @javax.annotation.Nullable
  public BigDecimal getTaxableAmount() {
    return taxableAmount;
  }

  public void setTaxableAmount(BigDecimal taxableAmount) {
    this.taxableAmount = taxableAmount;
  }


  public ExpandedTaxationItem taxAmount(BigDecimal taxAmount) {
    this.taxAmount = taxAmount;
    return this;
  }

  /**
   * Get taxAmount
   * @return taxAmount
   */
  @javax.annotation.Nullable
  public BigDecimal getTaxAmount() {
    return taxAmount;
  }

  public void setTaxAmount(BigDecimal taxAmount) {
    this.taxAmount = taxAmount;
  }


  public ExpandedTaxationItem taxAmountUnrounded(BigDecimal taxAmountUnrounded) {
    this.taxAmountUnrounded = taxAmountUnrounded;
    return this;
  }

  /**
   * Get taxAmountUnrounded
   * @return taxAmountUnrounded
   */
  @javax.annotation.Nullable
  public BigDecimal getTaxAmountUnrounded() {
    return taxAmountUnrounded;
  }

  public void setTaxAmountUnrounded(BigDecimal taxAmountUnrounded) {
    this.taxAmountUnrounded = taxAmountUnrounded;
  }


  public ExpandedTaxationItem countryCode(String countryCode) {
    this.countryCode = countryCode;
    return this;
  }

  /**
   * Get countryCode
   * @return countryCode
   */
  @javax.annotation.Nullable
  public String getCountryCode() {
    return countryCode;
  }

  public void setCountryCode(String countryCode) {
    this.countryCode = countryCode;
  }


  public ExpandedTaxationItem taxCodeDescription(String taxCodeDescription) {
    this.taxCodeDescription = taxCodeDescription;
    return this;
  }

  /**
   * Get taxCodeDescription
   * @return taxCodeDescription
   */
  @javax.annotation.Nullable
  public String getTaxCodeDescription() {
    return taxCodeDescription;
  }

  public void setTaxCodeDescription(String taxCodeDescription) {
    this.taxCodeDescription = taxCodeDescription;
  }


  public ExpandedTaxationItem customerCode(String customerCode) {
    this.customerCode = customerCode;
    return this;
  }

  /**
   * Get customerCode
   * @return customerCode
   */
  @javax.annotation.Nullable
  public String getCustomerCode() {
    return customerCode;
  }

  public void setCustomerCode(String customerCode) {
    this.customerCode = customerCode;
  }


  public ExpandedTaxationItem exemptCertificate(String exemptCertificate) {
    this.exemptCertificate = exemptCertificate;
    return this;
  }

  /**
   * Get exemptCertificate
   * @return exemptCertificate
   */
  @javax.annotation.Nullable
  public String getExemptCertificate() {
    return exemptCertificate;
  }

  public void setExemptCertificate(String exemptCertificate) {
    this.exemptCertificate = exemptCertificate;
  }


  public ExpandedTaxationItem sellerRegistration(String sellerRegistration) {
    this.sellerRegistration = sellerRegistration;
    return this;
  }

  /**
   * Get sellerRegistration
   * @return sellerRegistration
   */
  @javax.annotation.Nullable
  public String getSellerRegistration() {
    return sellerRegistration;
  }

  public void setSellerRegistration(String sellerRegistration) {
    this.sellerRegistration = sellerRegistration;
  }


  public ExpandedTaxationItem taxDescription(String taxDescription) {
    this.taxDescription = taxDescription;
    return this;
  }

  /**
   * Get taxDescription
   * @return taxDescription
   */
  @javax.annotation.Nullable
  public String getTaxDescription() {
    return taxDescription;
  }

  public void setTaxDescription(String taxDescription) {
    this.taxDescription = taxDescription;
  }


  public ExpandedTaxationItem taxRuleId(String taxRuleId) {
    this.taxRuleId = taxRuleId;
    return this;
  }

  /**
   * Get taxRuleId
   * @return taxRuleId
   */
  @javax.annotation.Nullable
  public String getTaxRuleId() {
    return taxRuleId;
  }

  public void setTaxRuleId(String taxRuleId) {
    this.taxRuleId = taxRuleId;
  }


  public ExpandedTaxationItem taxCode(String taxCode) {
    this.taxCode = taxCode;
    return this;
  }

  /**
   * Get taxCode
   * @return taxCode
   */
  @javax.annotation.Nullable
  public String getTaxCode() {
    return taxCode;
  }

  public void setTaxCode(String taxCode) {
    this.taxCode = taxCode;
  }


  public ExpandedTaxationItem taxMode(String taxMode) {
    this.taxMode = taxMode;
    return this;
  }

  /**
   * Get taxMode
   * @return taxMode
   */
  @javax.annotation.Nullable
  public String getTaxMode() {
    return taxMode;
  }

  public void setTaxMode(String taxMode) {
    this.taxMode = taxMode;
  }


  public ExpandedTaxationItem taxDate(LocalDate taxDate) {
    this.taxDate = taxDate;
    return this;
  }

  /**
   * Get taxDate
   * @return taxDate
   */
  @javax.annotation.Nullable
  public LocalDate getTaxDate() {
    return taxDate;
  }

  public void setTaxDate(LocalDate taxDate) {
    this.taxDate = taxDate;
  }


  public ExpandedTaxationItem periodEndDate(LocalDate periodEndDate) {
    this.periodEndDate = periodEndDate;
    return this;
  }

  /**
   * Get periodEndDate
   * @return periodEndDate
   */
  @javax.annotation.Nullable
  public LocalDate getPeriodEndDate() {
    return periodEndDate;
  }

  public void setPeriodEndDate(LocalDate periodEndDate) {
    this.periodEndDate = periodEndDate;
  }


  public ExpandedTaxationItem periodStartDate(LocalDate periodStartDate) {
    this.periodStartDate = periodStartDate;
    return this;
  }

  /**
   * Get periodStartDate
   * @return periodStartDate
   */
  @javax.annotation.Nullable
  public LocalDate getPeriodStartDate() {
    return periodStartDate;
  }

  public void setPeriodStartDate(LocalDate periodStartDate) {
    this.periodStartDate = periodStartDate;
  }


  public ExpandedTaxationItem taxRate(BigDecimal taxRate) {
    this.taxRate = taxRate;
    return this;
  }

  /**
   * Get taxRate
   * @return taxRate
   */
  @javax.annotation.Nullable
  public BigDecimal getTaxRate() {
    return taxRate;
  }

  public void setTaxRate(BigDecimal taxRate) {
    this.taxRate = taxRate;
  }


  public ExpandedTaxationItem taxRateDescription(String taxRateDescription) {
    this.taxRateDescription = taxRateDescription;
    return this;
  }

  /**
   * Get taxRateDescription
   * @return taxRateDescription
   */
  @javax.annotation.Nullable
  public String getTaxRateDescription() {
    return taxRateDescription;
  }

  public void setTaxRateDescription(String taxRateDescription) {
    this.taxRateDescription = taxRateDescription;
  }


  public ExpandedTaxationItem taxRateType(String taxRateType) {
    this.taxRateType = taxRateType;
    return this;
  }

  /**
   * Get taxRateType
   * @return taxRateType
   */
  @javax.annotation.Nullable
  public String getTaxRateType() {
    return taxRateType;
  }

  public void setTaxRateType(String taxRateType) {
    this.taxRateType = taxRateType;
  }


  public ExpandedTaxationItem balance(BigDecimal balance) {
    this.balance = balance;
    return this;
  }

  /**
   * Get balance
   * @return balance
   */
  @javax.annotation.Nullable
  public BigDecimal getBalance() {
    return balance;
  }

  public void setBalance(BigDecimal balance) {
    this.balance = balance;
  }


  public ExpandedTaxationItem journalEntryId(String journalEntryId) {
    this.journalEntryId = journalEntryId;
    return this;
  }

  /**
   * Get journalEntryId
   * @return journalEntryId
   */
  @javax.annotation.Nullable
  public String getJournalEntryId() {
    return journalEntryId;
  }

  public void setJournalEntryId(String journalEntryId) {
    this.journalEntryId = journalEntryId;
  }


  public ExpandedTaxationItem salesTaxPayableAccountingCodeId(String salesTaxPayableAccountingCodeId) {
    this.salesTaxPayableAccountingCodeId = salesTaxPayableAccountingCodeId;
    return this;
  }

  /**
   * Get salesTaxPayableAccountingCodeId
   * @return salesTaxPayableAccountingCodeId
   */
  @javax.annotation.Nullable
  public String getSalesTaxPayableAccountingCodeId() {
    return salesTaxPayableAccountingCodeId;
  }

  public void setSalesTaxPayableAccountingCodeId(String salesTaxPayableAccountingCodeId) {
    this.salesTaxPayableAccountingCodeId = salesTaxPayableAccountingCodeId;
  }


  public ExpandedTaxationItem accountReceivableAccountingCodeId(String accountReceivableAccountingCodeId) {
    this.accountReceivableAccountingCodeId = accountReceivableAccountingCodeId;
    return this;
  }

  /**
   * Get accountReceivableAccountingCodeId
   * @return accountReceivableAccountingCodeId
   */
  @javax.annotation.Nullable
  public String getAccountReceivableAccountingCodeId() {
    return accountReceivableAccountingCodeId;
  }

  public void setAccountReceivableAccountingCodeId(String accountReceivableAccountingCodeId) {
    this.accountReceivableAccountingCodeId = accountReceivableAccountingCodeId;
  }


  public ExpandedTaxationItem taxableItemSnapshotId(String taxableItemSnapshotId) {
    this.taxableItemSnapshotId = taxableItemSnapshotId;
    return this;
  }

  /**
   * Get taxableItemSnapshotId
   * @return taxableItemSnapshotId
   */
  @javax.annotation.Nullable
  public String getTaxableItemSnapshotId() {
    return taxableItemSnapshotId;
  }

  public void setTaxableItemSnapshotId(String taxableItemSnapshotId) {
    this.taxableItemSnapshotId = taxableItemSnapshotId;
  }

  /**
   * A container for additional, undeclared properties.
   * This is a holder for any undeclared properties as specified with
   * the 'additionalProperties' keyword in the OAS document.
   */
  private Map additionalProperties;

  /**
   * Set the additional (undeclared) property with the specified name and value.
   * If the property does not already exist, create it otherwise replace it.
   *
   * @param key name of the property
   * @param value value of the property
   * @return the ExpandedTaxationItem instance itself
   */
  public ExpandedTaxationItem putAdditionalProperty(String key, Object value) {
    if (this.additionalProperties == null) {
        this.additionalProperties = new HashMap();
    }
    this.additionalProperties.put(key, value);
    return this;
  }

  /**
   * Return the additional (undeclared) property.
   *
   * @return a map of objects
   */
  public Map getAdditionalProperties() {
    return additionalProperties;
  }

  /**
   * Return the additional (undeclared) property with the specified name.
   *
   * @param key name of the property
   * @return an object
   */
  public Object getAdditionalProperty(String key) {
    if (this.additionalProperties == null) {
        return null;
    }
    return this.additionalProperties.get(key);
  }


  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ExpandedTaxationItem expandedTaxationItem = (ExpandedTaxationItem) o;
    return Objects.equals(this.id, expandedTaxationItem.id) &&
        Objects.equals(this.createdById, expandedTaxationItem.createdById) &&
        Objects.equals(this.createdDate, expandedTaxationItem.createdDate) &&
        Objects.equals(this.creditAmount, expandedTaxationItem.creditAmount) &&
        Objects.equals(this.updatedById, expandedTaxationItem.updatedById) &&
        Objects.equals(this.updatedDate, expandedTaxationItem.updatedDate) &&
        Objects.equals(this.accountingCode, expandedTaxationItem.accountingCode) &&
        Objects.equals(this.exemptAmount, expandedTaxationItem.exemptAmount) &&
        Objects.equals(this.invoiceItemId, expandedTaxationItem.invoiceItemId) &&
        Objects.equals(this.jurisdiction, expandedTaxationItem.jurisdiction) &&
        Objects.equals(this.locationCode, expandedTaxationItem.locationCode) &&
        Objects.equals(this.name, expandedTaxationItem.name) &&
        Objects.equals(this.paymentAmount, expandedTaxationItem.paymentAmount) &&
        Objects.equals(this.taxableAmount, expandedTaxationItem.taxableAmount) &&
        Objects.equals(this.taxAmount, expandedTaxationItem.taxAmount) &&
        Objects.equals(this.taxAmountUnrounded, expandedTaxationItem.taxAmountUnrounded) &&
        Objects.equals(this.countryCode, expandedTaxationItem.countryCode) &&
        Objects.equals(this.taxCodeDescription, expandedTaxationItem.taxCodeDescription) &&
        Objects.equals(this.customerCode, expandedTaxationItem.customerCode) &&
        Objects.equals(this.exemptCertificate, expandedTaxationItem.exemptCertificate) &&
        Objects.equals(this.sellerRegistration, expandedTaxationItem.sellerRegistration) &&
        Objects.equals(this.taxDescription, expandedTaxationItem.taxDescription) &&
        Objects.equals(this.taxRuleId, expandedTaxationItem.taxRuleId) &&
        Objects.equals(this.taxCode, expandedTaxationItem.taxCode) &&
        Objects.equals(this.taxMode, expandedTaxationItem.taxMode) &&
        Objects.equals(this.taxDate, expandedTaxationItem.taxDate) &&
        Objects.equals(this.periodEndDate, expandedTaxationItem.periodEndDate) &&
        Objects.equals(this.periodStartDate, expandedTaxationItem.periodStartDate) &&
        Objects.equals(this.taxRate, expandedTaxationItem.taxRate) &&
        Objects.equals(this.taxRateDescription, expandedTaxationItem.taxRateDescription) &&
        Objects.equals(this.taxRateType, expandedTaxationItem.taxRateType) &&
        Objects.equals(this.balance, expandedTaxationItem.balance) &&
        Objects.equals(this.journalEntryId, expandedTaxationItem.journalEntryId) &&
        Objects.equals(this.salesTaxPayableAccountingCodeId, expandedTaxationItem.salesTaxPayableAccountingCodeId) &&
        Objects.equals(this.accountReceivableAccountingCodeId, expandedTaxationItem.accountReceivableAccountingCodeId) &&
        Objects.equals(this.taxableItemSnapshotId, expandedTaxationItem.taxableItemSnapshotId)&&
        Objects.equals(this.additionalProperties, expandedTaxationItem.additionalProperties);
  }

  @Override
  public int hashCode() {
    return Objects.hash(id, createdById, createdDate, creditAmount, updatedById, updatedDate, accountingCode, exemptAmount, invoiceItemId, jurisdiction, locationCode, name, paymentAmount, taxableAmount, taxAmount, taxAmountUnrounded, countryCode, taxCodeDescription, customerCode, exemptCertificate, sellerRegistration, taxDescription, taxRuleId, taxCode, taxMode, taxDate, periodEndDate, periodStartDate, taxRate, taxRateDescription, taxRateType, balance, journalEntryId, salesTaxPayableAccountingCodeId, accountReceivableAccountingCodeId, taxableItemSnapshotId, additionalProperties);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ExpandedTaxationItem {\n");
    sb.append("    id: ").append(toIndentedString(id)).append("\n");
    sb.append("    createdById: ").append(toIndentedString(createdById)).append("\n");
    sb.append("    createdDate: ").append(toIndentedString(createdDate)).append("\n");
    sb.append("    creditAmount: ").append(toIndentedString(creditAmount)).append("\n");
    sb.append("    updatedById: ").append(toIndentedString(updatedById)).append("\n");
    sb.append("    updatedDate: ").append(toIndentedString(updatedDate)).append("\n");
    sb.append("    accountingCode: ").append(toIndentedString(accountingCode)).append("\n");
    sb.append("    exemptAmount: ").append(toIndentedString(exemptAmount)).append("\n");
    sb.append("    invoiceItemId: ").append(toIndentedString(invoiceItemId)).append("\n");
    sb.append("    jurisdiction: ").append(toIndentedString(jurisdiction)).append("\n");
    sb.append("    locationCode: ").append(toIndentedString(locationCode)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    paymentAmount: ").append(toIndentedString(paymentAmount)).append("\n");
    sb.append("    taxableAmount: ").append(toIndentedString(taxableAmount)).append("\n");
    sb.append("    taxAmount: ").append(toIndentedString(taxAmount)).append("\n");
    sb.append("    taxAmountUnrounded: ").append(toIndentedString(taxAmountUnrounded)).append("\n");
    sb.append("    countryCode: ").append(toIndentedString(countryCode)).append("\n");
    sb.append("    taxCodeDescription: ").append(toIndentedString(taxCodeDescription)).append("\n");
    sb.append("    customerCode: ").append(toIndentedString(customerCode)).append("\n");
    sb.append("    exemptCertificate: ").append(toIndentedString(exemptCertificate)).append("\n");
    sb.append("    sellerRegistration: ").append(toIndentedString(sellerRegistration)).append("\n");
    sb.append("    taxDescription: ").append(toIndentedString(taxDescription)).append("\n");
    sb.append("    taxRuleId: ").append(toIndentedString(taxRuleId)).append("\n");
    sb.append("    taxCode: ").append(toIndentedString(taxCode)).append("\n");
    sb.append("    taxMode: ").append(toIndentedString(taxMode)).append("\n");
    sb.append("    taxDate: ").append(toIndentedString(taxDate)).append("\n");
    sb.append("    periodEndDate: ").append(toIndentedString(periodEndDate)).append("\n");
    sb.append("    periodStartDate: ").append(toIndentedString(periodStartDate)).append("\n");
    sb.append("    taxRate: ").append(toIndentedString(taxRate)).append("\n");
    sb.append("    taxRateDescription: ").append(toIndentedString(taxRateDescription)).append("\n");
    sb.append("    taxRateType: ").append(toIndentedString(taxRateType)).append("\n");
    sb.append("    balance: ").append(toIndentedString(balance)).append("\n");
    sb.append("    journalEntryId: ").append(toIndentedString(journalEntryId)).append("\n");
    sb.append("    salesTaxPayableAccountingCodeId: ").append(toIndentedString(salesTaxPayableAccountingCodeId)).append("\n");
    sb.append("    accountReceivableAccountingCodeId: ").append(toIndentedString(accountReceivableAccountingCodeId)).append("\n");
    sb.append("    taxableItemSnapshotId: ").append(toIndentedString(taxableItemSnapshotId)).append("\n");
    sb.append("    additionalProperties: ").append(toIndentedString(additionalProperties)).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(Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }


  public static HashSet openapiFields;
  public static HashSet openapiRequiredFields;

  static {
    // a set of all properties/fields (JSON key names)
    openapiFields = new HashSet();
    openapiFields.add("id");
    openapiFields.add("createdById");
    openapiFields.add("createdDate");
    openapiFields.add("creditAmount");
    openapiFields.add("updatedById");
    openapiFields.add("updatedDate");
    openapiFields.add("accountingCode");
    openapiFields.add("exemptAmount");
    openapiFields.add("invoiceItemId");
    openapiFields.add("jurisdiction");
    openapiFields.add("locationCode");
    openapiFields.add("name");
    openapiFields.add("paymentAmount");
    openapiFields.add("taxableAmount");
    openapiFields.add("taxAmount");
    openapiFields.add("taxAmountUnrounded");
    openapiFields.add("countryCode");
    openapiFields.add("taxCodeDescription");
    openapiFields.add("customerCode");
    openapiFields.add("exemptCertificate");
    openapiFields.add("sellerRegistration");
    openapiFields.add("taxDescription");
    openapiFields.add("taxRuleId");
    openapiFields.add("taxCode");
    openapiFields.add("taxMode");
    openapiFields.add("taxDate");
    openapiFields.add("periodEndDate");
    openapiFields.add("periodStartDate");
    openapiFields.add("taxRate");
    openapiFields.add("taxRateDescription");
    openapiFields.add("taxRateType");
    openapiFields.add("balance");
    openapiFields.add("journalEntryId");
    openapiFields.add("salesTaxPayableAccountingCodeId");
    openapiFields.add("accountReceivableAccountingCodeId");
    openapiFields.add("taxableItemSnapshotId");

    // a set of required properties/fields (JSON key names)
    openapiRequiredFields = new HashSet();
  }

  /**
   * Validates the JSON Element and throws an exception if issues found
   *
   * @param jsonElement JSON Element
   * @throws IOException if the JSON Element is invalid with respect to ExpandedTaxationItem
   */
  public static void validateJsonElement(JsonElement jsonElement) throws IOException {
      if (jsonElement == null) {
        if (!ExpandedTaxationItem.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null
          throw new IllegalArgumentException(String.format("The required field(s) %s in ExpandedTaxationItem is not found in the empty JSON string", ExpandedTaxationItem.openapiRequiredFields.toString()));
        }
      }
        JsonObject jsonObj = jsonElement.getAsJsonObject();
      if ((jsonObj.get("id") != null && !jsonObj.get("id").isJsonNull()) && !jsonObj.get("id").isJsonPrimitive()) {
        throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString()));
      }
      if ((jsonObj.get("createdById") != null && !jsonObj.get("createdById").isJsonNull()) && !jsonObj.get("createdById").isJsonPrimitive()) {
        throw new IllegalArgumentException(String.format("Expected the field `createdById` to be a primitive type in the JSON string but got `%s`", jsonObj.get("createdById").toString()));
      }
      if ((jsonObj.get("createdDate") != null && !jsonObj.get("createdDate").isJsonNull()) && !jsonObj.get("createdDate").isJsonPrimitive()) {
        throw new IllegalArgumentException(String.format("Expected the field `createdDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("createdDate").toString()));
      }
      if ((jsonObj.get("updatedById") != null && !jsonObj.get("updatedById").isJsonNull()) && !jsonObj.get("updatedById").isJsonPrimitive()) {
        throw new IllegalArgumentException(String.format("Expected the field `updatedById` to be a primitive type in the JSON string but got `%s`", jsonObj.get("updatedById").toString()));
      }
      if ((jsonObj.get("updatedDate") != null && !jsonObj.get("updatedDate").isJsonNull()) && !jsonObj.get("updatedDate").isJsonPrimitive()) {
        throw new IllegalArgumentException(String.format("Expected the field `updatedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("updatedDate").toString()));
      }
      if ((jsonObj.get("accountingCode") != null && !jsonObj.get("accountingCode").isJsonNull()) && !jsonObj.get("accountingCode").isJsonPrimitive()) {
        throw new IllegalArgumentException(String.format("Expected the field `accountingCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accountingCode").toString()));
      }
      if ((jsonObj.get("invoiceItemId") != null && !jsonObj.get("invoiceItemId").isJsonNull()) && !jsonObj.get("invoiceItemId").isJsonPrimitive()) {
        throw new IllegalArgumentException(String.format("Expected the field `invoiceItemId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("invoiceItemId").toString()));
      }
      if ((jsonObj.get("jurisdiction") != null && !jsonObj.get("jurisdiction").isJsonNull()) && !jsonObj.get("jurisdiction").isJsonPrimitive()) {
        throw new IllegalArgumentException(String.format("Expected the field `jurisdiction` to be a primitive type in the JSON string but got `%s`", jsonObj.get("jurisdiction").toString()));
      }
      if ((jsonObj.get("locationCode") != null && !jsonObj.get("locationCode").isJsonNull()) && !jsonObj.get("locationCode").isJsonPrimitive()) {
        throw new IllegalArgumentException(String.format("Expected the field `locationCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("locationCode").toString()));
      }
      if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) {
        throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString()));
      }
      if ((jsonObj.get("countryCode") != null && !jsonObj.get("countryCode").isJsonNull()) && !jsonObj.get("countryCode").isJsonPrimitive()) {
        throw new IllegalArgumentException(String.format("Expected the field `countryCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("countryCode").toString()));
      }
      if ((jsonObj.get("taxCodeDescription") != null && !jsonObj.get("taxCodeDescription").isJsonNull()) && !jsonObj.get("taxCodeDescription").isJsonPrimitive()) {
        throw new IllegalArgumentException(String.format("Expected the field `taxCodeDescription` to be a primitive type in the JSON string but got `%s`", jsonObj.get("taxCodeDescription").toString()));
      }
      if ((jsonObj.get("customerCode") != null && !jsonObj.get("customerCode").isJsonNull()) && !jsonObj.get("customerCode").isJsonPrimitive()) {
        throw new IllegalArgumentException(String.format("Expected the field `customerCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("customerCode").toString()));
      }
      if ((jsonObj.get("exemptCertificate") != null && !jsonObj.get("exemptCertificate").isJsonNull()) && !jsonObj.get("exemptCertificate").isJsonPrimitive()) {
        throw new IllegalArgumentException(String.format("Expected the field `exemptCertificate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("exemptCertificate").toString()));
      }
      if ((jsonObj.get("sellerRegistration") != null && !jsonObj.get("sellerRegistration").isJsonNull()) && !jsonObj.get("sellerRegistration").isJsonPrimitive()) {
        throw new IllegalArgumentException(String.format("Expected the field `sellerRegistration` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sellerRegistration").toString()));
      }
      if ((jsonObj.get("taxDescription") != null && !jsonObj.get("taxDescription").isJsonNull()) && !jsonObj.get("taxDescription").isJsonPrimitive()) {
        throw new IllegalArgumentException(String.format("Expected the field `taxDescription` to be a primitive type in the JSON string but got `%s`", jsonObj.get("taxDescription").toString()));
      }
      if ((jsonObj.get("taxRuleId") != null && !jsonObj.get("taxRuleId").isJsonNull()) && !jsonObj.get("taxRuleId").isJsonPrimitive()) {
        throw new IllegalArgumentException(String.format("Expected the field `taxRuleId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("taxRuleId").toString()));
      }
      if ((jsonObj.get("taxCode") != null && !jsonObj.get("taxCode").isJsonNull()) && !jsonObj.get("taxCode").isJsonPrimitive()) {
        throw new IllegalArgumentException(String.format("Expected the field `taxCode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("taxCode").toString()));
      }
      if ((jsonObj.get("taxMode") != null && !jsonObj.get("taxMode").isJsonNull()) && !jsonObj.get("taxMode").isJsonPrimitive()) {
        throw new IllegalArgumentException(String.format("Expected the field `taxMode` to be a primitive type in the JSON string but got `%s`", jsonObj.get("taxMode").toString()));
      }
      if ((jsonObj.get("taxRateDescription") != null && !jsonObj.get("taxRateDescription").isJsonNull()) && !jsonObj.get("taxRateDescription").isJsonPrimitive()) {
        throw new IllegalArgumentException(String.format("Expected the field `taxRateDescription` to be a primitive type in the JSON string but got `%s`", jsonObj.get("taxRateDescription").toString()));
      }
      if ((jsonObj.get("taxRateType") != null && !jsonObj.get("taxRateType").isJsonNull()) && !jsonObj.get("taxRateType").isJsonPrimitive()) {
        throw new IllegalArgumentException(String.format("Expected the field `taxRateType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("taxRateType").toString()));
      }
      if ((jsonObj.get("journalEntryId") != null && !jsonObj.get("journalEntryId").isJsonNull()) && !jsonObj.get("journalEntryId").isJsonPrimitive()) {
        throw new IllegalArgumentException(String.format("Expected the field `journalEntryId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("journalEntryId").toString()));
      }
      if ((jsonObj.get("salesTaxPayableAccountingCodeId") != null && !jsonObj.get("salesTaxPayableAccountingCodeId").isJsonNull()) && !jsonObj.get("salesTaxPayableAccountingCodeId").isJsonPrimitive()) {
        throw new IllegalArgumentException(String.format("Expected the field `salesTaxPayableAccountingCodeId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("salesTaxPayableAccountingCodeId").toString()));
      }
      if ((jsonObj.get("accountReceivableAccountingCodeId") != null && !jsonObj.get("accountReceivableAccountingCodeId").isJsonNull()) && !jsonObj.get("accountReceivableAccountingCodeId").isJsonPrimitive()) {
        throw new IllegalArgumentException(String.format("Expected the field `accountReceivableAccountingCodeId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accountReceivableAccountingCodeId").toString()));
      }
      if ((jsonObj.get("taxableItemSnapshotId") != null && !jsonObj.get("taxableItemSnapshotId").isJsonNull()) && !jsonObj.get("taxableItemSnapshotId").isJsonPrimitive()) {
        throw new IllegalArgumentException(String.format("Expected the field `taxableItemSnapshotId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("taxableItemSnapshotId").toString()));
      }
  }

  public static class CustomTypeAdapterFactory implements TypeAdapterFactory {
    @SuppressWarnings("unchecked")
    @Override
    public  TypeAdapter create(Gson gson, TypeToken type) {
       if (!ExpandedTaxationItem.class.isAssignableFrom(type.getRawType())) {
         return null; // this class only serializes 'ExpandedTaxationItem' and its subtypes
       }
       final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class);
       final TypeAdapter thisAdapter
                        = gson.getDelegateAdapter(this, TypeToken.get(ExpandedTaxationItem.class));

       return (TypeAdapter) new TypeAdapter() {
           @Override
           public void write(JsonWriter out, ExpandedTaxationItem value) throws IOException {
             JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject();
             obj.remove("additionalProperties");

             // support null values
             out.beginObject();
             Iterator iterator = obj.entrySet().iterator();
             while(iterator.hasNext()) {
                 Map.Entry e = (Map.Entry) iterator.next();
                 out.name((String)e.getKey());
                 elementAdapter.write(out, e.getValue());
             }

             // end

             // serialize additional properties
             if (value.getAdditionalProperties() != null) {
               // support null values
               boolean oldSerializeNulls = out.getSerializeNulls();
               out.setSerializeNulls(true); //force serialize
               // end
               for (Map.Entry entry : value.getAdditionalProperties().entrySet()) {
                 if (entry.getValue() instanceof String)
                   obj.addProperty(entry.getKey(), (String) entry.getValue());
                 else if (entry.getValue() instanceof Number)
                   obj.addProperty(entry.getKey(), (Number) entry.getValue());
                 else if (entry.getValue() instanceof Boolean)
                   obj.addProperty(entry.getKey(), (Boolean) entry.getValue());
                 else if (entry.getValue() instanceof Character)
                   obj.addProperty(entry.getKey(), (Character) entry.getValue());
                 else if (entry.getValue() == null)
                    obj.add(entry.getKey(), null);
                 else {
                   JsonElement jsonElement = gson.toJsonTree(entry.getValue());
                   if (jsonElement.isJsonArray()) {
                     obj.add(entry.getKey(), jsonElement.getAsJsonArray());
                   } else {
                     obj.add(entry.getKey(), jsonElement.getAsJsonObject());
                   }
                 }
                 out.name((String)entry.getKey());
                 elementAdapter.write(out, obj.get(entry.getKey()));
               }
               out.setSerializeNulls(oldSerializeNulls); //restore
             }
             out.endObject();

           }

           @Override
           public ExpandedTaxationItem read(JsonReader in) throws IOException {
             JsonElement jsonElement = elementAdapter.read(in);
             validateJsonElement(jsonElement);
             JsonObject jsonObj = jsonElement.getAsJsonObject();
             // store additional fields in the deserialized instance
             ExpandedTaxationItem instance = thisAdapter.fromJsonTree(jsonObj);
             for (Map.Entry entry : jsonObj.entrySet()) {
               if (!openapiFields.contains(entry.getKey())) {
                 if (entry.getValue().isJsonPrimitive()) { // primitive type
                   if (entry.getValue().getAsJsonPrimitive().isString())
                     instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString());
                   else if (entry.getValue().getAsJsonPrimitive().isNumber())
                     instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber());
                   else if (entry.getValue().getAsJsonPrimitive().isBoolean())
                     instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean());
                   else
                     throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString()));
                 } else if (entry.getValue().isJsonArray()) {
                     instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class));
                 } else { // JSON object
                     instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class));
                 }
               }
             }
             return instance;
           }

       }.nullSafe();
    }
  }

  /**
   * Create an instance of ExpandedTaxationItem given an JSON string
   *
   * @param jsonString JSON string
   * @return An instance of ExpandedTaxationItem
   * @throws IOException if the JSON string is invalid with respect to ExpandedTaxationItem
   */
  public static ExpandedTaxationItem fromJson(String jsonString) throws IOException {
    return JSON.getGson().fromJson(jsonString, ExpandedTaxationItem.class);
  }

  /**
   * Convert an instance of ExpandedTaxationItem to an JSON string
   *
   * @return JSON string
   */
  public String toJson() {
    return JSON.getGson().toJson(this);
  }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy