Module: Evropochta::Postal::GroupOrder

Defined in:
lib/evropochta/postal/group_order.rb

Class Method Summary collapse

Class Method Details

.call(postal_item_external_ids: [], serial_numbers: [], date_transfer: "") ⇒ Object



6
7
8
9
10
11
12
13
14
15
# File 'lib/evropochta/postal/group_order.rb', line 6

def call(postal_item_external_ids: [], serial_numbers: [], date_transfer: "")
  Services::Shared.request(
    "Postal.GroupOrder",
    {
      PostalItemExternalId: postal_item_external_ids,
      SerialNumber: serial_numbers,
      DateTransfer: date_transfer
    }
  )
end