customer

package
v1.0.0-beta.186 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: Apache-2.0 Imports: 7 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"
	// 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"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldPrimaryEmail holds the string denoting the primary_email field in the database.
	FieldPrimaryEmail = "primary_email"
	// FieldTimezone holds the string denoting the timezone field in the database.
	FieldTimezone = "timezone"
	// FieldCurrency holds the string denoting the currency field in the database.
	FieldCurrency = "currency"
	// FieldExternalMappingStripeCustomerID holds the string denoting the external_mapping_stripe_customer_id field in the database.
	FieldExternalMappingStripeCustomerID = "external_mapping_stripe_customer_id"
	// 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"
	// Table holds the table name of the customer in the database.
	Table = "customers"
	// 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"
)

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 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 ExternalMappingStripeCustomerID

func ExternalMappingStripeCustomerID(v string) predicate.Customer

ExternalMappingStripeCustomerID applies equality check predicate on the "external_mapping_stripe_customer_id" field. It's identical to ExternalMappingStripeCustomerIDEQ.

func ExternalMappingStripeCustomerIDContains

func ExternalMappingStripeCustomerIDContains(v string) predicate.Customer

ExternalMappingStripeCustomerIDContains applies the Contains predicate on the "external_mapping_stripe_customer_id" field.

func ExternalMappingStripeCustomerIDContainsFold

func ExternalMappingStripeCustomerIDContainsFold(v string) predicate.Customer

ExternalMappingStripeCustomerIDContainsFold applies the ContainsFold predicate on the "external_mapping_stripe_customer_id" field.

func ExternalMappingStripeCustomerIDEQ

func ExternalMappingStripeCustomerIDEQ(v string) predicate.Customer

ExternalMappingStripeCustomerIDEQ applies the EQ predicate on the "external_mapping_stripe_customer_id" field.

func ExternalMappingStripeCustomerIDEqualFold

func ExternalMappingStripeCustomerIDEqualFold(v string) predicate.Customer

ExternalMappingStripeCustomerIDEqualFold applies the EqualFold predicate on the "external_mapping_stripe_customer_id" field.

func ExternalMappingStripeCustomerIDGT

func ExternalMappingStripeCustomerIDGT(v string) predicate.Customer

ExternalMappingStripeCustomerIDGT applies the GT predicate on the "external_mapping_stripe_customer_id" field.

func ExternalMappingStripeCustomerIDGTE

func ExternalMappingStripeCustomerIDGTE(v string) predicate.Customer

ExternalMappingStripeCustomerIDGTE applies the GTE predicate on the "external_mapping_stripe_customer_id" field.

func ExternalMappingStripeCustomerIDHasPrefix

func ExternalMappingStripeCustomerIDHasPrefix(v string) predicate.Customer

ExternalMappingStripeCustomerIDHasPrefix applies the HasPrefix predicate on the "external_mapping_stripe_customer_id" field.

func ExternalMappingStripeCustomerIDHasSuffix

func ExternalMappingStripeCustomerIDHasSuffix(v string) predicate.Customer

ExternalMappingStripeCustomerIDHasSuffix applies the HasSuffix predicate on the "external_mapping_stripe_customer_id" field.

func ExternalMappingStripeCustomerIDIn

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

ExternalMappingStripeCustomerIDIn applies the In predicate on the "external_mapping_stripe_customer_id" field.

func ExternalMappingStripeCustomerIDIsNil

func ExternalMappingStripeCustomerIDIsNil() predicate.Customer

ExternalMappingStripeCustomerIDIsNil applies the IsNil predicate on the "external_mapping_stripe_customer_id" field.

func ExternalMappingStripeCustomerIDLT

func ExternalMappingStripeCustomerIDLT(v string) predicate.Customer

ExternalMappingStripeCustomerIDLT applies the LT predicate on the "external_mapping_stripe_customer_id" field.

func ExternalMappingStripeCustomerIDLTE

func ExternalMappingStripeCustomerIDLTE(v string) predicate.Customer

ExternalMappingStripeCustomerIDLTE applies the LTE predicate on the "external_mapping_stripe_customer_id" field.

func ExternalMappingStripeCustomerIDNEQ

func ExternalMappingStripeCustomerIDNEQ(v string) predicate.Customer

ExternalMappingStripeCustomerIDNEQ applies the NEQ predicate on the "external_mapping_stripe_customer_id" field.

func ExternalMappingStripeCustomerIDNotIn

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

ExternalMappingStripeCustomerIDNotIn applies the NotIn predicate on the "external_mapping_stripe_customer_id" field.

func ExternalMappingStripeCustomerIDNotNil

func ExternalMappingStripeCustomerIDNotNil() predicate.Customer

ExternalMappingStripeCustomerIDNotNil applies the NotNil predicate on the "external_mapping_stripe_customer_id" field.

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 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 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 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 Timezone

func Timezone(v timezone.Timezone) predicate.Customer

Timezone applies equality check predicate on the "timezone" field. It's identical to TimezoneEQ.

func TimezoneContains

func TimezoneContains(v timezone.Timezone) predicate.Customer

TimezoneContains applies the Contains predicate on the "timezone" field.

func TimezoneContainsFold

func TimezoneContainsFold(v timezone.Timezone) predicate.Customer

TimezoneContainsFold applies the ContainsFold predicate on the "timezone" field.

func TimezoneEQ

func TimezoneEQ(v timezone.Timezone) predicate.Customer

TimezoneEQ applies the EQ predicate on the "timezone" field.

func TimezoneEqualFold

func TimezoneEqualFold(v timezone.Timezone) predicate.Customer

TimezoneEqualFold applies the EqualFold predicate on the "timezone" field.

func TimezoneGT

func TimezoneGT(v timezone.Timezone) predicate.Customer

TimezoneGT applies the GT predicate on the "timezone" field.

func TimezoneGTE

func TimezoneGTE(v timezone.Timezone) predicate.Customer

TimezoneGTE applies the GTE predicate on the "timezone" field.

func TimezoneHasPrefix

func TimezoneHasPrefix(v timezone.Timezone) predicate.Customer

TimezoneHasPrefix applies the HasPrefix predicate on the "timezone" field.

func TimezoneHasSuffix

func TimezoneHasSuffix(v timezone.Timezone) predicate.Customer

TimezoneHasSuffix applies the HasSuffix predicate on the "timezone" field.

func TimezoneIn

func TimezoneIn(vs ...timezone.Timezone) predicate.Customer

TimezoneIn applies the In predicate on the "timezone" field.

func TimezoneIsNil

func TimezoneIsNil() predicate.Customer

TimezoneIsNil applies the IsNil predicate on the "timezone" field.

func TimezoneLT

func TimezoneLT(v timezone.Timezone) predicate.Customer

TimezoneLT applies the LT predicate on the "timezone" field.

func TimezoneLTE

func TimezoneLTE(v timezone.Timezone) predicate.Customer

TimezoneLTE applies the LTE predicate on the "timezone" field.

func TimezoneNEQ

func TimezoneNEQ(v timezone.Timezone) predicate.Customer

TimezoneNEQ applies the NEQ predicate on the "timezone" field.

func TimezoneNotIn

func TimezoneNotIn(vs ...timezone.Timezone) predicate.Customer

TimezoneNotIn applies the NotIn predicate on the "timezone" field.

func TimezoneNotNil

func TimezoneNotNil() predicate.Customer

TimezoneNotNil applies the NotNil predicate on the "timezone" 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 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 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 ByExternalMappingStripeCustomerID

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

ByExternalMappingStripeCustomerID orders the results by the external_mapping_stripe_customer_id field.

func ByID

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

ByID orders the results by the id 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 ByTimezone

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

ByTimezone orders the results by the timezone field.

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