pub struct CustomerLedgerItem {
pub id: Option<String>,
pub customer_id: Option<String>,
pub customer_invoice_id: Option<String>,
pub currency_amount: Option<Money>,
pub currency_code: Option<String>,
pub amount: Option<Money>,
pub payment_date: Option<DateTime<Utc>>,
pub payment_reference_number: Option<String>,
pub voucher_id: Option<String>,
pub voucher_number: Option<String>,
pub created_utc: Option<DateTime<Utc>>,
}Expand description
Customer ledger item (payment/transaction record).
Fields§
§id: Option<String>Unique identifier.
customer_id: Option<String>Customer ID.
customer_invoice_id: Option<String>Customer invoice ID.
currency_amount: Option<Money>Amount in currency.
currency_code: Option<String>Currency code.
amount: Option<Money>Amount in domestic currency.
payment_date: Option<DateTime<Utc>>Payment date.
payment_reference_number: Option<String>Payment reference number.
voucher_id: Option<String>Voucher ID.
voucher_number: Option<String>Voucher number.
created_utc: Option<DateTime<Utc>>When the item was created.
Trait Implementations§
Source§impl Clone for CustomerLedgerItem
impl Clone for CustomerLedgerItem
Source§fn clone(&self) -> CustomerLedgerItem
fn clone(&self) -> CustomerLedgerItem
Returns a duplicate 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 CustomerLedgerItem
impl Debug for CustomerLedgerItem
Source§impl Default for CustomerLedgerItem
impl Default for CustomerLedgerItem
Source§fn default() -> CustomerLedgerItem
fn default() -> CustomerLedgerItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomerLedgerItem
impl<'de> Deserialize<'de> for CustomerLedgerItem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CustomerLedgerItem
impl RefUnwindSafe for CustomerLedgerItem
impl Send for CustomerLedgerItem
impl Sync for CustomerLedgerItem
impl Unpin for CustomerLedgerItem
impl UnwindSafe for CustomerLedgerItem
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