public final class ItemCreateResponse extends BaseResponse
isMfaResponse()
and isItemResponse()
to determine which kind of response
was received from the server.Modifier and Type | Class and Description |
---|---|
static class |
ItemCreateResponse.MfaDevice |
Constructor and Description |
---|
ItemCreateResponse() |
Modifier and Type | Method and Description |
---|---|
String |
getAccessToken() |
String |
getDevice() |
List<ItemCreateResponse.MfaDevice> |
getDeviceList() |
ItemStatus |
getItem() |
MfaType |
getMfaType() |
List<String> |
getQuestions() |
List<MfaSelection> |
getSelections() |
boolean |
isItemResponse() |
boolean |
isMfaResponse() |
getRequestId
public String getAccessToken()
public ItemStatus getItem()
public String getDevice()
public MfaType getMfaType()
public List<ItemCreateResponse.MfaDevice> getDeviceList()
public List<MfaSelection> getSelections()
public boolean isItemResponse()
true
this is a normal response containing an item.public boolean isMfaResponse()
true
this is an MFA response, and MFA will be required before proceeding.Copyright © 2017–2018 Plaid Technologies, Inc.. All rights reserved.