| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670 |
- // Code generated by ent, DO NOT EDIT.
- package paymentproviderinstance
- import (
- "time"
- "entgo.io/ent/dialect/sql"
- "github.com/Wei-Shaw/sub2api/ent/predicate"
- )
- // ID filters vertices based on their ID field.
- func ID(id int64) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEQ(FieldID, id))
- }
- // IDEQ applies the EQ predicate on the ID field.
- func IDEQ(id int64) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEQ(FieldID, id))
- }
- // IDNEQ applies the NEQ predicate on the ID field.
- func IDNEQ(id int64) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldNEQ(FieldID, id))
- }
- // IDIn applies the In predicate on the ID field.
- func IDIn(ids ...int64) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldIn(FieldID, ids...))
- }
- // IDNotIn applies the NotIn predicate on the ID field.
- func IDNotIn(ids ...int64) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldNotIn(FieldID, ids...))
- }
- // IDGT applies the GT predicate on the ID field.
- func IDGT(id int64) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldGT(FieldID, id))
- }
- // IDGTE applies the GTE predicate on the ID field.
- func IDGTE(id int64) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldGTE(FieldID, id))
- }
- // IDLT applies the LT predicate on the ID field.
- func IDLT(id int64) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldLT(FieldID, id))
- }
- // IDLTE applies the LTE predicate on the ID field.
- func IDLTE(id int64) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldLTE(FieldID, id))
- }
- // ProviderKey applies equality check predicate on the "provider_key" field. It's identical to ProviderKeyEQ.
- func ProviderKey(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEQ(FieldProviderKey, v))
- }
- // Name applies equality check predicate on the "name" field. It's identical to NameEQ.
- func Name(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEQ(FieldName, v))
- }
- // Config applies equality check predicate on the "config" field. It's identical to ConfigEQ.
- func Config(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEQ(FieldConfig, v))
- }
- // SupportedTypes applies equality check predicate on the "supported_types" field. It's identical to SupportedTypesEQ.
- func SupportedTypes(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEQ(FieldSupportedTypes, v))
- }
- // Enabled applies equality check predicate on the "enabled" field. It's identical to EnabledEQ.
- func Enabled(v bool) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEQ(FieldEnabled, v))
- }
- // PaymentMode applies equality check predicate on the "payment_mode" field. It's identical to PaymentModeEQ.
- func PaymentMode(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEQ(FieldPaymentMode, v))
- }
- // SortOrder applies equality check predicate on the "sort_order" field. It's identical to SortOrderEQ.
- func SortOrder(v int) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEQ(FieldSortOrder, v))
- }
- // Limits applies equality check predicate on the "limits" field. It's identical to LimitsEQ.
- func Limits(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEQ(FieldLimits, v))
- }
- // RefundEnabled applies equality check predicate on the "refund_enabled" field. It's identical to RefundEnabledEQ.
- func RefundEnabled(v bool) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEQ(FieldRefundEnabled, v))
- }
- // AllowUserRefund applies equality check predicate on the "allow_user_refund" field. It's identical to AllowUserRefundEQ.
- func AllowUserRefund(v bool) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEQ(FieldAllowUserRefund, v))
- }
- // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
- func CreatedAt(v time.Time) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(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.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // ProviderKeyEQ applies the EQ predicate on the "provider_key" field.
- func ProviderKeyEQ(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEQ(FieldProviderKey, v))
- }
- // ProviderKeyNEQ applies the NEQ predicate on the "provider_key" field.
- func ProviderKeyNEQ(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldNEQ(FieldProviderKey, v))
- }
- // ProviderKeyIn applies the In predicate on the "provider_key" field.
- func ProviderKeyIn(vs ...string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldIn(FieldProviderKey, vs...))
- }
- // ProviderKeyNotIn applies the NotIn predicate on the "provider_key" field.
- func ProviderKeyNotIn(vs ...string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldNotIn(FieldProviderKey, vs...))
- }
- // ProviderKeyGT applies the GT predicate on the "provider_key" field.
- func ProviderKeyGT(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldGT(FieldProviderKey, v))
- }
- // ProviderKeyGTE applies the GTE predicate on the "provider_key" field.
- func ProviderKeyGTE(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldGTE(FieldProviderKey, v))
- }
- // ProviderKeyLT applies the LT predicate on the "provider_key" field.
- func ProviderKeyLT(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldLT(FieldProviderKey, v))
- }
- // ProviderKeyLTE applies the LTE predicate on the "provider_key" field.
- func ProviderKeyLTE(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldLTE(FieldProviderKey, v))
- }
- // ProviderKeyContains applies the Contains predicate on the "provider_key" field.
- func ProviderKeyContains(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldContains(FieldProviderKey, v))
- }
- // ProviderKeyHasPrefix applies the HasPrefix predicate on the "provider_key" field.
- func ProviderKeyHasPrefix(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldHasPrefix(FieldProviderKey, v))
- }
- // ProviderKeyHasSuffix applies the HasSuffix predicate on the "provider_key" field.
- func ProviderKeyHasSuffix(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldHasSuffix(FieldProviderKey, v))
- }
- // ProviderKeyEqualFold applies the EqualFold predicate on the "provider_key" field.
- func ProviderKeyEqualFold(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEqualFold(FieldProviderKey, v))
- }
- // ProviderKeyContainsFold applies the ContainsFold predicate on the "provider_key" field.
- func ProviderKeyContainsFold(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldContainsFold(FieldProviderKey, v))
- }
- // NameEQ applies the EQ predicate on the "name" field.
- func NameEQ(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEQ(FieldName, v))
- }
- // NameNEQ applies the NEQ predicate on the "name" field.
- func NameNEQ(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldNEQ(FieldName, v))
- }
- // NameIn applies the In predicate on the "name" field.
- func NameIn(vs ...string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldIn(FieldName, vs...))
- }
- // NameNotIn applies the NotIn predicate on the "name" field.
- func NameNotIn(vs ...string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldNotIn(FieldName, vs...))
- }
- // NameGT applies the GT predicate on the "name" field.
- func NameGT(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldGT(FieldName, v))
- }
- // NameGTE applies the GTE predicate on the "name" field.
- func NameGTE(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldGTE(FieldName, v))
- }
- // NameLT applies the LT predicate on the "name" field.
- func NameLT(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldLT(FieldName, v))
- }
- // NameLTE applies the LTE predicate on the "name" field.
- func NameLTE(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldLTE(FieldName, v))
- }
- // NameContains applies the Contains predicate on the "name" field.
- func NameContains(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldContains(FieldName, v))
- }
- // NameHasPrefix applies the HasPrefix predicate on the "name" field.
- func NameHasPrefix(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldHasPrefix(FieldName, v))
- }
- // NameHasSuffix applies the HasSuffix predicate on the "name" field.
- func NameHasSuffix(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldHasSuffix(FieldName, v))
- }
- // NameEqualFold applies the EqualFold predicate on the "name" field.
- func NameEqualFold(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEqualFold(FieldName, v))
- }
- // NameContainsFold applies the ContainsFold predicate on the "name" field.
- func NameContainsFold(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldContainsFold(FieldName, v))
- }
- // ConfigEQ applies the EQ predicate on the "config" field.
- func ConfigEQ(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEQ(FieldConfig, v))
- }
- // ConfigNEQ applies the NEQ predicate on the "config" field.
- func ConfigNEQ(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldNEQ(FieldConfig, v))
- }
- // ConfigIn applies the In predicate on the "config" field.
- func ConfigIn(vs ...string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldIn(FieldConfig, vs...))
- }
- // ConfigNotIn applies the NotIn predicate on the "config" field.
- func ConfigNotIn(vs ...string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldNotIn(FieldConfig, vs...))
- }
- // ConfigGT applies the GT predicate on the "config" field.
- func ConfigGT(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldGT(FieldConfig, v))
- }
- // ConfigGTE applies the GTE predicate on the "config" field.
- func ConfigGTE(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldGTE(FieldConfig, v))
- }
- // ConfigLT applies the LT predicate on the "config" field.
- func ConfigLT(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldLT(FieldConfig, v))
- }
- // ConfigLTE applies the LTE predicate on the "config" field.
- func ConfigLTE(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldLTE(FieldConfig, v))
- }
- // ConfigContains applies the Contains predicate on the "config" field.
- func ConfigContains(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldContains(FieldConfig, v))
- }
- // ConfigHasPrefix applies the HasPrefix predicate on the "config" field.
- func ConfigHasPrefix(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldHasPrefix(FieldConfig, v))
- }
- // ConfigHasSuffix applies the HasSuffix predicate on the "config" field.
- func ConfigHasSuffix(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldHasSuffix(FieldConfig, v))
- }
- // ConfigEqualFold applies the EqualFold predicate on the "config" field.
- func ConfigEqualFold(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEqualFold(FieldConfig, v))
- }
- // ConfigContainsFold applies the ContainsFold predicate on the "config" field.
- func ConfigContainsFold(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldContainsFold(FieldConfig, v))
- }
- // SupportedTypesEQ applies the EQ predicate on the "supported_types" field.
- func SupportedTypesEQ(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEQ(FieldSupportedTypes, v))
- }
- // SupportedTypesNEQ applies the NEQ predicate on the "supported_types" field.
- func SupportedTypesNEQ(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldNEQ(FieldSupportedTypes, v))
- }
- // SupportedTypesIn applies the In predicate on the "supported_types" field.
- func SupportedTypesIn(vs ...string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldIn(FieldSupportedTypes, vs...))
- }
- // SupportedTypesNotIn applies the NotIn predicate on the "supported_types" field.
- func SupportedTypesNotIn(vs ...string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldNotIn(FieldSupportedTypes, vs...))
- }
- // SupportedTypesGT applies the GT predicate on the "supported_types" field.
- func SupportedTypesGT(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldGT(FieldSupportedTypes, v))
- }
- // SupportedTypesGTE applies the GTE predicate on the "supported_types" field.
- func SupportedTypesGTE(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldGTE(FieldSupportedTypes, v))
- }
- // SupportedTypesLT applies the LT predicate on the "supported_types" field.
- func SupportedTypesLT(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldLT(FieldSupportedTypes, v))
- }
- // SupportedTypesLTE applies the LTE predicate on the "supported_types" field.
- func SupportedTypesLTE(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldLTE(FieldSupportedTypes, v))
- }
- // SupportedTypesContains applies the Contains predicate on the "supported_types" field.
- func SupportedTypesContains(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldContains(FieldSupportedTypes, v))
- }
- // SupportedTypesHasPrefix applies the HasPrefix predicate on the "supported_types" field.
- func SupportedTypesHasPrefix(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldHasPrefix(FieldSupportedTypes, v))
- }
- // SupportedTypesHasSuffix applies the HasSuffix predicate on the "supported_types" field.
- func SupportedTypesHasSuffix(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldHasSuffix(FieldSupportedTypes, v))
- }
- // SupportedTypesEqualFold applies the EqualFold predicate on the "supported_types" field.
- func SupportedTypesEqualFold(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEqualFold(FieldSupportedTypes, v))
- }
- // SupportedTypesContainsFold applies the ContainsFold predicate on the "supported_types" field.
- func SupportedTypesContainsFold(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldContainsFold(FieldSupportedTypes, v))
- }
- // EnabledEQ applies the EQ predicate on the "enabled" field.
- func EnabledEQ(v bool) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEQ(FieldEnabled, v))
- }
- // EnabledNEQ applies the NEQ predicate on the "enabled" field.
- func EnabledNEQ(v bool) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldNEQ(FieldEnabled, v))
- }
- // PaymentModeEQ applies the EQ predicate on the "payment_mode" field.
- func PaymentModeEQ(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEQ(FieldPaymentMode, v))
- }
- // PaymentModeNEQ applies the NEQ predicate on the "payment_mode" field.
- func PaymentModeNEQ(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldNEQ(FieldPaymentMode, v))
- }
- // PaymentModeIn applies the In predicate on the "payment_mode" field.
- func PaymentModeIn(vs ...string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldIn(FieldPaymentMode, vs...))
- }
- // PaymentModeNotIn applies the NotIn predicate on the "payment_mode" field.
- func PaymentModeNotIn(vs ...string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldNotIn(FieldPaymentMode, vs...))
- }
- // PaymentModeGT applies the GT predicate on the "payment_mode" field.
- func PaymentModeGT(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldGT(FieldPaymentMode, v))
- }
- // PaymentModeGTE applies the GTE predicate on the "payment_mode" field.
- func PaymentModeGTE(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldGTE(FieldPaymentMode, v))
- }
- // PaymentModeLT applies the LT predicate on the "payment_mode" field.
- func PaymentModeLT(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldLT(FieldPaymentMode, v))
- }
- // PaymentModeLTE applies the LTE predicate on the "payment_mode" field.
- func PaymentModeLTE(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldLTE(FieldPaymentMode, v))
- }
- // PaymentModeContains applies the Contains predicate on the "payment_mode" field.
- func PaymentModeContains(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldContains(FieldPaymentMode, v))
- }
- // PaymentModeHasPrefix applies the HasPrefix predicate on the "payment_mode" field.
- func PaymentModeHasPrefix(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldHasPrefix(FieldPaymentMode, v))
- }
- // PaymentModeHasSuffix applies the HasSuffix predicate on the "payment_mode" field.
- func PaymentModeHasSuffix(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldHasSuffix(FieldPaymentMode, v))
- }
- // PaymentModeEqualFold applies the EqualFold predicate on the "payment_mode" field.
- func PaymentModeEqualFold(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEqualFold(FieldPaymentMode, v))
- }
- // PaymentModeContainsFold applies the ContainsFold predicate on the "payment_mode" field.
- func PaymentModeContainsFold(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldContainsFold(FieldPaymentMode, v))
- }
- // SortOrderEQ applies the EQ predicate on the "sort_order" field.
- func SortOrderEQ(v int) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEQ(FieldSortOrder, v))
- }
- // SortOrderNEQ applies the NEQ predicate on the "sort_order" field.
- func SortOrderNEQ(v int) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldNEQ(FieldSortOrder, v))
- }
- // SortOrderIn applies the In predicate on the "sort_order" field.
- func SortOrderIn(vs ...int) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldIn(FieldSortOrder, vs...))
- }
- // SortOrderNotIn applies the NotIn predicate on the "sort_order" field.
- func SortOrderNotIn(vs ...int) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldNotIn(FieldSortOrder, vs...))
- }
- // SortOrderGT applies the GT predicate on the "sort_order" field.
- func SortOrderGT(v int) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldGT(FieldSortOrder, v))
- }
- // SortOrderGTE applies the GTE predicate on the "sort_order" field.
- func SortOrderGTE(v int) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldGTE(FieldSortOrder, v))
- }
- // SortOrderLT applies the LT predicate on the "sort_order" field.
- func SortOrderLT(v int) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldLT(FieldSortOrder, v))
- }
- // SortOrderLTE applies the LTE predicate on the "sort_order" field.
- func SortOrderLTE(v int) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldLTE(FieldSortOrder, v))
- }
- // LimitsEQ applies the EQ predicate on the "limits" field.
- func LimitsEQ(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEQ(FieldLimits, v))
- }
- // LimitsNEQ applies the NEQ predicate on the "limits" field.
- func LimitsNEQ(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldNEQ(FieldLimits, v))
- }
- // LimitsIn applies the In predicate on the "limits" field.
- func LimitsIn(vs ...string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldIn(FieldLimits, vs...))
- }
- // LimitsNotIn applies the NotIn predicate on the "limits" field.
- func LimitsNotIn(vs ...string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldNotIn(FieldLimits, vs...))
- }
- // LimitsGT applies the GT predicate on the "limits" field.
- func LimitsGT(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldGT(FieldLimits, v))
- }
- // LimitsGTE applies the GTE predicate on the "limits" field.
- func LimitsGTE(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldGTE(FieldLimits, v))
- }
- // LimitsLT applies the LT predicate on the "limits" field.
- func LimitsLT(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldLT(FieldLimits, v))
- }
- // LimitsLTE applies the LTE predicate on the "limits" field.
- func LimitsLTE(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldLTE(FieldLimits, v))
- }
- // LimitsContains applies the Contains predicate on the "limits" field.
- func LimitsContains(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldContains(FieldLimits, v))
- }
- // LimitsHasPrefix applies the HasPrefix predicate on the "limits" field.
- func LimitsHasPrefix(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldHasPrefix(FieldLimits, v))
- }
- // LimitsHasSuffix applies the HasSuffix predicate on the "limits" field.
- func LimitsHasSuffix(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldHasSuffix(FieldLimits, v))
- }
- // LimitsEqualFold applies the EqualFold predicate on the "limits" field.
- func LimitsEqualFold(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEqualFold(FieldLimits, v))
- }
- // LimitsContainsFold applies the ContainsFold predicate on the "limits" field.
- func LimitsContainsFold(v string) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldContainsFold(FieldLimits, v))
- }
- // RefundEnabledEQ applies the EQ predicate on the "refund_enabled" field.
- func RefundEnabledEQ(v bool) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEQ(FieldRefundEnabled, v))
- }
- // RefundEnabledNEQ applies the NEQ predicate on the "refund_enabled" field.
- func RefundEnabledNEQ(v bool) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldNEQ(FieldRefundEnabled, v))
- }
- // AllowUserRefundEQ applies the EQ predicate on the "allow_user_refund" field.
- func AllowUserRefundEQ(v bool) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEQ(FieldAllowUserRefund, v))
- }
- // AllowUserRefundNEQ applies the NEQ predicate on the "allow_user_refund" field.
- func AllowUserRefundNEQ(v bool) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldNEQ(FieldAllowUserRefund, v))
- }
- // CreatedAtEQ applies the EQ predicate on the "created_at" field.
- func CreatedAtEQ(v time.Time) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEQ(FieldCreatedAt, v))
- }
- // CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
- func CreatedAtNEQ(v time.Time) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldNEQ(FieldCreatedAt, v))
- }
- // CreatedAtIn applies the In predicate on the "created_at" field.
- func CreatedAtIn(vs ...time.Time) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldIn(FieldCreatedAt, vs...))
- }
- // CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
- func CreatedAtNotIn(vs ...time.Time) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldNotIn(FieldCreatedAt, vs...))
- }
- // CreatedAtGT applies the GT predicate on the "created_at" field.
- func CreatedAtGT(v time.Time) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldGT(FieldCreatedAt, v))
- }
- // CreatedAtGTE applies the GTE predicate on the "created_at" field.
- func CreatedAtGTE(v time.Time) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldGTE(FieldCreatedAt, v))
- }
- // CreatedAtLT applies the LT predicate on the "created_at" field.
- func CreatedAtLT(v time.Time) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldLT(FieldCreatedAt, v))
- }
- // CreatedAtLTE applies the LTE predicate on the "created_at" field.
- func CreatedAtLTE(v time.Time) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldLTE(FieldCreatedAt, v))
- }
- // UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
- func UpdatedAtEQ(v time.Time) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
- func UpdatedAtNEQ(v time.Time) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldNEQ(FieldUpdatedAt, v))
- }
- // UpdatedAtIn applies the In predicate on the "updated_at" field.
- func UpdatedAtIn(vs ...time.Time) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
- func UpdatedAtNotIn(vs ...time.Time) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldNotIn(FieldUpdatedAt, vs...))
- }
- // UpdatedAtGT applies the GT predicate on the "updated_at" field.
- func UpdatedAtGT(v time.Time) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldGT(FieldUpdatedAt, v))
- }
- // UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
- func UpdatedAtGTE(v time.Time) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldGTE(FieldUpdatedAt, v))
- }
- // UpdatedAtLT applies the LT predicate on the "updated_at" field.
- func UpdatedAtLT(v time.Time) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldLT(FieldUpdatedAt, v))
- }
- // UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
- func UpdatedAtLTE(v time.Time) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.FieldLTE(FieldUpdatedAt, v))
- }
- // And groups predicates with the AND operator between them.
- func And(predicates ...predicate.PaymentProviderInstance) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.AndPredicates(predicates...))
- }
- // Or groups predicates with the OR operator between them.
- func Or(predicates ...predicate.PaymentProviderInstance) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.OrPredicates(predicates...))
- }
- // Not applies the not operator on the given predicate.
- func Not(p predicate.PaymentProviderInstance) predicate.PaymentProviderInstance {
- return predicate.PaymentProviderInstance(sql.NotPredicates(p))
- }
|