Skip to content

Latest commit

 

History

History
934 lines (505 loc) · 28.1 KB

File metadata and controls

934 lines (505 loc) · 28.1 KB

PriceExternal

Properties

Name Type Description Notes
BillingInterval NullableCalendarIntervalEnum
BillingIntervalCount NullableInt32
BillingScheme BillingSchemeEnum Describes how to compute the price per period.
CanOnlyBePurchasedWith []string This price can only be purchased in a subscription if subscriptioncontains at least one of these prices.
ContractAutoRenew NullableBool
ContractTermMultiple NullableInt32
CreatedAt time.Time DateTime at which the object was created, in 'ISO 8601' format.
Currency CurrencyEnum Three-letter ISO currency code, in lowercase.
CustomFields Pointer to map[string]interface{} [optional]
EligibleForUpdates bool If the price can be updated or not.
Id string Unique identifier of the price.
InternalDescription NullableString
InvoiceSettings NullableInvoiceSettings
IsActive bool Whether the price can be used for new purchases. Price can be activated later.
IsDefault NullableBool
IsDeleted Pointer to bool If true, indicates that this object has been deleted [optional] [default to false]
IsExclusive Pointer to bool Whether the price is exclusive or not. [optional] [default to false]
IsLicensed bool Whether the price is licensed or not.
ListedExclusivelyForCustomers []string If is_exclusive, this is the list of customers who can see the price.
Metadata Pointer to map[string]interface{} [optional]
MeterId Pointer to NullableString [optional]
Name Pointer to NullableString [optional]
Object Pointer to ObjectName [optional]
OptionalAddOns []string Add-ons that can be optionally purchased with this price.
PriceTiers []PriceTierExternal List of price_tiers.
PriceType PriceTypeEnum One of one_time or recurring depending on whether the price is for a one-time purchase or a recurring (subscription) purchase.
Product Pointer to NullableProductExternal [optional]
ProductId string Unique identifier of the product.
ProductName string Name of the product associated with this price.
RecurringDetails NullableRecurringDetails
TiersMode NullablePricingTiersEnum
TransformQuantityDivideBy float32 This transformation will be applied on quantity before mulitplying by 'unit_amount_atom'.
UnitAmountAtom NullableInt32
UpdatedAt time.Time DateTime at which the object was updated, in 'ISO 8601' format.

Methods

NewPriceExternal

func NewPriceExternal(billingInterval NullableCalendarIntervalEnum, billingIntervalCount NullableInt32, billingScheme BillingSchemeEnum, canOnlyBePurchasedWith []string, contractAutoRenew NullableBool, contractTermMultiple NullableInt32, createdAt time.Time, currency CurrencyEnum, eligibleForUpdates bool, id string, internalDescription NullableString, invoiceSettings NullableInvoiceSettings, isActive bool, isDefault NullableBool, isLicensed bool, listedExclusivelyForCustomers []string, optionalAddOns []string, priceTiers []PriceTierExternal, priceType PriceTypeEnum, productId string, productName string, recurringDetails NullableRecurringDetails, tiersMode NullablePricingTiersEnum, transformQuantityDivideBy float32, unitAmountAtom NullableInt32, updatedAt time.Time, ) *PriceExternal

NewPriceExternal instantiates a new PriceExternal 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

NewPriceExternalWithDefaults

func NewPriceExternalWithDefaults() *PriceExternal

NewPriceExternalWithDefaults instantiates a new PriceExternal 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

GetBillingInterval

func (o *PriceExternal) GetBillingInterval() CalendarIntervalEnum

GetBillingInterval returns the BillingInterval field if non-nil, zero value otherwise.

GetBillingIntervalOk

func (o *PriceExternal) GetBillingIntervalOk() (*CalendarIntervalEnum, bool)

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

SetBillingInterval

func (o *PriceExternal) SetBillingInterval(v CalendarIntervalEnum)

SetBillingInterval sets BillingInterval field to given value.

SetBillingIntervalNil

func (o *PriceExternal) SetBillingIntervalNil(b bool)

SetBillingIntervalNil sets the value for BillingInterval to be an explicit nil

UnsetBillingInterval

func (o *PriceExternal) UnsetBillingInterval()

UnsetBillingInterval ensures that no value is present for BillingInterval, not even an explicit nil

GetBillingIntervalCount

func (o *PriceExternal) GetBillingIntervalCount() int32

GetBillingIntervalCount returns the BillingIntervalCount field if non-nil, zero value otherwise.

GetBillingIntervalCountOk

func (o *PriceExternal) GetBillingIntervalCountOk() (*int32, bool)

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

SetBillingIntervalCount

func (o *PriceExternal) SetBillingIntervalCount(v int32)

SetBillingIntervalCount sets BillingIntervalCount field to given value.

SetBillingIntervalCountNil

func (o *PriceExternal) SetBillingIntervalCountNil(b bool)

SetBillingIntervalCountNil sets the value for BillingIntervalCount to be an explicit nil

UnsetBillingIntervalCount

func (o *PriceExternal) UnsetBillingIntervalCount()

UnsetBillingIntervalCount ensures that no value is present for BillingIntervalCount, not even an explicit nil

GetBillingScheme

func (o *PriceExternal) GetBillingScheme() BillingSchemeEnum

GetBillingScheme returns the BillingScheme field if non-nil, zero value otherwise.

GetBillingSchemeOk

func (o *PriceExternal) GetBillingSchemeOk() (*BillingSchemeEnum, bool)

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

SetBillingScheme

func (o *PriceExternal) SetBillingScheme(v BillingSchemeEnum)

SetBillingScheme sets BillingScheme field to given value.

GetCanOnlyBePurchasedWith

func (o *PriceExternal) GetCanOnlyBePurchasedWith() []string

GetCanOnlyBePurchasedWith returns the CanOnlyBePurchasedWith field if non-nil, zero value otherwise.

GetCanOnlyBePurchasedWithOk

func (o *PriceExternal) GetCanOnlyBePurchasedWithOk() (*[]string, bool)

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

SetCanOnlyBePurchasedWith

func (o *PriceExternal) SetCanOnlyBePurchasedWith(v []string)

SetCanOnlyBePurchasedWith sets CanOnlyBePurchasedWith field to given value.

GetContractAutoRenew

func (o *PriceExternal) GetContractAutoRenew() bool

GetContractAutoRenew returns the ContractAutoRenew field if non-nil, zero value otherwise.

GetContractAutoRenewOk

func (o *PriceExternal) GetContractAutoRenewOk() (*bool, bool)

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

SetContractAutoRenew

func (o *PriceExternal) SetContractAutoRenew(v bool)

SetContractAutoRenew sets ContractAutoRenew field to given value.

SetContractAutoRenewNil

func (o *PriceExternal) SetContractAutoRenewNil(b bool)

SetContractAutoRenewNil sets the value for ContractAutoRenew to be an explicit nil

UnsetContractAutoRenew

func (o *PriceExternal) UnsetContractAutoRenew()

UnsetContractAutoRenew ensures that no value is present for ContractAutoRenew, not even an explicit nil

GetContractTermMultiple

func (o *PriceExternal) GetContractTermMultiple() int32

GetContractTermMultiple returns the ContractTermMultiple field if non-nil, zero value otherwise.

GetContractTermMultipleOk

func (o *PriceExternal) GetContractTermMultipleOk() (*int32, bool)

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

SetContractTermMultiple

func (o *PriceExternal) SetContractTermMultiple(v int32)

SetContractTermMultiple sets ContractTermMultiple field to given value.

SetContractTermMultipleNil

func (o *PriceExternal) SetContractTermMultipleNil(b bool)

SetContractTermMultipleNil sets the value for ContractTermMultiple to be an explicit nil

UnsetContractTermMultiple

func (o *PriceExternal) UnsetContractTermMultiple()

UnsetContractTermMultiple ensures that no value is present for ContractTermMultiple, not even an explicit nil

GetCreatedAt

func (o *PriceExternal) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *PriceExternal) GetCreatedAtOk() (*time.Time, bool)

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

SetCreatedAt

func (o *PriceExternal) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

GetCurrency

func (o *PriceExternal) GetCurrency() CurrencyEnum

GetCurrency returns the Currency field if non-nil, zero value otherwise.

GetCurrencyOk

func (o *PriceExternal) GetCurrencyOk() (*CurrencyEnum, bool)

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

SetCurrency

func (o *PriceExternal) SetCurrency(v CurrencyEnum)

SetCurrency sets Currency field to given value.

GetCustomFields

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

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

GetCustomFieldsOk

func (o *PriceExternal) 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 *PriceExternal) SetCustomFields(v map[string]interface{})

SetCustomFields sets CustomFields field to given value.

HasCustomFields

func (o *PriceExternal) HasCustomFields() bool

HasCustomFields returns a boolean if a field has been set.

SetCustomFieldsNil

func (o *PriceExternal) SetCustomFieldsNil(b bool)

SetCustomFieldsNil sets the value for CustomFields to be an explicit nil

UnsetCustomFields

func (o *PriceExternal) UnsetCustomFields()

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

GetEligibleForUpdates

func (o *PriceExternal) GetEligibleForUpdates() bool

GetEligibleForUpdates returns the EligibleForUpdates field if non-nil, zero value otherwise.

GetEligibleForUpdatesOk

func (o *PriceExternal) GetEligibleForUpdatesOk() (*bool, bool)

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

SetEligibleForUpdates

func (o *PriceExternal) SetEligibleForUpdates(v bool)

SetEligibleForUpdates sets EligibleForUpdates field to given value.

GetId

func (o *PriceExternal) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *PriceExternal) GetIdOk() (*string, bool)

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

SetId

func (o *PriceExternal) SetId(v string)

SetId sets Id field to given value.

GetInternalDescription

func (o *PriceExternal) GetInternalDescription() string

GetInternalDescription returns the InternalDescription field if non-nil, zero value otherwise.

GetInternalDescriptionOk

func (o *PriceExternal) GetInternalDescriptionOk() (*string, bool)

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

SetInternalDescription

func (o *PriceExternal) SetInternalDescription(v string)

SetInternalDescription sets InternalDescription field to given value.

SetInternalDescriptionNil

func (o *PriceExternal) SetInternalDescriptionNil(b bool)

SetInternalDescriptionNil sets the value for InternalDescription to be an explicit nil

UnsetInternalDescription

func (o *PriceExternal) UnsetInternalDescription()

UnsetInternalDescription ensures that no value is present for InternalDescription, not even an explicit nil

GetInvoiceSettings

func (o *PriceExternal) GetInvoiceSettings() InvoiceSettings

GetInvoiceSettings returns the InvoiceSettings field if non-nil, zero value otherwise.

GetInvoiceSettingsOk

func (o *PriceExternal) GetInvoiceSettingsOk() (*InvoiceSettings, bool)

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

SetInvoiceSettings

func (o *PriceExternal) SetInvoiceSettings(v InvoiceSettings)

SetInvoiceSettings sets InvoiceSettings field to given value.

SetInvoiceSettingsNil

func (o *PriceExternal) SetInvoiceSettingsNil(b bool)

SetInvoiceSettingsNil sets the value for InvoiceSettings to be an explicit nil

UnsetInvoiceSettings

func (o *PriceExternal) UnsetInvoiceSettings()

UnsetInvoiceSettings ensures that no value is present for InvoiceSettings, not even an explicit nil

GetIsActive

func (o *PriceExternal) GetIsActive() bool

GetIsActive returns the IsActive field if non-nil, zero value otherwise.

GetIsActiveOk

func (o *PriceExternal) GetIsActiveOk() (*bool, bool)

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

SetIsActive

func (o *PriceExternal) SetIsActive(v bool)

SetIsActive sets IsActive field to given value.

GetIsDefault

func (o *PriceExternal) GetIsDefault() bool

GetIsDefault returns the IsDefault field if non-nil, zero value otherwise.

GetIsDefaultOk

func (o *PriceExternal) GetIsDefaultOk() (*bool, bool)

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

SetIsDefault

func (o *PriceExternal) SetIsDefault(v bool)

SetIsDefault sets IsDefault field to given value.

SetIsDefaultNil

func (o *PriceExternal) SetIsDefaultNil(b bool)

SetIsDefaultNil sets the value for IsDefault to be an explicit nil

UnsetIsDefault

func (o *PriceExternal) UnsetIsDefault()

UnsetIsDefault ensures that no value is present for IsDefault, not even an explicit nil

GetIsDeleted

func (o *PriceExternal) GetIsDeleted() bool

GetIsDeleted returns the IsDeleted field if non-nil, zero value otherwise.

GetIsDeletedOk

func (o *PriceExternal) GetIsDeletedOk() (*bool, bool)

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

SetIsDeleted

func (o *PriceExternal) SetIsDeleted(v bool)

SetIsDeleted sets IsDeleted field to given value.

HasIsDeleted

func (o *PriceExternal) HasIsDeleted() bool

HasIsDeleted returns a boolean if a field has been set.

GetIsExclusive

func (o *PriceExternal) GetIsExclusive() bool

GetIsExclusive returns the IsExclusive field if non-nil, zero value otherwise.

GetIsExclusiveOk

func (o *PriceExternal) GetIsExclusiveOk() (*bool, bool)

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

SetIsExclusive

func (o *PriceExternal) SetIsExclusive(v bool)

SetIsExclusive sets IsExclusive field to given value.

HasIsExclusive

func (o *PriceExternal) HasIsExclusive() bool

HasIsExclusive returns a boolean if a field has been set.

GetIsLicensed

func (o *PriceExternal) GetIsLicensed() bool

GetIsLicensed returns the IsLicensed field if non-nil, zero value otherwise.

GetIsLicensedOk

func (o *PriceExternal) GetIsLicensedOk() (*bool, bool)

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

SetIsLicensed

func (o *PriceExternal) SetIsLicensed(v bool)

SetIsLicensed sets IsLicensed field to given value.

GetListedExclusivelyForCustomers

func (o *PriceExternal) GetListedExclusivelyForCustomers() []string

GetListedExclusivelyForCustomers returns the ListedExclusivelyForCustomers field if non-nil, zero value otherwise.

GetListedExclusivelyForCustomersOk

func (o *PriceExternal) GetListedExclusivelyForCustomersOk() (*[]string, bool)

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

SetListedExclusivelyForCustomers

func (o *PriceExternal) SetListedExclusivelyForCustomers(v []string)

SetListedExclusivelyForCustomers sets ListedExclusivelyForCustomers field to given value.

GetMetadata

func (o *PriceExternal) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field if non-nil, zero value otherwise.

GetMetadataOk

func (o *PriceExternal) GetMetadataOk() (*map[string]interface{}, bool)

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

SetMetadata

func (o *PriceExternal) SetMetadata(v map[string]interface{})

SetMetadata sets Metadata field to given value.

HasMetadata

func (o *PriceExternal) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

SetMetadataNil

func (o *PriceExternal) SetMetadataNil(b bool)

SetMetadataNil sets the value for Metadata to be an explicit nil

UnsetMetadata

func (o *PriceExternal) UnsetMetadata()

UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil

GetMeterId

func (o *PriceExternal) GetMeterId() string

GetMeterId returns the MeterId field if non-nil, zero value otherwise.

GetMeterIdOk

func (o *PriceExternal) GetMeterIdOk() (*string, bool)

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

SetMeterId

func (o *PriceExternal) SetMeterId(v string)

SetMeterId sets MeterId field to given value.

HasMeterId

func (o *PriceExternal) HasMeterId() bool

HasMeterId returns a boolean if a field has been set.

SetMeterIdNil

func (o *PriceExternal) SetMeterIdNil(b bool)

SetMeterIdNil sets the value for MeterId to be an explicit nil

UnsetMeterId

func (o *PriceExternal) UnsetMeterId()

UnsetMeterId ensures that no value is present for MeterId, not even an explicit nil

GetName

func (o *PriceExternal) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *PriceExternal) GetNameOk() (*string, bool)

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

SetName

func (o *PriceExternal) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *PriceExternal) HasName() bool

HasName returns a boolean if a field has been set.

SetNameNil

func (o *PriceExternal) SetNameNil(b bool)

SetNameNil sets the value for Name to be an explicit nil

UnsetName

func (o *PriceExternal) UnsetName()

UnsetName ensures that no value is present for Name, not even an explicit nil

GetObject

func (o *PriceExternal) GetObject() ObjectName

GetObject returns the Object field if non-nil, zero value otherwise.

GetObjectOk

func (o *PriceExternal) GetObjectOk() (*ObjectName, bool)

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

SetObject

func (o *PriceExternal) SetObject(v ObjectName)

SetObject sets Object field to given value.

HasObject

func (o *PriceExternal) HasObject() bool

HasObject returns a boolean if a field has been set.

GetOptionalAddOns

func (o *PriceExternal) GetOptionalAddOns() []string

GetOptionalAddOns returns the OptionalAddOns field if non-nil, zero value otherwise.

GetOptionalAddOnsOk

func (o *PriceExternal) GetOptionalAddOnsOk() (*[]string, bool)

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

SetOptionalAddOns

func (o *PriceExternal) SetOptionalAddOns(v []string)

SetOptionalAddOns sets OptionalAddOns field to given value.

GetPriceTiers

func (o *PriceExternal) GetPriceTiers() []PriceTierExternal

GetPriceTiers returns the PriceTiers field if non-nil, zero value otherwise.

GetPriceTiersOk

func (o *PriceExternal) GetPriceTiersOk() (*[]PriceTierExternal, bool)

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

SetPriceTiers

func (o *PriceExternal) SetPriceTiers(v []PriceTierExternal)

SetPriceTiers sets PriceTiers field to given value.

GetPriceType

func (o *PriceExternal) GetPriceType() PriceTypeEnum

GetPriceType returns the PriceType field if non-nil, zero value otherwise.

GetPriceTypeOk

func (o *PriceExternal) GetPriceTypeOk() (*PriceTypeEnum, bool)

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

SetPriceType

func (o *PriceExternal) SetPriceType(v PriceTypeEnum)

SetPriceType sets PriceType field to given value.

GetProduct

func (o *PriceExternal) GetProduct() ProductExternal

GetProduct returns the Product field if non-nil, zero value otherwise.

GetProductOk

func (o *PriceExternal) GetProductOk() (*ProductExternal, bool)

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

SetProduct

func (o *PriceExternal) SetProduct(v ProductExternal)

SetProduct sets Product field to given value.

HasProduct

func (o *PriceExternal) HasProduct() bool

HasProduct returns a boolean if a field has been set.

SetProductNil

func (o *PriceExternal) SetProductNil(b bool)

SetProductNil sets the value for Product to be an explicit nil

UnsetProduct

func (o *PriceExternal) UnsetProduct()

UnsetProduct ensures that no value is present for Product, not even an explicit nil

GetProductId

func (o *PriceExternal) GetProductId() string

GetProductId returns the ProductId field if non-nil, zero value otherwise.

GetProductIdOk

func (o *PriceExternal) GetProductIdOk() (*string, bool)

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

SetProductId

func (o *PriceExternal) SetProductId(v string)

SetProductId sets ProductId field to given value.

GetProductName

func (o *PriceExternal) GetProductName() string

GetProductName returns the ProductName field if non-nil, zero value otherwise.

GetProductNameOk

func (o *PriceExternal) GetProductNameOk() (*string, bool)

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

SetProductName

func (o *PriceExternal) SetProductName(v string)

SetProductName sets ProductName field to given value.

GetRecurringDetails

func (o *PriceExternal) GetRecurringDetails() RecurringDetails

GetRecurringDetails returns the RecurringDetails field if non-nil, zero value otherwise.

GetRecurringDetailsOk

func (o *PriceExternal) GetRecurringDetailsOk() (*RecurringDetails, bool)

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

SetRecurringDetails

func (o *PriceExternal) SetRecurringDetails(v RecurringDetails)

SetRecurringDetails sets RecurringDetails field to given value.

SetRecurringDetailsNil

func (o *PriceExternal) SetRecurringDetailsNil(b bool)

SetRecurringDetailsNil sets the value for RecurringDetails to be an explicit nil

UnsetRecurringDetails

func (o *PriceExternal) UnsetRecurringDetails()

UnsetRecurringDetails ensures that no value is present for RecurringDetails, not even an explicit nil

GetTiersMode

func (o *PriceExternal) GetTiersMode() PricingTiersEnum

GetTiersMode returns the TiersMode field if non-nil, zero value otherwise.

GetTiersModeOk

func (o *PriceExternal) GetTiersModeOk() (*PricingTiersEnum, bool)

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

SetTiersMode

func (o *PriceExternal) SetTiersMode(v PricingTiersEnum)

SetTiersMode sets TiersMode field to given value.

SetTiersModeNil

func (o *PriceExternal) SetTiersModeNil(b bool)

SetTiersModeNil sets the value for TiersMode to be an explicit nil

UnsetTiersMode

func (o *PriceExternal) UnsetTiersMode()

UnsetTiersMode ensures that no value is present for TiersMode, not even an explicit nil

GetTransformQuantityDivideBy

func (o *PriceExternal) GetTransformQuantityDivideBy() float32

GetTransformQuantityDivideBy returns the TransformQuantityDivideBy field if non-nil, zero value otherwise.

GetTransformQuantityDivideByOk

func (o *PriceExternal) GetTransformQuantityDivideByOk() (*float32, bool)

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

SetTransformQuantityDivideBy

func (o *PriceExternal) SetTransformQuantityDivideBy(v float32)

SetTransformQuantityDivideBy sets TransformQuantityDivideBy field to given value.

GetUnitAmountAtom

func (o *PriceExternal) GetUnitAmountAtom() int32

GetUnitAmountAtom returns the UnitAmountAtom field if non-nil, zero value otherwise.

GetUnitAmountAtomOk

func (o *PriceExternal) 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.

SetUnitAmountAtom

func (o *PriceExternal) SetUnitAmountAtom(v int32)

SetUnitAmountAtom sets UnitAmountAtom field to given value.

SetUnitAmountAtomNil

func (o *PriceExternal) SetUnitAmountAtomNil(b bool)

SetUnitAmountAtomNil sets the value for UnitAmountAtom to be an explicit nil

UnsetUnitAmountAtom

func (o *PriceExternal) UnsetUnitAmountAtom()

UnsetUnitAmountAtom ensures that no value is present for UnitAmountAtom, not even an explicit nil

GetUpdatedAt

func (o *PriceExternal) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

GetUpdatedAtOk

func (o *PriceExternal) GetUpdatedAtOk() (*time.Time, bool)

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

SetUpdatedAt

func (o *PriceExternal) SetUpdatedAt(v time.Time)

SetUpdatedAt sets UpdatedAt field to given value.

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