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 more