[−][src]Struct stripe::Dispute
The resource representing a Stripe "Dispute".
For more details see https://stripe.com/docs/api/disputes/object.
Fields
id: DisputeIdUnique identifier for the object.
amount: i64Disputed amount.
Usually the amount of the charge, but can differ (usually because of currency fluctuation or because only part of the order is disputed).
balance_transactions: Vec<BalanceTransaction>List of zero, one, or two balance transactions that show funds withdrawn and reinstated to your Stripe account as a result of this dispute.
charge: Expandable<Charge>ID of the charge that was disputed.
created: TimestampTime at which the object was created.
Measured in seconds since the Unix epoch.
currency: CurrencyThree-letter ISO currency code, in lowercase.
Must be a supported currency.
evidence: DisputeEvidenceevidence_details: DisputeEvidenceDetailsis_charge_refundable: boolIf true, it is still possible to refund the disputed payment.
Once the payment has been fully refunded, no further funds will be withdrawn from your Stripe account as a result of this dispute.
livemode: boolHas the value true if the object exists in live mode or the value false if the object exists in test mode.
metadata: MetadataSet 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.
reason: StringReason given by cardholder for dispute.
Possible values are bank_cannot_process, check_returned, credit_not_processed, customer_initiated, debit_not_authorized, duplicate, fraudulent, general, incorrect_account_details, insufficient_funds, product_not_received, product_unacceptable, subscription_canceled, or unrecognized.
Read more about dispute reasons.
status: DisputeStatusCurrent status of dispute.
Possible values are warning_needs_response, warning_under_review, warning_closed, needs_response, under_review, charge_refunded, won, or lost.
Methods
impl Dispute[src]
pub fn list(client: &Client, params: ListDisputes) -> Response<List<Dispute>>[src]
Returns a list of your disputes.
pub fn retrieve(
client: &Client,
id: &DisputeId,
expand: &[&str]
) -> Response<Dispute>[src]
client: &Client,
id: &DisputeId,
expand: &[&str]
) -> Response<Dispute>
Retrieves the dispute with the given ID.
Trait Implementations
impl Object for Dispute[src]
type Id = DisputeId
The canonical id type for this object.
fn id(&self) -> Self::Id[src]
fn object(&self) -> &'static str[src]
impl Clone for Dispute[src]
fn clone(&self) -> Dispute[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for Dispute[src]
impl Serialize for Dispute[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl<'de> Deserialize<'de> for Dispute[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
Auto Trait Implementations
Blanket Implementations
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self