customer

package
v1.0.0-beta.231 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the customer type in the database.
	Label = "customer"
	// 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"
	// FieldBillingAddressCountry holds the string denoting the billing_address_country field in the database.
	FieldBillingAddressCountry = "billing_address_country"
	// FieldBillingAddressPostalCode holds the string denoting the billing_address_postal_code field in the database.
	FieldBillingAddressPostalCode = "billing_address_postal_code"
	// FieldBillingAddressState holds the string denoting the billing_address_state field in the database.
	FieldBillingAddressState = "billing_address_state"
	// FieldBillingAddressCity holds the string denoting the billing_address_city field in the database.
	FieldBillingAddressCity = "billing_address_city"
	// FieldBillingAddressLine1 holds the string denoting the billing_address_line1 field in the database.
	FieldBillingAddressLine1 = "billing_address_line1"
	// FieldBillingAddressLine2 holds the string denoting the billing_address_line2 field in the database.
	FieldBillingAddressLine2 = "billing_address_line2"
	// FieldBillingAddressPhoneNumber holds the string denoting the billing_address_phone_number field in the database.
	FieldBillingAddressPhoneNumber = "billing_address_phone_number"
	// FieldAnnotations holds the string denoting the annotations field in the database.
	FieldAnnotations = "annotations"
	// FieldKey holds the string denoting the key field in the database.
	FieldKey = "key"
	// FieldPrimaryEmail holds the string denoting the primary_email field in the database.
	FieldPrimaryEmail = "primary_email"
	// FieldCurrency holds the string denoting the currency field in the database.
	FieldCurrency = "currency"
	// EdgeApps holds the string denoting the apps edge name in mutations.
	EdgeApps = "apps"
	// EdgeSubjects holds the string denoting the subjects edge name in mutations.
	EdgeSubjects = "subjects"
	// EdgeBillingCustomerOverride holds the string denoting the billing_customer_override edge name in mutations.
	EdgeBillingCustomerOverride = "billing_customer_override"
	// EdgeBillingInvoice holds the string denoting the billing_invoice edge name in mutations.
	EdgeBillingInvoice = "billing_invoice"
	// EdgeSubscription holds the string denoting the subscription edge name in mutations.
	EdgeSubscription = "subscription"
	// EdgeEntitlements holds the string denoting the entitlements edge name in mutations.
	EdgeEntitlements = "entitlements"
	// EdgeChargesCreditPurchase holds the string denoting the charges_credit_purchase edge name in mutations.
	EdgeChargesCreditPurchase = "charges_credit_purchase"
	// EdgeChargesFlatFee holds the string denoting the charges_flat_fee edge name in mutations.
	EdgeChargesFlatFee = "charges_flat_fee"
	// EdgeChargesUsageBased holds the string denoting the charges_usage_based edge name in mutations.
	EdgeChargesUsageBased = "charges_usage_based"
	// Table holds the table name of the customer in the database.
	Table = "customers"
	// AppsTable is the table that holds the apps relation/edge.
	AppsTable = "app_customers"
	// AppsInverseTable is the table name for the AppCustomer entity.
	// It exists in this package in order to avoid circular dependency with the "appcustomer" package.
	AppsInverseTable = "app_customers"
	// AppsColumn is the table column denoting the apps relation/edge.
	AppsColumn = "customer_id"
	// SubjectsTable is the table that holds the subjects relation/edge.
	SubjectsTable = "customer_subjects"
	// SubjectsInverseTable is the table name for the CustomerSubjects entity.
	// It exists in this package in order to avoid circular dependency with the "customersubjects" package.
	SubjectsInverseTable = "customer_subjects"
	// SubjectsColumn is the table column denoting the subjects relation/edge.
	SubjectsColumn = "customer_id"
	// BillingCustomerOverrideTable is the table that holds the billing_customer_override relation/edge.
	BillingCustomerOverrideTable = "billing_customer_overrides"
	// BillingCustomerOverrideInverseTable is the table name for the BillingCustomerOverride entity.
	// It exists in this package in order to avoid circular dependency with the "billingcustomeroverride" package.
	BillingCustomerOverrideInverseTable = "billing_customer_overrides"
	// BillingCustomerOverrideColumn is the table column denoting the billing_customer_override relation/edge.
	BillingCustomerOverrideColumn = "customer_id"
	// BillingInvoiceTable is the table that holds the billing_invoice relation/edge.
	BillingInvoiceTable = "billing_invoices"
	// BillingInvoiceInverseTable is the table name for the BillingInvoice entity.
	// It exists in this package in order to avoid circular dependency with the "billinginvoice" package.
	BillingInvoiceInverseTable = "billing_invoices"
	// BillingInvoiceColumn is the table column denoting the billing_invoice relation/edge.
	BillingInvoiceColumn = "customer_id"
	// SubscriptionTable is the table that holds the subscription relation/edge.
	SubscriptionTable = "subscriptions"
	// SubscriptionInverseTable is the table name for the Subscription entity.
	// It exists in this package in order to avoid circular dependency with the "subscription" package.
	SubscriptionInverseTable = "subscriptions"
	// SubscriptionColumn is the table column denoting the subscription relation/edge.
	SubscriptionColumn = "customer_id"
	// EntitlementsTable is the table that holds the entitlements relation/edge.
	EntitlementsTable = "entitlements"
	// EntitlementsInverseTable is the table name for the Entitlement entity.
	// It exists in this package in order to avoid circular dependency with the "entitlement" package.
	EntitlementsInverseTable = "entitlements"
	// EntitlementsColumn is the table column denoting the entitlements relation/edge.
	EntitlementsColumn = "customer_id"
	// ChargesCreditPurchaseTable is the table that holds the charges_credit_purchase relation/edge.
	ChargesCreditPurchaseTable = "charge_credit_purchases"
	// ChargesCreditPurchaseInverseTable is the table name for the ChargeCreditPurchase entity.
	// It exists in this package in order to avoid circular dependency with the "chargecreditpurchase" package.
	ChargesCreditPurchaseInverseTable = "charge_credit_purchases"
	// ChargesCreditPurchaseColumn is the table column denoting the charges_credit_purchase relation/edge.
	ChargesCreditPurchaseColumn = "customer_id"
	// ChargesFlatFeeTable is the table that holds the charges_flat_fee relation/edge.
	ChargesFlatFeeTable = "charge_flat_fees"
	// ChargesFlatFeeInverseTable is the table name for the ChargeFlatFee entity.
	// It exists in this package in order to avoid circular dependency with the "chargeflatfee" package.
	ChargesFlatFeeInverseTable = "charge_flat_fees"
	// ChargesFlatFeeColumn is the table column denoting the charges_flat_fee relation/edge.
	ChargesFlatFeeColumn = "customer_id"
	// ChargesUsageBasedTable is the table that holds the charges_usage_based relation/edge.
	ChargesUsageBasedTable = "charge_usage_based"
	// ChargesUsageBasedInverseTable is the table name for the ChargeUsageBased entity.
	// It exists in this package in order to avoid circular dependency with the "chargeusagebased" package.
	ChargesUsageBasedInverseTable = "charge_usage_based"
	// ChargesUsageBasedColumn is the table column denoting the charges_usage_based relation/edge.
	ChargesUsageBasedColumn = "customer_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
	// BillingAddressCountryValidator is a validator for the "billing_address_country" field. It is called by the builders before save.
	BillingAddressCountryValidator func(string) error
	// CurrencyValidator is a validator for the "currency" field. It is called by the builders before save.
	CurrencyValidator func(string) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

Columns holds all SQL columns for customer fields.

Functions

func And

func And(predicates ...predicate.Customer) predicate.Customer

And groups predicates with the AND operator between them.

func AnnotationsIsNil

func AnnotationsIsNil() predicate.Customer

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

func AnnotationsNotNil

func AnnotationsNotNil() predicate.Customer

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

func BillingAddressCity

func BillingAddressCity(v string) predicate.Customer

BillingAddressCity applies equality check predicate on the "billing_address_city" field. It's identical to BillingAddressCityEQ.

func BillingAddressCityContains

func BillingAddressCityContains(v string) predicate.Customer

BillingAddressCityContains applies the Contains predicate on the "billing_address_city" field.

func BillingAddressCityContainsFold

func BillingAddressCityContainsFold(v string) predicate.Customer

BillingAddressCityContainsFold applies the ContainsFold predicate on the "billing_address_city" field.

func BillingAddressCityEQ

func BillingAddressCityEQ(v string) predicate.Customer

BillingAddressCityEQ applies the EQ predicate on the "billing_address_city" field.

func BillingAddressCityEqualFold

func BillingAddressCityEqualFold(v string) predicate.Customer

BillingAddressCityEqualFold applies the EqualFold predicate on the "billing_address_city" field.

func BillingAddressCityGT

func BillingAddressCityGT(v string) predicate.Customer

BillingAddressCityGT applies the GT predicate on the "billing_address_city" field.

func BillingAddressCityGTE

func BillingAddressCityGTE(v string) predicate.Customer

BillingAddressCityGTE applies the GTE predicate on the "billing_address_city" field.

func BillingAddressCityHasPrefix

func BillingAddressCityHasPrefix(v string) predicate.Customer

BillingAddressCityHasPrefix applies the HasPrefix predicate on the "billing_address_city" field.

func BillingAddressCityHasSuffix

func BillingAddressCityHasSuffix(v string) predicate.Customer

BillingAddressCityHasSuffix applies the HasSuffix predicate on the "billing_address_city" field.

func BillingAddressCityIn

func BillingAddressCityIn(vs ...string) predicate.Customer

BillingAddressCityIn applies the In predicate on the "billing_address_city" field.

func BillingAddressCityIsNil

func BillingAddressCityIsNil() predicate.Customer

BillingAddressCityIsNil applies the IsNil predicate on the "billing_address_city" field.

func BillingAddressCityLT

func BillingAddressCityLT(v string) predicate.Customer

BillingAddressCityLT applies the LT predicate on the "billing_address_city" field.

func BillingAddressCityLTE

func BillingAddressCityLTE(v string) predicate.Customer

BillingAddressCityLTE applies the LTE predicate on the "billing_address_city" field.

func BillingAddressCityNEQ

func BillingAddressCityNEQ(v string) predicate.Customer

BillingAddressCityNEQ applies the NEQ predicate on the "billing_address_city" field.

func BillingAddressCityNotIn

func BillingAddressCityNotIn(vs ...string) predicate.Customer

BillingAddressCityNotIn applies the NotIn predicate on the "billing_address_city" field.

func BillingAddressCityNotNil

func BillingAddressCityNotNil() predicate.Customer

BillingAddressCityNotNil applies the NotNil predicate on the "billing_address_city" field.

func BillingAddressCountry

func BillingAddressCountry(v models.CountryCode) predicate.Customer

BillingAddressCountry applies equality check predicate on the "billing_address_country" field. It's identical to BillingAddressCountryEQ.

func BillingAddressCountryContains

func BillingAddressCountryContains(v models.CountryCode) predicate.Customer

BillingAddressCountryContains applies the Contains predicate on the "billing_address_country" field.

func BillingAddressCountryContainsFold

func BillingAddressCountryContainsFold(v models.CountryCode) predicate.Customer

BillingAddressCountryContainsFold applies the ContainsFold predicate on the "billing_address_country" field.

func BillingAddressCountryEQ

func BillingAddressCountryEQ(v models.CountryCode) predicate.Customer

BillingAddressCountryEQ applies the EQ predicate on the "billing_address_country" field.

func BillingAddressCountryEqualFold

func BillingAddressCountryEqualFold(v models.CountryCode) predicate.Customer

BillingAddressCountryEqualFold applies the EqualFold predicate on the "billing_address_country" field.

func BillingAddressCountryGT

func BillingAddressCountryGT(v models.CountryCode) predicate.Customer

BillingAddressCountryGT applies the GT predicate on the "billing_address_country" field.

func BillingAddressCountryGTE

func BillingAddressCountryGTE(v models.CountryCode) predicate.Customer

BillingAddressCountryGTE applies the GTE predicate on the "billing_address_country" field.

func BillingAddressCountryHasPrefix

func BillingAddressCountryHasPrefix(v models.CountryCode) predicate.Customer

BillingAddressCountryHasPrefix applies the HasPrefix predicate on the "billing_address_country" field.

func BillingAddressCountryHasSuffix

func BillingAddressCountryHasSuffix(v models.CountryCode) predicate.Customer

BillingAddressCountryHasSuffix applies the HasSuffix predicate on the "billing_address_country" field.

func BillingAddressCountryIn

func BillingAddressCountryIn(vs ...models.CountryCode) predicate.Customer

BillingAddressCountryIn applies the In predicate on the "billing_address_country" field.

func BillingAddressCountryIsNil

func BillingAddressCountryIsNil() predicate.Customer

BillingAddressCountryIsNil applies the IsNil predicate on the "billing_address_country" field.

func BillingAddressCountryLT

func BillingAddressCountryLT(v models.CountryCode) predicate.Customer

BillingAddressCountryLT applies the LT predicate on the "billing_address_country" field.

func BillingAddressCountryLTE

func BillingAddressCountryLTE(v models.CountryCode) predicate.Customer

BillingAddressCountryLTE applies the LTE predicate on the "billing_address_country" field.

func BillingAddressCountryNEQ

func BillingAddressCountryNEQ(v models.CountryCode) predicate.Customer

BillingAddressCountryNEQ applies the NEQ predicate on the "billing_address_country" field.

func BillingAddressCountryNotIn

func BillingAddressCountryNotIn(vs ...models.CountryCode) predicate.Customer

BillingAddressCountryNotIn applies the NotIn predicate on the "billing_address_country" field.

func BillingAddressCountryNotNil

func BillingAddressCountryNotNil() predicate.Customer

BillingAddressCountryNotNil applies the NotNil predicate on the "billing_address_country" field.

func BillingAddressLine1

func BillingAddressLine1(v string) predicate.Customer

BillingAddressLine1 applies equality check predicate on the "billing_address_line1" field. It's identical to BillingAddressLine1EQ.

func BillingAddressLine1Contains

func BillingAddressLine1Contains(v string) predicate.Customer

BillingAddressLine1Contains applies the Contains predicate on the "billing_address_line1" field.

func BillingAddressLine1ContainsFold

func BillingAddressLine1ContainsFold(v string) predicate.Customer

BillingAddressLine1ContainsFold applies the ContainsFold predicate on the "billing_address_line1" field.

func BillingAddressLine1EQ

func BillingAddressLine1EQ(v string) predicate.Customer

BillingAddressLine1EQ applies the EQ predicate on the "billing_address_line1" field.

func BillingAddressLine1EqualFold

func BillingAddressLine1EqualFold(v string) predicate.Customer

BillingAddressLine1EqualFold applies the EqualFold predicate on the "billing_address_line1" field.

func BillingAddressLine1GT

func BillingAddressLine1GT(v string) predicate.Customer

BillingAddressLine1GT applies the GT predicate on the "billing_address_line1" field.

func BillingAddressLine1GTE

func BillingAddressLine1GTE(v string) predicate.Customer

BillingAddressLine1GTE applies the GTE predicate on the "billing_address_line1" field.

func BillingAddressLine1HasPrefix

func BillingAddressLine1HasPrefix(v string) predicate.Customer

BillingAddressLine1HasPrefix applies the HasPrefix predicate on the "billing_address_line1" field.

func BillingAddressLine1HasSuffix

func BillingAddressLine1HasSuffix(v string) predicate.Customer

BillingAddressLine1HasSuffix applies the HasSuffix predicate on the "billing_address_line1" field.

func BillingAddressLine1In

func BillingAddressLine1In(vs ...string) predicate.Customer

BillingAddressLine1In applies the In predicate on the "billing_address_line1" field.

func BillingAddressLine1IsNil

func BillingAddressLine1IsNil() predicate.Customer

BillingAddressLine1IsNil applies the IsNil predicate on the "billing_address_line1" field.

func BillingAddressLine1LT

func BillingAddressLine1LT(v string) predicate.Customer

BillingAddressLine1LT applies the LT predicate on the "billing_address_line1" field.

func BillingAddressLine1LTE

func BillingAddressLine1LTE(v string) predicate.Customer

BillingAddressLine1LTE applies the LTE predicate on the "billing_address_line1" field.

func BillingAddressLine1NEQ

func BillingAddressLine1NEQ(v string) predicate.Customer

BillingAddressLine1NEQ applies the NEQ predicate on the "billing_address_line1" field.

func BillingAddressLine1NotIn

func BillingAddressLine1NotIn(vs ...string) predicate.Customer

BillingAddressLine1NotIn applies the NotIn predicate on the "billing_address_line1" field.

func BillingAddressLine1NotNil

func BillingAddressLine1NotNil() predicate.Customer

BillingAddressLine1NotNil applies the NotNil predicate on the "billing_address_line1" field.

func BillingAddressLine2

func BillingAddressLine2(v string) predicate.Customer

BillingAddressLine2 applies equality check predicate on the "billing_address_line2" field. It's identical to BillingAddressLine2EQ.

func BillingAddressLine2Contains

func BillingAddressLine2Contains(v string) predicate.Customer

BillingAddressLine2Contains applies the Contains predicate on the "billing_address_line2" field.

func BillingAddressLine2ContainsFold

func BillingAddressLine2ContainsFold(v string) predicate.Customer

BillingAddressLine2ContainsFold applies the ContainsFold predicate on the "billing_address_line2" field.

func BillingAddressLine2EQ

func BillingAddressLine2EQ(v string) predicate.Customer

BillingAddressLine2EQ applies the EQ predicate on the "billing_address_line2" field.

func BillingAddressLine2EqualFold

func BillingAddressLine2EqualFold(v string) predicate.Customer

BillingAddressLine2EqualFold applies the EqualFold predicate on the "billing_address_line2" field.

func BillingAddressLine2GT

func BillingAddressLine2GT(v string) predicate.Customer

BillingAddressLine2GT applies the GT predicate on the "billing_address_line2" field.

func BillingAddressLine2GTE

func BillingAddressLine2GTE(v string) predicate.Customer

BillingAddressLine2GTE applies the GTE predicate on the "billing_address_line2" field.

func BillingAddressLine2HasPrefix

func BillingAddressLine2HasPrefix(v string) predicate.Customer

BillingAddressLine2HasPrefix applies the HasPrefix predicate on the "billing_address_line2" field.

func BillingAddressLine2HasSuffix

func BillingAddressLine2HasSuffix(v string) predicate.Customer

BillingAddressLine2HasSuffix applies the HasSuffix predicate on the "billing_address_line2" field.

func BillingAddressLine2In

func BillingAddressLine2In(vs ...string) predicate.Customer

BillingAddressLine2In applies the In predicate on the "billing_address_line2" field.

func BillingAddressLine2IsNil

func BillingAddressLine2IsNil() predicate.Customer

BillingAddressLine2IsNil applies the IsNil predicate on the "billing_address_line2" field.

func BillingAddressLine2LT

func BillingAddressLine2LT(v string) predicate.Customer

BillingAddressLine2LT applies the LT predicate on the "billing_address_line2" field.

func BillingAddressLine2LTE

func BillingAddressLine2LTE(v string) predicate.Customer

BillingAddressLine2LTE applies the LTE predicate on the "billing_address_line2" field.

func BillingAddressLine2NEQ

func BillingAddressLine2NEQ(v string) predicate.Customer

BillingAddressLine2NEQ applies the NEQ predicate on the "billing_address_line2" field.

func BillingAddressLine2NotIn

func BillingAddressLine2NotIn(vs ...string) predicate.Customer

BillingAddressLine2NotIn applies the NotIn predicate on the "billing_address_line2" field.

func BillingAddressLine2NotNil

func BillingAddressLine2NotNil() predicate.Customer

BillingAddressLine2NotNil applies the NotNil predicate on the "billing_address_line2" field.

func BillingAddressPhoneNumber

func BillingAddressPhoneNumber(v string) predicate.Customer

BillingAddressPhoneNumber applies equality check predicate on the "billing_address_phone_number" field. It's identical to BillingAddressPhoneNumberEQ.

func BillingAddressPhoneNumberContains

func BillingAddressPhoneNumberContains(v string) predicate.Customer

BillingAddressPhoneNumberContains applies the Contains predicate on the "billing_address_phone_number" field.

func BillingAddressPhoneNumberContainsFold

func BillingAddressPhoneNumberContainsFold(v string) predicate.Customer

BillingAddressPhoneNumberContainsFold applies the ContainsFold predicate on the "billing_address_phone_number" field.

func BillingAddressPhoneNumberEQ

func BillingAddressPhoneNumberEQ(v string) predicate.Customer

BillingAddressPhoneNumberEQ applies the EQ predicate on the "billing_address_phone_number" field.

func BillingAddressPhoneNumberEqualFold

func BillingAddressPhoneNumberEqualFold(v string) predicate.Customer

BillingAddressPhoneNumberEqualFold applies the EqualFold predicate on the "billing_address_phone_number" field.

func BillingAddressPhoneNumberGT

func BillingAddressPhoneNumberGT(v string) predicate.Customer

BillingAddressPhoneNumberGT applies the GT predicate on the "billing_address_phone_number" field.

func BillingAddressPhoneNumberGTE

func BillingAddressPhoneNumberGTE(v string) predicate.Customer

BillingAddressPhoneNumberGTE applies the GTE predicate on the "billing_address_phone_number" field.

func BillingAddressPhoneNumberHasPrefix

func BillingAddressPhoneNumberHasPrefix(v string) predicate.Customer

BillingAddressPhoneNumberHasPrefix applies the HasPrefix predicate on the "billing_address_phone_number" field.

func BillingAddressPhoneNumberHasSuffix

func BillingAddressPhoneNumberHasSuffix(v string) predicate.Customer

BillingAddressPhoneNumberHasSuffix applies the HasSuffix predicate on the "billing_address_phone_number" field.

func BillingAddressPhoneNumberIn

func BillingAddressPhoneNumberIn(vs ...string) predicate.Customer

BillingAddressPhoneNumberIn applies the In predicate on the "billing_address_phone_number" field.

func BillingAddressPhoneNumberIsNil

func BillingAddressPhoneNumberIsNil() predicate.Customer

BillingAddressPhoneNumberIsNil applies the IsNil predicate on the "billing_address_phone_number" field.

func BillingAddressPhoneNumberLT

func BillingAddressPhoneNumberLT(v string) predicate.Customer

BillingAddressPhoneNumberLT applies the LT predicate on the "billing_address_phone_number" field.

func BillingAddressPhoneNumberLTE

func BillingAddressPhoneNumberLTE(v string) predicate.Customer

BillingAddressPhoneNumberLTE applies the LTE predicate on the "billing_address_phone_number" field.

func BillingAddressPhoneNumberNEQ

func BillingAddressPhoneNumberNEQ(v string) predicate.Customer

BillingAddressPhoneNumberNEQ applies the NEQ predicate on the "billing_address_phone_number" field.

func BillingAddressPhoneNumberNotIn

func BillingAddressPhoneNumberNotIn(vs ...string) predicate.Customer

BillingAddressPhoneNumberNotIn applies the NotIn predicate on the "billing_address_phone_number" field.

func BillingAddressPhoneNumberNotNil

func BillingAddressPhoneNumberNotNil() predicate.Customer

BillingAddressPhoneNumberNotNil applies the NotNil predicate on the "billing_address_phone_number" field.

func BillingAddressPostalCode

func BillingAddressPostalCode(v string) predicate.Customer

BillingAddressPostalCode applies equality check predicate on the "billing_address_postal_code" field. It's identical to BillingAddressPostalCodeEQ.

func BillingAddressPostalCodeContains

func BillingAddressPostalCodeContains(v string) predicate.Customer

BillingAddressPostalCodeContains applies the Contains predicate on the "billing_address_postal_code" field.

func BillingAddressPostalCodeContainsFold

func BillingAddressPostalCodeContainsFold(v string) predicate.Customer

BillingAddressPostalCodeContainsFold applies the ContainsFold predicate on the "billing_address_postal_code" field.

func BillingAddressPostalCodeEQ

func BillingAddressPostalCodeEQ(v string) predicate.Customer

BillingAddressPostalCodeEQ applies the EQ predicate on the "billing_address_postal_code" field.

func BillingAddressPostalCodeEqualFold

func BillingAddressPostalCodeEqualFold(v string) predicate.Customer

BillingAddressPostalCodeEqualFold applies the EqualFold predicate on the "billing_address_postal_code" field.

func BillingAddressPostalCodeGT

func BillingAddressPostalCodeGT(v string) predicate.Customer

BillingAddressPostalCodeGT applies the GT predicate on the "billing_address_postal_code" field.

func BillingAddressPostalCodeGTE

func BillingAddressPostalCodeGTE(v string) predicate.Customer

BillingAddressPostalCodeGTE applies the GTE predicate on the "billing_address_postal_code" field.

func BillingAddressPostalCodeHasPrefix

func BillingAddressPostalCodeHasPrefix(v string) predicate.Customer

BillingAddressPostalCodeHasPrefix applies the HasPrefix predicate on the "billing_address_postal_code" field.

func BillingAddressPostalCodeHasSuffix

func BillingAddressPostalCodeHasSuffix(v string) predicate.Customer

BillingAddressPostalCodeHasSuffix applies the HasSuffix predicate on the "billing_address_postal_code" field.

func BillingAddressPostalCodeIn

func BillingAddressPostalCodeIn(vs ...string) predicate.Customer

BillingAddressPostalCodeIn applies the In predicate on the "billing_address_postal_code" field.

func BillingAddressPostalCodeIsNil

func BillingAddressPostalCodeIsNil() predicate.Customer

BillingAddressPostalCodeIsNil applies the IsNil predicate on the "billing_address_postal_code" field.

func BillingAddressPostalCodeLT

func BillingAddressPostalCodeLT(v string) predicate.Customer

BillingAddressPostalCodeLT applies the LT predicate on the "billing_address_postal_code" field.

func BillingAddressPostalCodeLTE

func BillingAddressPostalCodeLTE(v string) predicate.Customer

BillingAddressPostalCodeLTE applies the LTE predicate on the "billing_address_postal_code" field.

func BillingAddressPostalCodeNEQ

func BillingAddressPostalCodeNEQ(v string) predicate.Customer

BillingAddressPostalCodeNEQ applies the NEQ predicate on the "billing_address_postal_code" field.

func BillingAddressPostalCodeNotIn

func BillingAddressPostalCodeNotIn(vs ...string) predicate.Customer

BillingAddressPostalCodeNotIn applies the NotIn predicate on the "billing_address_postal_code" field.

func BillingAddressPostalCodeNotNil

func BillingAddressPostalCodeNotNil() predicate.Customer

BillingAddressPostalCodeNotNil applies the NotNil predicate on the "billing_address_postal_code" field.

func BillingAddressState

func BillingAddressState(v string) predicate.Customer

BillingAddressState applies equality check predicate on the "billing_address_state" field. It's identical to BillingAddressStateEQ.

func BillingAddressStateContains

func BillingAddressStateContains(v string) predicate.Customer

BillingAddressStateContains applies the Contains predicate on the "billing_address_state" field.

func BillingAddressStateContainsFold

func BillingAddressStateContainsFold(v string) predicate.Customer

BillingAddressStateContainsFold applies the ContainsFold predicate on the "billing_address_state" field.

func BillingAddressStateEQ

func BillingAddressStateEQ(v string) predicate.Customer

BillingAddressStateEQ applies the EQ predicate on the "billing_address_state" field.

func BillingAddressStateEqualFold

func BillingAddressStateEqualFold(v string) predicate.Customer

BillingAddressStateEqualFold applies the EqualFold predicate on the "billing_address_state" field.

func BillingAddressStateGT

func BillingAddressStateGT(v string) predicate.Customer

BillingAddressStateGT applies the GT predicate on the "billing_address_state" field.

func BillingAddressStateGTE

func BillingAddressStateGTE(v string) predicate.Customer

BillingAddressStateGTE applies the GTE predicate on the "billing_address_state" field.

func BillingAddressStateHasPrefix

func BillingAddressStateHasPrefix(v string) predicate.Customer

BillingAddressStateHasPrefix applies the HasPrefix predicate on the "billing_address_state" field.

func BillingAddressStateHasSuffix

func BillingAddressStateHasSuffix(v string) predicate.Customer

BillingAddressStateHasSuffix applies the HasSuffix predicate on the "billing_address_state" field.

func BillingAddressStateIn

func BillingAddressStateIn(vs ...string) predicate.Customer

BillingAddressStateIn applies the In predicate on the "billing_address_state" field.

func BillingAddressStateIsNil

func BillingAddressStateIsNil() predicate.Customer

BillingAddressStateIsNil applies the IsNil predicate on the "billing_address_state" field.

func BillingAddressStateLT

func BillingAddressStateLT(v string) predicate.Customer

BillingAddressStateLT applies the LT predicate on the "billing_address_state" field.

func BillingAddressStateLTE

func BillingAddressStateLTE(v string) predicate.Customer

BillingAddressStateLTE applies the LTE predicate on the "billing_address_state" field.

func BillingAddressStateNEQ

func BillingAddressStateNEQ(v string) predicate.Customer

BillingAddressStateNEQ applies the NEQ predicate on the "billing_address_state" field.

func BillingAddressStateNotIn

func BillingAddressStateNotIn(vs ...string) predicate.Customer

BillingAddressStateNotIn applies the NotIn predicate on the "billing_address_state" field.

func BillingAddressStateNotNil

func BillingAddressStateNotNil() predicate.Customer

BillingAddressStateNotNil applies the NotNil predicate on the "billing_address_state" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Customer

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Customer

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Customer

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Customer

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Customer

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Customer

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Customer

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

func CreatedAtNotIn

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

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

func Currency

func Currency(v currencyx.Code) predicate.Customer

Currency applies equality check predicate on the "currency" field. It's identical to CurrencyEQ.

func CurrencyContains

func CurrencyContains(v currencyx.Code) predicate.Customer

CurrencyContains applies the Contains predicate on the "currency" field.

func CurrencyContainsFold

func CurrencyContainsFold(v currencyx.Code) predicate.Customer

CurrencyContainsFold applies the ContainsFold predicate on the "currency" field.

func CurrencyEQ

func CurrencyEQ(v currencyx.Code) predicate.Customer

CurrencyEQ applies the EQ predicate on the "currency" field.

func CurrencyEqualFold

func CurrencyEqualFold(v currencyx.Code) predicate.Customer

CurrencyEqualFold applies the EqualFold predicate on the "currency" field.

func CurrencyGT

func CurrencyGT(v currencyx.Code) predicate.Customer

CurrencyGT applies the GT predicate on the "currency" field.

func CurrencyGTE

func CurrencyGTE(v currencyx.Code) predicate.Customer

CurrencyGTE applies the GTE predicate on the "currency" field.

func CurrencyHasPrefix

func CurrencyHasPrefix(v currencyx.Code) predicate.Customer

CurrencyHasPrefix applies the HasPrefix predicate on the "currency" field.

func CurrencyHasSuffix

func CurrencyHasSuffix(v currencyx.Code) predicate.Customer

CurrencyHasSuffix applies the HasSuffix predicate on the "currency" field.

func CurrencyIn

func CurrencyIn(vs ...currencyx.Code) predicate.Customer

CurrencyIn applies the In predicate on the "currency" field.

func CurrencyIsNil

func CurrencyIsNil() predicate.Customer

CurrencyIsNil applies the IsNil predicate on the "currency" field.

func CurrencyLT

func CurrencyLT(v currencyx.Code) predicate.Customer

CurrencyLT applies the LT predicate on the "currency" field.

func CurrencyLTE

func CurrencyLTE(v currencyx.Code) predicate.Customer

CurrencyLTE applies the LTE predicate on the "currency" field.

func CurrencyNEQ

func CurrencyNEQ(v currencyx.Code) predicate.Customer

CurrencyNEQ applies the NEQ predicate on the "currency" field.

func CurrencyNotIn

func CurrencyNotIn(vs ...currencyx.Code) predicate.Customer

CurrencyNotIn applies the NotIn predicate on the "currency" field.

func CurrencyNotNil

func CurrencyNotNil() predicate.Customer

CurrencyNotNil applies the NotNil predicate on the "currency" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.Customer

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Customer

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Customer

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Customer

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.Customer

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Customer

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Customer

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Customer

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.Customer

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

func Description

func Description(v string) predicate.Customer

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

func DescriptionContains

func DescriptionContains(v string) predicate.Customer

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Customer

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.Customer

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Customer

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

func DescriptionGT

func DescriptionGT(v string) predicate.Customer

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.Customer

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Customer

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Customer

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

func DescriptionIn

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

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

func DescriptionIsNil

func DescriptionIsNil() predicate.Customer

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

func DescriptionLT

func DescriptionLT(v string) predicate.Customer

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.Customer

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Customer

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

func DescriptionNotIn

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

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

func DescriptionNotNil

func DescriptionNotNil() predicate.Customer

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

func HasApps

func HasApps() predicate.Customer

HasApps applies the HasEdge predicate on the "apps" edge.

func HasAppsWith

func HasAppsWith(preds ...predicate.AppCustomer) predicate.Customer

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

func HasBillingCustomerOverride

func HasBillingCustomerOverride() predicate.Customer

HasBillingCustomerOverride applies the HasEdge predicate on the "billing_customer_override" edge.

func HasBillingCustomerOverrideWith

func HasBillingCustomerOverrideWith(preds ...predicate.BillingCustomerOverride) predicate.Customer

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

func HasBillingInvoice

func HasBillingInvoice() predicate.Customer

HasBillingInvoice applies the HasEdge predicate on the "billing_invoice" edge.

func HasBillingInvoiceWith

func HasBillingInvoiceWith(preds ...predicate.BillingInvoice) predicate.Customer

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

func HasChargesCreditPurchase

func HasChargesCreditPurchase() predicate.Customer

HasChargesCreditPurchase applies the HasEdge predicate on the "charges_credit_purchase" edge.

func HasChargesCreditPurchaseWith

func HasChargesCreditPurchaseWith(preds ...predicate.ChargeCreditPurchase) predicate.Customer

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

func HasChargesFlatFee

func HasChargesFlatFee() predicate.Customer

HasChargesFlatFee applies the HasEdge predicate on the "charges_flat_fee" edge.

func HasChargesFlatFeeWith

func HasChargesFlatFeeWith(preds ...predicate.ChargeFlatFee) predicate.Customer

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

func HasChargesUsageBased

func HasChargesUsageBased() predicate.Customer

HasChargesUsageBased applies the HasEdge predicate on the "charges_usage_based" edge.

func HasChargesUsageBasedWith

func HasChargesUsageBasedWith(preds ...predicate.ChargeUsageBased) predicate.Customer

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

func HasEntitlements

func HasEntitlements() predicate.Customer

HasEntitlements applies the HasEdge predicate on the "entitlements" edge.

func HasEntitlementsWith

func HasEntitlementsWith(preds ...predicate.Entitlement) predicate.Customer

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

func HasSubjects

func HasSubjects() predicate.Customer

HasSubjects applies the HasEdge predicate on the "subjects" edge.

func HasSubjectsWith

func HasSubjectsWith(preds ...predicate.CustomerSubjects) predicate.Customer

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

func HasSubscription

func HasSubscription() predicate.Customer

HasSubscription applies the HasEdge predicate on the "subscription" edge.

func HasSubscriptionWith

func HasSubscriptionWith(preds ...predicate.Subscription) predicate.Customer

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

func ID

func ID(id string) predicate.Customer

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.Customer

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.Customer

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.Customer

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Customer

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Customer

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Customer

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Customer

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Customer

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Key

func Key(v string) predicate.Customer

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

func KeyContains

func KeyContains(v string) predicate.Customer

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

func KeyContainsFold

func KeyContainsFold(v string) predicate.Customer

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

func KeyEQ

func KeyEQ(v string) predicate.Customer

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

func KeyEqualFold

func KeyEqualFold(v string) predicate.Customer

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

func KeyGT

func KeyGT(v string) predicate.Customer

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

func KeyGTE

func KeyGTE(v string) predicate.Customer

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

func KeyHasPrefix

func KeyHasPrefix(v string) predicate.Customer

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

func KeyHasSuffix

func KeyHasSuffix(v string) predicate.Customer

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

func KeyIn

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

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

func KeyIsNil

func KeyIsNil() predicate.Customer

KeyIsNil applies the IsNil predicate on the "key" field.

func KeyLT

func KeyLT(v string) predicate.Customer

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

func KeyLTE

func KeyLTE(v string) predicate.Customer

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

func KeyNEQ

func KeyNEQ(v string) predicate.Customer

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

func KeyNotIn

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

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

func KeyNotNil

func KeyNotNil() predicate.Customer

KeyNotNil applies the NotNil predicate on the "key" field.

func MetadataIsNil

func MetadataIsNil() predicate.Customer

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

func MetadataNotNil

func MetadataNotNil() predicate.Customer

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

func Name

func Name(v string) predicate.Customer

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

func NameContains

func NameContains(v string) predicate.Customer

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

func NameContainsFold

func NameContainsFold(v string) predicate.Customer

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

func NameEQ

func NameEQ(v string) predicate.Customer

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

func NameEqualFold

func NameEqualFold(v string) predicate.Customer

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

func NameGT

func NameGT(v string) predicate.Customer

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

func NameGTE

func NameGTE(v string) predicate.Customer

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.Customer

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.Customer

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.Customer

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

func NameLTE

func NameLTE(v string) predicate.Customer

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

func NameNEQ

func NameNEQ(v string) predicate.Customer

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

func NameNotIn

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

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

func Namespace

func Namespace(v string) predicate.Customer

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

func NamespaceContains

func NamespaceContains(v string) predicate.Customer

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

func NamespaceContainsFold

func NamespaceContainsFold(v string) predicate.Customer

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

func NamespaceEQ

func NamespaceEQ(v string) predicate.Customer

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

func NamespaceEqualFold

func NamespaceEqualFold(v string) predicate.Customer

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

func NamespaceGT

func NamespaceGT(v string) predicate.Customer

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

func NamespaceGTE

func NamespaceGTE(v string) predicate.Customer

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

func NamespaceHasPrefix

func NamespaceHasPrefix(v string) predicate.Customer

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

func NamespaceHasSuffix

func NamespaceHasSuffix(v string) predicate.Customer

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

func NamespaceIn

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

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

func NamespaceLT

func NamespaceLT(v string) predicate.Customer

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

func NamespaceLTE

func NamespaceLTE(v string) predicate.Customer

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

func NamespaceNEQ

func NamespaceNEQ(v string) predicate.Customer

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

func NamespaceNotIn

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

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.Customer) predicate.Customer

Or groups predicates with the OR operator between them.

func PrimaryEmail

func PrimaryEmail(v string) predicate.Customer

PrimaryEmail applies equality check predicate on the "primary_email" field. It's identical to PrimaryEmailEQ.

func PrimaryEmailContains

func PrimaryEmailContains(v string) predicate.Customer

PrimaryEmailContains applies the Contains predicate on the "primary_email" field.

func PrimaryEmailContainsFold

func PrimaryEmailContainsFold(v string) predicate.Customer

PrimaryEmailContainsFold applies the ContainsFold predicate on the "primary_email" field.

func PrimaryEmailEQ

func PrimaryEmailEQ(v string) predicate.Customer

PrimaryEmailEQ applies the EQ predicate on the "primary_email" field.

func PrimaryEmailEqualFold

func PrimaryEmailEqualFold(v string) predicate.Customer

PrimaryEmailEqualFold applies the EqualFold predicate on the "primary_email" field.

func PrimaryEmailGT

func PrimaryEmailGT(v string) predicate.Customer

PrimaryEmailGT applies the GT predicate on the "primary_email" field.

func PrimaryEmailGTE

func PrimaryEmailGTE(v string) predicate.Customer

PrimaryEmailGTE applies the GTE predicate on the "primary_email" field.

func PrimaryEmailHasPrefix

func PrimaryEmailHasPrefix(v string) predicate.Customer

PrimaryEmailHasPrefix applies the HasPrefix predicate on the "primary_email" field.

func PrimaryEmailHasSuffix

func PrimaryEmailHasSuffix(v string) predicate.Customer

PrimaryEmailHasSuffix applies the HasSuffix predicate on the "primary_email" field.

func PrimaryEmailIn

func PrimaryEmailIn(vs ...string) predicate.Customer

PrimaryEmailIn applies the In predicate on the "primary_email" field.

func PrimaryEmailIsNil

func PrimaryEmailIsNil() predicate.Customer

PrimaryEmailIsNil applies the IsNil predicate on the "primary_email" field.

func PrimaryEmailLT

func PrimaryEmailLT(v string) predicate.Customer

PrimaryEmailLT applies the LT predicate on the "primary_email" field.

func PrimaryEmailLTE

func PrimaryEmailLTE(v string) predicate.Customer

PrimaryEmailLTE applies the LTE predicate on the "primary_email" field.

func PrimaryEmailNEQ

func PrimaryEmailNEQ(v string) predicate.Customer

PrimaryEmailNEQ applies the NEQ predicate on the "primary_email" field.

func PrimaryEmailNotIn

func PrimaryEmailNotIn(vs ...string) predicate.Customer

PrimaryEmailNotIn applies the NotIn predicate on the "primary_email" field.

func PrimaryEmailNotNil

func PrimaryEmailNotNil() predicate.Customer

PrimaryEmailNotNil applies the NotNil predicate on the "primary_email" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Customer

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Customer

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Customer

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Customer

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Customer

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Customer

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Customer

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

func UpdatedAtNotIn

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

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 Customer queries.

func ByApps

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

ByApps orders the results by apps terms.

func ByAppsCount

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

ByAppsCount orders the results by apps count.

func ByBillingAddressCity

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

ByBillingAddressCity orders the results by the billing_address_city field.

func ByBillingAddressCountry

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

ByBillingAddressCountry orders the results by the billing_address_country field.

func ByBillingAddressLine1

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

ByBillingAddressLine1 orders the results by the billing_address_line1 field.

func ByBillingAddressLine2

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

ByBillingAddressLine2 orders the results by the billing_address_line2 field.

func ByBillingAddressPhoneNumber

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

ByBillingAddressPhoneNumber orders the results by the billing_address_phone_number field.

func ByBillingAddressPostalCode

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

ByBillingAddressPostalCode orders the results by the billing_address_postal_code field.

func ByBillingAddressState

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

ByBillingAddressState orders the results by the billing_address_state field.

func ByBillingCustomerOverrideField

func ByBillingCustomerOverrideField(field string, opts ...sql.OrderTermOption) OrderOption

ByBillingCustomerOverrideField orders the results by billing_customer_override field.

func ByBillingInvoice

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

ByBillingInvoice orders the results by billing_invoice terms.

func ByBillingInvoiceCount

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

ByBillingInvoiceCount orders the results by billing_invoice count.

func ByChargesCreditPurchase

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

ByChargesCreditPurchase orders the results by charges_credit_purchase terms.

func ByChargesCreditPurchaseCount

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

ByChargesCreditPurchaseCount orders the results by charges_credit_purchase count.

func ByChargesFlatFee

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

ByChargesFlatFee orders the results by charges_flat_fee terms.

func ByChargesFlatFeeCount

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

ByChargesFlatFeeCount orders the results by charges_flat_fee count.

func ByChargesUsageBased

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

ByChargesUsageBased orders the results by charges_usage_based terms.

func ByChargesUsageBasedCount

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

ByChargesUsageBasedCount orders the results by charges_usage_based count.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCurrency

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

ByCurrency orders the results by the currency 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 ByEntitlements

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

ByEntitlements orders the results by entitlements terms.

func ByEntitlementsCount

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

ByEntitlementsCount orders the results by entitlements count.

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 ByPrimaryEmail

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

ByPrimaryEmail orders the results by the primary_email field.

func BySubjects

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

BySubjects orders the results by subjects terms.

func BySubjectsCount

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

BySubjectsCount orders the results by subjects count.

func BySubscription

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

BySubscription orders the results by subscription terms.

func BySubscriptionCount

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

BySubscriptionCount orders the results by subscription 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