Struct stripe::PaymentIntentUpdateParams
source · [−]pub struct PaymentIntentUpdateParams<'a> {
pub amount: Option<u64>,
pub application_fee_amount: Option<u64>,
pub currency: Option<Currency>,
pub customer: Option<&'a str>,
pub description: Option<&'a str>,
pub metadata: Option<Metadata>,
pub receipt_email: Option<&'a str>,
pub save_source_to_customer: Option<bool>,
pub shipping: Option<Shipping>,
pub source: Option<&'a str>,
pub transfer_group: Option<&'a str>,
}
Expand description
The set of parameters that can be used when updating a payment_intent object.
For more details see https://stripe.com/docs/api/payment_intents/update
Fields
amount: Option<u64>
application_fee_amount: Option<u64>
currency: Option<Currency>
customer: Option<&'a str>
description: Option<&'a str>
metadata: Option<Metadata>
receipt_email: Option<&'a str>
save_source_to_customer: Option<bool>
shipping: Option<Shipping>
source: Option<&'a str>
transfer_group: Option<&'a str>
Trait Implementations
sourceimpl<'a> Clone for PaymentIntentUpdateParams<'a>
impl<'a> Clone for PaymentIntentUpdateParams<'a>
sourcefn clone(&self) -> PaymentIntentUpdateParams<'a>
fn clone(&self) -> PaymentIntentUpdateParams<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for PaymentIntentUpdateParams<'a>
impl<'a> Debug for PaymentIntentUpdateParams<'a>
sourceimpl<'a> Default for PaymentIntentUpdateParams<'a>
impl<'a> Default for PaymentIntentUpdateParams<'a>
sourcefn default() -> PaymentIntentUpdateParams<'a>
fn default() -> PaymentIntentUpdateParams<'a>
Returns the “default value” for a type. Read more
sourceimpl<'a> Serialize for PaymentIntentUpdateParams<'a>
impl<'a> Serialize for PaymentIntentUpdateParams<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for PaymentIntentUpdateParams<'a>
impl<'a> Send for PaymentIntentUpdateParams<'a>
impl<'a> Sync for PaymentIntentUpdateParams<'a>
impl<'a> Unpin for PaymentIntentUpdateParams<'a>
impl<'a> UnwindSafe for PaymentIntentUpdateParams<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more