Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to NullableInt32 | Product id | [optional] |
Name | Pointer to NullableString | Product name | [optional] |
Code | Pointer to NullableString | Product code | [optional] |
NetPrice | Pointer to NullableFloat32 | Product net price | [optional] |
GrossPrice | Pointer to NullableFloat32 | Product gross price | [optional] |
UseGrossPrice | Pointer to NullableBool | Product uses gross prices | [optional] |
DefaultVat | Pointer to NullableVatType | [optional] | |
NetCost | Pointer to NullableFloat32 | Product net cost | [optional] |
Measure | Pointer to NullableString | Product measure | [optional] |
Description | Pointer to NullableString | Product description | [optional] |
Category | Pointer to NullableString | Product category | [optional] |
Notes | Pointer to NullableString | Product extra notes | [optional] |
InStock | Pointer to NullableBool | Product has stock | [optional] |
StockInitial | Pointer to NullableFloat32 | Product initial stock | [optional] |
StockCurrent | Pointer to NullableFloat32 | [Read Only] Product current stock | [optional] [readonly] |
AverageCost | Pointer to NullableFloat32 | Product average cost | [optional] |
AveragePrice | Pointer to NullableFloat32 | Product average price | [optional] |
CreatedAt | Pointer to NullableString | Product creation date | [optional] |
UpdatedAt | Pointer to NullableString | Product last update date | [optional] |
func NewProduct() *Product
NewProduct instantiates a new Product object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProductWithDefaults() *Product
NewProductWithDefaults instantiates a new Product object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *Product) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Product) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetId(v int32)
SetId sets Id field to given value.
func (o *Product) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Product) SetIdNil(b bool)
SetIdNil sets the value for Id to be an explicit nil
func (o *Product) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
func (o *Product) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Product) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetName(v string)
SetName sets Name field to given value.
func (o *Product) HasName() bool
HasName returns a boolean if a field has been set.
func (o *Product) SetNameNil(b bool)
SetNameNil sets the value for Name to be an explicit nil
func (o *Product) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
func (o *Product) GetCode() string
GetCode returns the Code field if non-nil, zero value otherwise.
func (o *Product) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetCode(v string)
SetCode sets Code field to given value.
func (o *Product) HasCode() bool
HasCode returns a boolean if a field has been set.
func (o *Product) SetCodeNil(b bool)
SetCodeNil sets the value for Code to be an explicit nil
func (o *Product) UnsetCode()
UnsetCode ensures that no value is present for Code, not even an explicit nil
func (o *Product) GetNetPrice() float32
GetNetPrice returns the NetPrice field if non-nil, zero value otherwise.
func (o *Product) GetNetPriceOk() (*float32, bool)
GetNetPriceOk returns a tuple with the NetPrice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetNetPrice(v float32)
SetNetPrice sets NetPrice field to given value.
func (o *Product) HasNetPrice() bool
HasNetPrice returns a boolean if a field has been set.
func (o *Product) SetNetPriceNil(b bool)
SetNetPriceNil sets the value for NetPrice to be an explicit nil
func (o *Product) UnsetNetPrice()
UnsetNetPrice ensures that no value is present for NetPrice, not even an explicit nil
func (o *Product) GetGrossPrice() float32
GetGrossPrice returns the GrossPrice field if non-nil, zero value otherwise.
func (o *Product) GetGrossPriceOk() (*float32, bool)
GetGrossPriceOk returns a tuple with the GrossPrice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetGrossPrice(v float32)
SetGrossPrice sets GrossPrice field to given value.
func (o *Product) HasGrossPrice() bool
HasGrossPrice returns a boolean if a field has been set.
func (o *Product) SetGrossPriceNil(b bool)
SetGrossPriceNil sets the value for GrossPrice to be an explicit nil
func (o *Product) UnsetGrossPrice()
UnsetGrossPrice ensures that no value is present for GrossPrice, not even an explicit nil
func (o *Product) GetUseGrossPrice() bool
GetUseGrossPrice returns the UseGrossPrice field if non-nil, zero value otherwise.
func (o *Product) GetUseGrossPriceOk() (*bool, bool)
GetUseGrossPriceOk returns a tuple with the UseGrossPrice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetUseGrossPrice(v bool)
SetUseGrossPrice sets UseGrossPrice field to given value.
func (o *Product) HasUseGrossPrice() bool
HasUseGrossPrice returns a boolean if a field has been set.
func (o *Product) SetUseGrossPriceNil(b bool)
SetUseGrossPriceNil sets the value for UseGrossPrice to be an explicit nil
func (o *Product) UnsetUseGrossPrice()
UnsetUseGrossPrice ensures that no value is present for UseGrossPrice, not even an explicit nil
func (o *Product) GetDefaultVat() VatType
GetDefaultVat returns the DefaultVat field if non-nil, zero value otherwise.
func (o *Product) GetDefaultVatOk() (*VatType, bool)
GetDefaultVatOk returns a tuple with the DefaultVat field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetDefaultVat(v VatType)
SetDefaultVat sets DefaultVat field to given value.
func (o *Product) HasDefaultVat() bool
HasDefaultVat returns a boolean if a field has been set.
func (o *Product) SetDefaultVatNil(b bool)
SetDefaultVatNil sets the value for DefaultVat to be an explicit nil
func (o *Product) UnsetDefaultVat()
UnsetDefaultVat ensures that no value is present for DefaultVat, not even an explicit nil
func (o *Product) GetNetCost() float32
GetNetCost returns the NetCost field if non-nil, zero value otherwise.
func (o *Product) GetNetCostOk() (*float32, bool)
GetNetCostOk returns a tuple with the NetCost field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetNetCost(v float32)
SetNetCost sets NetCost field to given value.
func (o *Product) HasNetCost() bool
HasNetCost returns a boolean if a field has been set.
func (o *Product) SetNetCostNil(b bool)
SetNetCostNil sets the value for NetCost to be an explicit nil
func (o *Product) UnsetNetCost()
UnsetNetCost ensures that no value is present for NetCost, not even an explicit nil
func (o *Product) GetMeasure() string
GetMeasure returns the Measure field if non-nil, zero value otherwise.
func (o *Product) GetMeasureOk() (*string, bool)
GetMeasureOk returns a tuple with the Measure field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetMeasure(v string)
SetMeasure sets Measure field to given value.
func (o *Product) HasMeasure() bool
HasMeasure returns a boolean if a field has been set.
func (o *Product) SetMeasureNil(b bool)
SetMeasureNil sets the value for Measure to be an explicit nil
func (o *Product) UnsetMeasure()
UnsetMeasure ensures that no value is present for Measure, not even an explicit nil
func (o *Product) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Product) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Product) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *Product) SetDescriptionNil(b bool)
SetDescriptionNil sets the value for Description to be an explicit nil
func (o *Product) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (o *Product) GetCategory() string
GetCategory returns the Category field if non-nil, zero value otherwise.
func (o *Product) GetCategoryOk() (*string, bool)
GetCategoryOk returns a tuple with the Category field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetCategory(v string)
SetCategory sets Category field to given value.
func (o *Product) HasCategory() bool
HasCategory returns a boolean if a field has been set.
func (o *Product) SetCategoryNil(b bool)
SetCategoryNil sets the value for Category to be an explicit nil
func (o *Product) UnsetCategory()
UnsetCategory ensures that no value is present for Category, not even an explicit nil
func (o *Product) GetNotes() string
GetNotes returns the Notes field if non-nil, zero value otherwise.
func (o *Product) GetNotesOk() (*string, bool)
GetNotesOk returns a tuple with the Notes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetNotes(v string)
SetNotes sets Notes field to given value.
func (o *Product) HasNotes() bool
HasNotes returns a boolean if a field has been set.
func (o *Product) SetNotesNil(b bool)
SetNotesNil sets the value for Notes to be an explicit nil
func (o *Product) UnsetNotes()
UnsetNotes ensures that no value is present for Notes, not even an explicit nil
func (o *Product) GetInStock() bool
GetInStock returns the InStock field if non-nil, zero value otherwise.
func (o *Product) GetInStockOk() (*bool, bool)
GetInStockOk returns a tuple with the InStock field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetInStock(v bool)
SetInStock sets InStock field to given value.
func (o *Product) HasInStock() bool
HasInStock returns a boolean if a field has been set.
func (o *Product) SetInStockNil(b bool)
SetInStockNil sets the value for InStock to be an explicit nil
func (o *Product) UnsetInStock()
UnsetInStock ensures that no value is present for InStock, not even an explicit nil
func (o *Product) GetStockInitial() float32
GetStockInitial returns the StockInitial field if non-nil, zero value otherwise.
func (o *Product) GetStockInitialOk() (*float32, bool)
GetStockInitialOk returns a tuple with the StockInitial field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetStockInitial(v float32)
SetStockInitial sets StockInitial field to given value.
func (o *Product) HasStockInitial() bool
HasStockInitial returns a boolean if a field has been set.
func (o *Product) SetStockInitialNil(b bool)
SetStockInitialNil sets the value for StockInitial to be an explicit nil
func (o *Product) UnsetStockInitial()
UnsetStockInitial ensures that no value is present for StockInitial, not even an explicit nil
func (o *Product) GetStockCurrent() float32
GetStockCurrent returns the StockCurrent field if non-nil, zero value otherwise.
func (o *Product) GetStockCurrentOk() (*float32, bool)
GetStockCurrentOk returns a tuple with the StockCurrent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetStockCurrent(v float32)
SetStockCurrent sets StockCurrent field to given value.
func (o *Product) HasStockCurrent() bool
HasStockCurrent returns a boolean if a field has been set.
func (o *Product) SetStockCurrentNil(b bool)
SetStockCurrentNil sets the value for StockCurrent to be an explicit nil
func (o *Product) UnsetStockCurrent()
UnsetStockCurrent ensures that no value is present for StockCurrent, not even an explicit nil
func (o *Product) GetAverageCost() float32
GetAverageCost returns the AverageCost field if non-nil, zero value otherwise.
func (o *Product) GetAverageCostOk() (*float32, bool)
GetAverageCostOk returns a tuple with the AverageCost field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetAverageCost(v float32)
SetAverageCost sets AverageCost field to given value.
func (o *Product) HasAverageCost() bool
HasAverageCost returns a boolean if a field has been set.
func (o *Product) SetAverageCostNil(b bool)
SetAverageCostNil sets the value for AverageCost to be an explicit nil
func (o *Product) UnsetAverageCost()
UnsetAverageCost ensures that no value is present for AverageCost, not even an explicit nil
func (o *Product) GetAveragePrice() float32
GetAveragePrice returns the AveragePrice field if non-nil, zero value otherwise.
func (o *Product) GetAveragePriceOk() (*float32, bool)
GetAveragePriceOk returns a tuple with the AveragePrice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetAveragePrice(v float32)
SetAveragePrice sets AveragePrice field to given value.
func (o *Product) HasAveragePrice() bool
HasAveragePrice returns a boolean if a field has been set.
func (o *Product) SetAveragePriceNil(b bool)
SetAveragePriceNil sets the value for AveragePrice to be an explicit nil
func (o *Product) UnsetAveragePrice()
UnsetAveragePrice ensures that no value is present for AveragePrice, not even an explicit nil
func (o *Product) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *Product) GetCreatedAtOk() (*string, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetCreatedAt(v string)
SetCreatedAt sets CreatedAt field to given value.
func (o *Product) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (o *Product) SetCreatedAtNil(b bool)
SetCreatedAtNil sets the value for CreatedAt to be an explicit nil
func (o *Product) UnsetCreatedAt()
UnsetCreatedAt ensures that no value is present for CreatedAt, not even an explicit nil
func (o *Product) GetUpdatedAt() string
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *Product) GetUpdatedAtOk() (*string, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetUpdatedAt(v string)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *Product) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (o *Product) SetUpdatedAtNil(b bool)
SetUpdatedAtNil sets the value for UpdatedAt to be an explicit nil
func (o *Product) UnsetUpdatedAt()
UnsetUpdatedAt ensures that no value is present for UpdatedAt, not even an explicit nil