CustomerBalanceDetailParams

Struct CustomerBalanceDetailParams 

Source
pub struct CustomerBalanceDetailParams {
Show 13 fields pub customer: Option<Vec<CustomerId>>, pub shipvia: Option<String>, pub term: Option<Vec<TermId>>, pub end_duedate: Option<NaiveDate>, pub start_duedate: Option<NaiveDate>, pub custom1: Option<String>, pub custom2: Option<String>, pub custom3: Option<String>, pub arpaid: Option<ArPaid>, pub report_date: Option<NaiveDate>, pub sort_order: Option<SortOrder>, pub aging_method: Option<AgingMethod>, pub department: Option<String>,
}
Expand description

Parameters for the CustomerBalanceDetail report.

Fields§

§customer: Option<Vec<CustomerId>>§shipvia: Option<String>§term: Option<Vec<TermId>>§end_duedate: Option<NaiveDate>§start_duedate: Option<NaiveDate>§custom1: Option<String>§custom2: Option<String>§custom3: Option<String>§arpaid: Option<ArPaid>§report_date: Option<NaiveDate>§sort_order: Option<SortOrder>§aging_method: Option<AgingMethod>§department: Option<String>

Implementations§

Source§

impl CustomerBalanceDetailParams

Source

pub fn new() -> Self

Source

pub fn customer(self, param: impl Into<CustomerId>) -> Self

Source

pub fn customers(self, params: Vec<CustomerId>) -> Self

Source

pub fn shipvia(self, param: impl Into<String>) -> Self

Source

pub fn term(self, param: impl Into<TermId>) -> Self

Source

pub fn terms(self, params: Vec<TermId>) -> Self

Source

pub fn end_duedate(self, param: impl Into<NaiveDate>) -> Self

Source

pub fn start_duedate(self, param: impl Into<NaiveDate>) -> Self

Source

pub fn custom1(self, param: impl Into<String>) -> Self

Source

pub fn custom2(self, param: impl Into<String>) -> Self

Source

pub fn custom3(self, param: impl Into<String>) -> Self

Source

pub fn arpaid(self, param: impl Into<ArPaid>) -> Self

Source

pub fn report_date(self, param: impl Into<NaiveDate>) -> Self

Source

pub fn sort_order(self, param: impl Into<SortOrder>) -> Self

Source

pub fn aging_method(self, param: impl Into<AgingMethod>) -> Self

Source

pub fn department(self, param: impl Into<String>) -> Self

Trait Implementations§

Source§

impl Debug for CustomerBalanceDetailParams

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for CustomerBalanceDetailParams

Source§

fn default() -> CustomerBalanceDetailParams

Returns the “default value” for a type. Read more
Source§

impl QBReportParams for CustomerBalanceDetailParams

Source§

fn params(&self) -> impl Iterator<Item = (&'static str, Cow<'_, str>)>

Source§

fn to_query_string(&self) -> String

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.