chargeusagebasedruns

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the chargeusagebasedruns type in the database.
	Label = "charge_usage_based_runs"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldNamespace holds the string denoting the namespace field in the database.
	FieldNamespace = "namespace"
	// 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"
	// FieldAmount holds the string denoting the amount field in the database.
	FieldAmount = "amount"
	// FieldTaxesTotal holds the string denoting the taxes_total field in the database.
	FieldTaxesTotal = "taxes_total"
	// FieldTaxesInclusiveTotal holds the string denoting the taxes_inclusive_total field in the database.
	FieldTaxesInclusiveTotal = "taxes_inclusive_total"
	// FieldTaxesExclusiveTotal holds the string denoting the taxes_exclusive_total field in the database.
	FieldTaxesExclusiveTotal = "taxes_exclusive_total"
	// FieldChargesTotal holds the string denoting the charges_total field in the database.
	FieldChargesTotal = "charges_total"
	// FieldDiscountsTotal holds the string denoting the discounts_total field in the database.
	FieldDiscountsTotal = "discounts_total"
	// FieldCreditsTotal holds the string denoting the credits_total field in the database.
	FieldCreditsTotal = "credits_total"
	// FieldTotal holds the string denoting the total field in the database.
	FieldTotal = "total"
	// FieldChargeID holds the string denoting the charge_id field in the database.
	FieldChargeID = "charge_id"
	// FieldFeatureID holds the string denoting the feature_id field in the database.
	FieldFeatureID = "feature_id"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldInitialType holds the string denoting the initial_type field in the database.
	FieldInitialType = "initial_type"
	// FieldStoredAtLt holds the string denoting the stored_at_lt field in the database.
	FieldStoredAtLt = "stored_at_lt"
	// FieldServicePeriodTo holds the string denoting the service_period_to field in the database.
	FieldServicePeriodTo = "service_period_to"
	// FieldDetailedLinesPresent holds the string denoting the detailed_lines_present field in the database.
	FieldDetailedLinesPresent = "detailed_lines_present"
	// FieldLineID holds the string denoting the line_id field in the database.
	FieldLineID = "line_id"
	// FieldInvoiceID holds the string denoting the invoice_id field in the database.
	FieldInvoiceID = "invoice_id"
	// FieldMeteredQuantity holds the string denoting the metered_quantity field in the database.
	FieldMeteredQuantity = "metered_quantity"
	// FieldNoFiatTransactionRequired holds the string denoting the no_fiat_transaction_required field in the database.
	FieldNoFiatTransactionRequired = "no_fiat_transaction_required"
	// EdgeUsageBased holds the string denoting the usage_based edge name in mutations.
	EdgeUsageBased = "usage_based"
	// EdgeFeature holds the string denoting the feature edge name in mutations.
	EdgeFeature = "feature"
	// EdgeBillingInvoiceLine holds the string denoting the billing_invoice_line edge name in mutations.
	EdgeBillingInvoiceLine = "billing_invoice_line"
	// EdgeBillingInvoice holds the string denoting the billing_invoice edge name in mutations.
	EdgeBillingInvoice = "billing_invoice"
	// EdgeCreditAllocations holds the string denoting the credit_allocations edge name in mutations.
	EdgeCreditAllocations = "credit_allocations"
	// EdgeDetailedLines holds the string denoting the detailed_lines edge name in mutations.
	EdgeDetailedLines = "detailed_lines"
	// EdgeCorrectedDetailedLines holds the string denoting the corrected_detailed_lines edge name in mutations.
	EdgeCorrectedDetailedLines = "corrected_detailed_lines"
	// EdgeInvoicedUsage holds the string denoting the invoiced_usage edge name in mutations.
	EdgeInvoicedUsage = "invoiced_usage"
	// EdgePayment holds the string denoting the payment edge name in mutations.
	EdgePayment = "payment"
	// Table holds the table name of the chargeusagebasedruns in the database.
	Table = "charge_usage_based_runs"
	// UsageBasedTable is the table that holds the usage_based relation/edge.
	UsageBasedTable = "charge_usage_based_runs"
	// UsageBasedInverseTable is the table name for the ChargeUsageBased entity.
	// It exists in this package in order to avoid circular dependency with the "chargeusagebased" package.
	UsageBasedInverseTable = "charge_usage_based"
	// UsageBasedColumn is the table column denoting the usage_based relation/edge.
	UsageBasedColumn = "charge_id"
	// FeatureTable is the table that holds the feature relation/edge.
	FeatureTable = "charge_usage_based_runs"
	// 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"
	// BillingInvoiceLineTable is the table that holds the billing_invoice_line relation/edge.
	BillingInvoiceLineTable = "charge_usage_based_runs"
	// BillingInvoiceLineInverseTable is the table name for the BillingInvoiceLine entity.
	// It exists in this package in order to avoid circular dependency with the "billinginvoiceline" package.
	BillingInvoiceLineInverseTable = "billing_invoice_lines"
	// BillingInvoiceLineColumn is the table column denoting the billing_invoice_line relation/edge.
	BillingInvoiceLineColumn = "line_id"
	// BillingInvoiceTable is the table that holds the billing_invoice relation/edge.
	BillingInvoiceTable = "charge_usage_based_runs"
	// BillingInvoiceInverseTable is the table name for the BillingInvoice entity.
	// It exists in this package in order to avoid circular dependency with the "billinginvoice" package.
	BillingInvoiceInverseTable = "billing_invoices"
	// BillingInvoiceColumn is the table column denoting the billing_invoice relation/edge.
	BillingInvoiceColumn = "invoice_id"
	// CreditAllocationsTable is the table that holds the credit_allocations relation/edge.
	CreditAllocationsTable = "charge_usage_based_run_credit_allocations"
	// CreditAllocationsInverseTable is the table name for the ChargeUsageBasedRunCreditAllocations entity.
	// It exists in this package in order to avoid circular dependency with the "chargeusagebasedruncreditallocations" package.
	CreditAllocationsInverseTable = "charge_usage_based_run_credit_allocations"
	// CreditAllocationsColumn is the table column denoting the credit_allocations relation/edge.
	CreditAllocationsColumn = "run_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 = "run_id"
	// CorrectedDetailedLinesTable is the table that holds the corrected_detailed_lines relation/edge.
	CorrectedDetailedLinesTable = "charge_usage_based_run_detailed_line"
	// CorrectedDetailedLinesInverseTable is the table name for the ChargeUsageBasedRunDetailedLine entity.
	// It exists in this package in order to avoid circular dependency with the "chargeusagebasedrundetailedline" package.
	CorrectedDetailedLinesInverseTable = "charge_usage_based_run_detailed_line"
	// CorrectedDetailedLinesColumn is the table column denoting the corrected_detailed_lines relation/edge.
	CorrectedDetailedLinesColumn = "corrects_run_id"
	// InvoicedUsageTable is the table that holds the invoiced_usage relation/edge.
	InvoicedUsageTable = "charge_usage_based_run_invoiced_usages"
	// InvoicedUsageInverseTable is the table name for the ChargeUsageBasedRunInvoicedUsage entity.
	// It exists in this package in order to avoid circular dependency with the "chargeusagebasedruninvoicedusage" package.
	InvoicedUsageInverseTable = "charge_usage_based_run_invoiced_usages"
	// InvoicedUsageColumn is the table column denoting the invoiced_usage relation/edge.
	InvoicedUsageColumn = "run_id"
	// PaymentTable is the table that holds the payment relation/edge.
	PaymentTable = "charge_usage_based_run_payments"
	// PaymentInverseTable is the table name for the ChargeUsageBasedRunPayment entity.
	// It exists in this package in order to avoid circular dependency with the "chargeusagebasedrunpayment" package.
	PaymentInverseTable = "charge_usage_based_run_payments"
	// PaymentColumn is the table column denoting the payment relation/edge.
	PaymentColumn = "run_id"
)

Variables

View Source
var (
	// 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
	// FeatureIDValidator is a validator for the "feature_id" field. It is called by the builders before save.
	FeatureIDValidator func(string) error
	// LineIDValidator is a validator for the "line_id" field. It is called by the builders before save.
	LineIDValidator func(string) error
	// InvoiceIDValidator is a validator for the "invoice_id" field. It is called by the builders before save.
	InvoiceIDValidator func(string) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

Columns holds all SQL columns for chargeusagebasedruns fields.

Functions

func Amount

Amount applies equality check predicate on the "amount" field. It's identical to AmountEQ.

func AmountEQ

AmountEQ applies the EQ predicate on the "amount" field.

func AmountGT

AmountGT applies the GT predicate on the "amount" field.

func AmountGTE

AmountGTE applies the GTE predicate on the "amount" field.

func AmountIn

AmountIn applies the In predicate on the "amount" field.

func AmountLT

AmountLT applies the LT predicate on the "amount" field.

func AmountLTE

AmountLTE applies the LTE predicate on the "amount" field.

func AmountNEQ

AmountNEQ applies the NEQ predicate on the "amount" field.

func AmountNotIn

AmountNotIn applies the NotIn predicate on the "amount" field.

func And

And groups predicates with the AND operator between them.

func ChargeID

ChargeID applies equality check predicate on the "charge_id" field. It's identical to ChargeIDEQ.

func ChargeIDContains

func ChargeIDContains(v string) predicate.ChargeUsageBasedRuns

ChargeIDContains applies the Contains predicate on the "charge_id" field.

func ChargeIDContainsFold

func ChargeIDContainsFold(v string) predicate.ChargeUsageBasedRuns

ChargeIDContainsFold applies the ContainsFold predicate on the "charge_id" field.

func ChargeIDEQ

ChargeIDEQ applies the EQ predicate on the "charge_id" field.

func ChargeIDEqualFold

func ChargeIDEqualFold(v string) predicate.ChargeUsageBasedRuns

ChargeIDEqualFold applies the EqualFold predicate on the "charge_id" field.

func ChargeIDGT

ChargeIDGT applies the GT predicate on the "charge_id" field.

func ChargeIDGTE

func ChargeIDGTE(v string) predicate.ChargeUsageBasedRuns

ChargeIDGTE applies the GTE predicate on the "charge_id" field.

func ChargeIDHasPrefix

func ChargeIDHasPrefix(v string) predicate.ChargeUsageBasedRuns

ChargeIDHasPrefix applies the HasPrefix predicate on the "charge_id" field.

func ChargeIDHasSuffix

func ChargeIDHasSuffix(v string) predicate.ChargeUsageBasedRuns

ChargeIDHasSuffix applies the HasSuffix predicate on the "charge_id" field.

func ChargeIDIn

func ChargeIDIn(vs ...string) predicate.ChargeUsageBasedRuns

ChargeIDIn applies the In predicate on the "charge_id" field.

func ChargeIDLT

ChargeIDLT applies the LT predicate on the "charge_id" field.

func ChargeIDLTE

func ChargeIDLTE(v string) predicate.ChargeUsageBasedRuns

ChargeIDLTE applies the LTE predicate on the "charge_id" field.

func ChargeIDNEQ

func ChargeIDNEQ(v string) predicate.ChargeUsageBasedRuns

ChargeIDNEQ applies the NEQ predicate on the "charge_id" field.

func ChargeIDNotIn

func ChargeIDNotIn(vs ...string) predicate.ChargeUsageBasedRuns

ChargeIDNotIn applies the NotIn predicate on the "charge_id" field.

func ChargesTotal

ChargesTotal applies equality check predicate on the "charges_total" field. It's identical to ChargesTotalEQ.

func ChargesTotalEQ

ChargesTotalEQ applies the EQ predicate on the "charges_total" field.

func ChargesTotalGT

ChargesTotalGT applies the GT predicate on the "charges_total" field.

func ChargesTotalGTE

ChargesTotalGTE applies the GTE predicate on the "charges_total" field.

func ChargesTotalIn

ChargesTotalIn applies the In predicate on the "charges_total" field.

func ChargesTotalLT

ChargesTotalLT applies the LT predicate on the "charges_total" field.

func ChargesTotalLTE

ChargesTotalLTE applies the LTE predicate on the "charges_total" field.

func ChargesTotalNEQ

ChargesTotalNEQ applies the NEQ predicate on the "charges_total" field.

func ChargesTotalNotIn

func ChargesTotalNotIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns

ChargesTotalNotIn applies the NotIn predicate on the "charges_total" field.

func CreatedAt

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.ChargeUsageBasedRuns

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.ChargeUsageBasedRuns

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ChargeUsageBasedRuns

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.ChargeUsageBasedRuns

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ChargeUsageBasedRuns

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ChargeUsageBasedRuns

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

func CreatedAtNotIn

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

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

func CreditsTotal

CreditsTotal applies equality check predicate on the "credits_total" field. It's identical to CreditsTotalEQ.

func CreditsTotalEQ

CreditsTotalEQ applies the EQ predicate on the "credits_total" field.

func CreditsTotalGT

CreditsTotalGT applies the GT predicate on the "credits_total" field.

func CreditsTotalGTE

CreditsTotalGTE applies the GTE predicate on the "credits_total" field.

func CreditsTotalIn

CreditsTotalIn applies the In predicate on the "credits_total" field.

func CreditsTotalLT

CreditsTotalLT applies the LT predicate on the "credits_total" field.

func CreditsTotalLTE

CreditsTotalLTE applies the LTE predicate on the "credits_total" field.

func CreditsTotalNEQ

CreditsTotalNEQ applies the NEQ predicate on the "credits_total" field.

func CreditsTotalNotIn

func CreditsTotalNotIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns

CreditsTotalNotIn applies the NotIn predicate on the "credits_total" field.

func DeletedAt

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.ChargeUsageBasedRuns

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.ChargeUsageBasedRuns

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.ChargeUsageBasedRuns

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.ChargeUsageBasedRuns

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.ChargeUsageBasedRuns

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.ChargeUsageBasedRuns

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.ChargeUsageBasedRuns

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.ChargeUsageBasedRuns

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

func DetailedLinesPresent

func DetailedLinesPresent(v bool) predicate.ChargeUsageBasedRuns

DetailedLinesPresent applies equality check predicate on the "detailed_lines_present" field. It's identical to DetailedLinesPresentEQ.

func DetailedLinesPresentEQ

func DetailedLinesPresentEQ(v bool) predicate.ChargeUsageBasedRuns

DetailedLinesPresentEQ applies the EQ predicate on the "detailed_lines_present" field.

func DetailedLinesPresentNEQ

func DetailedLinesPresentNEQ(v bool) predicate.ChargeUsageBasedRuns

DetailedLinesPresentNEQ applies the NEQ predicate on the "detailed_lines_present" field.

func DiscountsTotal

DiscountsTotal applies equality check predicate on the "discounts_total" field. It's identical to DiscountsTotalEQ.

func DiscountsTotalEQ

DiscountsTotalEQ applies the EQ predicate on the "discounts_total" field.

func DiscountsTotalGT

DiscountsTotalGT applies the GT predicate on the "discounts_total" field.

func DiscountsTotalGTE

DiscountsTotalGTE applies the GTE predicate on the "discounts_total" field.

func DiscountsTotalIn

func DiscountsTotalIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns

DiscountsTotalIn applies the In predicate on the "discounts_total" field.

func DiscountsTotalLT

DiscountsTotalLT applies the LT predicate on the "discounts_total" field.

func DiscountsTotalLTE

DiscountsTotalLTE applies the LTE predicate on the "discounts_total" field.

func DiscountsTotalNEQ

DiscountsTotalNEQ applies the NEQ predicate on the "discounts_total" field.

func DiscountsTotalNotIn

func DiscountsTotalNotIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns

DiscountsTotalNotIn applies the NotIn predicate on the "discounts_total" field.

func FeatureID

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

func FeatureIDContains

func FeatureIDContains(v string) predicate.ChargeUsageBasedRuns

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

func FeatureIDContainsFold

func FeatureIDContainsFold(v string) predicate.ChargeUsageBasedRuns

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

func FeatureIDEQ

func FeatureIDEQ(v string) predicate.ChargeUsageBasedRuns

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

func FeatureIDEqualFold

func FeatureIDEqualFold(v string) predicate.ChargeUsageBasedRuns

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

func FeatureIDGT

func FeatureIDGT(v string) predicate.ChargeUsageBasedRuns

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

func FeatureIDGTE

func FeatureIDGTE(v string) predicate.ChargeUsageBasedRuns

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

func FeatureIDHasPrefix

func FeatureIDHasPrefix(v string) predicate.ChargeUsageBasedRuns

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

func FeatureIDHasSuffix

func FeatureIDHasSuffix(v string) predicate.ChargeUsageBasedRuns

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

func FeatureIDIn

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

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

func FeatureIDLT

func FeatureIDLT(v string) predicate.ChargeUsageBasedRuns

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

func FeatureIDLTE

func FeatureIDLTE(v string) predicate.ChargeUsageBasedRuns

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

func FeatureIDNEQ

func FeatureIDNEQ(v string) predicate.ChargeUsageBasedRuns

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

func FeatureIDNotIn

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

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

func HasBillingInvoice

func HasBillingInvoice() predicate.ChargeUsageBasedRuns

HasBillingInvoice applies the HasEdge predicate on the "billing_invoice" edge.

func HasBillingInvoiceLine

func HasBillingInvoiceLine() predicate.ChargeUsageBasedRuns

HasBillingInvoiceLine applies the HasEdge predicate on the "billing_invoice_line" edge.

func HasBillingInvoiceLineWith

func HasBillingInvoiceLineWith(preds ...predicate.BillingInvoiceLine) predicate.ChargeUsageBasedRuns

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

func HasBillingInvoiceWith

func HasBillingInvoiceWith(preds ...predicate.BillingInvoice) predicate.ChargeUsageBasedRuns

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

func HasCorrectedDetailedLines

func HasCorrectedDetailedLines() predicate.ChargeUsageBasedRuns

HasCorrectedDetailedLines applies the HasEdge predicate on the "corrected_detailed_lines" edge.

func HasCorrectedDetailedLinesWith

func HasCorrectedDetailedLinesWith(preds ...predicate.ChargeUsageBasedRunDetailedLine) predicate.ChargeUsageBasedRuns

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

func HasCreditAllocations

func HasCreditAllocations() predicate.ChargeUsageBasedRuns

HasCreditAllocations applies the HasEdge predicate on the "credit_allocations" edge.

func HasCreditAllocationsWith

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

func HasDetailedLines

func HasDetailedLines() predicate.ChargeUsageBasedRuns

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

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

func HasFeatureWith

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

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

func HasInvoicedUsage

func HasInvoicedUsage() predicate.ChargeUsageBasedRuns

HasInvoicedUsage applies the HasEdge predicate on the "invoiced_usage" edge.

func HasInvoicedUsageWith

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

func HasPayment

func HasPayment() predicate.ChargeUsageBasedRuns

HasPayment applies the HasEdge predicate on the "payment" edge.

func HasPaymentWith

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

func HasUsageBased

func HasUsageBased() predicate.ChargeUsageBasedRuns

HasUsageBased applies the HasEdge predicate on the "usage_based" edge.

func HasUsageBasedWith

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

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

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.ChargeUsageBasedRuns

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

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

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

IDNotIn applies the NotIn predicate on the ID field.

func InitialTypeEQ

InitialTypeEQ applies the EQ predicate on the "initial_type" field.

func InitialTypeIn

InitialTypeIn applies the In predicate on the "initial_type" field.

func InitialTypeNEQ

InitialTypeNEQ applies the NEQ predicate on the "initial_type" field.

func InitialTypeNotIn

InitialTypeNotIn applies the NotIn predicate on the "initial_type" field.

func InitialTypeValidator

func InitialTypeValidator(it usagebased.RealizationRunType) error

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

func InvoiceID

InvoiceID applies equality check predicate on the "invoice_id" field. It's identical to InvoiceIDEQ.

func InvoiceIDContains

func InvoiceIDContains(v string) predicate.ChargeUsageBasedRuns

InvoiceIDContains applies the Contains predicate on the "invoice_id" field.

func InvoiceIDContainsFold

func InvoiceIDContainsFold(v string) predicate.ChargeUsageBasedRuns

InvoiceIDContainsFold applies the ContainsFold predicate on the "invoice_id" field.

func InvoiceIDEQ

func InvoiceIDEQ(v string) predicate.ChargeUsageBasedRuns

InvoiceIDEQ applies the EQ predicate on the "invoice_id" field.

func InvoiceIDEqualFold

func InvoiceIDEqualFold(v string) predicate.ChargeUsageBasedRuns

InvoiceIDEqualFold applies the EqualFold predicate on the "invoice_id" field.

func InvoiceIDGT

func InvoiceIDGT(v string) predicate.ChargeUsageBasedRuns

InvoiceIDGT applies the GT predicate on the "invoice_id" field.

func InvoiceIDGTE

func InvoiceIDGTE(v string) predicate.ChargeUsageBasedRuns

InvoiceIDGTE applies the GTE predicate on the "invoice_id" field.

func InvoiceIDHasPrefix

func InvoiceIDHasPrefix(v string) predicate.ChargeUsageBasedRuns

InvoiceIDHasPrefix applies the HasPrefix predicate on the "invoice_id" field.

func InvoiceIDHasSuffix

func InvoiceIDHasSuffix(v string) predicate.ChargeUsageBasedRuns

InvoiceIDHasSuffix applies the HasSuffix predicate on the "invoice_id" field.

func InvoiceIDIn

func InvoiceIDIn(vs ...string) predicate.ChargeUsageBasedRuns

InvoiceIDIn applies the In predicate on the "invoice_id" field.

func InvoiceIDIsNil

func InvoiceIDIsNil() predicate.ChargeUsageBasedRuns

InvoiceIDIsNil applies the IsNil predicate on the "invoice_id" field.

func InvoiceIDLT

func InvoiceIDLT(v string) predicate.ChargeUsageBasedRuns

InvoiceIDLT applies the LT predicate on the "invoice_id" field.

func InvoiceIDLTE

func InvoiceIDLTE(v string) predicate.ChargeUsageBasedRuns

InvoiceIDLTE applies the LTE predicate on the "invoice_id" field.

func InvoiceIDNEQ

func InvoiceIDNEQ(v string) predicate.ChargeUsageBasedRuns

InvoiceIDNEQ applies the NEQ predicate on the "invoice_id" field.

func InvoiceIDNotIn

func InvoiceIDNotIn(vs ...string) predicate.ChargeUsageBasedRuns

InvoiceIDNotIn applies the NotIn predicate on the "invoice_id" field.

func InvoiceIDNotNil

func InvoiceIDNotNil() predicate.ChargeUsageBasedRuns

InvoiceIDNotNil applies the NotNil predicate on the "invoice_id" field.

func LineID

LineID applies equality check predicate on the "line_id" field. It's identical to LineIDEQ.

func LineIDContains

func LineIDContains(v string) predicate.ChargeUsageBasedRuns

LineIDContains applies the Contains predicate on the "line_id" field.

func LineIDContainsFold

func LineIDContainsFold(v string) predicate.ChargeUsageBasedRuns

LineIDContainsFold applies the ContainsFold predicate on the "line_id" field.

func LineIDEQ

LineIDEQ applies the EQ predicate on the "line_id" field.

func LineIDEqualFold

func LineIDEqualFold(v string) predicate.ChargeUsageBasedRuns

LineIDEqualFold applies the EqualFold predicate on the "line_id" field.

func LineIDGT

LineIDGT applies the GT predicate on the "line_id" field.

func LineIDGTE

LineIDGTE applies the GTE predicate on the "line_id" field.

func LineIDHasPrefix

func LineIDHasPrefix(v string) predicate.ChargeUsageBasedRuns

LineIDHasPrefix applies the HasPrefix predicate on the "line_id" field.

func LineIDHasSuffix

func LineIDHasSuffix(v string) predicate.ChargeUsageBasedRuns

LineIDHasSuffix applies the HasSuffix predicate on the "line_id" field.

func LineIDIn

func LineIDIn(vs ...string) predicate.ChargeUsageBasedRuns

LineIDIn applies the In predicate on the "line_id" field.

func LineIDIsNil

func LineIDIsNil() predicate.ChargeUsageBasedRuns

LineIDIsNil applies the IsNil predicate on the "line_id" field.

func LineIDLT

LineIDLT applies the LT predicate on the "line_id" field.

func LineIDLTE

LineIDLTE applies the LTE predicate on the "line_id" field.

func LineIDNEQ

LineIDNEQ applies the NEQ predicate on the "line_id" field.

func LineIDNotIn

func LineIDNotIn(vs ...string) predicate.ChargeUsageBasedRuns

LineIDNotIn applies the NotIn predicate on the "line_id" field.

func LineIDNotNil

func LineIDNotNil() predicate.ChargeUsageBasedRuns

LineIDNotNil applies the NotNil predicate on the "line_id" field.

func MeteredQuantity

MeteredQuantity applies equality check predicate on the "metered_quantity" field. It's identical to MeteredQuantityEQ.

func MeteredQuantityEQ

MeteredQuantityEQ applies the EQ predicate on the "metered_quantity" field.

func MeteredQuantityGT

MeteredQuantityGT applies the GT predicate on the "metered_quantity" field.

func MeteredQuantityGTE

MeteredQuantityGTE applies the GTE predicate on the "metered_quantity" field.

func MeteredQuantityIn

func MeteredQuantityIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns

MeteredQuantityIn applies the In predicate on the "metered_quantity" field.

func MeteredQuantityLT

MeteredQuantityLT applies the LT predicate on the "metered_quantity" field.

func MeteredQuantityLTE

MeteredQuantityLTE applies the LTE predicate on the "metered_quantity" field.

func MeteredQuantityNEQ

MeteredQuantityNEQ applies the NEQ predicate on the "metered_quantity" field.

func MeteredQuantityNotIn

func MeteredQuantityNotIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns

MeteredQuantityNotIn applies the NotIn predicate on the "metered_quantity" field.

func Namespace

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

func NamespaceContains

func NamespaceContains(v string) predicate.ChargeUsageBasedRuns

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

func NamespaceContainsFold

func NamespaceContainsFold(v string) predicate.ChargeUsageBasedRuns

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

func NamespaceEQ

func NamespaceEQ(v string) predicate.ChargeUsageBasedRuns

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

func NamespaceEqualFold

func NamespaceEqualFold(v string) predicate.ChargeUsageBasedRuns

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

func NamespaceGT

func NamespaceGT(v string) predicate.ChargeUsageBasedRuns

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

func NamespaceGTE

func NamespaceGTE(v string) predicate.ChargeUsageBasedRuns

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

func NamespaceHasPrefix

func NamespaceHasPrefix(v string) predicate.ChargeUsageBasedRuns

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

func NamespaceHasSuffix

func NamespaceHasSuffix(v string) predicate.ChargeUsageBasedRuns

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

func NamespaceIn

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

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

func NamespaceLT

func NamespaceLT(v string) predicate.ChargeUsageBasedRuns

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

func NamespaceLTE

func NamespaceLTE(v string) predicate.ChargeUsageBasedRuns

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

func NamespaceNEQ

func NamespaceNEQ(v string) predicate.ChargeUsageBasedRuns

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

func NamespaceNotIn

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

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

func NoFiatTransactionRequired

func NoFiatTransactionRequired(v bool) predicate.ChargeUsageBasedRuns

NoFiatTransactionRequired applies equality check predicate on the "no_fiat_transaction_required" field. It's identical to NoFiatTransactionRequiredEQ.

func NoFiatTransactionRequiredEQ

func NoFiatTransactionRequiredEQ(v bool) predicate.ChargeUsageBasedRuns

NoFiatTransactionRequiredEQ applies the EQ predicate on the "no_fiat_transaction_required" field.

func NoFiatTransactionRequiredNEQ

func NoFiatTransactionRequiredNEQ(v bool) predicate.ChargeUsageBasedRuns

NoFiatTransactionRequiredNEQ applies the NEQ predicate on the "no_fiat_transaction_required" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func ServicePeriodTo

func ServicePeriodTo(v time.Time) predicate.ChargeUsageBasedRuns

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

func ServicePeriodToEQ

func ServicePeriodToEQ(v time.Time) predicate.ChargeUsageBasedRuns

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

func ServicePeriodToGT

func ServicePeriodToGT(v time.Time) predicate.ChargeUsageBasedRuns

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

func ServicePeriodToGTE

func ServicePeriodToGTE(v time.Time) predicate.ChargeUsageBasedRuns

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

func ServicePeriodToIn

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

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

func ServicePeriodToLT

func ServicePeriodToLT(v time.Time) predicate.ChargeUsageBasedRuns

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

func ServicePeriodToLTE

func ServicePeriodToLTE(v time.Time) predicate.ChargeUsageBasedRuns

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

func ServicePeriodToNEQ

func ServicePeriodToNEQ(v time.Time) predicate.ChargeUsageBasedRuns

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

func ServicePeriodToNotIn

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

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

func StoredAtLt

StoredAtLt applies equality check predicate on the "stored_at_lt" field. It's identical to StoredAtLtEQ.

func StoredAtLtEQ

func StoredAtLtEQ(v time.Time) predicate.ChargeUsageBasedRuns

StoredAtLtEQ applies the EQ predicate on the "stored_at_lt" field.

func StoredAtLtGT

func StoredAtLtGT(v time.Time) predicate.ChargeUsageBasedRuns

StoredAtLtGT applies the GT predicate on the "stored_at_lt" field.

func StoredAtLtGTE

func StoredAtLtGTE(v time.Time) predicate.ChargeUsageBasedRuns

StoredAtLtGTE applies the GTE predicate on the "stored_at_lt" field.

func StoredAtLtIn

func StoredAtLtIn(vs ...time.Time) predicate.ChargeUsageBasedRuns

StoredAtLtIn applies the In predicate on the "stored_at_lt" field.

func StoredAtLtLT

func StoredAtLtLT(v time.Time) predicate.ChargeUsageBasedRuns

StoredAtLtLT applies the LT predicate on the "stored_at_lt" field.

func StoredAtLtLTE

func StoredAtLtLTE(v time.Time) predicate.ChargeUsageBasedRuns

StoredAtLtLTE applies the LTE predicate on the "stored_at_lt" field.

func StoredAtLtNEQ

func StoredAtLtNEQ(v time.Time) predicate.ChargeUsageBasedRuns

StoredAtLtNEQ applies the NEQ predicate on the "stored_at_lt" field.

func StoredAtLtNotIn

func StoredAtLtNotIn(vs ...time.Time) predicate.ChargeUsageBasedRuns

StoredAtLtNotIn applies the NotIn predicate on the "stored_at_lt" field.

func TaxesExclusiveTotal

func TaxesExclusiveTotal(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns

TaxesExclusiveTotal applies equality check predicate on the "taxes_exclusive_total" field. It's identical to TaxesExclusiveTotalEQ.

func TaxesExclusiveTotalEQ

func TaxesExclusiveTotalEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns

TaxesExclusiveTotalEQ applies the EQ predicate on the "taxes_exclusive_total" field.

func TaxesExclusiveTotalGT

func TaxesExclusiveTotalGT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns

TaxesExclusiveTotalGT applies the GT predicate on the "taxes_exclusive_total" field.

func TaxesExclusiveTotalGTE

func TaxesExclusiveTotalGTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns

TaxesExclusiveTotalGTE applies the GTE predicate on the "taxes_exclusive_total" field.

func TaxesExclusiveTotalIn

func TaxesExclusiveTotalIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns

TaxesExclusiveTotalIn applies the In predicate on the "taxes_exclusive_total" field.

func TaxesExclusiveTotalLT

func TaxesExclusiveTotalLT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns

TaxesExclusiveTotalLT applies the LT predicate on the "taxes_exclusive_total" field.

func TaxesExclusiveTotalLTE

func TaxesExclusiveTotalLTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns

TaxesExclusiveTotalLTE applies the LTE predicate on the "taxes_exclusive_total" field.

func TaxesExclusiveTotalNEQ

func TaxesExclusiveTotalNEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns

TaxesExclusiveTotalNEQ applies the NEQ predicate on the "taxes_exclusive_total" field.

func TaxesExclusiveTotalNotIn

func TaxesExclusiveTotalNotIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns

TaxesExclusiveTotalNotIn applies the NotIn predicate on the "taxes_exclusive_total" field.

func TaxesInclusiveTotal

func TaxesInclusiveTotal(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns

TaxesInclusiveTotal applies equality check predicate on the "taxes_inclusive_total" field. It's identical to TaxesInclusiveTotalEQ.

func TaxesInclusiveTotalEQ

func TaxesInclusiveTotalEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns

TaxesInclusiveTotalEQ applies the EQ predicate on the "taxes_inclusive_total" field.

func TaxesInclusiveTotalGT

func TaxesInclusiveTotalGT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns

TaxesInclusiveTotalGT applies the GT predicate on the "taxes_inclusive_total" field.

func TaxesInclusiveTotalGTE

func TaxesInclusiveTotalGTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns

TaxesInclusiveTotalGTE applies the GTE predicate on the "taxes_inclusive_total" field.

func TaxesInclusiveTotalIn

func TaxesInclusiveTotalIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns

TaxesInclusiveTotalIn applies the In predicate on the "taxes_inclusive_total" field.

func TaxesInclusiveTotalLT

func TaxesInclusiveTotalLT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns

TaxesInclusiveTotalLT applies the LT predicate on the "taxes_inclusive_total" field.

func TaxesInclusiveTotalLTE

func TaxesInclusiveTotalLTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns

TaxesInclusiveTotalLTE applies the LTE predicate on the "taxes_inclusive_total" field.

func TaxesInclusiveTotalNEQ

func TaxesInclusiveTotalNEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns

TaxesInclusiveTotalNEQ applies the NEQ predicate on the "taxes_inclusive_total" field.

func TaxesInclusiveTotalNotIn

func TaxesInclusiveTotalNotIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns

TaxesInclusiveTotalNotIn applies the NotIn predicate on the "taxes_inclusive_total" field.

func TaxesTotal

TaxesTotal applies equality check predicate on the "taxes_total" field. It's identical to TaxesTotalEQ.

func TaxesTotalEQ

TaxesTotalEQ applies the EQ predicate on the "taxes_total" field.

func TaxesTotalGT

TaxesTotalGT applies the GT predicate on the "taxes_total" field.

func TaxesTotalGTE

TaxesTotalGTE applies the GTE predicate on the "taxes_total" field.

func TaxesTotalIn

TaxesTotalIn applies the In predicate on the "taxes_total" field.

func TaxesTotalLT

TaxesTotalLT applies the LT predicate on the "taxes_total" field.

func TaxesTotalLTE

TaxesTotalLTE applies the LTE predicate on the "taxes_total" field.

func TaxesTotalNEQ

TaxesTotalNEQ applies the NEQ predicate on the "taxes_total" field.

func TaxesTotalNotIn

func TaxesTotalNotIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns

TaxesTotalNotIn applies the NotIn predicate on the "taxes_total" field.

func Total

Total applies equality check predicate on the "total" field. It's identical to TotalEQ.

func TotalEQ

TotalEQ applies the EQ predicate on the "total" field.

func TotalGT

TotalGT applies the GT predicate on the "total" field.

func TotalGTE

TotalGTE applies the GTE predicate on the "total" field.

func TotalIn

TotalIn applies the In predicate on the "total" field.

func TotalLT

TotalLT applies the LT predicate on the "total" field.

func TotalLTE

TotalLTE applies the LTE predicate on the "total" field.

func TotalNEQ

TotalNEQ applies the NEQ predicate on the "total" field.

func TotalNotIn

TotalNotIn applies the NotIn predicate on the "total" field.

func TypeEQ

TypeEQ applies the EQ predicate on the "type" field.

func TypeIn

TypeIn applies the In predicate on the "type" field.

func TypeNEQ

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

TypeNotIn applies the NotIn predicate on the "type" field.

func TypeValidator

func TypeValidator(_type usagebased.RealizationRunType) error

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

func UpdatedAt

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.ChargeUsageBasedRuns

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.ChargeUsageBasedRuns

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.ChargeUsageBasedRuns

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.ChargeUsageBasedRuns

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.ChargeUsageBasedRuns

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.ChargeUsageBasedRuns

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

func UpdatedAtNotIn

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

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

func ByAmount

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

ByAmount orders the results by the amount field.

func ByBillingInvoiceField

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

ByBillingInvoiceField orders the results by billing_invoice field.

func ByBillingInvoiceLineField

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

ByBillingInvoiceLineField orders the results by billing_invoice_line field.

func ByChargeID

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

ByChargeID orders the results by the charge_id field.

func ByChargesTotal

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

ByChargesTotal orders the results by the charges_total field.

func ByCorrectedDetailedLines

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

ByCorrectedDetailedLines orders the results by corrected_detailed_lines terms.

func ByCorrectedDetailedLinesCount

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

ByCorrectedDetailedLinesCount orders the results by corrected_detailed_lines count.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCreditAllocations

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

ByCreditAllocations orders the results by credit_allocations terms.

func ByCreditAllocationsCount

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

ByCreditAllocationsCount orders the results by credit_allocations count.

func ByCreditsTotal

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

ByCreditsTotal orders the results by the credits_total field.

func ByDeletedAt

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

ByDeletedAt orders the results by the deleted_at 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 ByDetailedLinesPresent

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

ByDetailedLinesPresent orders the results by the detailed_lines_present field.

func ByDiscountsTotal

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

ByDiscountsTotal orders the results by the discounts_total 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 ByID

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

ByID orders the results by the id field.

func ByInitialType

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

ByInitialType orders the results by the initial_type field.

func ByInvoiceID

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

ByInvoiceID orders the results by the invoice_id field.

func ByInvoicedUsageField

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

ByInvoicedUsageField orders the results by invoiced_usage field.

func ByLineID

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

ByLineID orders the results by the line_id field.

func ByMeteredQuantity

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

ByMeteredQuantity orders the results by the metered_quantity field.

func ByNamespace

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

ByNamespace orders the results by the namespace field.

func ByNoFiatTransactionRequired

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

ByNoFiatTransactionRequired orders the results by the no_fiat_transaction_required field.

func ByPaymentField

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

ByPaymentField orders the results by payment field.

func ByServicePeriodTo

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

ByServicePeriodTo orders the results by the service_period_to field.

func ByStoredAtLt

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

ByStoredAtLt orders the results by the stored_at_lt field.

func ByTaxesExclusiveTotal

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

ByTaxesExclusiveTotal orders the results by the taxes_exclusive_total field.

func ByTaxesInclusiveTotal

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

ByTaxesInclusiveTotal orders the results by the taxes_inclusive_total field.

func ByTaxesTotal

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

ByTaxesTotal orders the results by the taxes_total field.

func ByTotal

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

ByTotal orders the results by the total field.

func ByType

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

ByType orders the results by the type field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUsageBasedField

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

ByUsageBasedField orders the results by usage_based field.

Jump to

Keyboard shortcuts

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