lib/api/sf-gate/sf_gate_models/quote_item_basic.go

81 lines
1.9 KiB
Go
Raw 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 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 (
"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
}
// 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
}