pub struct Tenant {Show 17 fields
pub bank_account_holder_name: Option<String>,
pub bank_account_number: Option<String>,
pub bank_account_status: Option<TenantBankAccountStatus>,
pub bank_account_type: Option<String>,
pub bank_branch_code: Option<String>,
pub bank_code: Option<String>,
pub created: i64,
pub currencies_supported: Option<Vec<String>>,
pub default_currency: Option<String>,
pub id: TenantId,
pub livemode: bool,
pub metadata: Option<Metadata>,
pub minimum_transfer_amount: i64,
pub object: String,
pub payjp_fee_included: bool,
pub platform_fee_rate: String,
pub reviewed_brands: Option<Vec<TenantReviewedBrands>>,
}Expand description
tenantオブジェクト
For more details see <https://pay.jp/docs/api>.
Fields§
§bank_account_holder_name: Option<String>口座名義
bank_account_number: Option<String>口座番号
bank_account_status: Option<TenantBankAccountStatus>口座状態。pending:未確認, success:入金確認済み, failed:入金不可能
bank_account_type: Option<String>預金種別
bank_branch_code: Option<String>3桁の支店コード
bank_code: Option<String>4桁の銀行コード
created: i64定期課金作成時のUTCタイムスタンプ
currencies_supported: Option<Vec<String>>対応通貨のリスト(文字列)
default_currency: Option<String>3文字のISOコード(現状 “jpy” のみサポート)
id: TenantIdten_で始まる自動生成された一意な文字列、または作成時に指定した任意の文字列.
livemode: bool本番環境かどうか
metadata: Option<Metadata>§minimum_transfer_amount: i64最低入金額
object: String“tenant“の固定文字列
payjp_fee_included: boolテナントのプラットフォーム利用料にPAY.JP決済手数料を含めるかどうか
platform_fee_rate: Stringテナントのプラットフォーム利用料率(%)
reviewed_brands: Option<Vec<TenantReviewedBrands>>申請情報を提出済のブランドの各種情報
Trait Implementations§
Source§impl Deserialize for Tenant
impl Deserialize for Tenant
Auto Trait Implementations§
impl Freeze for Tenant
impl RefUnwindSafe for Tenant
impl Send for Tenant
impl Sync for Tenant
impl Unpin for Tenant
impl UnwindSafe for Tenant
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more