dbtaxcode

package
v1.0.0-beta.228 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the taxcode type in the database.
	Label = "tax_code"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldNamespace holds the string denoting the namespace field in the database.
	FieldNamespace = "namespace"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldKey holds the string denoting the key field in the database.
	FieldKey = "key"
	// FieldAnnotations holds the string denoting the annotations field in the database.
	FieldAnnotations = "annotations"
	// FieldAppMappings holds the string denoting the app_mappings field in the database.
	FieldAppMappings = "app_mappings"
	// EdgeBillingWorkflowConfigs holds the string denoting the billing_workflow_configs edge name in mutations.
	EdgeBillingWorkflowConfigs = "billing_workflow_configs"
	// EdgeBillingCustomerOverrides holds the string denoting the billing_customer_overrides edge name in mutations.
	EdgeBillingCustomerOverrides = "billing_customer_overrides"
	// EdgeBillingInvoiceLines holds the string denoting the billing_invoice_lines edge name in mutations.
	EdgeBillingInvoiceLines = "billing_invoice_lines"
	// EdgeBillingInvoiceSplitLineGroups holds the string denoting the billing_invoice_split_line_groups edge name in mutations.
	EdgeBillingInvoiceSplitLineGroups = "billing_invoice_split_line_groups"
	// EdgeBillingStandardInvoiceDetailedLines holds the string denoting the billing_standard_invoice_detailed_lines edge name in mutations.
	EdgeBillingStandardInvoiceDetailedLines = "billing_standard_invoice_detailed_lines"
	// EdgeChargeUsageBasedRunDetailedLines holds the string denoting the charge_usage_based_run_detailed_lines edge name in mutations.
	EdgeChargeUsageBasedRunDetailedLines = "charge_usage_based_run_detailed_lines"
	// EdgeChargeFlatFeeRunDetailedLines holds the string denoting the charge_flat_fee_run_detailed_lines edge name in mutations.
	EdgeChargeFlatFeeRunDetailedLines = "charge_flat_fee_run_detailed_lines"
	// EdgeSubscriptionItems holds the string denoting the subscription_items edge name in mutations.
	EdgeSubscriptionItems = "subscription_items"
	// EdgePlanRateCards holds the string denoting the plan_rate_cards edge name in mutations.
	EdgePlanRateCards = "plan_rate_cards"
	// EdgeAddonRateCards holds the string denoting the addon_rate_cards edge name in mutations.
	EdgeAddonRateCards = "addon_rate_cards"
	// EdgeChargeFlatFees holds the string denoting the charge_flat_fees edge name in mutations.
	EdgeChargeFlatFees = "charge_flat_fees"
	// EdgeChargeUsageBased holds the string denoting the charge_usage_based edge name in mutations.
	EdgeChargeUsageBased = "charge_usage_based"
	// EdgeChargeCreditPurchases holds the string denoting the charge_credit_purchases edge name in mutations.
	EdgeChargeCreditPurchases = "charge_credit_purchases"
	// EdgeOrganizationDefaultInvoicing holds the string denoting the organization_default_invoicing edge name in mutations.
	EdgeOrganizationDefaultInvoicing = "organization_default_invoicing"
	// EdgeOrganizationDefaultCreditGrant holds the string denoting the organization_default_credit_grant edge name in mutations.
	EdgeOrganizationDefaultCreditGrant = "organization_default_credit_grant"
	// Table holds the table name of the taxcode in the database.
	Table = "tax_codes"
	// BillingWorkflowConfigsTable is the table that holds the billing_workflow_configs relation/edge.
	BillingWorkflowConfigsTable = "billing_workflow_configs"
	// BillingWorkflowConfigsInverseTable is the table name for the BillingWorkflowConfig entity.
	// It exists in this package in order to avoid circular dependency with the "billingworkflowconfig" package.
	BillingWorkflowConfigsInverseTable = "billing_workflow_configs"
	// BillingWorkflowConfigsColumn is the table column denoting the billing_workflow_configs relation/edge.
	BillingWorkflowConfigsColumn = "tax_code_id"
	// BillingCustomerOverridesTable is the table that holds the billing_customer_overrides relation/edge.
	BillingCustomerOverridesTable = "billing_customer_overrides"
	// BillingCustomerOverridesInverseTable is the table name for the BillingCustomerOverride entity.
	// It exists in this package in order to avoid circular dependency with the "billingcustomeroverride" package.
	BillingCustomerOverridesInverseTable = "billing_customer_overrides"
	// BillingCustomerOverridesColumn is the table column denoting the billing_customer_overrides relation/edge.
	BillingCustomerOverridesColumn = "tax_code_id"
	// BillingInvoiceLinesTable is the table that holds the billing_invoice_lines relation/edge.
	BillingInvoiceLinesTable = "billing_invoice_lines"
	// BillingInvoiceLinesInverseTable is the table name for the BillingInvoiceLine entity.
	// It exists in this package in order to avoid circular dependency with the "billinginvoiceline" package.
	BillingInvoiceLinesInverseTable = "billing_invoice_lines"
	// BillingInvoiceLinesColumn is the table column denoting the billing_invoice_lines relation/edge.
	BillingInvoiceLinesColumn = "tax_code_id"
	// BillingInvoiceSplitLineGroupsTable is the table that holds the billing_invoice_split_line_groups relation/edge.
	BillingInvoiceSplitLineGroupsTable = "billing_invoice_split_line_groups"
	// BillingInvoiceSplitLineGroupsInverseTable is the table name for the BillingInvoiceSplitLineGroup entity.
	// It exists in this package in order to avoid circular dependency with the "billinginvoicesplitlinegroup" package.
	BillingInvoiceSplitLineGroupsInverseTable = "billing_invoice_split_line_groups"
	// BillingInvoiceSplitLineGroupsColumn is the table column denoting the billing_invoice_split_line_groups relation/edge.
	BillingInvoiceSplitLineGroupsColumn = "tax_code_id"
	// BillingStandardInvoiceDetailedLinesTable is the table that holds the billing_standard_invoice_detailed_lines relation/edge.
	BillingStandardInvoiceDetailedLinesTable = "billing_standard_invoice_detailed_lines"
	// BillingStandardInvoiceDetailedLinesInverseTable is the table name for the BillingStandardInvoiceDetailedLine entity.
	// It exists in this package in order to avoid circular dependency with the "billingstandardinvoicedetailedline" package.
	BillingStandardInvoiceDetailedLinesInverseTable = "billing_standard_invoice_detailed_lines"
	// BillingStandardInvoiceDetailedLinesColumn is the table column denoting the billing_standard_invoice_detailed_lines relation/edge.
	BillingStandardInvoiceDetailedLinesColumn = "tax_code_id"
	// ChargeUsageBasedRunDetailedLinesTable is the table that holds the charge_usage_based_run_detailed_lines relation/edge.
	ChargeUsageBasedRunDetailedLinesTable = "charge_usage_based_run_detailed_line"
	// ChargeUsageBasedRunDetailedLinesInverseTable is the table name for the ChargeUsageBasedRunDetailedLine entity.
	// It exists in this package in order to avoid circular dependency with the "chargeusagebasedrundetailedline" package.
	ChargeUsageBasedRunDetailedLinesInverseTable = "charge_usage_based_run_detailed_line"
	// ChargeUsageBasedRunDetailedLinesColumn is the table column denoting the charge_usage_based_run_detailed_lines relation/edge.
	ChargeUsageBasedRunDetailedLinesColumn = "tax_code_id"
	// ChargeFlatFeeRunDetailedLinesTable is the table that holds the charge_flat_fee_run_detailed_lines relation/edge.
	ChargeFlatFeeRunDetailedLinesTable = "charge_flat_fee_run_detailed_lines"
	// ChargeFlatFeeRunDetailedLinesInverseTable is the table name for the ChargeFlatFeeRunDetailedLine entity.
	// It exists in this package in order to avoid circular dependency with the "chargeflatfeerundetailedline" package.
	ChargeFlatFeeRunDetailedLinesInverseTable = "charge_flat_fee_run_detailed_lines"
	// ChargeFlatFeeRunDetailedLinesColumn is the table column denoting the charge_flat_fee_run_detailed_lines relation/edge.
	ChargeFlatFeeRunDetailedLinesColumn = "tax_code_id"
	// SubscriptionItemsTable is the table that holds the subscription_items relation/edge.
	SubscriptionItemsTable = "subscription_items"
	// SubscriptionItemsInverseTable is the table name for the SubscriptionItem entity.
	// It exists in this package in order to avoid circular dependency with the "subscriptionitem" package.
	SubscriptionItemsInverseTable = "subscription_items"
	// SubscriptionItemsColumn is the table column denoting the subscription_items relation/edge.
	SubscriptionItemsColumn = "tax_code_id"
	// PlanRateCardsTable is the table that holds the plan_rate_cards relation/edge.
	PlanRateCardsTable = "plan_rate_cards"
	// PlanRateCardsInverseTable is the table name for the PlanRateCard entity.
	// It exists in this package in order to avoid circular dependency with the "planratecard" package.
	PlanRateCardsInverseTable = "plan_rate_cards"
	// PlanRateCardsColumn is the table column denoting the plan_rate_cards relation/edge.
	PlanRateCardsColumn = "tax_code_id"
	// AddonRateCardsTable is the table that holds the addon_rate_cards relation/edge.
	AddonRateCardsTable = "addon_rate_cards"
	// AddonRateCardsInverseTable is the table name for the AddonRateCard entity.
	// It exists in this package in order to avoid circular dependency with the "addonratecard" package.
	AddonRateCardsInverseTable = "addon_rate_cards"
	// AddonRateCardsColumn is the table column denoting the addon_rate_cards relation/edge.
	AddonRateCardsColumn = "tax_code_id"
	// ChargeFlatFeesTable is the table that holds the charge_flat_fees relation/edge.
	ChargeFlatFeesTable = "charge_flat_fees"
	// ChargeFlatFeesInverseTable is the table name for the ChargeFlatFee entity.
	// It exists in this package in order to avoid circular dependency with the "chargeflatfee" package.
	ChargeFlatFeesInverseTable = "charge_flat_fees"
	// ChargeFlatFeesColumn is the table column denoting the charge_flat_fees relation/edge.
	ChargeFlatFeesColumn = "tax_code_id"
	// ChargeUsageBasedTable is the table that holds the charge_usage_based relation/edge.
	ChargeUsageBasedTable = "charge_usage_based"
	// ChargeUsageBasedInverseTable is the table name for the ChargeUsageBased entity.
	// It exists in this package in order to avoid circular dependency with the "chargeusagebased" package.
	ChargeUsageBasedInverseTable = "charge_usage_based"
	// ChargeUsageBasedColumn is the table column denoting the charge_usage_based relation/edge.
	ChargeUsageBasedColumn = "tax_code_id"
	// ChargeCreditPurchasesTable is the table that holds the charge_credit_purchases relation/edge.
	ChargeCreditPurchasesTable = "charge_credit_purchases"
	// ChargeCreditPurchasesInverseTable is the table name for the ChargeCreditPurchase entity.
	// It exists in this package in order to avoid circular dependency with the "chargecreditpurchase" package.
	ChargeCreditPurchasesInverseTable = "charge_credit_purchases"
	// ChargeCreditPurchasesColumn is the table column denoting the charge_credit_purchases relation/edge.
	ChargeCreditPurchasesColumn = "tax_code_id"
	// OrganizationDefaultInvoicingTable is the table that holds the organization_default_invoicing relation/edge.
	OrganizationDefaultInvoicingTable = "organization_default_tax_codes"
	// OrganizationDefaultInvoicingInverseTable is the table name for the OrganizationDefaultTaxCodes entity.
	// It exists in this package in order to avoid circular dependency with the "organizationdefaulttaxcodes" package.
	OrganizationDefaultInvoicingInverseTable = "organization_default_tax_codes"
	// OrganizationDefaultInvoicingColumn is the table column denoting the organization_default_invoicing relation/edge.
	OrganizationDefaultInvoicingColumn = "invoicing_tax_code_id"
	// OrganizationDefaultCreditGrantTable is the table that holds the organization_default_credit_grant relation/edge.
	OrganizationDefaultCreditGrantTable = "organization_default_tax_codes"
	// OrganizationDefaultCreditGrantInverseTable is the table name for the OrganizationDefaultTaxCodes entity.
	// It exists in this package in order to avoid circular dependency with the "organizationdefaulttaxcodes" package.
	OrganizationDefaultCreditGrantInverseTable = "organization_default_tax_codes"
	// OrganizationDefaultCreditGrantColumn is the table column denoting the organization_default_credit_grant relation/edge.
	OrganizationDefaultCreditGrantColumn = "credit_grant_tax_code_id"
)

Variables

View Source
var (
	// NamespaceValidator is a validator for the "namespace" field. It is called by the builders before save.
	NamespaceValidator func(string) error
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// KeyValidator is a validator for the "key" field. It is called by the builders before save.
	KeyValidator func(string) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
	// ValueScanner of all TaxCode fields.
	ValueScanner struct {
		AppMappings field.TypeValueScanner[*taxcode.TaxCodeAppMappings]
	}
)

Columns holds all SQL columns for taxcode fields.

Functions

func And

func And(predicates ...predicate.TaxCode) predicate.TaxCode

And groups predicates with the AND operator between them.

func AnnotationsIsNil

func AnnotationsIsNil() predicate.TaxCode

AnnotationsIsNil applies the IsNil predicate on the "annotations" field.

func AnnotationsNotNil

func AnnotationsNotNil() predicate.TaxCode

AnnotationsNotNil applies the NotNil predicate on the "annotations" field.

func AppMappingsIsNil

func AppMappingsIsNil() predicate.TaxCode

AppMappingsIsNil applies the IsNil predicate on the "app_mappings" field.

func AppMappingsNotNil

func AppMappingsNotNil() predicate.TaxCode

AppMappingsNotNil applies the NotNil predicate on the "app_mappings" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.TaxCode

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.TaxCode

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.TaxCode

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.TaxCode

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.TaxCode

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.TaxCode

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.TaxCode

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.TaxCode

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.TaxCode

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.TaxCode

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.TaxCode

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.TaxCode

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.TaxCode

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.TaxCode

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.TaxCode

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.TaxCode

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.TaxCode

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.TaxCode

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.TaxCode

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.TaxCode

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func Description

func Description(v string) predicate.TaxCode

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.TaxCode

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.TaxCode

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.TaxCode

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.TaxCode

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.TaxCode

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.TaxCode

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.TaxCode

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.TaxCode

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.TaxCode

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.TaxCode

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.TaxCode

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.TaxCode

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.TaxCode

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.TaxCode

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.TaxCode

DescriptionNotNil applies the NotNil predicate on the "description" field.

func HasAddonRateCards

func HasAddonRateCards() predicate.TaxCode

HasAddonRateCards applies the HasEdge predicate on the "addon_rate_cards" edge.

func HasAddonRateCardsWith

func HasAddonRateCardsWith(preds ...predicate.AddonRateCard) predicate.TaxCode

HasAddonRateCardsWith applies the HasEdge predicate on the "addon_rate_cards" edge with a given conditions (other predicates).

func HasBillingCustomerOverrides

func HasBillingCustomerOverrides() predicate.TaxCode

HasBillingCustomerOverrides applies the HasEdge predicate on the "billing_customer_overrides" edge.

func HasBillingCustomerOverridesWith

func HasBillingCustomerOverridesWith(preds ...predicate.BillingCustomerOverride) predicate.TaxCode

HasBillingCustomerOverridesWith applies the HasEdge predicate on the "billing_customer_overrides" edge with a given conditions (other predicates).

func HasBillingInvoiceLines

func HasBillingInvoiceLines() predicate.TaxCode

HasBillingInvoiceLines applies the HasEdge predicate on the "billing_invoice_lines" edge.

func HasBillingInvoiceLinesWith

func HasBillingInvoiceLinesWith(preds ...predicate.BillingInvoiceLine) predicate.TaxCode

HasBillingInvoiceLinesWith applies the HasEdge predicate on the "billing_invoice_lines" edge with a given conditions (other predicates).

func HasBillingInvoiceSplitLineGroups

func HasBillingInvoiceSplitLineGroups() predicate.TaxCode

HasBillingInvoiceSplitLineGroups applies the HasEdge predicate on the "billing_invoice_split_line_groups" edge.

func HasBillingInvoiceSplitLineGroupsWith

func HasBillingInvoiceSplitLineGroupsWith(preds ...predicate.BillingInvoiceSplitLineGroup) predicate.TaxCode

HasBillingInvoiceSplitLineGroupsWith applies the HasEdge predicate on the "billing_invoice_split_line_groups" edge with a given conditions (other predicates).

func HasBillingStandardInvoiceDetailedLines

func HasBillingStandardInvoiceDetailedLines() predicate.TaxCode

HasBillingStandardInvoiceDetailedLines applies the HasEdge predicate on the "billing_standard_invoice_detailed_lines" edge.

func HasBillingStandardInvoiceDetailedLinesWith

func HasBillingStandardInvoiceDetailedLinesWith(preds ...predicate.BillingStandardInvoiceDetailedLine) predicate.TaxCode

HasBillingStandardInvoiceDetailedLinesWith applies the HasEdge predicate on the "billing_standard_invoice_detailed_lines" edge with a given conditions (other predicates).

func HasBillingWorkflowConfigs

func HasBillingWorkflowConfigs() predicate.TaxCode

HasBillingWorkflowConfigs applies the HasEdge predicate on the "billing_workflow_configs" edge.

func HasBillingWorkflowConfigsWith

func HasBillingWorkflowConfigsWith(preds ...predicate.BillingWorkflowConfig) predicate.TaxCode

HasBillingWorkflowConfigsWith applies the HasEdge predicate on the "billing_workflow_configs" edge with a given conditions (other predicates).

func HasChargeCreditPurchases

func HasChargeCreditPurchases() predicate.TaxCode

HasChargeCreditPurchases applies the HasEdge predicate on the "charge_credit_purchases" edge.

func HasChargeCreditPurchasesWith

func HasChargeCreditPurchasesWith(preds ...predicate.ChargeCreditPurchase) predicate.TaxCode

HasChargeCreditPurchasesWith applies the HasEdge predicate on the "charge_credit_purchases" edge with a given conditions (other predicates).

func HasChargeFlatFeeRunDetailedLines

func HasChargeFlatFeeRunDetailedLines() predicate.TaxCode

HasChargeFlatFeeRunDetailedLines applies the HasEdge predicate on the "charge_flat_fee_run_detailed_lines" edge.

func HasChargeFlatFeeRunDetailedLinesWith

func HasChargeFlatFeeRunDetailedLinesWith(preds ...predicate.ChargeFlatFeeRunDetailedLine) predicate.TaxCode

HasChargeFlatFeeRunDetailedLinesWith applies the HasEdge predicate on the "charge_flat_fee_run_detailed_lines" edge with a given conditions (other predicates).

func HasChargeFlatFees

func HasChargeFlatFees() predicate.TaxCode

HasChargeFlatFees applies the HasEdge predicate on the "charge_flat_fees" edge.

func HasChargeFlatFeesWith

func HasChargeFlatFeesWith(preds ...predicate.ChargeFlatFee) predicate.TaxCode

HasChargeFlatFeesWith applies the HasEdge predicate on the "charge_flat_fees" edge with a given conditions (other predicates).

func HasChargeUsageBased

func HasChargeUsageBased() predicate.TaxCode

HasChargeUsageBased applies the HasEdge predicate on the "charge_usage_based" edge.

func HasChargeUsageBasedRunDetailedLines

func HasChargeUsageBasedRunDetailedLines() predicate.TaxCode

HasChargeUsageBasedRunDetailedLines applies the HasEdge predicate on the "charge_usage_based_run_detailed_lines" edge.

func HasChargeUsageBasedRunDetailedLinesWith

func HasChargeUsageBasedRunDetailedLinesWith(preds ...predicate.ChargeUsageBasedRunDetailedLine) predicate.TaxCode

HasChargeUsageBasedRunDetailedLinesWith applies the HasEdge predicate on the "charge_usage_based_run_detailed_lines" edge with a given conditions (other predicates).

func HasChargeUsageBasedWith

func HasChargeUsageBasedWith(preds ...predicate.ChargeUsageBased) predicate.TaxCode

HasChargeUsageBasedWith applies the HasEdge predicate on the "charge_usage_based" edge with a given conditions (other predicates).

func HasOrganizationDefaultCreditGrant

func HasOrganizationDefaultCreditGrant() predicate.TaxCode

HasOrganizationDefaultCreditGrant applies the HasEdge predicate on the "organization_default_credit_grant" edge.

func HasOrganizationDefaultCreditGrantWith

func HasOrganizationDefaultCreditGrantWith(preds ...predicate.OrganizationDefaultTaxCodes) predicate.TaxCode

HasOrganizationDefaultCreditGrantWith applies the HasEdge predicate on the "organization_default_credit_grant" edge with a given conditions (other predicates).

func HasOrganizationDefaultInvoicing

func HasOrganizationDefaultInvoicing() predicate.TaxCode

HasOrganizationDefaultInvoicing applies the HasEdge predicate on the "organization_default_invoicing" edge.

func HasOrganizationDefaultInvoicingWith

func HasOrganizationDefaultInvoicingWith(preds ...predicate.OrganizationDefaultTaxCodes) predicate.TaxCode

HasOrganizationDefaultInvoicingWith applies the HasEdge predicate on the "organization_default_invoicing" edge with a given conditions (other predicates).

func HasPlanRateCards

func HasPlanRateCards() predicate.TaxCode

HasPlanRateCards applies the HasEdge predicate on the "plan_rate_cards" edge.

func HasPlanRateCardsWith

func HasPlanRateCardsWith(preds ...predicate.PlanRateCard) predicate.TaxCode

HasPlanRateCardsWith applies the HasEdge predicate on the "plan_rate_cards" edge with a given conditions (other predicates).

func HasSubscriptionItems

func HasSubscriptionItems() predicate.TaxCode

HasSubscriptionItems applies the HasEdge predicate on the "subscription_items" edge.

func HasSubscriptionItemsWith

func HasSubscriptionItemsWith(preds ...predicate.SubscriptionItem) predicate.TaxCode

HasSubscriptionItemsWith applies the HasEdge predicate on the "subscription_items" edge with a given conditions (other predicates).

func ID

func ID(id string) predicate.TaxCode

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.TaxCode

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.TaxCode

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.TaxCode

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.TaxCode

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.TaxCode

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.TaxCode

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.TaxCode

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.TaxCode

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.TaxCode

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.TaxCode

IDNotIn applies the NotIn predicate on the ID field.

func Key

func Key(v string) predicate.TaxCode

Key applies equality check predicate on the "key" field. It's identical to KeyEQ.

func KeyContains

func KeyContains(v string) predicate.TaxCode

KeyContains applies the Contains predicate on the "key" field.

func KeyContainsFold

func KeyContainsFold(v string) predicate.TaxCode

KeyContainsFold applies the ContainsFold predicate on the "key" field.

func KeyEQ

func KeyEQ(v string) predicate.TaxCode

KeyEQ applies the EQ predicate on the "key" field.

func KeyEqualFold

func KeyEqualFold(v string) predicate.TaxCode

KeyEqualFold applies the EqualFold predicate on the "key" field.

func KeyGT

func KeyGT(v string) predicate.TaxCode

KeyGT applies the GT predicate on the "key" field.

func KeyGTE

func KeyGTE(v string) predicate.TaxCode

KeyGTE applies the GTE predicate on the "key" field.

func KeyHasPrefix

func KeyHasPrefix(v string) predicate.TaxCode

KeyHasPrefix applies the HasPrefix predicate on the "key" field.

func KeyHasSuffix

func KeyHasSuffix(v string) predicate.TaxCode

KeyHasSuffix applies the HasSuffix predicate on the "key" field.

func KeyIn

func KeyIn(vs ...string) predicate.TaxCode

KeyIn applies the In predicate on the "key" field.

func KeyLT

func KeyLT(v string) predicate.TaxCode

KeyLT applies the LT predicate on the "key" field.

func KeyLTE

func KeyLTE(v string) predicate.TaxCode

KeyLTE applies the LTE predicate on the "key" field.

func KeyNEQ

func KeyNEQ(v string) predicate.TaxCode

KeyNEQ applies the NEQ predicate on the "key" field.

func KeyNotIn

func KeyNotIn(vs ...string) predicate.TaxCode

KeyNotIn applies the NotIn predicate on the "key" field.

func MetadataIsNil

func MetadataIsNil() predicate.TaxCode

MetadataIsNil applies the IsNil predicate on the "metadata" field.

func MetadataNotNil

func MetadataNotNil() predicate.TaxCode

MetadataNotNil applies the NotNil predicate on the "metadata" field.

func Name

func Name(v string) predicate.TaxCode

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.TaxCode

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.TaxCode

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.TaxCode

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.TaxCode

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.TaxCode

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.TaxCode

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.TaxCode

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.TaxCode

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.TaxCode

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.TaxCode

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.TaxCode

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.TaxCode

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.TaxCode

NameNotIn applies the NotIn predicate on the "name" field.

func Namespace

func Namespace(v string) predicate.TaxCode

Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.

func NamespaceContains

func NamespaceContains(v string) predicate.TaxCode

NamespaceContains applies the Contains predicate on the "namespace" field.

func NamespaceContainsFold

func NamespaceContainsFold(v string) predicate.TaxCode

NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.

func NamespaceEQ

func NamespaceEQ(v string) predicate.TaxCode

NamespaceEQ applies the EQ predicate on the "namespace" field.

func NamespaceEqualFold

func NamespaceEqualFold(v string) predicate.TaxCode

NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.

func NamespaceGT

func NamespaceGT(v string) predicate.TaxCode

NamespaceGT applies the GT predicate on the "namespace" field.

func NamespaceGTE

func NamespaceGTE(v string) predicate.TaxCode

NamespaceGTE applies the GTE predicate on the "namespace" field.

func NamespaceHasPrefix

func NamespaceHasPrefix(v string) predicate.TaxCode

NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.

func NamespaceHasSuffix

func NamespaceHasSuffix(v string) predicate.TaxCode

NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.

func NamespaceIn

func NamespaceIn(vs ...string) predicate.TaxCode

NamespaceIn applies the In predicate on the "namespace" field.

func NamespaceLT

func NamespaceLT(v string) predicate.TaxCode

NamespaceLT applies the LT predicate on the "namespace" field.

func NamespaceLTE

func NamespaceLTE(v string) predicate.TaxCode

NamespaceLTE applies the LTE predicate on the "namespace" field.

func NamespaceNEQ

func NamespaceNEQ(v string) predicate.TaxCode

NamespaceNEQ applies the NEQ predicate on the "namespace" field.

func NamespaceNotIn

func NamespaceNotIn(vs ...string) predicate.TaxCode

NamespaceNotIn applies the NotIn predicate on the "namespace" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.TaxCode) predicate.TaxCode

Or groups predicates with the OR operator between them.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.TaxCode

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.TaxCode

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.TaxCode

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.TaxCode

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.TaxCode

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.TaxCode

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.TaxCode

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.TaxCode

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.TaxCode

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the TaxCode queries.

func ByAddonRateCards

func ByAddonRateCards(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByAddonRateCards orders the results by addon_rate_cards terms.

func ByAddonRateCardsCount

func ByAddonRateCardsCount(opts ...sql.OrderTermOption) OrderOption

ByAddonRateCardsCount orders the results by addon_rate_cards count.

func ByAppMappings

func ByAppMappings(opts ...sql.OrderTermOption) OrderOption

ByAppMappings orders the results by the app_mappings field.

func ByBillingCustomerOverrides

func ByBillingCustomerOverrides(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByBillingCustomerOverrides orders the results by billing_customer_overrides terms.

func ByBillingCustomerOverridesCount

func ByBillingCustomerOverridesCount(opts ...sql.OrderTermOption) OrderOption

ByBillingCustomerOverridesCount orders the results by billing_customer_overrides count.

func ByBillingInvoiceLines

func ByBillingInvoiceLines(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByBillingInvoiceLines orders the results by billing_invoice_lines terms.

func ByBillingInvoiceLinesCount

func ByBillingInvoiceLinesCount(opts ...sql.OrderTermOption) OrderOption

ByBillingInvoiceLinesCount orders the results by billing_invoice_lines count.

func ByBillingInvoiceSplitLineGroups

func ByBillingInvoiceSplitLineGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByBillingInvoiceSplitLineGroups orders the results by billing_invoice_split_line_groups terms.

func ByBillingInvoiceSplitLineGroupsCount

func ByBillingInvoiceSplitLineGroupsCount(opts ...sql.OrderTermOption) OrderOption

ByBillingInvoiceSplitLineGroupsCount orders the results by billing_invoice_split_line_groups count.

func ByBillingStandardInvoiceDetailedLines

func ByBillingStandardInvoiceDetailedLines(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByBillingStandardInvoiceDetailedLines orders the results by billing_standard_invoice_detailed_lines terms.

func ByBillingStandardInvoiceDetailedLinesCount

func ByBillingStandardInvoiceDetailedLinesCount(opts ...sql.OrderTermOption) OrderOption

ByBillingStandardInvoiceDetailedLinesCount orders the results by billing_standard_invoice_detailed_lines count.

func ByBillingWorkflowConfigs

func ByBillingWorkflowConfigs(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByBillingWorkflowConfigs orders the results by billing_workflow_configs terms.

func ByBillingWorkflowConfigsCount

func ByBillingWorkflowConfigsCount(opts ...sql.OrderTermOption) OrderOption

ByBillingWorkflowConfigsCount orders the results by billing_workflow_configs count.

func ByChargeCreditPurchases

func ByChargeCreditPurchases(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByChargeCreditPurchases orders the results by charge_credit_purchases terms.

func ByChargeCreditPurchasesCount

func ByChargeCreditPurchasesCount(opts ...sql.OrderTermOption) OrderOption

ByChargeCreditPurchasesCount orders the results by charge_credit_purchases count.

func ByChargeFlatFeeRunDetailedLines

func ByChargeFlatFeeRunDetailedLines(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByChargeFlatFeeRunDetailedLines orders the results by charge_flat_fee_run_detailed_lines terms.

func ByChargeFlatFeeRunDetailedLinesCount

func ByChargeFlatFeeRunDetailedLinesCount(opts ...sql.OrderTermOption) OrderOption

ByChargeFlatFeeRunDetailedLinesCount orders the results by charge_flat_fee_run_detailed_lines count.

func ByChargeFlatFees

func ByChargeFlatFees(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByChargeFlatFees orders the results by charge_flat_fees terms.

func ByChargeFlatFeesCount

func ByChargeFlatFeesCount(opts ...sql.OrderTermOption) OrderOption

ByChargeFlatFeesCount orders the results by charge_flat_fees count.

func ByChargeUsageBased

func ByChargeUsageBased(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByChargeUsageBased orders the results by charge_usage_based terms.

func ByChargeUsageBasedCount

func ByChargeUsageBasedCount(opts ...sql.OrderTermOption) OrderOption

ByChargeUsageBasedCount orders the results by charge_usage_based count.

func ByChargeUsageBasedRunDetailedLines

func ByChargeUsageBasedRunDetailedLines(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByChargeUsageBasedRunDetailedLines orders the results by charge_usage_based_run_detailed_lines terms.

func ByChargeUsageBasedRunDetailedLinesCount

func ByChargeUsageBasedRunDetailedLinesCount(opts ...sql.OrderTermOption) OrderOption

ByChargeUsageBasedRunDetailedLinesCount orders the results by charge_usage_based_run_detailed_lines count.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByDeletedAt

func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption

ByDeletedAt orders the results by the deleted_at field.

func ByDescription

func ByDescription(opts ...sql.OrderTermOption) OrderOption

ByDescription orders the results by the description field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByKey

func ByKey(opts ...sql.OrderTermOption) OrderOption

ByKey orders the results by the key field.

func ByName

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the name field.

func ByNamespace

func ByNamespace(opts ...sql.OrderTermOption) OrderOption

ByNamespace orders the results by the namespace field.

func ByOrganizationDefaultCreditGrant

func ByOrganizationDefaultCreditGrant(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByOrganizationDefaultCreditGrant orders the results by organization_default_credit_grant terms.

func ByOrganizationDefaultCreditGrantCount

func ByOrganizationDefaultCreditGrantCount(opts ...sql.OrderTermOption) OrderOption

ByOrganizationDefaultCreditGrantCount orders the results by organization_default_credit_grant count.

func ByOrganizationDefaultInvoicing

func ByOrganizationDefaultInvoicing(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByOrganizationDefaultInvoicing orders the results by organization_default_invoicing terms.

func ByOrganizationDefaultInvoicingCount

func ByOrganizationDefaultInvoicingCount(opts ...sql.OrderTermOption) OrderOption

ByOrganizationDefaultInvoicingCount orders the results by organization_default_invoicing count.

func ByPlanRateCards

func ByPlanRateCards(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByPlanRateCards orders the results by plan_rate_cards terms.

func ByPlanRateCardsCount

func ByPlanRateCardsCount(opts ...sql.OrderTermOption) OrderOption

ByPlanRateCardsCount orders the results by plan_rate_cards count.

func BySubscriptionItems

func BySubscriptionItems(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

BySubscriptionItems orders the results by subscription_items terms.

func BySubscriptionItemsCount

func BySubscriptionItemsCount(opts ...sql.OrderTermOption) OrderOption

BySubscriptionItemsCount orders the results by subscription_items count.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL