Class: Deliveries::Couriers::MondialRelayDual::Pickups::Create::FormatParams

Inherits:
Shipments::Create::FormatParams show all
Defined in:
lib/deliveries/couriers/mondial_relay_dual/pickups/create/format_params.rb

Instance Attribute Summary

Attributes inherited from Shipments::Create::FormatParams

#collection_point, #language, #parcels, #receiver, #reference_code, #remarks, #sender

Instance Method Summary collapse

Methods inherited from Shipments::Create::FormatParams

#execute

Constructor Details

#initialize(sender:, receiver:, parcels:, reference_code:, remarks:, language:) ⇒ FormatParams

Returns a new instance of FormatParams.



7
8
9
10
11
12
13
14
15
16
17
# File 'lib/deliveries/couriers/mondial_relay_dual/pickups/create/format_params.rb', line 7

def initialize(sender:, receiver:, parcels:, reference_code:, remarks:, language:)
  super(
    sender: sender,
    receiver: receiver,
    parcels: parcels,
    reference_code: reference_code,
    remarks: remarks,
    language: language,
    collection_point: nil
  )
end