pub struct CreateSourceReceiver {
pub refund_attributes_method: Option<SourceRefundNotificationMethod>,
}
Fields§
§refund_attributes_method: Option<SourceRefundNotificationMethod>
The method Stripe should use to request information needed to process a refund or mispayment.
Either email
(an email is sent directly to the customer) or manual
(a source.refund_attributes_required
event is sent to your webhooks endpoint).
Refer to each payment method’s documentation to learn which refund attributes may be required.
Trait Implementations§
source§impl Clone for CreateSourceReceiver
impl Clone for CreateSourceReceiver
source§fn clone(&self) -> CreateSourceReceiver
fn clone(&self) -> CreateSourceReceiver
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 Debug for CreateSourceReceiver
impl Debug for CreateSourceReceiver
source§impl Default for CreateSourceReceiver
impl Default for CreateSourceReceiver
source§fn default() -> CreateSourceReceiver
fn default() -> CreateSourceReceiver
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateSourceReceiver
impl<'de> Deserialize<'de> for CreateSourceReceiver
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for CreateSourceReceiver
impl Send for CreateSourceReceiver
impl Sync for CreateSourceReceiver
impl Unpin for CreateSourceReceiver
impl UnwindSafe for CreateSourceReceiver
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