SMPPEX.Pdu.dest

You're seeing just the function dest, go back to SMPPEX.Pdu module for more information.

Specs

dest(t()) :: addr()

Returns Pdu's :destination_addr, :dest_addr_ton and :dest_addr_npi fields in a tuple.

Examples

iex(1)> pdu = SMPPEX.Pdu.new(4, %{destination_addr: "to", dest_addr_ton: 1, dest_addr_npi: 2})
iex(2)> SMPPEX.Pdu.dest(pdu)
{"to", 1, 2}