pub struct Return { /* private fields */ }Implementations§
Source§impl Return
impl Return
pub fn get_id(&self) -> String
pub fn get_order_id(&self) -> String
pub fn get_customer_id(&self) -> String
pub fn get_status(&self) -> String
pub fn get_reason(&self) -> String
pub fn get_refund_amount(&self) -> f64
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 Return
impl<'a> FromZendObject<'a> for &'a Return
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 Return
impl<'a> FromZendObjectMut<'a> for &'a mut Return
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 Return
impl<'a> FromZvalMut<'a> for &'a mut Return
Source§impl IntoZendObject for Return
impl IntoZendObject for Return
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 Return
impl IntoZval for Return
Source§impl RegisteredClass for Return
impl RegisteredClass for Return
Source§const CLASS_NAME: &'static str = "StateSet\\ReturnRequest"
const CLASS_NAME: &'static str = "StateSet\\ReturnRequest"
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 Return
impl RefUnwindSafe for Return
impl Send for Return
impl Sync for Return
impl Unpin for Return
impl UnsafeUnpin for Return
impl UnwindSafe for Return
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