Advertisement
Guest User

4th Function by C95

a guest
Jan 15th, 2016
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. /*
  2. 4th Payout Function by C95 [TEST]
  3. */
  4.  
  5. <? php
  6. public function getPayoutState ($username = null, $password = null, $mid = null)
  7. {
  8. if (!$this->client)
  9. {
  10. $this->client = $this->connect();
  11. }
  12. if (!$username)
  13. {
  14. $username = $this->transaction['username'];
  15. $password = $this->transaction['password'];
  16. }
  17. $data = array('username' => $username, 'password' => $password);
  18. $result = $this->client->getPayoutState($data); // no defined function: abort
  19. return $this->payoutStateResult($result ->getPayoutStateReturn,($mid)$mid:false);
  20. }
  21. <?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement