pub struct CreditNoteAppliedTax {
pub lago_id: Option<Uuid>,
pub lago_tax_id: Option<Uuid>,
pub lago_credit_note_id: Option<Uuid>,
pub tax_name: Option<String>,
pub tax_code: Option<String>,
pub tax_rate: Option<f64>,
pub tax_description: Option<String>,
pub amount_cents: Option<i64>,
pub amount_currency: Option<String>,
pub base_amount_cents: Option<i64>,
pub created_at: Option<DateTime<Utc>>,
}Expand description
Tax applied to a credit note
Fields§
§lago_id: Option<Uuid>Unique identifier for the applied tax
lago_tax_id: Option<Uuid>Reference to the tax definition
lago_credit_note_id: Option<Uuid>Reference to the parent credit note
tax_name: Option<String>Name of the tax
tax_code: Option<String>Code of the tax
tax_rate: Option<f64>Tax rate percentage
tax_description: Option<String>Description of the tax
amount_cents: Option<i64>Tax amount in cents
amount_currency: Option<String>Currency for the tax amount
base_amount_cents: Option<i64>Base amount the tax was calculated on
created_at: Option<DateTime<Utc>>Creation timestamp
Trait Implementations§
Source§impl Clone for CreditNoteAppliedTax
impl Clone for CreditNoteAppliedTax
Source§fn clone(&self) -> CreditNoteAppliedTax
fn clone(&self) -> CreditNoteAppliedTax
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 CreditNoteAppliedTax
impl Debug for CreditNoteAppliedTax
Source§impl<'de> Deserialize<'de> for CreditNoteAppliedTax
impl<'de> Deserialize<'de> for CreditNoteAppliedTax
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 CreditNoteAppliedTax
impl RefUnwindSafe for CreditNoteAppliedTax
impl Send for CreditNoteAppliedTax
impl Sync for CreditNoteAppliedTax
impl Unpin for CreditNoteAppliedTax
impl UnwindSafe for CreditNoteAppliedTax
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