Struct lexoffice::model::invoices::DownPaymentDeductions [−][src]
Use the Down Payment Invoices endpoint to retrieve details of a down payment invoice.
Fields
id: ReadOnly<Uuid>
The down payment deduction’s unique id.
voucher_type: Option<String>
Voucher type of the down payment. Currently, always contains the string downpaymentinvoice
.
title: Option<String>
Down payment’s title
voucher_number: Option<String>
Down payment’s voucher number
voucher_date: Option<DateTime>
Down payment’s date in format yyyy-MM-ddTHH:mm:ss.SSSXXX
as described in RFC 3339/ISO 8601 (e.g. 2020-02-21T00:00:00.000+01:00).
received_gross_amount: Option<f64>
The gross amount received for this down payment invoice
received_net_amount: Option<f64>
The net amount received for this down payment invoice
received_tax_amount: Option<f64>
Tax received for this down payment invoice
tax_rate_percentage: Option<f64>
The tax rate used for amount calculation in this down payment invoice
Implementations
impl DownPaymentDeductions
[src]
pub fn builder(
) -> DownPaymentDeductionsBuilder<((), (), (), (), (), (), (), ())>
[src]
) -> DownPaymentDeductionsBuilder<((), (), (), (), (), (), (), ())>
Create a builder for building DownPaymentDeductions
.
On the builder, call .voucher_type(...)
(optional), .title(...)
(optional), .voucher_number(...)
(optional), .voucher_date(...)
(optional), .received_gross_amount(...)
(optional), .received_net_amount(...)
(optional), .received_tax_amount(...)
(optional), .tax_rate_percentage(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of DownPaymentDeductions
.
Trait Implementations
impl Clone for DownPaymentDeductions
[src]
fn clone(&self) -> DownPaymentDeductions
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DownPaymentDeductions
[src]
impl<'de> Deserialize<'de> for DownPaymentDeductions
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl HasId for DownPaymentDeductions
[src]
impl PartialEq<DownPaymentDeductions> for DownPaymentDeductions
[src]
fn eq(&self, other: &DownPaymentDeductions) -> bool
[src]
fn ne(&self, other: &DownPaymentDeductions) -> bool
[src]
impl Serialize for DownPaymentDeductions
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for DownPaymentDeductions
[src]
Auto Trait Implementations
impl RefUnwindSafe for DownPaymentDeductions
impl Send for DownPaymentDeductions
impl Sync for DownPaymentDeductions
impl Unpin for DownPaymentDeductions
impl UnwindSafe for DownPaymentDeductions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,