Module dev.eidentification.bankid
Record Class CancelRequest
java.lang.Object
java.lang.Record
dev.eidentification.bankid.client.request.CancelRequest
- Record Components:
orderRef- The orderRef retrieved from a order response
- All Implemented Interfaces:
Request
Request to cancel an ongoing sign or auth order.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.getUri()Returns the URI associated with the request.final inthashCode()Returns a hash code value for this object.orderRef()Returns the value of theorderRefrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CancelRequest
Creates aCancelRequest.- Parameters:
orderRef- The orderRef retrieved from a order response. Must not benull- Throws:
NullPointerException- iforderRefisnull
-
-
Method Details
-
getUri
Description copied from interface:RequestReturns the URI associated with the request. -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
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). -
orderRef
Returns the value of theorderRefrecord component.- Returns:
- the value of the
orderRefrecord component
-