| Name | Type | Description | Notes |
|---|---|---|---|
| FlatAmountAtom | Pointer to NullableInt32 | [optional] | |
| UnitAmountAtom | int32 | The price for the unit in the smallest denomination.It is in atomic units (in USD this is cents). | |
| UnitsFrom | int32 | The starting unit for the price tier. | |
| UnitsUpto | Pointer to NullableInt32 | [optional] |
func NewPriceTierParams(unitAmountAtom int32, unitsFrom int32, ) *PriceTierParams
NewPriceTierParams instantiates a new PriceTierParams 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 NewPriceTierParamsWithDefaults() *PriceTierParams
NewPriceTierParamsWithDefaults instantiates a new PriceTierParams 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 *PriceTierParams) GetFlatAmountAtom() int32
GetFlatAmountAtom returns the FlatAmountAtom field if non-nil, zero value otherwise.
func (o *PriceTierParams) GetFlatAmountAtomOk() (*int32, bool)
GetFlatAmountAtomOk returns a tuple with the FlatAmountAtom field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PriceTierParams) SetFlatAmountAtom(v int32)
SetFlatAmountAtom sets FlatAmountAtom field to given value.
func (o *PriceTierParams) HasFlatAmountAtom() bool
HasFlatAmountAtom returns a boolean if a field has been set.
func (o *PriceTierParams) SetFlatAmountAtomNil(b bool)
SetFlatAmountAtomNil sets the value for FlatAmountAtom to be an explicit nil
func (o *PriceTierParams) UnsetFlatAmountAtom()
UnsetFlatAmountAtom ensures that no value is present for FlatAmountAtom, not even an explicit nil
func (o *PriceTierParams) GetUnitAmountAtom() int32
GetUnitAmountAtom returns the UnitAmountAtom field if non-nil, zero value otherwise.
func (o *PriceTierParams) GetUnitAmountAtomOk() (*int32, bool)
GetUnitAmountAtomOk returns a tuple with the UnitAmountAtom field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PriceTierParams) SetUnitAmountAtom(v int32)
SetUnitAmountAtom sets UnitAmountAtom field to given value.
func (o *PriceTierParams) GetUnitsFrom() int32
GetUnitsFrom returns the UnitsFrom field if non-nil, zero value otherwise.
func (o *PriceTierParams) GetUnitsFromOk() (*int32, bool)
GetUnitsFromOk returns a tuple with the UnitsFrom field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PriceTierParams) SetUnitsFrom(v int32)
SetUnitsFrom sets UnitsFrom field to given value.
func (o *PriceTierParams) GetUnitsUpto() int32
GetUnitsUpto returns the UnitsUpto field if non-nil, zero value otherwise.
func (o *PriceTierParams) GetUnitsUptoOk() (*int32, bool)
GetUnitsUptoOk returns a tuple with the UnitsUpto field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PriceTierParams) SetUnitsUpto(v int32)
SetUnitsUpto sets UnitsUpto field to given value.
func (o *PriceTierParams) HasUnitsUpto() bool
HasUnitsUpto returns a boolean if a field has been set.
func (o *PriceTierParams) SetUnitsUptoNil(b bool)
SetUnitsUptoNil sets the value for UnitsUpto to be an explicit nil
func (o *PriceTierParams) UnsetUnitsUpto()
UnsetUnitsUpto ensures that no value is present for UnitsUpto, not even an explicit nil