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§
source§impl<'a> Clone for PaymentIntentUpdateParams<'a>
impl<'a> Clone for PaymentIntentUpdateParams<'a>
source§fn clone(&self) -> PaymentIntentUpdateParams<'a>
fn clone(&self) -> PaymentIntentUpdateParams<'a>
Returns a copy 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<'a> Debug for PaymentIntentUpdateParams<'a>
impl<'a> Debug for PaymentIntentUpdateParams<'a>
source§impl<'a> Default for PaymentIntentUpdateParams<'a>
impl<'a> Default for PaymentIntentUpdateParams<'a>
source§fn default() -> PaymentIntentUpdateParams<'a>
fn default() -> PaymentIntentUpdateParams<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for PaymentIntentUpdateParams<'a>
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§
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