pub struct Invoice { /* private fields */ }Implementations§
Source§impl Invoice
impl Invoice
pub fn get_id(&self) -> String
pub fn get_invoice_number(&self) -> String
pub fn get_customer_id(&self) -> String
pub fn get_order_id(&self) -> Option<String>
pub fn get_status(&self) -> String
pub fn get_subtotal(&self) -> f64
pub fn get_tax(&self) -> f64
pub fn get_total(&self) -> f64
pub fn get_currency(&self) -> String
pub fn get_due_date(&self) -> Option<String>
pub fn get_paid_at(&self) -> Option<String>
pub fn get_created_at(&self) -> String
pub fn get_updated_at(&self) -> String
pub fn __to_string(&self) -> String
Trait Implementations§
Source§impl<'a> FromZendObject<'a> for &'a Invoice
impl<'a> FromZendObject<'a> for &'a Invoice
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 Invoice
impl<'a> FromZendObjectMut<'a> for &'a mut Invoice
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> FromZvalMut<'a> for &'a mut Invoice
impl<'a> FromZvalMut<'a> for &'a mut Invoice
Source§impl IntoZendObject for Invoice
impl IntoZendObject for Invoice
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 Invoice
impl IntoZval for Invoice
Source§impl RegisteredClass for Invoice
impl RegisteredClass for Invoice
Source§const CLASS_NAME: &'static str = "StateSet\\Invoice"
const CLASS_NAME: &'static str = "StateSet\\Invoice"
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 Invoice
impl RefUnwindSafe for Invoice
impl Send for Invoice
impl Sync for Invoice
impl Unpin for Invoice
impl UnsafeUnpin for Invoice
impl UnwindSafe for Invoice
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