PartnerResponsePartner

Struct PartnerResponsePartner 

Source
pub struct PartnerResponsePartner {
Show 25 fields pub id: i32, pub code: Option<String>, pub company_id: i32, pub name: String, pub update_date: String, pub available: bool, pub shortcut1: Option<Option<String>>, pub shortcut2: Option<Option<String>>, pub org_code: Option<Option<i32>>, pub country_code: Option<String>, pub long_name: Option<Option<String>>, pub name_kana: Option<Option<String>>, pub default_title: Option<Option<String>>, pub phone: Option<Option<String>>, pub contact_name: Option<Option<String>>, pub email: Option<Option<String>>, pub payer_walletable_id: Option<Option<i32>>, pub transfer_fee_handling_side: Option<TransferFeeHandlingSide>, pub qualified_invoice_issuer: Option<bool>, pub invoice_registration_number: Option<Option<String>>, pub address_attributes: Option<Box<PartnersResponsePartnersInnerAddressAttributes>>, pub partner_doc_setting_attributes: Option<Box<PartnerCreateParamsPartnerDocSettingAttributes>>, pub partner_bank_account_attributes: Option<Box<PartnersResponsePartnersInnerPartnerBankAccountAttributes>>, pub payment_term_attributes: Option<Box<PartnerResponsePartnerPaymentTermAttributes>>, pub invoice_payment_term_attributes: Option<Box<PartnerResponsePartnerInvoicePaymentTermAttributes>>,
}

Fields§

§id: i32

取引先ID

§code: Option<String>

取引先コード

§company_id: i32

事業所ID

§name: String

取引先名

§update_date: String

更新日 (yyyy-mm-dd)

§available: bool

取引先の使用設定(true: 使用する、false: 使用しない)

  • 本APIでpartnerを作成した場合はtrueになります。
  • falseにする場合はWeb画面から変更できます。
  • trueの場合、Web画面での取引登録時などに入力候補として表示されます。
  • falseの場合、取引先自体は削除せず、Web画面での取引登録時などに入力候補として表示されません。ただし取引(収入・支出)の作成APIなどでfalseの取引先をパラメータに指定すれば、取引などにfalseの取引先を設定できます。

§shortcut1: Option<Option<String>>

ショートカット1 (255文字以内)

§shortcut2: Option<Option<String>>

ショートカット2 (255文字以内)

§org_code: Option<Option<i32>>

事業所種別(null: 未設定、1: 法人、2: 個人)

§country_code: Option<String>

地域(JP: 国内、ZZ:国外)

§long_name: Option<Option<String>>

正式名称(255文字以内)

§name_kana: Option<Option<String>>

カナ名称(255文字以内)

§default_title: Option<Option<String>>

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

§phone: Option<Option<String>>

電話番号

§contact_name: Option<Option<String>>

担当者 氏名

§email: Option<Option<String>>

担当者 メールアドレス

§payer_walletable_id: Option<Option<i32>>

振込元口座ID(一括振込ファイル用):(未設定の場合は、nullです。)

§transfer_fee_handling_side: Option<TransferFeeHandlingSide>

振込手数料負担(一括振込ファイル用): (振込元(当方): payer, 振込先(先方): payee)

§qualified_invoice_issuer: Option<bool>

この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 インボイス制度適格請求書発行事業者(true: 対象事業者、false: 非対象事業者) <a target="_blank" href="https://www.invoice-kohyo.nta.go.jp/index.html">国税庁インボイス制度適格請求書発行事業者公表サイト

§invoice_registration_number: Option<Option<String>>

この項目はインボイス制度で利用する項目です。2023年4月頃から利用できる予定です。 インボイス制度適格請求書発行事業者登録番号 - 先頭T数字13桁の固定14桁の文字列 <a target="_blank" href="https://www.invoice-kohyo.nta.go.jp/index.html">国税庁インボイス制度適格請求書発行事業者公表サイト

§address_attributes: Option<Box<PartnersResponsePartnersInnerAddressAttributes>>§partner_doc_setting_attributes: Option<Box<PartnerCreateParamsPartnerDocSettingAttributes>>§partner_bank_account_attributes: Option<Box<PartnersResponsePartnersInnerPartnerBankAccountAttributes>>§payment_term_attributes: Option<Box<PartnerResponsePartnerPaymentTermAttributes>>§invoice_payment_term_attributes: Option<Box<PartnerResponsePartnerInvoicePaymentTermAttributes>>

Implementations§

Source§

impl PartnerResponsePartner

Source

pub fn new( id: i32, code: Option<String>, company_id: i32, name: String, update_date: String, available: bool, ) -> PartnerResponsePartner

Trait Implementations§

Source§

impl Clone for PartnerResponsePartner

Source§

fn clone(&self) -> PartnerResponsePartner

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 PartnerResponsePartner

Source§

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

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

impl Default for PartnerResponsePartner

Source§

fn default() -> PartnerResponsePartner

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

impl<'de> Deserialize<'de> for PartnerResponsePartner

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 PartnerResponsePartner

Source§

fn eq(&self, other: &PartnerResponsePartner) -> 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 PartnerResponsePartner

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 PartnerResponsePartner

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,