Name | Type | Description | Notes |
---|---|---|---|
ProductCode | string | The code identifying the product. This code has significant across all locations. | |
ProductCategory | string | The product category. | |
Plans | Pointer to []PricingPlan | The pricing plans available for this product. | [optional] |
func NewProduct(productCode string, productCategory string, ) *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) GetProductCode() string
GetProductCode returns the ProductCode field if non-nil, zero value otherwise.
func (o *Product) GetProductCodeOk() (*string, bool)
GetProductCodeOk returns a tuple with the ProductCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetProductCode(v string)
SetProductCode sets ProductCode field to given value.
func (o *Product) GetProductCategory() string
GetProductCategory returns the ProductCategory field if non-nil, zero value otherwise.
func (o *Product) GetProductCategoryOk() (*string, bool)
GetProductCategoryOk returns a tuple with the ProductCategory field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetProductCategory(v string)
SetProductCategory sets ProductCategory field to given value.
func (o *Product) GetPlans() []PricingPlan
GetPlans returns the Plans field if non-nil, zero value otherwise.
func (o *Product) GetPlansOk() (*[]PricingPlan, bool)
GetPlansOk returns a tuple with the Plans field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Product) SetPlans(v []PricingPlan)
SetPlans sets Plans field to given value.
func (o *Product) HasPlans() bool
HasPlans returns a boolean if a field has been set.