Struct stripe::SourceReceiverFlow
source · [−]pub struct SourceReceiverFlow {
pub address: Option<String>,
pub amount_charged: i64,
pub amount_received: i64,
pub amount_returned: i64,
pub refund_attributes_method: String,
pub refund_attributes_status: String,
}
Fields
address: Option<String>
The address of the receiver source.
This is the value that should be communicated to the customer to send their funds to.
amount_charged: i64
The total amount that was moved to your balance.
This is almost always equal to the amount charged. In rare cases when customers deposit excess funds and we are unable to refund those, those funds get moved to your balance and show up in amount_charged as well. The amount charged is expressed in the source’s currency.
amount_received: i64
The total amount received by the receiver source.
amount_received = amount_returned + amount_charged
should be true for consumed sources unless customers deposit excess funds.
The amount received is expressed in the source’s currency.
amount_returned: i64
The total amount that was returned to the customer.
The amount returned is expressed in the source’s currency.
refund_attributes_method: String
Type of refund attribute method, one of email
, manual
, or none
.
refund_attributes_status: String
Type of refund attribute status, one of missing
, requested
, or available
.
Trait Implementations
sourceimpl Clone for SourceReceiverFlow
impl Clone for SourceReceiverFlow
sourcefn clone(&self) -> SourceReceiverFlow
fn clone(&self) -> SourceReceiverFlow
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 Debug for SourceReceiverFlow
impl Debug for SourceReceiverFlow
sourceimpl Default for SourceReceiverFlow
impl Default for SourceReceiverFlow
sourcefn default() -> SourceReceiverFlow
fn default() -> SourceReceiverFlow
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SourceReceiverFlow
impl<'de> Deserialize<'de> for SourceReceiverFlow
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for SourceReceiverFlow
impl Serialize for SourceReceiverFlow
Auto Trait Implementations
impl RefUnwindSafe for SourceReceiverFlow
impl Send for SourceReceiverFlow
impl Sync for SourceReceiverFlow
impl Unpin for SourceReceiverFlow
impl UnwindSafe for SourceReceiverFlow
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