QuotationResponseQuotation

Struct QuotationResponseQuotation 

Source
pub struct QuotationResponseQuotation {
Show 40 fields pub id: i32, pub company_id: i32, pub issue_date: String, pub partner_id: Option<i32>, pub partner_code: Option<Option<String>>, pub quotation_number: String, pub title: Option<Option<String>>, pub total_amount: i32, pub total_vat: Option<i32>, pub sub_total: Option<i32>, pub description: Option<Option<String>>, pub quotation_status: QuotationStatus, pub web_published_at: Option<Option<String>>, pub web_downloaded_at: Option<Option<String>>, pub web_confirmed_at: Option<Option<String>>, pub mail_sent_at: Option<Option<String>>, pub partner_name: Option<Option<String>>, pub partner_display_name: Option<Option<String>>, pub partner_title: Option<String>, pub partner_zipcode: Option<Option<String>>, pub partner_prefecture_code: Option<Option<i32>>, pub partner_prefecture_name: Option<Option<String>>, pub partner_address1: Option<Option<String>>, pub partner_address2: Option<Option<String>>, pub partner_contact_info: Option<Option<String>>, pub company_name: String, pub company_zipcode: Option<Option<String>>, pub company_prefecture_code: Option<Option<i32>>, pub company_prefecture_name: Option<Option<String>>, pub company_address1: Option<Option<String>>, pub company_address2: Option<Option<String>>, pub company_contact_info: Option<Option<String>>, pub message: Option<Option<String>>, pub notes: Option<Option<String>>, pub quotation_layout: QuotationLayout, pub tax_entry_method: TaxEntryMethod, pub quotation_contents: Option<Vec<QuotationIndexResponseQuotationsInnerQuotationContentsInner>>, pub total_amount_per_vat_rate: Box<InvoiceIndexResponseInvoicesInnerTotalAmountPerVatRate>, pub related_invoice_id: Option<Option<i32>>, pub related_quotation_ids: Option<Vec<i32>>,
}

Fields§

§id: i32

見積書ID

§company_id: i32

事業所ID

§issue_date: String

見積日 (yyyy-mm-dd)

§partner_id: Option<i32>

取引先ID

§partner_code: Option<Option<String>>

取引先コード

§quotation_number: String

見積書番号

§title: Option<Option<String>>

タイトル

§total_amount: i32

合計金額

§total_vat: Option<i32>

消費税

§sub_total: Option<i32>

小計

§description: Option<Option<String>>

概要

§quotation_status: QuotationStatus

見積書ステータス (unsubmitted: 送付待ち, submitted: 送付済み, all: 全て)

§web_published_at: Option<Option<String>>

Web共有日時(最新)

§web_downloaded_at: Option<Option<String>>

Web共有ダウンロード日時(最新)

§web_confirmed_at: Option<Option<String>>

Web共有取引先確認日時(最新)

§mail_sent_at: Option<Option<String>>

メール送信日時(最新)

§partner_name: Option<Option<String>>

取引先名

§partner_display_name: Option<Option<String>>

見積書に表示する取引先名

§partner_title: Option<String>

敬称(御中、様、(空白)の3つから選択)

§partner_zipcode: Option<Option<String>>

郵便番号

§partner_prefecture_code: Option<Option<i32>>

都道府県コード(-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:沖縄

§partner_prefecture_name: Option<Option<String>>

都道府県

§partner_address1: Option<Option<String>>

市区町村・番地

§partner_address2: Option<Option<String>>

建物名・部屋番号など

§partner_contact_info: Option<Option<String>>

取引先担当者名

§company_name: String

事業所名

§company_zipcode: Option<Option<String>>

郵便番号

§company_prefecture_code: Option<Option<i32>>

都道府県コード(-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:沖縄

§company_prefecture_name: Option<Option<String>>

都道府県

§company_address1: Option<Option<String>>

市区町村・番地

§company_address2: Option<Option<String>>

建物名・部屋番号など

§company_contact_info: Option<Option<String>>

事業所担当者名

§message: Option<Option<String>>

メッセージ

§notes: Option<Option<String>>

備考

§quotation_layout: QuotationLayout

見積書レイアウト * default_classic - レイアウト1/クラシック (デフォルト) * standard_classic - レイアウト2/クラシック * envelope_classic - 封筒1/クラシック * default_modern - レイアウト1/モダン * standard_modern - レイアウト2/モダン * envelope_modern - 封筒/モダン

§tax_entry_method: TaxEntryMethod

見積書の消費税計算方法(inclusive: 内税, exclusive: 外税)

§quotation_contents: Option<Vec<QuotationIndexResponseQuotationsInnerQuotationContentsInner>>

見積内容

§total_amount_per_vat_rate: Box<InvoiceIndexResponseInvoicesInnerTotalAmountPerVatRate>§related_invoice_id: Option<Option<i32>>

関連する請求書ID
下記で作成したものが該当します。 <a href="https://support.freee.co.jp/hc/ja/articles/203318410#1-2" target="_blank">見積書・納品書を納品書・請求書に変換する
<a href="https://support.freee.co.jp/hc/ja/articles/209076226" target="_blank">複数の見積書・納品書から合算請求書を作成する

§related_quotation_ids: Option<Vec<i32>>

関連する見積書ID(配列)
下記で作成したものが該当します。 <a href="https://support.freee.co.jp/hc/ja/articles/203318410#1-2" target="_blank">見積書・納品書を納品書・請求書に変換する
<a href="https://support.freee.co.jp/hc/ja/articles/209076226" target="_blank">複数の見積書・納品書から合算請求書を作成する

Implementations§

Source§

impl QuotationResponseQuotation

Source

pub fn new( id: i32, company_id: i32, issue_date: String, partner_id: Option<i32>, quotation_number: String, total_amount: i32, quotation_status: QuotationStatus, partner_title: Option<String>, company_name: String, quotation_layout: QuotationLayout, tax_entry_method: TaxEntryMethod, total_amount_per_vat_rate: InvoiceIndexResponseInvoicesInnerTotalAmountPerVatRate, ) -> QuotationResponseQuotation

Trait Implementations§

Source§

impl Clone for QuotationResponseQuotation

Source§

fn clone(&self) -> QuotationResponseQuotation

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for QuotationResponseQuotation

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for QuotationResponseQuotation

Source§

fn default() -> QuotationResponseQuotation

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for QuotationResponseQuotation

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for QuotationResponseQuotation

Source§

fn eq(&self, other: &QuotationResponseQuotation) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for QuotationResponseQuotation

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for QuotationResponseQuotation

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,