pub struct StatementItem {
pub amount: i64,
pub name: String,
pub subject: String,
pub tax_rate: String,
}
Expand description
Statementに含まれる項目
For more details see <https://pay.jp/docs/api>.
Fields§
§amount: i64
集計された金額 正の値は加盟店への支払額、負の値は請求額を表します。
name: String
Subjectに対応する表示名
subject: String
集計項目
tax_rate: String
税率(パーセント表記)。小数点以下2桁までの数値の文字列型。
Trait Implementations§
Source§impl Clone for StatementItem
impl Clone for StatementItem
Source§fn clone(&self) -> StatementItem
fn clone(&self) -> StatementItem
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StatementItem
impl Debug for StatementItem
Source§impl Deserialize for StatementItem
impl Deserialize for StatementItem
Source§impl FromValueOpt for StatementItem
impl FromValueOpt for StatementItem
fn from_value(v: Value) -> Option<Self>
Source§impl ObjectDeser for StatementItem
impl ObjectDeser for StatementItem
Auto Trait Implementations§
impl Freeze for StatementItem
impl RefUnwindSafe for StatementItem
impl Send for StatementItem
impl Sync for StatementItem
impl Unpin for StatementItem
impl UnwindSafe for StatementItem
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