pub struct RefundParams<'a> {
pub payer_payment_reference: Option<&'a str>,
pub original_payment_reference: &'a str,
pub payment_reference: Option<&'a str>,
pub payer_alias: &'a str,
pub payee_alias: &'a str,
pub amount: f64,
pub message: Option<&'a str>,
pub callback_url: &'a str,
/* private fields */
}Expand description
Params used to create a new refund.
Fields§
§payer_payment_reference: Option<&'a str>§original_payment_reference: &'a str§payment_reference: Option<&'a str>§payer_alias: &'a str§payee_alias: &'a str§amount: f64§message: Option<&'a str>§callback_url: &'a strTrait Implementations§
Source§impl<'a> Debug for RefundParams<'a>
impl<'a> Debug for RefundParams<'a>
Source§impl<'a> Default for RefundParams<'a>
impl<'a> Default for RefundParams<'a>
Source§fn default() -> RefundParams<'a>
fn default() -> RefundParams<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for RefundParams<'a>
impl<'a> RefUnwindSafe for RefundParams<'a>
impl<'a> Send for RefundParams<'a>
impl<'a> Sync for RefundParams<'a>
impl<'a> Unpin for RefundParams<'a>
impl<'a> UnwindSafe for RefundParams<'a>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more