-
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(api): changes to balance-related return types and other API chan…
…ges (#210)
- Loading branch information
1 parent
c00bd1d
commit 765abc9
Showing
28 changed files
with
863 additions
and
94 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 |
---|---|---|
|
@@ -54,8 +54,11 @@ private constructor( | |
* Account state: | ||
* - `ACTIVE` - Account is able to transact and create new cards. | ||
* - `PAUSED` - Account will not be able to transact or create new cards. It can be set back to | ||
* `ACTIVE`. `CLOSED` - Account will not be able to transact or create new cards. `CLOSED` | ||
* cards are also unable to be transitioned to `ACTIVE` or `PAUSED` states. | ||
* `ACTIVE`. | ||
* - `CLOSED` - Account will not be able to transact or create new cards. `CLOSED` accounts are | ||
* also unable to be transitioned to `ACTIVE` or `PAUSED` states. `CLOSED` accounts result | ||
* from failing to pass KYB/KYC or Lithic closing for risk/compliance reasons. Please contact | ||
* [[email protected]](mailto:[email protected]) if you believe this was in error. | ||
*/ | ||
fun state(): State = state.getRequired("state") | ||
|
||
|
@@ -85,8 +88,11 @@ private constructor( | |
* Account state: | ||
* - `ACTIVE` - Account is able to transact and create new cards. | ||
* - `PAUSED` - Account will not be able to transact or create new cards. It can be set back to | ||
* `ACTIVE`. `CLOSED` - Account will not be able to transact or create new cards. `CLOSED` | ||
* cards are also unable to be transitioned to `ACTIVE` or `PAUSED` states. | ||
* `ACTIVE`. | ||
* - `CLOSED` - Account will not be able to transact or create new cards. `CLOSED` accounts are | ||
* also unable to be transitioned to `ACTIVE` or `PAUSED` states. `CLOSED` accounts result | ||
* from failing to pass KYB/KYC or Lithic closing for risk/compliance reasons. Please contact | ||
* [[email protected]](mailto:[email protected]) if you believe this was in error. | ||
*/ | ||
@JsonProperty("state") @ExcludeMissing fun _state() = state | ||
|
||
|
@@ -219,17 +225,25 @@ private constructor( | |
* Account state: | ||
* - `ACTIVE` - Account is able to transact and create new cards. | ||
* - `PAUSED` - Account will not be able to transact or create new cards. It can be set back | ||
* to `ACTIVE`. `CLOSED` - Account will not be able to transact or create new cards. | ||
* `CLOSED` cards are also unable to be transitioned to `ACTIVE` or `PAUSED` states. | ||
* to `ACTIVE`. | ||
* - `CLOSED` - Account will not be able to transact or create new cards. `CLOSED` accounts | ||
* are also unable to be transitioned to `ACTIVE` or `PAUSED` states. `CLOSED` accounts | ||
* result from failing to pass KYB/KYC or Lithic closing for risk/compliance reasons. | ||
* Please contact [[email protected]](mailto:[email protected]) if you believe this was | ||
* in error. | ||
*/ | ||
fun state(state: State) = state(JsonField.of(state)) | ||
|
||
/** | ||
* Account state: | ||
* - `ACTIVE` - Account is able to transact and create new cards. | ||
* - `PAUSED` - Account will not be able to transact or create new cards. It can be set back | ||
* to `ACTIVE`. `CLOSED` - Account will not be able to transact or create new cards. | ||
* `CLOSED` cards are also unable to be transitioned to `ACTIVE` or `PAUSED` states. | ||
* to `ACTIVE`. | ||
* - `CLOSED` - Account will not be able to transact or create new cards. `CLOSED` accounts | ||
* are also unable to be transitioned to `ACTIVE` or `PAUSED` states. `CLOSED` accounts | ||
* result from failing to pass KYB/KYC or Lithic closing for risk/compliance reasons. | ||
* Please contact [[email protected]](mailto:[email protected]) if you believe this was | ||
* in error. | ||
*/ | ||
@JsonProperty("state") | ||
@ExcludeMissing | ||
|
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
Oops, something went wrong.