Struct square_api_client::models::CardPaymentDetails
source · [−]pub struct CardPaymentDetails {Show 16 fields
pub status: Option<CardPaymentDetailsStatus>,
pub card: Option<Card>,
pub entry_method: Option<CardPaymentDetailsEntryMethod>,
pub cvv_status: Option<CardPaymentDetailsCvvStatus>,
pub avs_status: Option<CardPaymentDetailsAvsStatus>,
pub auth_result_code: Option<String>,
pub application_identifier: Option<String>,
pub application_name: Option<String>,
pub application_cryptogram: Option<String>,
pub verification_method: Option<CardPaymentDetailsVerificationMethod>,
pub verfication_results: Option<CardPaymentDetailsVerificationResult>,
pub statement_description: Option<String>,
pub device_details: Option<DeviceDetails>,
pub card_payment_timeline: Option<CardPaymentTimeline>,
pub refund_requires_card_presence: Option<bool>,
pub errors: Option<Vec<Error>>,
}
Expand description
Reflects the current status of a card payment.
Contains only non-confidential information.
Fields
status: Option<CardPaymentDetailsStatus>
The card payment’s current state.
card: Option<Card>
The credit card’s non-confidential details.
entry_method: Option<CardPaymentDetailsEntryMethod>
The method used to enter the card’s details for the payment.
cvv_status: Option<CardPaymentDetailsCvvStatus>
The status code returned from the Card Verification Value (CVV) check.
avs_status: Option<CardPaymentDetailsAvsStatus>
The status code returned from the Address Verification System (AVS) check.
auth_result_code: Option<String>
The status code returned by the card issuer that describes the payment’s authorization status.
application_identifier: Option<String>
For EMV payments, the application ID identifies the EMV application used for the payment.
application_name: Option<String>
For EMV payments, the human-readable name of the EMV application used for the payment.
application_cryptogram: Option<String>
For EMV payments, the cryptogram generated for the payment.
verification_method: Option<CardPaymentDetailsVerificationMethod>
For EMV payments, the method used to verify the cardholder’s identity.
verfication_results: Option<CardPaymentDetailsVerificationResult>
For EMV payments, the results of the cardholder verification.
statement_description: Option<String>
The statement description sent to the card networks.
Note: The actual statement description varies and is likely to be truncated and appended with additional information on a per issuer basis.
device_details: Option<DeviceDetails>
Deprecated: Use Payment.device_details
instead.
Details about the device that took the payment.
card_payment_timeline: Option<CardPaymentTimeline>
The timeline for card payments.
refund_requires_card_presence: Option<bool>
Whether the card must be physically present for the payment to be refunded. If set to
true
, the card must be present.
errors: Option<Vec<Error>>
Information about errors encountered during the request.
Trait Implementations
sourceimpl Clone for CardPaymentDetails
impl Clone for CardPaymentDetails
sourcefn clone(&self) -> CardPaymentDetails
fn clone(&self) -> CardPaymentDetails
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for CardPaymentDetails
impl Debug for CardPaymentDetails
sourceimpl Default for CardPaymentDetails
impl Default for CardPaymentDetails
sourcefn default() -> CardPaymentDetails
fn default() -> CardPaymentDetails
sourceimpl<'de> Deserialize<'de> for CardPaymentDetails
impl<'de> Deserialize<'de> for CardPaymentDetails
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>,
sourceimpl PartialEq<CardPaymentDetails> for CardPaymentDetails
impl PartialEq<CardPaymentDetails> for CardPaymentDetails
sourcefn eq(&self, other: &CardPaymentDetails) -> bool
fn eq(&self, other: &CardPaymentDetails) -> bool
sourceimpl Serialize for CardPaymentDetails
impl Serialize for CardPaymentDetails
impl Eq for CardPaymentDetails
impl StructuralEq for CardPaymentDetails
impl StructuralPartialEq for CardPaymentDetails
Auto Trait Implementations
impl RefUnwindSafe for CardPaymentDetails
impl Send for CardPaymentDetails
impl Sync for CardPaymentDetails
impl Unpin for CardPaymentDetails
impl UnwindSafe for CardPaymentDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.