pub struct UpdateCardCustomer { /* private fields */ }Expand description
顧客の特定のカード情報を更新します。
Implementations§
Source§impl UpdateCardCustomer
impl UpdateCardCustomer
Sourcepub fn new(customer: impl Into<CustomerId>, card: impl Into<String>) -> Self
pub fn new(customer: impl Into<CustomerId>, card: impl Into<String>) -> Self
Construct a new UpdateCardCustomer.
Sourcepub fn address_city(self, address_city: impl Into<String>) -> Self
pub fn address_city(self, address_city: impl Into<String>) -> Self
市区町村
Sourcepub fn address_line1(self, address_line1: impl Into<String>) -> Self
pub fn address_line1(self, address_line1: impl Into<String>) -> Self
番地など
Sourcepub fn address_line2(self, address_line2: impl Into<String>) -> Self
pub fn address_line2(self, address_line2: impl Into<String>) -> Self
建物名など
Sourcepub fn address_state(self, address_state: impl Into<String>) -> Self
pub fn address_state(self, address_state: impl Into<String>) -> Self
都道府県
Sourcepub fn address_zip(self, address_zip: impl Into<String>) -> Self
pub fn address_zip(self, address_zip: impl Into<String>) -> Self
郵便番号
pub fn metadata(self, metadata: impl Into<HashMap<String, String>>) -> Self
Source§impl UpdateCardCustomer
impl UpdateCardCustomer
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 UpdateCardCustomer
impl Clone for UpdateCardCustomer
Source§fn clone(&self) -> UpdateCardCustomer
fn clone(&self) -> UpdateCardCustomer
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 UpdateCardCustomer
impl Debug for UpdateCardCustomer
Source§impl PayjpRequest for UpdateCardCustomer
impl PayjpRequest for UpdateCardCustomer
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 UpdateCardCustomer
impl RefUnwindSafe for UpdateCardCustomer
impl Send for UpdateCardCustomer
impl Sync for UpdateCardCustomer
impl Unpin for UpdateCardCustomer
impl UnwindSafe for UpdateCardCustomer
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