pub struct IssuingCardAuthorizationControls {
pub allowed_categories: Option<Vec<IssuingCardAuthorizationControlsAllowedCategories>>,
pub allowed_merchant_countries: Option<Vec<String>>,
pub blocked_categories: Option<Vec<IssuingCardAuthorizationControlsBlockedCategories>>,
pub blocked_merchant_countries: Option<Vec<String>>,
pub spending_limits: Option<Vec<IssuingCardSpendingLimit>>,
pub spending_limits_currency: Option<Currency>,
}
Fields§
§allowed_categories: Option<Vec<IssuingCardAuthorizationControlsAllowedCategories>>
Array of strings containing categories of authorizations to allow.
All other categories will be blocked.
Cannot be set with blocked_categories
.
allowed_merchant_countries: Option<Vec<String>>
Array of strings containing representing countries from which authorizations will be allowed.
Authorizations from merchants in all other countries will be declined.
Country codes should be ISO 3166 alpha-2 country codes (e.g.
US
).
Cannot be set with blocked_merchant_countries
.
Provide an empty value to unset this control.
blocked_categories: Option<Vec<IssuingCardAuthorizationControlsBlockedCategories>>
Array of strings containing categories of authorizations to decline.
All other categories will be allowed.
Cannot be set with allowed_categories
.
blocked_merchant_countries: Option<Vec<String>>
Array of strings containing representing countries from which authorizations will be declined.
Country codes should be ISO 3166 alpha-2 country codes (e.g.
US
).
Cannot be set with allowed_merchant_countries
.
Provide an empty value to unset this control.
spending_limits: Option<Vec<IssuingCardSpendingLimit>>
Limit spending with amount-based rules that apply across any cards this card replaced (i.e., its replacement_for
card and that card’s replacement_for
card, up the chain).
spending_limits_currency: Option<Currency>
Currency of the amounts within spending_limits
. Always the same as the currency of the card.
Trait Implementations§
Source§impl Clone for IssuingCardAuthorizationControls
impl Clone for IssuingCardAuthorizationControls
Source§fn clone(&self) -> IssuingCardAuthorizationControls
fn clone(&self) -> IssuingCardAuthorizationControls
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more