GetReceiveInfoRequest.go 859 B

123456789101112131415161718192021222324252627282930
  1. package http_model
  2. type GetReceiveInfoRequest struct {
  3. }
  4. type ReceiveInfoPreview struct {
  5. InvoiceID int64 `json:"invoice_id"`
  6. InvoiceHead string `json:"invoice_head"`
  7. HeadType string `json:"head_type"`
  8. InvoiceType string `json:"invoice_type"`
  9. TaxNum string `json:"tax_num"`
  10. BaseBank string `json:"base_bank"`
  11. BaseBankCardNum string `json:"base_bank_card_num"`
  12. EnterpriseAddress string `json:"enterprise_address"`
  13. EnterprisePhone string `json:"enterprise_phone"`
  14. }
  15. type ReceiveInfoData struct {
  16. ReceiveInfoPreview []*ReceiveInfoPreview `json:"receive_info_preview"`
  17. }
  18. func NewGetReceiveInfoRequest() *GetReceiveInfoRequest {
  19. return new(GetReceiveInfoRequest)
  20. }
  21. func NewGetReceiveInfoResponse() *CommonResponse {
  22. resp := new(CommonResponse)
  23. resp.Data = new(ReceiveInfoData)
  24. return resp
  25. }