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