[][src]Struct stripe::IssuingCardAuthorizationControls

pub struct IssuingCardAuthorizationControls {
    pub allowed_categories: Option<Vec<MerchantCategory>>,
    pub blocked_categories: Option<Vec<MerchantCategory>>,
    pub currency: Option<Currency>,
    pub max_amount: Option<i64>,
    pub max_approvals: Option<i64>,
    pub spending_limits: Option<Vec<SpendingLimit>>,
}

Fields

allowed_categories: Option<Vec<MerchantCategory>>

Array of strings containing categories of authorizations permitted on this card.

blocked_categories: Option<Vec<MerchantCategory>>

Array of strings containing categories of authorizations to always decline on this card.

currency: Option<Currency>

The currency of the card.

See max_amount.

max_amount: Option<i64>

Maximum amount allowed per authorization on this card, in the currency of the card.

Authorization amounts in a different currency will be converted to the card's currency when evaluating this control.

max_approvals: Option<i64>

Maximum count of approved authorizations on this card.

Counts all authorizations retroactively.

spending_limits: Option<Vec<SpendingLimit>>

Limit the spending with rules based on time intervals and categories.

Trait Implementations

impl Clone for IssuingCardAuthorizationControls[src]

impl Debug for IssuingCardAuthorizationControls[src]

impl Serialize for IssuingCardAuthorizationControls[src]

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

Auto Trait Implementations

Blanket Implementations

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

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

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.

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

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

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

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

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> Same<T> for T

type Output = T

Should always be Self