| Name | Type | Description | Notes |
|---|---|---|---|
| FlatAmountAtom | int32 | Flat price in the currency atom. | |
| UnitAmountAtom | int32 | Price per unit in the currency atom. | |
| UnitsUpto | Pointer to NullableInt32 | [optional] |
func NewPriceTierPublic(flatAmountAtom int32, unitAmountAtom int32, ) *PriceTierPublic
NewPriceTierPublic instantiates a new PriceTierPublic 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 NewPriceTierPublicWithDefaults() *PriceTierPublic
NewPriceTierPublicWithDefaults instantiates a new PriceTierPublic 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 *PriceTierPublic) GetFlatAmountAtom() int32
GetFlatAmountAtom returns the FlatAmountAtom field if non-nil, zero value otherwise.
func (o *PriceTierPublic) 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 *PriceTierPublic) SetFlatAmountAtom(v int32)
SetFlatAmountAtom sets FlatAmountAtom field to given value.
func (o *PriceTierPublic) GetUnitAmountAtom() int32
GetUnitAmountAtom returns the UnitAmountAtom field if non-nil, zero value otherwise.
func (o *PriceTierPublic) 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 *PriceTierPublic) SetUnitAmountAtom(v int32)
SetUnitAmountAtom sets UnitAmountAtom field to given value.
func (o *PriceTierPublic) GetUnitsUpto() int32
GetUnitsUpto returns the UnitsUpto field if non-nil, zero value otherwise.
func (o *PriceTierPublic) 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 *PriceTierPublic) SetUnitsUpto(v int32)
SetUnitsUpto sets UnitsUpto field to given value.
func (o *PriceTierPublic) HasUnitsUpto() bool
HasUnitsUpto returns a boolean if a field has been set.
func (o *PriceTierPublic) SetUnitsUptoNil(b bool)
SetUnitsUptoNil sets the value for UnitsUpto to be an explicit nil
func (o *PriceTierPublic) UnsetUnitsUpto()
UnsetUnitsUpto ensures that no value is present for UnitsUpto, not even an explicit nil