lib/api/ops/ops_models/quote_item.go

126 lines
2.8 KiB
Go
Raw Permalink Normal View History

2021-01-08 17:40:28 +00:00
// Code generated by go-swagger; DO NOT EDIT.
2021-01-19 16:58:40 +00:00
// All Code Copyright(c) 2018-2021 by Taxnexus, Inc.
2021-01-08 17:40:28 +00:00
// All rights reserved worldwide.
// Proprietary product; unlicensed use is not allowed
package ops_models
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
)
// QuoteItem quote item
//
// swagger:model QuoteItem
type QuoteItem struct {
// Cost of Goods Sold
COGS float64 `json:"COGS,omitempty"`
// County
CountyID string `json:"CountyID,omitempty"`
// Created By User ID
CreatedByID string `json:"CreatedByID,omitempty"`
// Created Date
CreatedDate string `json:"CreatedDate,omitempty"`
// Line Item Description
Description string `json:"Description,omitempty"`
// Discount Percentage
Discount float64 `json:"Discount,omitempty"`
// Discount Amount
DiscountAmount float64 `json:"DiscountAmount,omitempty"`
// Taxnexus Record Id
ID string `json:"ID,omitempty"`
// Last Modified By User ID
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
// Last Modified Date
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
// List Price
ListPrice float64 `json:"ListPrice,omitempty"`
// Quantity
MRCInterval int64 `json:"MRCInterval,omitempty"`
2021-01-17 21:49:00 +00:00
// Reference the master record that owns this item
2021-01-08 17:40:28 +00:00
ParentFK string `json:"ParentFK,omitempty"`
// Product Code
ProductCode string `json:"ProductCode,omitempty"`
// Product ID
ProductID string `json:"ProductID,omitempty"`
// Product Name
ProductName string `json:"ProductName,omitempty"`
// Quantity
Quantity float64 `json:"Quantity,omitempty"`
// Quote Name
QuoteID string `json:"QuoteID,omitempty"`
// Source System identifier for this record, if any
Ref string `json:"Ref,omitempty"`
// Date
ServiceDate string `json:"ServiceDate,omitempty"`
// Shipping & Handling
ShippingHandling float64 `json:"ShippingHandling,omitempty"`
// Subtotal
Subtotal float64 `json:"Subtotal,omitempty"`
// Taxnexus Code
TaxnexusCode string `json:"TaxnexusCode,omitempty"`
// ID of the Tenant that owns this object
TenantID string `json:"TenantID,omitempty"`
// Total Price
TotalPrice float64 `json:"TotalPrice,omitempty"`
// Sales Price
UnitPrice float64 `json:"UnitPrice,omitempty"`
// The Unit of Measure for this item
Units string `json:"Units,omitempty"`
}
// Validate validates this quote item
func (m *QuoteItem) Validate(formats strfmt.Registry) error {
return nil
}
// MarshalBinary interface implementation
func (m *QuoteItem) MarshalBinary() ([]byte, error) {
if m == nil {
return nil, nil
}
return swag.WriteJSON(m)
}
// UnmarshalBinary interface implementation
func (m *QuoteItem) UnmarshalBinary(b []byte) error {
var res QuoteItem
if err := swag.ReadJSON(b, &res); err != nil {
return err
}
*m = res
return nil
}