pub struct ListRefunds<'a> {
pub charge: Option<ChargeId>,
pub created: Option<RangeQuery<Timestamp>>,
pub ending_before: Option<RefundId>,
pub expand: &'a [&'a str],
pub limit: Option<u64>,
pub payment_intent: Option<PaymentIntentId>,
pub starting_after: Option<RefundId>,
}
Expand description
The parameters for Refund::list
.
Fields§
§charge: Option<ChargeId>
Only return refunds for the charge specified by this charge ID.
created: Option<RangeQuery<Timestamp>>
§ending_before: Option<RefundId>
A cursor for use in pagination.
ending_before
is an object ID that defines your place in the list.
For instance, if you make a list request and receive 100 objects, starting with obj_bar
, your subsequent call can include ending_before=obj_bar
in order to fetch the previous page of the list.
expand: &'a [&'a str]
Specifies which fields in the response should be expanded.
limit: Option<u64>
A limit on the number of objects to be returned.
Limit can range between 1 and 100, and the default is 10.
payment_intent: Option<PaymentIntentId>
Only return refunds for the PaymentIntent specified by this ID.
starting_after: Option<RefundId>
A cursor for use in pagination.
starting_after
is an object ID that defines your place in the list.
For instance, if you make a list request and receive 100 objects, ending with obj_foo
, your subsequent call can include starting_after=obj_foo
in order to fetch the next page of the list.
Implementations§
source§impl<'a> ListRefunds<'a>
impl<'a> ListRefunds<'a>
Trait Implementations§
source§impl<'a> Clone for ListRefunds<'a>
impl<'a> Clone for ListRefunds<'a>
source§fn clone(&self) -> ListRefunds<'a>
fn clone(&self) -> ListRefunds<'a>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl<'a> Debug for ListRefunds<'a>
impl<'a> Debug for ListRefunds<'a>
source§impl<'a> Default for ListRefunds<'a>
impl<'a> Default for ListRefunds<'a>
source§fn default() -> ListRefunds<'a>
fn default() -> ListRefunds<'a>
Auto Trait Implementations§
impl<'a> Freeze for ListRefunds<'a>
impl<'a> RefUnwindSafe for ListRefunds<'a>
impl<'a> Send for ListRefunds<'a>
impl<'a> Sync for ListRefunds<'a>
impl<'a> Unpin for ListRefunds<'a>
impl<'a> UnwindSafe for ListRefunds<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)