Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Customer) predicate.Customer
- func AnnotationsIsNil() predicate.Customer
- func AnnotationsNotNil() predicate.Customer
- func BillingAddressCity(v string) predicate.Customer
- func BillingAddressCityContains(v string) predicate.Customer
- func BillingAddressCityContainsFold(v string) predicate.Customer
- func BillingAddressCityEQ(v string) predicate.Customer
- func BillingAddressCityEqualFold(v string) predicate.Customer
- func BillingAddressCityGT(v string) predicate.Customer
- func BillingAddressCityGTE(v string) predicate.Customer
- func BillingAddressCityHasPrefix(v string) predicate.Customer
- func BillingAddressCityHasSuffix(v string) predicate.Customer
- func BillingAddressCityIn(vs ...string) predicate.Customer
- func BillingAddressCityIsNil() predicate.Customer
- func BillingAddressCityLT(v string) predicate.Customer
- func BillingAddressCityLTE(v string) predicate.Customer
- func BillingAddressCityNEQ(v string) predicate.Customer
- func BillingAddressCityNotIn(vs ...string) predicate.Customer
- func BillingAddressCityNotNil() predicate.Customer
- func BillingAddressCountry(v models.CountryCode) predicate.Customer
- func BillingAddressCountryContains(v models.CountryCode) predicate.Customer
- func BillingAddressCountryContainsFold(v models.CountryCode) predicate.Customer
- func BillingAddressCountryEQ(v models.CountryCode) predicate.Customer
- func BillingAddressCountryEqualFold(v models.CountryCode) predicate.Customer
- func BillingAddressCountryGT(v models.CountryCode) predicate.Customer
- func BillingAddressCountryGTE(v models.CountryCode) predicate.Customer
- func BillingAddressCountryHasPrefix(v models.CountryCode) predicate.Customer
- func BillingAddressCountryHasSuffix(v models.CountryCode) predicate.Customer
- func BillingAddressCountryIn(vs ...models.CountryCode) predicate.Customer
- func BillingAddressCountryIsNil() predicate.Customer
- func BillingAddressCountryLT(v models.CountryCode) predicate.Customer
- func BillingAddressCountryLTE(v models.CountryCode) predicate.Customer
- func BillingAddressCountryNEQ(v models.CountryCode) predicate.Customer
- func BillingAddressCountryNotIn(vs ...models.CountryCode) predicate.Customer
- func BillingAddressCountryNotNil() predicate.Customer
- func BillingAddressLine1(v string) predicate.Customer
- func BillingAddressLine1Contains(v string) predicate.Customer
- func BillingAddressLine1ContainsFold(v string) predicate.Customer
- func BillingAddressLine1EQ(v string) predicate.Customer
- func BillingAddressLine1EqualFold(v string) predicate.Customer
- func BillingAddressLine1GT(v string) predicate.Customer
- func BillingAddressLine1GTE(v string) predicate.Customer
- func BillingAddressLine1HasPrefix(v string) predicate.Customer
- func BillingAddressLine1HasSuffix(v string) predicate.Customer
- func BillingAddressLine1In(vs ...string) predicate.Customer
- func BillingAddressLine1IsNil() predicate.Customer
- func BillingAddressLine1LT(v string) predicate.Customer
- func BillingAddressLine1LTE(v string) predicate.Customer
- func BillingAddressLine1NEQ(v string) predicate.Customer
- func BillingAddressLine1NotIn(vs ...string) predicate.Customer
- func BillingAddressLine1NotNil() predicate.Customer
- func BillingAddressLine2(v string) predicate.Customer
- func BillingAddressLine2Contains(v string) predicate.Customer
- func BillingAddressLine2ContainsFold(v string) predicate.Customer
- func BillingAddressLine2EQ(v string) predicate.Customer
- func BillingAddressLine2EqualFold(v string) predicate.Customer
- func BillingAddressLine2GT(v string) predicate.Customer
- func BillingAddressLine2GTE(v string) predicate.Customer
- func BillingAddressLine2HasPrefix(v string) predicate.Customer
- func BillingAddressLine2HasSuffix(v string) predicate.Customer
- func BillingAddressLine2In(vs ...string) predicate.Customer
- func BillingAddressLine2IsNil() predicate.Customer
- func BillingAddressLine2LT(v string) predicate.Customer
- func BillingAddressLine2LTE(v string) predicate.Customer
- func BillingAddressLine2NEQ(v string) predicate.Customer
- func BillingAddressLine2NotIn(vs ...string) predicate.Customer
- func BillingAddressLine2NotNil() predicate.Customer
- func BillingAddressPhoneNumber(v string) predicate.Customer
- func BillingAddressPhoneNumberContains(v string) predicate.Customer
- func BillingAddressPhoneNumberContainsFold(v string) predicate.Customer
- func BillingAddressPhoneNumberEQ(v string) predicate.Customer
- func BillingAddressPhoneNumberEqualFold(v string) predicate.Customer
- func BillingAddressPhoneNumberGT(v string) predicate.Customer
- func BillingAddressPhoneNumberGTE(v string) predicate.Customer
- func BillingAddressPhoneNumberHasPrefix(v string) predicate.Customer
- func BillingAddressPhoneNumberHasSuffix(v string) predicate.Customer
- func BillingAddressPhoneNumberIn(vs ...string) predicate.Customer
- func BillingAddressPhoneNumberIsNil() predicate.Customer
- func BillingAddressPhoneNumberLT(v string) predicate.Customer
- func BillingAddressPhoneNumberLTE(v string) predicate.Customer
- func BillingAddressPhoneNumberNEQ(v string) predicate.Customer
- func BillingAddressPhoneNumberNotIn(vs ...string) predicate.Customer
- func BillingAddressPhoneNumberNotNil() predicate.Customer
- func BillingAddressPostalCode(v string) predicate.Customer
- func BillingAddressPostalCodeContains(v string) predicate.Customer
- func BillingAddressPostalCodeContainsFold(v string) predicate.Customer
- func BillingAddressPostalCodeEQ(v string) predicate.Customer
- func BillingAddressPostalCodeEqualFold(v string) predicate.Customer
- func BillingAddressPostalCodeGT(v string) predicate.Customer
- func BillingAddressPostalCodeGTE(v string) predicate.Customer
- func BillingAddressPostalCodeHasPrefix(v string) predicate.Customer
- func BillingAddressPostalCodeHasSuffix(v string) predicate.Customer
- func BillingAddressPostalCodeIn(vs ...string) predicate.Customer
- func BillingAddressPostalCodeIsNil() predicate.Customer
- func BillingAddressPostalCodeLT(v string) predicate.Customer
- func BillingAddressPostalCodeLTE(v string) predicate.Customer
- func BillingAddressPostalCodeNEQ(v string) predicate.Customer
- func BillingAddressPostalCodeNotIn(vs ...string) predicate.Customer
- func BillingAddressPostalCodeNotNil() predicate.Customer
- func BillingAddressState(v string) predicate.Customer
- func BillingAddressStateContains(v string) predicate.Customer
- func BillingAddressStateContainsFold(v string) predicate.Customer
- func BillingAddressStateEQ(v string) predicate.Customer
- func BillingAddressStateEqualFold(v string) predicate.Customer
- func BillingAddressStateGT(v string) predicate.Customer
- func BillingAddressStateGTE(v string) predicate.Customer
- func BillingAddressStateHasPrefix(v string) predicate.Customer
- func BillingAddressStateHasSuffix(v string) predicate.Customer
- func BillingAddressStateIn(vs ...string) predicate.Customer
- func BillingAddressStateIsNil() predicate.Customer
- func BillingAddressStateLT(v string) predicate.Customer
- func BillingAddressStateLTE(v string) predicate.Customer
- func BillingAddressStateNEQ(v string) predicate.Customer
- func BillingAddressStateNotIn(vs ...string) predicate.Customer
- func BillingAddressStateNotNil() predicate.Customer
- func CreatedAt(v time.Time) predicate.Customer
- func CreatedAtEQ(v time.Time) predicate.Customer
- func CreatedAtGT(v time.Time) predicate.Customer
- func CreatedAtGTE(v time.Time) predicate.Customer
- func CreatedAtIn(vs ...time.Time) predicate.Customer
- func CreatedAtLT(v time.Time) predicate.Customer
- func CreatedAtLTE(v time.Time) predicate.Customer
- func CreatedAtNEQ(v time.Time) predicate.Customer
- func CreatedAtNotIn(vs ...time.Time) predicate.Customer
- func Currency(v currencyx.Code) predicate.Customer
- func CurrencyContains(v currencyx.Code) predicate.Customer
- func CurrencyContainsFold(v currencyx.Code) predicate.Customer
- func CurrencyEQ(v currencyx.Code) predicate.Customer
- func CurrencyEqualFold(v currencyx.Code) predicate.Customer
- func CurrencyGT(v currencyx.Code) predicate.Customer
- func CurrencyGTE(v currencyx.Code) predicate.Customer
- func CurrencyHasPrefix(v currencyx.Code) predicate.Customer
- func CurrencyHasSuffix(v currencyx.Code) predicate.Customer
- func CurrencyIn(vs ...currencyx.Code) predicate.Customer
- func CurrencyIsNil() predicate.Customer
- func CurrencyLT(v currencyx.Code) predicate.Customer
- func CurrencyLTE(v currencyx.Code) predicate.Customer
- func CurrencyNEQ(v currencyx.Code) predicate.Customer
- func CurrencyNotIn(vs ...currencyx.Code) predicate.Customer
- func CurrencyNotNil() predicate.Customer
- func DeletedAt(v time.Time) predicate.Customer
- func DeletedAtEQ(v time.Time) predicate.Customer
- func DeletedAtGT(v time.Time) predicate.Customer
- func DeletedAtGTE(v time.Time) predicate.Customer
- func DeletedAtIn(vs ...time.Time) predicate.Customer
- func DeletedAtIsNil() predicate.Customer
- func DeletedAtLT(v time.Time) predicate.Customer
- func DeletedAtLTE(v time.Time) predicate.Customer
- func DeletedAtNEQ(v time.Time) predicate.Customer
- func DeletedAtNotIn(vs ...time.Time) predicate.Customer
- func DeletedAtNotNil() predicate.Customer
- func Description(v string) predicate.Customer
- func DescriptionContains(v string) predicate.Customer
- func DescriptionContainsFold(v string) predicate.Customer
- func DescriptionEQ(v string) predicate.Customer
- func DescriptionEqualFold(v string) predicate.Customer
- func DescriptionGT(v string) predicate.Customer
- func DescriptionGTE(v string) predicate.Customer
- func DescriptionHasPrefix(v string) predicate.Customer
- func DescriptionHasSuffix(v string) predicate.Customer
- func DescriptionIn(vs ...string) predicate.Customer
- func DescriptionIsNil() predicate.Customer
- func DescriptionLT(v string) predicate.Customer
- func DescriptionLTE(v string) predicate.Customer
- func DescriptionNEQ(v string) predicate.Customer
- func DescriptionNotIn(vs ...string) predicate.Customer
- func DescriptionNotNil() predicate.Customer
- func HasApps() predicate.Customer
- func HasAppsWith(preds ...predicate.AppCustomer) predicate.Customer
- func HasBillingCustomerOverride() predicate.Customer
- func HasBillingCustomerOverrideWith(preds ...predicate.BillingCustomerOverride) predicate.Customer
- func HasBillingInvoice() predicate.Customer
- func HasBillingInvoiceWith(preds ...predicate.BillingInvoice) predicate.Customer
- func HasChargesCreditPurchase() predicate.Customer
- func HasChargesCreditPurchaseWith(preds ...predicate.ChargeCreditPurchase) predicate.Customer
- func HasChargesFlatFee() predicate.Customer
- func HasChargesFlatFeeWith(preds ...predicate.ChargeFlatFee) predicate.Customer
- func HasChargesUsageBased() predicate.Customer
- func HasChargesUsageBasedWith(preds ...predicate.ChargeUsageBased) predicate.Customer
- func HasEntitlements() predicate.Customer
- func HasEntitlementsWith(preds ...predicate.Entitlement) predicate.Customer
- func HasSubjects() predicate.Customer
- func HasSubjectsWith(preds ...predicate.CustomerSubjects) predicate.Customer
- func HasSubscription() predicate.Customer
- func HasSubscriptionWith(preds ...predicate.Subscription) predicate.Customer
- func ID(id string) predicate.Customer
- func IDContainsFold(id string) predicate.Customer
- func IDEQ(id string) predicate.Customer
- func IDEqualFold(id string) predicate.Customer
- func IDGT(id string) predicate.Customer
- func IDGTE(id string) predicate.Customer
- func IDIn(ids ...string) predicate.Customer
- func IDLT(id string) predicate.Customer
- func IDLTE(id string) predicate.Customer
- func IDNEQ(id string) predicate.Customer
- func IDNotIn(ids ...string) predicate.Customer
- func Key(v string) predicate.Customer
- func KeyContains(v string) predicate.Customer
- func KeyContainsFold(v string) predicate.Customer
- func KeyEQ(v string) predicate.Customer
- func KeyEqualFold(v string) predicate.Customer
- func KeyGT(v string) predicate.Customer
- func KeyGTE(v string) predicate.Customer
- func KeyHasPrefix(v string) predicate.Customer
- func KeyHasSuffix(v string) predicate.Customer
- func KeyIn(vs ...string) predicate.Customer
- func KeyIsNil() predicate.Customer
- func KeyLT(v string) predicate.Customer
- func KeyLTE(v string) predicate.Customer
- func KeyNEQ(v string) predicate.Customer
- func KeyNotIn(vs ...string) predicate.Customer
- func KeyNotNil() predicate.Customer
- func MetadataIsNil() predicate.Customer
- func MetadataNotNil() predicate.Customer
- func Name(v string) predicate.Customer
- func NameContains(v string) predicate.Customer
- func NameContainsFold(v string) predicate.Customer
- func NameEQ(v string) predicate.Customer
- func NameEqualFold(v string) predicate.Customer
- func NameGT(v string) predicate.Customer
- func NameGTE(v string) predicate.Customer
- func NameHasPrefix(v string) predicate.Customer
- func NameHasSuffix(v string) predicate.Customer
- func NameIn(vs ...string) predicate.Customer
- func NameLT(v string) predicate.Customer
- func NameLTE(v string) predicate.Customer
- func NameNEQ(v string) predicate.Customer
- func NameNotIn(vs ...string) predicate.Customer
- func Namespace(v string) predicate.Customer
- func NamespaceContains(v string) predicate.Customer
- func NamespaceContainsFold(v string) predicate.Customer
- func NamespaceEQ(v string) predicate.Customer
- func NamespaceEqualFold(v string) predicate.Customer
- func NamespaceGT(v string) predicate.Customer
- func NamespaceGTE(v string) predicate.Customer
- func NamespaceHasPrefix(v string) predicate.Customer
- func NamespaceHasSuffix(v string) predicate.Customer
- func NamespaceIn(vs ...string) predicate.Customer
- func NamespaceLT(v string) predicate.Customer
- func NamespaceLTE(v string) predicate.Customer
- func NamespaceNEQ(v string) predicate.Customer
- func NamespaceNotIn(vs ...string) predicate.Customer
- func Not(p predicate.Customer) predicate.Customer
- func Or(predicates ...predicate.Customer) predicate.Customer
- func PrimaryEmail(v string) predicate.Customer
- func PrimaryEmailContains(v string) predicate.Customer
- func PrimaryEmailContainsFold(v string) predicate.Customer
- func PrimaryEmailEQ(v string) predicate.Customer
- func PrimaryEmailEqualFold(v string) predicate.Customer
- func PrimaryEmailGT(v string) predicate.Customer
- func PrimaryEmailGTE(v string) predicate.Customer
- func PrimaryEmailHasPrefix(v string) predicate.Customer
- func PrimaryEmailHasSuffix(v string) predicate.Customer
- func PrimaryEmailIn(vs ...string) predicate.Customer
- func PrimaryEmailIsNil() predicate.Customer
- func PrimaryEmailLT(v string) predicate.Customer
- func PrimaryEmailLTE(v string) predicate.Customer
- func PrimaryEmailNEQ(v string) predicate.Customer
- func PrimaryEmailNotIn(vs ...string) predicate.Customer
- func PrimaryEmailNotNil() predicate.Customer
- func UpdatedAt(v time.Time) predicate.Customer
- func UpdatedAtEQ(v time.Time) predicate.Customer
- func UpdatedAtGT(v time.Time) predicate.Customer
- func UpdatedAtGTE(v time.Time) predicate.Customer
- func UpdatedAtIn(vs ...time.Time) predicate.Customer
- func UpdatedAtLT(v time.Time) predicate.Customer
- func UpdatedAtLTE(v time.Time) predicate.Customer
- func UpdatedAtNEQ(v time.Time) predicate.Customer
- func UpdatedAtNotIn(vs ...time.Time) predicate.Customer
- func ValidColumn(column string) bool
- type OrderOption
- func ByApps(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByAppsCount(opts ...sql.OrderTermOption) OrderOption
- func ByBillingAddressCity(opts ...sql.OrderTermOption) OrderOption
- func ByBillingAddressCountry(opts ...sql.OrderTermOption) OrderOption
- func ByBillingAddressLine1(opts ...sql.OrderTermOption) OrderOption
- func ByBillingAddressLine2(opts ...sql.OrderTermOption) OrderOption
- func ByBillingAddressPhoneNumber(opts ...sql.OrderTermOption) OrderOption
- func ByBillingAddressPostalCode(opts ...sql.OrderTermOption) OrderOption
- func ByBillingAddressState(opts ...sql.OrderTermOption) OrderOption
- func ByBillingCustomerOverrideField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByBillingInvoice(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByBillingInvoiceCount(opts ...sql.OrderTermOption) OrderOption
- func ByChargesCreditPurchase(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByChargesCreditPurchaseCount(opts ...sql.OrderTermOption) OrderOption
- func ByChargesFlatFee(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByChargesFlatFeeCount(opts ...sql.OrderTermOption) OrderOption
- func ByChargesUsageBased(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByChargesUsageBasedCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCurrency(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByEntitlements(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEntitlementsCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKey(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByNamespace(opts ...sql.OrderTermOption) OrderOption
- func ByPrimaryEmail(opts ...sql.OrderTermOption) OrderOption
- func BySubjects(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySubjectsCount(opts ...sql.OrderTermOption) OrderOption
- func BySubscription(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySubscriptionCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldNamespace, FieldMetadata, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldName, FieldDescription, FieldBillingAddressCountry, FieldBillingAddressPostalCode, FieldBillingAddressState, FieldBillingAddressCity, FieldBillingAddressLine1, FieldBillingAddressLine2, FieldBillingAddressPhoneNumber, FieldAnnotations, FieldKey, FieldPrimaryEmail, FieldCurrency, }
Columns holds all SQL columns for customer fields.
Functions ¶
func AnnotationsIsNil ¶
AnnotationsIsNil applies the IsNil predicate on the "annotations" field.
func AnnotationsNotNil ¶
AnnotationsNotNil applies the NotNil predicate on the "annotations" field.
func BillingAddressCity ¶
BillingAddressCity applies equality check predicate on the "billing_address_city" field. It's identical to BillingAddressCityEQ.
func BillingAddressCityContains ¶
BillingAddressCityContains applies the Contains predicate on the "billing_address_city" field.
func BillingAddressCityContainsFold ¶
BillingAddressCityContainsFold applies the ContainsFold predicate on the "billing_address_city" field.
func BillingAddressCityEQ ¶
BillingAddressCityEQ applies the EQ predicate on the "billing_address_city" field.
func BillingAddressCityEqualFold ¶
BillingAddressCityEqualFold applies the EqualFold predicate on the "billing_address_city" field.
func BillingAddressCityGT ¶
BillingAddressCityGT applies the GT predicate on the "billing_address_city" field.
func BillingAddressCityGTE ¶
BillingAddressCityGTE applies the GTE predicate on the "billing_address_city" field.
func BillingAddressCityHasPrefix ¶
BillingAddressCityHasPrefix applies the HasPrefix predicate on the "billing_address_city" field.
func BillingAddressCityHasSuffix ¶
BillingAddressCityHasSuffix applies the HasSuffix predicate on the "billing_address_city" field.
func BillingAddressCityIn ¶
BillingAddressCityIn applies the In predicate on the "billing_address_city" field.
func BillingAddressCityIsNil ¶
BillingAddressCityIsNil applies the IsNil predicate on the "billing_address_city" field.
func BillingAddressCityLT ¶
BillingAddressCityLT applies the LT predicate on the "billing_address_city" field.
func BillingAddressCityLTE ¶
BillingAddressCityLTE applies the LTE predicate on the "billing_address_city" field.
func BillingAddressCityNEQ ¶
BillingAddressCityNEQ applies the NEQ predicate on the "billing_address_city" field.
func BillingAddressCityNotIn ¶
BillingAddressCityNotIn applies the NotIn predicate on the "billing_address_city" field.
func BillingAddressCityNotNil ¶
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 ¶
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 ¶
BillingAddressCountryNotNil applies the NotNil predicate on the "billing_address_country" field.
func BillingAddressLine1 ¶
BillingAddressLine1 applies equality check predicate on the "billing_address_line1" field. It's identical to BillingAddressLine1EQ.
func BillingAddressLine1Contains ¶
BillingAddressLine1Contains applies the Contains predicate on the "billing_address_line1" field.
func BillingAddressLine1ContainsFold ¶
BillingAddressLine1ContainsFold applies the ContainsFold predicate on the "billing_address_line1" field.
func BillingAddressLine1EQ ¶
BillingAddressLine1EQ applies the EQ predicate on the "billing_address_line1" field.
func BillingAddressLine1EqualFold ¶
BillingAddressLine1EqualFold applies the EqualFold predicate on the "billing_address_line1" field.
func BillingAddressLine1GT ¶
BillingAddressLine1GT applies the GT predicate on the "billing_address_line1" field.
func BillingAddressLine1GTE ¶
BillingAddressLine1GTE applies the GTE predicate on the "billing_address_line1" field.
func BillingAddressLine1HasPrefix ¶
BillingAddressLine1HasPrefix applies the HasPrefix predicate on the "billing_address_line1" field.
func BillingAddressLine1HasSuffix ¶
BillingAddressLine1HasSuffix applies the HasSuffix predicate on the "billing_address_line1" field.
func BillingAddressLine1In ¶
BillingAddressLine1In applies the In predicate on the "billing_address_line1" field.
func BillingAddressLine1IsNil ¶
BillingAddressLine1IsNil applies the IsNil predicate on the "billing_address_line1" field.
func BillingAddressLine1LT ¶
BillingAddressLine1LT applies the LT predicate on the "billing_address_line1" field.
func BillingAddressLine1LTE ¶
BillingAddressLine1LTE applies the LTE predicate on the "billing_address_line1" field.
func BillingAddressLine1NEQ ¶
BillingAddressLine1NEQ applies the NEQ predicate on the "billing_address_line1" field.
func BillingAddressLine1NotIn ¶
BillingAddressLine1NotIn applies the NotIn predicate on the "billing_address_line1" field.
func BillingAddressLine1NotNil ¶
BillingAddressLine1NotNil applies the NotNil predicate on the "billing_address_line1" field.
func BillingAddressLine2 ¶
BillingAddressLine2 applies equality check predicate on the "billing_address_line2" field. It's identical to BillingAddressLine2EQ.
func BillingAddressLine2Contains ¶
BillingAddressLine2Contains applies the Contains predicate on the "billing_address_line2" field.
func BillingAddressLine2ContainsFold ¶
BillingAddressLine2ContainsFold applies the ContainsFold predicate on the "billing_address_line2" field.
func BillingAddressLine2EQ ¶
BillingAddressLine2EQ applies the EQ predicate on the "billing_address_line2" field.
func BillingAddressLine2EqualFold ¶
BillingAddressLine2EqualFold applies the EqualFold predicate on the "billing_address_line2" field.
func BillingAddressLine2GT ¶
BillingAddressLine2GT applies the GT predicate on the "billing_address_line2" field.
func BillingAddressLine2GTE ¶
BillingAddressLine2GTE applies the GTE predicate on the "billing_address_line2" field.
func BillingAddressLine2HasPrefix ¶
BillingAddressLine2HasPrefix applies the HasPrefix predicate on the "billing_address_line2" field.
func BillingAddressLine2HasSuffix ¶
BillingAddressLine2HasSuffix applies the HasSuffix predicate on the "billing_address_line2" field.
func BillingAddressLine2In ¶
BillingAddressLine2In applies the In predicate on the "billing_address_line2" field.
func BillingAddressLine2IsNil ¶
BillingAddressLine2IsNil applies the IsNil predicate on the "billing_address_line2" field.
func BillingAddressLine2LT ¶
BillingAddressLine2LT applies the LT predicate on the "billing_address_line2" field.
func BillingAddressLine2LTE ¶
BillingAddressLine2LTE applies the LTE predicate on the "billing_address_line2" field.
func BillingAddressLine2NEQ ¶
BillingAddressLine2NEQ applies the NEQ predicate on the "billing_address_line2" field.
func BillingAddressLine2NotIn ¶
BillingAddressLine2NotIn applies the NotIn predicate on the "billing_address_line2" field.
func BillingAddressLine2NotNil ¶
BillingAddressLine2NotNil applies the NotNil predicate on the "billing_address_line2" field.
func BillingAddressPhoneNumber ¶
BillingAddressPhoneNumber applies equality check predicate on the "billing_address_phone_number" field. It's identical to BillingAddressPhoneNumberEQ.
func BillingAddressPhoneNumberContains ¶
BillingAddressPhoneNumberContains applies the Contains predicate on the "billing_address_phone_number" field.
func BillingAddressPhoneNumberContainsFold ¶
BillingAddressPhoneNumberContainsFold applies the ContainsFold predicate on the "billing_address_phone_number" field.
func BillingAddressPhoneNumberEQ ¶
BillingAddressPhoneNumberEQ applies the EQ predicate on the "billing_address_phone_number" field.
func BillingAddressPhoneNumberEqualFold ¶
BillingAddressPhoneNumberEqualFold applies the EqualFold predicate on the "billing_address_phone_number" field.
func BillingAddressPhoneNumberGT ¶
BillingAddressPhoneNumberGT applies the GT predicate on the "billing_address_phone_number" field.
func BillingAddressPhoneNumberGTE ¶
BillingAddressPhoneNumberGTE applies the GTE predicate on the "billing_address_phone_number" field.
func BillingAddressPhoneNumberHasPrefix ¶
BillingAddressPhoneNumberHasPrefix applies the HasPrefix predicate on the "billing_address_phone_number" field.
func BillingAddressPhoneNumberHasSuffix ¶
BillingAddressPhoneNumberHasSuffix applies the HasSuffix predicate on the "billing_address_phone_number" field.
func BillingAddressPhoneNumberIn ¶
BillingAddressPhoneNumberIn applies the In predicate on the "billing_address_phone_number" field.
func BillingAddressPhoneNumberIsNil ¶
BillingAddressPhoneNumberIsNil applies the IsNil predicate on the "billing_address_phone_number" field.
func BillingAddressPhoneNumberLT ¶
BillingAddressPhoneNumberLT applies the LT predicate on the "billing_address_phone_number" field.
func BillingAddressPhoneNumberLTE ¶
BillingAddressPhoneNumberLTE applies the LTE predicate on the "billing_address_phone_number" field.
func BillingAddressPhoneNumberNEQ ¶
BillingAddressPhoneNumberNEQ applies the NEQ predicate on the "billing_address_phone_number" field.
func BillingAddressPhoneNumberNotIn ¶
BillingAddressPhoneNumberNotIn applies the NotIn predicate on the "billing_address_phone_number" field.
func BillingAddressPhoneNumberNotNil ¶
BillingAddressPhoneNumberNotNil applies the NotNil predicate on the "billing_address_phone_number" field.
func BillingAddressPostalCode ¶
BillingAddressPostalCode applies equality check predicate on the "billing_address_postal_code" field. It's identical to BillingAddressPostalCodeEQ.
func BillingAddressPostalCodeContains ¶
BillingAddressPostalCodeContains applies the Contains predicate on the "billing_address_postal_code" field.
func BillingAddressPostalCodeContainsFold ¶
BillingAddressPostalCodeContainsFold applies the ContainsFold predicate on the "billing_address_postal_code" field.
func BillingAddressPostalCodeEQ ¶
BillingAddressPostalCodeEQ applies the EQ predicate on the "billing_address_postal_code" field.
func BillingAddressPostalCodeEqualFold ¶
BillingAddressPostalCodeEqualFold applies the EqualFold predicate on the "billing_address_postal_code" field.
func BillingAddressPostalCodeGT ¶
BillingAddressPostalCodeGT applies the GT predicate on the "billing_address_postal_code" field.
func BillingAddressPostalCodeGTE ¶
BillingAddressPostalCodeGTE applies the GTE predicate on the "billing_address_postal_code" field.
func BillingAddressPostalCodeHasPrefix ¶
BillingAddressPostalCodeHasPrefix applies the HasPrefix predicate on the "billing_address_postal_code" field.
func BillingAddressPostalCodeHasSuffix ¶
BillingAddressPostalCodeHasSuffix applies the HasSuffix predicate on the "billing_address_postal_code" field.
func BillingAddressPostalCodeIn ¶
BillingAddressPostalCodeIn applies the In predicate on the "billing_address_postal_code" field.
func BillingAddressPostalCodeIsNil ¶
BillingAddressPostalCodeIsNil applies the IsNil predicate on the "billing_address_postal_code" field.
func BillingAddressPostalCodeLT ¶
BillingAddressPostalCodeLT applies the LT predicate on the "billing_address_postal_code" field.
func BillingAddressPostalCodeLTE ¶
BillingAddressPostalCodeLTE applies the LTE predicate on the "billing_address_postal_code" field.
func BillingAddressPostalCodeNEQ ¶
BillingAddressPostalCodeNEQ applies the NEQ predicate on the "billing_address_postal_code" field.
func BillingAddressPostalCodeNotIn ¶
BillingAddressPostalCodeNotIn applies the NotIn predicate on the "billing_address_postal_code" field.
func BillingAddressPostalCodeNotNil ¶
BillingAddressPostalCodeNotNil applies the NotNil predicate on the "billing_address_postal_code" field.
func BillingAddressState ¶
BillingAddressState applies equality check predicate on the "billing_address_state" field. It's identical to BillingAddressStateEQ.
func BillingAddressStateContains ¶
BillingAddressStateContains applies the Contains predicate on the "billing_address_state" field.
func BillingAddressStateContainsFold ¶
BillingAddressStateContainsFold applies the ContainsFold predicate on the "billing_address_state" field.
func BillingAddressStateEQ ¶
BillingAddressStateEQ applies the EQ predicate on the "billing_address_state" field.
func BillingAddressStateEqualFold ¶
BillingAddressStateEqualFold applies the EqualFold predicate on the "billing_address_state" field.
func BillingAddressStateGT ¶
BillingAddressStateGT applies the GT predicate on the "billing_address_state" field.
func BillingAddressStateGTE ¶
BillingAddressStateGTE applies the GTE predicate on the "billing_address_state" field.
func BillingAddressStateHasPrefix ¶
BillingAddressStateHasPrefix applies the HasPrefix predicate on the "billing_address_state" field.
func BillingAddressStateHasSuffix ¶
BillingAddressStateHasSuffix applies the HasSuffix predicate on the "billing_address_state" field.
func BillingAddressStateIn ¶
BillingAddressStateIn applies the In predicate on the "billing_address_state" field.
func BillingAddressStateIsNil ¶
BillingAddressStateIsNil applies the IsNil predicate on the "billing_address_state" field.
func BillingAddressStateLT ¶
BillingAddressStateLT applies the LT predicate on the "billing_address_state" field.
func BillingAddressStateLTE ¶
BillingAddressStateLTE applies the LTE predicate on the "billing_address_state" field.
func BillingAddressStateNEQ ¶
BillingAddressStateNEQ applies the NEQ predicate on the "billing_address_state" field.
func BillingAddressStateNotIn ¶
BillingAddressStateNotIn applies the NotIn predicate on the "billing_address_state" field.
func BillingAddressStateNotNil ¶
BillingAddressStateNotNil applies the NotNil predicate on the "billing_address_state" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Currency ¶
Currency applies equality check predicate on the "currency" field. It's identical to CurrencyEQ.
func CurrencyContains ¶
CurrencyContains applies the Contains predicate on the "currency" field.
func CurrencyContainsFold ¶
CurrencyContainsFold applies the ContainsFold predicate on the "currency" field.
func CurrencyEQ ¶
CurrencyEQ applies the EQ predicate on the "currency" field.
func CurrencyEqualFold ¶
CurrencyEqualFold applies the EqualFold predicate on the "currency" field.
func CurrencyGT ¶
CurrencyGT applies the GT predicate on the "currency" field.
func CurrencyGTE ¶
CurrencyGTE applies the GTE predicate on the "currency" field.
func CurrencyHasPrefix ¶
CurrencyHasPrefix applies the HasPrefix predicate on the "currency" field.
func CurrencyHasSuffix ¶
CurrencyHasSuffix applies the HasSuffix predicate on the "currency" field.
func CurrencyIn ¶
CurrencyIn applies the In predicate on the "currency" field.
func CurrencyIsNil ¶
CurrencyIsNil applies the IsNil predicate on the "currency" field.
func CurrencyLT ¶
CurrencyLT applies the LT predicate on the "currency" field.
func CurrencyLTE ¶
CurrencyLTE applies the LTE predicate on the "currency" field.
func CurrencyNEQ ¶
CurrencyNEQ applies the NEQ predicate on the "currency" field.
func CurrencyNotIn ¶
CurrencyNotIn applies the NotIn predicate on the "currency" field.
func CurrencyNotNil ¶
CurrencyNotNil applies the NotNil predicate on the "currency" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func KeyContains ¶
KeyContains applies the Contains predicate on the "key" field.
func KeyContainsFold ¶
KeyContainsFold applies the ContainsFold predicate on the "key" field.
func KeyEqualFold ¶
KeyEqualFold applies the EqualFold predicate on the "key" field.
func KeyHasPrefix ¶
KeyHasPrefix applies the HasPrefix predicate on the "key" field.
func KeyHasSuffix ¶
KeyHasSuffix applies the HasSuffix predicate on the "key" field.
func MetadataIsNil ¶
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func Namespace ¶
Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.
func NamespaceContains ¶
NamespaceContains applies the Contains predicate on the "namespace" field.
func NamespaceContainsFold ¶
NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.
func NamespaceEQ ¶
NamespaceEQ applies the EQ predicate on the "namespace" field.
func NamespaceEqualFold ¶
NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.
func NamespaceGT ¶
NamespaceGT applies the GT predicate on the "namespace" field.
func NamespaceGTE ¶
NamespaceGTE applies the GTE predicate on the "namespace" field.
func NamespaceHasPrefix ¶
NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.
func NamespaceHasSuffix ¶
NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.
func NamespaceIn ¶
NamespaceIn applies the In predicate on the "namespace" field.
func NamespaceLT ¶
NamespaceLT applies the LT predicate on the "namespace" field.
func NamespaceLTE ¶
NamespaceLTE applies the LTE predicate on the "namespace" field.
func NamespaceNEQ ¶
NamespaceNEQ applies the NEQ predicate on the "namespace" field.
func NamespaceNotIn ¶
NamespaceNotIn applies the NotIn predicate on the "namespace" field.
func PrimaryEmail ¶
PrimaryEmail applies equality check predicate on the "primary_email" field. It's identical to PrimaryEmailEQ.
func PrimaryEmailContains ¶
PrimaryEmailContains applies the Contains predicate on the "primary_email" field.
func PrimaryEmailContainsFold ¶
PrimaryEmailContainsFold applies the ContainsFold predicate on the "primary_email" field.
func PrimaryEmailEQ ¶
PrimaryEmailEQ applies the EQ predicate on the "primary_email" field.
func PrimaryEmailEqualFold ¶
PrimaryEmailEqualFold applies the EqualFold predicate on the "primary_email" field.
func PrimaryEmailGT ¶
PrimaryEmailGT applies the GT predicate on the "primary_email" field.
func PrimaryEmailGTE ¶
PrimaryEmailGTE applies the GTE predicate on the "primary_email" field.
func PrimaryEmailHasPrefix ¶
PrimaryEmailHasPrefix applies the HasPrefix predicate on the "primary_email" field.
func PrimaryEmailHasSuffix ¶
PrimaryEmailHasSuffix applies the HasSuffix predicate on the "primary_email" field.
func PrimaryEmailIn ¶
PrimaryEmailIn applies the In predicate on the "primary_email" field.
func PrimaryEmailIsNil ¶
PrimaryEmailIsNil applies the IsNil predicate on the "primary_email" field.
func PrimaryEmailLT ¶
PrimaryEmailLT applies the LT predicate on the "primary_email" field.
func PrimaryEmailLTE ¶
PrimaryEmailLTE applies the LTE predicate on the "primary_email" field.
func PrimaryEmailNEQ ¶
PrimaryEmailNEQ applies the NEQ predicate on the "primary_email" field.
func PrimaryEmailNotIn ¶
PrimaryEmailNotIn applies the NotIn predicate on the "primary_email" field.
func PrimaryEmailNotNil ¶
PrimaryEmailNotNil applies the NotNil predicate on the "primary_email" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.