pub struct Balance {
pub bank_info: Option<BankInfo>,
pub closed: bool,
pub closed_date: Option<Timestamp>,
pub created: i64,
pub due_date: Option<Timestamp>,
pub id: BalanceId,
pub livemode: bool,
pub net: i64,
pub state: BalanceState,
pub statements: Vec<Statement>,
pub tenant_id: Option<String>,
}Expand description
Balanceオブジェクト
For more details see <https://pay.jp/docs/api>.
Fields§
§bank_info: Option<BankInfo>§closed: boolこのBalanceの清算が終了していればtrue
closed_date: Option<Timestamp>精算が終了した日時のタイムスタンプ
created: i64オブジェクト作成時刻のUTCタイムスタンプ
due_date: Option<Timestamp>入金予定日/請求期限日のタイムスタンプ
id: BalanceIdba_で始まる一意なオブジェクトを示す文字列
livemode: bool本番環境かどうか
net: i64関連付けられているStatementの総額
state: BalanceStateBalanceの状態
statements: Vec<Statement>関連付けられているStatementオブジェクトのリスト
tenant_id: Option<String>オブジェクトを所有するTenantのID
Trait Implementations§
Source§impl Deserialize for Balance
impl Deserialize for Balance
Auto Trait Implementations§
impl Freeze for Balance
impl RefUnwindSafe for Balance
impl Send for Balance
impl Sync for Balance
impl Unpin for Balance
impl UnwindSafe for Balance
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