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"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Subscription subscription
|
|
|
|
//
|
|
|
|
// swagger:model Subscription
|
|
|
|
type Subscription struct {
|
|
|
|
|
|
|
|
// Account ID
|
|
|
|
AccountID string `json:"AccountID,omitempty"`
|
|
|
|
|
|
|
|
// Activated Date
|
|
|
|
ActivatedDate string `json:"ActivatedDate,omitempty"`
|
|
|
|
|
|
|
|
// Activated By
|
|
|
|
ActivatedUserID string `json:"ActivatedUserID,omitempty"`
|
|
|
|
|
|
|
|
// Amount
|
|
|
|
Amount float64 `json:"Amount,omitempty"`
|
|
|
|
|
|
|
|
// Asset Name
|
|
|
|
AssetID string `json:"AssetID,omitempty"`
|
|
|
|
|
|
|
|
// Cancel Date
|
|
|
|
CancelDate string `json:"CancelDate,omitempty"`
|
|
|
|
|
|
|
|
// contract ID
|
|
|
|
ContractID string `json:"ContractID,omitempty"`
|
|
|
|
|
|
|
|
// Created By User ID
|
|
|
|
CreatedByID string `json:"CreatedByID,omitempty"`
|
|
|
|
|
|
|
|
// Created Date
|
|
|
|
CreatedDate string `json:"CreatedDate,omitempty"`
|
|
|
|
|
|
|
|
// Description
|
|
|
|
Description string `json:"Description,omitempty"`
|
|
|
|
|
|
|
|
// Effective Date
|
|
|
|
EffectiveDate string `json:"EffectiveDate,omitempty"`
|
|
|
|
|
|
|
|
// Email
|
|
|
|
Email string `json:"Email,omitempty"`
|
|
|
|
|
|
|
|
// End User Contact ID
|
|
|
|
EndUserID string `json:"EndUserID,omitempty"`
|
|
|
|
|
|
|
|
// Taxnexus Record Id
|
|
|
|
ID string `json:"ID,omitempty"`
|
|
|
|
|
|
|
|
// Active?
|
|
|
|
IsActive bool `json:"IsActive,omitempty"`
|
|
|
|
|
|
|
|
// Last Modified By User ID
|
|
|
|
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
|
|
|
|
|
|
|
|
// Last Modified Date
|
|
|
|
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
|
|
|
|
|
|
|
|
// Order Date
|
|
|
|
OrderDate string `json:"OrderDate,omitempty"`
|
|
|
|
|
|
|
|
// Order Item
|
|
|
|
OrderItemID string `json:"OrderItemID,omitempty"`
|
|
|
|
|
|
|
|
// Password
|
|
|
|
Password string `json:"Password,omitempty"`
|
|
|
|
|
|
|
|
// Payment Terms
|
|
|
|
PaymentTerms string `json:"PaymentTerms,omitempty"`
|
|
|
|
|
|
|
|
// Price Book
|
|
|
|
PriceBookID string `json:"PriceBookID,omitempty"`
|
|
|
|
|
|
|
|
// Product Code
|
|
|
|
ProductCode string `json:"ProductCode,omitempty"`
|
|
|
|
|
|
|
|
// product ID
|
|
|
|
ProductID string `json:"ProductID,omitempty"`
|
|
|
|
|
|
|
|
// Product Name
|
|
|
|
ProductName string `json:"ProductName,omitempty"`
|
|
|
|
|
|
|
|
// Quantity
|
|
|
|
Quantity string `json:"Quantity,omitempty"`
|
|
|
|
|
|
|
|
// Quote Item
|
|
|
|
QuoteItemID string `json:"QuoteItemID,omitempty"`
|
|
|
|
|
|
|
|
// Source System identifier for this record, if any
|
|
|
|
Ref string `json:"Ref,omitempty"`
|
|
|
|
|
|
|
|
// Status
|
|
|
|
Status string `json:"Status,omitempty"`
|
|
|
|
|
|
|
|
// ID of the Tenant that owns this object
|
|
|
|
TenantID string `json:"TenantID,omitempty"`
|
|
|
|
|
|
|
|
// Type
|
|
|
|
Type string `json:"Type,omitempty"`
|
|
|
|
|
|
|
|
// Unit Price
|
|
|
|
UnitPrice float64 `json:"UnitPrice,omitempty"`
|
|
|
|
|
|
|
|
// Units
|
|
|
|
Units string `json:"Units,omitempty"`
|
|
|
|
|
|
|
|
// Unlimited usage?
|
|
|
|
Unlimited bool `json:"Unlimited,omitempty"`
|
|
|
|
|
|
|
|
// Username
|
|
|
|
Username string `json:"Username,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
// Validate validates this subscription
|
|
|
|
func (m *Subscription) Validate(formats strfmt.Registry) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// MarshalBinary interface implementation
|
|
|
|
func (m *Subscription) MarshalBinary() ([]byte, error) {
|
|
|
|
if m == nil {
|
|
|
|
return nil, nil
|
|
|
|
}
|
|
|
|
return swag.WriteJSON(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
// UnmarshalBinary interface implementation
|
|
|
|
func (m *Subscription) UnmarshalBinary(b []byte) error {
|
|
|
|
var res Subscription
|
|
|
|
if err := swag.ReadJSON(b, &res); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
*m = res
|
|
|
|
return nil
|
|
|
|
}
|