88 lines
2.1 KiB
Go
88 lines
2.1 KiB
Go
// Code generated by go-swagger; DO NOT EDIT.
|
|
|
|
// All Code Copyright(c) 2018-2021 by Taxnexus, Inc.
|
|
// All rights reserved worldwide.
|
|
// Proprietary product; unlicensed use is not allowed
|
|
|
|
package sf_gate_models
|
|
|
|
// This file was generated by the swagger tool.
|
|
// Editing this file might prove futile when you re-run the swagger generate command
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/go-openapi/strfmt"
|
|
"github.com/go-openapi/swag"
|
|
)
|
|
|
|
// QuoteItemBasic quote item basic
|
|
//
|
|
// swagger:model QuoteItemBasic
|
|
type QuoteItemBasic struct {
|
|
|
|
// Line Item Description
|
|
Description string `json:"description,omitempty"`
|
|
|
|
// Taxnexus Record Id Only; not used in POST
|
|
ID string `json:"id,omitempty"`
|
|
|
|
// Invoice
|
|
Invoiceid string `json:"invoiceid,omitempty"`
|
|
|
|
// UUID Reference the master record that owns this item
|
|
Parentfk string `json:"parentfk,omitempty"`
|
|
|
|
// Product Code
|
|
Productcode string `json:"productcode,omitempty"`
|
|
|
|
// Quantity
|
|
Quantity float64 `json:"quantity,omitempty"`
|
|
|
|
// Source System identifier for this record, if any
|
|
Ref string `json:"ref,omitempty"`
|
|
|
|
// Shipping & Handling
|
|
Shippinghandling float64 `json:"shippinghandling,omitempty"`
|
|
|
|
// Subtotal
|
|
Subtotal float64 `json:"subtotal,omitempty"`
|
|
|
|
// Taxnexus Code
|
|
Taxnexuscode string `json:"taxnexuscode,omitempty"`
|
|
|
|
// tenant identifier
|
|
Tenantid string `json:"tenantid,omitempty"`
|
|
|
|
// Unit Price
|
|
Unitprice float64 `json:"unitprice,omitempty"`
|
|
}
|
|
|
|
// Validate validates this quote item basic
|
|
func (m *QuoteItemBasic) Validate(formats strfmt.Registry) error {
|
|
return nil
|
|
}
|
|
|
|
// ContextValidate validates this quote item basic based on context it is used
|
|
func (m *QuoteItemBasic) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
|
|
return nil
|
|
}
|
|
|
|
// MarshalBinary interface implementation
|
|
func (m *QuoteItemBasic) MarshalBinary() ([]byte, error) {
|
|
if m == nil {
|
|
return nil, nil
|
|
}
|
|
return swag.WriteJSON(m)
|
|
}
|
|
|
|
// UnmarshalBinary interface implementation
|
|
func (m *QuoteItemBasic) UnmarshalBinary(b []byte) error {
|
|
var res QuoteItemBasic
|
|
if err := swag.ReadJSON(b, &res); err != nil {
|
|
return err
|
|
}
|
|
*m = res
|
|
return nil
|
|
}
|