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§
Source§impl Clone for CardPaymentDetails
impl Clone for CardPaymentDetails
Source§fn clone(&self) -> CardPaymentDetails
fn clone(&self) -> CardPaymentDetails
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CardPaymentDetails
impl Debug for CardPaymentDetails
Source§impl Default for CardPaymentDetails
impl Default for CardPaymentDetails
Source§fn default() -> CardPaymentDetails
fn default() -> CardPaymentDetails
Source§impl<'de> Deserialize<'de> for CardPaymentDetails
impl<'de> Deserialize<'de> for CardPaymentDetails
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>,
Source§impl PartialEq for CardPaymentDetails
impl PartialEq for CardPaymentDetails
Source§impl Serialize for CardPaymentDetails
impl Serialize for CardPaymentDetails
impl Eq for CardPaymentDetails
impl StructuralPartialEq for CardPaymentDetails
Auto Trait Implementations§
impl Freeze for CardPaymentDetails
impl RefUnwindSafe for CardPaymentDetails
impl Send for CardPaymentDetails
impl Sync for CardPaymentDetails
impl Unpin for CardPaymentDetails
impl UnwindSafe for CardPaymentDetails
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.