pub struct GetPaymentSessionAuthorization<'a> { /* private fields */ }Expand description
Builder for [Client::get_payment_session_authorization]
[`Client::get_payment_session_authorization`]: super::Client::get_payment_session_authorizationImplementations§
Source§impl<'a> GetPaymentSessionAuthorization<'a>
impl<'a> GetPaymentSessionAuthorization<'a>
pub fn new(client: &'a Client) -> Self
pub fn payment_session_id<V>(self, value: V) -> Selfwhere
V: TryInto<PaymentSessionId>,
Sourcepub async fn send(self) -> Result<ResponseValue<Authorization>, Error<Error>>
pub async fn send(self) -> Result<ResponseValue<Authorization>, Error<Error>>
Sends a GET request to /v2/payment-sessions/{paymentSessionId}/authorizations/{authorizationId}
Trait Implementations§
Source§impl<'a> Clone for GetPaymentSessionAuthorization<'a>
impl<'a> Clone for GetPaymentSessionAuthorization<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for GetPaymentSessionAuthorization<'a>
impl<'a> !UnwindSafe for GetPaymentSessionAuthorization<'a>
impl<'a> Freeze for GetPaymentSessionAuthorization<'a>
impl<'a> Send for GetPaymentSessionAuthorization<'a>
impl<'a> Sync for GetPaymentSessionAuthorization<'a>
impl<'a> Unpin for GetPaymentSessionAuthorization<'a>
impl<'a> UnsafeUnpin for GetPaymentSessionAuthorization<'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