OapiDingpayRedenvelopeSendRequest.py 605 B

12345678910111213141516171819202122232425
  1. '''
  2. Created by auto_sdk on 2021.05.08
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiDingpayRedenvelopeSendRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.chat_id = None
  9. self.corp_biz_no = None
  10. self.ext_params = None
  11. self.greetings = None
  12. self.open_conversation_id = None
  13. self.pay_method = None
  14. self.pay_sign = None
  15. self.receiver_id = None
  16. self.sender_id = None
  17. self.theme_id = None
  18. self.total_amount = None
  19. self.type = None
  20. def getHttpMethod(self):
  21. return 'POST'
  22. def getapiname(self):
  23. return 'dingtalk.oapi.dingpay.redenvelope.send'