Created
September 27, 2016 14:35
-
-
Save zzpaul/f7f5801cfdc2e4e5569038cdabb27c4b to your computer and use it in GitHub Desktop.
Magento 2 - Custom REST API - Vendor\BonusPoint\Api\BonusPointInterface.php
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
<?php | |
namespace Vendor\BonusPoint\Api; | |
interface BonusPointInterface { | |
/** | |
* Update free bonus point of a customer. | |
* | |
* @api | |
* @param int $customerId Customer ID. | |
* @param int $point Free bonus point balance. | |
* @return boolean True if success. Otherwise, false. | |
*/ | |
public function updateFreeBonusPoint($customerId, $point); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment