Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Member implements MemberInterface {
- private User: object;
- constructor() {};
- /** logout */
- logout() {};
- /** login */
- login(user: string, password: string) {};
- /** login with facebook */
- loginWithFacebook() {};
- /** login with twitter */
- loginWithTwitter() {};
- /** register */
- register() {};
- /** register with facebook */
- registerWithFacebook() {};
- /** register with twitter */
- registerWithTwitter() {};
- /** forget password: email, user name */
- forgetpassword(validateMessage: string) {};
- /** change password */
- changePassword(oldPassword: string, newPassword: string, newPasswordConfirmation: string) {};
- /** get member status */
- getStatus() {};
- /** get member info object */
- getInfo() {};
- /** update member info */
- setInfo(Info: object) {};
- /** get bonus total */
- getBonus() {};
- /** get bonus list */
- getBonusList() {};
- /** get bonus once info */
- getBonusInfo(bonusId: string) {};
- /** get cart */
- getCart() {};
- /** get product info */
- getProductInfo(productId: string) {};
- /**
- * validations mathod
- */
- private passwordValidation() {};
- private userInfoUpdateValidation() {};
- /**
- * ajax mathod
- */
- private ajaxGet(url: string, sendData: object) {};
- private ajaxPost(url: string, sendData: object) {};
- /**
- * render
- */
- private render(path: string, number) {};
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement