[][src]Struct stripe::IssuingCard

pub struct IssuingCard {
    pub id: IssuingCardId,
    pub authorization_controls: IssuingCardAuthorizationControls,
    pub brand: CardBrand,
    pub cardholder: Option<IssuingCardholder>,
    pub created: Timestamp,
    pub currency: Currency,
    pub exp_month: i64,
    pub exp_year: i64,
    pub last4: String,
    pub livemode: bool,
    pub metadata: Metadata,
    pub name: String,
    pub pin: Option<IssuingCardPin>,
    pub replacement_for: Option<Expandable<IssuingCard>>,
    pub replacement_reason: Option<IssuingCardReplacementReason>,
    pub shipping: Option<IssuingCardShipping>,
    pub status: IssuingCardStatus,
    pub type_: IssuingCardType,
}

The resource representing a Stripe "IssuingCard".

Fields

id: IssuingCardId

Unique identifier for the object.

authorization_controls: IssuingCardAuthorizationControlsbrand: CardBrand

The brand of the card.

cardholder: Option<IssuingCardholder>

The Cardholder object to which the card belongs.

created: Timestamp

Time at which the object was created.

Measured in seconds since the Unix epoch.

currency: Currency

Three-letter ISO currency code, in lowercase.

Must be a supported currency.

exp_month: i64

The expiration month of the card.

exp_year: i64

The expiration year of the card.

last4: String

The last 4 digits of the card number.

livemode: bool

Has the value true if the object exists in live mode or the value false if the object exists in test mode.

metadata: Metadata

Set 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: String

The name of the cardholder, printed on the card.

pin: Option<IssuingCardPin>

Metadata about the PIN on the card.

replacement_for: Option<Expandable<IssuingCard>>

The card this card replaces, if any.

replacement_reason: Option<IssuingCardReplacementReason>

Why the card that this card replaces (if any) needed to be replaced.

One of damage, expiration, loss, or theft.

shipping: Option<IssuingCardShipping>

Where and how the card will be shipped.

status: IssuingCardStatus

One of active, inactive, canceled, lost, stolen, or pending.

type_: IssuingCardType

One of virtual or physical.

Trait Implementations

impl Clone for IssuingCard[src]

impl Debug for IssuingCard[src]

impl<'de> Deserialize<'de> for IssuingCard[src]

impl Object for IssuingCard[src]

type Id = IssuingCardId

The canonical id type for this object.

impl Serialize for IssuingCard[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.