Class: EML::UK::Payload::Card::Unload

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

Constant Summary collapse

REQUIRED_CONFIG =
T.let(%i[merchant_group].freeze, T::Array[Symbol])
REQUIRED_VALUES =
T.let(%i[amount location.country note].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) ⇒ Unload

Returns a new instance of Unload.



15
16
17
18
19
# File 'lib/eml/uk/payload/card/unload.rb', line 15

def initialize(payload)
  super

  @location = T.let(nil, T.nilable(EML::UK::Payload::Location))
end