| |
|
|
| package chargeusagebasedrunpayment |
|
|
| import ( |
| "time" |
|
|
| "entgo.io/ent/dialect/sql" |
| "entgo.io/ent/dialect/sql/sqlgraph" |
| "github.com/alpacahq/alpacadecimal" |
| "github.com/openmeterio/openmeter/openmeter/billing/charges/models/payment" |
| "github.com/openmeterio/openmeter/openmeter/ent/db/predicate" |
| ) |
|
|
| |
| func ID(id string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldID, id)) |
| } |
|
|
| |
| func IDEQ(id string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldID, id)) |
| } |
|
|
| |
| func IDNEQ(id string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNEQ(FieldID, id)) |
| } |
|
|
| |
| func IDIn(ids ...string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldIn(FieldID, ids...)) |
| } |
|
|
| |
| func IDNotIn(ids ...string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNotIn(FieldID, ids...)) |
| } |
|
|
| |
| func IDGT(id string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGT(FieldID, id)) |
| } |
|
|
| |
| func IDGTE(id string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGTE(FieldID, id)) |
| } |
|
|
| |
| func IDLT(id string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLT(FieldID, id)) |
| } |
|
|
| |
| func IDLTE(id string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLTE(FieldID, id)) |
| } |
|
|
| |
| func IDEqualFold(id string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEqualFold(FieldID, id)) |
| } |
|
|
| |
| func IDContainsFold(id string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldContainsFold(FieldID, id)) |
| } |
|
|
| |
| func LineID(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldLineID, v)) |
| } |
|
|
| |
| func InvoiceID(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldInvoiceID, v)) |
| } |
|
|
| |
| func ServicePeriodFrom(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldServicePeriodFrom, v)) |
| } |
|
|
| |
| func ServicePeriodTo(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldServicePeriodTo, v)) |
| } |
|
|
| |
| func Amount(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldAmount, v)) |
| } |
|
|
| |
| func AuthorizedTransactionGroupID(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldAuthorizedTransactionGroupID, v)) |
| } |
|
|
| |
| func AuthorizedAt(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldAuthorizedAt, v)) |
| } |
|
|
| |
| func SettledTransactionGroupID(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldSettledTransactionGroupID, v)) |
| } |
|
|
| |
| func SettledAt(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldSettledAt, v)) |
| } |
|
|
| |
| func Namespace(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldNamespace, v)) |
| } |
|
|
| |
| func CreatedAt(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldCreatedAt, v)) |
| } |
|
|
| |
| func UpdatedAt(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldUpdatedAt, v)) |
| } |
|
|
| |
| func DeletedAt(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldDeletedAt, v)) |
| } |
|
|
| |
| func RunID(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldRunID, v)) |
| } |
|
|
| |
| func LineIDEQ(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldLineID, v)) |
| } |
|
|
| |
| func LineIDNEQ(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNEQ(FieldLineID, v)) |
| } |
|
|
| |
| func LineIDIn(vs ...string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldIn(FieldLineID, vs...)) |
| } |
|
|
| |
| func LineIDNotIn(vs ...string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNotIn(FieldLineID, vs...)) |
| } |
|
|
| |
| func LineIDGT(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGT(FieldLineID, v)) |
| } |
|
|
| |
| func LineIDGTE(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGTE(FieldLineID, v)) |
| } |
|
|
| |
| func LineIDLT(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLT(FieldLineID, v)) |
| } |
|
|
| |
| func LineIDLTE(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLTE(FieldLineID, v)) |
| } |
|
|
| |
| func LineIDContains(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldContains(FieldLineID, v)) |
| } |
|
|
| |
| func LineIDHasPrefix(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldHasPrefix(FieldLineID, v)) |
| } |
|
|
| |
| func LineIDHasSuffix(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldHasSuffix(FieldLineID, v)) |
| } |
|
|
| |
| func LineIDEqualFold(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEqualFold(FieldLineID, v)) |
| } |
|
|
| |
| func LineIDContainsFold(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldContainsFold(FieldLineID, v)) |
| } |
|
|
| |
| func InvoiceIDEQ(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldInvoiceID, v)) |
| } |
|
|
| |
| func InvoiceIDNEQ(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNEQ(FieldInvoiceID, v)) |
| } |
|
|
| |
| func InvoiceIDIn(vs ...string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldIn(FieldInvoiceID, vs...)) |
| } |
|
|
| |
| func InvoiceIDNotIn(vs ...string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNotIn(FieldInvoiceID, vs...)) |
| } |
|
|
| |
| func InvoiceIDGT(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGT(FieldInvoiceID, v)) |
| } |
|
|
| |
| func InvoiceIDGTE(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGTE(FieldInvoiceID, v)) |
| } |
|
|
| |
| func InvoiceIDLT(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLT(FieldInvoiceID, v)) |
| } |
|
|
| |
| func InvoiceIDLTE(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLTE(FieldInvoiceID, v)) |
| } |
|
|
| |
| func InvoiceIDContains(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldContains(FieldInvoiceID, v)) |
| } |
|
|
| |
| func InvoiceIDHasPrefix(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldHasPrefix(FieldInvoiceID, v)) |
| } |
|
|
| |
| func InvoiceIDHasSuffix(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldHasSuffix(FieldInvoiceID, v)) |
| } |
|
|
| |
| func InvoiceIDEqualFold(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEqualFold(FieldInvoiceID, v)) |
| } |
|
|
| |
| func InvoiceIDContainsFold(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldContainsFold(FieldInvoiceID, v)) |
| } |
|
|
| |
| func ServicePeriodFromEQ(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldServicePeriodFrom, v)) |
| } |
|
|
| |
| func ServicePeriodFromNEQ(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNEQ(FieldServicePeriodFrom, v)) |
| } |
|
|
| |
| func ServicePeriodFromIn(vs ...time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldIn(FieldServicePeriodFrom, vs...)) |
| } |
|
|
| |
| func ServicePeriodFromNotIn(vs ...time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNotIn(FieldServicePeriodFrom, vs...)) |
| } |
|
|
| |
| func ServicePeriodFromGT(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGT(FieldServicePeriodFrom, v)) |
| } |
|
|
| |
| func ServicePeriodFromGTE(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGTE(FieldServicePeriodFrom, v)) |
| } |
|
|
| |
| func ServicePeriodFromLT(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLT(FieldServicePeriodFrom, v)) |
| } |
|
|
| |
| func ServicePeriodFromLTE(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLTE(FieldServicePeriodFrom, v)) |
| } |
|
|
| |
| func ServicePeriodToEQ(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldServicePeriodTo, v)) |
| } |
|
|
| |
| func ServicePeriodToNEQ(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNEQ(FieldServicePeriodTo, v)) |
| } |
|
|
| |
| func ServicePeriodToIn(vs ...time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldIn(FieldServicePeriodTo, vs...)) |
| } |
|
|
| |
| func ServicePeriodToNotIn(vs ...time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNotIn(FieldServicePeriodTo, vs...)) |
| } |
|
|
| |
| func ServicePeriodToGT(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGT(FieldServicePeriodTo, v)) |
| } |
|
|
| |
| func ServicePeriodToGTE(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGTE(FieldServicePeriodTo, v)) |
| } |
|
|
| |
| func ServicePeriodToLT(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLT(FieldServicePeriodTo, v)) |
| } |
|
|
| |
| func ServicePeriodToLTE(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLTE(FieldServicePeriodTo, v)) |
| } |
|
|
| |
| func StatusEQ(v payment.Status) predicate.ChargeUsageBasedRunPayment { |
| vc := v |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldStatus, vc)) |
| } |
|
|
| |
| func StatusNEQ(v payment.Status) predicate.ChargeUsageBasedRunPayment { |
| vc := v |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNEQ(FieldStatus, vc)) |
| } |
|
|
| |
| func StatusIn(vs ...payment.Status) predicate.ChargeUsageBasedRunPayment { |
| v := make([]any, len(vs)) |
| for i := range v { |
| v[i] = vs[i] |
| } |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldIn(FieldStatus, v...)) |
| } |
|
|
| |
| func StatusNotIn(vs ...payment.Status) predicate.ChargeUsageBasedRunPayment { |
| v := make([]any, len(vs)) |
| for i := range v { |
| v[i] = vs[i] |
| } |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNotIn(FieldStatus, v...)) |
| } |
|
|
| |
| func AmountEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldAmount, v)) |
| } |
|
|
| |
| func AmountNEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNEQ(FieldAmount, v)) |
| } |
|
|
| |
| func AmountIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldIn(FieldAmount, vs...)) |
| } |
|
|
| |
| func AmountNotIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNotIn(FieldAmount, vs...)) |
| } |
|
|
| |
| func AmountGT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGT(FieldAmount, v)) |
| } |
|
|
| |
| func AmountGTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGTE(FieldAmount, v)) |
| } |
|
|
| |
| func AmountLT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLT(FieldAmount, v)) |
| } |
|
|
| |
| func AmountLTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLTE(FieldAmount, v)) |
| } |
|
|
| |
| func AuthorizedTransactionGroupIDEQ(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldAuthorizedTransactionGroupID, v)) |
| } |
|
|
| |
| func AuthorizedTransactionGroupIDNEQ(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNEQ(FieldAuthorizedTransactionGroupID, v)) |
| } |
|
|
| |
| func AuthorizedTransactionGroupIDIn(vs ...string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldIn(FieldAuthorizedTransactionGroupID, vs...)) |
| } |
|
|
| |
| func AuthorizedTransactionGroupIDNotIn(vs ...string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNotIn(FieldAuthorizedTransactionGroupID, vs...)) |
| } |
|
|
| |
| func AuthorizedTransactionGroupIDGT(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGT(FieldAuthorizedTransactionGroupID, v)) |
| } |
|
|
| |
| func AuthorizedTransactionGroupIDGTE(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGTE(FieldAuthorizedTransactionGroupID, v)) |
| } |
|
|
| |
| func AuthorizedTransactionGroupIDLT(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLT(FieldAuthorizedTransactionGroupID, v)) |
| } |
|
|
| |
| func AuthorizedTransactionGroupIDLTE(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLTE(FieldAuthorizedTransactionGroupID, v)) |
| } |
|
|
| |
| func AuthorizedTransactionGroupIDContains(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldContains(FieldAuthorizedTransactionGroupID, v)) |
| } |
|
|
| |
| func AuthorizedTransactionGroupIDHasPrefix(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldHasPrefix(FieldAuthorizedTransactionGroupID, v)) |
| } |
|
|
| |
| func AuthorizedTransactionGroupIDHasSuffix(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldHasSuffix(FieldAuthorizedTransactionGroupID, v)) |
| } |
|
|
| |
| func AuthorizedTransactionGroupIDIsNil() predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldIsNull(FieldAuthorizedTransactionGroupID)) |
| } |
|
|
| |
| func AuthorizedTransactionGroupIDNotNil() predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNotNull(FieldAuthorizedTransactionGroupID)) |
| } |
|
|
| |
| func AuthorizedTransactionGroupIDEqualFold(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEqualFold(FieldAuthorizedTransactionGroupID, v)) |
| } |
|
|
| |
| func AuthorizedTransactionGroupIDContainsFold(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldContainsFold(FieldAuthorizedTransactionGroupID, v)) |
| } |
|
|
| |
| func AuthorizedAtEQ(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldAuthorizedAt, v)) |
| } |
|
|
| |
| func AuthorizedAtNEQ(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNEQ(FieldAuthorizedAt, v)) |
| } |
|
|
| |
| func AuthorizedAtIn(vs ...time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldIn(FieldAuthorizedAt, vs...)) |
| } |
|
|
| |
| func AuthorizedAtNotIn(vs ...time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNotIn(FieldAuthorizedAt, vs...)) |
| } |
|
|
| |
| func AuthorizedAtGT(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGT(FieldAuthorizedAt, v)) |
| } |
|
|
| |
| func AuthorizedAtGTE(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGTE(FieldAuthorizedAt, v)) |
| } |
|
|
| |
| func AuthorizedAtLT(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLT(FieldAuthorizedAt, v)) |
| } |
|
|
| |
| func AuthorizedAtLTE(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLTE(FieldAuthorizedAt, v)) |
| } |
|
|
| |
| func AuthorizedAtIsNil() predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldIsNull(FieldAuthorizedAt)) |
| } |
|
|
| |
| func AuthorizedAtNotNil() predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNotNull(FieldAuthorizedAt)) |
| } |
|
|
| |
| func SettledTransactionGroupIDEQ(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldSettledTransactionGroupID, v)) |
| } |
|
|
| |
| func SettledTransactionGroupIDNEQ(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNEQ(FieldSettledTransactionGroupID, v)) |
| } |
|
|
| |
| func SettledTransactionGroupIDIn(vs ...string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldIn(FieldSettledTransactionGroupID, vs...)) |
| } |
|
|
| |
| func SettledTransactionGroupIDNotIn(vs ...string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNotIn(FieldSettledTransactionGroupID, vs...)) |
| } |
|
|
| |
| func SettledTransactionGroupIDGT(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGT(FieldSettledTransactionGroupID, v)) |
| } |
|
|
| |
| func SettledTransactionGroupIDGTE(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGTE(FieldSettledTransactionGroupID, v)) |
| } |
|
|
| |
| func SettledTransactionGroupIDLT(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLT(FieldSettledTransactionGroupID, v)) |
| } |
|
|
| |
| func SettledTransactionGroupIDLTE(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLTE(FieldSettledTransactionGroupID, v)) |
| } |
|
|
| |
| func SettledTransactionGroupIDContains(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldContains(FieldSettledTransactionGroupID, v)) |
| } |
|
|
| |
| func SettledTransactionGroupIDHasPrefix(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldHasPrefix(FieldSettledTransactionGroupID, v)) |
| } |
|
|
| |
| func SettledTransactionGroupIDHasSuffix(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldHasSuffix(FieldSettledTransactionGroupID, v)) |
| } |
|
|
| |
| func SettledTransactionGroupIDIsNil() predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldIsNull(FieldSettledTransactionGroupID)) |
| } |
|
|
| |
| func SettledTransactionGroupIDNotNil() predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNotNull(FieldSettledTransactionGroupID)) |
| } |
|
|
| |
| func SettledTransactionGroupIDEqualFold(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEqualFold(FieldSettledTransactionGroupID, v)) |
| } |
|
|
| |
| func SettledTransactionGroupIDContainsFold(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldContainsFold(FieldSettledTransactionGroupID, v)) |
| } |
|
|
| |
| func SettledAtEQ(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldSettledAt, v)) |
| } |
|
|
| |
| func SettledAtNEQ(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNEQ(FieldSettledAt, v)) |
| } |
|
|
| |
| func SettledAtIn(vs ...time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldIn(FieldSettledAt, vs...)) |
| } |
|
|
| |
| func SettledAtNotIn(vs ...time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNotIn(FieldSettledAt, vs...)) |
| } |
|
|
| |
| func SettledAtGT(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGT(FieldSettledAt, v)) |
| } |
|
|
| |
| func SettledAtGTE(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGTE(FieldSettledAt, v)) |
| } |
|
|
| |
| func SettledAtLT(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLT(FieldSettledAt, v)) |
| } |
|
|
| |
| func SettledAtLTE(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLTE(FieldSettledAt, v)) |
| } |
|
|
| |
| func SettledAtIsNil() predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldIsNull(FieldSettledAt)) |
| } |
|
|
| |
| func SettledAtNotNil() predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNotNull(FieldSettledAt)) |
| } |
|
|
| |
| func NamespaceEQ(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldNamespace, v)) |
| } |
|
|
| |
| func NamespaceNEQ(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNEQ(FieldNamespace, v)) |
| } |
|
|
| |
| func NamespaceIn(vs ...string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldIn(FieldNamespace, vs...)) |
| } |
|
|
| |
| func NamespaceNotIn(vs ...string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNotIn(FieldNamespace, vs...)) |
| } |
|
|
| |
| func NamespaceGT(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGT(FieldNamespace, v)) |
| } |
|
|
| |
| func NamespaceGTE(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGTE(FieldNamespace, v)) |
| } |
|
|
| |
| func NamespaceLT(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLT(FieldNamespace, v)) |
| } |
|
|
| |
| func NamespaceLTE(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLTE(FieldNamespace, v)) |
| } |
|
|
| |
| func NamespaceContains(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldContains(FieldNamespace, v)) |
| } |
|
|
| |
| func NamespaceHasPrefix(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldHasPrefix(FieldNamespace, v)) |
| } |
|
|
| |
| func NamespaceHasSuffix(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldHasSuffix(FieldNamespace, v)) |
| } |
|
|
| |
| func NamespaceEqualFold(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEqualFold(FieldNamespace, v)) |
| } |
|
|
| |
| func NamespaceContainsFold(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldContainsFold(FieldNamespace, v)) |
| } |
|
|
| |
| func CreatedAtEQ(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldCreatedAt, v)) |
| } |
|
|
| |
| func CreatedAtNEQ(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNEQ(FieldCreatedAt, v)) |
| } |
|
|
| |
| func CreatedAtIn(vs ...time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldIn(FieldCreatedAt, vs...)) |
| } |
|
|
| |
| func CreatedAtNotIn(vs ...time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNotIn(FieldCreatedAt, vs...)) |
| } |
|
|
| |
| func CreatedAtGT(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGT(FieldCreatedAt, v)) |
| } |
|
|
| |
| func CreatedAtGTE(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGTE(FieldCreatedAt, v)) |
| } |
|
|
| |
| func CreatedAtLT(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLT(FieldCreatedAt, v)) |
| } |
|
|
| |
| func CreatedAtLTE(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLTE(FieldCreatedAt, v)) |
| } |
|
|
| |
| func UpdatedAtEQ(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldUpdatedAt, v)) |
| } |
|
|
| |
| func UpdatedAtNEQ(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNEQ(FieldUpdatedAt, v)) |
| } |
|
|
| |
| func UpdatedAtIn(vs ...time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldIn(FieldUpdatedAt, vs...)) |
| } |
|
|
| |
| func UpdatedAtNotIn(vs ...time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNotIn(FieldUpdatedAt, vs...)) |
| } |
|
|
| |
| func UpdatedAtGT(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGT(FieldUpdatedAt, v)) |
| } |
|
|
| |
| func UpdatedAtGTE(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGTE(FieldUpdatedAt, v)) |
| } |
|
|
| |
| func UpdatedAtLT(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLT(FieldUpdatedAt, v)) |
| } |
|
|
| |
| func UpdatedAtLTE(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLTE(FieldUpdatedAt, v)) |
| } |
|
|
| |
| func DeletedAtEQ(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldDeletedAt, v)) |
| } |
|
|
| |
| func DeletedAtNEQ(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNEQ(FieldDeletedAt, v)) |
| } |
|
|
| |
| func DeletedAtIn(vs ...time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldIn(FieldDeletedAt, vs...)) |
| } |
|
|
| |
| func DeletedAtNotIn(vs ...time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNotIn(FieldDeletedAt, vs...)) |
| } |
|
|
| |
| func DeletedAtGT(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGT(FieldDeletedAt, v)) |
| } |
|
|
| |
| func DeletedAtGTE(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGTE(FieldDeletedAt, v)) |
| } |
|
|
| |
| func DeletedAtLT(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLT(FieldDeletedAt, v)) |
| } |
|
|
| |
| func DeletedAtLTE(v time.Time) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLTE(FieldDeletedAt, v)) |
| } |
|
|
| |
| func DeletedAtIsNil() predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldIsNull(FieldDeletedAt)) |
| } |
|
|
| |
| func DeletedAtNotNil() predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNotNull(FieldDeletedAt)) |
| } |
|
|
| |
| func AnnotationsIsNil() predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldIsNull(FieldAnnotations)) |
| } |
|
|
| |
| func AnnotationsNotNil() predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNotNull(FieldAnnotations)) |
| } |
|
|
| |
| func RunIDEQ(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEQ(FieldRunID, v)) |
| } |
|
|
| |
| func RunIDNEQ(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNEQ(FieldRunID, v)) |
| } |
|
|
| |
| func RunIDIn(vs ...string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldIn(FieldRunID, vs...)) |
| } |
|
|
| |
| func RunIDNotIn(vs ...string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldNotIn(FieldRunID, vs...)) |
| } |
|
|
| |
| func RunIDGT(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGT(FieldRunID, v)) |
| } |
|
|
| |
| func RunIDGTE(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldGTE(FieldRunID, v)) |
| } |
|
|
| |
| func RunIDLT(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLT(FieldRunID, v)) |
| } |
|
|
| |
| func RunIDLTE(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldLTE(FieldRunID, v)) |
| } |
|
|
| |
| func RunIDContains(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldContains(FieldRunID, v)) |
| } |
|
|
| |
| func RunIDHasPrefix(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldHasPrefix(FieldRunID, v)) |
| } |
|
|
| |
| func RunIDHasSuffix(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldHasSuffix(FieldRunID, v)) |
| } |
|
|
| |
| func RunIDEqualFold(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldEqualFold(FieldRunID, v)) |
| } |
|
|
| |
| func RunIDContainsFold(v string) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.FieldContainsFold(FieldRunID, v)) |
| } |
|
|
| |
| func HasRun() predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(func(s *sql.Selector) { |
| step := sqlgraph.NewStep( |
| sqlgraph.From(Table, FieldID), |
| sqlgraph.Edge(sqlgraph.O2O, true, RunTable, RunColumn), |
| ) |
| sqlgraph.HasNeighbors(s, step) |
| }) |
| } |
|
|
| |
| func HasRunWith(preds ...predicate.ChargeUsageBasedRuns) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(func(s *sql.Selector) { |
| step := newRunStep() |
| sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) { |
| for _, p := range preds { |
| p(s) |
| } |
| }) |
| }) |
| } |
|
|
| |
| func And(predicates ...predicate.ChargeUsageBasedRunPayment) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.AndPredicates(predicates...)) |
| } |
|
|
| |
| func Or(predicates ...predicate.ChargeUsageBasedRunPayment) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.OrPredicates(predicates...)) |
| } |
|
|
| |
| func Not(p predicate.ChargeUsageBasedRunPayment) predicate.ChargeUsageBasedRunPayment { |
| return predicate.ChargeUsageBasedRunPayment(sql.NotPredicates(p)) |
| } |
|
|