pub struct UpdateSource<'a> {
pub amount: Option<i64>,
pub expand: &'a [&'a str],
pub mandate: Option<SourceMandateParams>,
pub metadata: Option<Metadata>,
pub owner: Option<BillingDetails>,
pub source_order: Option<UpdateSourceSourceOrder>,
}
Expand description
The parameters for Source::update
.
Fields§
§amount: Option<i64>
Amount associated with the source.
expand: &'a [&'a str]
Specifies which fields in the response should be expanded.
mandate: Option<SourceMandateParams>
Information about a mandate possibility attached to a source object (generally for bank debits) as well as its acceptance status.
metadata: Option<Metadata>
Set of key-value pairs that you can attach to an object.
This can be useful for storing additional information about the object in a structured format.
Individual keys can be unset by posting an empty value to them.
All keys can be unset by posting an empty value to metadata
.
owner: Option<BillingDetails>
Information about the owner of the payment instrument that may be used or required by particular source types.
source_order: Option<UpdateSourceSourceOrder>
Information about the items and shipping associated with the source.
Required for transactional credit (for example Klarna) sources before you can charge it.
Implementations§
source§impl<'a> UpdateSource<'a>
impl<'a> UpdateSource<'a>
Trait Implementations§
source§impl<'a> Clone for UpdateSource<'a>
impl<'a> Clone for UpdateSource<'a>
source§fn clone(&self) -> UpdateSource<'a>
fn clone(&self) -> UpdateSource<'a>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl<'a> Debug for UpdateSource<'a>
impl<'a> Debug for UpdateSource<'a>
source§impl<'a> Default for UpdateSource<'a>
impl<'a> Default for UpdateSource<'a>
source§fn default() -> UpdateSource<'a>
fn default() -> UpdateSource<'a>
Auto Trait Implementations§
impl<'a> Freeze for UpdateSource<'a>
impl<'a> RefUnwindSafe for UpdateSource<'a>
impl<'a> Send for UpdateSource<'a>
impl<'a> Sync for UpdateSource<'a>
impl<'a> Unpin for UpdateSource<'a>
impl<'a> UnwindSafe for UpdateSource<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)