Struct stripe::CustomerPaymentMethodRetrieval
source · pub struct CustomerPaymentMethodRetrieval<'a> {
pub ending_before: Option<String>,
pub expand: &'a [&'a str],
pub limit: Option<i32>,
pub starting_after: Option<String>,
pub type_: Option<CustomerPaymentMethodRetrievalType>,
}
Fields§
§ending_before: Option<String>
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<i32>
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
starting_after: Option<String>
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.
type_: Option<CustomerPaymentMethodRetrievalType>
An optional filter on the list, based on the object type field. Without the filter, the list includes all current and future payment method types. If your integration expects only one type of payment method in the response, make sure to provide a type value in the request.
Implementations§
source§impl<'a> CustomerPaymentMethodRetrieval<'a>
impl<'a> CustomerPaymentMethodRetrieval<'a>
Trait Implementations§
source§impl<'a> Clone for CustomerPaymentMethodRetrieval<'a>
impl<'a> Clone for CustomerPaymentMethodRetrieval<'a>
source§fn clone(&self) -> CustomerPaymentMethodRetrieval<'a>
fn clone(&self) -> CustomerPaymentMethodRetrieval<'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 CustomerPaymentMethodRetrieval<'a>
impl<'a> Debug for CustomerPaymentMethodRetrieval<'a>
source§impl<'a> PartialEq for CustomerPaymentMethodRetrieval<'a>
impl<'a> PartialEq for CustomerPaymentMethodRetrieval<'a>
source§fn eq(&self, other: &CustomerPaymentMethodRetrieval<'a>) -> bool
fn eq(&self, other: &CustomerPaymentMethodRetrieval<'a>) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl<'a> Serialize for CustomerPaymentMethodRetrieval<'a>
impl<'a> Serialize for CustomerPaymentMethodRetrieval<'a>
impl<'a> Eq for CustomerPaymentMethodRetrieval<'a>
impl<'a> StructuralPartialEq for CustomerPaymentMethodRetrieval<'a>
Auto Trait Implementations§
impl<'a> Freeze for CustomerPaymentMethodRetrieval<'a>
impl<'a> RefUnwindSafe for CustomerPaymentMethodRetrieval<'a>
impl<'a> Send for CustomerPaymentMethodRetrieval<'a>
impl<'a> Sync for CustomerPaymentMethodRetrieval<'a>
impl<'a> Unpin for CustomerPaymentMethodRetrieval<'a>
impl<'a> UnwindSafe for CustomerPaymentMethodRetrieval<'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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.