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

jp.co.freee.accounting.models.QuotationResponseQuotation Maven / Gradle / Ivy

There is a newer version: 2.29.0
Show newest version
/*
 * freee API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: v1.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package jp.co.freee.accounting.models;

import java.util.Objects;
import java.util.Arrays;
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;
import java.util.ArrayList;
import java.util.List;
import jp.co.freee.accounting.models.InvoiceIndexResponseTotalAmountPerVatRate;
import jp.co.freee.accounting.models.QuotationIndexResponseQuotationContents;
import org.openapitools.jackson.nullable.JsonNullable;

/**
 * QuotationResponseQuotation
 */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class QuotationResponseQuotation {
  public static final String SERIALIZED_NAME_COMPANY_ADDRESS1 = "company_address1";
  @SerializedName(SERIALIZED_NAME_COMPANY_ADDRESS1)
  private String companyAddress1;

  public static final String SERIALIZED_NAME_COMPANY_ADDRESS2 = "company_address2";
  @SerializedName(SERIALIZED_NAME_COMPANY_ADDRESS2)
  private String companyAddress2;

  public static final String SERIALIZED_NAME_COMPANY_CONTACT_INFO = "company_contact_info";
  @SerializedName(SERIALIZED_NAME_COMPANY_CONTACT_INFO)
  private String companyContactInfo;

  public static final String SERIALIZED_NAME_COMPANY_ID = "company_id";
  @SerializedName(SERIALIZED_NAME_COMPANY_ID)
  private Integer companyId;

  public static final String SERIALIZED_NAME_COMPANY_NAME = "company_name";
  @SerializedName(SERIALIZED_NAME_COMPANY_NAME)
  private String companyName;

  public static final String SERIALIZED_NAME_COMPANY_PREFECTURE_CODE = "company_prefecture_code";
  @SerializedName(SERIALIZED_NAME_COMPANY_PREFECTURE_CODE)
  private Integer companyPrefectureCode;

  public static final String SERIALIZED_NAME_COMPANY_PREFECTURE_NAME = "company_prefecture_name";
  @SerializedName(SERIALIZED_NAME_COMPANY_PREFECTURE_NAME)
  private String companyPrefectureName;

  public static final String SERIALIZED_NAME_COMPANY_ZIPCODE = "company_zipcode";
  @SerializedName(SERIALIZED_NAME_COMPANY_ZIPCODE)
  private String companyZipcode;

  public static final String SERIALIZED_NAME_DESCRIPTION = "description";
  @SerializedName(SERIALIZED_NAME_DESCRIPTION)
  private String description;

  public static final String SERIALIZED_NAME_ID = "id";
  @SerializedName(SERIALIZED_NAME_ID)
  private Integer id;

  public static final String SERIALIZED_NAME_ISSUE_DATE = "issue_date";
  @SerializedName(SERIALIZED_NAME_ISSUE_DATE)
  private String issueDate;

  public static final String SERIALIZED_NAME_MAIL_SENT_AT = "mail_sent_at";
  @SerializedName(SERIALIZED_NAME_MAIL_SENT_AT)
  private String mailSentAt;

  public static final String SERIALIZED_NAME_MESSAGE = "message";
  @SerializedName(SERIALIZED_NAME_MESSAGE)
  private String message;

  public static final String SERIALIZED_NAME_NOTES = "notes";
  @SerializedName(SERIALIZED_NAME_NOTES)
  private String notes;

  public static final String SERIALIZED_NAME_PARTNER_ADDRESS1 = "partner_address1";
  @SerializedName(SERIALIZED_NAME_PARTNER_ADDRESS1)
  private String partnerAddress1;

  public static final String SERIALIZED_NAME_PARTNER_ADDRESS2 = "partner_address2";
  @SerializedName(SERIALIZED_NAME_PARTNER_ADDRESS2)
  private String partnerAddress2;

  public static final String SERIALIZED_NAME_PARTNER_CODE = "partner_code";
  @SerializedName(SERIALIZED_NAME_PARTNER_CODE)
  private String partnerCode;

  public static final String SERIALIZED_NAME_PARTNER_CONTACT_INFO = "partner_contact_info";
  @SerializedName(SERIALIZED_NAME_PARTNER_CONTACT_INFO)
  private String partnerContactInfo;

  public static final String SERIALIZED_NAME_PARTNER_DISPLAY_NAME = "partner_display_name";
  @SerializedName(SERIALIZED_NAME_PARTNER_DISPLAY_NAME)
  private String partnerDisplayName;

  public static final String SERIALIZED_NAME_PARTNER_ID = "partner_id";
  @SerializedName(SERIALIZED_NAME_PARTNER_ID)
  private Integer partnerId;

  public static final String SERIALIZED_NAME_PARTNER_NAME = "partner_name";
  @SerializedName(SERIALIZED_NAME_PARTNER_NAME)
  private String partnerName;

  public static final String SERIALIZED_NAME_PARTNER_PREFECTURE_CODE = "partner_prefecture_code";
  @SerializedName(SERIALIZED_NAME_PARTNER_PREFECTURE_CODE)
  private Integer partnerPrefectureCode;

  public static final String SERIALIZED_NAME_PARTNER_PREFECTURE_NAME = "partner_prefecture_name";
  @SerializedName(SERIALIZED_NAME_PARTNER_PREFECTURE_NAME)
  private String partnerPrefectureName;

  public static final String SERIALIZED_NAME_PARTNER_TITLE = "partner_title";
  @SerializedName(SERIALIZED_NAME_PARTNER_TITLE)
  private String partnerTitle;

  public static final String SERIALIZED_NAME_PARTNER_ZIPCODE = "partner_zipcode";
  @SerializedName(SERIALIZED_NAME_PARTNER_ZIPCODE)
  private String partnerZipcode;

  public static final String SERIALIZED_NAME_QUOTATION_CONTENTS = "quotation_contents";
  @SerializedName(SERIALIZED_NAME_QUOTATION_CONTENTS)
  private List quotationContents = null;

  /**
   * 見積書レイアウト * `default_classic` - レイアウト1/クラシック (デフォルト)  * `standard_classic` - レイアウト2/クラシック  * `envelope_classic` - 封筒1/クラシック  * `default_modern` - レイアウト1/モダン  * `standard_modern` - レイアウト2/モダン  * `envelope_modern` - 封筒/モダン
   */
  @JsonAdapter(QuotationLayoutEnum.Adapter.class)
  public enum QuotationLayoutEnum {
    DEFAULT_CLASSIC("default_classic"),
    
    STANDARD_CLASSIC("standard_classic"),
    
    ENVELOPE_CLASSIC("envelope_classic"),
    
    DEFAULT_MODERN("default_modern"),
    
    STANDARD_MODERN("standard_modern"),
    
    ENVELOPE_MODERN("envelope_modern");

    private String value;

    QuotationLayoutEnum(String value) {
      this.value = value;
    }

    public String getValue() {
      return value;
    }

    @Override
    public String toString() {
      return String.valueOf(value);
    }

    public static QuotationLayoutEnum fromValue(String value) {
      for (QuotationLayoutEnum b : QuotationLayoutEnum.values()) {
        if (b.value.equals(value)) {
          return b;
        }
      }
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
    }

    public static class Adapter extends TypeAdapter {
      @Override
      public void write(final JsonWriter jsonWriter, final QuotationLayoutEnum enumeration) throws IOException {
        jsonWriter.value(enumeration.getValue());
      }

      @Override
      public QuotationLayoutEnum read(final JsonReader jsonReader) throws IOException {
        String value =  jsonReader.nextString();
        return QuotationLayoutEnum.fromValue(value);
      }
    }
  }

  public static final String SERIALIZED_NAME_QUOTATION_LAYOUT = "quotation_layout";
  @SerializedName(SERIALIZED_NAME_QUOTATION_LAYOUT)
  private QuotationLayoutEnum quotationLayout;

  public static final String SERIALIZED_NAME_QUOTATION_NUMBER = "quotation_number";
  @SerializedName(SERIALIZED_NAME_QUOTATION_NUMBER)
  private String quotationNumber;

  /**
   * 見積書ステータス  (unsubmitted: 送付待ち, submitted: 送付済み, all: 全て)
   */
  @JsonAdapter(QuotationStatusEnum.Adapter.class)
  public enum QuotationStatusEnum {
    UNSUBMITTED("unsubmitted"),
    
    SUBMITTED("submitted"),
    
    ALL("all");

    private String value;

    QuotationStatusEnum(String value) {
      this.value = value;
    }

    public String getValue() {
      return value;
    }

    @Override
    public String toString() {
      return String.valueOf(value);
    }

    public static QuotationStatusEnum fromValue(String value) {
      for (QuotationStatusEnum b : QuotationStatusEnum.values()) {
        if (b.value.equals(value)) {
          return b;
        }
      }
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
    }

    public static class Adapter extends TypeAdapter {
      @Override
      public void write(final JsonWriter jsonWriter, final QuotationStatusEnum enumeration) throws IOException {
        jsonWriter.value(enumeration.getValue());
      }

      @Override
      public QuotationStatusEnum read(final JsonReader jsonReader) throws IOException {
        String value =  jsonReader.nextString();
        return QuotationStatusEnum.fromValue(value);
      }
    }
  }

  public static final String SERIALIZED_NAME_QUOTATION_STATUS = "quotation_status";
  @SerializedName(SERIALIZED_NAME_QUOTATION_STATUS)
  private QuotationStatusEnum quotationStatus;

  public static final String SERIALIZED_NAME_RELATED_INVOICE_ID = "related_invoice_id";
  @SerializedName(SERIALIZED_NAME_RELATED_INVOICE_ID)
  private Integer relatedInvoiceId;

  public static final String SERIALIZED_NAME_RELATED_QUOTATION_IDS = "related_quotation_ids";
  @SerializedName(SERIALIZED_NAME_RELATED_QUOTATION_IDS)
  private List relatedQuotationIds = null;

  public static final String SERIALIZED_NAME_SUB_TOTAL = "sub_total";
  @SerializedName(SERIALIZED_NAME_SUB_TOTAL)
  private Integer subTotal;

  /**
   * 見積書の消費税計算方法(inclusive: 内税, exclusive: 外税)
   */
  @JsonAdapter(TaxEntryMethodEnum.Adapter.class)
  public enum TaxEntryMethodEnum {
    EMPTY(""),
    
    INCLUSIVE("inclusive"),
    
    EXCLUSIVE("exclusive");

    private String value;

    TaxEntryMethodEnum(String value) {
      this.value = value;
    }

    public String getValue() {
      return value;
    }

    @Override
    public String toString() {
      return String.valueOf(value);
    }

    public static TaxEntryMethodEnum fromValue(String value) {
      for (TaxEntryMethodEnum b : TaxEntryMethodEnum.values()) {
        if (b.value.equals(value)) {
          return b;
        }
      }
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
    }

    public static class Adapter extends TypeAdapter {
      @Override
      public void write(final JsonWriter jsonWriter, final TaxEntryMethodEnum enumeration) throws IOException {
        jsonWriter.value(enumeration.getValue());
      }

      @Override
      public TaxEntryMethodEnum read(final JsonReader jsonReader) throws IOException {
        String value =  jsonReader.nextString();
        return TaxEntryMethodEnum.fromValue(value);
      }
    }
  }

  public static final String SERIALIZED_NAME_TAX_ENTRY_METHOD = "tax_entry_method";
  @SerializedName(SERIALIZED_NAME_TAX_ENTRY_METHOD)
  private TaxEntryMethodEnum taxEntryMethod;

  public static final String SERIALIZED_NAME_TITLE = "title";
  @SerializedName(SERIALIZED_NAME_TITLE)
  private String title;

  public static final String SERIALIZED_NAME_TOTAL_AMOUNT = "total_amount";
  @SerializedName(SERIALIZED_NAME_TOTAL_AMOUNT)
  private Integer totalAmount;

  public static final String SERIALIZED_NAME_TOTAL_AMOUNT_PER_VAT_RATE = "total_amount_per_vat_rate";
  @SerializedName(SERIALIZED_NAME_TOTAL_AMOUNT_PER_VAT_RATE)
  private InvoiceIndexResponseTotalAmountPerVatRate totalAmountPerVatRate;

  public static final String SERIALIZED_NAME_TOTAL_VAT = "total_vat";
  @SerializedName(SERIALIZED_NAME_TOTAL_VAT)
  private Integer totalVat;

  public static final String SERIALIZED_NAME_WEB_CONFIRMED_AT = "web_confirmed_at";
  @SerializedName(SERIALIZED_NAME_WEB_CONFIRMED_AT)
  private String webConfirmedAt;

  public static final String SERIALIZED_NAME_WEB_DOWNLOADED_AT = "web_downloaded_at";
  @SerializedName(SERIALIZED_NAME_WEB_DOWNLOADED_AT)
  private String webDownloadedAt;

  public static final String SERIALIZED_NAME_WEB_PUBLISHED_AT = "web_published_at";
  @SerializedName(SERIALIZED_NAME_WEB_PUBLISHED_AT)
  private String webPublishedAt;

  public QuotationResponseQuotation() { 
  }

  public QuotationResponseQuotation companyAddress1(String companyAddress1) {
    
    this.companyAddress1 = companyAddress1;
    return this;
  }

   /**
   * 市区町村・番地
   * @return companyAddress1
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "XX区XX1−1−1", value = "市区町村・番地")

  public String getCompanyAddress1() {
    return companyAddress1;
  }


  public void setCompanyAddress1(String companyAddress1) {
    this.companyAddress1 = companyAddress1;
  }


  public QuotationResponseQuotation companyAddress2(String companyAddress2) {
    
    this.companyAddress2 = companyAddress2;
    return this;
  }

   /**
   * 建物名・部屋番号など
   * @return companyAddress2
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "ビル1F", value = "建物名・部屋番号など")

  public String getCompanyAddress2() {
    return companyAddress2;
  }


  public void setCompanyAddress2(String companyAddress2) {
    this.companyAddress2 = companyAddress2;
  }


  public QuotationResponseQuotation companyContactInfo(String companyContactInfo) {
    
    this.companyContactInfo = companyContactInfo;
    return this;
  }

   /**
   * 事業所担当者名
   * @return companyContactInfo
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "法人営業担当", value = "事業所担当者名")

  public String getCompanyContactInfo() {
    return companyContactInfo;
  }


  public void setCompanyContactInfo(String companyContactInfo) {
    this.companyContactInfo = companyContactInfo;
  }


  public QuotationResponseQuotation companyId(Integer companyId) {
    
    this.companyId = companyId;
    return this;
  }

   /**
   * 事業所ID
   * minimum: 1
   * maximum: 2147483647
   * @return companyId
  **/
  @javax.annotation.Nonnull
  @ApiModelProperty(example = "1", required = true, value = "事業所ID")

  public Integer getCompanyId() {
    return companyId;
  }


  public void setCompanyId(Integer companyId) {
    this.companyId = companyId;
  }


  public QuotationResponseQuotation companyName(String companyName) {
    
    this.companyName = companyName;
    return this;
  }

   /**
   * 事業所名
   * @return companyName
  **/
  @javax.annotation.Nonnull
  @ApiModelProperty(example = "freee株式会社", required = true, value = "事業所名")

  public String getCompanyName() {
    return companyName;
  }


  public void setCompanyName(String companyName) {
    this.companyName = companyName;
  }


  public QuotationResponseQuotation companyPrefectureCode(Integer companyPrefectureCode) {
    
    this.companyPrefectureCode = companyPrefectureCode;
    return this;
  }

   /**
   * 都道府県コード(-1: 設定しない、0:北海道、1:青森、2:岩手、3:宮城、4:秋田、5:山形、6:福島、7:茨城、8:栃木、9:群馬、10:埼玉、11:千葉、12:東京、13:神奈川、14:新潟、15:富山、16:石川、17:福井、18:山梨、19:長野、20:岐阜、21:静岡、22:愛知、23:三重、24:滋賀、25:京都、26:大阪、27:兵庫、28:奈良、29:和歌山、30:鳥取、31:島根、32:岡山、33:広島、34:山口、35:徳島、36:香川、37:愛媛、38:高知、39:福岡、40:佐賀、41:長崎、42:熊本、43:大分、44:宮崎、45:鹿児島、46:沖縄
   * minimum: -1
   * maximum: 46
   * @return companyPrefectureCode
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "12", value = "都道府県コード(-1: 設定しない、0:北海道、1:青森、2:岩手、3:宮城、4:秋田、5:山形、6:福島、7:茨城、8:栃木、9:群馬、10:埼玉、11:千葉、12:東京、13:神奈川、14:新潟、15:富山、16:石川、17:福井、18:山梨、19:長野、20:岐阜、21:静岡、22:愛知、23:三重、24:滋賀、25:京都、26:大阪、27:兵庫、28:奈良、29:和歌山、30:鳥取、31:島根、32:岡山、33:広島、34:山口、35:徳島、36:香川、37:愛媛、38:高知、39:福岡、40:佐賀、41:長崎、42:熊本、43:大分、44:宮崎、45:鹿児島、46:沖縄")

  public Integer getCompanyPrefectureCode() {
    return companyPrefectureCode;
  }


  public void setCompanyPrefectureCode(Integer companyPrefectureCode) {
    this.companyPrefectureCode = companyPrefectureCode;
  }


  public QuotationResponseQuotation companyPrefectureName(String companyPrefectureName) {
    
    this.companyPrefectureName = companyPrefectureName;
    return this;
  }

   /**
   * 都道府県
   * @return companyPrefectureName
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "東京都", value = "都道府県")

  public String getCompanyPrefectureName() {
    return companyPrefectureName;
  }


  public void setCompanyPrefectureName(String companyPrefectureName) {
    this.companyPrefectureName = companyPrefectureName;
  }


  public QuotationResponseQuotation companyZipcode(String companyZipcode) {
    
    this.companyZipcode = companyZipcode;
    return this;
  }

   /**
   * 郵便番号
   * @return companyZipcode
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "000-0000", value = "郵便番号")

  public String getCompanyZipcode() {
    return companyZipcode;
  }


  public void setCompanyZipcode(String companyZipcode) {
    this.companyZipcode = companyZipcode;
  }


  public QuotationResponseQuotation description(String description) {
    
    this.description = description;
    return this;
  }

   /**
   * 概要
   * @return description
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "8月分見積書", value = "概要")

  public String getDescription() {
    return description;
  }


  public void setDescription(String description) {
    this.description = description;
  }


  public QuotationResponseQuotation id(Integer id) {
    
    this.id = id;
    return this;
  }

   /**
   * 見積書ID
   * minimum: 1
   * maximum: 2147483647
   * @return id
  **/
  @javax.annotation.Nonnull
  @ApiModelProperty(example = "101", required = true, value = "見積書ID")

  public Integer getId() {
    return id;
  }


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


  public QuotationResponseQuotation issueDate(String issueDate) {
    
    this.issueDate = issueDate;
    return this;
  }

   /**
   * 見積日 (yyyy-mm-dd)
   * @return issueDate
  **/
  @javax.annotation.Nonnull
  @ApiModelProperty(example = "2019-12-17", required = true, value = "見積日 (yyyy-mm-dd)")

  public String getIssueDate() {
    return issueDate;
  }


  public void setIssueDate(String issueDate) {
    this.issueDate = issueDate;
  }


  public QuotationResponseQuotation mailSentAt(String mailSentAt) {
    
    this.mailSentAt = mailSentAt;
    return this;
  }

   /**
   * メール送信日時(最新)
   * @return mailSentAt
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "2019-12-17T19:00:00+09:00", value = "メール送信日時(最新)")

  public String getMailSentAt() {
    return mailSentAt;
  }


  public void setMailSentAt(String mailSentAt) {
    this.mailSentAt = mailSentAt;
  }


  public QuotationResponseQuotation message(String message) {
    
    this.message = message;
    return this;
  }

   /**
   * メッセージ
   * @return message
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "下記の通り御見積もり申し上げます。", value = "メッセージ")

  public String getMessage() {
    return message;
  }


  public void setMessage(String message) {
    this.message = message;
  }


  public QuotationResponseQuotation notes(String notes) {
    
    this.notes = notes;
    return this;
  }

   /**
   * 備考
   * @return notes
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "毎度お世話になっております。", value = "備考")

  public String getNotes() {
    return notes;
  }


  public void setNotes(String notes) {
    this.notes = notes;
  }


  public QuotationResponseQuotation partnerAddress1(String partnerAddress1) {
    
    this.partnerAddress1 = partnerAddress1;
    return this;
  }

   /**
   * 市区町村・番地
   * @return partnerAddress1
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "湯沢市", value = "市区町村・番地")

  public String getPartnerAddress1() {
    return partnerAddress1;
  }


  public void setPartnerAddress1(String partnerAddress1) {
    this.partnerAddress1 = partnerAddress1;
  }


  public QuotationResponseQuotation partnerAddress2(String partnerAddress2) {
    
    this.partnerAddress2 = partnerAddress2;
    return this;
  }

   /**
   * 建物名・部屋番号など
   * @return partnerAddress2
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "Aビル", value = "建物名・部屋番号など")

  public String getPartnerAddress2() {
    return partnerAddress2;
  }


  public void setPartnerAddress2(String partnerAddress2) {
    this.partnerAddress2 = partnerAddress2;
  }


  public QuotationResponseQuotation partnerCode(String partnerCode) {
    
    this.partnerCode = partnerCode;
    return this;
  }

   /**
   * 取引先コード
   * @return partnerCode
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "code001", value = "取引先コード")

  public String getPartnerCode() {
    return partnerCode;
  }


  public void setPartnerCode(String partnerCode) {
    this.partnerCode = partnerCode;
  }


  public QuotationResponseQuotation partnerContactInfo(String partnerContactInfo) {
    
    this.partnerContactInfo = partnerContactInfo;
    return this;
  }

   /**
   * 取引先担当者名
   * @return partnerContactInfo
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "営業担当", value = "取引先担当者名")

  public String getPartnerContactInfo() {
    return partnerContactInfo;
  }


  public void setPartnerContactInfo(String partnerContactInfo) {
    this.partnerContactInfo = partnerContactInfo;
  }


  public QuotationResponseQuotation partnerDisplayName(String partnerDisplayName) {
    
    this.partnerDisplayName = partnerDisplayName;
    return this;
  }

   /**
   * 見積書に表示する取引先名
   * @return partnerDisplayName
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "株式会社freeeパートナー", value = "見積書に表示する取引先名")

  public String getPartnerDisplayName() {
    return partnerDisplayName;
  }


  public void setPartnerDisplayName(String partnerDisplayName) {
    this.partnerDisplayName = partnerDisplayName;
  }


  public QuotationResponseQuotation partnerId(Integer partnerId) {
    
    this.partnerId = partnerId;
    return this;
  }

   /**
   * 取引先ID
   * @return partnerId
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "201", required = true, value = "取引先ID")

  public Integer getPartnerId() {
    return partnerId;
  }


  public void setPartnerId(Integer partnerId) {
    this.partnerId = partnerId;
  }


  public QuotationResponseQuotation partnerName(String partnerName) {
    
    this.partnerName = partnerName;
    return this;
  }

   /**
   * 取引先名
   * @return partnerName
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "freeeパートナー", value = "取引先名")

  public String getPartnerName() {
    return partnerName;
  }


  public void setPartnerName(String partnerName) {
    this.partnerName = partnerName;
  }


  public QuotationResponseQuotation partnerPrefectureCode(Integer partnerPrefectureCode) {
    
    this.partnerPrefectureCode = partnerPrefectureCode;
    return this;
  }

   /**
   * 都道府県コード(-1: 設定しない、0:北海道、1:青森、2:岩手、3:宮城、4:秋田、5:山形、6:福島、7:茨城、8:栃木、9:群馬、10:埼玉、11:千葉、12:東京、13:神奈川、14:新潟、15:富山、16:石川、17:福井、18:山梨、19:長野、20:岐阜、21:静岡、22:愛知、23:三重、24:滋賀、25:京都、26:大阪、27:兵庫、28:奈良、29:和歌山、30:鳥取、31:島根、32:岡山、33:広島、34:山口、35:徳島、36:香川、37:愛媛、38:高知、39:福岡、40:佐賀、41:長崎、42:熊本、43:大分、44:宮崎、45:鹿児島、46:沖縄
   * minimum: -1
   * maximum: 46
   * @return partnerPrefectureCode
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "4", value = "都道府県コード(-1: 設定しない、0:北海道、1:青森、2:岩手、3:宮城、4:秋田、5:山形、6:福島、7:茨城、8:栃木、9:群馬、10:埼玉、11:千葉、12:東京、13:神奈川、14:新潟、15:富山、16:石川、17:福井、18:山梨、19:長野、20:岐阜、21:静岡、22:愛知、23:三重、24:滋賀、25:京都、26:大阪、27:兵庫、28:奈良、29:和歌山、30:鳥取、31:島根、32:岡山、33:広島、34:山口、35:徳島、36:香川、37:愛媛、38:高知、39:福岡、40:佐賀、41:長崎、42:熊本、43:大分、44:宮崎、45:鹿児島、46:沖縄")

  public Integer getPartnerPrefectureCode() {
    return partnerPrefectureCode;
  }


  public void setPartnerPrefectureCode(Integer partnerPrefectureCode) {
    this.partnerPrefectureCode = partnerPrefectureCode;
  }


  public QuotationResponseQuotation partnerPrefectureName(String partnerPrefectureName) {
    
    this.partnerPrefectureName = partnerPrefectureName;
    return this;
  }

   /**
   * 都道府県
   * @return partnerPrefectureName
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "秋田県", value = "都道府県")

  public String getPartnerPrefectureName() {
    return partnerPrefectureName;
  }


  public void setPartnerPrefectureName(String partnerPrefectureName) {
    this.partnerPrefectureName = partnerPrefectureName;
  }


  public QuotationResponseQuotation partnerTitle(String partnerTitle) {
    
    this.partnerTitle = partnerTitle;
    return this;
  }

   /**
   * 敬称(御中、様、(空白)の3つから選択)
   * @return partnerTitle
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "御中", required = true, value = "敬称(御中、様、(空白)の3つから選択)")

  public String getPartnerTitle() {
    return partnerTitle;
  }


  public void setPartnerTitle(String partnerTitle) {
    this.partnerTitle = partnerTitle;
  }


  public QuotationResponseQuotation partnerZipcode(String partnerZipcode) {
    
    this.partnerZipcode = partnerZipcode;
    return this;
  }

   /**
   * 郵便番号
   * @return partnerZipcode
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "000-0000", value = "郵便番号")

  public String getPartnerZipcode() {
    return partnerZipcode;
  }


  public void setPartnerZipcode(String partnerZipcode) {
    this.partnerZipcode = partnerZipcode;
  }


  public QuotationResponseQuotation quotationContents(List quotationContents) {
    
    this.quotationContents = quotationContents;
    return this;
  }

  public QuotationResponseQuotation addQuotationContentsItem(QuotationIndexResponseQuotationContents quotationContentsItem) {
    if (this.quotationContents == null) {
      this.quotationContents = new ArrayList<>();
    }
    this.quotationContents.add(quotationContentsItem);
    return this;
  }

   /**
   * 見積内容
   * @return quotationContents
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "見積内容")

  public List getQuotationContents() {
    return quotationContents;
  }


  public void setQuotationContents(List quotationContents) {
    this.quotationContents = quotationContents;
  }


  public QuotationResponseQuotation quotationLayout(QuotationLayoutEnum quotationLayout) {
    
    this.quotationLayout = quotationLayout;
    return this;
  }

   /**
   * 見積書レイアウト * `default_classic` - レイアウト1/クラシック (デフォルト)  * `standard_classic` - レイアウト2/クラシック  * `envelope_classic` - 封筒1/クラシック  * `default_modern` - レイアウト1/モダン  * `standard_modern` - レイアウト2/モダン  * `envelope_modern` - 封筒/モダン
   * @return quotationLayout
  **/
  @javax.annotation.Nonnull
  @ApiModelProperty(example = "default_classic", required = true, value = "見積書レイアウト * `default_classic` - レイアウト1/クラシック (デフォルト)  * `standard_classic` - レイアウト2/クラシック  * `envelope_classic` - 封筒1/クラシック  * `default_modern` - レイアウト1/モダン  * `standard_modern` - レイアウト2/モダン  * `envelope_modern` - 封筒/モダン")

  public QuotationLayoutEnum getQuotationLayout() {
    return quotationLayout;
  }


  public void setQuotationLayout(QuotationLayoutEnum quotationLayout) {
    this.quotationLayout = quotationLayout;
  }


  public QuotationResponseQuotation quotationNumber(String quotationNumber) {
    
    this.quotationNumber = quotationNumber;
    return this;
  }

   /**
   * 見積書番号
   * @return quotationNumber
  **/
  @javax.annotation.Nonnull
  @ApiModelProperty(example = "A001", required = true, value = "見積書番号")

  public String getQuotationNumber() {
    return quotationNumber;
  }


  public void setQuotationNumber(String quotationNumber) {
    this.quotationNumber = quotationNumber;
  }


  public QuotationResponseQuotation quotationStatus(QuotationStatusEnum quotationStatus) {
    
    this.quotationStatus = quotationStatus;
    return this;
  }

   /**
   * 見積書ステータス  (unsubmitted: 送付待ち, submitted: 送付済み, all: 全て)
   * @return quotationStatus
  **/
  @javax.annotation.Nonnull
  @ApiModelProperty(required = true, value = "見積書ステータス  (unsubmitted: 送付待ち, submitted: 送付済み, all: 全て)")

  public QuotationStatusEnum getQuotationStatus() {
    return quotationStatus;
  }


  public void setQuotationStatus(QuotationStatusEnum quotationStatus) {
    this.quotationStatus = quotationStatus;
  }


  public QuotationResponseQuotation relatedInvoiceId(Integer relatedInvoiceId) {
    
    this.relatedInvoiceId = relatedInvoiceId;
    return this;
  }

   /**
   * 関連する請求書ID<br> 下記で作成したものが該当します。  <a href=\"https://support.freee.co.jp/hc/ja/articles/203318410#1-2\" target=\"_blank\">見積書・納品書を納品書・請求書に変換する</a><br> <a href=\"https://support.freee.co.jp/hc/ja/articles/209076226\" target=\"_blank\">複数の見積書・納品書から合算請求書を作成する</a><br> 
   * minimum: 1
   * maximum: 2147483647
   * @return relatedInvoiceId
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(example = "1", value = "関連する請求書ID
下記で作成したものが該当します。 見積書・納品書を納品書・請求書に変換する
複数の見積書・納品書から合算請求書を作成する
") public Integer getRelatedInvoiceId() { return relatedInvoiceId; } public void setRelatedInvoiceId(Integer relatedInvoiceId) { this.relatedInvoiceId = relatedInvoiceId; } public QuotationResponseQuotation relatedQuotationIds(List relatedQuotationIds) { this.relatedQuotationIds = relatedQuotationIds; return this; } public QuotationResponseQuotation addRelatedQuotationIdsItem(Integer relatedQuotationIdsItem) { if (this.relatedQuotationIds == null) { this.relatedQuotationIds = new ArrayList<>(); } this.relatedQuotationIds.add(relatedQuotationIdsItem); return this; } /** * 関連する見積書ID(配列)<br> 下記で作成したものが該当します。 <a href=\"https://support.freee.co.jp/hc/ja/articles/203318410#1-2\" target=\"_blank\">見積書・納品書を納品書・請求書に変換する</a><br> <a href=\"https://support.freee.co.jp/hc/ja/articles/209076226\" target=\"_blank\">複数の見積書・納品書から合算請求書を作成する</a><br> * @return relatedQuotationIds **/ @javax.annotation.Nullable @ApiModelProperty(example = "1", value = "関連する見積書ID(配列)
下記で作成したものが該当します。 見積書・納品書を納品書・請求書に変換する
複数の見積書・納品書から合算請求書を作成する
") public List getRelatedQuotationIds() { return relatedQuotationIds; } public void setRelatedQuotationIds(List relatedQuotationIds) { this.relatedQuotationIds = relatedQuotationIds; } public QuotationResponseQuotation subTotal(Integer subTotal) { this.subTotal = subTotal; return this; } /** * 小計 * @return subTotal **/ @javax.annotation.Nullable @ApiModelProperty(example = "100000", value = "小計") public Integer getSubTotal() { return subTotal; } public void setSubTotal(Integer subTotal) { this.subTotal = subTotal; } public QuotationResponseQuotation taxEntryMethod(TaxEntryMethodEnum taxEntryMethod) { this.taxEntryMethod = taxEntryMethod; return this; } /** * 見積書の消費税計算方法(inclusive: 内税, exclusive: 外税) * @return taxEntryMethod **/ @javax.annotation.Nonnull @ApiModelProperty(example = "exclusive", required = true, value = "見積書の消費税計算方法(inclusive: 内税, exclusive: 外税)") public TaxEntryMethodEnum getTaxEntryMethod() { return taxEntryMethod; } public void setTaxEntryMethod(TaxEntryMethodEnum taxEntryMethod) { this.taxEntryMethod = taxEntryMethod; } public QuotationResponseQuotation title(String title) { this.title = title; return this; } /** * タイトル * @return title **/ @javax.annotation.Nullable @ApiModelProperty(example = "見積書", value = "タイトル") public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public QuotationResponseQuotation totalAmount(Integer totalAmount) { this.totalAmount = totalAmount; return this; } /** * 合計金額 * @return totalAmount **/ @javax.annotation.Nonnull @ApiModelProperty(example = "108000", required = true, value = "合計金額") public Integer getTotalAmount() { return totalAmount; } public void setTotalAmount(Integer totalAmount) { this.totalAmount = totalAmount; } public QuotationResponseQuotation totalAmountPerVatRate(InvoiceIndexResponseTotalAmountPerVatRate totalAmountPerVatRate) { this.totalAmountPerVatRate = totalAmountPerVatRate; return this; } /** * Get totalAmountPerVatRate * @return totalAmountPerVatRate **/ @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public InvoiceIndexResponseTotalAmountPerVatRate getTotalAmountPerVatRate() { return totalAmountPerVatRate; } public void setTotalAmountPerVatRate(InvoiceIndexResponseTotalAmountPerVatRate totalAmountPerVatRate) { this.totalAmountPerVatRate = totalAmountPerVatRate; } public QuotationResponseQuotation totalVat(Integer totalVat) { this.totalVat = totalVat; return this; } /** * 消費税 * @return totalVat **/ @javax.annotation.Nullable @ApiModelProperty(example = "8000", value = "消費税") public Integer getTotalVat() { return totalVat; } public void setTotalVat(Integer totalVat) { this.totalVat = totalVat; } public QuotationResponseQuotation webConfirmedAt(String webConfirmedAt) { this.webConfirmedAt = webConfirmedAt; return this; } /** * Web共有取引先確認日時(最新) * @return webConfirmedAt **/ @javax.annotation.Nullable @ApiModelProperty(example = "2019-12-17T19:00:00+09:00", value = "Web共有取引先確認日時(最新)") public String getWebConfirmedAt() { return webConfirmedAt; } public void setWebConfirmedAt(String webConfirmedAt) { this.webConfirmedAt = webConfirmedAt; } public QuotationResponseQuotation webDownloadedAt(String webDownloadedAt) { this.webDownloadedAt = webDownloadedAt; return this; } /** * Web共有ダウンロード日時(最新) * @return webDownloadedAt **/ @javax.annotation.Nullable @ApiModelProperty(example = "2019-12-17T19:00:00+09:00", value = "Web共有ダウンロード日時(最新)") public String getWebDownloadedAt() { return webDownloadedAt; } public void setWebDownloadedAt(String webDownloadedAt) { this.webDownloadedAt = webDownloadedAt; } public QuotationResponseQuotation webPublishedAt(String webPublishedAt) { this.webPublishedAt = webPublishedAt; return this; } /** * Web共有日時(最新) * @return webPublishedAt **/ @javax.annotation.Nullable @ApiModelProperty(example = "2019-12-17T19:00:00+09:00", value = "Web共有日時(最新)") public String getWebPublishedAt() { return webPublishedAt; } public void setWebPublishedAt(String webPublishedAt) { this.webPublishedAt = webPublishedAt; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } QuotationResponseQuotation quotationResponseQuotation = (QuotationResponseQuotation) o; return Objects.equals(this.companyAddress1, quotationResponseQuotation.companyAddress1) && Objects.equals(this.companyAddress2, quotationResponseQuotation.companyAddress2) && Objects.equals(this.companyContactInfo, quotationResponseQuotation.companyContactInfo) && Objects.equals(this.companyId, quotationResponseQuotation.companyId) && Objects.equals(this.companyName, quotationResponseQuotation.companyName) && Objects.equals(this.companyPrefectureCode, quotationResponseQuotation.companyPrefectureCode) && Objects.equals(this.companyPrefectureName, quotationResponseQuotation.companyPrefectureName) && Objects.equals(this.companyZipcode, quotationResponseQuotation.companyZipcode) && Objects.equals(this.description, quotationResponseQuotation.description) && Objects.equals(this.id, quotationResponseQuotation.id) && Objects.equals(this.issueDate, quotationResponseQuotation.issueDate) && Objects.equals(this.mailSentAt, quotationResponseQuotation.mailSentAt) && Objects.equals(this.message, quotationResponseQuotation.message) && Objects.equals(this.notes, quotationResponseQuotation.notes) && Objects.equals(this.partnerAddress1, quotationResponseQuotation.partnerAddress1) && Objects.equals(this.partnerAddress2, quotationResponseQuotation.partnerAddress2) && Objects.equals(this.partnerCode, quotationResponseQuotation.partnerCode) && Objects.equals(this.partnerContactInfo, quotationResponseQuotation.partnerContactInfo) && Objects.equals(this.partnerDisplayName, quotationResponseQuotation.partnerDisplayName) && Objects.equals(this.partnerId, quotationResponseQuotation.partnerId) && Objects.equals(this.partnerName, quotationResponseQuotation.partnerName) && Objects.equals(this.partnerPrefectureCode, quotationResponseQuotation.partnerPrefectureCode) && Objects.equals(this.partnerPrefectureName, quotationResponseQuotation.partnerPrefectureName) && Objects.equals(this.partnerTitle, quotationResponseQuotation.partnerTitle) && Objects.equals(this.partnerZipcode, quotationResponseQuotation.partnerZipcode) && Objects.equals(this.quotationContents, quotationResponseQuotation.quotationContents) && Objects.equals(this.quotationLayout, quotationResponseQuotation.quotationLayout) && Objects.equals(this.quotationNumber, quotationResponseQuotation.quotationNumber) && Objects.equals(this.quotationStatus, quotationResponseQuotation.quotationStatus) && Objects.equals(this.relatedInvoiceId, quotationResponseQuotation.relatedInvoiceId) && Objects.equals(this.relatedQuotationIds, quotationResponseQuotation.relatedQuotationIds) && Objects.equals(this.subTotal, quotationResponseQuotation.subTotal) && Objects.equals(this.taxEntryMethod, quotationResponseQuotation.taxEntryMethod) && Objects.equals(this.title, quotationResponseQuotation.title) && Objects.equals(this.totalAmount, quotationResponseQuotation.totalAmount) && Objects.equals(this.totalAmountPerVatRate, quotationResponseQuotation.totalAmountPerVatRate) && Objects.equals(this.totalVat, quotationResponseQuotation.totalVat) && Objects.equals(this.webConfirmedAt, quotationResponseQuotation.webConfirmedAt) && Objects.equals(this.webDownloadedAt, quotationResponseQuotation.webDownloadedAt) && Objects.equals(this.webPublishedAt, quotationResponseQuotation.webPublishedAt); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); } @Override public int hashCode() { return Objects.hash(companyAddress1, companyAddress2, companyContactInfo, companyId, companyName, companyPrefectureCode, companyPrefectureName, companyZipcode, description, id, issueDate, mailSentAt, message, notes, partnerAddress1, partnerAddress2, partnerCode, partnerContactInfo, partnerDisplayName, partnerId, partnerName, partnerPrefectureCode, partnerPrefectureName, partnerTitle, partnerZipcode, quotationContents, quotationLayout, quotationNumber, quotationStatus, relatedInvoiceId, relatedQuotationIds, subTotal, taxEntryMethod, title, totalAmount, totalAmountPerVatRate, totalVat, webConfirmedAt, webDownloadedAt, webPublishedAt); } private static int hashCodeNullable(JsonNullable a) { if (a == null) { return 1; } return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class QuotationResponseQuotation {\n"); sb.append(" companyAddress1: ").append(toIndentedString(companyAddress1)).append("\n"); sb.append(" companyAddress2: ").append(toIndentedString(companyAddress2)).append("\n"); sb.append(" companyContactInfo: ").append(toIndentedString(companyContactInfo)).append("\n"); sb.append(" companyId: ").append(toIndentedString(companyId)).append("\n"); sb.append(" companyName: ").append(toIndentedString(companyName)).append("\n"); sb.append(" companyPrefectureCode: ").append(toIndentedString(companyPrefectureCode)).append("\n"); sb.append(" companyPrefectureName: ").append(toIndentedString(companyPrefectureName)).append("\n"); sb.append(" companyZipcode: ").append(toIndentedString(companyZipcode)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" issueDate: ").append(toIndentedString(issueDate)).append("\n"); sb.append(" mailSentAt: ").append(toIndentedString(mailSentAt)).append("\n"); sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append(" notes: ").append(toIndentedString(notes)).append("\n"); sb.append(" partnerAddress1: ").append(toIndentedString(partnerAddress1)).append("\n"); sb.append(" partnerAddress2: ").append(toIndentedString(partnerAddress2)).append("\n"); sb.append(" partnerCode: ").append(toIndentedString(partnerCode)).append("\n"); sb.append(" partnerContactInfo: ").append(toIndentedString(partnerContactInfo)).append("\n"); sb.append(" partnerDisplayName: ").append(toIndentedString(partnerDisplayName)).append("\n"); sb.append(" partnerId: ").append(toIndentedString(partnerId)).append("\n"); sb.append(" partnerName: ").append(toIndentedString(partnerName)).append("\n"); sb.append(" partnerPrefectureCode: ").append(toIndentedString(partnerPrefectureCode)).append("\n"); sb.append(" partnerPrefectureName: ").append(toIndentedString(partnerPrefectureName)).append("\n"); sb.append(" partnerTitle: ").append(toIndentedString(partnerTitle)).append("\n"); sb.append(" partnerZipcode: ").append(toIndentedString(partnerZipcode)).append("\n"); sb.append(" quotationContents: ").append(toIndentedString(quotationContents)).append("\n"); sb.append(" quotationLayout: ").append(toIndentedString(quotationLayout)).append("\n"); sb.append(" quotationNumber: ").append(toIndentedString(quotationNumber)).append("\n"); sb.append(" quotationStatus: ").append(toIndentedString(quotationStatus)).append("\n"); sb.append(" relatedInvoiceId: ").append(toIndentedString(relatedInvoiceId)).append("\n"); sb.append(" relatedQuotationIds: ").append(toIndentedString(relatedQuotationIds)).append("\n"); sb.append(" subTotal: ").append(toIndentedString(subTotal)).append("\n"); sb.append(" taxEntryMethod: ").append(toIndentedString(taxEntryMethod)).append("\n"); sb.append(" title: ").append(toIndentedString(title)).append("\n"); sb.append(" totalAmount: ").append(toIndentedString(totalAmount)).append("\n"); sb.append(" totalAmountPerVatRate: ").append(toIndentedString(totalAmountPerVatRate)).append("\n"); sb.append(" totalVat: ").append(toIndentedString(totalVat)).append("\n"); sb.append(" webConfirmedAt: ").append(toIndentedString(webConfirmedAt)).append("\n"); sb.append(" webDownloadedAt: ").append(toIndentedString(webDownloadedAt)).append("\n"); sb.append(" webPublishedAt: ").append(toIndentedString(webPublishedAt)).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 "); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy