getinvoiceinforequest.go 699 B

123456789101112131415161718192021222324
  1. package http_model
  2. type GetInvoiceInfoRequest struct {
  3. BillingID string `json:"billing_id"`
  4. }
  5. type InvoiceInfoResponse struct {
  6. Businessname string `json:"businessname"`
  7. TaxCode string `json:"tax_code"`
  8. RegisteredAddress string `json:"registered_address"`
  9. RegisteredPhone string `json:"registered_phone"`
  10. Bank string `json:"bank"`
  11. BankCardNumber string `json:"bank_card_number"`
  12. InvoiceType int64 `json:"invoice_type"`
  13. }
  14. func NewGetInvoiceInfoRequest() *GetInvoiceInfoRequest {
  15. return new(GetInvoiceInfoRequest)
  16. }
  17. func NewGetInvoiceInfoResponse() *CommonResponse {
  18. resp := new(CommonResponse)
  19. resp.Data = new(InvoiceInfoResponse)
  20. return resp
  21. }