| Name | Type | Description | Notes |
|---|---|---|---|
| AccountId | string | Unique Identifier of the account. | |
| BillingInterval | Pointer to NullableCalendarIntervalEnum | [optional] | |
| BillingIntervalCount | Pointer to NullableInt32 | [optional] | |
| CancelAtEnd | bool | Whether this subscription should cancel at the end of contract or billing cycle. | |
| CancellationDetails | Pointer to NullableSubscriptionCancellationDetails | [optional] | |
| CancelledAt | NullableTime | ||
| CheckoutSessionId | Pointer to NullableString | [optional] | |
| CollectionMethod | CollectionMethodEnum | Invoices that are generated from this subscription have this collection method. | |
| ContractAutoRenew | Pointer to NullableBool | [optional] | |
| ContractStart | Pointer to NullableTime | [optional] | |
| CreatedAt | time.Time | DateTime at which the object was created, in 'ISO 8601' format. | |
| Currency | NullableCurrencyEnum | ||
| CurrentPeriodEnd | time.Time | End of the current billing period, in 'ISO 8601' format. | |
| CurrentPeriodStart | time.Time | Starting of the current billing period, in 'ISO 8601' format. | |
| CustomFields | Pointer to map[string]interface{} | [optional] | |
| CustomerId | string | Unique Identifier of the customer. | |
| DefaultPaymentMethodId | NullableString | ||
| Description | NullableString | ||
| Discount | Pointer to NullableDiscountExternal | [optional] | |
| Id | string | Unique Identifier of the subscription. | |
| InitialStart | time.Time | Very beginning of the subscription, in 'ISO 8601' format. | |
| IsDeleted | Pointer to bool | If true, indicates that this object has been deleted | [optional] [default to false] |
| Metadata | Pointer to map[string]interface{} | [optional] | |
| Name | string | Name for this subscription. | |
| NetD | NullableInt32 | ||
| Object | Pointer to ObjectName | [optional] | |
| PauseAtEnd | Pointer to NullableBool | [optional] | |
| PauseForCycles | Pointer to NullableInt32 | [optional] | |
| PausedAt | Pointer to NullableTime | [optional] | |
| PaymentRouteId | Pointer to NullableString | [optional] | |
| RemainingBillingCycles | Pointer to NullableInt32 | [optional] | |
| RenewsAt | Pointer to NullableTime | [optional] | |
| ResumesAt | Pointer to NullableTime | [optional] | |
| Status | SubscriptionStatusEnum | Current status of the subscription. | |
| SubscriptionItems | []SubscriptionItemExternal | List of subscription items. | |
| TotalBillingCycles | Pointer to NullableInt32 | [optional] | |
| TrialEnd | Pointer to NullableTime | [optional] | |
| TrialStart | Pointer to NullableTime | [optional] | |
| UpdatedAt | time.Time | DateTime at which the object was updated, in 'ISO 8601' format. |
func NewSubscriptionExternal(accountId string, cancelAtEnd bool, cancelledAt NullableTime, collectionMethod CollectionMethodEnum, createdAt time.Time, currency NullableCurrencyEnum, currentPeriodEnd time.Time, currentPeriodStart time.Time, customerId string, defaultPaymentMethodId NullableString, description NullableString, id string, initialStart time.Time, name string, netD NullableInt32, status SubscriptionStatusEnum, subscriptionItems []SubscriptionItemExternal, updatedAt time.Time, ) *SubscriptionExternal
NewSubscriptionExternal instantiates a new SubscriptionExternal 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 NewSubscriptionExternalWithDefaults() *SubscriptionExternal
NewSubscriptionExternalWithDefaults instantiates a new SubscriptionExternal 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 *SubscriptionExternal) GetAccountId() string
GetAccountId returns the AccountId field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) GetAccountIdOk() (*string, bool)
GetAccountIdOk returns a tuple with the AccountId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionExternal) SetAccountId(v string)
SetAccountId sets AccountId field to given value.
func (o *SubscriptionExternal) GetBillingInterval() CalendarIntervalEnum
GetBillingInterval returns the BillingInterval field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) 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.
func (o *SubscriptionExternal) SetBillingInterval(v CalendarIntervalEnum)
SetBillingInterval sets BillingInterval field to given value.
func (o *SubscriptionExternal) HasBillingInterval() bool
HasBillingInterval returns a boolean if a field has been set.
func (o *SubscriptionExternal) SetBillingIntervalNil(b bool)
SetBillingIntervalNil sets the value for BillingInterval to be an explicit nil
func (o *SubscriptionExternal) UnsetBillingInterval()
UnsetBillingInterval ensures that no value is present for BillingInterval, not even an explicit nil
func (o *SubscriptionExternal) GetBillingIntervalCount() int32
GetBillingIntervalCount returns the BillingIntervalCount field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) 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.
func (o *SubscriptionExternal) SetBillingIntervalCount(v int32)
SetBillingIntervalCount sets BillingIntervalCount field to given value.
func (o *SubscriptionExternal) HasBillingIntervalCount() bool
HasBillingIntervalCount returns a boolean if a field has been set.
func (o *SubscriptionExternal) SetBillingIntervalCountNil(b bool)
SetBillingIntervalCountNil sets the value for BillingIntervalCount to be an explicit nil
func (o *SubscriptionExternal) UnsetBillingIntervalCount()
UnsetBillingIntervalCount ensures that no value is present for BillingIntervalCount, not even an explicit nil
func (o *SubscriptionExternal) GetCancelAtEnd() bool
GetCancelAtEnd returns the CancelAtEnd field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) GetCancelAtEndOk() (*bool, bool)
GetCancelAtEndOk returns a tuple with the CancelAtEnd field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionExternal) SetCancelAtEnd(v bool)
SetCancelAtEnd sets CancelAtEnd field to given value.
func (o *SubscriptionExternal) GetCancellationDetails() SubscriptionCancellationDetails
GetCancellationDetails returns the CancellationDetails field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) GetCancellationDetailsOk() (*SubscriptionCancellationDetails, bool)
GetCancellationDetailsOk returns a tuple with the CancellationDetails field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionExternal) SetCancellationDetails(v SubscriptionCancellationDetails)
SetCancellationDetails sets CancellationDetails field to given value.
func (o *SubscriptionExternal) HasCancellationDetails() bool
HasCancellationDetails returns a boolean if a field has been set.
func (o *SubscriptionExternal) SetCancellationDetailsNil(b bool)
SetCancellationDetailsNil sets the value for CancellationDetails to be an explicit nil
func (o *SubscriptionExternal) UnsetCancellationDetails()
UnsetCancellationDetails ensures that no value is present for CancellationDetails, not even an explicit nil
func (o *SubscriptionExternal) GetCancelledAt() time.Time
GetCancelledAt returns the CancelledAt field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) GetCancelledAtOk() (*time.Time, bool)
GetCancelledAtOk returns a tuple with the CancelledAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionExternal) SetCancelledAt(v time.Time)
SetCancelledAt sets CancelledAt field to given value.
func (o *SubscriptionExternal) SetCancelledAtNil(b bool)
SetCancelledAtNil sets the value for CancelledAt to be an explicit nil
func (o *SubscriptionExternal) UnsetCancelledAt()
UnsetCancelledAt ensures that no value is present for CancelledAt, not even an explicit nil
func (o *SubscriptionExternal) GetCheckoutSessionId() string
GetCheckoutSessionId returns the CheckoutSessionId field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) GetCheckoutSessionIdOk() (*string, bool)
GetCheckoutSessionIdOk returns a tuple with the CheckoutSessionId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionExternal) SetCheckoutSessionId(v string)
SetCheckoutSessionId sets CheckoutSessionId field to given value.
func (o *SubscriptionExternal) HasCheckoutSessionId() bool
HasCheckoutSessionId returns a boolean if a field has been set.
func (o *SubscriptionExternal) SetCheckoutSessionIdNil(b bool)
SetCheckoutSessionIdNil sets the value for CheckoutSessionId to be an explicit nil
func (o *SubscriptionExternal) UnsetCheckoutSessionId()
UnsetCheckoutSessionId ensures that no value is present for CheckoutSessionId, not even an explicit nil
func (o *SubscriptionExternal) GetCollectionMethod() CollectionMethodEnum
GetCollectionMethod returns the CollectionMethod field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) GetCollectionMethodOk() (*CollectionMethodEnum, bool)
GetCollectionMethodOk returns a tuple with the CollectionMethod field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionExternal) SetCollectionMethod(v CollectionMethodEnum)
SetCollectionMethod sets CollectionMethod field to given value.
func (o *SubscriptionExternal) GetContractAutoRenew() bool
GetContractAutoRenew returns the ContractAutoRenew field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) 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.
func (o *SubscriptionExternal) SetContractAutoRenew(v bool)
SetContractAutoRenew sets ContractAutoRenew field to given value.
func (o *SubscriptionExternal) HasContractAutoRenew() bool
HasContractAutoRenew returns a boolean if a field has been set.
func (o *SubscriptionExternal) SetContractAutoRenewNil(b bool)
SetContractAutoRenewNil sets the value for ContractAutoRenew to be an explicit nil
func (o *SubscriptionExternal) UnsetContractAutoRenew()
UnsetContractAutoRenew ensures that no value is present for ContractAutoRenew, not even an explicit nil
func (o *SubscriptionExternal) GetContractStart() time.Time
GetContractStart returns the ContractStart field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) GetContractStartOk() (*time.Time, bool)
GetContractStartOk returns a tuple with the ContractStart field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionExternal) SetContractStart(v time.Time)
SetContractStart sets ContractStart field to given value.
func (o *SubscriptionExternal) HasContractStart() bool
HasContractStart returns a boolean if a field has been set.
func (o *SubscriptionExternal) SetContractStartNil(b bool)
SetContractStartNil sets the value for ContractStart to be an explicit nil
func (o *SubscriptionExternal) UnsetContractStart()
UnsetContractStart ensures that no value is present for ContractStart, not even an explicit nil
func (o *SubscriptionExternal) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) 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.
func (o *SubscriptionExternal) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *SubscriptionExternal) GetCurrency() CurrencyEnum
GetCurrency returns the Currency field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) 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.
func (o *SubscriptionExternal) SetCurrency(v CurrencyEnum)
SetCurrency sets Currency field to given value.
func (o *SubscriptionExternal) SetCurrencyNil(b bool)
SetCurrencyNil sets the value for Currency to be an explicit nil
func (o *SubscriptionExternal) UnsetCurrency()
UnsetCurrency ensures that no value is present for Currency, not even an explicit nil
func (o *SubscriptionExternal) GetCurrentPeriodEnd() time.Time
GetCurrentPeriodEnd returns the CurrentPeriodEnd field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) GetCurrentPeriodEndOk() (*time.Time, bool)
GetCurrentPeriodEndOk returns a tuple with the CurrentPeriodEnd field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionExternal) SetCurrentPeriodEnd(v time.Time)
SetCurrentPeriodEnd sets CurrentPeriodEnd field to given value.
func (o *SubscriptionExternal) GetCurrentPeriodStart() time.Time
GetCurrentPeriodStart returns the CurrentPeriodStart field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) GetCurrentPeriodStartOk() (*time.Time, bool)
GetCurrentPeriodStartOk returns a tuple with the CurrentPeriodStart field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionExternal) SetCurrentPeriodStart(v time.Time)
SetCurrentPeriodStart sets CurrentPeriodStart field to given value.
func (o *SubscriptionExternal) GetCustomFields() map[string]interface{}
GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) 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.
func (o *SubscriptionExternal) SetCustomFields(v map[string]interface{})
SetCustomFields sets CustomFields field to given value.
func (o *SubscriptionExternal) HasCustomFields() bool
HasCustomFields returns a boolean if a field has been set.
func (o *SubscriptionExternal) SetCustomFieldsNil(b bool)
SetCustomFieldsNil sets the value for CustomFields to be an explicit nil
func (o *SubscriptionExternal) UnsetCustomFields()
UnsetCustomFields ensures that no value is present for CustomFields, not even an explicit nil
func (o *SubscriptionExternal) GetCustomerId() string
GetCustomerId returns the CustomerId field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) GetCustomerIdOk() (*string, bool)
GetCustomerIdOk returns a tuple with the CustomerId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionExternal) SetCustomerId(v string)
SetCustomerId sets CustomerId field to given value.
func (o *SubscriptionExternal) GetDefaultPaymentMethodId() string
GetDefaultPaymentMethodId returns the DefaultPaymentMethodId field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) GetDefaultPaymentMethodIdOk() (*string, bool)
GetDefaultPaymentMethodIdOk returns a tuple with the DefaultPaymentMethodId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionExternal) SetDefaultPaymentMethodId(v string)
SetDefaultPaymentMethodId sets DefaultPaymentMethodId field to given value.
func (o *SubscriptionExternal) SetDefaultPaymentMethodIdNil(b bool)
SetDefaultPaymentMethodIdNil sets the value for DefaultPaymentMethodId to be an explicit nil
func (o *SubscriptionExternal) UnsetDefaultPaymentMethodId()
UnsetDefaultPaymentMethodId ensures that no value is present for DefaultPaymentMethodId, not even an explicit nil
func (o *SubscriptionExternal) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionExternal) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *SubscriptionExternal) SetDescriptionNil(b bool)
SetDescriptionNil sets the value for Description to be an explicit nil
func (o *SubscriptionExternal) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (o *SubscriptionExternal) GetDiscount() DiscountExternal
GetDiscount returns the Discount field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) GetDiscountOk() (*DiscountExternal, bool)
GetDiscountOk returns a tuple with the Discount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionExternal) SetDiscount(v DiscountExternal)
SetDiscount sets Discount field to given value.
func (o *SubscriptionExternal) HasDiscount() bool
HasDiscount returns a boolean if a field has been set.
func (o *SubscriptionExternal) SetDiscountNil(b bool)
SetDiscountNil sets the value for Discount to be an explicit nil
func (o *SubscriptionExternal) UnsetDiscount()
UnsetDiscount ensures that no value is present for Discount, not even an explicit nil
func (o *SubscriptionExternal) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) 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.
func (o *SubscriptionExternal) SetId(v string)
SetId sets Id field to given value.
func (o *SubscriptionExternal) GetInitialStart() time.Time
GetInitialStart returns the InitialStart field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) GetInitialStartOk() (*time.Time, bool)
GetInitialStartOk returns a tuple with the InitialStart field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionExternal) SetInitialStart(v time.Time)
SetInitialStart sets InitialStart field to given value.
func (o *SubscriptionExternal) GetIsDeleted() bool
GetIsDeleted returns the IsDeleted field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) 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.
func (o *SubscriptionExternal) SetIsDeleted(v bool)
SetIsDeleted sets IsDeleted field to given value.
func (o *SubscriptionExternal) HasIsDeleted() bool
HasIsDeleted returns a boolean if a field has been set.
func (o *SubscriptionExternal) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) 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.
func (o *SubscriptionExternal) SetMetadata(v map[string]interface{})
SetMetadata sets Metadata field to given value.
func (o *SubscriptionExternal) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *SubscriptionExternal) SetMetadataNil(b bool)
SetMetadataNil sets the value for Metadata to be an explicit nil
func (o *SubscriptionExternal) UnsetMetadata()
UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil
func (o *SubscriptionExternal) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) 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.
func (o *SubscriptionExternal) SetName(v string)
SetName sets Name field to given value.
func (o *SubscriptionExternal) GetNetD() int32
GetNetD returns the NetD field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) GetNetDOk() (*int32, bool)
GetNetDOk returns a tuple with the NetD field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionExternal) SetNetD(v int32)
SetNetD sets NetD field to given value.
func (o *SubscriptionExternal) SetNetDNil(b bool)
SetNetDNil sets the value for NetD to be an explicit nil
func (o *SubscriptionExternal) UnsetNetD()
UnsetNetD ensures that no value is present for NetD, not even an explicit nil
func (o *SubscriptionExternal) GetObject() ObjectName
GetObject returns the Object field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) 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.
func (o *SubscriptionExternal) SetObject(v ObjectName)
SetObject sets Object field to given value.
func (o *SubscriptionExternal) HasObject() bool
HasObject returns a boolean if a field has been set.
func (o *SubscriptionExternal) GetPauseAtEnd() bool
GetPauseAtEnd returns the PauseAtEnd field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) GetPauseAtEndOk() (*bool, bool)
GetPauseAtEndOk returns a tuple with the PauseAtEnd field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionExternal) SetPauseAtEnd(v bool)
SetPauseAtEnd sets PauseAtEnd field to given value.
func (o *SubscriptionExternal) HasPauseAtEnd() bool
HasPauseAtEnd returns a boolean if a field has been set.
func (o *SubscriptionExternal) SetPauseAtEndNil(b bool)
SetPauseAtEndNil sets the value for PauseAtEnd to be an explicit nil
func (o *SubscriptionExternal) UnsetPauseAtEnd()
UnsetPauseAtEnd ensures that no value is present for PauseAtEnd, not even an explicit nil
func (o *SubscriptionExternal) GetPauseForCycles() int32
GetPauseForCycles returns the PauseForCycles field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) GetPauseForCyclesOk() (*int32, bool)
GetPauseForCyclesOk returns a tuple with the PauseForCycles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionExternal) SetPauseForCycles(v int32)
SetPauseForCycles sets PauseForCycles field to given value.
func (o *SubscriptionExternal) HasPauseForCycles() bool
HasPauseForCycles returns a boolean if a field has been set.
func (o *SubscriptionExternal) SetPauseForCyclesNil(b bool)
SetPauseForCyclesNil sets the value for PauseForCycles to be an explicit nil
func (o *SubscriptionExternal) UnsetPauseForCycles()
UnsetPauseForCycles ensures that no value is present for PauseForCycles, not even an explicit nil
func (o *SubscriptionExternal) GetPausedAt() time.Time
GetPausedAt returns the PausedAt field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) GetPausedAtOk() (*time.Time, bool)
GetPausedAtOk returns a tuple with the PausedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionExternal) SetPausedAt(v time.Time)
SetPausedAt sets PausedAt field to given value.
func (o *SubscriptionExternal) HasPausedAt() bool
HasPausedAt returns a boolean if a field has been set.
func (o *SubscriptionExternal) SetPausedAtNil(b bool)
SetPausedAtNil sets the value for PausedAt to be an explicit nil
func (o *SubscriptionExternal) UnsetPausedAt()
UnsetPausedAt ensures that no value is present for PausedAt, not even an explicit nil
func (o *SubscriptionExternal) GetPaymentRouteId() string
GetPaymentRouteId returns the PaymentRouteId field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) GetPaymentRouteIdOk() (*string, bool)
GetPaymentRouteIdOk returns a tuple with the PaymentRouteId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionExternal) SetPaymentRouteId(v string)
SetPaymentRouteId sets PaymentRouteId field to given value.
func (o *SubscriptionExternal) HasPaymentRouteId() bool
HasPaymentRouteId returns a boolean if a field has been set.
func (o *SubscriptionExternal) SetPaymentRouteIdNil(b bool)
SetPaymentRouteIdNil sets the value for PaymentRouteId to be an explicit nil
func (o *SubscriptionExternal) UnsetPaymentRouteId()
UnsetPaymentRouteId ensures that no value is present for PaymentRouteId, not even an explicit nil
func (o *SubscriptionExternal) GetRemainingBillingCycles() int32
GetRemainingBillingCycles returns the RemainingBillingCycles field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) GetRemainingBillingCyclesOk() (*int32, bool)
GetRemainingBillingCyclesOk returns a tuple with the RemainingBillingCycles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionExternal) SetRemainingBillingCycles(v int32)
SetRemainingBillingCycles sets RemainingBillingCycles field to given value.
func (o *SubscriptionExternal) HasRemainingBillingCycles() bool
HasRemainingBillingCycles returns a boolean if a field has been set.
func (o *SubscriptionExternal) SetRemainingBillingCyclesNil(b bool)
SetRemainingBillingCyclesNil sets the value for RemainingBillingCycles to be an explicit nil
func (o *SubscriptionExternal) UnsetRemainingBillingCycles()
UnsetRemainingBillingCycles ensures that no value is present for RemainingBillingCycles, not even an explicit nil
func (o *SubscriptionExternal) GetRenewsAt() time.Time
GetRenewsAt returns the RenewsAt field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) GetRenewsAtOk() (*time.Time, bool)
GetRenewsAtOk returns a tuple with the RenewsAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionExternal) SetRenewsAt(v time.Time)
SetRenewsAt sets RenewsAt field to given value.
func (o *SubscriptionExternal) HasRenewsAt() bool
HasRenewsAt returns a boolean if a field has been set.
func (o *SubscriptionExternal) SetRenewsAtNil(b bool)
SetRenewsAtNil sets the value for RenewsAt to be an explicit nil
func (o *SubscriptionExternal) UnsetRenewsAt()
UnsetRenewsAt ensures that no value is present for RenewsAt, not even an explicit nil
func (o *SubscriptionExternal) GetResumesAt() time.Time
GetResumesAt returns the ResumesAt field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) GetResumesAtOk() (*time.Time, bool)
GetResumesAtOk returns a tuple with the ResumesAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionExternal) SetResumesAt(v time.Time)
SetResumesAt sets ResumesAt field to given value.
func (o *SubscriptionExternal) HasResumesAt() bool
HasResumesAt returns a boolean if a field has been set.
func (o *SubscriptionExternal) SetResumesAtNil(b bool)
SetResumesAtNil sets the value for ResumesAt to be an explicit nil
func (o *SubscriptionExternal) UnsetResumesAt()
UnsetResumesAt ensures that no value is present for ResumesAt, not even an explicit nil
func (o *SubscriptionExternal) GetStatus() SubscriptionStatusEnum
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) GetStatusOk() (*SubscriptionStatusEnum, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionExternal) SetStatus(v SubscriptionStatusEnum)
SetStatus sets Status field to given value.
func (o *SubscriptionExternal) GetSubscriptionItems() []SubscriptionItemExternal
GetSubscriptionItems returns the SubscriptionItems field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) GetSubscriptionItemsOk() (*[]SubscriptionItemExternal, bool)
GetSubscriptionItemsOk returns a tuple with the SubscriptionItems field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionExternal) SetSubscriptionItems(v []SubscriptionItemExternal)
SetSubscriptionItems sets SubscriptionItems field to given value.
func (o *SubscriptionExternal) GetTotalBillingCycles() int32
GetTotalBillingCycles returns the TotalBillingCycles field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) GetTotalBillingCyclesOk() (*int32, bool)
GetTotalBillingCyclesOk returns a tuple with the TotalBillingCycles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionExternal) SetTotalBillingCycles(v int32)
SetTotalBillingCycles sets TotalBillingCycles field to given value.
func (o *SubscriptionExternal) HasTotalBillingCycles() bool
HasTotalBillingCycles returns a boolean if a field has been set.
func (o *SubscriptionExternal) SetTotalBillingCyclesNil(b bool)
SetTotalBillingCyclesNil sets the value for TotalBillingCycles to be an explicit nil
func (o *SubscriptionExternal) UnsetTotalBillingCycles()
UnsetTotalBillingCycles ensures that no value is present for TotalBillingCycles, not even an explicit nil
func (o *SubscriptionExternal) GetTrialEnd() time.Time
GetTrialEnd returns the TrialEnd field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) GetTrialEndOk() (*time.Time, bool)
GetTrialEndOk returns a tuple with the TrialEnd field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionExternal) SetTrialEnd(v time.Time)
SetTrialEnd sets TrialEnd field to given value.
func (o *SubscriptionExternal) HasTrialEnd() bool
HasTrialEnd returns a boolean if a field has been set.
func (o *SubscriptionExternal) SetTrialEndNil(b bool)
SetTrialEndNil sets the value for TrialEnd to be an explicit nil
func (o *SubscriptionExternal) UnsetTrialEnd()
UnsetTrialEnd ensures that no value is present for TrialEnd, not even an explicit nil
func (o *SubscriptionExternal) GetTrialStart() time.Time
GetTrialStart returns the TrialStart field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) GetTrialStartOk() (*time.Time, bool)
GetTrialStartOk returns a tuple with the TrialStart field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionExternal) SetTrialStart(v time.Time)
SetTrialStart sets TrialStart field to given value.
func (o *SubscriptionExternal) HasTrialStart() bool
HasTrialStart returns a boolean if a field has been set.
func (o *SubscriptionExternal) SetTrialStartNil(b bool)
SetTrialStartNil sets the value for TrialStart to be an explicit nil
func (o *SubscriptionExternal) UnsetTrialStart()
UnsetTrialStart ensures that no value is present for TrialStart, not even an explicit nil
func (o *SubscriptionExternal) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *SubscriptionExternal) 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.
func (o *SubscriptionExternal) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.