| Name | Type | Description | Notes |
|---|---|---|---|
| AccountId | string | Unique Identifier of the account. | |
| AccountName | string | Name of the account. | |
| Active | bool | Whether a payment link is active or not. | |
| AlwaysCreateNewCustomer | Pointer to bool | If this flag is set to True and there is no customer attached to the payment link, the payment link will always create a new customer, rather than the default behavior of de-duping by email. | [optional] [default to false] |
| CheckoutPreferences | NullableCheckoutPreferencesOutput | ||
| 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] |
| LineItems | []PaymentLinkLineItemExternal | The line items purchased by the customers. | |
| Mode | CheckoutMode | The mode of the checkout sessions created by this payment link. | |
| Object | Pointer to ObjectName | [optional] | |
| SecureToken | string | The random secure token associated with the payment link. | |
| SuccessUrl | NullableString | ||
| 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 payment link. |
func NewPaymentLinkExternal(accountId string, accountName string, active bool, checkoutPreferences NullableCheckoutPreferencesOutput, createdAt time.Time, currency NullableString, customerEmail NullableString, customerId NullableString, id string, lineItems []PaymentLinkLineItemExternal, mode CheckoutMode, secureToken string, successUrl NullableString, trialEnd NullableTime, trialFromPrice NullableBool, trialPeriodDays NullableInt32, updatedAt time.Time, url string, ) *PaymentLinkExternal
NewPaymentLinkExternal instantiates a new PaymentLinkExternal 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 NewPaymentLinkExternalWithDefaults() *PaymentLinkExternal
NewPaymentLinkExternalWithDefaults instantiates a new PaymentLinkExternal 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 *PaymentLinkExternal) GetAccountId() string
GetAccountId returns the AccountId field if non-nil, zero value otherwise.
func (o *PaymentLinkExternal) 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 *PaymentLinkExternal) SetAccountId(v string)
SetAccountId sets AccountId field to given value.
func (o *PaymentLinkExternal) GetAccountName() string
GetAccountName returns the AccountName field if non-nil, zero value otherwise.
func (o *PaymentLinkExternal) 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 *PaymentLinkExternal) SetAccountName(v string)
SetAccountName sets AccountName field to given value.
func (o *PaymentLinkExternal) GetActive() bool
GetActive returns the Active field if non-nil, zero value otherwise.
func (o *PaymentLinkExternal) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentLinkExternal) SetActive(v bool)
SetActive sets Active field to given value.
func (o *PaymentLinkExternal) GetAlwaysCreateNewCustomer() bool
GetAlwaysCreateNewCustomer returns the AlwaysCreateNewCustomer field if non-nil, zero value otherwise.
func (o *PaymentLinkExternal) GetAlwaysCreateNewCustomerOk() (*bool, bool)
GetAlwaysCreateNewCustomerOk returns a tuple with the AlwaysCreateNewCustomer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentLinkExternal) SetAlwaysCreateNewCustomer(v bool)
SetAlwaysCreateNewCustomer sets AlwaysCreateNewCustomer field to given value.
func (o *PaymentLinkExternal) HasAlwaysCreateNewCustomer() bool
HasAlwaysCreateNewCustomer returns a boolean if a field has been set.
func (o *PaymentLinkExternal) GetCheckoutPreferences() CheckoutPreferencesOutput
GetCheckoutPreferences returns the CheckoutPreferences field if non-nil, zero value otherwise.
func (o *PaymentLinkExternal) GetCheckoutPreferencesOk() (*CheckoutPreferencesOutput, bool)
GetCheckoutPreferencesOk returns a tuple with the CheckoutPreferences field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PaymentLinkExternal) SetCheckoutPreferences(v CheckoutPreferencesOutput)
SetCheckoutPreferences sets CheckoutPreferences field to given value.
func (o *PaymentLinkExternal) SetCheckoutPreferencesNil(b bool)
SetCheckoutPreferencesNil sets the value for CheckoutPreferences to be an explicit nil
func (o *PaymentLinkExternal) UnsetCheckoutPreferences()
UnsetCheckoutPreferences ensures that no value is present for CheckoutPreferences, not even an explicit nil
func (o *PaymentLinkExternal) GetCouponId() string
GetCouponId returns the CouponId field if non-nil, zero value otherwise.
func (o *PaymentLinkExternal) 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 *PaymentLinkExternal) SetCouponId(v string)
SetCouponId sets CouponId field to given value.
func (o *PaymentLinkExternal) HasCouponId() bool
HasCouponId returns a boolean if a field has been set.
func (o *PaymentLinkExternal) SetCouponIdNil(b bool)
SetCouponIdNil sets the value for CouponId to be an explicit nil
func (o *PaymentLinkExternal) UnsetCouponId()
UnsetCouponId ensures that no value is present for CouponId, not even an explicit nil
func (o *PaymentLinkExternal) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *PaymentLinkExternal) 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 *PaymentLinkExternal) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *PaymentLinkExternal) GetCurrency() string
GetCurrency returns the Currency field if non-nil, zero value otherwise.
func (o *PaymentLinkExternal) 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 *PaymentLinkExternal) SetCurrency(v string)
SetCurrency sets Currency field to given value.
func (o *PaymentLinkExternal) SetCurrencyNil(b bool)
SetCurrencyNil sets the value for Currency to be an explicit nil
func (o *PaymentLinkExternal) UnsetCurrency()
UnsetCurrency ensures that no value is present for Currency, not even an explicit nil
func (o *PaymentLinkExternal) GetCustomFields() map[string]interface{}
GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
func (o *PaymentLinkExternal) 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 *PaymentLinkExternal) SetCustomFields(v map[string]interface{})
SetCustomFields sets CustomFields field to given value.
func (o *PaymentLinkExternal) HasCustomFields() bool
HasCustomFields returns a boolean if a field has been set.
func (o *PaymentLinkExternal) SetCustomFieldsNil(b bool)
SetCustomFieldsNil sets the value for CustomFields to be an explicit nil
func (o *PaymentLinkExternal) UnsetCustomFields()
UnsetCustomFields ensures that no value is present for CustomFields, not even an explicit nil
func (o *PaymentLinkExternal) GetCustomerEmail() string
GetCustomerEmail returns the CustomerEmail field if non-nil, zero value otherwise.
func (o *PaymentLinkExternal) 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 *PaymentLinkExternal) SetCustomerEmail(v string)
SetCustomerEmail sets CustomerEmail field to given value.
func (o *PaymentLinkExternal) SetCustomerEmailNil(b bool)
SetCustomerEmailNil sets the value for CustomerEmail to be an explicit nil
func (o *PaymentLinkExternal) UnsetCustomerEmail()
UnsetCustomerEmail ensures that no value is present for CustomerEmail, not even an explicit nil
func (o *PaymentLinkExternal) GetCustomerId() string
GetCustomerId returns the CustomerId field if non-nil, zero value otherwise.
func (o *PaymentLinkExternal) 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 *PaymentLinkExternal) SetCustomerId(v string)
SetCustomerId sets CustomerId field to given value.
func (o *PaymentLinkExternal) SetCustomerIdNil(b bool)
SetCustomerIdNil sets the value for CustomerId to be an explicit nil
func (o *PaymentLinkExternal) UnsetCustomerId()
UnsetCustomerId ensures that no value is present for CustomerId, not even an explicit nil
func (o *PaymentLinkExternal) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *PaymentLinkExternal) 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 *PaymentLinkExternal) SetId(v string)
SetId sets Id field to given value.
func (o *PaymentLinkExternal) GetIsDeleted() bool
GetIsDeleted returns the IsDeleted field if non-nil, zero value otherwise.
func (o *PaymentLinkExternal) 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 *PaymentLinkExternal) SetIsDeleted(v bool)
SetIsDeleted sets IsDeleted field to given value.
func (o *PaymentLinkExternal) HasIsDeleted() bool
HasIsDeleted returns a boolean if a field has been set.
func (o *PaymentLinkExternal) GetLineItems() []PaymentLinkLineItemExternal
GetLineItems returns the LineItems field if non-nil, zero value otherwise.
func (o *PaymentLinkExternal) GetLineItemsOk() (*[]PaymentLinkLineItemExternal, 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 *PaymentLinkExternal) SetLineItems(v []PaymentLinkLineItemExternal)
SetLineItems sets LineItems field to given value.
func (o *PaymentLinkExternal) GetMode() CheckoutMode
GetMode returns the Mode field if non-nil, zero value otherwise.
func (o *PaymentLinkExternal) 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 *PaymentLinkExternal) SetMode(v CheckoutMode)
SetMode sets Mode field to given value.
func (o *PaymentLinkExternal) GetObject() ObjectName
GetObject returns the Object field if non-nil, zero value otherwise.
func (o *PaymentLinkExternal) 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 *PaymentLinkExternal) SetObject(v ObjectName)
SetObject sets Object field to given value.
func (o *PaymentLinkExternal) HasObject() bool
HasObject returns a boolean if a field has been set.
func (o *PaymentLinkExternal) GetSecureToken() string
GetSecureToken returns the SecureToken field if non-nil, zero value otherwise.
func (o *PaymentLinkExternal) 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 *PaymentLinkExternal) SetSecureToken(v string)
SetSecureToken sets SecureToken field to given value.
func (o *PaymentLinkExternal) GetSuccessUrl() string
GetSuccessUrl returns the SuccessUrl field if non-nil, zero value otherwise.
func (o *PaymentLinkExternal) 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 *PaymentLinkExternal) SetSuccessUrl(v string)
SetSuccessUrl sets SuccessUrl field to given value.
func (o *PaymentLinkExternal) SetSuccessUrlNil(b bool)
SetSuccessUrlNil sets the value for SuccessUrl to be an explicit nil
func (o *PaymentLinkExternal) UnsetSuccessUrl()
UnsetSuccessUrl ensures that no value is present for SuccessUrl, not even an explicit nil
func (o *PaymentLinkExternal) GetTrialEnd() time.Time
GetTrialEnd returns the TrialEnd field if non-nil, zero value otherwise.
func (o *PaymentLinkExternal) 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 *PaymentLinkExternal) SetTrialEnd(v time.Time)
SetTrialEnd sets TrialEnd field to given value.
func (o *PaymentLinkExternal) SetTrialEndNil(b bool)
SetTrialEndNil sets the value for TrialEnd to be an explicit nil
func (o *PaymentLinkExternal) UnsetTrialEnd()
UnsetTrialEnd ensures that no value is present for TrialEnd, not even an explicit nil
func (o *PaymentLinkExternal) GetTrialFromPrice() bool
GetTrialFromPrice returns the TrialFromPrice field if non-nil, zero value otherwise.
func (o *PaymentLinkExternal) 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 *PaymentLinkExternal) SetTrialFromPrice(v bool)
SetTrialFromPrice sets TrialFromPrice field to given value.
func (o *PaymentLinkExternal) SetTrialFromPriceNil(b bool)
SetTrialFromPriceNil sets the value for TrialFromPrice to be an explicit nil
func (o *PaymentLinkExternal) UnsetTrialFromPrice()
UnsetTrialFromPrice ensures that no value is present for TrialFromPrice, not even an explicit nil
func (o *PaymentLinkExternal) GetTrialPeriodDays() int32
GetTrialPeriodDays returns the TrialPeriodDays field if non-nil, zero value otherwise.
func (o *PaymentLinkExternal) 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 *PaymentLinkExternal) SetTrialPeriodDays(v int32)
SetTrialPeriodDays sets TrialPeriodDays field to given value.
func (o *PaymentLinkExternal) SetTrialPeriodDaysNil(b bool)
SetTrialPeriodDaysNil sets the value for TrialPeriodDays to be an explicit nil
func (o *PaymentLinkExternal) UnsetTrialPeriodDays()
UnsetTrialPeriodDays ensures that no value is present for TrialPeriodDays, not even an explicit nil
func (o *PaymentLinkExternal) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *PaymentLinkExternal) 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 *PaymentLinkExternal) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *PaymentLinkExternal) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *PaymentLinkExternal) 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 *PaymentLinkExternal) SetUrl(v string)
SetUrl sets Url field to given value.