Class AuthorialSender
- java.lang.Object
-
- no.digipost.api.client.representations.sender.AuthorialSender
-
public final class AuthorialSender extends Object
The authorial sender of a message, i.e. what the receiver sees as the sender. It is resolved based on the broker ID, and the optional presence of either asender-IDorsender organization. If neither of those are present, the broker ID is used as the authorial sender.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuthorialSender.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)SenderIdgetAccountId()SenderOrganizationgetOrganization()inthashCode()booleanis(AuthorialSender.Type type)static AuthorialSenderresolve(BrokerId brokerId, MayHaveSender mayHaveAuthorialSender)StringtoString()
-
-
-
Method Detail
-
resolve
public static AuthorialSender resolve(BrokerId brokerId, MayHaveSender mayHaveAuthorialSender)
-
is
public boolean is(AuthorialSender.Type type)
-
getAccountId
public SenderId getAccountId()
-
getOrganization
public SenderOrganization getOrganization()
-
-