pub struct ValidatePaymentMethodDomain { /* private fields */ }Expand description
Some payment methods might require additional steps to register a domain. If the requirements weren’t satisfied when the domain was created, the payment method will be inactive on the domain. The payment method doesn’t appear in Elements or Embedded Checkout for this domain until it is active.
To activate a payment method on an existing payment method domain, complete the required registration steps specific to the payment method, and then validate the payment method domain with this endpoint.
Related guides: Payment method domains.
Implementations§
Source§impl ValidatePaymentMethodDomain
impl ValidatePaymentMethodDomain
Sourcepub async fn send<C: StripeClient>(
&self,
client: &C,
) -> Result<<Self as StripeRequest>::Output, C::Err>
pub async fn send<C: StripeClient>( &self, client: &C, ) -> Result<<Self as StripeRequest>::Output, C::Err>
Send the request and return the deserialized response.
Sourcepub fn send_blocking<C: StripeBlockingClient>(
&self,
client: &C,
) -> Result<<Self as StripeRequest>::Output, C::Err>
pub fn send_blocking<C: StripeBlockingClient>( &self, client: &C, ) -> Result<<Self as StripeRequest>::Output, C::Err>
Send the request and return the deserialized response, blocking until completion.
Trait Implementations§
Source§impl Clone for ValidatePaymentMethodDomain
impl Clone for ValidatePaymentMethodDomain
Source§fn clone(&self) -> ValidatePaymentMethodDomain
fn clone(&self) -> ValidatePaymentMethodDomain
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 ValidatePaymentMethodDomain
impl Debug for ValidatePaymentMethodDomain
Source§impl StripeRequest for ValidatePaymentMethodDomain
impl StripeRequest for ValidatePaymentMethodDomain
Source§type Output = PaymentMethodDomain
type Output = PaymentMethodDomain
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) -> CustomizableStripeRequest<Self::Output>
fn customize(&self) -> CustomizableStripeRequest<Self::Output>
Convert to a builder allowing per-request customization.
Auto Trait Implementations§
impl Freeze for ValidatePaymentMethodDomain
impl RefUnwindSafe for ValidatePaymentMethodDomain
impl Send for ValidatePaymentMethodDomain
impl Sync for ValidatePaymentMethodDomain
impl Unpin for ValidatePaymentMethodDomain
impl UnsafeUnpin for ValidatePaymentMethodDomain
impl UnwindSafe for ValidatePaymentMethodDomain
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