-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: adding new enrollment and Settings api in controller
- Loading branch information
Krishna Potluri
committed
Sep 21, 2023
1 parent
a4ccb8f
commit 4cafa6a
Showing
5 changed files
with
134 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
mdx-models/src/main/java/com/mx/path/model/mdx/model/payment/Enrollment.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package com.mx.path.model.mdx.model.payment; | ||
|
||
import java.util.List; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import com.mx.path.model.mdx.model.MdxBase; | ||
import com.mx.path.model.mdx.model.id.MfaChallenge; | ||
|
||
public final class Enrollment extends MdxBase<Enrollment> { | ||
@SerializedName("is_active") | ||
private Boolean isActive; | ||
|
||
private List<MfaChallenge> challenges; | ||
|
||
public Enrollment() { | ||
} | ||
|
||
public Boolean getActive() { | ||
return isActive; | ||
} | ||
|
||
public void setActive(Boolean active) { | ||
isActive = active; | ||
} | ||
|
||
public List<MfaChallenge> getChallenges() { | ||
return challenges; | ||
} | ||
|
||
public void setChallenges(List<MfaChallenge> challenges) { | ||
this.challenges = challenges; | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
mdx-models/src/main/java/com/mx/path/model/mdx/model/payment/Settings.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package com.mx.path.model.mdx.model.payment; | ||
|
||
import java.util.List; | ||
|
||
import com.mx.path.model.mdx.model.MdxBase; | ||
import com.mx.path.model.mdx.model.id.MfaChallenge; | ||
|
||
public final class Settings extends MdxBase<Settings> { | ||
private List<MfaChallenge> challenges; | ||
|
||
public Settings() { | ||
} | ||
|
||
public List<MfaChallenge> getChallenges() { | ||
return challenges; | ||
} | ||
|
||
public void setChallenges(List<MfaChallenge> challenges) { | ||
this.challenges = challenges; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters