pub struct DeleteCustomer { /* private fields */ }Expand description
顧客を削除します。顧客に紐付く定期課金がある場合は、同時にそれらの定期課金も削除されます。.
Implementations§
Source§impl DeleteCustomer
impl DeleteCustomer
Sourcepub fn new(customer: impl Into<CustomerId>) -> Self
pub fn new(customer: impl Into<CustomerId>) -> Self
Construct a new DeleteCustomer.
Source§impl DeleteCustomer
impl DeleteCustomer
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.
Trait Implementations§
Source§impl Clone for DeleteCustomer
impl Clone for DeleteCustomer
Source§fn clone(&self) -> DeleteCustomer
fn clone(&self) -> DeleteCustomer
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 DeleteCustomer
impl Debug for DeleteCustomer
Source§impl PayjpRequest for DeleteCustomer
impl PayjpRequest for DeleteCustomer
Source§type Output = DeleteResponse
type Output = DeleteResponse
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 DeleteCustomer
impl RefUnwindSafe for DeleteCustomer
impl Send for DeleteCustomer
impl Sync for DeleteCustomer
impl Unpin for DeleteCustomer
impl UnwindSafe for DeleteCustomer
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