GetInvoiceRecordRequest.go 890 B

123456789101112131415161718192021222324252627282930
  1. package http_model
  2. type GetInvoiceRecordRequest struct {
  3. BillingAt string `json:"billing_at"`
  4. }
  5. type InvoiceRecordsPreviews struct {
  6. BillingId string `json:"billing_id"`
  7. Amount float64 `json:"amount"`
  8. InvoiceType string `json:"invoice_type"`
  9. InvoiceInfo string `json:"invoice_info"`
  10. AddressInfo string `json:"address_info"`
  11. ShipmentNumber string `json:"shipment_number"` // 物流单号
  12. BillingAt string `json:"billing_at"`
  13. }
  14. type InvoiceRecordsData struct {
  15. InvoiceRecordsPreviews []*InvoiceRecordsPreviews `json:"invoice_records_previews"`
  16. Total string `json:"total"`
  17. }
  18. func NewGetInvoiceRecordRequest() *GetInvoiceRecordRequest {
  19. return new(GetInvoiceRecordRequest)
  20. }
  21. func NewGetInvoiceRecordResponse() *CommonResponse {
  22. resp := new(CommonResponse)
  23. resp.Data = new(InvoiceRecordsData)
  24. return resp
  25. }