Skip to content

Conversation

jkurra-hw
Copy link
Contributor

No description provided.

@coveralls
Copy link

coveralls commented Sep 1, 2020

Coverage Status

Coverage increased (+0.01%) to 99.681% when pulling 61e2a11 on feature/HW-66628-V4JavaSDK-VenmoAccount into dcaa0cf on V4.

Copy link
Contributor

@Rrathinasabapath Rrathinasabapath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the changes.

* Get Venmo Account
*
* @param userToken User token assigned
* @param venmoAccountToken venmo Account token assigned
Copy link
Contributor

@arao6 arao6 Sep 1, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upper case venmo Account.
In the below line too.

Copy link
Contributor Author

@jkurra-hw jkurra-hw Sep 2, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed it . thanks @arao6

* @param venmoAccountToken Venmo account token
* @param transition Status transition information
* @return HyperwalletStatusTransition new status for venmo Account
*/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uppercase venmo

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed to Uppercase

* @param userToken User token
* @param venmoAccountToken Venmo account token
* @return HyperwalletStatusTransition deactivated venmo account
*/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uppercase venmo

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

Copy link
Contributor

@arao6 arao6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

Copy link
Contributor

@peter-joseph peter-joseph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, just a few comments

* Create Venmo Account
*
* @param venmoAccount HyperwalletVenmoAccount object to create
* @return HyperwalletVenmoAccount created venmo account for the specified user
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

capital 'V' in venmo

}

private HyperwalletVenmoAccount copy(HyperwalletVenmoAccount venmoAccount) {
venmoAccount = HyperwalletJsonUtil.fromJson(HyperwalletJsonUtil.toJson(venmoAccount), HyperwalletVenmoAccount.class);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can directly return from here if we are not going to use venmoAccount variable

@jkurra-hw jkurra-hw removed the request for review from vkorotchenko September 2, 2020 18:34
# Conflicts:
#	src/test/java/com/hyperwallet/clientsdk/util/HyperwalletApiClientTest.java
@akalichety-hw akalichety-hw merged commit 19cadc0 into V4 Sep 3, 2020
@peter-joseph peter-joseph deleted the feature/HW-66628-V4JavaSDK-VenmoAccount branch September 15, 2020 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants