File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
main/java/com/siftscience/model
test/java/com/siftscience Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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" )
You can’t perform that action at this time.
0 commit comments