pub struct Refund { /* private fields */ }Implementations§
Source§impl Refund
impl Refund
pub fn create( req: &CreateRefundRequest, options: &Options, ) -> Result<Refund, Box<dyn Error>>
pub fn set_payment_id<T: Into<String>>(&mut self, payment_id: T)
pub fn set_payment_transaction_id<T: Into<String>>( &mut self, payment_transaction_id: T, )
pub fn set_price<T: Into<BigDecimal>>(&mut self, price: T)
pub fn set_currency<T: Into<String>>(&mut self, currency: T)
pub fn set_connector_name<T: Into<String>>(&mut self, connector_name: T)
pub fn set_auth_code<T: Into<String>>(&mut self, auth_code: T)
pub fn set_host_reference<T: Into<String>>(&mut self, host_reference: T)
pub fn payment_id(&self) -> Option<&String>
pub fn payment_transaction_id(&self) -> Option<&String>
pub fn price(&self) -> Option<&BigDecimal>
pub fn currency(&self) -> Option<&String>
pub fn connector_name(&self) -> Option<&String>
pub fn auth_code(&self) -> Option<&String>
pub fn host_reference(&self) -> Option<&String>
Methods from Deref<Target = IyzipayResource>§
pub fn status(&self) -> Option<&String>
pub fn error_code(&self) -> Option<&String>
pub fn error_message(&self) -> Option<&String>
pub fn error_group(&self) -> Option<&String>
pub fn locale(&self) -> Option<&String>
pub fn system_time(&self) -> Option<&i64>
pub fn conversation_id(&self) -> Option<&String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Refund
impl<'de> Deserialize<'de> for Refund
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Refund
impl RefUnwindSafe for Refund
impl Send for Refund
impl Sync for Refund
impl Unpin for Refund
impl UnwindSafe for Refund
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