Documentation
¶
Index ¶
- Constants
- Variables
- func Amount(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func AmountEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func AmountGT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func AmountGTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func AmountIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func AmountLT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func AmountLTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func AmountNEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func AmountNotIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func And(predicates ...predicate.ChargeUsageBasedRuns) predicate.ChargeUsageBasedRuns
- func ChargeID(v string) predicate.ChargeUsageBasedRuns
- func ChargeIDContains(v string) predicate.ChargeUsageBasedRuns
- func ChargeIDContainsFold(v string) predicate.ChargeUsageBasedRuns
- func ChargeIDEQ(v string) predicate.ChargeUsageBasedRuns
- func ChargeIDEqualFold(v string) predicate.ChargeUsageBasedRuns
- func ChargeIDGT(v string) predicate.ChargeUsageBasedRuns
- func ChargeIDGTE(v string) predicate.ChargeUsageBasedRuns
- func ChargeIDHasPrefix(v string) predicate.ChargeUsageBasedRuns
- func ChargeIDHasSuffix(v string) predicate.ChargeUsageBasedRuns
- func ChargeIDIn(vs ...string) predicate.ChargeUsageBasedRuns
- func ChargeIDLT(v string) predicate.ChargeUsageBasedRuns
- func ChargeIDLTE(v string) predicate.ChargeUsageBasedRuns
- func ChargeIDNEQ(v string) predicate.ChargeUsageBasedRuns
- func ChargeIDNotIn(vs ...string) predicate.ChargeUsageBasedRuns
- func ChargesTotal(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func ChargesTotalEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func ChargesTotalGT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func ChargesTotalGTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func ChargesTotalIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func ChargesTotalLT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func ChargesTotalLTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func ChargesTotalNEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func ChargesTotalNotIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func CreatedAt(v time.Time) predicate.ChargeUsageBasedRuns
- func CreatedAtEQ(v time.Time) predicate.ChargeUsageBasedRuns
- func CreatedAtGT(v time.Time) predicate.ChargeUsageBasedRuns
- func CreatedAtGTE(v time.Time) predicate.ChargeUsageBasedRuns
- func CreatedAtIn(vs ...time.Time) predicate.ChargeUsageBasedRuns
- func CreatedAtLT(v time.Time) predicate.ChargeUsageBasedRuns
- func CreatedAtLTE(v time.Time) predicate.ChargeUsageBasedRuns
- func CreatedAtNEQ(v time.Time) predicate.ChargeUsageBasedRuns
- func CreatedAtNotIn(vs ...time.Time) predicate.ChargeUsageBasedRuns
- func CreditsTotal(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func CreditsTotalEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func CreditsTotalGT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func CreditsTotalGTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func CreditsTotalIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func CreditsTotalLT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func CreditsTotalLTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func CreditsTotalNEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func CreditsTotalNotIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func DeletedAt(v time.Time) predicate.ChargeUsageBasedRuns
- func DeletedAtEQ(v time.Time) predicate.ChargeUsageBasedRuns
- func DeletedAtGT(v time.Time) predicate.ChargeUsageBasedRuns
- func DeletedAtGTE(v time.Time) predicate.ChargeUsageBasedRuns
- func DeletedAtIn(vs ...time.Time) predicate.ChargeUsageBasedRuns
- func DeletedAtIsNil() predicate.ChargeUsageBasedRuns
- func DeletedAtLT(v time.Time) predicate.ChargeUsageBasedRuns
- func DeletedAtLTE(v time.Time) predicate.ChargeUsageBasedRuns
- func DeletedAtNEQ(v time.Time) predicate.ChargeUsageBasedRuns
- func DeletedAtNotIn(vs ...time.Time) predicate.ChargeUsageBasedRuns
- func DeletedAtNotNil() predicate.ChargeUsageBasedRuns
- func DetailedLinesPresent(v bool) predicate.ChargeUsageBasedRuns
- func DetailedLinesPresentEQ(v bool) predicate.ChargeUsageBasedRuns
- func DetailedLinesPresentNEQ(v bool) predicate.ChargeUsageBasedRuns
- func DiscountsTotal(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func DiscountsTotalEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func DiscountsTotalGT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func DiscountsTotalGTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func DiscountsTotalIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func DiscountsTotalLT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func DiscountsTotalLTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func DiscountsTotalNEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func DiscountsTotalNotIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func FeatureID(v string) predicate.ChargeUsageBasedRuns
- func FeatureIDContains(v string) predicate.ChargeUsageBasedRuns
- func FeatureIDContainsFold(v string) predicate.ChargeUsageBasedRuns
- func FeatureIDEQ(v string) predicate.ChargeUsageBasedRuns
- func FeatureIDEqualFold(v string) predicate.ChargeUsageBasedRuns
- func FeatureIDGT(v string) predicate.ChargeUsageBasedRuns
- func FeatureIDGTE(v string) predicate.ChargeUsageBasedRuns
- func FeatureIDHasPrefix(v string) predicate.ChargeUsageBasedRuns
- func FeatureIDHasSuffix(v string) predicate.ChargeUsageBasedRuns
- func FeatureIDIn(vs ...string) predicate.ChargeUsageBasedRuns
- func FeatureIDLT(v string) predicate.ChargeUsageBasedRuns
- func FeatureIDLTE(v string) predicate.ChargeUsageBasedRuns
- func FeatureIDNEQ(v string) predicate.ChargeUsageBasedRuns
- func FeatureIDNotIn(vs ...string) predicate.ChargeUsageBasedRuns
- func HasBillingInvoice() predicate.ChargeUsageBasedRuns
- func HasBillingInvoiceLine() predicate.ChargeUsageBasedRuns
- func HasBillingInvoiceLineWith(preds ...predicate.BillingInvoiceLine) predicate.ChargeUsageBasedRuns
- func HasBillingInvoiceWith(preds ...predicate.BillingInvoice) predicate.ChargeUsageBasedRuns
- func HasCorrectedDetailedLines() predicate.ChargeUsageBasedRuns
- func HasCorrectedDetailedLinesWith(preds ...predicate.ChargeUsageBasedRunDetailedLine) predicate.ChargeUsageBasedRuns
- func HasCreditAllocations() predicate.ChargeUsageBasedRuns
- func HasCreditAllocationsWith(preds ...predicate.ChargeUsageBasedRunCreditAllocations) predicate.ChargeUsageBasedRuns
- func HasDetailedLines() predicate.ChargeUsageBasedRuns
- func HasDetailedLinesWith(preds ...predicate.ChargeUsageBasedRunDetailedLine) predicate.ChargeUsageBasedRuns
- func HasFeature() predicate.ChargeUsageBasedRuns
- func HasFeatureWith(preds ...predicate.Feature) predicate.ChargeUsageBasedRuns
- func HasInvoicedUsage() predicate.ChargeUsageBasedRuns
- func HasInvoicedUsageWith(preds ...predicate.ChargeUsageBasedRunInvoicedUsage) predicate.ChargeUsageBasedRuns
- func HasPayment() predicate.ChargeUsageBasedRuns
- func HasPaymentWith(preds ...predicate.ChargeUsageBasedRunPayment) predicate.ChargeUsageBasedRuns
- func HasUsageBased() predicate.ChargeUsageBasedRuns
- func HasUsageBasedWith(preds ...predicate.ChargeUsageBased) predicate.ChargeUsageBasedRuns
- func ID(id string) predicate.ChargeUsageBasedRuns
- func IDContainsFold(id string) predicate.ChargeUsageBasedRuns
- func IDEQ(id string) predicate.ChargeUsageBasedRuns
- func IDEqualFold(id string) predicate.ChargeUsageBasedRuns
- func IDGT(id string) predicate.ChargeUsageBasedRuns
- func IDGTE(id string) predicate.ChargeUsageBasedRuns
- func IDIn(ids ...string) predicate.ChargeUsageBasedRuns
- func IDLT(id string) predicate.ChargeUsageBasedRuns
- func IDLTE(id string) predicate.ChargeUsageBasedRuns
- func IDNEQ(id string) predicate.ChargeUsageBasedRuns
- func IDNotIn(ids ...string) predicate.ChargeUsageBasedRuns
- func InitialTypeEQ(v usagebased.RealizationRunType) predicate.ChargeUsageBasedRuns
- func InitialTypeIn(vs ...usagebased.RealizationRunType) predicate.ChargeUsageBasedRuns
- func InitialTypeNEQ(v usagebased.RealizationRunType) predicate.ChargeUsageBasedRuns
- func InitialTypeNotIn(vs ...usagebased.RealizationRunType) predicate.ChargeUsageBasedRuns
- func InitialTypeValidator(it usagebased.RealizationRunType) error
- func InvoiceID(v string) predicate.ChargeUsageBasedRuns
- func InvoiceIDContains(v string) predicate.ChargeUsageBasedRuns
- func InvoiceIDContainsFold(v string) predicate.ChargeUsageBasedRuns
- func InvoiceIDEQ(v string) predicate.ChargeUsageBasedRuns
- func InvoiceIDEqualFold(v string) predicate.ChargeUsageBasedRuns
- func InvoiceIDGT(v string) predicate.ChargeUsageBasedRuns
- func InvoiceIDGTE(v string) predicate.ChargeUsageBasedRuns
- func InvoiceIDHasPrefix(v string) predicate.ChargeUsageBasedRuns
- func InvoiceIDHasSuffix(v string) predicate.ChargeUsageBasedRuns
- func InvoiceIDIn(vs ...string) predicate.ChargeUsageBasedRuns
- func InvoiceIDIsNil() predicate.ChargeUsageBasedRuns
- func InvoiceIDLT(v string) predicate.ChargeUsageBasedRuns
- func InvoiceIDLTE(v string) predicate.ChargeUsageBasedRuns
- func InvoiceIDNEQ(v string) predicate.ChargeUsageBasedRuns
- func InvoiceIDNotIn(vs ...string) predicate.ChargeUsageBasedRuns
- func InvoiceIDNotNil() predicate.ChargeUsageBasedRuns
- func LineID(v string) predicate.ChargeUsageBasedRuns
- func LineIDContains(v string) predicate.ChargeUsageBasedRuns
- func LineIDContainsFold(v string) predicate.ChargeUsageBasedRuns
- func LineIDEQ(v string) predicate.ChargeUsageBasedRuns
- func LineIDEqualFold(v string) predicate.ChargeUsageBasedRuns
- func LineIDGT(v string) predicate.ChargeUsageBasedRuns
- func LineIDGTE(v string) predicate.ChargeUsageBasedRuns
- func LineIDHasPrefix(v string) predicate.ChargeUsageBasedRuns
- func LineIDHasSuffix(v string) predicate.ChargeUsageBasedRuns
- func LineIDIn(vs ...string) predicate.ChargeUsageBasedRuns
- func LineIDIsNil() predicate.ChargeUsageBasedRuns
- func LineIDLT(v string) predicate.ChargeUsageBasedRuns
- func LineIDLTE(v string) predicate.ChargeUsageBasedRuns
- func LineIDNEQ(v string) predicate.ChargeUsageBasedRuns
- func LineIDNotIn(vs ...string) predicate.ChargeUsageBasedRuns
- func LineIDNotNil() predicate.ChargeUsageBasedRuns
- func MeteredQuantity(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func MeteredQuantityEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func MeteredQuantityGT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func MeteredQuantityGTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func MeteredQuantityIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func MeteredQuantityLT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func MeteredQuantityLTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func MeteredQuantityNEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func MeteredQuantityNotIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func Namespace(v string) predicate.ChargeUsageBasedRuns
- func NamespaceContains(v string) predicate.ChargeUsageBasedRuns
- func NamespaceContainsFold(v string) predicate.ChargeUsageBasedRuns
- func NamespaceEQ(v string) predicate.ChargeUsageBasedRuns
- func NamespaceEqualFold(v string) predicate.ChargeUsageBasedRuns
- func NamespaceGT(v string) predicate.ChargeUsageBasedRuns
- func NamespaceGTE(v string) predicate.ChargeUsageBasedRuns
- func NamespaceHasPrefix(v string) predicate.ChargeUsageBasedRuns
- func NamespaceHasSuffix(v string) predicate.ChargeUsageBasedRuns
- func NamespaceIn(vs ...string) predicate.ChargeUsageBasedRuns
- func NamespaceLT(v string) predicate.ChargeUsageBasedRuns
- func NamespaceLTE(v string) predicate.ChargeUsageBasedRuns
- func NamespaceNEQ(v string) predicate.ChargeUsageBasedRuns
- func NamespaceNotIn(vs ...string) predicate.ChargeUsageBasedRuns
- func NoFiatTransactionRequired(v bool) predicate.ChargeUsageBasedRuns
- func NoFiatTransactionRequiredEQ(v bool) predicate.ChargeUsageBasedRuns
- func NoFiatTransactionRequiredNEQ(v bool) predicate.ChargeUsageBasedRuns
- func Not(p predicate.ChargeUsageBasedRuns) predicate.ChargeUsageBasedRuns
- func Or(predicates ...predicate.ChargeUsageBasedRuns) predicate.ChargeUsageBasedRuns
- func ServicePeriodTo(v time.Time) predicate.ChargeUsageBasedRuns
- func ServicePeriodToEQ(v time.Time) predicate.ChargeUsageBasedRuns
- func ServicePeriodToGT(v time.Time) predicate.ChargeUsageBasedRuns
- func ServicePeriodToGTE(v time.Time) predicate.ChargeUsageBasedRuns
- func ServicePeriodToIn(vs ...time.Time) predicate.ChargeUsageBasedRuns
- func ServicePeriodToLT(v time.Time) predicate.ChargeUsageBasedRuns
- func ServicePeriodToLTE(v time.Time) predicate.ChargeUsageBasedRuns
- func ServicePeriodToNEQ(v time.Time) predicate.ChargeUsageBasedRuns
- func ServicePeriodToNotIn(vs ...time.Time) predicate.ChargeUsageBasedRuns
- func StoredAtLt(v time.Time) predicate.ChargeUsageBasedRuns
- func StoredAtLtEQ(v time.Time) predicate.ChargeUsageBasedRuns
- func StoredAtLtGT(v time.Time) predicate.ChargeUsageBasedRuns
- func StoredAtLtGTE(v time.Time) predicate.ChargeUsageBasedRuns
- func StoredAtLtIn(vs ...time.Time) predicate.ChargeUsageBasedRuns
- func StoredAtLtLT(v time.Time) predicate.ChargeUsageBasedRuns
- func StoredAtLtLTE(v time.Time) predicate.ChargeUsageBasedRuns
- func StoredAtLtNEQ(v time.Time) predicate.ChargeUsageBasedRuns
- func StoredAtLtNotIn(vs ...time.Time) predicate.ChargeUsageBasedRuns
- func TaxesExclusiveTotal(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TaxesExclusiveTotalEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TaxesExclusiveTotalGT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TaxesExclusiveTotalGTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TaxesExclusiveTotalIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TaxesExclusiveTotalLT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TaxesExclusiveTotalLTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TaxesExclusiveTotalNEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TaxesExclusiveTotalNotIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TaxesInclusiveTotal(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TaxesInclusiveTotalEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TaxesInclusiveTotalGT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TaxesInclusiveTotalGTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TaxesInclusiveTotalIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TaxesInclusiveTotalLT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TaxesInclusiveTotalLTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TaxesInclusiveTotalNEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TaxesInclusiveTotalNotIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TaxesTotal(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TaxesTotalEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TaxesTotalGT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TaxesTotalGTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TaxesTotalIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TaxesTotalLT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TaxesTotalLTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TaxesTotalNEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TaxesTotalNotIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func Total(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TotalEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TotalGT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TotalGTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TotalIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TotalLT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TotalLTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TotalNEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TotalNotIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
- func TypeEQ(v usagebased.RealizationRunType) predicate.ChargeUsageBasedRuns
- func TypeIn(vs ...usagebased.RealizationRunType) predicate.ChargeUsageBasedRuns
- func TypeNEQ(v usagebased.RealizationRunType) predicate.ChargeUsageBasedRuns
- func TypeNotIn(vs ...usagebased.RealizationRunType) predicate.ChargeUsageBasedRuns
- func TypeValidator(_type usagebased.RealizationRunType) error
- func UpdatedAt(v time.Time) predicate.ChargeUsageBasedRuns
- func UpdatedAtEQ(v time.Time) predicate.ChargeUsageBasedRuns
- func UpdatedAtGT(v time.Time) predicate.ChargeUsageBasedRuns
- func UpdatedAtGTE(v time.Time) predicate.ChargeUsageBasedRuns
- func UpdatedAtIn(vs ...time.Time) predicate.ChargeUsageBasedRuns
- func UpdatedAtLT(v time.Time) predicate.ChargeUsageBasedRuns
- func UpdatedAtLTE(v time.Time) predicate.ChargeUsageBasedRuns
- func UpdatedAtNEQ(v time.Time) predicate.ChargeUsageBasedRuns
- func UpdatedAtNotIn(vs ...time.Time) predicate.ChargeUsageBasedRuns
- func ValidColumn(column string) bool
- type OrderOption
- func ByAmount(opts ...sql.OrderTermOption) OrderOption
- func ByBillingInvoiceField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByBillingInvoiceLineField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByChargeID(opts ...sql.OrderTermOption) OrderOption
- func ByChargesTotal(opts ...sql.OrderTermOption) OrderOption
- func ByCorrectedDetailedLines(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByCorrectedDetailedLinesCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreditAllocations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByCreditAllocationsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreditsTotal(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDetailedLines(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByDetailedLinesCount(opts ...sql.OrderTermOption) OrderOption
- func ByDetailedLinesPresent(opts ...sql.OrderTermOption) OrderOption
- func ByDiscountsTotal(opts ...sql.OrderTermOption) OrderOption
- func ByFeatureField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByFeatureID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByInitialType(opts ...sql.OrderTermOption) OrderOption
- func ByInvoiceID(opts ...sql.OrderTermOption) OrderOption
- func ByInvoicedUsageField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByLineID(opts ...sql.OrderTermOption) OrderOption
- func ByMeteredQuantity(opts ...sql.OrderTermOption) OrderOption
- func ByNamespace(opts ...sql.OrderTermOption) OrderOption
- func ByNoFiatTransactionRequired(opts ...sql.OrderTermOption) OrderOption
- func ByPaymentField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByServicePeriodTo(opts ...sql.OrderTermOption) OrderOption
- func ByStoredAtLt(opts ...sql.OrderTermOption) OrderOption
- func ByTaxesExclusiveTotal(opts ...sql.OrderTermOption) OrderOption
- func ByTaxesInclusiveTotal(opts ...sql.OrderTermOption) OrderOption
- func ByTaxesTotal(opts ...sql.OrderTermOption) OrderOption
- func ByTotal(opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUsageBasedField(field string, opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldNamespace, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldAmount, FieldTaxesTotal, FieldTaxesInclusiveTotal, FieldTaxesExclusiveTotal, FieldChargesTotal, FieldDiscountsTotal, FieldCreditsTotal, FieldTotal, FieldChargeID, FieldFeatureID, FieldType, FieldInitialType, FieldStoredAtLt, FieldServicePeriodTo, FieldDetailedLinesPresent, FieldLineID, FieldInvoiceID, FieldMeteredQuantity, FieldNoFiatTransactionRequired, }
Columns holds all SQL columns for chargeusagebasedruns fields.
Functions ¶
func Amount ¶
func Amount(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
Amount applies equality check predicate on the "amount" field. It's identical to AmountEQ.
func AmountEQ ¶
func AmountEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
AmountEQ applies the EQ predicate on the "amount" field.
func AmountGT ¶
func AmountGT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
AmountGT applies the GT predicate on the "amount" field.
func AmountGTE ¶
func AmountGTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
AmountGTE applies the GTE predicate on the "amount" field.
func AmountIn ¶
func AmountIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
AmountIn applies the In predicate on the "amount" field.
func AmountLT ¶
func AmountLT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
AmountLT applies the LT predicate on the "amount" field.
func AmountLTE ¶
func AmountLTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
AmountLTE applies the LTE predicate on the "amount" field.
func AmountNEQ ¶
func AmountNEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
AmountNEQ applies the NEQ predicate on the "amount" field.
func AmountNotIn ¶
func AmountNotIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
AmountNotIn applies the NotIn predicate on the "amount" field.
func And ¶
func And(predicates ...predicate.ChargeUsageBasedRuns) predicate.ChargeUsageBasedRuns
And groups predicates with the AND operator between them.
func ChargeID ¶
func ChargeID(v string) predicate.ChargeUsageBasedRuns
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 ¶
func ChargeIDEQ(v string) predicate.ChargeUsageBasedRuns
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 ¶
func ChargeIDGT(v string) predicate.ChargeUsageBasedRuns
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 ¶
func ChargeIDLT(v string) predicate.ChargeUsageBasedRuns
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 ¶
func ChargesTotal(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
ChargesTotal applies equality check predicate on the "charges_total" field. It's identical to ChargesTotalEQ.
func ChargesTotalEQ ¶
func ChargesTotalEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
ChargesTotalEQ applies the EQ predicate on the "charges_total" field.
func ChargesTotalGT ¶
func ChargesTotalGT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
ChargesTotalGT applies the GT predicate on the "charges_total" field.
func ChargesTotalGTE ¶
func ChargesTotalGTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
ChargesTotalGTE applies the GTE predicate on the "charges_total" field.
func ChargesTotalIn ¶
func ChargesTotalIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
ChargesTotalIn applies the In predicate on the "charges_total" field.
func ChargesTotalLT ¶
func ChargesTotalLT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
ChargesTotalLT applies the LT predicate on the "charges_total" field.
func ChargesTotalLTE ¶
func ChargesTotalLTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
ChargesTotalLTE applies the LTE predicate on the "charges_total" field.
func ChargesTotalNEQ ¶
func ChargesTotalNEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
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 ¶
func CreatedAt(v time.Time) predicate.ChargeUsageBasedRuns
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 ¶
func CreditsTotal(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
CreditsTotal applies equality check predicate on the "credits_total" field. It's identical to CreditsTotalEQ.
func CreditsTotalEQ ¶
func CreditsTotalEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
CreditsTotalEQ applies the EQ predicate on the "credits_total" field.
func CreditsTotalGT ¶
func CreditsTotalGT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
CreditsTotalGT applies the GT predicate on the "credits_total" field.
func CreditsTotalGTE ¶
func CreditsTotalGTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
CreditsTotalGTE applies the GTE predicate on the "credits_total" field.
func CreditsTotalIn ¶
func CreditsTotalIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
CreditsTotalIn applies the In predicate on the "credits_total" field.
func CreditsTotalLT ¶
func CreditsTotalLT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
CreditsTotalLT applies the LT predicate on the "credits_total" field.
func CreditsTotalLTE ¶
func CreditsTotalLTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
CreditsTotalLTE applies the LTE predicate on the "credits_total" field.
func CreditsTotalNEQ ¶
func CreditsTotalNEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
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 ¶
func DeletedAt(v time.Time) predicate.ChargeUsageBasedRuns
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 ¶
func DiscountsTotal(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
DiscountsTotal applies equality check predicate on the "discounts_total" field. It's identical to DiscountsTotalEQ.
func DiscountsTotalEQ ¶
func DiscountsTotalEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
DiscountsTotalEQ applies the EQ predicate on the "discounts_total" field.
func DiscountsTotalGT ¶
func DiscountsTotalGT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
DiscountsTotalGT applies the GT predicate on the "discounts_total" field.
func DiscountsTotalGTE ¶
func DiscountsTotalGTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
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 ¶
func DiscountsTotalLT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
DiscountsTotalLT applies the LT predicate on the "discounts_total" field.
func DiscountsTotalLTE ¶
func DiscountsTotalLTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
DiscountsTotalLTE applies the LTE predicate on the "discounts_total" field.
func DiscountsTotalNEQ ¶
func DiscountsTotalNEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
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 ¶
func FeatureID(v string) predicate.ChargeUsageBasedRuns
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 ¶
func HasCreditAllocationsWith(preds ...predicate.ChargeUsageBasedRunCreditAllocations) predicate.ChargeUsageBasedRuns
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 ¶
func HasDetailedLinesWith(preds ...predicate.ChargeUsageBasedRunDetailedLine) predicate.ChargeUsageBasedRuns
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 ¶
func HasInvoicedUsageWith(preds ...predicate.ChargeUsageBasedRunInvoicedUsage) predicate.ChargeUsageBasedRuns
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 ¶
func HasPaymentWith(preds ...predicate.ChargeUsageBasedRunPayment) predicate.ChargeUsageBasedRuns
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 ¶
func ID(id string) predicate.ChargeUsageBasedRuns
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 ¶
func IDEQ(id string) predicate.ChargeUsageBasedRuns
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 ¶
func IDGT(id string) predicate.ChargeUsageBasedRuns
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.ChargeUsageBasedRuns
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.ChargeUsageBasedRuns
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.ChargeUsageBasedRuns
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.ChargeUsageBasedRuns
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.ChargeUsageBasedRuns
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 ¶
func InitialTypeEQ(v usagebased.RealizationRunType) predicate.ChargeUsageBasedRuns
InitialTypeEQ applies the EQ predicate on the "initial_type" field.
func InitialTypeIn ¶
func InitialTypeIn(vs ...usagebased.RealizationRunType) predicate.ChargeUsageBasedRuns
InitialTypeIn applies the In predicate on the "initial_type" field.
func InitialTypeNEQ ¶
func InitialTypeNEQ(v usagebased.RealizationRunType) predicate.ChargeUsageBasedRuns
InitialTypeNEQ applies the NEQ predicate on the "initial_type" field.
func InitialTypeNotIn ¶
func InitialTypeNotIn(vs ...usagebased.RealizationRunType) predicate.ChargeUsageBasedRuns
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 ¶
func InvoiceID(v string) predicate.ChargeUsageBasedRuns
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 ¶
func LineID(v string) predicate.ChargeUsageBasedRuns
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 ¶
func LineIDEQ(v string) predicate.ChargeUsageBasedRuns
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 ¶
func LineIDGT(v string) predicate.ChargeUsageBasedRuns
LineIDGT applies the GT predicate on the "line_id" field.
func LineIDGTE ¶
func LineIDGTE(v string) predicate.ChargeUsageBasedRuns
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 ¶
func LineIDLT(v string) predicate.ChargeUsageBasedRuns
LineIDLT applies the LT predicate on the "line_id" field.
func LineIDLTE ¶
func LineIDLTE(v string) predicate.ChargeUsageBasedRuns
LineIDLTE applies the LTE predicate on the "line_id" field.
func LineIDNEQ ¶
func LineIDNEQ(v string) predicate.ChargeUsageBasedRuns
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 ¶
func MeteredQuantity(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
MeteredQuantity applies equality check predicate on the "metered_quantity" field. It's identical to MeteredQuantityEQ.
func MeteredQuantityEQ ¶
func MeteredQuantityEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
MeteredQuantityEQ applies the EQ predicate on the "metered_quantity" field.
func MeteredQuantityGT ¶
func MeteredQuantityGT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
MeteredQuantityGT applies the GT predicate on the "metered_quantity" field.
func MeteredQuantityGTE ¶
func MeteredQuantityGTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
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 ¶
func MeteredQuantityLT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
MeteredQuantityLT applies the LT predicate on the "metered_quantity" field.
func MeteredQuantityLTE ¶
func MeteredQuantityLTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
MeteredQuantityLTE applies the LTE predicate on the "metered_quantity" field.
func MeteredQuantityNEQ ¶
func MeteredQuantityNEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
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 ¶
func Namespace(v string) predicate.ChargeUsageBasedRuns
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 ¶
func Not(p predicate.ChargeUsageBasedRuns) predicate.ChargeUsageBasedRuns
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ChargeUsageBasedRuns) predicate.ChargeUsageBasedRuns
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 ¶
func StoredAtLt(v time.Time) predicate.ChargeUsageBasedRuns
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 ¶
func TaxesTotal(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
TaxesTotal applies equality check predicate on the "taxes_total" field. It's identical to TaxesTotalEQ.
func TaxesTotalEQ ¶
func TaxesTotalEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
TaxesTotalEQ applies the EQ predicate on the "taxes_total" field.
func TaxesTotalGT ¶
func TaxesTotalGT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
TaxesTotalGT applies the GT predicate on the "taxes_total" field.
func TaxesTotalGTE ¶
func TaxesTotalGTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
TaxesTotalGTE applies the GTE predicate on the "taxes_total" field.
func TaxesTotalIn ¶
func TaxesTotalIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
TaxesTotalIn applies the In predicate on the "taxes_total" field.
func TaxesTotalLT ¶
func TaxesTotalLT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
TaxesTotalLT applies the LT predicate on the "taxes_total" field.
func TaxesTotalLTE ¶
func TaxesTotalLTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
TaxesTotalLTE applies the LTE predicate on the "taxes_total" field.
func TaxesTotalNEQ ¶
func TaxesTotalNEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
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 ¶
func Total(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
Total applies equality check predicate on the "total" field. It's identical to TotalEQ.
func TotalEQ ¶
func TotalEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
TotalEQ applies the EQ predicate on the "total" field.
func TotalGT ¶
func TotalGT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
TotalGT applies the GT predicate on the "total" field.
func TotalGTE ¶
func TotalGTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
TotalGTE applies the GTE predicate on the "total" field.
func TotalIn ¶
func TotalIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
TotalIn applies the In predicate on the "total" field.
func TotalLT ¶
func TotalLT(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
TotalLT applies the LT predicate on the "total" field.
func TotalLTE ¶
func TotalLTE(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
TotalLTE applies the LTE predicate on the "total" field.
func TotalNEQ ¶
func TotalNEQ(v alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
TotalNEQ applies the NEQ predicate on the "total" field.
func TotalNotIn ¶
func TotalNotIn(vs ...alpacadecimal.Decimal) predicate.ChargeUsageBasedRuns
TotalNotIn applies the NotIn predicate on the "total" field.
func TypeEQ ¶
func TypeEQ(v usagebased.RealizationRunType) predicate.ChargeUsageBasedRuns
TypeEQ applies the EQ predicate on the "type" field.
func TypeIn ¶
func TypeIn(vs ...usagebased.RealizationRunType) predicate.ChargeUsageBasedRuns
TypeIn applies the In predicate on the "type" field.
func TypeNEQ ¶
func TypeNEQ(v usagebased.RealizationRunType) predicate.ChargeUsageBasedRuns
TypeNEQ applies the NEQ predicate on the "type" field.
func TypeNotIn ¶
func TypeNotIn(vs ...usagebased.RealizationRunType) predicate.ChargeUsageBasedRuns
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 ¶
func UpdatedAt(v time.Time) predicate.ChargeUsageBasedRuns
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 ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.