pub struct AccountsPayable { /* private fields */ }Implementations§
Source§impl AccountsPayable
impl AccountsPayable
pub fn create_bill( &self, supplier_id: String, due_date: String, payment_terms: Option<String>, ) -> PhpResult<String>
pub fn get_bill(&self, id: String) -> PhpResult<Option<String>>
pub fn list_bills(&self) -> PhpResult<Vec<String>>
pub fn get_total_outstanding(&self) -> PhpResult<f64>
Trait Implementations§
Source§impl Clone for AccountsPayable
impl Clone for AccountsPayable
Source§fn clone(&self) -> AccountsPayable
fn clone(&self) -> AccountsPayable
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<'a> FromZendObject<'a> for &'a AccountsPayable
impl<'a> FromZendObject<'a> for &'a AccountsPayable
Source§fn from_zend_object(obj: &'a ZendObject) -> Result<Self>
fn from_zend_object(obj: &'a ZendObject) -> Result<Self>
Extracts
Self from the source ZendObject.Source§impl<'a> FromZendObjectMut<'a> for &'a mut AccountsPayable
impl<'a> FromZendObjectMut<'a> for &'a mut AccountsPayable
Source§fn from_zend_object_mut(obj: &'a mut ZendObject) -> Result<Self>
fn from_zend_object_mut(obj: &'a mut ZendObject) -> Result<Self>
Extracts
Self from the source ZendObject.Source§impl<'a> FromZval<'a> for &'a AccountsPayable
impl<'a> FromZval<'a> for &'a AccountsPayable
Source§impl<'a> FromZvalMut<'a> for &'a mut AccountsPayable
impl<'a> FromZvalMut<'a> for &'a mut AccountsPayable
Source§impl IntoZendObject for AccountsPayable
impl IntoZendObject for AccountsPayable
Source§fn into_zend_object(self) -> Result<ZBox<ZendObject>>
fn into_zend_object(self) -> Result<ZBox<ZendObject>>
Attempts to convert
self into a Zend object.Source§impl IntoZval for AccountsPayable
impl IntoZval for AccountsPayable
Source§impl RegisteredClass for AccountsPayable
impl RegisteredClass for AccountsPayable
Source§const CLASS_NAME: &'static str = "StateSet\\AccountsPayable"
const CLASS_NAME: &'static str = "StateSet\\AccountsPayable"
PHP class name of the registered class.
Source§const CONSTRUCTOR: Option<ConstructorMeta<Self>> = None
const CONSTRUCTOR: Option<ConstructorMeta<Self>> = None
Optional class constructor.
Source§fn get_metadata() -> &'static ClassMetadata<Self>
fn get_metadata() -> &'static ClassMetadata<Self>
Returns a reference to the class metadata, which stores the class entry
and handlers. Read more
Auto Trait Implementations§
impl Freeze for AccountsPayable
impl RefUnwindSafe for AccountsPayable
impl Send for AccountsPayable
impl Sync for AccountsPayable
impl Unpin for AccountsPayable
impl UnsafeUnpin for AccountsPayable
impl UnwindSafe for AccountsPayable
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