YMMyEarningsViewModel.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // YMMyEarningsViewModel.h
  3. // MSYOUPAI
  4. //
  5. // Created by YoMi on 2024/2/27.
  6. // Copyright © 2024 MS. All rights reserved.
  7. //
  8. #import "MSYOUPAIViewModel.h"
  9. #import "YMMyEarningsWithdrawalAmountCellViewModel.h"
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface YMMyEarningsViewModel : MSYOUPAIViewModel
  12. /// 获取我的收益信息
  13. - (void)getMyEarningsInfoData;
  14. /// 提交提现信息
  15. - (void)submitWithdrawalInfo;
  16. /// 前往收支明细
  17. - (void)gotoIncomeBreakdown;
  18. /// 前往绑定提现账号
  19. - (void)gotoBindWithdrawalAccount;
  20. /// 用户剩余金币
  21. @property (nonatomic, assign, readonly) CGFloat userRemainingPoints;
  22. /// 提现金额项目数据
  23. @property (nonatomic, strong, readonly) NSArray <YMMyEarningsWithdrawalAmountCellViewModel*>*withdrawalAmountItemDataArray;
  24. /// 提现账号类型名
  25. @property (nonatomic, strong, readonly) NSString *withdrawalAccountTypeName;
  26. /// 提现账号持有人
  27. @property (nonatomic, strong, readonly) NSString *withdrawalAccountHolder;
  28. /// 提现账号
  29. @property (nonatomic, strong, readonly) NSString *withdrawalAccount;
  30. /// 账户是否通过认证
  31. @property (nonatomic, assign, readonly) NSInteger isVerify;
  32. /// 提现说明
  33. @property (nonatomic, strong, readonly) NSAttributedString *withdrawalNotes;
  34. /// 获取提现金额
  35. @property (nonatomic, strong, readonly) RACSubject *getWithdrawalAmountSubject;
  36. /// 提现金额
  37. @property (nonatomic, assign, readonly) NSInteger withdrawalAmount;
  38. @end
  39. NS_ASSUME_NONNULL_END