pub struct Refund {
pub id: String,
pub checkout_id: String,
pub address: String,
pub status: Status,
pub amount: String,
pub fee: Option<String>,
pub email: Option<String>,
pub created_at: u64,
pub processed_at: Option<u64>,
}
Expand description
Refund is a refund resource.
Fields§
§id: String
§checkout_id: String
Underpaid charge ID
address: String
Bitcoin address to send the funds
status: Status
unpaid/processing/paid
amount: String
Amount in satoshis
fee: Option<String>
Refund fee in satoshis
email: Option<String>
Buyer email to get notified of the refund
created_at: u64
timestamp
processed_at: Option<u64>
timestamp
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Refund
impl<'de> Deserialize<'de> for Refund
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 Freeze for Refund
impl RefUnwindSafe for Refund
impl Send for Refund
impl Sync for Refund
impl Unpin for Refund
impl UnwindSafe for Refund
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