| Name | Type | Description | Notes |
|---|---|---|---|
| AccountId | string | Unique Identifier of the account. | |
| AccountName | string | Name of the account. | |
| AmountSubtotalAtom | int32 | The integer amount representing the subtotal amount for the line items. | |
| AmountTotalAtom | int32 | The integer amount representing the total amount for the line items, after discounts and taxes. | |
| ClientReferenceId | Pointer to NullableString | [optional] | |
| CouponId | Pointer to NullableString | [optional] | |
| CreatedAt | time.Time | DateTime at which the object was created, in 'ISO 8601' format. | |
| Currency | NullableString | ||
| CustomFields | Pointer to map[string]interface{} | [optional] | |
| CustomerEmail | NullableString | ||
| CustomerId | NullableString | ||
| Id | string | Unique Identifier of the checkout session. | |
| IsDeleted | Pointer to bool | If true, indicates that this object has been deleted | [optional] [default to false] |
| Language | Pointer to NullableCustomerLanguage | [optional] | |
| LineItems | []CheckoutSessionLineItemExternal | The line items purchased by the customers. | |
| Mode | CheckoutMode | The mode of the Checkout Session. | |
| Object | Pointer to ObjectName | [optional] | |
| ReturnUrl | NullableString | ||
| SecureToken | string | The random secure token associated with the checkout session. | |
| SetupIntent | NullableSetupIntentExternal | ||
| Status | CheckoutSessionStatus | The current status of the checkout session. | |
| SubscriptionId | Pointer to NullableString | [optional] | |
| SubscriptionIds | []string | ||
| SuccessUrl | NullableString | ||
| SuccessfulAttemptId | Pointer to NullableString | [optional] | |
| TaxAmountAtom | int32 | The integer amount representing the tax amount for the line items. | |
| TrialEnd | NullableTime | ||
| TrialFromPrice | NullableBool | ||
| TrialPeriodDays | NullableInt32 | ||
| UpdatedAt | time.Time | DateTime at which the object was updated, in 'ISO 8601' format. | |
| Url | string | The main URL for this checkout session. |
func NewCheckoutSessionExternal(accountId string, accountName string, amountSubtotalAtom int32, amountTotalAtom int32, createdAt time.Time, currency NullableString, customerEmail NullableString, customerId NullableString, id string, lineItems []CheckoutSessionLineItemExternal, mode CheckoutMode, returnUrl NullableString, secureToken string, setupIntent NullableSetupIntentExternal, status CheckoutSessionStatus, subscriptionIds []string, successUrl NullableString, taxAmountAtom int32, trialEnd NullableTime, trialFromPrice NullableBool, trialPeriodDays NullableInt32, updatedAt time.Time, url string, ) *CheckoutSessionExternal
NewCheckoutSessionExternal instantiates a new CheckoutSessionExternal 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 NewCheckoutSessionExternalWithDefaults() *CheckoutSessionExternal
NewCheckoutSessionExternalWithDefaults instantiates a new CheckoutSessionExternal 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 *CheckoutSessionExternal) GetAccountId() string
GetAccountId returns the AccountId field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) 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 *CheckoutSessionExternal) SetAccountId(v string)
SetAccountId sets AccountId field to given value.
func (o *CheckoutSessionExternal) GetAccountName() string
GetAccountName returns the AccountName field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) GetAccountNameOk() (*string, bool)
GetAccountNameOk returns a tuple with the AccountName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CheckoutSessionExternal) SetAccountName(v string)
SetAccountName sets AccountName field to given value.
func (o *CheckoutSessionExternal) GetAmountSubtotalAtom() int32
GetAmountSubtotalAtom returns the AmountSubtotalAtom field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) GetAmountSubtotalAtomOk() (*int32, bool)
GetAmountSubtotalAtomOk returns a tuple with the AmountSubtotalAtom field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CheckoutSessionExternal) SetAmountSubtotalAtom(v int32)
SetAmountSubtotalAtom sets AmountSubtotalAtom field to given value.
func (o *CheckoutSessionExternal) GetAmountTotalAtom() int32
GetAmountTotalAtom returns the AmountTotalAtom field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) GetAmountTotalAtomOk() (*int32, bool)
GetAmountTotalAtomOk returns a tuple with the AmountTotalAtom field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CheckoutSessionExternal) SetAmountTotalAtom(v int32)
SetAmountTotalAtom sets AmountTotalAtom field to given value.
func (o *CheckoutSessionExternal) GetClientReferenceId() string
GetClientReferenceId returns the ClientReferenceId field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) GetClientReferenceIdOk() (*string, bool)
GetClientReferenceIdOk returns a tuple with the ClientReferenceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CheckoutSessionExternal) SetClientReferenceId(v string)
SetClientReferenceId sets ClientReferenceId field to given value.
func (o *CheckoutSessionExternal) HasClientReferenceId() bool
HasClientReferenceId returns a boolean if a field has been set.
func (o *CheckoutSessionExternal) SetClientReferenceIdNil(b bool)
SetClientReferenceIdNil sets the value for ClientReferenceId to be an explicit nil
func (o *CheckoutSessionExternal) UnsetClientReferenceId()
UnsetClientReferenceId ensures that no value is present for ClientReferenceId, not even an explicit nil
func (o *CheckoutSessionExternal) GetCouponId() string
GetCouponId returns the CouponId field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) GetCouponIdOk() (*string, bool)
GetCouponIdOk returns a tuple with the CouponId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CheckoutSessionExternal) SetCouponId(v string)
SetCouponId sets CouponId field to given value.
func (o *CheckoutSessionExternal) HasCouponId() bool
HasCouponId returns a boolean if a field has been set.
func (o *CheckoutSessionExternal) SetCouponIdNil(b bool)
SetCouponIdNil sets the value for CouponId to be an explicit nil
func (o *CheckoutSessionExternal) UnsetCouponId()
UnsetCouponId ensures that no value is present for CouponId, not even an explicit nil
func (o *CheckoutSessionExternal) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) 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 *CheckoutSessionExternal) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *CheckoutSessionExternal) GetCurrency() string
GetCurrency returns the Currency field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) GetCurrencyOk() (*string, 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 *CheckoutSessionExternal) SetCurrency(v string)
SetCurrency sets Currency field to given value.
func (o *CheckoutSessionExternal) SetCurrencyNil(b bool)
SetCurrencyNil sets the value for Currency to be an explicit nil
func (o *CheckoutSessionExternal) UnsetCurrency()
UnsetCurrency ensures that no value is present for Currency, not even an explicit nil
func (o *CheckoutSessionExternal) GetCustomFields() map[string]interface{}
GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) 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 *CheckoutSessionExternal) SetCustomFields(v map[string]interface{})
SetCustomFields sets CustomFields field to given value.
func (o *CheckoutSessionExternal) HasCustomFields() bool
HasCustomFields returns a boolean if a field has been set.
func (o *CheckoutSessionExternal) SetCustomFieldsNil(b bool)
SetCustomFieldsNil sets the value for CustomFields to be an explicit nil
func (o *CheckoutSessionExternal) UnsetCustomFields()
UnsetCustomFields ensures that no value is present for CustomFields, not even an explicit nil
func (o *CheckoutSessionExternal) GetCustomerEmail() string
GetCustomerEmail returns the CustomerEmail field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) GetCustomerEmailOk() (*string, bool)
GetCustomerEmailOk returns a tuple with the CustomerEmail field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CheckoutSessionExternal) SetCustomerEmail(v string)
SetCustomerEmail sets CustomerEmail field to given value.
func (o *CheckoutSessionExternal) SetCustomerEmailNil(b bool)
SetCustomerEmailNil sets the value for CustomerEmail to be an explicit nil
func (o *CheckoutSessionExternal) UnsetCustomerEmail()
UnsetCustomerEmail ensures that no value is present for CustomerEmail, not even an explicit nil
func (o *CheckoutSessionExternal) GetCustomerId() string
GetCustomerId returns the CustomerId field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) 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 *CheckoutSessionExternal) SetCustomerId(v string)
SetCustomerId sets CustomerId field to given value.
func (o *CheckoutSessionExternal) SetCustomerIdNil(b bool)
SetCustomerIdNil sets the value for CustomerId to be an explicit nil
func (o *CheckoutSessionExternal) UnsetCustomerId()
UnsetCustomerId ensures that no value is present for CustomerId, not even an explicit nil
func (o *CheckoutSessionExternal) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) 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 *CheckoutSessionExternal) SetId(v string)
SetId sets Id field to given value.
func (o *CheckoutSessionExternal) GetIsDeleted() bool
GetIsDeleted returns the IsDeleted field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) 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 *CheckoutSessionExternal) SetIsDeleted(v bool)
SetIsDeleted sets IsDeleted field to given value.
func (o *CheckoutSessionExternal) HasIsDeleted() bool
HasIsDeleted returns a boolean if a field has been set.
func (o *CheckoutSessionExternal) GetLanguage() CustomerLanguage
GetLanguage returns the Language field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) GetLanguageOk() (*CustomerLanguage, bool)
GetLanguageOk returns a tuple with the Language field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CheckoutSessionExternal) SetLanguage(v CustomerLanguage)
SetLanguage sets Language field to given value.
func (o *CheckoutSessionExternal) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
func (o *CheckoutSessionExternal) SetLanguageNil(b bool)
SetLanguageNil sets the value for Language to be an explicit nil
func (o *CheckoutSessionExternal) UnsetLanguage()
UnsetLanguage ensures that no value is present for Language, not even an explicit nil
func (o *CheckoutSessionExternal) GetLineItems() []CheckoutSessionLineItemExternal
GetLineItems returns the LineItems field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) GetLineItemsOk() (*[]CheckoutSessionLineItemExternal, bool)
GetLineItemsOk returns a tuple with the LineItems field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CheckoutSessionExternal) SetLineItems(v []CheckoutSessionLineItemExternal)
SetLineItems sets LineItems field to given value.
func (o *CheckoutSessionExternal) GetMode() CheckoutMode
GetMode returns the Mode field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) GetModeOk() (*CheckoutMode, bool)
GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CheckoutSessionExternal) SetMode(v CheckoutMode)
SetMode sets Mode field to given value.
func (o *CheckoutSessionExternal) GetObject() ObjectName
GetObject returns the Object field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) 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 *CheckoutSessionExternal) SetObject(v ObjectName)
SetObject sets Object field to given value.
func (o *CheckoutSessionExternal) HasObject() bool
HasObject returns a boolean if a field has been set.
func (o *CheckoutSessionExternal) GetReturnUrl() string
GetReturnUrl returns the ReturnUrl field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) GetReturnUrlOk() (*string, bool)
GetReturnUrlOk returns a tuple with the ReturnUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CheckoutSessionExternal) SetReturnUrl(v string)
SetReturnUrl sets ReturnUrl field to given value.
func (o *CheckoutSessionExternal) SetReturnUrlNil(b bool)
SetReturnUrlNil sets the value for ReturnUrl to be an explicit nil
func (o *CheckoutSessionExternal) UnsetReturnUrl()
UnsetReturnUrl ensures that no value is present for ReturnUrl, not even an explicit nil
func (o *CheckoutSessionExternal) GetSecureToken() string
GetSecureToken returns the SecureToken field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) GetSecureTokenOk() (*string, bool)
GetSecureTokenOk returns a tuple with the SecureToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CheckoutSessionExternal) SetSecureToken(v string)
SetSecureToken sets SecureToken field to given value.
func (o *CheckoutSessionExternal) GetSetupIntent() SetupIntentExternal
GetSetupIntent returns the SetupIntent field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) GetSetupIntentOk() (*SetupIntentExternal, bool)
GetSetupIntentOk returns a tuple with the SetupIntent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CheckoutSessionExternal) SetSetupIntent(v SetupIntentExternal)
SetSetupIntent sets SetupIntent field to given value.
func (o *CheckoutSessionExternal) SetSetupIntentNil(b bool)
SetSetupIntentNil sets the value for SetupIntent to be an explicit nil
func (o *CheckoutSessionExternal) UnsetSetupIntent()
UnsetSetupIntent ensures that no value is present for SetupIntent, not even an explicit nil
func (o *CheckoutSessionExternal) GetStatus() CheckoutSessionStatus
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) GetStatusOk() (*CheckoutSessionStatus, 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 *CheckoutSessionExternal) SetStatus(v CheckoutSessionStatus)
SetStatus sets Status field to given value.
func (o *CheckoutSessionExternal) GetSubscriptionId() string
GetSubscriptionId returns the SubscriptionId field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) GetSubscriptionIdOk() (*string, bool)
GetSubscriptionIdOk returns a tuple with the SubscriptionId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CheckoutSessionExternal) SetSubscriptionId(v string)
SetSubscriptionId sets SubscriptionId field to given value.
func (o *CheckoutSessionExternal) HasSubscriptionId() bool
HasSubscriptionId returns a boolean if a field has been set.
func (o *CheckoutSessionExternal) SetSubscriptionIdNil(b bool)
SetSubscriptionIdNil sets the value for SubscriptionId to be an explicit nil
func (o *CheckoutSessionExternal) UnsetSubscriptionId()
UnsetSubscriptionId ensures that no value is present for SubscriptionId, not even an explicit nil
func (o *CheckoutSessionExternal) GetSubscriptionIds() []string
GetSubscriptionIds returns the SubscriptionIds field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) GetSubscriptionIdsOk() (*[]string, bool)
GetSubscriptionIdsOk returns a tuple with the SubscriptionIds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CheckoutSessionExternal) SetSubscriptionIds(v []string)
SetSubscriptionIds sets SubscriptionIds field to given value.
func (o *CheckoutSessionExternal) SetSubscriptionIdsNil(b bool)
SetSubscriptionIdsNil sets the value for SubscriptionIds to be an explicit nil
func (o *CheckoutSessionExternal) UnsetSubscriptionIds()
UnsetSubscriptionIds ensures that no value is present for SubscriptionIds, not even an explicit nil
func (o *CheckoutSessionExternal) GetSuccessUrl() string
GetSuccessUrl returns the SuccessUrl field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) GetSuccessUrlOk() (*string, bool)
GetSuccessUrlOk returns a tuple with the SuccessUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CheckoutSessionExternal) SetSuccessUrl(v string)
SetSuccessUrl sets SuccessUrl field to given value.
func (o *CheckoutSessionExternal) SetSuccessUrlNil(b bool)
SetSuccessUrlNil sets the value for SuccessUrl to be an explicit nil
func (o *CheckoutSessionExternal) UnsetSuccessUrl()
UnsetSuccessUrl ensures that no value is present for SuccessUrl, not even an explicit nil
func (o *CheckoutSessionExternal) GetSuccessfulAttemptId() string
GetSuccessfulAttemptId returns the SuccessfulAttemptId field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) GetSuccessfulAttemptIdOk() (*string, bool)
GetSuccessfulAttemptIdOk returns a tuple with the SuccessfulAttemptId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CheckoutSessionExternal) SetSuccessfulAttemptId(v string)
SetSuccessfulAttemptId sets SuccessfulAttemptId field to given value.
func (o *CheckoutSessionExternal) HasSuccessfulAttemptId() bool
HasSuccessfulAttemptId returns a boolean if a field has been set.
func (o *CheckoutSessionExternal) SetSuccessfulAttemptIdNil(b bool)
SetSuccessfulAttemptIdNil sets the value for SuccessfulAttemptId to be an explicit nil
func (o *CheckoutSessionExternal) UnsetSuccessfulAttemptId()
UnsetSuccessfulAttemptId ensures that no value is present for SuccessfulAttemptId, not even an explicit nil
func (o *CheckoutSessionExternal) GetTaxAmountAtom() int32
GetTaxAmountAtom returns the TaxAmountAtom field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) GetTaxAmountAtomOk() (*int32, bool)
GetTaxAmountAtomOk returns a tuple with the TaxAmountAtom field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CheckoutSessionExternal) SetTaxAmountAtom(v int32)
SetTaxAmountAtom sets TaxAmountAtom field to given value.
func (o *CheckoutSessionExternal) GetTrialEnd() time.Time
GetTrialEnd returns the TrialEnd field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) 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 *CheckoutSessionExternal) SetTrialEnd(v time.Time)
SetTrialEnd sets TrialEnd field to given value.
func (o *CheckoutSessionExternal) SetTrialEndNil(b bool)
SetTrialEndNil sets the value for TrialEnd to be an explicit nil
func (o *CheckoutSessionExternal) UnsetTrialEnd()
UnsetTrialEnd ensures that no value is present for TrialEnd, not even an explicit nil
func (o *CheckoutSessionExternal) GetTrialFromPrice() bool
GetTrialFromPrice returns the TrialFromPrice field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) GetTrialFromPriceOk() (*bool, bool)
GetTrialFromPriceOk returns a tuple with the TrialFromPrice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CheckoutSessionExternal) SetTrialFromPrice(v bool)
SetTrialFromPrice sets TrialFromPrice field to given value.
func (o *CheckoutSessionExternal) SetTrialFromPriceNil(b bool)
SetTrialFromPriceNil sets the value for TrialFromPrice to be an explicit nil
func (o *CheckoutSessionExternal) UnsetTrialFromPrice()
UnsetTrialFromPrice ensures that no value is present for TrialFromPrice, not even an explicit nil
func (o *CheckoutSessionExternal) GetTrialPeriodDays() int32
GetTrialPeriodDays returns the TrialPeriodDays field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) GetTrialPeriodDaysOk() (*int32, bool)
GetTrialPeriodDaysOk returns a tuple with the TrialPeriodDays field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CheckoutSessionExternal) SetTrialPeriodDays(v int32)
SetTrialPeriodDays sets TrialPeriodDays field to given value.
func (o *CheckoutSessionExternal) SetTrialPeriodDaysNil(b bool)
SetTrialPeriodDaysNil sets the value for TrialPeriodDays to be an explicit nil
func (o *CheckoutSessionExternal) UnsetTrialPeriodDays()
UnsetTrialPeriodDays ensures that no value is present for TrialPeriodDays, not even an explicit nil
func (o *CheckoutSessionExternal) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) 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 *CheckoutSessionExternal) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *CheckoutSessionExternal) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *CheckoutSessionExternal) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CheckoutSessionExternal) SetUrl(v string)
SetUrl sets Url field to given value.