Struct stripe::IssuingCard [−][src]
The resource representing a Stripe "IssuingCard".
Fields
id: IssuingCardId
Unique identifier for the object.
brand: CardBrand
The brand of the card.
cancellation_reason: Option<IssuingCardCancellationReason>
The reason why the card was canceled.
cardholder: IssuingCardholder
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.
cvc: Option<String>
The card's CVC.
For security reasons, this is only available for virtual cards, and will be omitted unless you explicitly request it with the expand
parameter.
Additionally, it's only available via the "Retrieve a card" endpoint, not via "List all cards" or any other endpoint.
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.
number: Option<String>
The full unredacted card number.
For security reasons, this is only available for virtual cards, and will be omitted unless you explicitly request it with the expand
parameter.
Additionally, it's only available via the "Retrieve a card" endpoint, not via "List all cards" or any other endpoint.
replaced_by: Option<Expandable<IssuingCard>>
The latest card that replaces this card, if any.
replacement_for: Option<Expandable<IssuingCard>>
The card this card replaces, if any.
replacement_reason: Option<IssuingCardReplacementReason>
The reason why the previous card needed to be replaced.
shipping: Option<IssuingCardShipping>
Where and how the card will be shipped.
spending_controls: IssuingCardAuthorizationControls
status: IssuingCardStatus
Whether authorizations can be approved on this card.
type_: IssuingCardType
The type of the card.
Trait Implementations
impl Clone for IssuingCard
[src]
fn clone(&self) -> IssuingCard
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for IssuingCard
[src]
impl<'de> Deserialize<'de> for IssuingCard
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Object for IssuingCard
[src]
type Id = IssuingCardId
The canonical id type for this object.
fn id(&self) -> Self::Id
[src]
fn object(&self) -> &'static str
[src]
impl Serialize for IssuingCard
[src]
Auto Trait Implementations
impl RefUnwindSafe for IssuingCard
[src]
impl Send for IssuingCard
[src]
impl Sync for IssuingCard
[src]
impl Unpin for IssuingCard
[src]
impl UnwindSafe for IssuingCard
[src]
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,
pub 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> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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.
pub 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>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,