pub struct CreditNoteLineItemParams {
pub amount: Option<i64>,
pub description: Option<String>,
pub invoice_line_item: Option<String>,
pub quantity: Option<i64>,
pub tax_amounts: Option<Value>,
pub tax_rates: Option<Value>,
pub type_: String,
pub unit_amount: Option<i64>,
pub unit_amount_decimal: Option<Decimal>,
}
Fields§
§amount: Option<i64>
§description: Option<String>
§invoice_line_item: Option<String>
§quantity: Option<i64>
§tax_amounts: Option<Value>
§tax_rates: Option<Value>
§type_: String
§unit_amount: Option<i64>
§unit_amount_decimal: Option<Decimal>
Trait Implementations§
Source§impl Clone for CreditNoteLineItemParams
impl Clone for CreditNoteLineItemParams
Source§fn clone(&self) -> CreditNoteLineItemParams
fn clone(&self) -> CreditNoteLineItemParams
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 CreditNoteLineItemParams
impl Debug for CreditNoteLineItemParams
Source§impl Default for CreditNoteLineItemParams
impl Default for CreditNoteLineItemParams
Source§fn default() -> CreditNoteLineItemParams
fn default() -> CreditNoteLineItemParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreditNoteLineItemParams
impl<'de> Deserialize<'de> for CreditNoteLineItemParams
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
Source§impl Display for CreditNoteLineItemParams
impl Display for CreditNoteLineItemParams
Auto Trait Implementations§
impl Freeze for CreditNoteLineItemParams
impl RefUnwindSafe for CreditNoteLineItemParams
impl Send for CreditNoteLineItemParams
impl Sync for CreditNoteLineItemParams
impl Unpin for CreditNoteLineItemParams
impl UnwindSafe for CreditNoteLineItemParams
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