Class: EML::UK::Payload::Card::Activation
- Inherits:
-
EML::UK::Payload
- Object
- Payload
- EML::UK::Payload
- EML::UK::Payload::Card::Activation
- Defined in:
- lib/eml/uk/payload/card/activation.rb
Constant Summary collapse
- REQUIRED_VALUES =
T.let( %i[amount location.name location.country sales_channel].freeze, T::Array[Symbol] )
- REQUIRED_CONFIG =
T.let(%i[merchant_group].freeze, T::Array[Symbol])
Constants inherited from Payload
Instance Method Summary collapse
-
#initialize(payload) ⇒ Activation
constructor
A new instance of Activation.
Methods inherited from EML::UK::Payload
Methods inherited from Payload
Constructor Details
#initialize(payload) ⇒ Activation
Returns a new instance of Activation.
16 17 18 19 20 21 22 |
# File 'lib/eml/uk/payload/card/activation.rb', line 16 def initialize(payload) super @client_reference_number = T.let(nil, T.nilable(String)) @client_tracking_id = T.let(nil, T.nilable(String)) @location = T.let(nil, T.nilable(EML::UK::Payload::Location)) end |