withdraw_payment_info.go 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. package http_model
  2. type WithdrawPaymentInfoRequest struct {
  3. SupplierId int `json:"supplier_id"` // 服务商ID
  4. SubAccountId int `json:"sub_account_id"` // 服务商子账号ID,无就填0
  5. SOperateType int `json:"s_operate_type"` // 提现操作人类型,1服务商,2服务商子账号
  6. SupplierType int `json:"supplier_type"` // 服务商类型,1个人,2企业
  7. }
  8. type WithdrawPaymentInfoData struct {
  9. Tag int `json:"tag"` // 标志位:1没有收款信息,2存在收款信息
  10. PaymentInfoID int `json:"payment_info_id"` // 主键ID
  11. BankName string `json:"bank_name"` // 开户银行
  12. BankNumber string `json:"bank_number"` // 银行账户
  13. Company string `json:"company"` // 服务商企业名称
  14. SupplierID int `json:"supplier_id"` // 服务商ID
  15. Name string `json:"name"` // 个人服务商姓名
  16. IDNumber string `json:"id_number"` // 个人服务商身份证号码
  17. Phone string `json:"phone"` // 个人服务商银行预留手机号码
  18. SupplierType int `json:"supplier_type"` // 服务商类型,1个人,2机构
  19. }
  20. func NewWithdrawPaymentInfoRequest() *WithdrawPaymentInfoRequest {
  21. return new(WithdrawPaymentInfoRequest)
  22. }
  23. func NewWithdrawPaymentInfoResponse() *CommonResponse {
  24. resp := new(CommonResponse)
  25. resp.Data = new(WithdrawAmountData)
  26. return resp
  27. }