GetCodeUrlRequest.go 427 B

123456789101112131415161718192021
  1. package http_model
  2. type GetCodeUrlRequest struct {
  3. Amount int64 `json:"amount"`
  4. Type int64 `json:"type"`
  5. }
  6. type CodeUrl struct {
  7. CodeUrl string `json:"code_url"`
  8. TradeId string `json:"trade_id"`
  9. }
  10. func NewGetCodeUrlRequest() *GetCodeUrlRequest {
  11. return new(GetCodeUrlRequest)
  12. }
  13. func NewGetCodeUrlResponse() *CommonResponse {
  14. resp := new(CommonResponse)
  15. resp.Data = new(CodeUrl)
  16. return resp
  17. }