public class AuthResponseBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
AuthResponseBuilder |
addAuthStatusInfo(AuthStatusInfo authStatusInfo)
Adds the auth status info.
|
AuthResponseBuilder |
addErrors(AuthError... errors)
Adds the errors.
|
AuthResponseDTO |
build(String staticTokenID)
Builds the.
|
static AuthResponseBuilder |
newInstance(String dateTimePattern)
Get new instance of AuthResponseBuilder.
|
AuthResponseBuilder |
setId(String idType) |
AuthResponseBuilder |
setStaticTokenId(String staticTokenId)
Sets the Static Token Id.
|
AuthResponseBuilder |
setTxnID(String txnID)
Sets the txn ID.
|
AuthResponseBuilder |
setVersion(String ver)
Sets the version.
|
public AuthResponseBuilder setTxnID(String txnID)
txnID - the txn IDpublic AuthResponseBuilder addErrors(AuthError... errors)
errors - the errorspublic AuthResponseBuilder addAuthStatusInfo(AuthStatusInfo authStatusInfo)
authStatusInfo - the auth status infopublic AuthResponseBuilder setId(String idType)
public AuthResponseBuilder setStaticTokenId(String staticTokenId)
staticTokenId - the static token idpublic AuthResponseBuilder setVersion(String ver)
ver - the verpublic AuthResponseDTO build(String staticTokenID)
staticTokenID - the static token IDpublic static AuthResponseBuilder newInstance(String dateTimePattern)
dateTimePattern - the date time patternCopyright © 2020. All rights reserved.