Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ChargeUsageBasedOverride) predicate.ChargeUsageBasedOverride
- func BillingPeriodFrom(v time.Time) predicate.ChargeUsageBasedOverride
- func BillingPeriodFromEQ(v time.Time) predicate.ChargeUsageBasedOverride
- func BillingPeriodFromGT(v time.Time) predicate.ChargeUsageBasedOverride
- func BillingPeriodFromGTE(v time.Time) predicate.ChargeUsageBasedOverride
- func BillingPeriodFromIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
- func BillingPeriodFromLT(v time.Time) predicate.ChargeUsageBasedOverride
- func BillingPeriodFromLTE(v time.Time) predicate.ChargeUsageBasedOverride
- func BillingPeriodFromNEQ(v time.Time) predicate.ChargeUsageBasedOverride
- func BillingPeriodFromNotIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
- func BillingPeriodTo(v time.Time) predicate.ChargeUsageBasedOverride
- func BillingPeriodToEQ(v time.Time) predicate.ChargeUsageBasedOverride
- func BillingPeriodToGT(v time.Time) predicate.ChargeUsageBasedOverride
- func BillingPeriodToGTE(v time.Time) predicate.ChargeUsageBasedOverride
- func BillingPeriodToIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
- func BillingPeriodToLT(v time.Time) predicate.ChargeUsageBasedOverride
- func BillingPeriodToLTE(v time.Time) predicate.ChargeUsageBasedOverride
- func BillingPeriodToNEQ(v time.Time) predicate.ChargeUsageBasedOverride
- func BillingPeriodToNotIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
- func ChargeID(v string) predicate.ChargeUsageBasedOverride
- func ChargeIDContains(v string) predicate.ChargeUsageBasedOverride
- func ChargeIDContainsFold(v string) predicate.ChargeUsageBasedOverride
- func ChargeIDEQ(v string) predicate.ChargeUsageBasedOverride
- func ChargeIDEqualFold(v string) predicate.ChargeUsageBasedOverride
- func ChargeIDGT(v string) predicate.ChargeUsageBasedOverride
- func ChargeIDGTE(v string) predicate.ChargeUsageBasedOverride
- func ChargeIDHasPrefix(v string) predicate.ChargeUsageBasedOverride
- func ChargeIDHasSuffix(v string) predicate.ChargeUsageBasedOverride
- func ChargeIDIn(vs ...string) predicate.ChargeUsageBasedOverride
- func ChargeIDLT(v string) predicate.ChargeUsageBasedOverride
- func ChargeIDLTE(v string) predicate.ChargeUsageBasedOverride
- func ChargeIDNEQ(v string) predicate.ChargeUsageBasedOverride
- func ChargeIDNotIn(vs ...string) predicate.ChargeUsageBasedOverride
- func Description(v string) predicate.ChargeUsageBasedOverride
- func DescriptionContains(v string) predicate.ChargeUsageBasedOverride
- func DescriptionContainsFold(v string) predicate.ChargeUsageBasedOverride
- func DescriptionEQ(v string) predicate.ChargeUsageBasedOverride
- func DescriptionEqualFold(v string) predicate.ChargeUsageBasedOverride
- func DescriptionGT(v string) predicate.ChargeUsageBasedOverride
- func DescriptionGTE(v string) predicate.ChargeUsageBasedOverride
- func DescriptionHasPrefix(v string) predicate.ChargeUsageBasedOverride
- func DescriptionHasSuffix(v string) predicate.ChargeUsageBasedOverride
- func DescriptionIn(vs ...string) predicate.ChargeUsageBasedOverride
- func DescriptionIsNil() predicate.ChargeUsageBasedOverride
- func DescriptionLT(v string) predicate.ChargeUsageBasedOverride
- func DescriptionLTE(v string) predicate.ChargeUsageBasedOverride
- func DescriptionNEQ(v string) predicate.ChargeUsageBasedOverride
- func DescriptionNotIn(vs ...string) predicate.ChargeUsageBasedOverride
- func DescriptionNotNil() predicate.ChargeUsageBasedOverride
- func FeatureKey(v string) predicate.ChargeUsageBasedOverride
- func FeatureKeyContains(v string) predicate.ChargeUsageBasedOverride
- func FeatureKeyContainsFold(v string) predicate.ChargeUsageBasedOverride
- func FeatureKeyEQ(v string) predicate.ChargeUsageBasedOverride
- func FeatureKeyEqualFold(v string) predicate.ChargeUsageBasedOverride
- func FeatureKeyGT(v string) predicate.ChargeUsageBasedOverride
- func FeatureKeyGTE(v string) predicate.ChargeUsageBasedOverride
- func FeatureKeyHasPrefix(v string) predicate.ChargeUsageBasedOverride
- func FeatureKeyHasSuffix(v string) predicate.ChargeUsageBasedOverride
- func FeatureKeyIn(vs ...string) predicate.ChargeUsageBasedOverride
- func FeatureKeyIsNil() predicate.ChargeUsageBasedOverride
- func FeatureKeyLT(v string) predicate.ChargeUsageBasedOverride
- func FeatureKeyLTE(v string) predicate.ChargeUsageBasedOverride
- func FeatureKeyNEQ(v string) predicate.ChargeUsageBasedOverride
- func FeatureKeyNotIn(vs ...string) predicate.ChargeUsageBasedOverride
- func FeatureKeyNotNil() predicate.ChargeUsageBasedOverride
- func FullServicePeriodFrom(v time.Time) predicate.ChargeUsageBasedOverride
- func FullServicePeriodFromEQ(v time.Time) predicate.ChargeUsageBasedOverride
- func FullServicePeriodFromGT(v time.Time) predicate.ChargeUsageBasedOverride
- func FullServicePeriodFromGTE(v time.Time) predicate.ChargeUsageBasedOverride
- func FullServicePeriodFromIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
- func FullServicePeriodFromLT(v time.Time) predicate.ChargeUsageBasedOverride
- func FullServicePeriodFromLTE(v time.Time) predicate.ChargeUsageBasedOverride
- func FullServicePeriodFromNEQ(v time.Time) predicate.ChargeUsageBasedOverride
- func FullServicePeriodFromNotIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
- func FullServicePeriodTo(v time.Time) predicate.ChargeUsageBasedOverride
- func FullServicePeriodToEQ(v time.Time) predicate.ChargeUsageBasedOverride
- func FullServicePeriodToGT(v time.Time) predicate.ChargeUsageBasedOverride
- func FullServicePeriodToGTE(v time.Time) predicate.ChargeUsageBasedOverride
- func FullServicePeriodToIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
- func FullServicePeriodToLT(v time.Time) predicate.ChargeUsageBasedOverride
- func FullServicePeriodToLTE(v time.Time) predicate.ChargeUsageBasedOverride
- func FullServicePeriodToNEQ(v time.Time) predicate.ChargeUsageBasedOverride
- func FullServicePeriodToNotIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
- func HasTaxCode() predicate.ChargeUsageBasedOverride
- func HasTaxCodeWith(preds ...predicate.TaxCode) predicate.ChargeUsageBasedOverride
- func HasUsageBased() predicate.ChargeUsageBasedOverride
- func HasUsageBasedWith(preds ...predicate.ChargeUsageBased) predicate.ChargeUsageBasedOverride
- func ID(id string) predicate.ChargeUsageBasedOverride
- func IDContainsFold(id string) predicate.ChargeUsageBasedOverride
- func IDEQ(id string) predicate.ChargeUsageBasedOverride
- func IDEqualFold(id string) predicate.ChargeUsageBasedOverride
- func IDGT(id string) predicate.ChargeUsageBasedOverride
- func IDGTE(id string) predicate.ChargeUsageBasedOverride
- func IDIn(ids ...string) predicate.ChargeUsageBasedOverride
- func IDLT(id string) predicate.ChargeUsageBasedOverride
- func IDLTE(id string) predicate.ChargeUsageBasedOverride
- func IDNEQ(id string) predicate.ChargeUsageBasedOverride
- func IDNotIn(ids ...string) predicate.ChargeUsageBasedOverride
- func IntentDeletedAt(v time.Time) predicate.ChargeUsageBasedOverride
- func IntentDeletedAtEQ(v time.Time) predicate.ChargeUsageBasedOverride
- func IntentDeletedAtGT(v time.Time) predicate.ChargeUsageBasedOverride
- func IntentDeletedAtGTE(v time.Time) predicate.ChargeUsageBasedOverride
- func IntentDeletedAtIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
- func IntentDeletedAtIsNil() predicate.ChargeUsageBasedOverride
- func IntentDeletedAtLT(v time.Time) predicate.ChargeUsageBasedOverride
- func IntentDeletedAtLTE(v time.Time) predicate.ChargeUsageBasedOverride
- func IntentDeletedAtNEQ(v time.Time) predicate.ChargeUsageBasedOverride
- func IntentDeletedAtNotIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
- func IntentDeletedAtNotNil() predicate.ChargeUsageBasedOverride
- func InvoiceAt(v time.Time) predicate.ChargeUsageBasedOverride
- func InvoiceAtEQ(v time.Time) predicate.ChargeUsageBasedOverride
- func InvoiceAtGT(v time.Time) predicate.ChargeUsageBasedOverride
- func InvoiceAtGTE(v time.Time) predicate.ChargeUsageBasedOverride
- func InvoiceAtIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
- func InvoiceAtLT(v time.Time) predicate.ChargeUsageBasedOverride
- func InvoiceAtLTE(v time.Time) predicate.ChargeUsageBasedOverride
- func InvoiceAtNEQ(v time.Time) predicate.ChargeUsageBasedOverride
- func InvoiceAtNotIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
- func MetadataIsNil() predicate.ChargeUsageBasedOverride
- func MetadataNotNil() predicate.ChargeUsageBasedOverride
- func Name(v string) predicate.ChargeUsageBasedOverride
- func NameContains(v string) predicate.ChargeUsageBasedOverride
- func NameContainsFold(v string) predicate.ChargeUsageBasedOverride
- func NameEQ(v string) predicate.ChargeUsageBasedOverride
- func NameEqualFold(v string) predicate.ChargeUsageBasedOverride
- func NameGT(v string) predicate.ChargeUsageBasedOverride
- func NameGTE(v string) predicate.ChargeUsageBasedOverride
- func NameHasPrefix(v string) predicate.ChargeUsageBasedOverride
- func NameHasSuffix(v string) predicate.ChargeUsageBasedOverride
- func NameIn(vs ...string) predicate.ChargeUsageBasedOverride
- func NameLT(v string) predicate.ChargeUsageBasedOverride
- func NameLTE(v string) predicate.ChargeUsageBasedOverride
- func NameNEQ(v string) predicate.ChargeUsageBasedOverride
- func NameNotIn(vs ...string) predicate.ChargeUsageBasedOverride
- func Namespace(v string) predicate.ChargeUsageBasedOverride
- func NamespaceContains(v string) predicate.ChargeUsageBasedOverride
- func NamespaceContainsFold(v string) predicate.ChargeUsageBasedOverride
- func NamespaceEQ(v string) predicate.ChargeUsageBasedOverride
- func NamespaceEqualFold(v string) predicate.ChargeUsageBasedOverride
- func NamespaceGT(v string) predicate.ChargeUsageBasedOverride
- func NamespaceGTE(v string) predicate.ChargeUsageBasedOverride
- func NamespaceHasPrefix(v string) predicate.ChargeUsageBasedOverride
- func NamespaceHasSuffix(v string) predicate.ChargeUsageBasedOverride
- func NamespaceIn(vs ...string) predicate.ChargeUsageBasedOverride
- func NamespaceLT(v string) predicate.ChargeUsageBasedOverride
- func NamespaceLTE(v string) predicate.ChargeUsageBasedOverride
- func NamespaceNEQ(v string) predicate.ChargeUsageBasedOverride
- func NamespaceNotIn(vs ...string) predicate.ChargeUsageBasedOverride
- func Not(p predicate.ChargeUsageBasedOverride) predicate.ChargeUsageBasedOverride
- func Or(predicates ...predicate.ChargeUsageBasedOverride) predicate.ChargeUsageBasedOverride
- func ServicePeriodFrom(v time.Time) predicate.ChargeUsageBasedOverride
- func ServicePeriodFromEQ(v time.Time) predicate.ChargeUsageBasedOverride
- func ServicePeriodFromGT(v time.Time) predicate.ChargeUsageBasedOverride
- func ServicePeriodFromGTE(v time.Time) predicate.ChargeUsageBasedOverride
- func ServicePeriodFromIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
- func ServicePeriodFromLT(v time.Time) predicate.ChargeUsageBasedOverride
- func ServicePeriodFromLTE(v time.Time) predicate.ChargeUsageBasedOverride
- func ServicePeriodFromNEQ(v time.Time) predicate.ChargeUsageBasedOverride
- func ServicePeriodFromNotIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
- func ServicePeriodTo(v time.Time) predicate.ChargeUsageBasedOverride
- func ServicePeriodToEQ(v time.Time) predicate.ChargeUsageBasedOverride
- func ServicePeriodToGT(v time.Time) predicate.ChargeUsageBasedOverride
- func ServicePeriodToGTE(v time.Time) predicate.ChargeUsageBasedOverride
- func ServicePeriodToIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
- func ServicePeriodToLT(v time.Time) predicate.ChargeUsageBasedOverride
- func ServicePeriodToLTE(v time.Time) predicate.ChargeUsageBasedOverride
- func ServicePeriodToNEQ(v time.Time) predicate.ChargeUsageBasedOverride
- func ServicePeriodToNotIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
- func TaxBehavior(v productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
- func TaxBehaviorContains(v productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
- func TaxBehaviorContainsFold(v productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
- func TaxBehaviorEQ(v productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
- func TaxBehaviorEqualFold(v productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
- func TaxBehaviorGT(v productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
- func TaxBehaviorGTE(v productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
- func TaxBehaviorHasPrefix(v productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
- func TaxBehaviorHasSuffix(v productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
- func TaxBehaviorIn(vs ...productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
- func TaxBehaviorIsNil() predicate.ChargeUsageBasedOverride
- func TaxBehaviorLT(v productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
- func TaxBehaviorLTE(v productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
- func TaxBehaviorNEQ(v productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
- func TaxBehaviorNotIn(vs ...productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
- func TaxBehaviorNotNil() predicate.ChargeUsageBasedOverride
- func TaxCodeID(v string) predicate.ChargeUsageBasedOverride
- func TaxCodeIDContains(v string) predicate.ChargeUsageBasedOverride
- func TaxCodeIDContainsFold(v string) predicate.ChargeUsageBasedOverride
- func TaxCodeIDEQ(v string) predicate.ChargeUsageBasedOverride
- func TaxCodeIDEqualFold(v string) predicate.ChargeUsageBasedOverride
- func TaxCodeIDGT(v string) predicate.ChargeUsageBasedOverride
- func TaxCodeIDGTE(v string) predicate.ChargeUsageBasedOverride
- func TaxCodeIDHasPrefix(v string) predicate.ChargeUsageBasedOverride
- func TaxCodeIDHasSuffix(v string) predicate.ChargeUsageBasedOverride
- func TaxCodeIDIn(vs ...string) predicate.ChargeUsageBasedOverride
- func TaxCodeIDIsNil() predicate.ChargeUsageBasedOverride
- func TaxCodeIDLT(v string) predicate.ChargeUsageBasedOverride
- func TaxCodeIDLTE(v string) predicate.ChargeUsageBasedOverride
- func TaxCodeIDNEQ(v string) predicate.ChargeUsageBasedOverride
- func TaxCodeIDNotIn(vs ...string) predicate.ChargeUsageBasedOverride
- func TaxCodeIDNotNil() predicate.ChargeUsageBasedOverride
- func UnitConfigIsNil() predicate.ChargeUsageBasedOverride
- func UnitConfigNotNil() predicate.ChargeUsageBasedOverride
- func ValidColumn(column string) bool
- type OrderOption
- func ByBillingPeriodFrom(opts ...sql.OrderTermOption) OrderOption
- func ByBillingPeriodTo(opts ...sql.OrderTermOption) OrderOption
- func ByChargeID(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByDiscounts(opts ...sql.OrderTermOption) OrderOption
- func ByFeatureKey(opts ...sql.OrderTermOption) OrderOption
- func ByFullServicePeriodFrom(opts ...sql.OrderTermOption) OrderOption
- func ByFullServicePeriodTo(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIntentDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByInvoiceAt(opts ...sql.OrderTermOption) OrderOption
- func ByMetadata(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByNamespace(opts ...sql.OrderTermOption) OrderOption
- func ByPrice(opts ...sql.OrderTermOption) OrderOption
- func ByServicePeriodFrom(opts ...sql.OrderTermOption) OrderOption
- func ByServicePeriodTo(opts ...sql.OrderTermOption) OrderOption
- func ByTaxBehavior(opts ...sql.OrderTermOption) OrderOption
- func ByTaxCodeField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByTaxCodeID(opts ...sql.OrderTermOption) OrderOption
- func ByUnitConfig(opts ...sql.OrderTermOption) OrderOption
- func ByUsageBasedField(field string, opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the chargeusagebasedoverride type in the database. Label = "charge_usage_based_override" // 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" // FieldChargeID holds the string denoting the charge_id field in the database. FieldChargeID = "charge_id" // 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" // FieldMetadata holds the string denoting the metadata field in the database. FieldMetadata = "metadata" // FieldTaxBehavior holds the string denoting the tax_behavior field in the database. FieldTaxBehavior = "tax_behavior" // FieldTaxCodeID holds the string denoting the tax_code_id field in the database. FieldTaxCodeID = "tax_code_id" // FieldIntentDeletedAt holds the string denoting the intent_deleted_at field in the database. FieldIntentDeletedAt = "intent_deleted_at" // FieldServicePeriodFrom holds the string denoting the service_period_from field in the database. FieldServicePeriodFrom = "service_period_from" // FieldServicePeriodTo holds the string denoting the service_period_to field in the database. FieldServicePeriodTo = "service_period_to" // FieldFullServicePeriodFrom holds the string denoting the full_service_period_from field in the database. FieldFullServicePeriodFrom = "full_service_period_from" // FieldFullServicePeriodTo holds the string denoting the full_service_period_to field in the database. FieldFullServicePeriodTo = "full_service_period_to" // FieldBillingPeriodFrom holds the string denoting the billing_period_from field in the database. FieldBillingPeriodFrom = "billing_period_from" // FieldBillingPeriodTo holds the string denoting the billing_period_to field in the database. FieldBillingPeriodTo = "billing_period_to" // FieldInvoiceAt holds the string denoting the invoice_at field in the database. FieldInvoiceAt = "invoice_at" // FieldFeatureKey holds the string denoting the feature_key field in the database. FieldFeatureKey = "feature_key" // FieldPrice holds the string denoting the price field in the database. FieldPrice = "price" // FieldDiscounts holds the string denoting the discounts field in the database. FieldDiscounts = "discounts" // FieldUnitConfig holds the string denoting the unit_config field in the database. FieldUnitConfig = "unit_config" // EdgeUsageBased holds the string denoting the usage_based edge name in mutations. EdgeUsageBased = "usage_based" // EdgeTaxCode holds the string denoting the tax_code edge name in mutations. EdgeTaxCode = "tax_code" // Table holds the table name of the chargeusagebasedoverride in the database. Table = "charge_usage_based_overrides" // UsageBasedTable is the table that holds the usage_based relation/edge. UsageBasedTable = "charge_usage_based_overrides" // UsageBasedInverseTable is the table name for the ChargeUsageBased entity. // It exists in this package in order to avoid circular dependency with the "chargeusagebased" package. UsageBasedInverseTable = "charge_usage_based" // UsageBasedColumn is the table column denoting the usage_based relation/edge. UsageBasedColumn = "charge_id" // TaxCodeTable is the table that holds the tax_code relation/edge. TaxCodeTable = "charge_usage_based_overrides" // TaxCodeInverseTable is the table name for the TaxCode entity. // It exists in this package in order to avoid circular dependency with the "dbtaxcode" package. TaxCodeInverseTable = "tax_codes" // TaxCodeColumn is the table column denoting the tax_code relation/edge. TaxCodeColumn = "tax_code_id" )
Variables ¶
var ( // NamespaceValidator is a validator for the "namespace" field. It is called by the builders before save. NamespaceValidator func(string) error // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // FeatureKeyValidator is a validator for the "feature_key" field. It is called by the builders before save. FeatureKeyValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() string // ValueScanner of all ChargeUsageBasedOverride fields. ValueScanner struct { Metadata field.TypeValueScanner[*models.Metadata] Price field.TypeValueScanner[*productcatalog.Price] Discounts field.TypeValueScanner[*billing.Discounts] UnitConfig field.TypeValueScanner[*productcatalog.UnitConfig] } )
var Columns = []string{ FieldID, FieldNamespace, FieldChargeID, FieldName, FieldDescription, FieldMetadata, FieldIntentDeletedAt, FieldServicePeriodFrom, FieldServicePeriodTo, FieldFullServicePeriodFrom, FieldFullServicePeriodTo, FieldBillingPeriodFrom, FieldBillingPeriodTo, FieldInvoiceAt, FieldPrice, FieldDiscounts, FieldUnitConfig, }
Columns holds all SQL columns for chargeusagebasedoverride fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ChargeUsageBasedOverride) predicate.ChargeUsageBasedOverride
And groups predicates with the AND operator between them.
func BillingPeriodFrom ¶
func BillingPeriodFrom(v time.Time) predicate.ChargeUsageBasedOverride
BillingPeriodFrom applies equality check predicate on the "billing_period_from" field. It's identical to BillingPeriodFromEQ.
func BillingPeriodFromEQ ¶
func BillingPeriodFromEQ(v time.Time) predicate.ChargeUsageBasedOverride
BillingPeriodFromEQ applies the EQ predicate on the "billing_period_from" field.
func BillingPeriodFromGT ¶
func BillingPeriodFromGT(v time.Time) predicate.ChargeUsageBasedOverride
BillingPeriodFromGT applies the GT predicate on the "billing_period_from" field.
func BillingPeriodFromGTE ¶
func BillingPeriodFromGTE(v time.Time) predicate.ChargeUsageBasedOverride
BillingPeriodFromGTE applies the GTE predicate on the "billing_period_from" field.
func BillingPeriodFromIn ¶
func BillingPeriodFromIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
BillingPeriodFromIn applies the In predicate on the "billing_period_from" field.
func BillingPeriodFromLT ¶
func BillingPeriodFromLT(v time.Time) predicate.ChargeUsageBasedOverride
BillingPeriodFromLT applies the LT predicate on the "billing_period_from" field.
func BillingPeriodFromLTE ¶
func BillingPeriodFromLTE(v time.Time) predicate.ChargeUsageBasedOverride
BillingPeriodFromLTE applies the LTE predicate on the "billing_period_from" field.
func BillingPeriodFromNEQ ¶
func BillingPeriodFromNEQ(v time.Time) predicate.ChargeUsageBasedOverride
BillingPeriodFromNEQ applies the NEQ predicate on the "billing_period_from" field.
func BillingPeriodFromNotIn ¶
func BillingPeriodFromNotIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
BillingPeriodFromNotIn applies the NotIn predicate on the "billing_period_from" field.
func BillingPeriodTo ¶
func BillingPeriodTo(v time.Time) predicate.ChargeUsageBasedOverride
BillingPeriodTo applies equality check predicate on the "billing_period_to" field. It's identical to BillingPeriodToEQ.
func BillingPeriodToEQ ¶
func BillingPeriodToEQ(v time.Time) predicate.ChargeUsageBasedOverride
BillingPeriodToEQ applies the EQ predicate on the "billing_period_to" field.
func BillingPeriodToGT ¶
func BillingPeriodToGT(v time.Time) predicate.ChargeUsageBasedOverride
BillingPeriodToGT applies the GT predicate on the "billing_period_to" field.
func BillingPeriodToGTE ¶
func BillingPeriodToGTE(v time.Time) predicate.ChargeUsageBasedOverride
BillingPeriodToGTE applies the GTE predicate on the "billing_period_to" field.
func BillingPeriodToIn ¶
func BillingPeriodToIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
BillingPeriodToIn applies the In predicate on the "billing_period_to" field.
func BillingPeriodToLT ¶
func BillingPeriodToLT(v time.Time) predicate.ChargeUsageBasedOverride
BillingPeriodToLT applies the LT predicate on the "billing_period_to" field.
func BillingPeriodToLTE ¶
func BillingPeriodToLTE(v time.Time) predicate.ChargeUsageBasedOverride
BillingPeriodToLTE applies the LTE predicate on the "billing_period_to" field.
func BillingPeriodToNEQ ¶
func BillingPeriodToNEQ(v time.Time) predicate.ChargeUsageBasedOverride
BillingPeriodToNEQ applies the NEQ predicate on the "billing_period_to" field.
func BillingPeriodToNotIn ¶
func BillingPeriodToNotIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
BillingPeriodToNotIn applies the NotIn predicate on the "billing_period_to" field.
func ChargeID ¶
func ChargeID(v string) predicate.ChargeUsageBasedOverride
ChargeID applies equality check predicate on the "charge_id" field. It's identical to ChargeIDEQ.
func ChargeIDContains ¶
func ChargeIDContains(v string) predicate.ChargeUsageBasedOverride
ChargeIDContains applies the Contains predicate on the "charge_id" field.
func ChargeIDContainsFold ¶
func ChargeIDContainsFold(v string) predicate.ChargeUsageBasedOverride
ChargeIDContainsFold applies the ContainsFold predicate on the "charge_id" field.
func ChargeIDEQ ¶
func ChargeIDEQ(v string) predicate.ChargeUsageBasedOverride
ChargeIDEQ applies the EQ predicate on the "charge_id" field.
func ChargeIDEqualFold ¶
func ChargeIDEqualFold(v string) predicate.ChargeUsageBasedOverride
ChargeIDEqualFold applies the EqualFold predicate on the "charge_id" field.
func ChargeIDGT ¶
func ChargeIDGT(v string) predicate.ChargeUsageBasedOverride
ChargeIDGT applies the GT predicate on the "charge_id" field.
func ChargeIDGTE ¶
func ChargeIDGTE(v string) predicate.ChargeUsageBasedOverride
ChargeIDGTE applies the GTE predicate on the "charge_id" field.
func ChargeIDHasPrefix ¶
func ChargeIDHasPrefix(v string) predicate.ChargeUsageBasedOverride
ChargeIDHasPrefix applies the HasPrefix predicate on the "charge_id" field.
func ChargeIDHasSuffix ¶
func ChargeIDHasSuffix(v string) predicate.ChargeUsageBasedOverride
ChargeIDHasSuffix applies the HasSuffix predicate on the "charge_id" field.
func ChargeIDIn ¶
func ChargeIDIn(vs ...string) predicate.ChargeUsageBasedOverride
ChargeIDIn applies the In predicate on the "charge_id" field.
func ChargeIDLT ¶
func ChargeIDLT(v string) predicate.ChargeUsageBasedOverride
ChargeIDLT applies the LT predicate on the "charge_id" field.
func ChargeIDLTE ¶
func ChargeIDLTE(v string) predicate.ChargeUsageBasedOverride
ChargeIDLTE applies the LTE predicate on the "charge_id" field.
func ChargeIDNEQ ¶
func ChargeIDNEQ(v string) predicate.ChargeUsageBasedOverride
ChargeIDNEQ applies the NEQ predicate on the "charge_id" field.
func ChargeIDNotIn ¶
func ChargeIDNotIn(vs ...string) predicate.ChargeUsageBasedOverride
ChargeIDNotIn applies the NotIn predicate on the "charge_id" field.
func Description ¶
func Description(v string) predicate.ChargeUsageBasedOverride
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.ChargeUsageBasedOverride
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.ChargeUsageBasedOverride
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.ChargeUsageBasedOverride
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.ChargeUsageBasedOverride
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.ChargeUsageBasedOverride
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.ChargeUsageBasedOverride
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.ChargeUsageBasedOverride
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.ChargeUsageBasedOverride
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.ChargeUsageBasedOverride
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.ChargeUsageBasedOverride
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.ChargeUsageBasedOverride
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.ChargeUsageBasedOverride
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.ChargeUsageBasedOverride
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.ChargeUsageBasedOverride
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.ChargeUsageBasedOverride
DescriptionNotNil applies the NotNil predicate on the "description" field.
func FeatureKey ¶
func FeatureKey(v string) predicate.ChargeUsageBasedOverride
FeatureKey applies equality check predicate on the "feature_key" field. It's identical to FeatureKeyEQ.
func FeatureKeyContains ¶
func FeatureKeyContains(v string) predicate.ChargeUsageBasedOverride
FeatureKeyContains applies the Contains predicate on the "feature_key" field.
func FeatureKeyContainsFold ¶
func FeatureKeyContainsFold(v string) predicate.ChargeUsageBasedOverride
FeatureKeyContainsFold applies the ContainsFold predicate on the "feature_key" field.
func FeatureKeyEQ ¶
func FeatureKeyEQ(v string) predicate.ChargeUsageBasedOverride
FeatureKeyEQ applies the EQ predicate on the "feature_key" field.
func FeatureKeyEqualFold ¶
func FeatureKeyEqualFold(v string) predicate.ChargeUsageBasedOverride
FeatureKeyEqualFold applies the EqualFold predicate on the "feature_key" field.
func FeatureKeyGT ¶
func FeatureKeyGT(v string) predicate.ChargeUsageBasedOverride
FeatureKeyGT applies the GT predicate on the "feature_key" field.
func FeatureKeyGTE ¶
func FeatureKeyGTE(v string) predicate.ChargeUsageBasedOverride
FeatureKeyGTE applies the GTE predicate on the "feature_key" field.
func FeatureKeyHasPrefix ¶
func FeatureKeyHasPrefix(v string) predicate.ChargeUsageBasedOverride
FeatureKeyHasPrefix applies the HasPrefix predicate on the "feature_key" field.
func FeatureKeyHasSuffix ¶
func FeatureKeyHasSuffix(v string) predicate.ChargeUsageBasedOverride
FeatureKeyHasSuffix applies the HasSuffix predicate on the "feature_key" field.
func FeatureKeyIn ¶
func FeatureKeyIn(vs ...string) predicate.ChargeUsageBasedOverride
FeatureKeyIn applies the In predicate on the "feature_key" field.
func FeatureKeyIsNil ¶
func FeatureKeyIsNil() predicate.ChargeUsageBasedOverride
FeatureKeyIsNil applies the IsNil predicate on the "feature_key" field.
func FeatureKeyLT ¶
func FeatureKeyLT(v string) predicate.ChargeUsageBasedOverride
FeatureKeyLT applies the LT predicate on the "feature_key" field.
func FeatureKeyLTE ¶
func FeatureKeyLTE(v string) predicate.ChargeUsageBasedOverride
FeatureKeyLTE applies the LTE predicate on the "feature_key" field.
func FeatureKeyNEQ ¶
func FeatureKeyNEQ(v string) predicate.ChargeUsageBasedOverride
FeatureKeyNEQ applies the NEQ predicate on the "feature_key" field.
func FeatureKeyNotIn ¶
func FeatureKeyNotIn(vs ...string) predicate.ChargeUsageBasedOverride
FeatureKeyNotIn applies the NotIn predicate on the "feature_key" field.
func FeatureKeyNotNil ¶
func FeatureKeyNotNil() predicate.ChargeUsageBasedOverride
FeatureKeyNotNil applies the NotNil predicate on the "feature_key" field.
func FullServicePeriodFrom ¶
func FullServicePeriodFrom(v time.Time) predicate.ChargeUsageBasedOverride
FullServicePeriodFrom applies equality check predicate on the "full_service_period_from" field. It's identical to FullServicePeriodFromEQ.
func FullServicePeriodFromEQ ¶
func FullServicePeriodFromEQ(v time.Time) predicate.ChargeUsageBasedOverride
FullServicePeriodFromEQ applies the EQ predicate on the "full_service_period_from" field.
func FullServicePeriodFromGT ¶
func FullServicePeriodFromGT(v time.Time) predicate.ChargeUsageBasedOverride
FullServicePeriodFromGT applies the GT predicate on the "full_service_period_from" field.
func FullServicePeriodFromGTE ¶
func FullServicePeriodFromGTE(v time.Time) predicate.ChargeUsageBasedOverride
FullServicePeriodFromGTE applies the GTE predicate on the "full_service_period_from" field.
func FullServicePeriodFromIn ¶
func FullServicePeriodFromIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
FullServicePeriodFromIn applies the In predicate on the "full_service_period_from" field.
func FullServicePeriodFromLT ¶
func FullServicePeriodFromLT(v time.Time) predicate.ChargeUsageBasedOverride
FullServicePeriodFromLT applies the LT predicate on the "full_service_period_from" field.
func FullServicePeriodFromLTE ¶
func FullServicePeriodFromLTE(v time.Time) predicate.ChargeUsageBasedOverride
FullServicePeriodFromLTE applies the LTE predicate on the "full_service_period_from" field.
func FullServicePeriodFromNEQ ¶
func FullServicePeriodFromNEQ(v time.Time) predicate.ChargeUsageBasedOverride
FullServicePeriodFromNEQ applies the NEQ predicate on the "full_service_period_from" field.
func FullServicePeriodFromNotIn ¶
func FullServicePeriodFromNotIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
FullServicePeriodFromNotIn applies the NotIn predicate on the "full_service_period_from" field.
func FullServicePeriodTo ¶
func FullServicePeriodTo(v time.Time) predicate.ChargeUsageBasedOverride
FullServicePeriodTo applies equality check predicate on the "full_service_period_to" field. It's identical to FullServicePeriodToEQ.
func FullServicePeriodToEQ ¶
func FullServicePeriodToEQ(v time.Time) predicate.ChargeUsageBasedOverride
FullServicePeriodToEQ applies the EQ predicate on the "full_service_period_to" field.
func FullServicePeriodToGT ¶
func FullServicePeriodToGT(v time.Time) predicate.ChargeUsageBasedOverride
FullServicePeriodToGT applies the GT predicate on the "full_service_period_to" field.
func FullServicePeriodToGTE ¶
func FullServicePeriodToGTE(v time.Time) predicate.ChargeUsageBasedOverride
FullServicePeriodToGTE applies the GTE predicate on the "full_service_period_to" field.
func FullServicePeriodToIn ¶
func FullServicePeriodToIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
FullServicePeriodToIn applies the In predicate on the "full_service_period_to" field.
func FullServicePeriodToLT ¶
func FullServicePeriodToLT(v time.Time) predicate.ChargeUsageBasedOverride
FullServicePeriodToLT applies the LT predicate on the "full_service_period_to" field.
func FullServicePeriodToLTE ¶
func FullServicePeriodToLTE(v time.Time) predicate.ChargeUsageBasedOverride
FullServicePeriodToLTE applies the LTE predicate on the "full_service_period_to" field.
func FullServicePeriodToNEQ ¶
func FullServicePeriodToNEQ(v time.Time) predicate.ChargeUsageBasedOverride
FullServicePeriodToNEQ applies the NEQ predicate on the "full_service_period_to" field.
func FullServicePeriodToNotIn ¶
func FullServicePeriodToNotIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
FullServicePeriodToNotIn applies the NotIn predicate on the "full_service_period_to" field.
func HasTaxCode ¶
func HasTaxCode() predicate.ChargeUsageBasedOverride
HasTaxCode applies the HasEdge predicate on the "tax_code" edge.
func HasTaxCodeWith ¶
func HasTaxCodeWith(preds ...predicate.TaxCode) predicate.ChargeUsageBasedOverride
HasTaxCodeWith applies the HasEdge predicate on the "tax_code" edge with a given conditions (other predicates).
func HasUsageBased ¶
func HasUsageBased() predicate.ChargeUsageBasedOverride
HasUsageBased applies the HasEdge predicate on the "usage_based" edge.
func HasUsageBasedWith ¶
func HasUsageBasedWith(preds ...predicate.ChargeUsageBased) predicate.ChargeUsageBasedOverride
HasUsageBasedWith applies the HasEdge predicate on the "usage_based" edge with a given conditions (other predicates).
func ID ¶
func ID(id string) predicate.ChargeUsageBasedOverride
ID filters vertices based on their ID field.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.ChargeUsageBasedOverride
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.ChargeUsageBasedOverride
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.ChargeUsageBasedOverride
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.ChargeUsageBasedOverride
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.ChargeUsageBasedOverride
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.ChargeUsageBasedOverride
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.ChargeUsageBasedOverride
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.ChargeUsageBasedOverride
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.ChargeUsageBasedOverride
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.ChargeUsageBasedOverride
IDNotIn applies the NotIn predicate on the ID field.
func IntentDeletedAt ¶
func IntentDeletedAt(v time.Time) predicate.ChargeUsageBasedOverride
IntentDeletedAt applies equality check predicate on the "intent_deleted_at" field. It's identical to IntentDeletedAtEQ.
func IntentDeletedAtEQ ¶
func IntentDeletedAtEQ(v time.Time) predicate.ChargeUsageBasedOverride
IntentDeletedAtEQ applies the EQ predicate on the "intent_deleted_at" field.
func IntentDeletedAtGT ¶
func IntentDeletedAtGT(v time.Time) predicate.ChargeUsageBasedOverride
IntentDeletedAtGT applies the GT predicate on the "intent_deleted_at" field.
func IntentDeletedAtGTE ¶
func IntentDeletedAtGTE(v time.Time) predicate.ChargeUsageBasedOverride
IntentDeletedAtGTE applies the GTE predicate on the "intent_deleted_at" field.
func IntentDeletedAtIn ¶
func IntentDeletedAtIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
IntentDeletedAtIn applies the In predicate on the "intent_deleted_at" field.
func IntentDeletedAtIsNil ¶
func IntentDeletedAtIsNil() predicate.ChargeUsageBasedOverride
IntentDeletedAtIsNil applies the IsNil predicate on the "intent_deleted_at" field.
func IntentDeletedAtLT ¶
func IntentDeletedAtLT(v time.Time) predicate.ChargeUsageBasedOverride
IntentDeletedAtLT applies the LT predicate on the "intent_deleted_at" field.
func IntentDeletedAtLTE ¶
func IntentDeletedAtLTE(v time.Time) predicate.ChargeUsageBasedOverride
IntentDeletedAtLTE applies the LTE predicate on the "intent_deleted_at" field.
func IntentDeletedAtNEQ ¶
func IntentDeletedAtNEQ(v time.Time) predicate.ChargeUsageBasedOverride
IntentDeletedAtNEQ applies the NEQ predicate on the "intent_deleted_at" field.
func IntentDeletedAtNotIn ¶
func IntentDeletedAtNotIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
IntentDeletedAtNotIn applies the NotIn predicate on the "intent_deleted_at" field.
func IntentDeletedAtNotNil ¶
func IntentDeletedAtNotNil() predicate.ChargeUsageBasedOverride
IntentDeletedAtNotNil applies the NotNil predicate on the "intent_deleted_at" field.
func InvoiceAt ¶
func InvoiceAt(v time.Time) predicate.ChargeUsageBasedOverride
InvoiceAt applies equality check predicate on the "invoice_at" field. It's identical to InvoiceAtEQ.
func InvoiceAtEQ ¶
func InvoiceAtEQ(v time.Time) predicate.ChargeUsageBasedOverride
InvoiceAtEQ applies the EQ predicate on the "invoice_at" field.
func InvoiceAtGT ¶
func InvoiceAtGT(v time.Time) predicate.ChargeUsageBasedOverride
InvoiceAtGT applies the GT predicate on the "invoice_at" field.
func InvoiceAtGTE ¶
func InvoiceAtGTE(v time.Time) predicate.ChargeUsageBasedOverride
InvoiceAtGTE applies the GTE predicate on the "invoice_at" field.
func InvoiceAtIn ¶
func InvoiceAtIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
InvoiceAtIn applies the In predicate on the "invoice_at" field.
func InvoiceAtLT ¶
func InvoiceAtLT(v time.Time) predicate.ChargeUsageBasedOverride
InvoiceAtLT applies the LT predicate on the "invoice_at" field.
func InvoiceAtLTE ¶
func InvoiceAtLTE(v time.Time) predicate.ChargeUsageBasedOverride
InvoiceAtLTE applies the LTE predicate on the "invoice_at" field.
func InvoiceAtNEQ ¶
func InvoiceAtNEQ(v time.Time) predicate.ChargeUsageBasedOverride
InvoiceAtNEQ applies the NEQ predicate on the "invoice_at" field.
func InvoiceAtNotIn ¶
func InvoiceAtNotIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
InvoiceAtNotIn applies the NotIn predicate on the "invoice_at" field.
func MetadataIsNil ¶
func MetadataIsNil() predicate.ChargeUsageBasedOverride
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
func MetadataNotNil() predicate.ChargeUsageBasedOverride
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func Name ¶
func Name(v string) predicate.ChargeUsageBasedOverride
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.ChargeUsageBasedOverride
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.ChargeUsageBasedOverride
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.ChargeUsageBasedOverride
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.ChargeUsageBasedOverride
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.ChargeUsageBasedOverride
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.ChargeUsageBasedOverride
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.ChargeUsageBasedOverride
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.ChargeUsageBasedOverride
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.ChargeUsageBasedOverride
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.ChargeUsageBasedOverride
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.ChargeUsageBasedOverride
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.ChargeUsageBasedOverride
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.ChargeUsageBasedOverride
NameNotIn applies the NotIn predicate on the "name" field.
func Namespace ¶
func Namespace(v string) predicate.ChargeUsageBasedOverride
Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.
func NamespaceContains ¶
func NamespaceContains(v string) predicate.ChargeUsageBasedOverride
NamespaceContains applies the Contains predicate on the "namespace" field.
func NamespaceContainsFold ¶
func NamespaceContainsFold(v string) predicate.ChargeUsageBasedOverride
NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.
func NamespaceEQ ¶
func NamespaceEQ(v string) predicate.ChargeUsageBasedOverride
NamespaceEQ applies the EQ predicate on the "namespace" field.
func NamespaceEqualFold ¶
func NamespaceEqualFold(v string) predicate.ChargeUsageBasedOverride
NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.
func NamespaceGT ¶
func NamespaceGT(v string) predicate.ChargeUsageBasedOverride
NamespaceGT applies the GT predicate on the "namespace" field.
func NamespaceGTE ¶
func NamespaceGTE(v string) predicate.ChargeUsageBasedOverride
NamespaceGTE applies the GTE predicate on the "namespace" field.
func NamespaceHasPrefix ¶
func NamespaceHasPrefix(v string) predicate.ChargeUsageBasedOverride
NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.
func NamespaceHasSuffix ¶
func NamespaceHasSuffix(v string) predicate.ChargeUsageBasedOverride
NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.
func NamespaceIn ¶
func NamespaceIn(vs ...string) predicate.ChargeUsageBasedOverride
NamespaceIn applies the In predicate on the "namespace" field.
func NamespaceLT ¶
func NamespaceLT(v string) predicate.ChargeUsageBasedOverride
NamespaceLT applies the LT predicate on the "namespace" field.
func NamespaceLTE ¶
func NamespaceLTE(v string) predicate.ChargeUsageBasedOverride
NamespaceLTE applies the LTE predicate on the "namespace" field.
func NamespaceNEQ ¶
func NamespaceNEQ(v string) predicate.ChargeUsageBasedOverride
NamespaceNEQ applies the NEQ predicate on the "namespace" field.
func NamespaceNotIn ¶
func NamespaceNotIn(vs ...string) predicate.ChargeUsageBasedOverride
NamespaceNotIn applies the NotIn predicate on the "namespace" field.
func Or ¶
func Or(predicates ...predicate.ChargeUsageBasedOverride) predicate.ChargeUsageBasedOverride
Or groups predicates with the OR operator between them.
func ServicePeriodFrom ¶
func ServicePeriodFrom(v time.Time) predicate.ChargeUsageBasedOverride
ServicePeriodFrom applies equality check predicate on the "service_period_from" field. It's identical to ServicePeriodFromEQ.
func ServicePeriodFromEQ ¶
func ServicePeriodFromEQ(v time.Time) predicate.ChargeUsageBasedOverride
ServicePeriodFromEQ applies the EQ predicate on the "service_period_from" field.
func ServicePeriodFromGT ¶
func ServicePeriodFromGT(v time.Time) predicate.ChargeUsageBasedOverride
ServicePeriodFromGT applies the GT predicate on the "service_period_from" field.
func ServicePeriodFromGTE ¶
func ServicePeriodFromGTE(v time.Time) predicate.ChargeUsageBasedOverride
ServicePeriodFromGTE applies the GTE predicate on the "service_period_from" field.
func ServicePeriodFromIn ¶
func ServicePeriodFromIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
ServicePeriodFromIn applies the In predicate on the "service_period_from" field.
func ServicePeriodFromLT ¶
func ServicePeriodFromLT(v time.Time) predicate.ChargeUsageBasedOverride
ServicePeriodFromLT applies the LT predicate on the "service_period_from" field.
func ServicePeriodFromLTE ¶
func ServicePeriodFromLTE(v time.Time) predicate.ChargeUsageBasedOverride
ServicePeriodFromLTE applies the LTE predicate on the "service_period_from" field.
func ServicePeriodFromNEQ ¶
func ServicePeriodFromNEQ(v time.Time) predicate.ChargeUsageBasedOverride
ServicePeriodFromNEQ applies the NEQ predicate on the "service_period_from" field.
func ServicePeriodFromNotIn ¶
func ServicePeriodFromNotIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
ServicePeriodFromNotIn applies the NotIn predicate on the "service_period_from" field.
func ServicePeriodTo ¶
func ServicePeriodTo(v time.Time) predicate.ChargeUsageBasedOverride
ServicePeriodTo applies equality check predicate on the "service_period_to" field. It's identical to ServicePeriodToEQ.
func ServicePeriodToEQ ¶
func ServicePeriodToEQ(v time.Time) predicate.ChargeUsageBasedOverride
ServicePeriodToEQ applies the EQ predicate on the "service_period_to" field.
func ServicePeriodToGT ¶
func ServicePeriodToGT(v time.Time) predicate.ChargeUsageBasedOverride
ServicePeriodToGT applies the GT predicate on the "service_period_to" field.
func ServicePeriodToGTE ¶
func ServicePeriodToGTE(v time.Time) predicate.ChargeUsageBasedOverride
ServicePeriodToGTE applies the GTE predicate on the "service_period_to" field.
func ServicePeriodToIn ¶
func ServicePeriodToIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
ServicePeriodToIn applies the In predicate on the "service_period_to" field.
func ServicePeriodToLT ¶
func ServicePeriodToLT(v time.Time) predicate.ChargeUsageBasedOverride
ServicePeriodToLT applies the LT predicate on the "service_period_to" field.
func ServicePeriodToLTE ¶
func ServicePeriodToLTE(v time.Time) predicate.ChargeUsageBasedOverride
ServicePeriodToLTE applies the LTE predicate on the "service_period_to" field.
func ServicePeriodToNEQ ¶
func ServicePeriodToNEQ(v time.Time) predicate.ChargeUsageBasedOverride
ServicePeriodToNEQ applies the NEQ predicate on the "service_period_to" field.
func ServicePeriodToNotIn ¶
func ServicePeriodToNotIn(vs ...time.Time) predicate.ChargeUsageBasedOverride
ServicePeriodToNotIn applies the NotIn predicate on the "service_period_to" field.
func TaxBehavior ¶
func TaxBehavior(v productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
TaxBehavior applies equality check predicate on the "tax_behavior" field. It's identical to TaxBehaviorEQ.
func TaxBehaviorContains ¶
func TaxBehaviorContains(v productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
TaxBehaviorContains applies the Contains predicate on the "tax_behavior" field.
func TaxBehaviorContainsFold ¶
func TaxBehaviorContainsFold(v productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
TaxBehaviorContainsFold applies the ContainsFold predicate on the "tax_behavior" field.
func TaxBehaviorEQ ¶
func TaxBehaviorEQ(v productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
TaxBehaviorEQ applies the EQ predicate on the "tax_behavior" field.
func TaxBehaviorEqualFold ¶
func TaxBehaviorEqualFold(v productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
TaxBehaviorEqualFold applies the EqualFold predicate on the "tax_behavior" field.
func TaxBehaviorGT ¶
func TaxBehaviorGT(v productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
TaxBehaviorGT applies the GT predicate on the "tax_behavior" field.
func TaxBehaviorGTE ¶
func TaxBehaviorGTE(v productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
TaxBehaviorGTE applies the GTE predicate on the "tax_behavior" field.
func TaxBehaviorHasPrefix ¶
func TaxBehaviorHasPrefix(v productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
TaxBehaviorHasPrefix applies the HasPrefix predicate on the "tax_behavior" field.
func TaxBehaviorHasSuffix ¶
func TaxBehaviorHasSuffix(v productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
TaxBehaviorHasSuffix applies the HasSuffix predicate on the "tax_behavior" field.
func TaxBehaviorIn ¶
func TaxBehaviorIn(vs ...productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
TaxBehaviorIn applies the In predicate on the "tax_behavior" field.
func TaxBehaviorIsNil ¶
func TaxBehaviorIsNil() predicate.ChargeUsageBasedOverride
TaxBehaviorIsNil applies the IsNil predicate on the "tax_behavior" field.
func TaxBehaviorLT ¶
func TaxBehaviorLT(v productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
TaxBehaviorLT applies the LT predicate on the "tax_behavior" field.
func TaxBehaviorLTE ¶
func TaxBehaviorLTE(v productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
TaxBehaviorLTE applies the LTE predicate on the "tax_behavior" field.
func TaxBehaviorNEQ ¶
func TaxBehaviorNEQ(v productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
TaxBehaviorNEQ applies the NEQ predicate on the "tax_behavior" field.
func TaxBehaviorNotIn ¶
func TaxBehaviorNotIn(vs ...productcatalog.TaxBehavior) predicate.ChargeUsageBasedOverride
TaxBehaviorNotIn applies the NotIn predicate on the "tax_behavior" field.
func TaxBehaviorNotNil ¶
func TaxBehaviorNotNil() predicate.ChargeUsageBasedOverride
TaxBehaviorNotNil applies the NotNil predicate on the "tax_behavior" field.
func TaxCodeID ¶
func TaxCodeID(v string) predicate.ChargeUsageBasedOverride
TaxCodeID applies equality check predicate on the "tax_code_id" field. It's identical to TaxCodeIDEQ.
func TaxCodeIDContains ¶
func TaxCodeIDContains(v string) predicate.ChargeUsageBasedOverride
TaxCodeIDContains applies the Contains predicate on the "tax_code_id" field.
func TaxCodeIDContainsFold ¶
func TaxCodeIDContainsFold(v string) predicate.ChargeUsageBasedOverride
TaxCodeIDContainsFold applies the ContainsFold predicate on the "tax_code_id" field.
func TaxCodeIDEQ ¶
func TaxCodeIDEQ(v string) predicate.ChargeUsageBasedOverride
TaxCodeIDEQ applies the EQ predicate on the "tax_code_id" field.
func TaxCodeIDEqualFold ¶
func TaxCodeIDEqualFold(v string) predicate.ChargeUsageBasedOverride
TaxCodeIDEqualFold applies the EqualFold predicate on the "tax_code_id" field.
func TaxCodeIDGT ¶
func TaxCodeIDGT(v string) predicate.ChargeUsageBasedOverride
TaxCodeIDGT applies the GT predicate on the "tax_code_id" field.
func TaxCodeIDGTE ¶
func TaxCodeIDGTE(v string) predicate.ChargeUsageBasedOverride
TaxCodeIDGTE applies the GTE predicate on the "tax_code_id" field.
func TaxCodeIDHasPrefix ¶
func TaxCodeIDHasPrefix(v string) predicate.ChargeUsageBasedOverride
TaxCodeIDHasPrefix applies the HasPrefix predicate on the "tax_code_id" field.
func TaxCodeIDHasSuffix ¶
func TaxCodeIDHasSuffix(v string) predicate.ChargeUsageBasedOverride
TaxCodeIDHasSuffix applies the HasSuffix predicate on the "tax_code_id" field.
func TaxCodeIDIn ¶
func TaxCodeIDIn(vs ...string) predicate.ChargeUsageBasedOverride
TaxCodeIDIn applies the In predicate on the "tax_code_id" field.
func TaxCodeIDIsNil ¶
func TaxCodeIDIsNil() predicate.ChargeUsageBasedOverride
TaxCodeIDIsNil applies the IsNil predicate on the "tax_code_id" field.
func TaxCodeIDLT ¶
func TaxCodeIDLT(v string) predicate.ChargeUsageBasedOverride
TaxCodeIDLT applies the LT predicate on the "tax_code_id" field.
func TaxCodeIDLTE ¶
func TaxCodeIDLTE(v string) predicate.ChargeUsageBasedOverride
TaxCodeIDLTE applies the LTE predicate on the "tax_code_id" field.
func TaxCodeIDNEQ ¶
func TaxCodeIDNEQ(v string) predicate.ChargeUsageBasedOverride
TaxCodeIDNEQ applies the NEQ predicate on the "tax_code_id" field.
func TaxCodeIDNotIn ¶
func TaxCodeIDNotIn(vs ...string) predicate.ChargeUsageBasedOverride
TaxCodeIDNotIn applies the NotIn predicate on the "tax_code_id" field.
func TaxCodeIDNotNil ¶
func TaxCodeIDNotNil() predicate.ChargeUsageBasedOverride
TaxCodeIDNotNil applies the NotNil predicate on the "tax_code_id" field.
func UnitConfigIsNil ¶
func UnitConfigIsNil() predicate.ChargeUsageBasedOverride
UnitConfigIsNil applies the IsNil predicate on the "unit_config" field.
func UnitConfigNotNil ¶
func UnitConfigNotNil() predicate.ChargeUsageBasedOverride
UnitConfigNotNil applies the NotNil predicate on the "unit_config" 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 ChargeUsageBasedOverride queries.
func ByBillingPeriodFrom ¶
func ByBillingPeriodFrom(opts ...sql.OrderTermOption) OrderOption
ByBillingPeriodFrom orders the results by the billing_period_from field.
func ByBillingPeriodTo ¶
func ByBillingPeriodTo(opts ...sql.OrderTermOption) OrderOption
ByBillingPeriodTo orders the results by the billing_period_to field.
func ByChargeID ¶
func ByChargeID(opts ...sql.OrderTermOption) OrderOption
ByChargeID orders the results by the charge_id field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByDiscounts ¶
func ByDiscounts(opts ...sql.OrderTermOption) OrderOption
ByDiscounts orders the results by the discounts field.
func ByFeatureKey ¶
func ByFeatureKey(opts ...sql.OrderTermOption) OrderOption
ByFeatureKey orders the results by the feature_key field.
func ByFullServicePeriodFrom ¶
func ByFullServicePeriodFrom(opts ...sql.OrderTermOption) OrderOption
ByFullServicePeriodFrom orders the results by the full_service_period_from field.
func ByFullServicePeriodTo ¶
func ByFullServicePeriodTo(opts ...sql.OrderTermOption) OrderOption
ByFullServicePeriodTo orders the results by the full_service_period_to field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIntentDeletedAt ¶
func ByIntentDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByIntentDeletedAt orders the results by the intent_deleted_at field.
func ByInvoiceAt ¶
func ByInvoiceAt(opts ...sql.OrderTermOption) OrderOption
ByInvoiceAt orders the results by the invoice_at field.
func ByMetadata ¶
func ByMetadata(opts ...sql.OrderTermOption) OrderOption
ByMetadata orders the results by the metadata 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 ByPrice ¶
func ByPrice(opts ...sql.OrderTermOption) OrderOption
ByPrice orders the results by the price field.
func ByServicePeriodFrom ¶
func ByServicePeriodFrom(opts ...sql.OrderTermOption) OrderOption
ByServicePeriodFrom orders the results by the service_period_from field.
func ByServicePeriodTo ¶
func ByServicePeriodTo(opts ...sql.OrderTermOption) OrderOption
ByServicePeriodTo orders the results by the service_period_to field.
func ByTaxBehavior ¶
func ByTaxBehavior(opts ...sql.OrderTermOption) OrderOption
ByTaxBehavior orders the results by the tax_behavior field.
func ByTaxCodeField ¶
func ByTaxCodeField(field string, opts ...sql.OrderTermOption) OrderOption
ByTaxCodeField orders the results by tax_code field.
func ByTaxCodeID ¶
func ByTaxCodeID(opts ...sql.OrderTermOption) OrderOption
ByTaxCodeID orders the results by the tax_code_id field.
func ByUnitConfig ¶
func ByUnitConfig(opts ...sql.OrderTermOption) OrderOption
ByUnitConfig orders the results by the unit_config field.
func ByUsageBasedField ¶
func ByUsageBasedField(field string, opts ...sql.OrderTermOption) OrderOption
ByUsageBasedField orders the results by usage_based field.