Class: Lithic::Models::AuthRules::V2UpdateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::AuthRules::V2UpdateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/lithic/models/auth_rules/v2_update_params.rb
Overview
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#account_tokens ⇒ Array<String>?
Account tokens to which the Auth Rule applies.
-
#business_account_tokens ⇒ Array<String>?
Business Account tokens to which the Auth Rule applies.
-
#card_tokens ⇒ Array<String>?
Card tokens to which the Auth Rule applies.
-
#excluded_card_tokens ⇒ Array<String>?
Card tokens to which the Auth Rule does not apply.
-
#name ⇒ String?
Auth Rule Name.
-
#program_level ⇒ Boolean?
Whether the Auth Rule applies to all authorizations on the card program.
-
#state ⇒ Symbol, ...
The desired state of the Auth Rule.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(account_tokens: nil, business_account_tokens: nil, name: nil, state: nil, card_tokens: nil, excluded_card_tokens: nil, program_level: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see V2UpdateParams for more details.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(account_tokens: nil, business_account_tokens: nil, name: nil, state: nil, card_tokens: nil, excluded_card_tokens: nil, program_level: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Lithic::Models::AuthRules::V2UpdateParams for more details.
|
|
# File 'lib/lithic/models/auth_rules/v2_update_params.rb', line 57
|
Instance Attribute Details
#account_tokens ⇒ Array<String>?
Account tokens to which the Auth Rule applies.
15 |
# File 'lib/lithic/models/auth_rules/v2_update_params.rb', line 15 optional :account_tokens, Lithic::Internal::Type::ArrayOf[String] |
#business_account_tokens ⇒ Array<String>?
Business Account tokens to which the Auth Rule applies.
21 |
# File 'lib/lithic/models/auth_rules/v2_update_params.rb', line 21 optional :business_account_tokens, Lithic::Internal::Type::ArrayOf[String] |
#card_tokens ⇒ Array<String>?
Card tokens to which the Auth Rule applies.
43 |
# File 'lib/lithic/models/auth_rules/v2_update_params.rb', line 43 optional :card_tokens, Lithic::Internal::Type::ArrayOf[String] |
#excluded_card_tokens ⇒ Array<String>?
Card tokens to which the Auth Rule does not apply.
49 |
# File 'lib/lithic/models/auth_rules/v2_update_params.rb', line 49 optional :excluded_card_tokens, Lithic::Internal::Type::ArrayOf[String] |
#name ⇒ String?
Auth Rule Name
27 |
# File 'lib/lithic/models/auth_rules/v2_update_params.rb', line 27 optional :name, String, nil?: true |
#program_level ⇒ Boolean?
Whether the Auth Rule applies to all authorizations on the card program.
55 |
# File 'lib/lithic/models/auth_rules/v2_update_params.rb', line 55 optional :program_level, Lithic::Internal::Type::Boolean |
#state ⇒ Symbol, ...
The desired state of the Auth Rule.
Note that only deactivating an Auth Rule through this endpoint is supported at this time. If you need to (re-)activate an Auth Rule the /promote endpoint should be used to promote a draft to the currently active version.
37 |
# File 'lib/lithic/models/auth_rules/v2_update_params.rb', line 37 optional :state, enum: -> { Lithic::AuthRules::V2UpdateParams::State } |