PartnerCreateParams

Struct PartnerCreateParams 

Source
pub struct PartnerCreateParams {
Show 22 fields pub company_id: i32, pub name: String, pub code: Option<String>, pub shortcut1: Option<String>, pub shortcut2: Option<String>, pub org_code: Option<Option<OrgCode>>, pub country_code: Option<CountryCode>, pub long_name: Option<String>, pub name_kana: Option<String>, pub default_title: Option<String>, pub phone: Option<String>, pub contact_name: Option<String>, pub email: 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<PartnerCreateParamsAddressAttributes>>, pub partner_doc_setting_attributes: Option<Box<PartnerCreateParamsPartnerDocSettingAttributes>>, pub partner_bank_account_attributes: Option<Box<PartnerCreateParamsPartnerBankAccountAttributes>>, pub payment_term_attributes: Option<Box<PartnerCreateParamsPaymentTermAttributes>>, pub invoice_payment_term_attributes: Option<Box<PartnerCreateParamsInvoicePaymentTermAttributes>>,
}

Fields§

§company_id: i32

事業所ID

§name: String

取引先名 (255文字以内、重複不可)

§code: Option<String>

取引先コード(取引先コードの利用を有効にしている場合は、codeの指定は必須です。ただし重複は不可。)

§shortcut1: Option<String>

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

§shortcut2: Option<String>

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

§org_code: Option<Option<OrgCode>>

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

§country_code: Option<CountryCode>

地域(JP: 国内、ZZ:国外)、指定しない場合JPになります。

§long_name: Option<String>

正式名称(255文字以内)

§name_kana: Option<String>

カナ名称(255文字以内)

§default_title: Option<String>

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

§phone: Option<String>

電話番号

§contact_name: Option<String>

担当者 氏名 (255文字以内)

§email: Option<String>

担当者 メールアドレス (255文字以内)

§payer_walletable_id: Option<Option<i32>>

振込元口座ID(一括振込ファイル用):(walletableのtypeが’bank_account’のidのみ指定できます。また、未設定にする場合は、nullを指定してください。)

§transfer_fee_handling_side: Option<TransferFeeHandlingSide>

振込手数料負担(一括振込ファイル用): (振込元(当方): payer, 振込先(先方): payee)、指定しない場合payerになります。

§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<PartnerCreateParamsAddressAttributes>>§partner_doc_setting_attributes: Option<Box<PartnerCreateParamsPartnerDocSettingAttributes>>§partner_bank_account_attributes: Option<Box<PartnerCreateParamsPartnerBankAccountAttributes>>§payment_term_attributes: Option<Box<PartnerCreateParamsPaymentTermAttributes>>§invoice_payment_term_attributes: Option<Box<PartnerCreateParamsInvoicePaymentTermAttributes>>

Implementations§

Trait Implementations§

Source§

impl Clone for PartnerCreateParams

Source§

fn clone(&self) -> PartnerCreateParams

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 PartnerCreateParams

Source§

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

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

impl Default for PartnerCreateParams

Source§

fn default() -> PartnerCreateParams

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

impl<'de> Deserialize<'de> for PartnerCreateParams

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 PartnerCreateParams

Source§

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

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 PartnerCreateParams

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,