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§
source§impl Clone for SourceReceiverFlow
impl Clone for SourceReceiverFlow
source§fn clone(&self) -> SourceReceiverFlow
fn clone(&self) -> SourceReceiverFlow
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SourceReceiverFlow
impl Debug for SourceReceiverFlow
source§impl Default for SourceReceiverFlow
impl Default for SourceReceiverFlow
source§fn default() -> SourceReceiverFlow
fn default() -> SourceReceiverFlow
source§impl<'de> Deserialize<'de> for SourceReceiverFlow
impl<'de> Deserialize<'de> for SourceReceiverFlow
source§fn 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>,
Auto Trait Implementations§
impl Freeze for SourceReceiverFlow
impl RefUnwindSafe for SourceReceiverFlow
impl Send for SourceReceiverFlow
impl Sync for SourceReceiverFlow
impl Unpin for SourceReceiverFlow
impl UnwindSafe for SourceReceiverFlow
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
)