Skip to content

Commit 7178cbd

Browse files
Review comment addressed
1 parent 4a92679 commit 7178cbd

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

src/main/java/com/siftscience/model/VerificationSendFieldSet.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ public static VerificationSendFieldSet fromJson(String json) {
1212
@Expose @SerializedName(USER_ID) private String userId;
1313
@Expose @SerializedName("$send_to") private String sendTo;
1414
@Expose @SerializedName("$verification_type") private String verificationType;
15+
@Expose @SerializedName("$verified_entity_id") private String verifiedEntityId;
1516
@Expose @SerializedName("$brand_name") private String brandName;
1617
@Expose @SerializedName("$site_country") private String siteCountry;
1718
@Expose @SerializedName("$language") private String language;
@@ -44,6 +45,15 @@ public VerificationSendFieldSet setVerificationType(String verificationType) {
4445
return this;
4546
}
4647

48+
public String getVerifiedEntityId() {
49+
return verifiedEntityId;
50+
}
51+
52+
public VerificationSendFieldSet setVerifiedEntityId(String verifiedEntityId) {
53+
this.verifiedEntityId = verifiedEntityId;
54+
return this;
55+
}
56+
4757
public String getBrandName() {
4858
return brandName;
4959
}

src/test/java/com/siftscience/VerificationSendRequestTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public void testVerification() throws Exception {
2323
" \"$user_id\": \"billy_jones_301\",\n" +
2424
" \"$send_to\": \"billy_jones_301@gmail.com\",\n" +
2525
" \"$verification_type\": \"$email\",\n" +
26+
" \"$verified_entity_id\": \"entity_id\",\n" +
2627
" \"$brand_name\": \"brand\",\n" +
2728
" \"$site_country\": \"USA\",\n" +
2829
" \"$language\": \"English\",\n" +
@@ -75,6 +76,7 @@ public void testVerification() throws Exception {
7576
.setUserId("billy_jones_301")
7677
.setSendTo("billy_jones_301@gmail.com")
7778
.setVerificationType("$email")
79+
.setVerifiedEntityId("entity_id")
7880
.setBrandName("brand")
7981
.setSiteCountry("USA")
8082
.setLanguage("English")

0 commit comments

Comments
 (0)