-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add missing account fields (#53)
* chore: map holder type and credit card status * chore: map automatically invested balance
- Loading branch information
1 parent
501079a
commit 641c679
Showing
4 changed files
with
37 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,5 @@ public class BankData { | |
|
||
String transferNumber; | ||
Double closingBalance; | ||
Double automaticallyInvestedBalance; | ||
} |
18 changes: 18 additions & 0 deletions
18
src/main/java/ai/pluggy/client/response/CreditCardStatus.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,18 @@ | ||
package ai.pluggy.client.response; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
|
||
@AllArgsConstructor | ||
public enum CreditCardStatus { | ||
@SerializedName("ACTIVE") | ||
ACTIVE("ACTIVE"), | ||
@SerializedName("BLOCKED") | ||
BLOCKED("BLOCKED"), | ||
@SerializedName("CANCELLED") | ||
CANCELLED("CANCELLED"); | ||
|
||
@Getter | ||
private String value; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package ai.pluggy.client.response; | ||
|
||
import com.google.gson.annotations.SerializedName; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
|
||
@AllArgsConstructor | ||
public enum HolderType { | ||
@SerializedName("MAIN") | ||
MAIN("MAIN"), | ||
@SerializedName("ADDITIONAL") | ||
ADDITIONAL("ADDITIONAL"); | ||
|
||
@Getter | ||
private String value; | ||
} |