Name | Type | Description | Notes |
---|---|---|---|
Basic | Pointer to ProductBasic | [optional] | |
Price | Pointer to ProductPrice | [optional] | |
Weight | Pointer to ProductWeight | [optional] | |
Stock | Pointer to ProductStockWording | [optional] | |
MainStock | Pointer to int64 | Product Stock (Not Reserved) | [optional] |
ReserveStock | Pointer to int64 | Product Stock that Reserved (ex: FlashSale) | [optional] |
Variant | Pointer to ProductVariant | [optional] | |
Menu | Pointer to ProductMenu | [optional] | |
Preorder | Pointer to ProductPreOrder | [optional] | |
ExtraAttribute | Pointer to ProductExtraAttribute | [optional] | |
Wholesale | Pointer to []ProductWholesale | [optional] | |
CategoryTree | Pointer to []ProductCategoryTree | [optional] | |
Pictures | Pointer to []ProductPicture | [optional] | |
GMStats | Pointer to ProductGMStat | [optional] | |
Stats | Pointer to ProductStats | [optional] | |
Other | Pointer to ProductOther | [optional] | |
Campaign | Pointer to ProductCampaign | [optional] | |
Volume | Pointer to ProductVolume | [optional] | |
Warehouses | Pointer to []ProductWarehouse | [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) GetBasic() ProductBasic
GetBasic returns the Basic field if non-nil, zero value otherwise.
func (o *Product) GetBasicOk() (*ProductBasic, bool)
GetBasicOk returns a tuple with the Basic field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetBasic(v ProductBasic)
SetBasic sets Basic field to given value.
func (o *Product) HasBasic() bool
HasBasic returns a boolean if a field has been set.
func (o *Product) GetPrice() ProductPrice
GetPrice returns the Price field if non-nil, zero value otherwise.
func (o *Product) GetPriceOk() (*ProductPrice, bool)
GetPriceOk returns a tuple with the Price field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetPrice(v ProductPrice)
SetPrice sets Price field to given value.
func (o *Product) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (o *Product) GetWeight() ProductWeight
GetWeight returns the Weight field if non-nil, zero value otherwise.
func (o *Product) GetWeightOk() (*ProductWeight, bool)
GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetWeight(v ProductWeight)
SetWeight sets Weight field to given value.
func (o *Product) HasWeight() bool
HasWeight returns a boolean if a field has been set.
func (o *Product) GetStock() ProductStockWording
GetStock returns the Stock field if non-nil, zero value otherwise.
func (o *Product) GetStockOk() (*ProductStockWording, bool)
GetStockOk returns a tuple with the Stock field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetStock(v ProductStockWording)
SetStock sets Stock field to given value.
func (o *Product) HasStock() bool
HasStock returns a boolean if a field has been set.
func (o *Product) GetMainStock() int64
GetMainStock returns the MainStock field if non-nil, zero value otherwise.
func (o *Product) GetMainStockOk() (*int64, bool)
GetMainStockOk returns a tuple with the MainStock field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetMainStock(v int64)
SetMainStock sets MainStock field to given value.
func (o *Product) HasMainStock() bool
HasMainStock returns a boolean if a field has been set.
func (o *Product) GetReserveStock() int64
GetReserveStock returns the ReserveStock field if non-nil, zero value otherwise.
func (o *Product) GetReserveStockOk() (*int64, bool)
GetReserveStockOk returns a tuple with the ReserveStock field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetReserveStock(v int64)
SetReserveStock sets ReserveStock field to given value.
func (o *Product) HasReserveStock() bool
HasReserveStock returns a boolean if a field has been set.
func (o *Product) GetVariant() ProductVariant
GetVariant returns the Variant field if non-nil, zero value otherwise.
func (o *Product) GetVariantOk() (*ProductVariant, bool)
GetVariantOk returns a tuple with the Variant field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetVariant(v ProductVariant)
SetVariant sets Variant field to given value.
func (o *Product) HasVariant() bool
HasVariant returns a boolean if a field has been set.
func (o *Product) GetMenu() ProductMenu
GetMenu returns the Menu field if non-nil, zero value otherwise.
func (o *Product) GetMenuOk() (*ProductMenu, bool)
GetMenuOk returns a tuple with the Menu field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetMenu(v ProductMenu)
SetMenu sets Menu field to given value.
func (o *Product) HasMenu() bool
HasMenu returns a boolean if a field has been set.
func (o *Product) GetPreorder() ProductPreOrder
GetPreorder returns the Preorder field if non-nil, zero value otherwise.
func (o *Product) GetPreorderOk() (*ProductPreOrder, bool)
GetPreorderOk returns a tuple with the Preorder field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetPreorder(v ProductPreOrder)
SetPreorder sets Preorder field to given value.
func (o *Product) HasPreorder() bool
HasPreorder returns a boolean if a field has been set.
func (o *Product) GetExtraAttribute() ProductExtraAttribute
GetExtraAttribute returns the ExtraAttribute field if non-nil, zero value otherwise.
func (o *Product) GetExtraAttributeOk() (*ProductExtraAttribute, bool)
GetExtraAttributeOk returns a tuple with the ExtraAttribute field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetExtraAttribute(v ProductExtraAttribute)
SetExtraAttribute sets ExtraAttribute field to given value.
func (o *Product) HasExtraAttribute() bool
HasExtraAttribute returns a boolean if a field has been set.
func (o *Product) GetWholesale() []ProductWholesale
GetWholesale returns the Wholesale field if non-nil, zero value otherwise.
func (o *Product) GetWholesaleOk() (*[]ProductWholesale, bool)
GetWholesaleOk returns a tuple with the Wholesale field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetWholesale(v []ProductWholesale)
SetWholesale sets Wholesale field to given value.
func (o *Product) HasWholesale() bool
HasWholesale returns a boolean if a field has been set.
func (o *Product) GetCategoryTree() []ProductCategoryTree
GetCategoryTree returns the CategoryTree field if non-nil, zero value otherwise.
func (o *Product) GetCategoryTreeOk() (*[]ProductCategoryTree, bool)
GetCategoryTreeOk returns a tuple with the CategoryTree field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetCategoryTree(v []ProductCategoryTree)
SetCategoryTree sets CategoryTree field to given value.
func (o *Product) HasCategoryTree() bool
HasCategoryTree returns a boolean if a field has been set.
func (o *Product) GetPictures() []ProductPicture
GetPictures returns the Pictures field if non-nil, zero value otherwise.
func (o *Product) GetPicturesOk() (*[]ProductPicture, bool)
GetPicturesOk returns a tuple with the Pictures field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetPictures(v []ProductPicture)
SetPictures sets Pictures field to given value.
func (o *Product) HasPictures() bool
HasPictures returns a boolean if a field has been set.
func (o *Product) GetGMStats() ProductGMStat
GetGMStats returns the GMStats field if non-nil, zero value otherwise.
func (o *Product) GetGMStatsOk() (*ProductGMStat, bool)
GetGMStatsOk returns a tuple with the GMStats field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetGMStats(v ProductGMStat)
SetGMStats sets GMStats field to given value.
func (o *Product) HasGMStats() bool
HasGMStats returns a boolean if a field has been set.
func (o *Product) GetStats() ProductStats
GetStats returns the Stats field if non-nil, zero value otherwise.
func (o *Product) GetStatsOk() (*ProductStats, bool)
GetStatsOk returns a tuple with the Stats field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetStats(v ProductStats)
SetStats sets Stats field to given value.
func (o *Product) HasStats() bool
HasStats returns a boolean if a field has been set.
func (o *Product) GetOther() ProductOther
GetOther returns the Other field if non-nil, zero value otherwise.
func (o *Product) GetOtherOk() (*ProductOther, bool)
GetOtherOk returns a tuple with the Other field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetOther(v ProductOther)
SetOther sets Other field to given value.
func (o *Product) HasOther() bool
HasOther returns a boolean if a field has been set.
func (o *Product) GetCampaign() ProductCampaign
GetCampaign returns the Campaign field if non-nil, zero value otherwise.
func (o *Product) GetCampaignOk() (*ProductCampaign, bool)
GetCampaignOk returns a tuple with the Campaign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetCampaign(v ProductCampaign)
SetCampaign sets Campaign field to given value.
func (o *Product) HasCampaign() bool
HasCampaign returns a boolean if a field has been set.
func (o *Product) GetVolume() ProductVolume
GetVolume returns the Volume field if non-nil, zero value otherwise.
func (o *Product) GetVolumeOk() (*ProductVolume, bool)
GetVolumeOk returns a tuple with the Volume field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetVolume(v ProductVolume)
SetVolume sets Volume field to given value.
func (o *Product) HasVolume() bool
HasVolume returns a boolean if a field has been set.
func (o *Product) GetWarehouses() []ProductWarehouse
GetWarehouses returns the Warehouses field if non-nil, zero value otherwise.
func (o *Product) GetWarehousesOk() (*[]ProductWarehouse, bool)
GetWarehousesOk returns a tuple with the Warehouses field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetWarehouses(v []ProductWarehouse)
SetWarehouses sets Warehouses field to given value.
func (o *Product) HasWarehouses() bool
HasWarehouses returns a boolean if a field has been set.