Struct stripe::generated::core::setup_intent::ListSetupIntents
source · pub struct ListSetupIntents<'a> {
pub attach_to_self: Option<bool>,
pub created: Option<RangeQuery<Timestamp>>,
pub customer: Option<CustomerId>,
pub ending_before: Option<SetupIntentId>,
pub expand: &'a [&'a str],
pub limit: Option<u64>,
pub payment_method: Option<PaymentMethodId>,
pub starting_after: Option<SetupIntentId>,
}
Expand description
The parameters for SetupIntent::list
.
Fields§
§attach_to_self: Option<bool>
If present, the SetupIntent’s payment method will be attached to the in-context Stripe Account.
It can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers.
It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.
created: Option<RangeQuery<Timestamp>>
A filter on the list, based on the object created
field.
The value can be a string with an integer Unix timestamp, or it can be a dictionary with a number of different query options.
customer: Option<CustomerId>
Only return SetupIntents for the customer specified by this customer ID.
ending_before: Option<SetupIntentId>
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_method: Option<PaymentMethodId>
Only return SetupIntents that associate with the specified payment method.
starting_after: Option<SetupIntentId>
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> ListSetupIntents<'a>
impl<'a> ListSetupIntents<'a>
Trait Implementations§
source§impl<'a> Clone for ListSetupIntents<'a>
impl<'a> Clone for ListSetupIntents<'a>
source§fn clone(&self) -> ListSetupIntents<'a>
fn clone(&self) -> ListSetupIntents<'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 ListSetupIntents<'a>
impl<'a> Debug for ListSetupIntents<'a>
source§impl<'a> Default for ListSetupIntents<'a>
impl<'a> Default for ListSetupIntents<'a>
source§fn default() -> ListSetupIntents<'a>
fn default() -> ListSetupIntents<'a>
Auto Trait Implementations§
impl<'a> Freeze for ListSetupIntents<'a>
impl<'a> RefUnwindSafe for ListSetupIntents<'a>
impl<'a> Send for ListSetupIntents<'a>
impl<'a> Sync for ListSetupIntents<'a>
impl<'a> Unpin for ListSetupIntents<'a>
impl<'a> UnwindSafe for ListSetupIntents<'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
)