[−][src]Struct stripe::Card 
The resource representing a Stripe "Card".
For more details see https://stripe.com/docs/api/cards/object.
Fields
id: CardIdUnique identifier for the object.
account: Option<Expandable<Account>>The account this card belongs to.
This attribute will not be in the card object if the card belongs to a customer or recipient instead.
address_city: Option<String>City/District/Suburb/Town/Village.
address_country: Option<String>Billing address country, if provided when creating card.
address_line1: Option<String>Address line 1 (Street address/PO Box/Company name).
address_line1_check: Option<CheckResult>If address_line1 was provided, results of the check: pass, fail, unavailable, or unchecked.
address_line2: Option<String>Address line 2 (Apartment/Suite/Unit/Building).
address_state: Option<String>State/County/Province/Region.
address_zip: Option<String>ZIP or postal code.
address_zip_check: Option<CheckResult>If address_zip was provided, results of the check: pass, fail, unavailable, or unchecked.
available_payout_methods: Option<Vec<String>>A set of available payout methods for this card.
Will be either ["standard"] or ["standard", "instant"].
Only values from this set should be passed as the method when creating a transfer.
brand: Option<CardBrand>Card brand.
Can be American Express, Diners Club, Discover, JCB, MasterCard, UnionPay, Visa, or Unknown.
country: Option<String>Two-letter ISO code representing the country of the card.
You could use this attribute to get a sense of the international breakdown of cards you've collected.
currency: Option<Currency>customer: Option<Expandable<Customer>>The customer that this card belongs to.
This attribute will not be in the card object if the card belongs to an account or recipient instead.
cvc_check: Option<CheckResult>If a CVC was provided, results of the check: pass, fail, unavailable, or unchecked.
default_for_currency: Option<bool>Whether this card is the default external account for its currency.
deleted: booldynamic_last4: Option<String>(For tokenized numbers only.) The last four digits of the device account number.
exp_month: Option<i64>Two-digit number representing the card's expiration month.
exp_year: Option<i64>Four-digit number representing the card's expiration year.
fingerprint: Option<String>Uniquely identifies this particular card number.
You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example.
funding: Option<CardType>Card funding type.
Can be credit, debit, prepaid, or unknown.
last4: Option<String>The last four digits of the card.
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.
name: Option<String>Cardholder name.
recipient: Option<Expandable<Recipient>>The recipient that this card belongs to.
This attribute will not be in the card object if the card belongs to a customer or account instead.
tokenization_method: Option<TokenizationMethod>If the card number is tokenized, this is the method that was used.
Can be apple_pay or google_pay.
Trait Implementations
impl Clone for Card[src]
impl Debug for Card[src]
impl<'de> Deserialize<'de> for Card[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Object for Card[src]
type Id = CardId
The canonical id type for this object.
fn id(&self) -> Self::Id[src]
fn object(&self) -> &'static str[src]
impl Serialize for Card[src]
Auto Trait Implementations
impl RefUnwindSafe for Card
impl Send for Card
impl Sync for Card
impl Unpin for Card
impl UnwindSafe for Card
Blanket Implementations
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
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> 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
V: MultiLane<T>,