Skip to content

Commit

Permalink
SDK-2339: Allow the Relying Business to retrieve expanded document fi…
Browse files Browse the repository at this point in the history
…elds
  • Loading branch information
MrBurtyyy authored and bucky-boy committed Sep 23, 2024
1 parent e5c0b03 commit b08506f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package com.yoti.api.client.docs.session.retrieve;

import com.fasterxml.jackson.annotation.JsonProperty;

public class ExpandedDocumentFieldsResponse {

@JsonProperty("media")
private MediaResponse media;

public MediaResponse getMedia() {
return media;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ public class IdDocumentResourceResponse extends ResourceResponse {
@JsonProperty("document_id_photo")
private DocumentIdPhotoResponse documentIdPhoto;

@JsonProperty("expanded_document_fields")
private ExpandedDocumentFieldsResponse expandedDocumentFields;

public String getDocumentType() {
return documentType;
}
Expand All @@ -45,4 +48,8 @@ public DocumentIdPhotoResponse getDocumentIdPhoto() {
return documentIdPhoto;
}

public ExpandedDocumentFieldsResponse getExpandedDocumentFields() {
return expandedDocumentFields;
}

}

0 comments on commit b08506f

Please sign in to comment.