pub struct ListCardCustomer { /* private fields */ }Expand description
顧客の保持しているカードリストを取得します。リストは、直近で生成された順番に取得されます。.
Implementations§
Source§impl ListCardCustomer
impl ListCardCustomer
Sourcepub fn new(customer: impl Into<CustomerId>) -> Self
pub fn new(customer: impl Into<CustomerId>) -> Self
Construct a new ListCardCustomer.
Source§impl ListCardCustomer
impl ListCardCustomer
Sourcepub async fn send<C: PayjpClient>(
&self,
client: &C,
) -> Result<<Self as PayjpRequest>::Output, C::Err>
pub async fn send<C: PayjpClient>( &self, client: &C, ) -> Result<<Self as PayjpRequest>::Output, C::Err>
Send the request and return the deserialized response.
Sourcepub fn send_blocking<C: BlockingClient>(
&self,
client: &C,
) -> Result<<Self as PayjpRequest>::Output, C::Err>
pub fn send_blocking<C: BlockingClient>( &self, client: &C, ) -> Result<<Self as PayjpRequest>::Output, C::Err>
Send the request and return the deserialized response, blocking until completion.
pub fn paginate(&self) -> ListPaginator<List<Card>>
Trait Implementations§
Source§impl Clone for ListCardCustomer
impl Clone for ListCardCustomer
Source§fn clone(&self) -> ListCardCustomer
fn clone(&self) -> ListCardCustomer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ListCardCustomer
impl Debug for ListCardCustomer
Source§impl PayjpRequest for ListCardCustomer
impl PayjpRequest for ListCardCustomer
Source§fn build(&self) -> RequestBuilder
fn build(&self) -> RequestBuilder
Convert the struct into library-agnostic data that can be used by compatible
clients to make API calls.
Source§fn customize(&self) -> CustomizablePayjpRequest<Self::Output>
fn customize(&self) -> CustomizablePayjpRequest<Self::Output>
Convert to a builder allowing per-request customization.
Auto Trait Implementations§
impl Freeze for ListCardCustomer
impl RefUnwindSafe for ListCardCustomer
impl Send for ListCardCustomer
impl Sync for ListCardCustomer
impl Unpin for ListCardCustomer
impl UnwindSafe for ListCardCustomer
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