pub struct UpdateCustomer { /* private fields */ }Expand description
生成した顧客情報を更新したり、新たなカードを顧客に追加することができます。.
Implementations§
Source§impl UpdateCustomer
impl UpdateCustomer
Sourcepub fn new(customer: impl Into<CustomerId>) -> Self
pub fn new(customer: impl Into<CustomerId>) -> Self
Construct a new UpdateCustomer.
Sourcepub fn default_card(self, default_card: impl Into<String>) -> Self
pub fn default_card(self, default_card: impl Into<String>) -> Self
保持しているカードID
Sourcepub fn description(self, description: impl Into<String>) -> Self
pub fn description(self, description: impl Into<String>) -> Self
概要
pub fn metadata(self, metadata: impl Into<HashMap<String, String>>) -> Self
Source§impl UpdateCustomer
impl UpdateCustomer
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 UpdateCustomer
impl Clone for UpdateCustomer
Source§fn clone(&self) -> UpdateCustomer
fn clone(&self) -> UpdateCustomer
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 UpdateCustomer
impl Debug for UpdateCustomer
Source§impl PayjpRequest for UpdateCustomer
impl PayjpRequest for UpdateCustomer
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 UpdateCustomer
impl RefUnwindSafe for UpdateCustomer
impl Send for UpdateCustomer
impl Sync for UpdateCustomer
impl Unpin for UpdateCustomer
impl UnwindSafe for UpdateCustomer
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