// Code generated by ent, DO NOT EDIT. package appstripecustomer import ( "time" "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "github.com/openmeterio/openmeter/openmeter/ent/db/predicate" ) // ID filters vertices based on their ID field. func ID(id int) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldEQ(FieldID, id)) } // IDEQ applies the EQ predicate on the ID field. func IDEQ(id int) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldEQ(FieldID, id)) } // IDNEQ applies the NEQ predicate on the ID field. func IDNEQ(id int) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldNEQ(FieldID, id)) } // IDIn applies the In predicate on the ID field. func IDIn(ids ...int) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldIn(FieldID, ids...)) } // IDNotIn applies the NotIn predicate on the ID field. func IDNotIn(ids ...int) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldNotIn(FieldID, ids...)) } // IDGT applies the GT predicate on the ID field. func IDGT(id int) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldGT(FieldID, id)) } // IDGTE applies the GTE predicate on the ID field. func IDGTE(id int) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldGTE(FieldID, id)) } // IDLT applies the LT predicate on the ID field. func IDLT(id int) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldLT(FieldID, id)) } // IDLTE applies the LTE predicate on the ID field. func IDLTE(id int) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldLTE(FieldID, id)) } // Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ. func Namespace(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldEQ(FieldNamespace, v)) } // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ. func CreatedAt(v time.Time) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldEQ(FieldCreatedAt, v)) } // UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ. func UpdatedAt(v time.Time) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldEQ(FieldUpdatedAt, v)) } // DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ. func DeletedAt(v time.Time) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldEQ(FieldDeletedAt, v)) } // AppID applies equality check predicate on the "app_id" field. It's identical to AppIDEQ. func AppID(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldEQ(FieldAppID, v)) } // CustomerID applies equality check predicate on the "customer_id" field. It's identical to CustomerIDEQ. func CustomerID(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldEQ(FieldCustomerID, v)) } // StripeCustomerID applies equality check predicate on the "stripe_customer_id" field. It's identical to StripeCustomerIDEQ. func StripeCustomerID(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldEQ(FieldStripeCustomerID, v)) } // StripeDefaultPaymentMethodID applies equality check predicate on the "stripe_default_payment_method_id" field. It's identical to StripeDefaultPaymentMethodIDEQ. func StripeDefaultPaymentMethodID(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldEQ(FieldStripeDefaultPaymentMethodID, v)) } // NamespaceEQ applies the EQ predicate on the "namespace" field. func NamespaceEQ(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldEQ(FieldNamespace, v)) } // NamespaceNEQ applies the NEQ predicate on the "namespace" field. func NamespaceNEQ(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldNEQ(FieldNamespace, v)) } // NamespaceIn applies the In predicate on the "namespace" field. func NamespaceIn(vs ...string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldIn(FieldNamespace, vs...)) } // NamespaceNotIn applies the NotIn predicate on the "namespace" field. func NamespaceNotIn(vs ...string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldNotIn(FieldNamespace, vs...)) } // NamespaceGT applies the GT predicate on the "namespace" field. func NamespaceGT(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldGT(FieldNamespace, v)) } // NamespaceGTE applies the GTE predicate on the "namespace" field. func NamespaceGTE(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldGTE(FieldNamespace, v)) } // NamespaceLT applies the LT predicate on the "namespace" field. func NamespaceLT(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldLT(FieldNamespace, v)) } // NamespaceLTE applies the LTE predicate on the "namespace" field. func NamespaceLTE(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldLTE(FieldNamespace, v)) } // NamespaceContains applies the Contains predicate on the "namespace" field. func NamespaceContains(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldContains(FieldNamespace, v)) } // NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field. func NamespaceHasPrefix(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldHasPrefix(FieldNamespace, v)) } // NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field. func NamespaceHasSuffix(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldHasSuffix(FieldNamespace, v)) } // NamespaceEqualFold applies the EqualFold predicate on the "namespace" field. func NamespaceEqualFold(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldEqualFold(FieldNamespace, v)) } // NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field. func NamespaceContainsFold(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldContainsFold(FieldNamespace, v)) } // CreatedAtEQ applies the EQ predicate on the "created_at" field. func CreatedAtEQ(v time.Time) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldEQ(FieldCreatedAt, v)) } // CreatedAtNEQ applies the NEQ predicate on the "created_at" field. func CreatedAtNEQ(v time.Time) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldNEQ(FieldCreatedAt, v)) } // CreatedAtIn applies the In predicate on the "created_at" field. func CreatedAtIn(vs ...time.Time) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldIn(FieldCreatedAt, vs...)) } // CreatedAtNotIn applies the NotIn predicate on the "created_at" field. func CreatedAtNotIn(vs ...time.Time) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldNotIn(FieldCreatedAt, vs...)) } // CreatedAtGT applies the GT predicate on the "created_at" field. func CreatedAtGT(v time.Time) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldGT(FieldCreatedAt, v)) } // CreatedAtGTE applies the GTE predicate on the "created_at" field. func CreatedAtGTE(v time.Time) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldGTE(FieldCreatedAt, v)) } // CreatedAtLT applies the LT predicate on the "created_at" field. func CreatedAtLT(v time.Time) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldLT(FieldCreatedAt, v)) } // CreatedAtLTE applies the LTE predicate on the "created_at" field. func CreatedAtLTE(v time.Time) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldLTE(FieldCreatedAt, v)) } // UpdatedAtEQ applies the EQ predicate on the "updated_at" field. func UpdatedAtEQ(v time.Time) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldEQ(FieldUpdatedAt, v)) } // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field. func UpdatedAtNEQ(v time.Time) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldNEQ(FieldUpdatedAt, v)) } // UpdatedAtIn applies the In predicate on the "updated_at" field. func UpdatedAtIn(vs ...time.Time) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldIn(FieldUpdatedAt, vs...)) } // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field. func UpdatedAtNotIn(vs ...time.Time) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldNotIn(FieldUpdatedAt, vs...)) } // UpdatedAtGT applies the GT predicate on the "updated_at" field. func UpdatedAtGT(v time.Time) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldGT(FieldUpdatedAt, v)) } // UpdatedAtGTE applies the GTE predicate on the "updated_at" field. func UpdatedAtGTE(v time.Time) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldGTE(FieldUpdatedAt, v)) } // UpdatedAtLT applies the LT predicate on the "updated_at" field. func UpdatedAtLT(v time.Time) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldLT(FieldUpdatedAt, v)) } // UpdatedAtLTE applies the LTE predicate on the "updated_at" field. func UpdatedAtLTE(v time.Time) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldLTE(FieldUpdatedAt, v)) } // DeletedAtEQ applies the EQ predicate on the "deleted_at" field. func DeletedAtEQ(v time.Time) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldEQ(FieldDeletedAt, v)) } // DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field. func DeletedAtNEQ(v time.Time) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldNEQ(FieldDeletedAt, v)) } // DeletedAtIn applies the In predicate on the "deleted_at" field. func DeletedAtIn(vs ...time.Time) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldIn(FieldDeletedAt, vs...)) } // DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field. func DeletedAtNotIn(vs ...time.Time) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldNotIn(FieldDeletedAt, vs...)) } // DeletedAtGT applies the GT predicate on the "deleted_at" field. func DeletedAtGT(v time.Time) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldGT(FieldDeletedAt, v)) } // DeletedAtGTE applies the GTE predicate on the "deleted_at" field. func DeletedAtGTE(v time.Time) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldGTE(FieldDeletedAt, v)) } // DeletedAtLT applies the LT predicate on the "deleted_at" field. func DeletedAtLT(v time.Time) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldLT(FieldDeletedAt, v)) } // DeletedAtLTE applies the LTE predicate on the "deleted_at" field. func DeletedAtLTE(v time.Time) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldLTE(FieldDeletedAt, v)) } // DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field. func DeletedAtIsNil() predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldIsNull(FieldDeletedAt)) } // DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field. func DeletedAtNotNil() predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldNotNull(FieldDeletedAt)) } // AppIDEQ applies the EQ predicate on the "app_id" field. func AppIDEQ(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldEQ(FieldAppID, v)) } // AppIDNEQ applies the NEQ predicate on the "app_id" field. func AppIDNEQ(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldNEQ(FieldAppID, v)) } // AppIDIn applies the In predicate on the "app_id" field. func AppIDIn(vs ...string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldIn(FieldAppID, vs...)) } // AppIDNotIn applies the NotIn predicate on the "app_id" field. func AppIDNotIn(vs ...string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldNotIn(FieldAppID, vs...)) } // AppIDGT applies the GT predicate on the "app_id" field. func AppIDGT(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldGT(FieldAppID, v)) } // AppIDGTE applies the GTE predicate on the "app_id" field. func AppIDGTE(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldGTE(FieldAppID, v)) } // AppIDLT applies the LT predicate on the "app_id" field. func AppIDLT(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldLT(FieldAppID, v)) } // AppIDLTE applies the LTE predicate on the "app_id" field. func AppIDLTE(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldLTE(FieldAppID, v)) } // AppIDContains applies the Contains predicate on the "app_id" field. func AppIDContains(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldContains(FieldAppID, v)) } // AppIDHasPrefix applies the HasPrefix predicate on the "app_id" field. func AppIDHasPrefix(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldHasPrefix(FieldAppID, v)) } // AppIDHasSuffix applies the HasSuffix predicate on the "app_id" field. func AppIDHasSuffix(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldHasSuffix(FieldAppID, v)) } // AppIDEqualFold applies the EqualFold predicate on the "app_id" field. func AppIDEqualFold(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldEqualFold(FieldAppID, v)) } // AppIDContainsFold applies the ContainsFold predicate on the "app_id" field. func AppIDContainsFold(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldContainsFold(FieldAppID, v)) } // CustomerIDEQ applies the EQ predicate on the "customer_id" field. func CustomerIDEQ(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldEQ(FieldCustomerID, v)) } // CustomerIDNEQ applies the NEQ predicate on the "customer_id" field. func CustomerIDNEQ(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldNEQ(FieldCustomerID, v)) } // CustomerIDIn applies the In predicate on the "customer_id" field. func CustomerIDIn(vs ...string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldIn(FieldCustomerID, vs...)) } // CustomerIDNotIn applies the NotIn predicate on the "customer_id" field. func CustomerIDNotIn(vs ...string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldNotIn(FieldCustomerID, vs...)) } // CustomerIDGT applies the GT predicate on the "customer_id" field. func CustomerIDGT(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldGT(FieldCustomerID, v)) } // CustomerIDGTE applies the GTE predicate on the "customer_id" field. func CustomerIDGTE(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldGTE(FieldCustomerID, v)) } // CustomerIDLT applies the LT predicate on the "customer_id" field. func CustomerIDLT(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldLT(FieldCustomerID, v)) } // CustomerIDLTE applies the LTE predicate on the "customer_id" field. func CustomerIDLTE(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldLTE(FieldCustomerID, v)) } // CustomerIDContains applies the Contains predicate on the "customer_id" field. func CustomerIDContains(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldContains(FieldCustomerID, v)) } // CustomerIDHasPrefix applies the HasPrefix predicate on the "customer_id" field. func CustomerIDHasPrefix(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldHasPrefix(FieldCustomerID, v)) } // CustomerIDHasSuffix applies the HasSuffix predicate on the "customer_id" field. func CustomerIDHasSuffix(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldHasSuffix(FieldCustomerID, v)) } // CustomerIDEqualFold applies the EqualFold predicate on the "customer_id" field. func CustomerIDEqualFold(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldEqualFold(FieldCustomerID, v)) } // CustomerIDContainsFold applies the ContainsFold predicate on the "customer_id" field. func CustomerIDContainsFold(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldContainsFold(FieldCustomerID, v)) } // StripeCustomerIDEQ applies the EQ predicate on the "stripe_customer_id" field. func StripeCustomerIDEQ(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldEQ(FieldStripeCustomerID, v)) } // StripeCustomerIDNEQ applies the NEQ predicate on the "stripe_customer_id" field. func StripeCustomerIDNEQ(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldNEQ(FieldStripeCustomerID, v)) } // StripeCustomerIDIn applies the In predicate on the "stripe_customer_id" field. func StripeCustomerIDIn(vs ...string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldIn(FieldStripeCustomerID, vs...)) } // StripeCustomerIDNotIn applies the NotIn predicate on the "stripe_customer_id" field. func StripeCustomerIDNotIn(vs ...string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldNotIn(FieldStripeCustomerID, vs...)) } // StripeCustomerIDGT applies the GT predicate on the "stripe_customer_id" field. func StripeCustomerIDGT(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldGT(FieldStripeCustomerID, v)) } // StripeCustomerIDGTE applies the GTE predicate on the "stripe_customer_id" field. func StripeCustomerIDGTE(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldGTE(FieldStripeCustomerID, v)) } // StripeCustomerIDLT applies the LT predicate on the "stripe_customer_id" field. func StripeCustomerIDLT(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldLT(FieldStripeCustomerID, v)) } // StripeCustomerIDLTE applies the LTE predicate on the "stripe_customer_id" field. func StripeCustomerIDLTE(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldLTE(FieldStripeCustomerID, v)) } // StripeCustomerIDContains applies the Contains predicate on the "stripe_customer_id" field. func StripeCustomerIDContains(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldContains(FieldStripeCustomerID, v)) } // StripeCustomerIDHasPrefix applies the HasPrefix predicate on the "stripe_customer_id" field. func StripeCustomerIDHasPrefix(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldHasPrefix(FieldStripeCustomerID, v)) } // StripeCustomerIDHasSuffix applies the HasSuffix predicate on the "stripe_customer_id" field. func StripeCustomerIDHasSuffix(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldHasSuffix(FieldStripeCustomerID, v)) } // StripeCustomerIDEqualFold applies the EqualFold predicate on the "stripe_customer_id" field. func StripeCustomerIDEqualFold(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldEqualFold(FieldStripeCustomerID, v)) } // StripeCustomerIDContainsFold applies the ContainsFold predicate on the "stripe_customer_id" field. func StripeCustomerIDContainsFold(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldContainsFold(FieldStripeCustomerID, v)) } // StripeDefaultPaymentMethodIDEQ applies the EQ predicate on the "stripe_default_payment_method_id" field. func StripeDefaultPaymentMethodIDEQ(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldEQ(FieldStripeDefaultPaymentMethodID, v)) } // StripeDefaultPaymentMethodIDNEQ applies the NEQ predicate on the "stripe_default_payment_method_id" field. func StripeDefaultPaymentMethodIDNEQ(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldNEQ(FieldStripeDefaultPaymentMethodID, v)) } // StripeDefaultPaymentMethodIDIn applies the In predicate on the "stripe_default_payment_method_id" field. func StripeDefaultPaymentMethodIDIn(vs ...string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldIn(FieldStripeDefaultPaymentMethodID, vs...)) } // StripeDefaultPaymentMethodIDNotIn applies the NotIn predicate on the "stripe_default_payment_method_id" field. func StripeDefaultPaymentMethodIDNotIn(vs ...string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldNotIn(FieldStripeDefaultPaymentMethodID, vs...)) } // StripeDefaultPaymentMethodIDGT applies the GT predicate on the "stripe_default_payment_method_id" field. func StripeDefaultPaymentMethodIDGT(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldGT(FieldStripeDefaultPaymentMethodID, v)) } // StripeDefaultPaymentMethodIDGTE applies the GTE predicate on the "stripe_default_payment_method_id" field. func StripeDefaultPaymentMethodIDGTE(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldGTE(FieldStripeDefaultPaymentMethodID, v)) } // StripeDefaultPaymentMethodIDLT applies the LT predicate on the "stripe_default_payment_method_id" field. func StripeDefaultPaymentMethodIDLT(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldLT(FieldStripeDefaultPaymentMethodID, v)) } // StripeDefaultPaymentMethodIDLTE applies the LTE predicate on the "stripe_default_payment_method_id" field. func StripeDefaultPaymentMethodIDLTE(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldLTE(FieldStripeDefaultPaymentMethodID, v)) } // StripeDefaultPaymentMethodIDContains applies the Contains predicate on the "stripe_default_payment_method_id" field. func StripeDefaultPaymentMethodIDContains(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldContains(FieldStripeDefaultPaymentMethodID, v)) } // StripeDefaultPaymentMethodIDHasPrefix applies the HasPrefix predicate on the "stripe_default_payment_method_id" field. func StripeDefaultPaymentMethodIDHasPrefix(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldHasPrefix(FieldStripeDefaultPaymentMethodID, v)) } // StripeDefaultPaymentMethodIDHasSuffix applies the HasSuffix predicate on the "stripe_default_payment_method_id" field. func StripeDefaultPaymentMethodIDHasSuffix(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldHasSuffix(FieldStripeDefaultPaymentMethodID, v)) } // StripeDefaultPaymentMethodIDIsNil applies the IsNil predicate on the "stripe_default_payment_method_id" field. func StripeDefaultPaymentMethodIDIsNil() predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldIsNull(FieldStripeDefaultPaymentMethodID)) } // StripeDefaultPaymentMethodIDNotNil applies the NotNil predicate on the "stripe_default_payment_method_id" field. func StripeDefaultPaymentMethodIDNotNil() predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldNotNull(FieldStripeDefaultPaymentMethodID)) } // StripeDefaultPaymentMethodIDEqualFold applies the EqualFold predicate on the "stripe_default_payment_method_id" field. func StripeDefaultPaymentMethodIDEqualFold(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldEqualFold(FieldStripeDefaultPaymentMethodID, v)) } // StripeDefaultPaymentMethodIDContainsFold applies the ContainsFold predicate on the "stripe_default_payment_method_id" field. func StripeDefaultPaymentMethodIDContainsFold(v string) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.FieldContainsFold(FieldStripeDefaultPaymentMethodID, v)) } // HasStripeApp applies the HasEdge predicate on the "stripe_app" edge. func HasStripeApp() predicate.AppStripeCustomer { return predicate.AppStripeCustomer(func(s *sql.Selector) { step := sqlgraph.NewStep( sqlgraph.From(Table, FieldID), sqlgraph.Edge(sqlgraph.M2O, true, StripeAppTable, StripeAppColumn), ) sqlgraph.HasNeighbors(s, step) }) } // HasStripeAppWith applies the HasEdge predicate on the "stripe_app" edge with a given conditions (other predicates). func HasStripeAppWith(preds ...predicate.AppStripe) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(func(s *sql.Selector) { step := newStripeAppStep() sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) { for _, p := range preds { p(s) } }) }) } // HasCustomer applies the HasEdge predicate on the "customer" edge. func HasCustomer() predicate.AppStripeCustomer { return predicate.AppStripeCustomer(func(s *sql.Selector) { step := sqlgraph.NewStep( sqlgraph.From(Table, FieldID), sqlgraph.Edge(sqlgraph.M2O, false, CustomerTable, CustomerColumn), ) sqlgraph.HasNeighbors(s, step) }) } // HasCustomerWith applies the HasEdge predicate on the "customer" edge with a given conditions (other predicates). func HasCustomerWith(preds ...predicate.Customer) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(func(s *sql.Selector) { step := newCustomerStep() sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) { for _, p := range preds { p(s) } }) }) } // And groups predicates with the AND operator between them. func And(predicates ...predicate.AppStripeCustomer) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.AndPredicates(predicates...)) } // Or groups predicates with the OR operator between them. func Or(predicates ...predicate.AppStripeCustomer) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.OrPredicates(predicates...)) } // Not applies the not operator on the given predicate. func Not(p predicate.AppStripeCustomer) predicate.AppStripeCustomer { return predicate.AppStripeCustomer(sql.NotPredicates(p)) }