-
Notifications
You must be signed in to change notification settings - Fork 16
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
Added v6 wallet balance api to SDK #170
base: master
Are you sure you want to change the base?
Conversation
Black Duck Security ReportMerging #170 into master will not change security risk. Added ComponentsClean: 12 |
|
this.preference = preference; | ||
} | ||
|
||
@Override |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar blocks of code found in 2 locations. Consider refactoring.
@@ -0,0 +1,99 @@ | |||
package jp.ne.paypay.model; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar blocks of code found in 10 locations. Consider refactoring.
null, localVarHeaderParams, localVarFormParams, localVarAuthNames); | ||
} | ||
|
||
private Call checkWalletBalanceValidateBeforeCall(String userAuthorizationId, Integer amount, String currency, ProductType productType) throws ApiException { | ||
|
||
private Call validateCheckWalletBalanceParamsBeforeCall(String endpoint, String userAuthorizationId, Integer amount, String currency, ProductType productType) throws ApiException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Method validateCheckWalletBalanceParamsBeforeCall
has 5 arguments (exceeds 4 allowed). Consider refactoring.
@@ -48,11 +49,9 @@ public void setApiClient(ApiClient apiClient) { | |||
* @throws ApiException If fail to serialize the request body object | |||
|
|||
*/ | |||
private Call checkWalletBalanceCall(String userAuthorizationId, Integer amount, String currency, | |||
private Call walletBalanceCall(String endpoint, String userAuthorizationId, Integer amount, String currency, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Method walletBalanceCall
has 5 arguments (exceeds 4 allowed). Consider refactoring.
this.cashbackAutoInvestment = cashbackAutoInvestment; | ||
} | ||
|
||
@Override |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Method equals
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
Code Climate has analyzed commit ae41ef6 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 84.6% (5% is the threshold). This pull request will bring the total coverage in the repository to 86.4% (0.0% change). View more on Code Climate. |
this.data = data; | ||
} | ||
|
||
@Override |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Method equals
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also update the documentation in the readme and in the docs/
folder
All Submissions:
New Feature Submissions:
Changes to Core Features: