pub struct Invoice {
pub customer_id: Option<String>,
pub invoice_id: Option<String>,
pub invoice_posted_on: Option<String>,
pub billing_start_date: Option<String>,
pub billing_end_date: Option<String>,
pub statement_number: Option<String>,
pub currency_code: Option<String>,
pub monthly_transaction_amount: Option<f32>,
pub transaction_line_items: Option<Vec<Invoicelineitems>>,
}
Fields§
§customer_id: Option<String>
Customer ID associated with the invoice.
invoice_id: Option<String>
Numeric string identifying the invoice.
invoice_posted_on: Option<String>
Date and time invoice was posted on, in ISO 8601 format.
billing_start_date: Option<String>
Date and time (in ISO 8601 format) for initiation point of a billing cycle, signifying the start of charges for a service or subscription.
billing_end_date: Option<String>
Date and time (in ISO 8601 format) for termination point of a billing cycle, signifying the end of charges for a service or subscription.
statement_number: Option<String>
Alphanumeric string identifying the statement number.
currency_code: Option<String>
Three-letter code representing a specific currency used for financial transactions.
monthly_transaction_amount: Option<f32>
Total billable amount for invoiced services charged within a single month.
transaction_line_items: Option<Vec<Invoicelineitems>>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Invoice
impl<'de> Deserialize<'de> for Invoice
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
impl StructuralPartialEq for Invoice
Auto Trait Implementations§
impl Freeze for Invoice
impl RefUnwindSafe for Invoice
impl Send for Invoice
impl Sync for Invoice
impl Unpin for Invoice
impl UnwindSafe for Invoice
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