pub struct CreatePaymentSessionRequest { /* private fields */ }Implementations§
Source§impl CreatePaymentSessionRequest
impl CreatePaymentSessionRequest
pub fn amount<T>(self, value: T) -> Self
pub fn asset<T>(self, value: T) -> Self
pub fn auto_capture<T>(self, value: T) -> Self
pub fn compliance<T>(self, value: T) -> Self
pub fn customer_display<T>(self, value: T) -> Self
pub fn expiries<T>(self, value: T) -> Self
pub fn external_reference_id<T>(self, value: T) -> Self
pub fn metadata<T>(self, value: T) -> Self
pub fn redirect<T>(self, value: T) -> Self
pub fn target<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for CreatePaymentSessionRequest
impl Clone for CreatePaymentSessionRequest
Source§impl Debug for CreatePaymentSessionRequest
impl Debug for CreatePaymentSessionRequest
Source§impl From<CreatePaymentSessionRequest> for CreatePaymentSessionRequest
impl From<CreatePaymentSessionRequest> for CreatePaymentSessionRequest
Source§fn from(value: CreatePaymentSessionRequest) -> Self
fn from(value: CreatePaymentSessionRequest) -> Self
Converts to this type from the input type.
Source§impl TryFrom<CreatePaymentSessionRequest> for CreatePaymentSessionRequest
impl TryFrom<CreatePaymentSessionRequest> for CreatePaymentSessionRequest
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: CreatePaymentSessionRequest) -> Result<Self, ConversionError>
fn try_from(value: CreatePaymentSessionRequest) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CreatePaymentSessionRequest
impl RefUnwindSafe for CreatePaymentSessionRequest
impl Send for CreatePaymentSessionRequest
impl Sync for CreatePaymentSessionRequest
impl Unpin for CreatePaymentSessionRequest
impl UnsafeUnpin for CreatePaymentSessionRequest
impl UnwindSafe for CreatePaymentSessionRequest
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