chargeusagebased

package
v1.0.0-beta.228 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the chargeusagebased type in the database.
	Label = "charge_usage_based"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCustomerID holds the string denoting the customer_id field in the database.
	FieldCustomerID = "customer_id"
	// 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"
	// 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"
	// 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"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldUniqueReferenceID holds the string denoting the unique_reference_id field in the database.
	FieldUniqueReferenceID = "unique_reference_id"
	// FieldCurrency holds the string denoting the currency field in the database.
	FieldCurrency = "currency"
	// FieldManagedBy holds the string denoting the managed_by field in the database.
	FieldManagedBy = "managed_by"
	// FieldSubscriptionID holds the string denoting the subscription_id field in the database.
	FieldSubscriptionID = "subscription_id"
	// FieldSubscriptionPhaseID holds the string denoting the subscription_phase_id field in the database.
	FieldSubscriptionPhaseID = "subscription_phase_id"
	// FieldSubscriptionItemID holds the string denoting the subscription_item_id field in the database.
	FieldSubscriptionItemID = "subscription_item_id"
	// FieldAdvanceAfter holds the string denoting the advance_after field in the database.
	FieldAdvanceAfter = "advance_after"
	// FieldTaxCodeID holds the string denoting the tax_code_id field in the database.
	FieldTaxCodeID = "tax_code_id"
	// FieldTaxBehavior holds the string denoting the tax_behavior field in the database.
	FieldTaxBehavior = "tax_behavior"
	// FieldAnnotations holds the string denoting the annotations field in the database.
	FieldAnnotations = "annotations"
	// FieldNamespace holds the string denoting the namespace field in the database.
	FieldNamespace = "namespace"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldInvoiceAt holds the string denoting the invoice_at field in the database.
	FieldInvoiceAt = "invoice_at"
	// FieldSettlementMode holds the string denoting the settlement_mode field in the database.
	FieldSettlementMode = "settlement_mode"
	// FieldDiscounts holds the string denoting the discounts field in the database.
	FieldDiscounts = "discounts"
	// FieldFeatureKey holds the string denoting the feature_key field in the database.
	FieldFeatureKey = "feature_key"
	// FieldFeatureID holds the string denoting the feature_id field in the database.
	FieldFeatureID = "feature_id"
	// FieldRatingEngine holds the string denoting the rating_engine field in the database.
	FieldRatingEngine = "rating_engine"
	// FieldPrice holds the string denoting the price field in the database.
	FieldPrice = "price"
	// FieldCurrentRealizationRunID holds the string denoting the current_realization_run_id field in the database.
	FieldCurrentRealizationRunID = "current_realization_run_id"
	// FieldStatusDetailed holds the string denoting the status_detailed field in the database.
	FieldStatusDetailed = "status_detailed"
	// EdgeRuns holds the string denoting the runs edge name in mutations.
	EdgeRuns = "runs"
	// EdgeDetailedLines holds the string denoting the detailed_lines edge name in mutations.
	EdgeDetailedLines = "detailed_lines"
	// EdgeCurrentRun holds the string denoting the current_run edge name in mutations.
	EdgeCurrentRun = "current_run"
	// EdgeCharge holds the string denoting the charge edge name in mutations.
	EdgeCharge = "charge"
	// EdgeSubscription holds the string denoting the subscription edge name in mutations.
	EdgeSubscription = "subscription"
	// EdgeSubscriptionPhase holds the string denoting the subscription_phase edge name in mutations.
	EdgeSubscriptionPhase = "subscription_phase"
	// EdgeSubscriptionItem holds the string denoting the subscription_item edge name in mutations.
	EdgeSubscriptionItem = "subscription_item"
	// EdgeCustomer holds the string denoting the customer edge name in mutations.
	EdgeCustomer = "customer"
	// EdgeFeature holds the string denoting the feature edge name in mutations.
	EdgeFeature = "feature"
	// EdgeTaxCode holds the string denoting the tax_code edge name in mutations.
	EdgeTaxCode = "tax_code"
	// Table holds the table name of the chargeusagebased in the database.
	Table = "charge_usage_based"
	// RunsTable is the table that holds the runs relation/edge.
	RunsTable = "charge_usage_based_runs"
	// RunsInverseTable is the table name for the ChargeUsageBasedRuns entity.
	// It exists in this package in order to avoid circular dependency with the "chargeusagebasedruns" package.
	RunsInverseTable = "charge_usage_based_runs"
	// RunsColumn is the table column denoting the runs relation/edge.
	RunsColumn = "charge_id"
	// DetailedLinesTable is the table that holds the detailed_lines relation/edge.
	DetailedLinesTable = "charge_usage_based_run_detailed_line"
	// DetailedLinesInverseTable is the table name for the ChargeUsageBasedRunDetailedLine entity.
	// It exists in this package in order to avoid circular dependency with the "chargeusagebasedrundetailedline" package.
	DetailedLinesInverseTable = "charge_usage_based_run_detailed_line"
	// DetailedLinesColumn is the table column denoting the detailed_lines relation/edge.
	DetailedLinesColumn = "charge_id"
	// CurrentRunTable is the table that holds the current_run relation/edge.
	CurrentRunTable = "charge_usage_based"
	// CurrentRunInverseTable is the table name for the ChargeUsageBasedRuns entity.
	// It exists in this package in order to avoid circular dependency with the "chargeusagebasedruns" package.
	CurrentRunInverseTable = "charge_usage_based_runs"
	// CurrentRunColumn is the table column denoting the current_run relation/edge.
	CurrentRunColumn = "current_realization_run_id"
	// ChargeTable is the table that holds the charge relation/edge.
	ChargeTable = "charges"
	// ChargeInverseTable is the table name for the Charge entity.
	// It exists in this package in order to avoid circular dependency with the "charge" package.
	ChargeInverseTable = "charges"
	// ChargeColumn is the table column denoting the charge relation/edge.
	ChargeColumn = "charge_usage_based_id"
	// SubscriptionTable is the table that holds the subscription relation/edge.
	SubscriptionTable = "charge_usage_based"
	// SubscriptionInverseTable is the table name for the Subscription entity.
	// It exists in this package in order to avoid circular dependency with the "subscription" package.
	SubscriptionInverseTable = "subscriptions"
	// SubscriptionColumn is the table column denoting the subscription relation/edge.
	SubscriptionColumn = "subscription_id"
	// SubscriptionPhaseTable is the table that holds the subscription_phase relation/edge.
	SubscriptionPhaseTable = "charge_usage_based"
	// SubscriptionPhaseInverseTable is the table name for the SubscriptionPhase entity.
	// It exists in this package in order to avoid circular dependency with the "subscriptionphase" package.
	SubscriptionPhaseInverseTable = "subscription_phases"
	// SubscriptionPhaseColumn is the table column denoting the subscription_phase relation/edge.
	SubscriptionPhaseColumn = "subscription_phase_id"
	// SubscriptionItemTable is the table that holds the subscription_item relation/edge.
	SubscriptionItemTable = "charge_usage_based"
	// SubscriptionItemInverseTable is the table name for the SubscriptionItem entity.
	// It exists in this package in order to avoid circular dependency with the "subscriptionitem" package.
	SubscriptionItemInverseTable = "subscription_items"
	// SubscriptionItemColumn is the table column denoting the subscription_item relation/edge.
	SubscriptionItemColumn = "subscription_item_id"
	// CustomerTable is the table that holds the customer relation/edge.
	CustomerTable = "charge_usage_based"
	// CustomerInverseTable is the table name for the Customer entity.
	// It exists in this package in order to avoid circular dependency with the "customer" package.
	CustomerInverseTable = "customers"
	// CustomerColumn is the table column denoting the customer relation/edge.
	CustomerColumn = "customer_id"
	// FeatureTable is the table that holds the feature relation/edge.
	FeatureTable = "charge_usage_based"
	// FeatureInverseTable is the table name for the Feature entity.
	// It exists in this package in order to avoid circular dependency with the "dbfeature" package.
	FeatureInverseTable = "features"
	// FeatureColumn is the table column denoting the feature relation/edge.
	FeatureColumn = "feature_id"
	// TaxCodeTable is the table that holds the tax_code relation/edge.
	TaxCodeTable = "charge_usage_based"
	// 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

View Source
var (
	// CustomerIDValidator is a validator for the "customer_id" field. It is called by the builders before save.
	CustomerIDValidator func(string) error
	// CurrencyValidator is a validator for the "currency" field. It is called by the builders before save.
	CurrencyValidator func(string) error
	// NamespaceValidator is a validator for the "namespace" field. It is called by the builders before save.
	NamespaceValidator func(string) error
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// FeatureKeyValidator is a validator for the "feature_key" field. It is called by the builders before save.
	FeatureKeyValidator func(string) error
	// FeatureIDValidator is a validator for the "feature_id" field. It is called by the builders before save.
	FeatureIDValidator func(string) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
	// ValueScanner of all ChargeUsageBased fields.
	ValueScanner struct {
		Discounts field.TypeValueScanner[*productcatalog.Discounts]
		Price     field.TypeValueScanner[*productcatalog.Price]
	}
)

Columns holds all SQL columns for chargeusagebased fields.

Functions

func AdvanceAfter

func AdvanceAfter(v time.Time) predicate.ChargeUsageBased

AdvanceAfter applies equality check predicate on the "advance_after" field. It's identical to AdvanceAfterEQ.

func AdvanceAfterEQ

func AdvanceAfterEQ(v time.Time) predicate.ChargeUsageBased

AdvanceAfterEQ applies the EQ predicate on the "advance_after" field.

func AdvanceAfterGT

func AdvanceAfterGT(v time.Time) predicate.ChargeUsageBased

AdvanceAfterGT applies the GT predicate on the "advance_after" field.

func AdvanceAfterGTE

func AdvanceAfterGTE(v time.Time) predicate.ChargeUsageBased

AdvanceAfterGTE applies the GTE predicate on the "advance_after" field.

func AdvanceAfterIn

func AdvanceAfterIn(vs ...time.Time) predicate.ChargeUsageBased

AdvanceAfterIn applies the In predicate on the "advance_after" field.

func AdvanceAfterIsNil

func AdvanceAfterIsNil() predicate.ChargeUsageBased

AdvanceAfterIsNil applies the IsNil predicate on the "advance_after" field.

func AdvanceAfterLT

func AdvanceAfterLT(v time.Time) predicate.ChargeUsageBased

AdvanceAfterLT applies the LT predicate on the "advance_after" field.

func AdvanceAfterLTE

func AdvanceAfterLTE(v time.Time) predicate.ChargeUsageBased

AdvanceAfterLTE applies the LTE predicate on the "advance_after" field.

func AdvanceAfterNEQ

func AdvanceAfterNEQ(v time.Time) predicate.ChargeUsageBased

AdvanceAfterNEQ applies the NEQ predicate on the "advance_after" field.

func AdvanceAfterNotIn

func AdvanceAfterNotIn(vs ...time.Time) predicate.ChargeUsageBased

AdvanceAfterNotIn applies the NotIn predicate on the "advance_after" field.

func AdvanceAfterNotNil

func AdvanceAfterNotNil() predicate.ChargeUsageBased

AdvanceAfterNotNil applies the NotNil predicate on the "advance_after" field.

func And

And groups predicates with the AND operator between them.

func AnnotationsIsNil

func AnnotationsIsNil() predicate.ChargeUsageBased

AnnotationsIsNil applies the IsNil predicate on the "annotations" field.

func AnnotationsNotNil

func AnnotationsNotNil() predicate.ChargeUsageBased

AnnotationsNotNil applies the NotNil predicate on the "annotations" field.

func BillingPeriodFrom

func BillingPeriodFrom(v time.Time) predicate.ChargeUsageBased

BillingPeriodFrom applies equality check predicate on the "billing_period_from" field. It's identical to BillingPeriodFromEQ.

func BillingPeriodFromEQ

func BillingPeriodFromEQ(v time.Time) predicate.ChargeUsageBased

BillingPeriodFromEQ applies the EQ predicate on the "billing_period_from" field.

func BillingPeriodFromGT

func BillingPeriodFromGT(v time.Time) predicate.ChargeUsageBased

BillingPeriodFromGT applies the GT predicate on the "billing_period_from" field.

func BillingPeriodFromGTE

func BillingPeriodFromGTE(v time.Time) predicate.ChargeUsageBased

BillingPeriodFromGTE applies the GTE predicate on the "billing_period_from" field.

func BillingPeriodFromIn

func BillingPeriodFromIn(vs ...time.Time) predicate.ChargeUsageBased

BillingPeriodFromIn applies the In predicate on the "billing_period_from" field.

func BillingPeriodFromLT

func BillingPeriodFromLT(v time.Time) predicate.ChargeUsageBased

BillingPeriodFromLT applies the LT predicate on the "billing_period_from" field.

func BillingPeriodFromLTE

func BillingPeriodFromLTE(v time.Time) predicate.ChargeUsageBased

BillingPeriodFromLTE applies the LTE predicate on the "billing_period_from" field.

func BillingPeriodFromNEQ

func BillingPeriodFromNEQ(v time.Time) predicate.ChargeUsageBased

BillingPeriodFromNEQ applies the NEQ predicate on the "billing_period_from" field.

func BillingPeriodFromNotIn

func BillingPeriodFromNotIn(vs ...time.Time) predicate.ChargeUsageBased

BillingPeriodFromNotIn applies the NotIn predicate on the "billing_period_from" field.

func BillingPeriodTo

func BillingPeriodTo(v time.Time) predicate.ChargeUsageBased

BillingPeriodTo applies equality check predicate on the "billing_period_to" field. It's identical to BillingPeriodToEQ.

func BillingPeriodToEQ

func BillingPeriodToEQ(v time.Time) predicate.ChargeUsageBased

BillingPeriodToEQ applies the EQ predicate on the "billing_period_to" field.

func BillingPeriodToGT

func BillingPeriodToGT(v time.Time) predicate.ChargeUsageBased

BillingPeriodToGT applies the GT predicate on the "billing_period_to" field.

func BillingPeriodToGTE

func BillingPeriodToGTE(v time.Time) predicate.ChargeUsageBased

BillingPeriodToGTE applies the GTE predicate on the "billing_period_to" field.

func BillingPeriodToIn

func BillingPeriodToIn(vs ...time.Time) predicate.ChargeUsageBased

BillingPeriodToIn applies the In predicate on the "billing_period_to" field.

func BillingPeriodToLT

func BillingPeriodToLT(v time.Time) predicate.ChargeUsageBased

BillingPeriodToLT applies the LT predicate on the "billing_period_to" field.

func BillingPeriodToLTE

func BillingPeriodToLTE(v time.Time) predicate.ChargeUsageBased

BillingPeriodToLTE applies the LTE predicate on the "billing_period_to" field.

func BillingPeriodToNEQ

func BillingPeriodToNEQ(v time.Time) predicate.ChargeUsageBased

BillingPeriodToNEQ applies the NEQ predicate on the "billing_period_to" field.

func BillingPeriodToNotIn

func BillingPeriodToNotIn(vs ...time.Time) predicate.ChargeUsageBased

BillingPeriodToNotIn applies the NotIn predicate on the "billing_period_to" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.ChargeUsageBased

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.ChargeUsageBased

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.ChargeUsageBased

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ChargeUsageBased

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.ChargeUsageBased

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.ChargeUsageBased

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ChargeUsageBased

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ChargeUsageBased

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.ChargeUsageBased

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func Currency

Currency applies equality check predicate on the "currency" field. It's identical to CurrencyEQ.

func CurrencyContains

func CurrencyContains(v currencyx.Code) predicate.ChargeUsageBased

CurrencyContains applies the Contains predicate on the "currency" field.

func CurrencyContainsFold

func CurrencyContainsFold(v currencyx.Code) predicate.ChargeUsageBased

CurrencyContainsFold applies the ContainsFold predicate on the "currency" field.

func CurrencyEQ

CurrencyEQ applies the EQ predicate on the "currency" field.

func CurrencyEqualFold

func CurrencyEqualFold(v currencyx.Code) predicate.ChargeUsageBased

CurrencyEqualFold applies the EqualFold predicate on the "currency" field.

func CurrencyGT

CurrencyGT applies the GT predicate on the "currency" field.

func CurrencyGTE

CurrencyGTE applies the GTE predicate on the "currency" field.

func CurrencyHasPrefix

func CurrencyHasPrefix(v currencyx.Code) predicate.ChargeUsageBased

CurrencyHasPrefix applies the HasPrefix predicate on the "currency" field.

func CurrencyHasSuffix

func CurrencyHasSuffix(v currencyx.Code) predicate.ChargeUsageBased

CurrencyHasSuffix applies the HasSuffix predicate on the "currency" field.

func CurrencyIn

func CurrencyIn(vs ...currencyx.Code) predicate.ChargeUsageBased

CurrencyIn applies the In predicate on the "currency" field.

func CurrencyLT

CurrencyLT applies the LT predicate on the "currency" field.

func CurrencyLTE

CurrencyLTE applies the LTE predicate on the "currency" field.

func CurrencyNEQ

CurrencyNEQ applies the NEQ predicate on the "currency" field.

func CurrencyNotIn

func CurrencyNotIn(vs ...currencyx.Code) predicate.ChargeUsageBased

CurrencyNotIn applies the NotIn predicate on the "currency" field.

func CurrentRealizationRunID

func CurrentRealizationRunID(v string) predicate.ChargeUsageBased

CurrentRealizationRunID applies equality check predicate on the "current_realization_run_id" field. It's identical to CurrentRealizationRunIDEQ.

func CurrentRealizationRunIDContains

func CurrentRealizationRunIDContains(v string) predicate.ChargeUsageBased

CurrentRealizationRunIDContains applies the Contains predicate on the "current_realization_run_id" field.

func CurrentRealizationRunIDContainsFold

func CurrentRealizationRunIDContainsFold(v string) predicate.ChargeUsageBased

CurrentRealizationRunIDContainsFold applies the ContainsFold predicate on the "current_realization_run_id" field.

func CurrentRealizationRunIDEQ

func CurrentRealizationRunIDEQ(v string) predicate.ChargeUsageBased

CurrentRealizationRunIDEQ applies the EQ predicate on the "current_realization_run_id" field.

func CurrentRealizationRunIDEqualFold

func CurrentRealizationRunIDEqualFold(v string) predicate.ChargeUsageBased

CurrentRealizationRunIDEqualFold applies the EqualFold predicate on the "current_realization_run_id" field.

func CurrentRealizationRunIDGT

func CurrentRealizationRunIDGT(v string) predicate.ChargeUsageBased

CurrentRealizationRunIDGT applies the GT predicate on the "current_realization_run_id" field.

func CurrentRealizationRunIDGTE

func CurrentRealizationRunIDGTE(v string) predicate.ChargeUsageBased

CurrentRealizationRunIDGTE applies the GTE predicate on the "current_realization_run_id" field.

func CurrentRealizationRunIDHasPrefix

func CurrentRealizationRunIDHasPrefix(v string) predicate.ChargeUsageBased

CurrentRealizationRunIDHasPrefix applies the HasPrefix predicate on the "current_realization_run_id" field.

func CurrentRealizationRunIDHasSuffix

func CurrentRealizationRunIDHasSuffix(v string) predicate.ChargeUsageBased

CurrentRealizationRunIDHasSuffix applies the HasSuffix predicate on the "current_realization_run_id" field.

func CurrentRealizationRunIDIn

func CurrentRealizationRunIDIn(vs ...string) predicate.ChargeUsageBased

CurrentRealizationRunIDIn applies the In predicate on the "current_realization_run_id" field.

func CurrentRealizationRunIDIsNil

func CurrentRealizationRunIDIsNil() predicate.ChargeUsageBased

CurrentRealizationRunIDIsNil applies the IsNil predicate on the "current_realization_run_id" field.

func CurrentRealizationRunIDLT

func CurrentRealizationRunIDLT(v string) predicate.ChargeUsageBased

CurrentRealizationRunIDLT applies the LT predicate on the "current_realization_run_id" field.

func CurrentRealizationRunIDLTE

func CurrentRealizationRunIDLTE(v string) predicate.ChargeUsageBased

CurrentRealizationRunIDLTE applies the LTE predicate on the "current_realization_run_id" field.

func CurrentRealizationRunIDNEQ

func CurrentRealizationRunIDNEQ(v string) predicate.ChargeUsageBased

CurrentRealizationRunIDNEQ applies the NEQ predicate on the "current_realization_run_id" field.

func CurrentRealizationRunIDNotIn

func CurrentRealizationRunIDNotIn(vs ...string) predicate.ChargeUsageBased

CurrentRealizationRunIDNotIn applies the NotIn predicate on the "current_realization_run_id" field.

func CurrentRealizationRunIDNotNil

func CurrentRealizationRunIDNotNil() predicate.ChargeUsageBased

CurrentRealizationRunIDNotNil applies the NotNil predicate on the "current_realization_run_id" field.

func CustomerID

func CustomerID(v string) predicate.ChargeUsageBased

CustomerID applies equality check predicate on the "customer_id" field. It's identical to CustomerIDEQ.

func CustomerIDContains

func CustomerIDContains(v string) predicate.ChargeUsageBased

CustomerIDContains applies the Contains predicate on the "customer_id" field.

func CustomerIDContainsFold

func CustomerIDContainsFold(v string) predicate.ChargeUsageBased

CustomerIDContainsFold applies the ContainsFold predicate on the "customer_id" field.

func CustomerIDEQ

func CustomerIDEQ(v string) predicate.ChargeUsageBased

CustomerIDEQ applies the EQ predicate on the "customer_id" field.

func CustomerIDEqualFold

func CustomerIDEqualFold(v string) predicate.ChargeUsageBased

CustomerIDEqualFold applies the EqualFold predicate on the "customer_id" field.

func CustomerIDGT

func CustomerIDGT(v string) predicate.ChargeUsageBased

CustomerIDGT applies the GT predicate on the "customer_id" field.

func CustomerIDGTE

func CustomerIDGTE(v string) predicate.ChargeUsageBased

CustomerIDGTE applies the GTE predicate on the "customer_id" field.

func CustomerIDHasPrefix

func CustomerIDHasPrefix(v string) predicate.ChargeUsageBased

CustomerIDHasPrefix applies the HasPrefix predicate on the "customer_id" field.

func CustomerIDHasSuffix

func CustomerIDHasSuffix(v string) predicate.ChargeUsageBased

CustomerIDHasSuffix applies the HasSuffix predicate on the "customer_id" field.

func CustomerIDIn

func CustomerIDIn(vs ...string) predicate.ChargeUsageBased

CustomerIDIn applies the In predicate on the "customer_id" field.

func CustomerIDLT

func CustomerIDLT(v string) predicate.ChargeUsageBased

CustomerIDLT applies the LT predicate on the "customer_id" field.

func CustomerIDLTE

func CustomerIDLTE(v string) predicate.ChargeUsageBased

CustomerIDLTE applies the LTE predicate on the "customer_id" field.

func CustomerIDNEQ

func CustomerIDNEQ(v string) predicate.ChargeUsageBased

CustomerIDNEQ applies the NEQ predicate on the "customer_id" field.

func CustomerIDNotIn

func CustomerIDNotIn(vs ...string) predicate.ChargeUsageBased

CustomerIDNotIn applies the NotIn predicate on the "customer_id" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.ChargeUsageBased

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.ChargeUsageBased

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.ChargeUsageBased

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.ChargeUsageBased

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.ChargeUsageBased

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.ChargeUsageBased

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.ChargeUsageBased

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.ChargeUsageBased

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.ChargeUsageBased

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.ChargeUsageBased

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.ChargeUsageBased

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func Description

func Description(v string) predicate.ChargeUsageBased

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.ChargeUsageBased

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.ChargeUsageBased

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.ChargeUsageBased

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.ChargeUsageBased

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.ChargeUsageBased

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.ChargeUsageBased

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.ChargeUsageBased

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.ChargeUsageBased

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.ChargeUsageBased

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.ChargeUsageBased

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.ChargeUsageBased

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.ChargeUsageBased

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.ChargeUsageBased

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.ChargeUsageBased

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.ChargeUsageBased

DescriptionNotNil applies the NotNil predicate on the "description" field.

func DiscountsIsNil

func DiscountsIsNil() predicate.ChargeUsageBased

DiscountsIsNil applies the IsNil predicate on the "discounts" field.

func DiscountsNotNil

func DiscountsNotNil() predicate.ChargeUsageBased

DiscountsNotNil applies the NotNil predicate on the "discounts" field.

func FeatureID

func FeatureID(v string) predicate.ChargeUsageBased

FeatureID applies equality check predicate on the "feature_id" field. It's identical to FeatureIDEQ.

func FeatureIDContains

func FeatureIDContains(v string) predicate.ChargeUsageBased

FeatureIDContains applies the Contains predicate on the "feature_id" field.

func FeatureIDContainsFold

func FeatureIDContainsFold(v string) predicate.ChargeUsageBased

FeatureIDContainsFold applies the ContainsFold predicate on the "feature_id" field.

func FeatureIDEQ

func FeatureIDEQ(v string) predicate.ChargeUsageBased

FeatureIDEQ applies the EQ predicate on the "feature_id" field.

func FeatureIDEqualFold

func FeatureIDEqualFold(v string) predicate.ChargeUsageBased

FeatureIDEqualFold applies the EqualFold predicate on the "feature_id" field.

func FeatureIDGT

func FeatureIDGT(v string) predicate.ChargeUsageBased

FeatureIDGT applies the GT predicate on the "feature_id" field.

func FeatureIDGTE

func FeatureIDGTE(v string) predicate.ChargeUsageBased

FeatureIDGTE applies the GTE predicate on the "feature_id" field.

func FeatureIDHasPrefix

func FeatureIDHasPrefix(v string) predicate.ChargeUsageBased

FeatureIDHasPrefix applies the HasPrefix predicate on the "feature_id" field.

func FeatureIDHasSuffix

func FeatureIDHasSuffix(v string) predicate.ChargeUsageBased

FeatureIDHasSuffix applies the HasSuffix predicate on the "feature_id" field.

func FeatureIDIn

func FeatureIDIn(vs ...string) predicate.ChargeUsageBased

FeatureIDIn applies the In predicate on the "feature_id" field.

func FeatureIDLT

func FeatureIDLT(v string) predicate.ChargeUsageBased

FeatureIDLT applies the LT predicate on the "feature_id" field.

func FeatureIDLTE

func FeatureIDLTE(v string) predicate.ChargeUsageBased

FeatureIDLTE applies the LTE predicate on the "feature_id" field.

func FeatureIDNEQ

func FeatureIDNEQ(v string) predicate.ChargeUsageBased

FeatureIDNEQ applies the NEQ predicate on the "feature_id" field.

func FeatureIDNotIn

func FeatureIDNotIn(vs ...string) predicate.ChargeUsageBased

FeatureIDNotIn applies the NotIn predicate on the "feature_id" field.

func FeatureKey

func FeatureKey(v string) predicate.ChargeUsageBased

FeatureKey applies equality check predicate on the "feature_key" field. It's identical to FeatureKeyEQ.

func FeatureKeyContains

func FeatureKeyContains(v string) predicate.ChargeUsageBased

FeatureKeyContains applies the Contains predicate on the "feature_key" field.

func FeatureKeyContainsFold

func FeatureKeyContainsFold(v string) predicate.ChargeUsageBased

FeatureKeyContainsFold applies the ContainsFold predicate on the "feature_key" field.

func FeatureKeyEQ

func FeatureKeyEQ(v string) predicate.ChargeUsageBased

FeatureKeyEQ applies the EQ predicate on the "feature_key" field.

func FeatureKeyEqualFold

func FeatureKeyEqualFold(v string) predicate.ChargeUsageBased

FeatureKeyEqualFold applies the EqualFold predicate on the "feature_key" field.

func FeatureKeyGT

func FeatureKeyGT(v string) predicate.ChargeUsageBased

FeatureKeyGT applies the GT predicate on the "feature_key" field.

func FeatureKeyGTE

func FeatureKeyGTE(v string) predicate.ChargeUsageBased

FeatureKeyGTE applies the GTE predicate on the "feature_key" field.

func FeatureKeyHasPrefix

func FeatureKeyHasPrefix(v string) predicate.ChargeUsageBased

FeatureKeyHasPrefix applies the HasPrefix predicate on the "feature_key" field.

func FeatureKeyHasSuffix

func FeatureKeyHasSuffix(v string) predicate.ChargeUsageBased

FeatureKeyHasSuffix applies the HasSuffix predicate on the "feature_key" field.

func FeatureKeyIn

func FeatureKeyIn(vs ...string) predicate.ChargeUsageBased

FeatureKeyIn applies the In predicate on the "feature_key" field.

func FeatureKeyLT

func FeatureKeyLT(v string) predicate.ChargeUsageBased

FeatureKeyLT applies the LT predicate on the "feature_key" field.

func FeatureKeyLTE

func FeatureKeyLTE(v string) predicate.ChargeUsageBased

FeatureKeyLTE applies the LTE predicate on the "feature_key" field.

func FeatureKeyNEQ

func FeatureKeyNEQ(v string) predicate.ChargeUsageBased

FeatureKeyNEQ applies the NEQ predicate on the "feature_key" field.

func FeatureKeyNotIn

func FeatureKeyNotIn(vs ...string) predicate.ChargeUsageBased

FeatureKeyNotIn applies the NotIn predicate on the "feature_key" field.

func FullServicePeriodFrom

func FullServicePeriodFrom(v time.Time) predicate.ChargeUsageBased

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.ChargeUsageBased

FullServicePeriodFromEQ applies the EQ predicate on the "full_service_period_from" field.

func FullServicePeriodFromGT

func FullServicePeriodFromGT(v time.Time) predicate.ChargeUsageBased

FullServicePeriodFromGT applies the GT predicate on the "full_service_period_from" field.

func FullServicePeriodFromGTE

func FullServicePeriodFromGTE(v time.Time) predicate.ChargeUsageBased

FullServicePeriodFromGTE applies the GTE predicate on the "full_service_period_from" field.

func FullServicePeriodFromIn

func FullServicePeriodFromIn(vs ...time.Time) predicate.ChargeUsageBased

FullServicePeriodFromIn applies the In predicate on the "full_service_period_from" field.

func FullServicePeriodFromLT

func FullServicePeriodFromLT(v time.Time) predicate.ChargeUsageBased

FullServicePeriodFromLT applies the LT predicate on the "full_service_period_from" field.

func FullServicePeriodFromLTE

func FullServicePeriodFromLTE(v time.Time) predicate.ChargeUsageBased

FullServicePeriodFromLTE applies the LTE predicate on the "full_service_period_from" field.

func FullServicePeriodFromNEQ

func FullServicePeriodFromNEQ(v time.Time) predicate.ChargeUsageBased

FullServicePeriodFromNEQ applies the NEQ predicate on the "full_service_period_from" field.

func FullServicePeriodFromNotIn

func FullServicePeriodFromNotIn(vs ...time.Time) predicate.ChargeUsageBased

FullServicePeriodFromNotIn applies the NotIn predicate on the "full_service_period_from" field.

func FullServicePeriodTo

func FullServicePeriodTo(v time.Time) predicate.ChargeUsageBased

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.ChargeUsageBased

FullServicePeriodToEQ applies the EQ predicate on the "full_service_period_to" field.

func FullServicePeriodToGT

func FullServicePeriodToGT(v time.Time) predicate.ChargeUsageBased

FullServicePeriodToGT applies the GT predicate on the "full_service_period_to" field.

func FullServicePeriodToGTE

func FullServicePeriodToGTE(v time.Time) predicate.ChargeUsageBased

FullServicePeriodToGTE applies the GTE predicate on the "full_service_period_to" field.

func FullServicePeriodToIn

func FullServicePeriodToIn(vs ...time.Time) predicate.ChargeUsageBased

FullServicePeriodToIn applies the In predicate on the "full_service_period_to" field.

func FullServicePeriodToLT

func FullServicePeriodToLT(v time.Time) predicate.ChargeUsageBased

FullServicePeriodToLT applies the LT predicate on the "full_service_period_to" field.

func FullServicePeriodToLTE

func FullServicePeriodToLTE(v time.Time) predicate.ChargeUsageBased

FullServicePeriodToLTE applies the LTE predicate on the "full_service_period_to" field.

func FullServicePeriodToNEQ

func FullServicePeriodToNEQ(v time.Time) predicate.ChargeUsageBased

FullServicePeriodToNEQ applies the NEQ predicate on the "full_service_period_to" field.

func FullServicePeriodToNotIn

func FullServicePeriodToNotIn(vs ...time.Time) predicate.ChargeUsageBased

FullServicePeriodToNotIn applies the NotIn predicate on the "full_service_period_to" field.

func HasCharge

func HasCharge() predicate.ChargeUsageBased

HasCharge applies the HasEdge predicate on the "charge" edge.

func HasChargeWith

func HasChargeWith(preds ...predicate.Charge) predicate.ChargeUsageBased

HasChargeWith applies the HasEdge predicate on the "charge" edge with a given conditions (other predicates).

func HasCurrentRun

func HasCurrentRun() predicate.ChargeUsageBased

HasCurrentRun applies the HasEdge predicate on the "current_run" edge.

func HasCurrentRunWith

func HasCurrentRunWith(preds ...predicate.ChargeUsageBasedRuns) predicate.ChargeUsageBased

HasCurrentRunWith applies the HasEdge predicate on the "current_run" edge with a given conditions (other predicates).

func HasCustomer

func HasCustomer() predicate.ChargeUsageBased

HasCustomer applies the HasEdge predicate on the "customer" edge.

func HasCustomerWith

func HasCustomerWith(preds ...predicate.Customer) predicate.ChargeUsageBased

HasCustomerWith applies the HasEdge predicate on the "customer" edge with a given conditions (other predicates).

func HasDetailedLines

func HasDetailedLines() predicate.ChargeUsageBased

HasDetailedLines applies the HasEdge predicate on the "detailed_lines" edge.

func HasDetailedLinesWith

HasDetailedLinesWith applies the HasEdge predicate on the "detailed_lines" edge with a given conditions (other predicates).

func HasFeature

func HasFeature() predicate.ChargeUsageBased

HasFeature applies the HasEdge predicate on the "feature" edge.

func HasFeatureWith

func HasFeatureWith(preds ...predicate.Feature) predicate.ChargeUsageBased

HasFeatureWith applies the HasEdge predicate on the "feature" edge with a given conditions (other predicates).

func HasRuns

func HasRuns() predicate.ChargeUsageBased

HasRuns applies the HasEdge predicate on the "runs" edge.

func HasRunsWith

HasRunsWith applies the HasEdge predicate on the "runs" edge with a given conditions (other predicates).

func HasSubscription

func HasSubscription() predicate.ChargeUsageBased

HasSubscription applies the HasEdge predicate on the "subscription" edge.

func HasSubscriptionItem

func HasSubscriptionItem() predicate.ChargeUsageBased

HasSubscriptionItem applies the HasEdge predicate on the "subscription_item" edge.

func HasSubscriptionItemWith

func HasSubscriptionItemWith(preds ...predicate.SubscriptionItem) predicate.ChargeUsageBased

HasSubscriptionItemWith applies the HasEdge predicate on the "subscription_item" edge with a given conditions (other predicates).

func HasSubscriptionPhase

func HasSubscriptionPhase() predicate.ChargeUsageBased

HasSubscriptionPhase applies the HasEdge predicate on the "subscription_phase" edge.

func HasSubscriptionPhaseWith

func HasSubscriptionPhaseWith(preds ...predicate.SubscriptionPhase) predicate.ChargeUsageBased

HasSubscriptionPhaseWith applies the HasEdge predicate on the "subscription_phase" edge with a given conditions (other predicates).

func HasSubscriptionWith

func HasSubscriptionWith(preds ...predicate.Subscription) predicate.ChargeUsageBased

HasSubscriptionWith applies the HasEdge predicate on the "subscription" edge with a given conditions (other predicates).

func HasTaxCode

func HasTaxCode() predicate.ChargeUsageBased

HasTaxCode applies the HasEdge predicate on the "tax_code" edge.

func HasTaxCodeWith

func HasTaxCodeWith(preds ...predicate.TaxCode) predicate.ChargeUsageBased

HasTaxCodeWith applies the HasEdge predicate on the "tax_code" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.ChargeUsageBased

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.ChargeUsageBased

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.ChargeUsageBased

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.ChargeUsageBased

IDNotIn applies the NotIn predicate on the ID field.

func InvoiceAt

func InvoiceAt(v time.Time) predicate.ChargeUsageBased

InvoiceAt applies equality check predicate on the "invoice_at" field. It's identical to InvoiceAtEQ.

func InvoiceAtEQ

func InvoiceAtEQ(v time.Time) predicate.ChargeUsageBased

InvoiceAtEQ applies the EQ predicate on the "invoice_at" field.

func InvoiceAtGT

func InvoiceAtGT(v time.Time) predicate.ChargeUsageBased

InvoiceAtGT applies the GT predicate on the "invoice_at" field.

func InvoiceAtGTE

func InvoiceAtGTE(v time.Time) predicate.ChargeUsageBased

InvoiceAtGTE applies the GTE predicate on the "invoice_at" field.

func InvoiceAtIn

func InvoiceAtIn(vs ...time.Time) predicate.ChargeUsageBased

InvoiceAtIn applies the In predicate on the "invoice_at" field.

func InvoiceAtLT

func InvoiceAtLT(v time.Time) predicate.ChargeUsageBased

InvoiceAtLT applies the LT predicate on the "invoice_at" field.

func InvoiceAtLTE

func InvoiceAtLTE(v time.Time) predicate.ChargeUsageBased

InvoiceAtLTE applies the LTE predicate on the "invoice_at" field.

func InvoiceAtNEQ

func InvoiceAtNEQ(v time.Time) predicate.ChargeUsageBased

InvoiceAtNEQ applies the NEQ predicate on the "invoice_at" field.

func InvoiceAtNotIn

func InvoiceAtNotIn(vs ...time.Time) predicate.ChargeUsageBased

InvoiceAtNotIn applies the NotIn predicate on the "invoice_at" field.

func ManagedByEQ

ManagedByEQ applies the EQ predicate on the "managed_by" field.

func ManagedByIn

ManagedByIn applies the In predicate on the "managed_by" field.

func ManagedByNEQ

ManagedByNEQ applies the NEQ predicate on the "managed_by" field.

func ManagedByNotIn

ManagedByNotIn applies the NotIn predicate on the "managed_by" field.

func ManagedByValidator

func ManagedByValidator(mb billing.InvoiceLineManagedBy) error

ManagedByValidator is a validator for the "managed_by" field enum values. It is called by the builders before save.

func MetadataIsNil

func MetadataIsNil() predicate.ChargeUsageBased

MetadataIsNil applies the IsNil predicate on the "metadata" field.

func MetadataNotNil

func MetadataNotNil() predicate.ChargeUsageBased

MetadataNotNil applies the NotNil predicate on the "metadata" field.

func Name

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.ChargeUsageBased

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.ChargeUsageBased

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.ChargeUsageBased

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

NameGT applies the GT predicate on the "name" field.

func NameGTE

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.ChargeUsageBased

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.ChargeUsageBased

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.ChargeUsageBased

NameIn applies the In predicate on the "name" field.

func NameLT

NameLT applies the LT predicate on the "name" field.

func NameLTE

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.ChargeUsageBased

NameNotIn applies the NotIn predicate on the "name" field.

func Namespace

func Namespace(v string) predicate.ChargeUsageBased

Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.

func NamespaceContains

func NamespaceContains(v string) predicate.ChargeUsageBased

NamespaceContains applies the Contains predicate on the "namespace" field.

func NamespaceContainsFold

func NamespaceContainsFold(v string) predicate.ChargeUsageBased

NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.

func NamespaceEQ

func NamespaceEQ(v string) predicate.ChargeUsageBased

NamespaceEQ applies the EQ predicate on the "namespace" field.

func NamespaceEqualFold

func NamespaceEqualFold(v string) predicate.ChargeUsageBased

NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.

func NamespaceGT

func NamespaceGT(v string) predicate.ChargeUsageBased

NamespaceGT applies the GT predicate on the "namespace" field.

func NamespaceGTE

func NamespaceGTE(v string) predicate.ChargeUsageBased

NamespaceGTE applies the GTE predicate on the "namespace" field.

func NamespaceHasPrefix

func NamespaceHasPrefix(v string) predicate.ChargeUsageBased

NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.

func NamespaceHasSuffix

func NamespaceHasSuffix(v string) predicate.ChargeUsageBased

NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.

func NamespaceIn

func NamespaceIn(vs ...string) predicate.ChargeUsageBased

NamespaceIn applies the In predicate on the "namespace" field.

func NamespaceLT

func NamespaceLT(v string) predicate.ChargeUsageBased

NamespaceLT applies the LT predicate on the "namespace" field.

func NamespaceLTE

func NamespaceLTE(v string) predicate.ChargeUsageBased

NamespaceLTE applies the LTE predicate on the "namespace" field.

func NamespaceNEQ

func NamespaceNEQ(v string) predicate.ChargeUsageBased

NamespaceNEQ applies the NEQ predicate on the "namespace" field.

func NamespaceNotIn

func NamespaceNotIn(vs ...string) predicate.ChargeUsageBased

NamespaceNotIn applies the NotIn predicate on the "namespace" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func RatingEngineEQ

RatingEngineEQ applies the EQ predicate on the "rating_engine" field.

func RatingEngineIn

func RatingEngineIn(vs ...usagebased.RatingEngine) predicate.ChargeUsageBased

RatingEngineIn applies the In predicate on the "rating_engine" field.

func RatingEngineNEQ

RatingEngineNEQ applies the NEQ predicate on the "rating_engine" field.

func RatingEngineNotIn

func RatingEngineNotIn(vs ...usagebased.RatingEngine) predicate.ChargeUsageBased

RatingEngineNotIn applies the NotIn predicate on the "rating_engine" field.

func RatingEngineValidator

func RatingEngineValidator(re usagebased.RatingEngine) error

RatingEngineValidator is a validator for the "rating_engine" field enum values. It is called by the builders before save.

func ServicePeriodFrom

func ServicePeriodFrom(v time.Time) predicate.ChargeUsageBased

ServicePeriodFrom applies equality check predicate on the "service_period_from" field. It's identical to ServicePeriodFromEQ.

func ServicePeriodFromEQ

func ServicePeriodFromEQ(v time.Time) predicate.ChargeUsageBased

ServicePeriodFromEQ applies the EQ predicate on the "service_period_from" field.

func ServicePeriodFromGT

func ServicePeriodFromGT(v time.Time) predicate.ChargeUsageBased

ServicePeriodFromGT applies the GT predicate on the "service_period_from" field.

func ServicePeriodFromGTE

func ServicePeriodFromGTE(v time.Time) predicate.ChargeUsageBased

ServicePeriodFromGTE applies the GTE predicate on the "service_period_from" field.

func ServicePeriodFromIn

func ServicePeriodFromIn(vs ...time.Time) predicate.ChargeUsageBased

ServicePeriodFromIn applies the In predicate on the "service_period_from" field.

func ServicePeriodFromLT

func ServicePeriodFromLT(v time.Time) predicate.ChargeUsageBased

ServicePeriodFromLT applies the LT predicate on the "service_period_from" field.

func ServicePeriodFromLTE

func ServicePeriodFromLTE(v time.Time) predicate.ChargeUsageBased

ServicePeriodFromLTE applies the LTE predicate on the "service_period_from" field.

func ServicePeriodFromNEQ

func ServicePeriodFromNEQ(v time.Time) predicate.ChargeUsageBased

ServicePeriodFromNEQ applies the NEQ predicate on the "service_period_from" field.

func ServicePeriodFromNotIn

func ServicePeriodFromNotIn(vs ...time.Time) predicate.ChargeUsageBased

ServicePeriodFromNotIn applies the NotIn predicate on the "service_period_from" field.

func ServicePeriodTo

func ServicePeriodTo(v time.Time) predicate.ChargeUsageBased

ServicePeriodTo applies equality check predicate on the "service_period_to" field. It's identical to ServicePeriodToEQ.

func ServicePeriodToEQ

func ServicePeriodToEQ(v time.Time) predicate.ChargeUsageBased

ServicePeriodToEQ applies the EQ predicate on the "service_period_to" field.

func ServicePeriodToGT

func ServicePeriodToGT(v time.Time) predicate.ChargeUsageBased

ServicePeriodToGT applies the GT predicate on the "service_period_to" field.

func ServicePeriodToGTE

func ServicePeriodToGTE(v time.Time) predicate.ChargeUsageBased

ServicePeriodToGTE applies the GTE predicate on the "service_period_to" field.

func ServicePeriodToIn

func ServicePeriodToIn(vs ...time.Time) predicate.ChargeUsageBased

ServicePeriodToIn applies the In predicate on the "service_period_to" field.

func ServicePeriodToLT

func ServicePeriodToLT(v time.Time) predicate.ChargeUsageBased

ServicePeriodToLT applies the LT predicate on the "service_period_to" field.

func ServicePeriodToLTE

func ServicePeriodToLTE(v time.Time) predicate.ChargeUsageBased

ServicePeriodToLTE applies the LTE predicate on the "service_period_to" field.

func ServicePeriodToNEQ

func ServicePeriodToNEQ(v time.Time) predicate.ChargeUsageBased

ServicePeriodToNEQ applies the NEQ predicate on the "service_period_to" field.

func ServicePeriodToNotIn

func ServicePeriodToNotIn(vs ...time.Time) predicate.ChargeUsageBased

ServicePeriodToNotIn applies the NotIn predicate on the "service_period_to" field.

func SettlementModeEQ

SettlementModeEQ applies the EQ predicate on the "settlement_mode" field.

func SettlementModeIn

SettlementModeIn applies the In predicate on the "settlement_mode" field.

func SettlementModeNEQ

SettlementModeNEQ applies the NEQ predicate on the "settlement_mode" field.

func SettlementModeNotIn

func SettlementModeNotIn(vs ...productcatalog.SettlementMode) predicate.ChargeUsageBased

SettlementModeNotIn applies the NotIn predicate on the "settlement_mode" field.

func SettlementModeValidator

func SettlementModeValidator(sm productcatalog.SettlementMode) error

SettlementModeValidator is a validator for the "settlement_mode" field enum values. It is called by the builders before save.

func StatusDetailedEQ

func StatusDetailedEQ(v usagebased.Status) predicate.ChargeUsageBased

StatusDetailedEQ applies the EQ predicate on the "status_detailed" field.

func StatusDetailedIn

func StatusDetailedIn(vs ...usagebased.Status) predicate.ChargeUsageBased

StatusDetailedIn applies the In predicate on the "status_detailed" field.

func StatusDetailedNEQ

func StatusDetailedNEQ(v usagebased.Status) predicate.ChargeUsageBased

StatusDetailedNEQ applies the NEQ predicate on the "status_detailed" field.

func StatusDetailedNotIn

func StatusDetailedNotIn(vs ...usagebased.Status) predicate.ChargeUsageBased

StatusDetailedNotIn applies the NotIn predicate on the "status_detailed" field.

func StatusDetailedValidator

func StatusDetailedValidator(sd usagebased.Status) error

StatusDetailedValidator is a validator for the "status_detailed" field enum values. It is called by the builders before save.

func StatusEQ

StatusEQ applies the EQ predicate on the "status" field.

func StatusIn

StatusIn applies the In predicate on the "status" field.

func StatusNEQ

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...meta.ChargeStatus) predicate.ChargeUsageBased

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusValidator

func StatusValidator(s meta.ChargeStatus) error

StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.

func SubscriptionID

func SubscriptionID(v string) predicate.ChargeUsageBased

SubscriptionID applies equality check predicate on the "subscription_id" field. It's identical to SubscriptionIDEQ.

func SubscriptionIDContains

func SubscriptionIDContains(v string) predicate.ChargeUsageBased

SubscriptionIDContains applies the Contains predicate on the "subscription_id" field.

func SubscriptionIDContainsFold

func SubscriptionIDContainsFold(v string) predicate.ChargeUsageBased

SubscriptionIDContainsFold applies the ContainsFold predicate on the "subscription_id" field.

func SubscriptionIDEQ

func SubscriptionIDEQ(v string) predicate.ChargeUsageBased

SubscriptionIDEQ applies the EQ predicate on the "subscription_id" field.

func SubscriptionIDEqualFold

func SubscriptionIDEqualFold(v string) predicate.ChargeUsageBased

SubscriptionIDEqualFold applies the EqualFold predicate on the "subscription_id" field.

func SubscriptionIDGT

func SubscriptionIDGT(v string) predicate.ChargeUsageBased

SubscriptionIDGT applies the GT predicate on the "subscription_id" field.

func SubscriptionIDGTE

func SubscriptionIDGTE(v string) predicate.ChargeUsageBased

SubscriptionIDGTE applies the GTE predicate on the "subscription_id" field.

func SubscriptionIDHasPrefix

func SubscriptionIDHasPrefix(v string) predicate.ChargeUsageBased

SubscriptionIDHasPrefix applies the HasPrefix predicate on the "subscription_id" field.

func SubscriptionIDHasSuffix

func SubscriptionIDHasSuffix(v string) predicate.ChargeUsageBased

SubscriptionIDHasSuffix applies the HasSuffix predicate on the "subscription_id" field.

func SubscriptionIDIn

func SubscriptionIDIn(vs ...string) predicate.ChargeUsageBased

SubscriptionIDIn applies the In predicate on the "subscription_id" field.

func SubscriptionIDIsNil

func SubscriptionIDIsNil() predicate.ChargeUsageBased

SubscriptionIDIsNil applies the IsNil predicate on the "subscription_id" field.

func SubscriptionIDLT

func SubscriptionIDLT(v string) predicate.ChargeUsageBased

SubscriptionIDLT applies the LT predicate on the "subscription_id" field.

func SubscriptionIDLTE

func SubscriptionIDLTE(v string) predicate.ChargeUsageBased

SubscriptionIDLTE applies the LTE predicate on the "subscription_id" field.

func SubscriptionIDNEQ

func SubscriptionIDNEQ(v string) predicate.ChargeUsageBased

SubscriptionIDNEQ applies the NEQ predicate on the "subscription_id" field.

func SubscriptionIDNotIn

func SubscriptionIDNotIn(vs ...string) predicate.ChargeUsageBased

SubscriptionIDNotIn applies the NotIn predicate on the "subscription_id" field.

func SubscriptionIDNotNil

func SubscriptionIDNotNil() predicate.ChargeUsageBased

SubscriptionIDNotNil applies the NotNil predicate on the "subscription_id" field.

func SubscriptionItemID

func SubscriptionItemID(v string) predicate.ChargeUsageBased

SubscriptionItemID applies equality check predicate on the "subscription_item_id" field. It's identical to SubscriptionItemIDEQ.

func SubscriptionItemIDContains

func SubscriptionItemIDContains(v string) predicate.ChargeUsageBased

SubscriptionItemIDContains applies the Contains predicate on the "subscription_item_id" field.

func SubscriptionItemIDContainsFold

func SubscriptionItemIDContainsFold(v string) predicate.ChargeUsageBased

SubscriptionItemIDContainsFold applies the ContainsFold predicate on the "subscription_item_id" field.

func SubscriptionItemIDEQ

func SubscriptionItemIDEQ(v string) predicate.ChargeUsageBased

SubscriptionItemIDEQ applies the EQ predicate on the "subscription_item_id" field.

func SubscriptionItemIDEqualFold

func SubscriptionItemIDEqualFold(v string) predicate.ChargeUsageBased

SubscriptionItemIDEqualFold applies the EqualFold predicate on the "subscription_item_id" field.

func SubscriptionItemIDGT

func SubscriptionItemIDGT(v string) predicate.ChargeUsageBased

SubscriptionItemIDGT applies the GT predicate on the "subscription_item_id" field.

func SubscriptionItemIDGTE

func SubscriptionItemIDGTE(v string) predicate.ChargeUsageBased

SubscriptionItemIDGTE applies the GTE predicate on the "subscription_item_id" field.

func SubscriptionItemIDHasPrefix

func SubscriptionItemIDHasPrefix(v string) predicate.ChargeUsageBased

SubscriptionItemIDHasPrefix applies the HasPrefix predicate on the "subscription_item_id" field.

func SubscriptionItemIDHasSuffix

func SubscriptionItemIDHasSuffix(v string) predicate.ChargeUsageBased

SubscriptionItemIDHasSuffix applies the HasSuffix predicate on the "subscription_item_id" field.

func SubscriptionItemIDIn

func SubscriptionItemIDIn(vs ...string) predicate.ChargeUsageBased

SubscriptionItemIDIn applies the In predicate on the "subscription_item_id" field.

func SubscriptionItemIDIsNil

func SubscriptionItemIDIsNil() predicate.ChargeUsageBased

SubscriptionItemIDIsNil applies the IsNil predicate on the "subscription_item_id" field.

func SubscriptionItemIDLT

func SubscriptionItemIDLT(v string) predicate.ChargeUsageBased

SubscriptionItemIDLT applies the LT predicate on the "subscription_item_id" field.

func SubscriptionItemIDLTE

func SubscriptionItemIDLTE(v string) predicate.ChargeUsageBased

SubscriptionItemIDLTE applies the LTE predicate on the "subscription_item_id" field.

func SubscriptionItemIDNEQ

func SubscriptionItemIDNEQ(v string) predicate.ChargeUsageBased

SubscriptionItemIDNEQ applies the NEQ predicate on the "subscription_item_id" field.

func SubscriptionItemIDNotIn

func SubscriptionItemIDNotIn(vs ...string) predicate.ChargeUsageBased

SubscriptionItemIDNotIn applies the NotIn predicate on the "subscription_item_id" field.

func SubscriptionItemIDNotNil

func SubscriptionItemIDNotNil() predicate.ChargeUsageBased

SubscriptionItemIDNotNil applies the NotNil predicate on the "subscription_item_id" field.

func SubscriptionPhaseID

func SubscriptionPhaseID(v string) predicate.ChargeUsageBased

SubscriptionPhaseID applies equality check predicate on the "subscription_phase_id" field. It's identical to SubscriptionPhaseIDEQ.

func SubscriptionPhaseIDContains

func SubscriptionPhaseIDContains(v string) predicate.ChargeUsageBased

SubscriptionPhaseIDContains applies the Contains predicate on the "subscription_phase_id" field.

func SubscriptionPhaseIDContainsFold

func SubscriptionPhaseIDContainsFold(v string) predicate.ChargeUsageBased

SubscriptionPhaseIDContainsFold applies the ContainsFold predicate on the "subscription_phase_id" field.

func SubscriptionPhaseIDEQ

func SubscriptionPhaseIDEQ(v string) predicate.ChargeUsageBased

SubscriptionPhaseIDEQ applies the EQ predicate on the "subscription_phase_id" field.

func SubscriptionPhaseIDEqualFold

func SubscriptionPhaseIDEqualFold(v string) predicate.ChargeUsageBased

SubscriptionPhaseIDEqualFold applies the EqualFold predicate on the "subscription_phase_id" field.

func SubscriptionPhaseIDGT

func SubscriptionPhaseIDGT(v string) predicate.ChargeUsageBased

SubscriptionPhaseIDGT applies the GT predicate on the "subscription_phase_id" field.

func SubscriptionPhaseIDGTE

func SubscriptionPhaseIDGTE(v string) predicate.ChargeUsageBased

SubscriptionPhaseIDGTE applies the GTE predicate on the "subscription_phase_id" field.

func SubscriptionPhaseIDHasPrefix

func SubscriptionPhaseIDHasPrefix(v string) predicate.ChargeUsageBased

SubscriptionPhaseIDHasPrefix applies the HasPrefix predicate on the "subscription_phase_id" field.

func SubscriptionPhaseIDHasSuffix

func SubscriptionPhaseIDHasSuffix(v string) predicate.ChargeUsageBased

SubscriptionPhaseIDHasSuffix applies the HasSuffix predicate on the "subscription_phase_id" field.

func SubscriptionPhaseIDIn

func SubscriptionPhaseIDIn(vs ...string) predicate.ChargeUsageBased

SubscriptionPhaseIDIn applies the In predicate on the "subscription_phase_id" field.

func SubscriptionPhaseIDIsNil

func SubscriptionPhaseIDIsNil() predicate.ChargeUsageBased

SubscriptionPhaseIDIsNil applies the IsNil predicate on the "subscription_phase_id" field.

func SubscriptionPhaseIDLT

func SubscriptionPhaseIDLT(v string) predicate.ChargeUsageBased

SubscriptionPhaseIDLT applies the LT predicate on the "subscription_phase_id" field.

func SubscriptionPhaseIDLTE

func SubscriptionPhaseIDLTE(v string) predicate.ChargeUsageBased

SubscriptionPhaseIDLTE applies the LTE predicate on the "subscription_phase_id" field.

func SubscriptionPhaseIDNEQ

func SubscriptionPhaseIDNEQ(v string) predicate.ChargeUsageBased

SubscriptionPhaseIDNEQ applies the NEQ predicate on the "subscription_phase_id" field.

func SubscriptionPhaseIDNotIn

func SubscriptionPhaseIDNotIn(vs ...string) predicate.ChargeUsageBased

SubscriptionPhaseIDNotIn applies the NotIn predicate on the "subscription_phase_id" field.

func SubscriptionPhaseIDNotNil

func SubscriptionPhaseIDNotNil() predicate.ChargeUsageBased

SubscriptionPhaseIDNotNil applies the NotNil predicate on the "subscription_phase_id" field.

func TaxBehaviorEQ

TaxBehaviorEQ applies the EQ predicate on the "tax_behavior" field.

func TaxBehaviorIn

TaxBehaviorIn applies the In predicate on the "tax_behavior" field.

func TaxBehaviorIsNil

func TaxBehaviorIsNil() predicate.ChargeUsageBased

TaxBehaviorIsNil applies the IsNil predicate on the "tax_behavior" field.

func TaxBehaviorNEQ

TaxBehaviorNEQ applies the NEQ predicate on the "tax_behavior" field.

func TaxBehaviorNotIn

func TaxBehaviorNotIn(vs ...productcatalog.TaxBehavior) predicate.ChargeUsageBased

TaxBehaviorNotIn applies the NotIn predicate on the "tax_behavior" field.

func TaxBehaviorNotNil

func TaxBehaviorNotNil() predicate.ChargeUsageBased

TaxBehaviorNotNil applies the NotNil predicate on the "tax_behavior" field.

func TaxBehaviorValidator

func TaxBehaviorValidator(tb productcatalog.TaxBehavior) error

TaxBehaviorValidator is a validator for the "tax_behavior" field enum values. It is called by the builders before save.

func TaxCodeID

func TaxCodeID(v string) predicate.ChargeUsageBased

TaxCodeID applies equality check predicate on the "tax_code_id" field. It's identical to TaxCodeIDEQ.

func TaxCodeIDContains

func TaxCodeIDContains(v string) predicate.ChargeUsageBased

TaxCodeIDContains applies the Contains predicate on the "tax_code_id" field.

func TaxCodeIDContainsFold

func TaxCodeIDContainsFold(v string) predicate.ChargeUsageBased

TaxCodeIDContainsFold applies the ContainsFold predicate on the "tax_code_id" field.

func TaxCodeIDEQ

func TaxCodeIDEQ(v string) predicate.ChargeUsageBased

TaxCodeIDEQ applies the EQ predicate on the "tax_code_id" field.

func TaxCodeIDEqualFold

func TaxCodeIDEqualFold(v string) predicate.ChargeUsageBased

TaxCodeIDEqualFold applies the EqualFold predicate on the "tax_code_id" field.

func TaxCodeIDGT

func TaxCodeIDGT(v string) predicate.ChargeUsageBased

TaxCodeIDGT applies the GT predicate on the "tax_code_id" field.

func TaxCodeIDGTE

func TaxCodeIDGTE(v string) predicate.ChargeUsageBased

TaxCodeIDGTE applies the GTE predicate on the "tax_code_id" field.

func TaxCodeIDHasPrefix

func TaxCodeIDHasPrefix(v string) predicate.ChargeUsageBased

TaxCodeIDHasPrefix applies the HasPrefix predicate on the "tax_code_id" field.

func TaxCodeIDHasSuffix

func TaxCodeIDHasSuffix(v string) predicate.ChargeUsageBased

TaxCodeIDHasSuffix applies the HasSuffix predicate on the "tax_code_id" field.

func TaxCodeIDIn

func TaxCodeIDIn(vs ...string) predicate.ChargeUsageBased

TaxCodeIDIn applies the In predicate on the "tax_code_id" field.

func TaxCodeIDIsNil

func TaxCodeIDIsNil() predicate.ChargeUsageBased

TaxCodeIDIsNil applies the IsNil predicate on the "tax_code_id" field.

func TaxCodeIDLT

func TaxCodeIDLT(v string) predicate.ChargeUsageBased

TaxCodeIDLT applies the LT predicate on the "tax_code_id" field.

func TaxCodeIDLTE

func TaxCodeIDLTE(v string) predicate.ChargeUsageBased

TaxCodeIDLTE applies the LTE predicate on the "tax_code_id" field.

func TaxCodeIDNEQ

func TaxCodeIDNEQ(v string) predicate.ChargeUsageBased

TaxCodeIDNEQ applies the NEQ predicate on the "tax_code_id" field.

func TaxCodeIDNotIn

func TaxCodeIDNotIn(vs ...string) predicate.ChargeUsageBased

TaxCodeIDNotIn applies the NotIn predicate on the "tax_code_id" field.

func TaxCodeIDNotNil

func TaxCodeIDNotNil() predicate.ChargeUsageBased

TaxCodeIDNotNil applies the NotNil predicate on the "tax_code_id" field.

func UniqueReferenceID

func UniqueReferenceID(v string) predicate.ChargeUsageBased

UniqueReferenceID applies equality check predicate on the "unique_reference_id" field. It's identical to UniqueReferenceIDEQ.

func UniqueReferenceIDContains

func UniqueReferenceIDContains(v string) predicate.ChargeUsageBased

UniqueReferenceIDContains applies the Contains predicate on the "unique_reference_id" field.

func UniqueReferenceIDContainsFold

func UniqueReferenceIDContainsFold(v string) predicate.ChargeUsageBased

UniqueReferenceIDContainsFold applies the ContainsFold predicate on the "unique_reference_id" field.

func UniqueReferenceIDEQ

func UniqueReferenceIDEQ(v string) predicate.ChargeUsageBased

UniqueReferenceIDEQ applies the EQ predicate on the "unique_reference_id" field.

func UniqueReferenceIDEqualFold

func UniqueReferenceIDEqualFold(v string) predicate.ChargeUsageBased

UniqueReferenceIDEqualFold applies the EqualFold predicate on the "unique_reference_id" field.

func UniqueReferenceIDGT

func UniqueReferenceIDGT(v string) predicate.ChargeUsageBased

UniqueReferenceIDGT applies the GT predicate on the "unique_reference_id" field.

func UniqueReferenceIDGTE

func UniqueReferenceIDGTE(v string) predicate.ChargeUsageBased

UniqueReferenceIDGTE applies the GTE predicate on the "unique_reference_id" field.

func UniqueReferenceIDHasPrefix

func UniqueReferenceIDHasPrefix(v string) predicate.ChargeUsageBased

UniqueReferenceIDHasPrefix applies the HasPrefix predicate on the "unique_reference_id" field.

func UniqueReferenceIDHasSuffix

func UniqueReferenceIDHasSuffix(v string) predicate.ChargeUsageBased

UniqueReferenceIDHasSuffix applies the HasSuffix predicate on the "unique_reference_id" field.

func UniqueReferenceIDIn

func UniqueReferenceIDIn(vs ...string) predicate.ChargeUsageBased

UniqueReferenceIDIn applies the In predicate on the "unique_reference_id" field.

func UniqueReferenceIDIsNil

func UniqueReferenceIDIsNil() predicate.ChargeUsageBased

UniqueReferenceIDIsNil applies the IsNil predicate on the "unique_reference_id" field.

func UniqueReferenceIDLT

func UniqueReferenceIDLT(v string) predicate.ChargeUsageBased

UniqueReferenceIDLT applies the LT predicate on the "unique_reference_id" field.

func UniqueReferenceIDLTE

func UniqueReferenceIDLTE(v string) predicate.ChargeUsageBased

UniqueReferenceIDLTE applies the LTE predicate on the "unique_reference_id" field.

func UniqueReferenceIDNEQ

func UniqueReferenceIDNEQ(v string) predicate.ChargeUsageBased

UniqueReferenceIDNEQ applies the NEQ predicate on the "unique_reference_id" field.

func UniqueReferenceIDNotIn

func UniqueReferenceIDNotIn(vs ...string) predicate.ChargeUsageBased

UniqueReferenceIDNotIn applies the NotIn predicate on the "unique_reference_id" field.

func UniqueReferenceIDNotNil

func UniqueReferenceIDNotNil() predicate.ChargeUsageBased

UniqueReferenceIDNotNil applies the NotNil predicate on the "unique_reference_id" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.ChargeUsageBased

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.ChargeUsageBased

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.ChargeUsageBased

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.ChargeUsageBased

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.ChargeUsageBased

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.ChargeUsageBased

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.ChargeUsageBased

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.ChargeUsageBased

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.ChargeUsageBased

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the ChargeUsageBased queries.

func ByAdvanceAfter

func ByAdvanceAfter(opts ...sql.OrderTermOption) OrderOption

ByAdvanceAfter orders the results by the advance_after field.

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 ByChargeField

func ByChargeField(field string, opts ...sql.OrderTermOption) OrderOption

ByChargeField orders the results by charge field.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByCurrency

func ByCurrency(opts ...sql.OrderTermOption) OrderOption

ByCurrency orders the results by the currency field.

func ByCurrentRealizationRunID

func ByCurrentRealizationRunID(opts ...sql.OrderTermOption) OrderOption

ByCurrentRealizationRunID orders the results by the current_realization_run_id field.

func ByCurrentRunField

func ByCurrentRunField(field string, opts ...sql.OrderTermOption) OrderOption

ByCurrentRunField orders the results by current_run field.

func ByCustomerField

func ByCustomerField(field string, opts ...sql.OrderTermOption) OrderOption

ByCustomerField orders the results by customer field.

func ByCustomerID

func ByCustomerID(opts ...sql.OrderTermOption) OrderOption

ByCustomerID orders the results by the customer_id field.

func ByDeletedAt

func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption

ByDeletedAt orders the results by the deleted_at field.

func ByDescription

func ByDescription(opts ...sql.OrderTermOption) OrderOption

ByDescription orders the results by the description field.

func ByDetailedLines

func ByDetailedLines(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByDetailedLines orders the results by detailed_lines terms.

func ByDetailedLinesCount

func ByDetailedLinesCount(opts ...sql.OrderTermOption) OrderOption

ByDetailedLinesCount orders the results by detailed_lines count.

func ByDiscounts

func ByDiscounts(opts ...sql.OrderTermOption) OrderOption

ByDiscounts orders the results by the discounts field.

func ByFeatureField

func ByFeatureField(field string, opts ...sql.OrderTermOption) OrderOption

ByFeatureField orders the results by feature field.

func ByFeatureID

func ByFeatureID(opts ...sql.OrderTermOption) OrderOption

ByFeatureID orders the results by the feature_id 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 ByInvoiceAt

func ByInvoiceAt(opts ...sql.OrderTermOption) OrderOption

ByInvoiceAt orders the results by the invoice_at field.

func ByManagedBy

func ByManagedBy(opts ...sql.OrderTermOption) OrderOption

ByManagedBy orders the results by the managed_by 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 ByRatingEngine

func ByRatingEngine(opts ...sql.OrderTermOption) OrderOption

ByRatingEngine orders the results by the rating_engine field.

func ByRuns

func ByRuns(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByRuns orders the results by runs terms.

func ByRunsCount

func ByRunsCount(opts ...sql.OrderTermOption) OrderOption

ByRunsCount orders the results by runs count.

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 BySettlementMode

func BySettlementMode(opts ...sql.OrderTermOption) OrderOption

BySettlementMode orders the results by the settlement_mode field.

func ByStatus

func ByStatus(opts ...sql.OrderTermOption) OrderOption

ByStatus orders the results by the status field.

func ByStatusDetailed

func ByStatusDetailed(opts ...sql.OrderTermOption) OrderOption

ByStatusDetailed orders the results by the status_detailed field.

func BySubscriptionField

func BySubscriptionField(field string, opts ...sql.OrderTermOption) OrderOption

BySubscriptionField orders the results by subscription field.

func BySubscriptionID

func BySubscriptionID(opts ...sql.OrderTermOption) OrderOption

BySubscriptionID orders the results by the subscription_id field.

func BySubscriptionItemField

func BySubscriptionItemField(field string, opts ...sql.OrderTermOption) OrderOption

BySubscriptionItemField orders the results by subscription_item field.

func BySubscriptionItemID

func BySubscriptionItemID(opts ...sql.OrderTermOption) OrderOption

BySubscriptionItemID orders the results by the subscription_item_id field.

func BySubscriptionPhaseField

func BySubscriptionPhaseField(field string, opts ...sql.OrderTermOption) OrderOption

BySubscriptionPhaseField orders the results by subscription_phase field.

func BySubscriptionPhaseID

func BySubscriptionPhaseID(opts ...sql.OrderTermOption) OrderOption

BySubscriptionPhaseID orders the results by the subscription_phase_id 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 ByUniqueReferenceID

func ByUniqueReferenceID(opts ...sql.OrderTermOption) OrderOption

ByUniqueReferenceID orders the results by the unique_reference_id field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL