public class RevokeCardRequest extends SignedRequest
signatures, snapshot| Constructor and Description |
|---|
RevokeCardRequest()
Create a new instance of
RevokeCardRequest |
RevokeCardRequest(String cardId,
RevocationReason reason)
Create a new instance of
RevokeCardRequest |
| Modifier and Type | Method and Description |
|---|---|
String |
getCardId() |
RevocationReason |
getReason() |
protected void |
restoreRequest(String snapshot,
Map<String,String> signatures)
Restores the request from snapshot.
|
protected String |
takeSnapshot()
Takes the request snapshot.
|
appendSignature, exportRequest, getRequestModel, getSignatures, getSnapshot, importRequestpublic RevokeCardRequest()
RevokeCardRequestpublic RevokeCardRequest(String cardId, RevocationReason reason)
RevokeCardRequestcardId - the card identifier.reason - the reason of revocation.protected void restoreRequest(String snapshot, Map<String,String> signatures)
SignedRequestrestoreRequest in class SignedRequestsnapshot - the request snapshot.signatures - the request signatures.protected String takeSnapshot()
SignedRequesttakeSnapshot in class SignedRequestpublic String getCardId()
public RevocationReason getReason()
Copyright © 2016. All rights reserved.