Class: Increase::Models::Card::AuthorizationControls::SpendingLimit
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::Card::AuthorizationControls::SpendingLimit
- Defined in:
- lib/increase/models/card.rb
Defined Under Namespace
Modules: Interval Classes: MerchantCategoryCode
Instance Attribute Summary collapse
-
#interval ⇒ Symbol, Increase::Models::Card::AuthorizationControls::SpendingLimit::Interval
The interval at which the spending limit is enforced.
-
#merchant_category_codes ⇒ Array<Increase::Models::Card::AuthorizationControls::SpendingLimit::MerchantCategoryCode>?
The Merchant Category Codes (MCCs) this spending limit applies to.
-
#settlement_amount ⇒ Integer
The maximum settlement amount permitted in the given interval.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(interval:, merchant_category_codes:, settlement_amount:) ⇒ Object
constructor
Some parameter documentations has been truncated, see SpendingLimit for more details.
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(interval:, merchant_category_codes:, settlement_amount:) ⇒ Object
Some parameter documentations has been truncated, see Increase::Models::Card::AuthorizationControls::SpendingLimit for more details.
|
|
# File 'lib/increase/models/card.rb', line 398
|
Instance Attribute Details
#interval ⇒ Symbol, Increase::Models::Card::AuthorizationControls::SpendingLimit::Interval
The interval at which the spending limit is enforced.
379 |
# File 'lib/increase/models/card.rb', line 379 required :interval, enum: -> { Increase::Card::AuthorizationControls::SpendingLimit::Interval } |
#merchant_category_codes ⇒ Array<Increase::Models::Card::AuthorizationControls::SpendingLimit::MerchantCategoryCode>?
The Merchant Category Codes (MCCs) this spending limit applies to. If not set, the limit applies to all transactions.
386 387 388 389 390 |
# File 'lib/increase/models/card.rb', line 386 required :merchant_category_codes, -> { Increase::Internal::Type::ArrayOf[Increase::Card::AuthorizationControls::SpendingLimit::MerchantCategoryCode] }, nil?: true |
#settlement_amount ⇒ Integer
The maximum settlement amount permitted in the given interval.
396 |
# File 'lib/increase/models/card.rb', line 396 required :settlement_amount, Integer |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/increase/models/card.rb', line 429
|