Advertisement
Guest User

Untitled

a guest
May 9th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. class Member implements MemberInterface {
  2.  
  3. private User: object;
  4.  
  5. constructor() {};
  6.  
  7. /** logout */
  8. logout() {};
  9.  
  10. /** login */
  11. login(user: string, password: string) {};
  12. /** login with facebook */
  13. loginWithFacebook() {};
  14. /** login with twitter */
  15. loginWithTwitter() {};
  16.  
  17. /** register */
  18. register() {};
  19. /** register with facebook */
  20. registerWithFacebook() {};
  21. /** register with twitter */
  22. registerWithTwitter() {};
  23.  
  24. /** forget password: email, user name */
  25. forgetpassword(validateMessage: string) {};
  26. /** change password */
  27. changePassword(oldPassword: string, newPassword: string, newPasswordConfirmation: string) {};
  28.  
  29. /** get member status */
  30. getStatus() {};
  31. /** get member info object */
  32. getInfo() {};
  33. /** update member info */
  34. setInfo(Info: object) {};
  35.  
  36. /** get bonus total */
  37. getBonus() {};
  38. /** get bonus list */
  39. getBonusList() {};
  40. /** get bonus once info */
  41. getBonusInfo(bonusId: string) {};
  42.  
  43. /** get cart */
  44. getCart() {};
  45.  
  46. /** get product info */
  47. getProductInfo(productId: string) {};
  48.  
  49. /**
  50. * validations mathod
  51. */
  52. private passwordValidation() {};
  53. private userInfoUpdateValidation() {};
  54.  
  55. /**
  56. * ajax mathod
  57. */
  58. private ajaxGet(url: string, sendData: object) {};
  59. private ajaxPost(url: string, sendData: object) {};
  60.  
  61. /**
  62. * render
  63. */
  64. private render(path: string, number) {};
  65. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement