Class: Increase::Models::Card::AuthorizationControls
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::Card::AuthorizationControls
- Defined in:
- lib/increase/models/card.rb
Overview
Defined Under Namespace
Classes: MaximumAuthorizationCount, MerchantAcceptorIdentifier, MerchantCategoryCode, MerchantCountry, SpendingLimit
Instance Attribute Summary collapse
-
#maximum_authorization_count ⇒ Increase::Models::Card::AuthorizationControls::MaximumAuthorizationCount?
Limits the number of authorizations that can be approved on this card.
-
#merchant_acceptor_identifier ⇒ Increase::Models::Card::AuthorizationControls::MerchantAcceptorIdentifier?
Restricts which Merchant Acceptor IDs are allowed or blocked for authorizations on this card.
-
#merchant_category_code ⇒ Increase::Models::Card::AuthorizationControls::MerchantCategoryCode?
Restricts which Merchant Category Codes are allowed or blocked for authorizations on this card.
-
#merchant_country ⇒ Increase::Models::Card::AuthorizationControls::MerchantCountry?
Restricts which merchant countries are allowed or blocked for authorizations on this card.
-
#spending_limits ⇒ Array<Increase::Models::Card::AuthorizationControls::SpendingLimit>?
Spending limits for this card.
Instance Method Summary collapse
- #initialize(country:) ⇒ Object constructor
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(country:) ⇒ Object
|
|
# File 'lib/increase/models/card.rb', line 180
|
Instance Attribute Details
#maximum_authorization_count ⇒ Increase::Models::Card::AuthorizationControls::MaximumAuthorizationCount?
Limits the number of authorizations that can be approved on this card.
140 141 142 |
# File 'lib/increase/models/card.rb', line 140 required :maximum_authorization_count, -> { Increase::Card::AuthorizationControls::MaximumAuthorizationCount }, nil?: true |
#merchant_acceptor_identifier ⇒ Increase::Models::Card::AuthorizationControls::MerchantAcceptorIdentifier?
Restricts which Merchant Acceptor IDs are allowed or blocked for authorizations on this card.
149 150 151 |
# File 'lib/increase/models/card.rb', line 149 required :merchant_acceptor_identifier, -> { Increase::Card::AuthorizationControls::MerchantAcceptorIdentifier }, nil?: true |
#merchant_category_code ⇒ Increase::Models::Card::AuthorizationControls::MerchantCategoryCode?
Restricts which Merchant Category Codes are allowed or blocked for authorizations on this card.
158 159 160 |
# File 'lib/increase/models/card.rb', line 158 required :merchant_category_code, -> { Increase::Card::AuthorizationControls::MerchantCategoryCode }, nil?: true |
#merchant_country ⇒ Increase::Models::Card::AuthorizationControls::MerchantCountry?
Restricts which merchant countries are allowed or blocked for authorizations on this card.
167 |
# File 'lib/increase/models/card.rb', line 167 required :merchant_country, -> { Increase::Card::AuthorizationControls::MerchantCountry }, nil?: true |
#spending_limits ⇒ Array<Increase::Models::Card::AuthorizationControls::SpendingLimit>?
Spending limits for this card. The most restrictive limit is applied if multiple limits match.
174 175 176 177 178 |
# File 'lib/increase/models/card.rb', line 174 required :spending_limits, -> { Increase::Internal::Type::ArrayOf[Increase::Card::AuthorizationControls::SpendingLimit] }, nil?: true |