chargeflatfee

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: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the chargeflatfee type in the database.
	Label = "charge_flat_fee"
	// 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"
	// FieldPaymentTerm holds the string denoting the payment_term field in the database.
	FieldPaymentTerm = "payment_term"
	// 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"
	// FieldProRating holds the string denoting the pro_rating field in the database.
	FieldProRating = "pro_rating"
	// 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"
	// FieldAmountBeforeProration holds the string denoting the amount_before_proration field in the database.
	FieldAmountBeforeProration = "amount_before_proration"
	// FieldAmountAfterProration holds the string denoting the amount_after_proration field in the database.
	FieldAmountAfterProration = "amount_after_proration"
	// 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"
	// 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 chargeflatfee in the database.
	Table = "charge_flat_fees"
	// RunsTable is the table that holds the runs relation/edge.
	RunsTable = "charge_flat_fee_runs"
	// RunsInverseTable is the table name for the ChargeFlatFeeRun entity.
	// It exists in this package in order to avoid circular dependency with the "chargeflatfeerun" package.
	RunsInverseTable = "charge_flat_fee_runs"
	// RunsColumn is the table column denoting the runs relation/edge.
	RunsColumn = "charge_id"
	// CurrentRunTable is the table that holds the current_run relation/edge.
	CurrentRunTable = "charge_flat_fees"
	// CurrentRunInverseTable is the table name for the ChargeFlatFeeRun entity.
	// It exists in this package in order to avoid circular dependency with the "chargeflatfeerun" package.
	CurrentRunInverseTable = "charge_flat_fee_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_flat_fee_id"
	// SubscriptionTable is the table that holds the subscription relation/edge.
	SubscriptionTable = "charge_flat_fees"
	// 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_flat_fees"
	// 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_flat_fees"
	// 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_flat_fees"
	// 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_flat_fees"
	// 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_flat_fees"
	// 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
	// PaymentTermValidator is a validator for the "payment_term" field. It is called by the builders before save.
	PaymentTermValidator 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 ChargeFlatFee fields.
	ValueScanner struct {
		Discounts field.TypeValueScanner[*productcatalog.Discounts]
	}
)

Columns holds all SQL columns for chargeflatfee fields.

Functions

func AdvanceAfter

func AdvanceAfter(v time.Time) predicate.ChargeFlatFee

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

func AdvanceAfterEQ

func AdvanceAfterEQ(v time.Time) predicate.ChargeFlatFee

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

func AdvanceAfterGT

func AdvanceAfterGT(v time.Time) predicate.ChargeFlatFee

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

func AdvanceAfterGTE

func AdvanceAfterGTE(v time.Time) predicate.ChargeFlatFee

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

func AdvanceAfterIn

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

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

func AdvanceAfterIsNil

func AdvanceAfterIsNil() predicate.ChargeFlatFee

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

func AdvanceAfterLT

func AdvanceAfterLT(v time.Time) predicate.ChargeFlatFee

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

func AdvanceAfterLTE

func AdvanceAfterLTE(v time.Time) predicate.ChargeFlatFee

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

func AdvanceAfterNEQ

func AdvanceAfterNEQ(v time.Time) predicate.ChargeFlatFee

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

func AdvanceAfterNotIn

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

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

func AdvanceAfterNotNil

func AdvanceAfterNotNil() predicate.ChargeFlatFee

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

func AmountAfterProration

func AmountAfterProration(v alpacadecimal.Decimal) predicate.ChargeFlatFee

AmountAfterProration applies equality check predicate on the "amount_after_proration" field. It's identical to AmountAfterProrationEQ.

func AmountAfterProrationEQ

func AmountAfterProrationEQ(v alpacadecimal.Decimal) predicate.ChargeFlatFee

AmountAfterProrationEQ applies the EQ predicate on the "amount_after_proration" field.

func AmountAfterProrationGT

func AmountAfterProrationGT(v alpacadecimal.Decimal) predicate.ChargeFlatFee

AmountAfterProrationGT applies the GT predicate on the "amount_after_proration" field.

func AmountAfterProrationGTE

func AmountAfterProrationGTE(v alpacadecimal.Decimal) predicate.ChargeFlatFee

AmountAfterProrationGTE applies the GTE predicate on the "amount_after_proration" field.

func AmountAfterProrationIn

func AmountAfterProrationIn(vs ...alpacadecimal.Decimal) predicate.ChargeFlatFee

AmountAfterProrationIn applies the In predicate on the "amount_after_proration" field.

func AmountAfterProrationLT

func AmountAfterProrationLT(v alpacadecimal.Decimal) predicate.ChargeFlatFee

AmountAfterProrationLT applies the LT predicate on the "amount_after_proration" field.

func AmountAfterProrationLTE

func AmountAfterProrationLTE(v alpacadecimal.Decimal) predicate.ChargeFlatFee

AmountAfterProrationLTE applies the LTE predicate on the "amount_after_proration" field.

func AmountAfterProrationNEQ

func AmountAfterProrationNEQ(v alpacadecimal.Decimal) predicate.ChargeFlatFee

AmountAfterProrationNEQ applies the NEQ predicate on the "amount_after_proration" field.

func AmountAfterProrationNotIn

func AmountAfterProrationNotIn(vs ...alpacadecimal.Decimal) predicate.ChargeFlatFee

AmountAfterProrationNotIn applies the NotIn predicate on the "amount_after_proration" field.

func AmountBeforeProration

func AmountBeforeProration(v alpacadecimal.Decimal) predicate.ChargeFlatFee

AmountBeforeProration applies equality check predicate on the "amount_before_proration" field. It's identical to AmountBeforeProrationEQ.

func AmountBeforeProrationEQ

func AmountBeforeProrationEQ(v alpacadecimal.Decimal) predicate.ChargeFlatFee

AmountBeforeProrationEQ applies the EQ predicate on the "amount_before_proration" field.

func AmountBeforeProrationGT

func AmountBeforeProrationGT(v alpacadecimal.Decimal) predicate.ChargeFlatFee

AmountBeforeProrationGT applies the GT predicate on the "amount_before_proration" field.

func AmountBeforeProrationGTE

func AmountBeforeProrationGTE(v alpacadecimal.Decimal) predicate.ChargeFlatFee

AmountBeforeProrationGTE applies the GTE predicate on the "amount_before_proration" field.

func AmountBeforeProrationIn

func AmountBeforeProrationIn(vs ...alpacadecimal.Decimal) predicate.ChargeFlatFee

AmountBeforeProrationIn applies the In predicate on the "amount_before_proration" field.

func AmountBeforeProrationLT

func AmountBeforeProrationLT(v alpacadecimal.Decimal) predicate.ChargeFlatFee

AmountBeforeProrationLT applies the LT predicate on the "amount_before_proration" field.

func AmountBeforeProrationLTE

func AmountBeforeProrationLTE(v alpacadecimal.Decimal) predicate.ChargeFlatFee

AmountBeforeProrationLTE applies the LTE predicate on the "amount_before_proration" field.

func AmountBeforeProrationNEQ

func AmountBeforeProrationNEQ(v alpacadecimal.Decimal) predicate.ChargeFlatFee

AmountBeforeProrationNEQ applies the NEQ predicate on the "amount_before_proration" field.

func AmountBeforeProrationNotIn

func AmountBeforeProrationNotIn(vs ...alpacadecimal.Decimal) predicate.ChargeFlatFee

AmountBeforeProrationNotIn applies the NotIn predicate on the "amount_before_proration" field.

func And

And groups predicates with the AND operator between them.

func AnnotationsIsNil

func AnnotationsIsNil() predicate.ChargeFlatFee

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

func AnnotationsNotNil

func AnnotationsNotNil() predicate.ChargeFlatFee

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

func BillingPeriodFrom

func BillingPeriodFrom(v time.Time) predicate.ChargeFlatFee

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

func BillingPeriodFromEQ

func BillingPeriodFromEQ(v time.Time) predicate.ChargeFlatFee

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

func BillingPeriodFromGT

func BillingPeriodFromGT(v time.Time) predicate.ChargeFlatFee

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

func BillingPeriodFromGTE

func BillingPeriodFromGTE(v time.Time) predicate.ChargeFlatFee

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

func BillingPeriodFromIn

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

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

func BillingPeriodFromLT

func BillingPeriodFromLT(v time.Time) predicate.ChargeFlatFee

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

func BillingPeriodFromLTE

func BillingPeriodFromLTE(v time.Time) predicate.ChargeFlatFee

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

func BillingPeriodFromNEQ

func BillingPeriodFromNEQ(v time.Time) predicate.ChargeFlatFee

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

func BillingPeriodFromNotIn

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

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

func BillingPeriodTo

func BillingPeriodTo(v time.Time) predicate.ChargeFlatFee

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

func BillingPeriodToEQ

func BillingPeriodToEQ(v time.Time) predicate.ChargeFlatFee

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

func BillingPeriodToGT

func BillingPeriodToGT(v time.Time) predicate.ChargeFlatFee

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

func BillingPeriodToGTE

func BillingPeriodToGTE(v time.Time) predicate.ChargeFlatFee

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

func BillingPeriodToIn

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

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

func BillingPeriodToLT

func BillingPeriodToLT(v time.Time) predicate.ChargeFlatFee

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

func BillingPeriodToLTE

func BillingPeriodToLTE(v time.Time) predicate.ChargeFlatFee

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

func BillingPeriodToNEQ

func BillingPeriodToNEQ(v time.Time) predicate.ChargeFlatFee

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

func BillingPeriodToNotIn

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

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

func CreatedAt

func CreatedAt(v time.Time) predicate.ChargeFlatFee

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.ChargeFlatFee

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.ChargeFlatFee

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ChargeFlatFee

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.ChargeFlatFee

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ChargeFlatFee

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ChargeFlatFee

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

func CreatedAtNotIn

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

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

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

func CurrencyContainsFold

func CurrencyContainsFold(v currencyx.Code) predicate.ChargeFlatFee

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

func CurrencyEQ

func CurrencyEQ(v currencyx.Code) predicate.ChargeFlatFee

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

func CurrencyEqualFold

func CurrencyEqualFold(v currencyx.Code) predicate.ChargeFlatFee

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

func CurrencyGT

func CurrencyGT(v currencyx.Code) predicate.ChargeFlatFee

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

func CurrencyGTE

func CurrencyGTE(v currencyx.Code) predicate.ChargeFlatFee

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

func CurrencyHasPrefix

func CurrencyHasPrefix(v currencyx.Code) predicate.ChargeFlatFee

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

func CurrencyHasSuffix

func CurrencyHasSuffix(v currencyx.Code) predicate.ChargeFlatFee

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

func CurrencyIn

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

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

func CurrencyLT

func CurrencyLT(v currencyx.Code) predicate.ChargeFlatFee

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

func CurrencyLTE

func CurrencyLTE(v currencyx.Code) predicate.ChargeFlatFee

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

func CurrencyNEQ

func CurrencyNEQ(v currencyx.Code) predicate.ChargeFlatFee

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

func CurrencyNotIn

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

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

func CurrentRealizationRunID

func CurrentRealizationRunID(v string) predicate.ChargeFlatFee

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

func CurrentRealizationRunIDContains

func CurrentRealizationRunIDContains(v string) predicate.ChargeFlatFee

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

func CurrentRealizationRunIDContainsFold

func CurrentRealizationRunIDContainsFold(v string) predicate.ChargeFlatFee

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

func CurrentRealizationRunIDEQ

func CurrentRealizationRunIDEQ(v string) predicate.ChargeFlatFee

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

func CurrentRealizationRunIDEqualFold

func CurrentRealizationRunIDEqualFold(v string) predicate.ChargeFlatFee

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

func CurrentRealizationRunIDGT

func CurrentRealizationRunIDGT(v string) predicate.ChargeFlatFee

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

func CurrentRealizationRunIDGTE

func CurrentRealizationRunIDGTE(v string) predicate.ChargeFlatFee

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

func CurrentRealizationRunIDHasPrefix

func CurrentRealizationRunIDHasPrefix(v string) predicate.ChargeFlatFee

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

func CurrentRealizationRunIDHasSuffix

func CurrentRealizationRunIDHasSuffix(v string) predicate.ChargeFlatFee

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

func CurrentRealizationRunIDIn

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

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

func CurrentRealizationRunIDIsNil

func CurrentRealizationRunIDIsNil() predicate.ChargeFlatFee

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

func CurrentRealizationRunIDLT

func CurrentRealizationRunIDLT(v string) predicate.ChargeFlatFee

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

func CurrentRealizationRunIDLTE

func CurrentRealizationRunIDLTE(v string) predicate.ChargeFlatFee

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

func CurrentRealizationRunIDNEQ

func CurrentRealizationRunIDNEQ(v string) predicate.ChargeFlatFee

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

func CurrentRealizationRunIDNotIn

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

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

func CurrentRealizationRunIDNotNil

func CurrentRealizationRunIDNotNil() predicate.ChargeFlatFee

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

func CustomerID

func CustomerID(v string) predicate.ChargeFlatFee

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

func CustomerIDContains

func CustomerIDContains(v string) predicate.ChargeFlatFee

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

func CustomerIDContainsFold

func CustomerIDContainsFold(v string) predicate.ChargeFlatFee

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

func CustomerIDEQ

func CustomerIDEQ(v string) predicate.ChargeFlatFee

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

func CustomerIDEqualFold

func CustomerIDEqualFold(v string) predicate.ChargeFlatFee

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

func CustomerIDGT

func CustomerIDGT(v string) predicate.ChargeFlatFee

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

func CustomerIDGTE

func CustomerIDGTE(v string) predicate.ChargeFlatFee

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

func CustomerIDHasPrefix

func CustomerIDHasPrefix(v string) predicate.ChargeFlatFee

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

func CustomerIDHasSuffix

func CustomerIDHasSuffix(v string) predicate.ChargeFlatFee

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

func CustomerIDIn

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

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

func CustomerIDLT

func CustomerIDLT(v string) predicate.ChargeFlatFee

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

func CustomerIDLTE

func CustomerIDLTE(v string) predicate.ChargeFlatFee

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

func CustomerIDNEQ

func CustomerIDNEQ(v string) predicate.ChargeFlatFee

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

func CustomerIDNotIn

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

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

func DeletedAt

func DeletedAt(v time.Time) predicate.ChargeFlatFee

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.ChargeFlatFee

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.ChargeFlatFee

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.ChargeFlatFee

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.ChargeFlatFee

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.ChargeFlatFee

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.ChargeFlatFee

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.ChargeFlatFee

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.ChargeFlatFee

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

func Description

func Description(v string) predicate.ChargeFlatFee

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

func DescriptionContains

func DescriptionContains(v string) predicate.ChargeFlatFee

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.ChargeFlatFee

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.ChargeFlatFee

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.ChargeFlatFee

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

func DescriptionGT

func DescriptionGT(v string) predicate.ChargeFlatFee

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.ChargeFlatFee

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.ChargeFlatFee

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.ChargeFlatFee

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

func DescriptionIn

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

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

func DescriptionIsNil

func DescriptionIsNil() predicate.ChargeFlatFee

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

func DescriptionLT

func DescriptionLT(v string) predicate.ChargeFlatFee

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.ChargeFlatFee

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.ChargeFlatFee

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

func DescriptionNotIn

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

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

func DescriptionNotNil

func DescriptionNotNil() predicate.ChargeFlatFee

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

func DiscountsIsNil

func DiscountsIsNil() predicate.ChargeFlatFee

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

func DiscountsNotNil

func DiscountsNotNil() predicate.ChargeFlatFee

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

func FeatureID

func FeatureID(v string) predicate.ChargeFlatFee

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

func FeatureIDContains

func FeatureIDContains(v string) predicate.ChargeFlatFee

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

func FeatureIDContainsFold

func FeatureIDContainsFold(v string) predicate.ChargeFlatFee

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

func FeatureIDEQ

func FeatureIDEQ(v string) predicate.ChargeFlatFee

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

func FeatureIDEqualFold

func FeatureIDEqualFold(v string) predicate.ChargeFlatFee

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

func FeatureIDGT

func FeatureIDGT(v string) predicate.ChargeFlatFee

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

func FeatureIDGTE

func FeatureIDGTE(v string) predicate.ChargeFlatFee

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

func FeatureIDHasPrefix

func FeatureIDHasPrefix(v string) predicate.ChargeFlatFee

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

func FeatureIDHasSuffix

func FeatureIDHasSuffix(v string) predicate.ChargeFlatFee

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

func FeatureIDIn

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

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

func FeatureIDIsNil

func FeatureIDIsNil() predicate.ChargeFlatFee

FeatureIDIsNil applies the IsNil predicate on the "feature_id" field.

func FeatureIDLT

func FeatureIDLT(v string) predicate.ChargeFlatFee

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

func FeatureIDLTE

func FeatureIDLTE(v string) predicate.ChargeFlatFee

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

func FeatureIDNEQ

func FeatureIDNEQ(v string) predicate.ChargeFlatFee

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

func FeatureIDNotIn

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

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

func FeatureIDNotNil

func FeatureIDNotNil() predicate.ChargeFlatFee

FeatureIDNotNil applies the NotNil predicate on the "feature_id" field.

func FeatureKey

func FeatureKey(v string) predicate.ChargeFlatFee

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

func FeatureKeyContains

func FeatureKeyContains(v string) predicate.ChargeFlatFee

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

func FeatureKeyContainsFold

func FeatureKeyContainsFold(v string) predicate.ChargeFlatFee

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

func FeatureKeyEQ

func FeatureKeyEQ(v string) predicate.ChargeFlatFee

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

func FeatureKeyEqualFold

func FeatureKeyEqualFold(v string) predicate.ChargeFlatFee

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

func FeatureKeyGT

func FeatureKeyGT(v string) predicate.ChargeFlatFee

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

func FeatureKeyGTE

func FeatureKeyGTE(v string) predicate.ChargeFlatFee

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

func FeatureKeyHasPrefix

func FeatureKeyHasPrefix(v string) predicate.ChargeFlatFee

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

func FeatureKeyHasSuffix

func FeatureKeyHasSuffix(v string) predicate.ChargeFlatFee

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

func FeatureKeyIn

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

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

func FeatureKeyIsNil

func FeatureKeyIsNil() predicate.ChargeFlatFee

FeatureKeyIsNil applies the IsNil predicate on the "feature_key" field.

func FeatureKeyLT

func FeatureKeyLT(v string) predicate.ChargeFlatFee

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

func FeatureKeyLTE

func FeatureKeyLTE(v string) predicate.ChargeFlatFee

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

func FeatureKeyNEQ

func FeatureKeyNEQ(v string) predicate.ChargeFlatFee

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

func FeatureKeyNotIn

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

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

func FeatureKeyNotNil

func FeatureKeyNotNil() predicate.ChargeFlatFee

FeatureKeyNotNil applies the NotNil predicate on the "feature_key" field.

func FullServicePeriodFrom

func FullServicePeriodFrom(v time.Time) predicate.ChargeFlatFee

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

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

func FullServicePeriodFromGT

func FullServicePeriodFromGT(v time.Time) predicate.ChargeFlatFee

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

func FullServicePeriodFromGTE

func FullServicePeriodFromGTE(v time.Time) predicate.ChargeFlatFee

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

func FullServicePeriodFromIn

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

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

func FullServicePeriodFromLT

func FullServicePeriodFromLT(v time.Time) predicate.ChargeFlatFee

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

func FullServicePeriodFromLTE

func FullServicePeriodFromLTE(v time.Time) predicate.ChargeFlatFee

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

func FullServicePeriodFromNEQ

func FullServicePeriodFromNEQ(v time.Time) predicate.ChargeFlatFee

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

func FullServicePeriodFromNotIn

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

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

func FullServicePeriodTo

func FullServicePeriodTo(v time.Time) predicate.ChargeFlatFee

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

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

func FullServicePeriodToGT

func FullServicePeriodToGT(v time.Time) predicate.ChargeFlatFee

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

func FullServicePeriodToGTE

func FullServicePeriodToGTE(v time.Time) predicate.ChargeFlatFee

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

func FullServicePeriodToIn

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

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

func FullServicePeriodToLT

func FullServicePeriodToLT(v time.Time) predicate.ChargeFlatFee

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

func FullServicePeriodToLTE

func FullServicePeriodToLTE(v time.Time) predicate.ChargeFlatFee

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

func FullServicePeriodToNEQ

func FullServicePeriodToNEQ(v time.Time) predicate.ChargeFlatFee

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

func FullServicePeriodToNotIn

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

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

func HasCharge

func HasCharge() predicate.ChargeFlatFee

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

func HasChargeWith

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

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

func HasCurrentRun

func HasCurrentRun() predicate.ChargeFlatFee

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

func HasCurrentRunWith

func HasCurrentRunWith(preds ...predicate.ChargeFlatFeeRun) predicate.ChargeFlatFee

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

func HasCustomer

func HasCustomer() predicate.ChargeFlatFee

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

func HasCustomerWith

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

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

func HasFeature

func HasFeature() predicate.ChargeFlatFee

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

func HasFeatureWith

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

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

func HasRuns

func HasRuns() predicate.ChargeFlatFee

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

func HasRunsWith

func HasRunsWith(preds ...predicate.ChargeFlatFeeRun) predicate.ChargeFlatFee

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

func HasSubscription

func HasSubscription() predicate.ChargeFlatFee

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

func HasSubscriptionItem

func HasSubscriptionItem() predicate.ChargeFlatFee

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

func HasSubscriptionItemWith

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

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

func HasSubscriptionPhase

func HasSubscriptionPhase() predicate.ChargeFlatFee

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

func HasSubscriptionPhaseWith

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

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

func HasSubscriptionWith

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

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

func HasTaxCode

func HasTaxCode() predicate.ChargeFlatFee

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

func HasTaxCodeWith

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

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

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

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.ChargeFlatFee

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.ChargeFlatFee

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.ChargeFlatFee

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func InvoiceAt

func InvoiceAt(v time.Time) predicate.ChargeFlatFee

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

func InvoiceAtEQ

func InvoiceAtEQ(v time.Time) predicate.ChargeFlatFee

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

func InvoiceAtGT

func InvoiceAtGT(v time.Time) predicate.ChargeFlatFee

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

func InvoiceAtGTE

func InvoiceAtGTE(v time.Time) predicate.ChargeFlatFee

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

func InvoiceAtIn

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

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

func InvoiceAtLT

func InvoiceAtLT(v time.Time) predicate.ChargeFlatFee

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

func InvoiceAtLTE

func InvoiceAtLTE(v time.Time) predicate.ChargeFlatFee

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

func InvoiceAtNEQ

func InvoiceAtNEQ(v time.Time) predicate.ChargeFlatFee

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

func InvoiceAtNotIn

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

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

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

func MetadataNotNil

func MetadataNotNil() predicate.ChargeFlatFee

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

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

func NameContainsFold

func NameContainsFold(v string) predicate.ChargeFlatFee

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

func NameEQ

func NameEQ(v string) predicate.ChargeFlatFee

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

func NameEqualFold

func NameEqualFold(v string) predicate.ChargeFlatFee

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

func NameGT

func NameGT(v string) predicate.ChargeFlatFee

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

func NameGTE

func NameGTE(v string) predicate.ChargeFlatFee

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.ChargeFlatFee

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.ChargeFlatFee

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.ChargeFlatFee

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

func NameLTE

func NameLTE(v string) predicate.ChargeFlatFee

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

func NameNEQ

func NameNEQ(v string) predicate.ChargeFlatFee

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

func NameNotIn

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

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

func Namespace

func Namespace(v string) predicate.ChargeFlatFee

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

func NamespaceContains

func NamespaceContains(v string) predicate.ChargeFlatFee

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

func NamespaceContainsFold

func NamespaceContainsFold(v string) predicate.ChargeFlatFee

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

func NamespaceEQ

func NamespaceEQ(v string) predicate.ChargeFlatFee

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

func NamespaceEqualFold

func NamespaceEqualFold(v string) predicate.ChargeFlatFee

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

func NamespaceGT

func NamespaceGT(v string) predicate.ChargeFlatFee

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

func NamespaceGTE

func NamespaceGTE(v string) predicate.ChargeFlatFee

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

func NamespaceHasPrefix

func NamespaceHasPrefix(v string) predicate.ChargeFlatFee

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

func NamespaceHasSuffix

func NamespaceHasSuffix(v string) predicate.ChargeFlatFee

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

func NamespaceIn

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

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

func NamespaceLT

func NamespaceLT(v string) predicate.ChargeFlatFee

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

func NamespaceLTE

func NamespaceLTE(v string) predicate.ChargeFlatFee

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

func NamespaceNEQ

func NamespaceNEQ(v string) predicate.ChargeFlatFee

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

func NamespaceNotIn

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

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 PaymentTerm

PaymentTerm applies equality check predicate on the "payment_term" field. It's identical to PaymentTermEQ.

func PaymentTermContains

PaymentTermContains applies the Contains predicate on the "payment_term" field.

func PaymentTermContainsFold

func PaymentTermContainsFold(v productcatalog.PaymentTermType) predicate.ChargeFlatFee

PaymentTermContainsFold applies the ContainsFold predicate on the "payment_term" field.

func PaymentTermEQ

PaymentTermEQ applies the EQ predicate on the "payment_term" field.

func PaymentTermEqualFold

func PaymentTermEqualFold(v productcatalog.PaymentTermType) predicate.ChargeFlatFee

PaymentTermEqualFold applies the EqualFold predicate on the "payment_term" field.

func PaymentTermGT

PaymentTermGT applies the GT predicate on the "payment_term" field.

func PaymentTermGTE

PaymentTermGTE applies the GTE predicate on the "payment_term" field.

func PaymentTermHasPrefix

func PaymentTermHasPrefix(v productcatalog.PaymentTermType) predicate.ChargeFlatFee

PaymentTermHasPrefix applies the HasPrefix predicate on the "payment_term" field.

func PaymentTermHasSuffix

func PaymentTermHasSuffix(v productcatalog.PaymentTermType) predicate.ChargeFlatFee

PaymentTermHasSuffix applies the HasSuffix predicate on the "payment_term" field.

func PaymentTermIn

PaymentTermIn applies the In predicate on the "payment_term" field.

func PaymentTermLT

PaymentTermLT applies the LT predicate on the "payment_term" field.

func PaymentTermLTE

PaymentTermLTE applies the LTE predicate on the "payment_term" field.

func PaymentTermNEQ

PaymentTermNEQ applies the NEQ predicate on the "payment_term" field.

func PaymentTermNotIn

func PaymentTermNotIn(vs ...productcatalog.PaymentTermType) predicate.ChargeFlatFee

PaymentTermNotIn applies the NotIn predicate on the "payment_term" field.

func ProRatingEQ

ProRatingEQ applies the EQ predicate on the "pro_rating" field.

func ProRatingIn

ProRatingIn applies the In predicate on the "pro_rating" field.

func ProRatingNEQ

ProRatingNEQ applies the NEQ predicate on the "pro_rating" field.

func ProRatingNotIn

ProRatingNotIn applies the NotIn predicate on the "pro_rating" field.

func ProRatingValidator

func ProRatingValidator(pr flatfee.ProRatingModeAdapterEnum) error

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

func ServicePeriodFrom

func ServicePeriodFrom(v time.Time) predicate.ChargeFlatFee

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

func ServicePeriodFromEQ

func ServicePeriodFromEQ(v time.Time) predicate.ChargeFlatFee

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

func ServicePeriodFromGT

func ServicePeriodFromGT(v time.Time) predicate.ChargeFlatFee

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

func ServicePeriodFromGTE

func ServicePeriodFromGTE(v time.Time) predicate.ChargeFlatFee

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

func ServicePeriodFromIn

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

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

func ServicePeriodFromLT

func ServicePeriodFromLT(v time.Time) predicate.ChargeFlatFee

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

func ServicePeriodFromLTE

func ServicePeriodFromLTE(v time.Time) predicate.ChargeFlatFee

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

func ServicePeriodFromNEQ

func ServicePeriodFromNEQ(v time.Time) predicate.ChargeFlatFee

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

func ServicePeriodFromNotIn

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

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

func ServicePeriodTo

func ServicePeriodTo(v time.Time) predicate.ChargeFlatFee

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

func ServicePeriodToEQ

func ServicePeriodToEQ(v time.Time) predicate.ChargeFlatFee

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

func ServicePeriodToGT

func ServicePeriodToGT(v time.Time) predicate.ChargeFlatFee

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

func ServicePeriodToGTE

func ServicePeriodToGTE(v time.Time) predicate.ChargeFlatFee

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

func ServicePeriodToIn

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

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

func ServicePeriodToLT

func ServicePeriodToLT(v time.Time) predicate.ChargeFlatFee

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

func ServicePeriodToLTE

func ServicePeriodToLTE(v time.Time) predicate.ChargeFlatFee

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

func ServicePeriodToNEQ

func ServicePeriodToNEQ(v time.Time) predicate.ChargeFlatFee

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

func ServicePeriodToNotIn

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

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

func SettlementModeIn(vs ...productcatalog.SettlementMode) predicate.ChargeFlatFee

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

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 flatfee.Status) predicate.ChargeFlatFee

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

func StatusDetailedIn

func StatusDetailedIn(vs ...flatfee.Status) predicate.ChargeFlatFee

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

func StatusDetailedNEQ

func StatusDetailedNEQ(v flatfee.Status) predicate.ChargeFlatFee

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

func StatusDetailedNotIn

func StatusDetailedNotIn(vs ...flatfee.Status) predicate.ChargeFlatFee

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

func StatusDetailedValidator

func StatusDetailedValidator(sd flatfee.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

func StatusIn(vs ...meta.ChargeStatus) predicate.ChargeFlatFee

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

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

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

func SubscriptionIDContains

func SubscriptionIDContains(v string) predicate.ChargeFlatFee

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

func SubscriptionIDContainsFold

func SubscriptionIDContainsFold(v string) predicate.ChargeFlatFee

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

func SubscriptionIDEQ

func SubscriptionIDEQ(v string) predicate.ChargeFlatFee

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

func SubscriptionIDEqualFold

func SubscriptionIDEqualFold(v string) predicate.ChargeFlatFee

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

func SubscriptionIDGT

func SubscriptionIDGT(v string) predicate.ChargeFlatFee

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

func SubscriptionIDGTE

func SubscriptionIDGTE(v string) predicate.ChargeFlatFee

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

func SubscriptionIDHasPrefix

func SubscriptionIDHasPrefix(v string) predicate.ChargeFlatFee

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

func SubscriptionIDHasSuffix

func SubscriptionIDHasSuffix(v string) predicate.ChargeFlatFee

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

func SubscriptionIDIn

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

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

func SubscriptionIDIsNil

func SubscriptionIDIsNil() predicate.ChargeFlatFee

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

func SubscriptionIDLT

func SubscriptionIDLT(v string) predicate.ChargeFlatFee

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

func SubscriptionIDLTE

func SubscriptionIDLTE(v string) predicate.ChargeFlatFee

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

func SubscriptionIDNEQ

func SubscriptionIDNEQ(v string) predicate.ChargeFlatFee

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

func SubscriptionIDNotIn

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

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

func SubscriptionIDNotNil

func SubscriptionIDNotNil() predicate.ChargeFlatFee

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

func SubscriptionItemID

func SubscriptionItemID(v string) predicate.ChargeFlatFee

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

func SubscriptionItemIDContains

func SubscriptionItemIDContains(v string) predicate.ChargeFlatFee

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

func SubscriptionItemIDContainsFold

func SubscriptionItemIDContainsFold(v string) predicate.ChargeFlatFee

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

func SubscriptionItemIDEQ

func SubscriptionItemIDEQ(v string) predicate.ChargeFlatFee

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

func SubscriptionItemIDEqualFold

func SubscriptionItemIDEqualFold(v string) predicate.ChargeFlatFee

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

func SubscriptionItemIDGT

func SubscriptionItemIDGT(v string) predicate.ChargeFlatFee

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

func SubscriptionItemIDGTE

func SubscriptionItemIDGTE(v string) predicate.ChargeFlatFee

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

func SubscriptionItemIDHasPrefix

func SubscriptionItemIDHasPrefix(v string) predicate.ChargeFlatFee

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

func SubscriptionItemIDHasSuffix

func SubscriptionItemIDHasSuffix(v string) predicate.ChargeFlatFee

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

func SubscriptionItemIDIn

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

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

func SubscriptionItemIDIsNil

func SubscriptionItemIDIsNil() predicate.ChargeFlatFee

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

func SubscriptionItemIDLT

func SubscriptionItemIDLT(v string) predicate.ChargeFlatFee

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

func SubscriptionItemIDLTE

func SubscriptionItemIDLTE(v string) predicate.ChargeFlatFee

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

func SubscriptionItemIDNEQ

func SubscriptionItemIDNEQ(v string) predicate.ChargeFlatFee

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

func SubscriptionItemIDNotIn

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

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

func SubscriptionItemIDNotNil

func SubscriptionItemIDNotNil() predicate.ChargeFlatFee

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

func SubscriptionPhaseID

func SubscriptionPhaseID(v string) predicate.ChargeFlatFee

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

func SubscriptionPhaseIDContains

func SubscriptionPhaseIDContains(v string) predicate.ChargeFlatFee

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

func SubscriptionPhaseIDContainsFold

func SubscriptionPhaseIDContainsFold(v string) predicate.ChargeFlatFee

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

func SubscriptionPhaseIDEQ

func SubscriptionPhaseIDEQ(v string) predicate.ChargeFlatFee

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

func SubscriptionPhaseIDEqualFold

func SubscriptionPhaseIDEqualFold(v string) predicate.ChargeFlatFee

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

func SubscriptionPhaseIDGT

func SubscriptionPhaseIDGT(v string) predicate.ChargeFlatFee

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

func SubscriptionPhaseIDGTE

func SubscriptionPhaseIDGTE(v string) predicate.ChargeFlatFee

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

func SubscriptionPhaseIDHasPrefix

func SubscriptionPhaseIDHasPrefix(v string) predicate.ChargeFlatFee

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

func SubscriptionPhaseIDHasSuffix

func SubscriptionPhaseIDHasSuffix(v string) predicate.ChargeFlatFee

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

func SubscriptionPhaseIDIn

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

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

func SubscriptionPhaseIDIsNil

func SubscriptionPhaseIDIsNil() predicate.ChargeFlatFee

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

func SubscriptionPhaseIDLT

func SubscriptionPhaseIDLT(v string) predicate.ChargeFlatFee

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

func SubscriptionPhaseIDLTE

func SubscriptionPhaseIDLTE(v string) predicate.ChargeFlatFee

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

func SubscriptionPhaseIDNEQ

func SubscriptionPhaseIDNEQ(v string) predicate.ChargeFlatFee

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

func SubscriptionPhaseIDNotIn

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

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

func SubscriptionPhaseIDNotNil

func SubscriptionPhaseIDNotNil() predicate.ChargeFlatFee

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

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

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

func TaxBehaviorNotNil

func TaxBehaviorNotNil() predicate.ChargeFlatFee

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

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

func TaxCodeIDContains

func TaxCodeIDContains(v string) predicate.ChargeFlatFee

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

func TaxCodeIDContainsFold

func TaxCodeIDContainsFold(v string) predicate.ChargeFlatFee

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

func TaxCodeIDEQ

func TaxCodeIDEQ(v string) predicate.ChargeFlatFee

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

func TaxCodeIDEqualFold

func TaxCodeIDEqualFold(v string) predicate.ChargeFlatFee

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

func TaxCodeIDGT

func TaxCodeIDGT(v string) predicate.ChargeFlatFee

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

func TaxCodeIDGTE

func TaxCodeIDGTE(v string) predicate.ChargeFlatFee

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

func TaxCodeIDHasPrefix

func TaxCodeIDHasPrefix(v string) predicate.ChargeFlatFee

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

func TaxCodeIDHasSuffix

func TaxCodeIDHasSuffix(v string) predicate.ChargeFlatFee

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

func TaxCodeIDIn

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

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

func TaxCodeIDIsNil

func TaxCodeIDIsNil() predicate.ChargeFlatFee

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

func TaxCodeIDLT

func TaxCodeIDLT(v string) predicate.ChargeFlatFee

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

func TaxCodeIDLTE

func TaxCodeIDLTE(v string) predicate.ChargeFlatFee

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

func TaxCodeIDNEQ

func TaxCodeIDNEQ(v string) predicate.ChargeFlatFee

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

func TaxCodeIDNotIn

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

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

func TaxCodeIDNotNil

func TaxCodeIDNotNil() predicate.ChargeFlatFee

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

func UniqueReferenceID

func UniqueReferenceID(v string) predicate.ChargeFlatFee

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

func UniqueReferenceIDContains

func UniqueReferenceIDContains(v string) predicate.ChargeFlatFee

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

func UniqueReferenceIDContainsFold

func UniqueReferenceIDContainsFold(v string) predicate.ChargeFlatFee

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

func UniqueReferenceIDEQ

func UniqueReferenceIDEQ(v string) predicate.ChargeFlatFee

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

func UniqueReferenceIDEqualFold

func UniqueReferenceIDEqualFold(v string) predicate.ChargeFlatFee

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

func UniqueReferenceIDGT

func UniqueReferenceIDGT(v string) predicate.ChargeFlatFee

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

func UniqueReferenceIDGTE

func UniqueReferenceIDGTE(v string) predicate.ChargeFlatFee

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

func UniqueReferenceIDHasPrefix

func UniqueReferenceIDHasPrefix(v string) predicate.ChargeFlatFee

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

func UniqueReferenceIDHasSuffix

func UniqueReferenceIDHasSuffix(v string) predicate.ChargeFlatFee

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

func UniqueReferenceIDIn

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

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

func UniqueReferenceIDIsNil

func UniqueReferenceIDIsNil() predicate.ChargeFlatFee

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

func UniqueReferenceIDLT

func UniqueReferenceIDLT(v string) predicate.ChargeFlatFee

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

func UniqueReferenceIDLTE

func UniqueReferenceIDLTE(v string) predicate.ChargeFlatFee

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

func UniqueReferenceIDNEQ

func UniqueReferenceIDNEQ(v string) predicate.ChargeFlatFee

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

func UniqueReferenceIDNotIn

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

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

func UniqueReferenceIDNotNil

func UniqueReferenceIDNotNil() predicate.ChargeFlatFee

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.ChargeFlatFee

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.ChargeFlatFee

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.ChargeFlatFee

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.ChargeFlatFee

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.ChargeFlatFee

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.ChargeFlatFee

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.ChargeFlatFee

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

func UpdatedAtNotIn

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

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 ChargeFlatFee queries.

func ByAdvanceAfter

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

ByAdvanceAfter orders the results by the advance_after field.

func ByAmountAfterProration

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

ByAmountAfterProration orders the results by the amount_after_proration field.

func ByAmountBeforeProration

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

ByAmountBeforeProration orders the results by the amount_before_proration 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 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 ByPaymentTerm

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

ByPaymentTerm orders the results by the payment_term field.

func ByProRating

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

ByProRating orders the results by the pro_rating 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