Class: Zaala::API::SubmissionRequest

Inherits:
Dry::Struct
  • Object
show all
Defined in:
lib/zaala/api/types.rb

Overview

The SubmissionRequest class represents the request parameter of the SubmitAuthorization service call. It contains all information needed to submit a previous authorization and triggering the issuing of the invoice.

Instance Method Summary collapse

Instance Method Details

#to_messageObject



690
691
692
693
694
695
696
697
# File 'lib/zaala/api/types.rb', line 690

def to_message
  {
    identifier: identifier.to_message,
    basket: basket.to_message,
    additionalData: additional_data.to_message,
    attachment: attachments.map(&:to_message),
  }
end