-
Notifications
You must be signed in to change notification settings - Fork 37
Feature/INT-1636 - GetFaceAuthenticationAttemptAssets + PaymentPlan updates #612
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
9dc1ddb
GetFaceAuthenticationAttemptAssets + PaymentPlan updates + unit and i…
david-ruiz-cko 48192f0
Reconcilate naming async/sync styandard - breaking change
david-ruiz-cko d2d3da9
Skip tests: card product account range is full (422 invalid_request: …
david-ruiz-cko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
27 changes: 27 additions & 0 deletions
27
src/main/java/com/checkout/identities/entities/AttemptAssetLinks.java
This file contains hidden or 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,27 @@ | ||
| package com.checkout.identities.entities; | ||
|
|
||
| import com.checkout.common.Link; | ||
| import com.google.gson.annotations.SerializedName; | ||
| import lombok.AllArgsConstructor; | ||
| import lombok.Builder; | ||
| import lombok.Data; | ||
| import lombok.NoArgsConstructor; | ||
|
|
||
| /** | ||
| * The links related to an attempt asset. | ||
| */ | ||
| @Data | ||
| @Builder | ||
| @NoArgsConstructor | ||
| @AllArgsConstructor | ||
| public final class AttemptAssetLinks { | ||
|
|
||
| /** | ||
| * The URL to download the asset. | ||
| * [Required] | ||
| * Format: uri | ||
| */ | ||
| @SerializedName("asset_url") | ||
| private Link assetUrl; | ||
|
|
||
| } |
31 changes: 31 additions & 0 deletions
31
src/main/java/com/checkout/identities/entities/AttemptAssetsQueryFilter.java
This file contains hidden or 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,31 @@ | ||
| package com.checkout.identities.entities; | ||
|
|
||
| import lombok.AllArgsConstructor; | ||
| import lombok.Builder; | ||
| import lombok.Data; | ||
| import lombok.NoArgsConstructor; | ||
|
|
||
| /** | ||
| * Query parameters for retrieving the assets captured during an attempt. | ||
| */ | ||
| @Data | ||
| @Builder | ||
| @AllArgsConstructor | ||
| @NoArgsConstructor | ||
| public final class AttemptAssetsQueryFilter { | ||
|
|
||
| /** | ||
| * The number of assets to skip. | ||
| * [Optional] | ||
| * Default: 0 | ||
| */ | ||
| private Integer skip; | ||
|
|
||
| /** | ||
| * The maximum number of assets to return. | ||
| * [Optional] | ||
| * Default: 10 | ||
| */ | ||
| private Integer limit; | ||
|
|
||
| } |
This file contains hidden or 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 hidden or 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
32 changes: 32 additions & 0 deletions
32
...com/checkout/identities/faceauthentications/responses/FaceAuthenticationAttemptAsset.java
This file contains hidden or 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,32 @@ | ||
| package com.checkout.identities.faceauthentications.responses; | ||
|
|
||
| import com.checkout.identities.entities.AttemptAssetLinks; | ||
| import com.google.gson.annotations.SerializedName; | ||
| import lombok.AllArgsConstructor; | ||
| import lombok.Builder; | ||
| import lombok.Data; | ||
| import lombok.NoArgsConstructor; | ||
|
|
||
| /** | ||
| * An asset (face image or video) captured during a face authentication attempt. | ||
| */ | ||
| @Data | ||
| @Builder | ||
| @NoArgsConstructor | ||
| @AllArgsConstructor | ||
| public final class FaceAuthenticationAttemptAsset { | ||
|
|
||
| /** | ||
| * The type of asset. | ||
| * [Required] | ||
| */ | ||
| private FaceAuthenticationAttemptAssetType type; | ||
|
|
||
| /** | ||
| * The links related to the asset. | ||
| * [Required] | ||
| */ | ||
| @SerializedName("_links") | ||
| private AttemptAssetLinks links; | ||
|
|
||
| } |
15 changes: 15 additions & 0 deletions
15
...checkout/identities/faceauthentications/responses/FaceAuthenticationAttemptAssetType.java
This file contains hidden or 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,15 @@ | ||
| package com.checkout.identities.faceauthentications.responses; | ||
|
|
||
| import com.google.gson.annotations.SerializedName; | ||
|
|
||
| /** | ||
| * The type of asset captured during a face authentication attempt. | ||
| */ | ||
| public enum FaceAuthenticationAttemptAssetType { | ||
|
|
||
| @SerializedName("face_image") | ||
| FACE_IMAGE, | ||
| @SerializedName("face_video") | ||
| FACE_VIDEO | ||
|
|
||
| } |
45 changes: 45 additions & 0 deletions
45
...out/identities/faceauthentications/responses/FaceAuthenticationAttemptAssetsResponse.java
This file contains hidden or 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,45 @@ | ||
| package com.checkout.identities.faceauthentications.responses; | ||
|
|
||
| import com.checkout.common.Resource; | ||
| import lombok.AllArgsConstructor; | ||
| import lombok.Builder; | ||
| import lombok.Data; | ||
| import lombok.EqualsAndHashCode; | ||
| import lombok.NoArgsConstructor; | ||
|
|
||
| import java.util.List; | ||
|
|
||
| /** | ||
| * The paginated assets captured during a face authentication attempt. | ||
| */ | ||
| @Data | ||
| @EqualsAndHashCode(callSuper = false) | ||
Check noticeCode scanning / CodeQL Missing Override annotation Note
This method overrides
Resource.canEqual Error loading related location Loading |
||
| @Builder | ||
| @NoArgsConstructor | ||
| @AllArgsConstructor | ||
| public final class FaceAuthenticationAttemptAssetsResponse extends Resource { | ||
|
|
||
| /** | ||
| * The total number of assets. | ||
| * [Required] | ||
| */ | ||
| private Integer totalCount; | ||
|
|
||
| /** | ||
| * The number of assets skipped. | ||
| * [Required] | ||
| */ | ||
| private Integer skip; | ||
|
|
||
| /** | ||
| * The maximum number of assets returned. | ||
| * [Required] | ||
| */ | ||
| private Integer limit; | ||
|
|
||
| /** | ||
| * The list of assets for the current page. | ||
| * [Required] | ||
| */ | ||
| private List<FaceAuthenticationAttemptAsset> data; | ||
| } | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.