Class: EML::UK::Payload::Card::Reload

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

Constant Summary collapse

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

Returns a new instance of Reload.



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

def initialize(payload)
  super

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