Class: EML::UK::Payload::Card::Lock

Inherits:
EML::UK::Payload show all
Defined in:
lib/eml/uk/payload/card/lock.rb

Constant Summary collapse

REQUIRED_CONFIG =
T.let(%i[merchant_group].freeze, T::Array[Symbol])
REQUIRED_VALUES =
T.let(%i[note reason].freeze, T::Array[Symbol])

Constants inherited from Payload

Payload::ENDPOINT_CLASS_TYPE

Instance Method Summary collapse

Methods inherited from EML::UK::Payload

convert

Methods inherited from Payload

convert, #to_h

Constructor Details

#initialize(payload) ⇒ Lock

Returns a new instance of Lock.



13
14
15
16
17
# File 'lib/eml/uk/payload/card/lock.rb', line 13

def initialize(payload)
  super

  @reason = T.let(nil, T.nilable(Symbol))
end