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



693
694
695
696
697
698
699
700
# File 'lib/zaala/api/types.rb', line 693

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