Skip to content

Conversation

madhankumar3103
Copy link
Contributor

i have added stakeholder upload multi part documents

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.

Please make the changes.

$this->assertEquals('businessToken is required!', $e->getMessage());
}
}
public function testuploadDocumentsForBusinessUser() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Please indicate if this is for 'success scenario' or 'with all parameters'

@@ -2079,5 +2080,104 @@ public function listVenmoAccountStatusTransitions($userToken, $venmoAccountToken
return new VenmoAccountStatusTransition($entry);
});
}
/**
* Upload documents for user endpoint
Copy link
Contributor

@arao6 arao6 Oct 13, 2020

Choose a reason for hiding this comment

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

Please change the name of the model to BusinessStakeholder
Also, please update the comment for Business Stakeholder

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.

Pls fix the one comment.

if (empty($businessToken)) {
throw new HyperwalletArgumentException('businessToken is required!');
}
$body = $this->client->putMultipartData('/rest/v4/users/{user-token}/business-stakeholders/{business-stakeholders}', array('user-token' => $userToken,'business-stakeholders' => $businessToken), $options);
Copy link
Collaborator

Choose a reason for hiding this comment

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

{business-stakeholders} can be renamed.

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. Ready to be reviewed by Peter.

@arao6 arao6 requested a review from vkorotchenko October 14, 2020 16:30
@madhankumar3103 madhankumar3103 removed the request for review from peter-joseph October 14, 2020 17:36
@akalichety-hw akalichety-hw merged commit f1bbedb into V4 Oct 15, 2020
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