Name | Type | Description | Notes |
---|---|---|---|
PriceCents | Pointer to int32 | The order price in cents for the item per unit. For example, a currency of GBP with unit 5L and price 850 means a 5L item can be ordered for £8.50. | [optional] |
StockCount | Pointer to int32 | The number of items in stock for the related unit. | [optional] |
Unit | Pointer to string | A unit that the item can be ordered in. | [optional] |
func NewV3APISupplierCatalogUnit() *V3APISupplierCatalogUnit
NewV3APISupplierCatalogUnit instantiates a new V3APISupplierCatalogUnit 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 NewV3APISupplierCatalogUnitWithDefaults() *V3APISupplierCatalogUnit
NewV3APISupplierCatalogUnitWithDefaults instantiates a new V3APISupplierCatalogUnit 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 *V3APISupplierCatalogUnit) GetPriceCents() int32
GetPriceCents returns the PriceCents field if non-nil, zero value otherwise.
func (o *V3APISupplierCatalogUnit) GetPriceCentsOk() (*int32, bool)
GetPriceCentsOk returns a tuple with the PriceCents field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V3APISupplierCatalogUnit) SetPriceCents(v int32)
SetPriceCents sets PriceCents field to given value.
func (o *V3APISupplierCatalogUnit) HasPriceCents() bool
HasPriceCents returns a boolean if a field has been set.
func (o *V3APISupplierCatalogUnit) GetStockCount() int32
GetStockCount returns the StockCount field if non-nil, zero value otherwise.
func (o *V3APISupplierCatalogUnit) GetStockCountOk() (*int32, bool)
GetStockCountOk returns a tuple with the StockCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V3APISupplierCatalogUnit) SetStockCount(v int32)
SetStockCount sets StockCount field to given value.
func (o *V3APISupplierCatalogUnit) HasStockCount() bool
HasStockCount returns a boolean if a field has been set.
func (o *V3APISupplierCatalogUnit) GetUnit() string
GetUnit returns the Unit field if non-nil, zero value otherwise.
func (o *V3APISupplierCatalogUnit) GetUnitOk() (*string, bool)
GetUnitOk returns a tuple with the Unit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V3APISupplierCatalogUnit) SetUnit(v string)
SetUnit sets Unit field to given value.
func (o *V3APISupplierCatalogUnit) HasUnit() bool
HasUnit returns a boolean if a field has been set.