Skip to content

Latest commit

 

History

History
354 lines (197 loc) · 10.6 KB

File metadata and controls

354 lines (197 loc) · 10.6 KB

CartShippingMethodRate

Properties

Name Type Description Notes
MinWeight Pointer to NullableString [optional]
MaxWeight Pointer to NullableString [optional]
MinOrderAmount Pointer to NullableString [optional]
MaxOrderAmount Pointer to NullableString [optional]
MinItemsCount Pointer to NullableString [optional]
MaxItemsCount Pointer to NullableString [optional]
Price Pointer to NullableString [optional]
AdditionalFields Pointer to map[string]interface{} [optional]
CustomFields Pointer to map[string]interface{} [optional]

Methods

NewCartShippingMethodRate

func NewCartShippingMethodRate() *CartShippingMethodRate

NewCartShippingMethodRate instantiates a new CartShippingMethodRate 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

NewCartShippingMethodRateWithDefaults

func NewCartShippingMethodRateWithDefaults() *CartShippingMethodRate

NewCartShippingMethodRateWithDefaults instantiates a new CartShippingMethodRate 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

GetMinWeight

func (o *CartShippingMethodRate) GetMinWeight() string

GetMinWeight returns the MinWeight field if non-nil, zero value otherwise.

GetMinWeightOk

func (o *CartShippingMethodRate) GetMinWeightOk() (*string, bool)

GetMinWeightOk returns a tuple with the MinWeight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMinWeight

func (o *CartShippingMethodRate) SetMinWeight(v string)

SetMinWeight sets MinWeight field to given value.

HasMinWeight

func (o *CartShippingMethodRate) HasMinWeight() bool

HasMinWeight returns a boolean if a field has been set.

SetMinWeightNil

func (o *CartShippingMethodRate) SetMinWeightNil(b bool)

SetMinWeightNil sets the value for MinWeight to be an explicit nil

UnsetMinWeight

func (o *CartShippingMethodRate) UnsetMinWeight()

UnsetMinWeight ensures that no value is present for MinWeight, not even an explicit nil

GetMaxWeight

func (o *CartShippingMethodRate) GetMaxWeight() string

GetMaxWeight returns the MaxWeight field if non-nil, zero value otherwise.

GetMaxWeightOk

func (o *CartShippingMethodRate) GetMaxWeightOk() (*string, bool)

GetMaxWeightOk returns a tuple with the MaxWeight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMaxWeight

func (o *CartShippingMethodRate) SetMaxWeight(v string)

SetMaxWeight sets MaxWeight field to given value.

HasMaxWeight

func (o *CartShippingMethodRate) HasMaxWeight() bool

HasMaxWeight returns a boolean if a field has been set.

SetMaxWeightNil

func (o *CartShippingMethodRate) SetMaxWeightNil(b bool)

SetMaxWeightNil sets the value for MaxWeight to be an explicit nil

UnsetMaxWeight

func (o *CartShippingMethodRate) UnsetMaxWeight()

UnsetMaxWeight ensures that no value is present for MaxWeight, not even an explicit nil

GetMinOrderAmount

func (o *CartShippingMethodRate) GetMinOrderAmount() string

GetMinOrderAmount returns the MinOrderAmount field if non-nil, zero value otherwise.

GetMinOrderAmountOk

func (o *CartShippingMethodRate) GetMinOrderAmountOk() (*string, bool)

GetMinOrderAmountOk returns a tuple with the MinOrderAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMinOrderAmount

func (o *CartShippingMethodRate) SetMinOrderAmount(v string)

SetMinOrderAmount sets MinOrderAmount field to given value.

HasMinOrderAmount

func (o *CartShippingMethodRate) HasMinOrderAmount() bool

HasMinOrderAmount returns a boolean if a field has been set.

SetMinOrderAmountNil

func (o *CartShippingMethodRate) SetMinOrderAmountNil(b bool)

SetMinOrderAmountNil sets the value for MinOrderAmount to be an explicit nil

UnsetMinOrderAmount

func (o *CartShippingMethodRate) UnsetMinOrderAmount()

UnsetMinOrderAmount ensures that no value is present for MinOrderAmount, not even an explicit nil

GetMaxOrderAmount

func (o *CartShippingMethodRate) GetMaxOrderAmount() string

GetMaxOrderAmount returns the MaxOrderAmount field if non-nil, zero value otherwise.

GetMaxOrderAmountOk

func (o *CartShippingMethodRate) GetMaxOrderAmountOk() (*string, bool)

GetMaxOrderAmountOk returns a tuple with the MaxOrderAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMaxOrderAmount

func (o *CartShippingMethodRate) SetMaxOrderAmount(v string)

SetMaxOrderAmount sets MaxOrderAmount field to given value.

HasMaxOrderAmount

func (o *CartShippingMethodRate) HasMaxOrderAmount() bool

HasMaxOrderAmount returns a boolean if a field has been set.

SetMaxOrderAmountNil

func (o *CartShippingMethodRate) SetMaxOrderAmountNil(b bool)

SetMaxOrderAmountNil sets the value for MaxOrderAmount to be an explicit nil

UnsetMaxOrderAmount

func (o *CartShippingMethodRate) UnsetMaxOrderAmount()

UnsetMaxOrderAmount ensures that no value is present for MaxOrderAmount, not even an explicit nil

GetMinItemsCount

func (o *CartShippingMethodRate) GetMinItemsCount() string

GetMinItemsCount returns the MinItemsCount field if non-nil, zero value otherwise.

GetMinItemsCountOk

func (o *CartShippingMethodRate) GetMinItemsCountOk() (*string, bool)

GetMinItemsCountOk returns a tuple with the MinItemsCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMinItemsCount

func (o *CartShippingMethodRate) SetMinItemsCount(v string)

SetMinItemsCount sets MinItemsCount field to given value.

HasMinItemsCount

func (o *CartShippingMethodRate) HasMinItemsCount() bool

HasMinItemsCount returns a boolean if a field has been set.

SetMinItemsCountNil

func (o *CartShippingMethodRate) SetMinItemsCountNil(b bool)

SetMinItemsCountNil sets the value for MinItemsCount to be an explicit nil

UnsetMinItemsCount

func (o *CartShippingMethodRate) UnsetMinItemsCount()

UnsetMinItemsCount ensures that no value is present for MinItemsCount, not even an explicit nil

GetMaxItemsCount

func (o *CartShippingMethodRate) GetMaxItemsCount() string

GetMaxItemsCount returns the MaxItemsCount field if non-nil, zero value otherwise.

GetMaxItemsCountOk

func (o *CartShippingMethodRate) GetMaxItemsCountOk() (*string, bool)

GetMaxItemsCountOk returns a tuple with the MaxItemsCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMaxItemsCount

func (o *CartShippingMethodRate) SetMaxItemsCount(v string)

SetMaxItemsCount sets MaxItemsCount field to given value.

HasMaxItemsCount

func (o *CartShippingMethodRate) HasMaxItemsCount() bool

HasMaxItemsCount returns a boolean if a field has been set.

SetMaxItemsCountNil

func (o *CartShippingMethodRate) SetMaxItemsCountNil(b bool)

SetMaxItemsCountNil sets the value for MaxItemsCount to be an explicit nil

UnsetMaxItemsCount

func (o *CartShippingMethodRate) UnsetMaxItemsCount()

UnsetMaxItemsCount ensures that no value is present for MaxItemsCount, not even an explicit nil

GetPrice

func (o *CartShippingMethodRate) GetPrice() string

GetPrice returns the Price field if non-nil, zero value otherwise.

GetPriceOk

func (o *CartShippingMethodRate) GetPriceOk() (*string, 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.

SetPrice

func (o *CartShippingMethodRate) SetPrice(v string)

SetPrice sets Price field to given value.

HasPrice

func (o *CartShippingMethodRate) HasPrice() bool

HasPrice returns a boolean if a field has been set.

SetPriceNil

func (o *CartShippingMethodRate) SetPriceNil(b bool)

SetPriceNil sets the value for Price to be an explicit nil

UnsetPrice

func (o *CartShippingMethodRate) UnsetPrice()

UnsetPrice ensures that no value is present for Price, not even an explicit nil

GetAdditionalFields

func (o *CartShippingMethodRate) GetAdditionalFields() map[string]interface{}

GetAdditionalFields returns the AdditionalFields field if non-nil, zero value otherwise.

GetAdditionalFieldsOk

func (o *CartShippingMethodRate) GetAdditionalFieldsOk() (*map[string]interface{}, bool)

GetAdditionalFieldsOk returns a tuple with the AdditionalFields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAdditionalFields

func (o *CartShippingMethodRate) SetAdditionalFields(v map[string]interface{})

SetAdditionalFields sets AdditionalFields field to given value.

HasAdditionalFields

func (o *CartShippingMethodRate) HasAdditionalFields() bool

HasAdditionalFields returns a boolean if a field has been set.

SetAdditionalFieldsNil

func (o *CartShippingMethodRate) SetAdditionalFieldsNil(b bool)

SetAdditionalFieldsNil sets the value for AdditionalFields to be an explicit nil

UnsetAdditionalFields

func (o *CartShippingMethodRate) UnsetAdditionalFields()

UnsetAdditionalFields ensures that no value is present for AdditionalFields, not even an explicit nil

GetCustomFields

func (o *CartShippingMethodRate) GetCustomFields() map[string]interface{}

GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.

GetCustomFieldsOk

func (o *CartShippingMethodRate) GetCustomFieldsOk() (*map[string]interface{}, bool)

GetCustomFieldsOk returns a tuple with the CustomFields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCustomFields

func (o *CartShippingMethodRate) SetCustomFields(v map[string]interface{})

SetCustomFields sets CustomFields field to given value.

HasCustomFields

func (o *CartShippingMethodRate) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

SetCustomFieldsNil

func (o *CartShippingMethodRate) SetCustomFieldsNil(b bool)

SetCustomFieldsNil sets the value for CustomFields to be an explicit nil

UnsetCustomFields

func (o *CartShippingMethodRate) UnsetCustomFields()

UnsetCustomFields ensures that no value is present for CustomFields, not even an explicit nil

[Back to Model list] [Back to API list] [Back to README]