chargeusagebasedruninvoicedusage

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the chargeusagebasedruninvoicedusage type in the database.
	Label = "charge_usage_based_run_invoiced_usage"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "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"
	// FieldLedgerTransactionGroupID holds the string denoting the ledger_transaction_group_id field in the database.
	FieldLedgerTransactionGroupID = "ledger_transaction_group_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"
	// FieldAnnotations holds the string denoting the annotations field in the database.
	FieldAnnotations = "annotations"
	// 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"
	// FieldRunID holds the string denoting the run_id field in the database.
	FieldRunID = "run_id"
	// EdgeRun holds the string denoting the run edge name in mutations.
	EdgeRun = "run"
	// Table holds the table name of the chargeusagebasedruninvoicedusage in the database.
	Table = "charge_usage_based_run_invoiced_usages"
	// RunTable is the table that holds the run relation/edge.
	RunTable = "charge_usage_based_run_invoiced_usages"
	// RunInverseTable is the table name for the ChargeUsageBasedRuns entity.
	// It exists in this package in order to avoid circular dependency with the "chargeusagebasedruns" package.
	RunInverseTable = "charge_usage_based_runs"
	// RunColumn is the table column denoting the run relation/edge.
	RunColumn = "run_id"
)

Variables

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

Columns holds all SQL columns for chargeusagebasedruninvoicedusage 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 AnnotationsIsNil

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

func AnnotationsNotNil

func AnnotationsNotNil() predicate.ChargeUsageBasedRunInvoicedUsage

AnnotationsNotNil applies the NotNil predicate on the "annotations" 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

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

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

func CreatedAtGT

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

func CreatedAtGTE

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

func CreatedAtIn

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

func CreatedAtLT

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

func CreatedAtLTE

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

func CreatedAtNEQ

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

func CreatedAtNotIn

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

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

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

func DeletedAtGT

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

func DeletedAtGTE

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

func DeletedAtIn

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

func DeletedAtIsNil

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

func DeletedAtLT

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

func DeletedAtLTE

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

func DeletedAtNEQ

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

func DeletedAtNotIn

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

func DeletedAtNotNil

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" 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

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

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

func HasRun

HasRun applies the HasEdge predicate on the "run" edge.

func HasRunWith

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

func ID

ID filters vertices based on their ID field.

func IDContainsFold

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

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

IDNotIn applies the NotIn predicate on the ID field.

func LedgerTransactionGroupID

func LedgerTransactionGroupID(v string) predicate.ChargeUsageBasedRunInvoicedUsage

LedgerTransactionGroupID applies equality check predicate on the "ledger_transaction_group_id" field. It's identical to LedgerTransactionGroupIDEQ.

func LedgerTransactionGroupIDContains

func LedgerTransactionGroupIDContains(v string) predicate.ChargeUsageBasedRunInvoicedUsage

LedgerTransactionGroupIDContains applies the Contains predicate on the "ledger_transaction_group_id" field.

func LedgerTransactionGroupIDContainsFold

func LedgerTransactionGroupIDContainsFold(v string) predicate.ChargeUsageBasedRunInvoicedUsage

LedgerTransactionGroupIDContainsFold applies the ContainsFold predicate on the "ledger_transaction_group_id" field.

func LedgerTransactionGroupIDEQ

func LedgerTransactionGroupIDEQ(v string) predicate.ChargeUsageBasedRunInvoicedUsage

LedgerTransactionGroupIDEQ applies the EQ predicate on the "ledger_transaction_group_id" field.

func LedgerTransactionGroupIDEqualFold

func LedgerTransactionGroupIDEqualFold(v string) predicate.ChargeUsageBasedRunInvoicedUsage

LedgerTransactionGroupIDEqualFold applies the EqualFold predicate on the "ledger_transaction_group_id" field.

func LedgerTransactionGroupIDGT

func LedgerTransactionGroupIDGT(v string) predicate.ChargeUsageBasedRunInvoicedUsage

LedgerTransactionGroupIDGT applies the GT predicate on the "ledger_transaction_group_id" field.

func LedgerTransactionGroupIDGTE

func LedgerTransactionGroupIDGTE(v string) predicate.ChargeUsageBasedRunInvoicedUsage

LedgerTransactionGroupIDGTE applies the GTE predicate on the "ledger_transaction_group_id" field.

func LedgerTransactionGroupIDHasPrefix

func LedgerTransactionGroupIDHasPrefix(v string) predicate.ChargeUsageBasedRunInvoicedUsage

LedgerTransactionGroupIDHasPrefix applies the HasPrefix predicate on the "ledger_transaction_group_id" field.

func LedgerTransactionGroupIDHasSuffix

func LedgerTransactionGroupIDHasSuffix(v string) predicate.ChargeUsageBasedRunInvoicedUsage

LedgerTransactionGroupIDHasSuffix applies the HasSuffix predicate on the "ledger_transaction_group_id" field.

func LedgerTransactionGroupIDIn

func LedgerTransactionGroupIDIn(vs ...string) predicate.ChargeUsageBasedRunInvoicedUsage

LedgerTransactionGroupIDIn applies the In predicate on the "ledger_transaction_group_id" field.

func LedgerTransactionGroupIDIsNil

func LedgerTransactionGroupIDIsNil() predicate.ChargeUsageBasedRunInvoicedUsage

LedgerTransactionGroupIDIsNil applies the IsNil predicate on the "ledger_transaction_group_id" field.

func LedgerTransactionGroupIDLT

func LedgerTransactionGroupIDLT(v string) predicate.ChargeUsageBasedRunInvoicedUsage

LedgerTransactionGroupIDLT applies the LT predicate on the "ledger_transaction_group_id" field.

func LedgerTransactionGroupIDLTE

func LedgerTransactionGroupIDLTE(v string) predicate.ChargeUsageBasedRunInvoicedUsage

LedgerTransactionGroupIDLTE applies the LTE predicate on the "ledger_transaction_group_id" field.

func LedgerTransactionGroupIDNEQ

func LedgerTransactionGroupIDNEQ(v string) predicate.ChargeUsageBasedRunInvoicedUsage

LedgerTransactionGroupIDNEQ applies the NEQ predicate on the "ledger_transaction_group_id" field.

func LedgerTransactionGroupIDNotIn

func LedgerTransactionGroupIDNotIn(vs ...string) predicate.ChargeUsageBasedRunInvoicedUsage

LedgerTransactionGroupIDNotIn applies the NotIn predicate on the "ledger_transaction_group_id" field.

func LedgerTransactionGroupIDNotNil

func LedgerTransactionGroupIDNotNil() predicate.ChargeUsageBasedRunInvoicedUsage

LedgerTransactionGroupIDNotNil applies the NotNil predicate on the "ledger_transaction_group_id" field.

func Namespace

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

func NamespaceContains

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

func NamespaceContainsFold

func NamespaceContainsFold(v string) predicate.ChargeUsageBasedRunInvoicedUsage

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

func NamespaceEQ

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

func NamespaceEqualFold

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

func NamespaceGT

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

func NamespaceGTE

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

func NamespaceHasPrefix

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

func NamespaceHasSuffix

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

func NamespaceIn

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

func NamespaceLT

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

func NamespaceLTE

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

func NamespaceNEQ

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

func NamespaceNotIn

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 RunID

RunID applies equality check predicate on the "run_id" field. It's identical to RunIDEQ.

func RunIDContains

RunIDContains applies the Contains predicate on the "run_id" field.

func RunIDContainsFold

RunIDContainsFold applies the ContainsFold predicate on the "run_id" field.

func RunIDEQ

RunIDEQ applies the EQ predicate on the "run_id" field.

func RunIDEqualFold

RunIDEqualFold applies the EqualFold predicate on the "run_id" field.

func RunIDGT

RunIDGT applies the GT predicate on the "run_id" field.

func RunIDGTE

RunIDGTE applies the GTE predicate on the "run_id" field.

func RunIDHasPrefix

RunIDHasPrefix applies the HasPrefix predicate on the "run_id" field.

func RunIDHasSuffix

RunIDHasSuffix applies the HasSuffix predicate on the "run_id" field.

func RunIDIn

RunIDIn applies the In predicate on the "run_id" field.

func RunIDLT

RunIDLT applies the LT predicate on the "run_id" field.

func RunIDLTE

RunIDLTE applies the LTE predicate on the "run_id" field.

func RunIDNEQ

RunIDNEQ applies the NEQ predicate on the "run_id" field.

func RunIDNotIn

RunIDNotIn applies the NotIn predicate on the "run_id" field.

func ServicePeriodFrom

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

func ServicePeriodFromEQ

func ServicePeriodFromEQ(v time.Time) predicate.ChargeUsageBasedRunInvoicedUsage

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

func ServicePeriodFromGT

func ServicePeriodFromGT(v time.Time) predicate.ChargeUsageBasedRunInvoicedUsage

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

func ServicePeriodFromGTE

func ServicePeriodFromGTE(v time.Time) predicate.ChargeUsageBasedRunInvoicedUsage

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

func ServicePeriodFromIn

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

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

func ServicePeriodFromLT

func ServicePeriodFromLT(v time.Time) predicate.ChargeUsageBasedRunInvoicedUsage

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

func ServicePeriodFromLTE

func ServicePeriodFromLTE(v time.Time) predicate.ChargeUsageBasedRunInvoicedUsage

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

func ServicePeriodFromNEQ

func ServicePeriodFromNEQ(v time.Time) predicate.ChargeUsageBasedRunInvoicedUsage

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

func ServicePeriodFromNotIn

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

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

func ServicePeriodTo

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

func ServicePeriodToEQ

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

func ServicePeriodToGT

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

func ServicePeriodToGTE

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

func ServicePeriodToIn

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

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

func ServicePeriodToLT

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

func ServicePeriodToLTE

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

func ServicePeriodToNEQ

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

func ServicePeriodToNotIn

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

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

func TaxesExclusiveTotal

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

func TaxesExclusiveTotalEQ

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

func TaxesExclusiveTotalGT

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

func TaxesExclusiveTotalGTE

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

func TaxesExclusiveTotalIn

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

func TaxesExclusiveTotalLT

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

func TaxesExclusiveTotalLTE

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

func TaxesExclusiveTotalNEQ

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

func TaxesExclusiveTotalNotIn

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

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

func TaxesInclusiveTotal

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

func TaxesInclusiveTotalEQ

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

func TaxesInclusiveTotalGT

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

func TaxesInclusiveTotalGTE

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

func TaxesInclusiveTotalIn

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

func TaxesInclusiveTotalLT

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

func TaxesInclusiveTotalLTE

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

func TaxesInclusiveTotalNEQ

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

func TaxesInclusiveTotalNotIn

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

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

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 UpdatedAt

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

func UpdatedAtEQ

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

func UpdatedAtGT

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

func UpdatedAtGTE

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

func UpdatedAtIn

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

func UpdatedAtLT

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

func UpdatedAtLTE

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

func UpdatedAtNEQ

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

func UpdatedAtNotIn

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

func ByAmount

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

ByAmount orders the results by the amount field.

func ByChargesTotal

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

ByChargesTotal orders the results by the charges_total field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

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 ByDiscountsTotal

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

ByDiscountsTotal orders the results by the discounts_total field.

func ByID

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

ByID orders the results by the id field.

func ByLedgerTransactionGroupID

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

ByLedgerTransactionGroupID orders the results by the ledger_transaction_group_id field.

func ByNamespace

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

ByNamespace orders the results by the namespace field.

func ByRunField

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

ByRunField orders the results by run field.

func ByRunID

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

ByRunID orders the results by the run_id field.

func ByServicePeriodFrom

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

ByServicePeriodFrom orders the results by the service_period_from field.

func ByServicePeriodTo

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

ByServicePeriodTo orders the results by the service_period_to field.

func 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 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