Package co.cryptoservice.sdk
Record Class Iso20022VerifyRequest
java.lang.Object
java.lang.Record
co.cryptoservice.sdk.Iso20022VerifyRequest
- Record Components:
payload- the signed payloadenvelope- the dual-signature envelopetrustedKeys- the keys the signatures must verify under
public record Iso20022VerifyRequest(com.fasterxml.jackson.databind.JsonNode payload, Iso20022Envelope envelope, TrustedKeys trustedKeys)
extends Record
The body of
POST /v2/stream/iso20022.-
Constructor Summary
ConstructorsConstructorDescriptionIso20022VerifyRequest(com.fasterxml.jackson.databind.JsonNode payload, Iso20022Envelope envelope, TrustedKeys trustedKeys) Checks that every required member is present. -
Method Summary
Modifier and TypeMethodDescriptionenvelope()Returns the value of theenveloperecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.com.fasterxml.jackson.databind.JsonNodepayload()Returns the value of thepayloadrecord component.toString()Names the members; values that may be secret (keys, plaintexts, passwords, signatures) are redacted.Returns the value of thetrustedKeysrecord component.
-
Constructor Details
-
Iso20022VerifyRequest
public Iso20022VerifyRequest(com.fasterxml.jackson.databind.JsonNode payload, Iso20022Envelope envelope, TrustedKeys trustedKeys) Checks that every required member is present.- Throws:
NullPointerException- when a required member is null
-
-
Method Details
-
toString
Names the members; values that may be secret (keys, plaintexts, passwords, signatures) are redacted. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
payload
public com.fasterxml.jackson.databind.JsonNode payload()Returns the value of thepayloadrecord component.- Returns:
- the value of the
payloadrecord component
-
envelope
Returns the value of theenveloperecord component.- Returns:
- the value of the
enveloperecord component
-
trustedKeys
Returns the value of thetrustedKeysrecord component.- Returns:
- the value of the
trustedKeysrecord component
-