pub struct ListSubscription { /* private fields */ }Expand description
生成した定期課金のリストを取得します。
リストは、直近で生成された順番に取得されます。
Implementations§
Source§impl ListSubscription
impl ListSubscription
Sourcepub fn status(self, status: impl Into<ListSubscriptionStatus>) -> Self
pub fn status(self, status: impl Into<ListSubscriptionStatus>) -> Self
定期課金ステータス。active, trial, canceled または paused のみ指定可能。.
Source§impl ListSubscription
impl ListSubscription
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<Subscription>>
Trait Implementations§
Source§impl Clone for ListSubscription
impl Clone for ListSubscription
Source§fn clone(&self) -> ListSubscription
fn clone(&self) -> ListSubscription
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 ListSubscription
impl Debug for ListSubscription
Source§impl Default for ListSubscription
impl Default for ListSubscription
Source§impl PayjpRequest for ListSubscription
impl PayjpRequest for ListSubscription
Source§type Output = List<Subscription>
type Output = List<Subscription>
The data returned from the eventual API call.
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 ListSubscription
impl RefUnwindSafe for ListSubscription
impl Send for ListSubscription
impl Sync for ListSubscription
impl Unpin for ListSubscription
impl UnwindSafe for ListSubscription
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