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

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

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more