chargeusagebasedrunpayment

package
v1.0.0-beta.228 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the chargeusagebasedrunpayment type in the database.
	Label = "charge_usage_based_run_payment"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// 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"
	// 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"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldAmount holds the string denoting the amount field in the database.
	FieldAmount = "amount"
	// FieldAuthorizedTransactionGroupID holds the string denoting the authorized_transaction_group_id field in the database.
	FieldAuthorizedTransactionGroupID = "authorized_transaction_group_id"
	// FieldAuthorizedAt holds the string denoting the authorized_at field in the database.
	FieldAuthorizedAt = "authorized_at"
	// FieldSettledTransactionGroupID holds the string denoting the settled_transaction_group_id field in the database.
	FieldSettledTransactionGroupID = "settled_transaction_group_id"
	// FieldSettledAt holds the string denoting the settled_at field in the database.
	FieldSettledAt = "settled_at"
	// 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"
	// 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 chargeusagebasedrunpayment in the database.
	Table = "charge_usage_based_run_payments"
	// RunTable is the table that holds the run relation/edge.
	RunTable = "charge_usage_based_run_payments"
	// 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 (
	// AuthorizedTransactionGroupIDValidator is a validator for the "authorized_transaction_group_id" field. It is called by the builders before save.
	AuthorizedTransactionGroupIDValidator func(string) error
	// SettledTransactionGroupIDValidator is a validator for the "settled_transaction_group_id" field. It is called by the builders before save.
	SettledTransactionGroupIDValidator 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 chargeusagebasedrunpayment 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

func AnnotationsIsNil() predicate.ChargeUsageBasedRunPayment

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

func AnnotationsNotNil

func AnnotationsNotNil() predicate.ChargeUsageBasedRunPayment

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

func AuthorizedAt

AuthorizedAt applies equality check predicate on the "authorized_at" field. It's identical to AuthorizedAtEQ.

func AuthorizedAtEQ

AuthorizedAtEQ applies the EQ predicate on the "authorized_at" field.

func AuthorizedAtGT

AuthorizedAtGT applies the GT predicate on the "authorized_at" field.

func AuthorizedAtGTE

func AuthorizedAtGTE(v time.Time) predicate.ChargeUsageBasedRunPayment

AuthorizedAtGTE applies the GTE predicate on the "authorized_at" field.

func AuthorizedAtIn

func AuthorizedAtIn(vs ...time.Time) predicate.ChargeUsageBasedRunPayment

AuthorizedAtIn applies the In predicate on the "authorized_at" field.

func AuthorizedAtIsNil

func AuthorizedAtIsNil() predicate.ChargeUsageBasedRunPayment

AuthorizedAtIsNil applies the IsNil predicate on the "authorized_at" field.

func AuthorizedAtLT

AuthorizedAtLT applies the LT predicate on the "authorized_at" field.

func AuthorizedAtLTE

func AuthorizedAtLTE(v time.Time) predicate.ChargeUsageBasedRunPayment

AuthorizedAtLTE applies the LTE predicate on the "authorized_at" field.

func AuthorizedAtNEQ

func AuthorizedAtNEQ(v time.Time) predicate.ChargeUsageBasedRunPayment

AuthorizedAtNEQ applies the NEQ predicate on the "authorized_at" field.

func AuthorizedAtNotIn

func AuthorizedAtNotIn(vs ...time.Time) predicate.ChargeUsageBasedRunPayment

AuthorizedAtNotIn applies the NotIn predicate on the "authorized_at" field.

func AuthorizedAtNotNil

func AuthorizedAtNotNil() predicate.ChargeUsageBasedRunPayment

AuthorizedAtNotNil applies the NotNil predicate on the "authorized_at" field.

func AuthorizedTransactionGroupID

func AuthorizedTransactionGroupID(v string) predicate.ChargeUsageBasedRunPayment

AuthorizedTransactionGroupID applies equality check predicate on the "authorized_transaction_group_id" field. It's identical to AuthorizedTransactionGroupIDEQ.

func AuthorizedTransactionGroupIDContains

func AuthorizedTransactionGroupIDContains(v string) predicate.ChargeUsageBasedRunPayment

AuthorizedTransactionGroupIDContains applies the Contains predicate on the "authorized_transaction_group_id" field.

func AuthorizedTransactionGroupIDContainsFold

func AuthorizedTransactionGroupIDContainsFold(v string) predicate.ChargeUsageBasedRunPayment

AuthorizedTransactionGroupIDContainsFold applies the ContainsFold predicate on the "authorized_transaction_group_id" field.

func AuthorizedTransactionGroupIDEQ

func AuthorizedTransactionGroupIDEQ(v string) predicate.ChargeUsageBasedRunPayment

AuthorizedTransactionGroupIDEQ applies the EQ predicate on the "authorized_transaction_group_id" field.

func AuthorizedTransactionGroupIDEqualFold

func AuthorizedTransactionGroupIDEqualFold(v string) predicate.ChargeUsageBasedRunPayment

AuthorizedTransactionGroupIDEqualFold applies the EqualFold predicate on the "authorized_transaction_group_id" field.

func AuthorizedTransactionGroupIDGT

func AuthorizedTransactionGroupIDGT(v string) predicate.ChargeUsageBasedRunPayment

AuthorizedTransactionGroupIDGT applies the GT predicate on the "authorized_transaction_group_id" field.

func AuthorizedTransactionGroupIDGTE

func AuthorizedTransactionGroupIDGTE(v string) predicate.ChargeUsageBasedRunPayment

AuthorizedTransactionGroupIDGTE applies the GTE predicate on the "authorized_transaction_group_id" field.

func AuthorizedTransactionGroupIDHasPrefix

func AuthorizedTransactionGroupIDHasPrefix(v string) predicate.ChargeUsageBasedRunPayment

AuthorizedTransactionGroupIDHasPrefix applies the HasPrefix predicate on the "authorized_transaction_group_id" field.

func AuthorizedTransactionGroupIDHasSuffix

func AuthorizedTransactionGroupIDHasSuffix(v string) predicate.ChargeUsageBasedRunPayment

AuthorizedTransactionGroupIDHasSuffix applies the HasSuffix predicate on the "authorized_transaction_group_id" field.

func AuthorizedTransactionGroupIDIn

func AuthorizedTransactionGroupIDIn(vs ...string) predicate.ChargeUsageBasedRunPayment

AuthorizedTransactionGroupIDIn applies the In predicate on the "authorized_transaction_group_id" field.

func AuthorizedTransactionGroupIDIsNil

func AuthorizedTransactionGroupIDIsNil() predicate.ChargeUsageBasedRunPayment

AuthorizedTransactionGroupIDIsNil applies the IsNil predicate on the "authorized_transaction_group_id" field.

func AuthorizedTransactionGroupIDLT

func AuthorizedTransactionGroupIDLT(v string) predicate.ChargeUsageBasedRunPayment

AuthorizedTransactionGroupIDLT applies the LT predicate on the "authorized_transaction_group_id" field.

func AuthorizedTransactionGroupIDLTE

func AuthorizedTransactionGroupIDLTE(v string) predicate.ChargeUsageBasedRunPayment

AuthorizedTransactionGroupIDLTE applies the LTE predicate on the "authorized_transaction_group_id" field.

func AuthorizedTransactionGroupIDNEQ

func AuthorizedTransactionGroupIDNEQ(v string) predicate.ChargeUsageBasedRunPayment

AuthorizedTransactionGroupIDNEQ applies the NEQ predicate on the "authorized_transaction_group_id" field.

func AuthorizedTransactionGroupIDNotIn

func AuthorizedTransactionGroupIDNotIn(vs ...string) predicate.ChargeUsageBasedRunPayment

AuthorizedTransactionGroupIDNotIn applies the NotIn predicate on the "authorized_transaction_group_id" field.

func AuthorizedTransactionGroupIDNotNil

func AuthorizedTransactionGroupIDNotNil() predicate.ChargeUsageBasedRunPayment

AuthorizedTransactionGroupIDNotNil applies the NotNil predicate on the "authorized_transaction_group_id" 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

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

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

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

CreatedAtNotIn applies the NotIn predicate on the "created_at" 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

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.ChargeUsageBasedRunPayment

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

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.ChargeUsageBasedRunPayment

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

func IDContainsFold(id string) predicate.ChargeUsageBasedRunPayment

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 InvoiceID

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

func InvoiceIDContains

func InvoiceIDContains(v string) predicate.ChargeUsageBasedRunPayment

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

func InvoiceIDContainsFold

func InvoiceIDContainsFold(v string) predicate.ChargeUsageBasedRunPayment

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

func InvoiceIDEQ

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

func InvoiceIDEqualFold

func InvoiceIDEqualFold(v string) predicate.ChargeUsageBasedRunPayment

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

func InvoiceIDGT

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

func InvoiceIDGTE

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

func InvoiceIDHasPrefix

func InvoiceIDHasPrefix(v string) predicate.ChargeUsageBasedRunPayment

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

func InvoiceIDHasSuffix

func InvoiceIDHasSuffix(v string) predicate.ChargeUsageBasedRunPayment

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

func InvoiceIDIn

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

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

func InvoiceIDLT

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

func InvoiceIDLTE

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

func InvoiceIDNEQ

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

func InvoiceIDNotIn

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

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

func LineID

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

func LineIDContains

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

func LineIDContainsFold

func LineIDContainsFold(v string) predicate.ChargeUsageBasedRunPayment

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

func LineIDEQ

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

func LineIDEqualFold

func LineIDEqualFold(v string) predicate.ChargeUsageBasedRunPayment

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

func LineIDGT

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

func LineIDGTE

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

func LineIDHasPrefix

func LineIDHasPrefix(v string) predicate.ChargeUsageBasedRunPayment

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

func LineIDHasSuffix

func LineIDHasSuffix(v string) predicate.ChargeUsageBasedRunPayment

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

func LineIDIn

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

func LineIDLT

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

func LineIDLTE

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

func LineIDNEQ

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

func LineIDNotIn

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

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

func Namespace

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

func NamespaceContains

func NamespaceContains(v string) predicate.ChargeUsageBasedRunPayment

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

func NamespaceContainsFold

func NamespaceContainsFold(v string) predicate.ChargeUsageBasedRunPayment

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

func NamespaceEQ

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

func NamespaceEqualFold

func NamespaceEqualFold(v string) predicate.ChargeUsageBasedRunPayment

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

func NamespaceHasPrefix(v string) predicate.ChargeUsageBasedRunPayment

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

func NamespaceHasSuffix

func NamespaceHasSuffix(v string) predicate.ChargeUsageBasedRunPayment

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

func NamespaceIn

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

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

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

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

func RunIDContainsFold(v string) predicate.ChargeUsageBasedRunPayment

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

func ServicePeriodFrom(v time.Time) predicate.ChargeUsageBasedRunPayment

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

func ServicePeriodFromEQ

func ServicePeriodFromEQ(v time.Time) predicate.ChargeUsageBasedRunPayment

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

func ServicePeriodFromGT

func ServicePeriodFromGT(v time.Time) predicate.ChargeUsageBasedRunPayment

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

func ServicePeriodFromGTE

func ServicePeriodFromGTE(v time.Time) predicate.ChargeUsageBasedRunPayment

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

func ServicePeriodFromIn

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

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

func ServicePeriodFromLT

func ServicePeriodFromLT(v time.Time) predicate.ChargeUsageBasedRunPayment

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

func ServicePeriodFromLTE

func ServicePeriodFromLTE(v time.Time) predicate.ChargeUsageBasedRunPayment

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

func ServicePeriodFromNEQ

func ServicePeriodFromNEQ(v time.Time) predicate.ChargeUsageBasedRunPayment

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

func ServicePeriodFromNotIn

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

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

func ServicePeriodTo

func ServicePeriodTo(v time.Time) predicate.ChargeUsageBasedRunPayment

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

func ServicePeriodToEQ

func ServicePeriodToEQ(v time.Time) predicate.ChargeUsageBasedRunPayment

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

func ServicePeriodToGT

func ServicePeriodToGT(v time.Time) predicate.ChargeUsageBasedRunPayment

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

func ServicePeriodToGTE

func ServicePeriodToGTE(v time.Time) predicate.ChargeUsageBasedRunPayment

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

func ServicePeriodToIn

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

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

func ServicePeriodToLT

func ServicePeriodToLT(v time.Time) predicate.ChargeUsageBasedRunPayment

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

func ServicePeriodToLTE

func ServicePeriodToLTE(v time.Time) predicate.ChargeUsageBasedRunPayment

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

func ServicePeriodToNEQ

func ServicePeriodToNEQ(v time.Time) predicate.ChargeUsageBasedRunPayment

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

func ServicePeriodToNotIn

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

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

func SettledAt

SettledAt applies equality check predicate on the "settled_at" field. It's identical to SettledAtEQ.

func SettledAtEQ

SettledAtEQ applies the EQ predicate on the "settled_at" field.

func SettledAtGT

SettledAtGT applies the GT predicate on the "settled_at" field.

func SettledAtGTE

SettledAtGTE applies the GTE predicate on the "settled_at" field.

func SettledAtIn

func SettledAtIn(vs ...time.Time) predicate.ChargeUsageBasedRunPayment

SettledAtIn applies the In predicate on the "settled_at" field.

func SettledAtIsNil

func SettledAtIsNil() predicate.ChargeUsageBasedRunPayment

SettledAtIsNil applies the IsNil predicate on the "settled_at" field.

func SettledAtLT

SettledAtLT applies the LT predicate on the "settled_at" field.

func SettledAtLTE

SettledAtLTE applies the LTE predicate on the "settled_at" field.

func SettledAtNEQ

SettledAtNEQ applies the NEQ predicate on the "settled_at" field.

func SettledAtNotIn

func SettledAtNotIn(vs ...time.Time) predicate.ChargeUsageBasedRunPayment

SettledAtNotIn applies the NotIn predicate on the "settled_at" field.

func SettledAtNotNil

func SettledAtNotNil() predicate.ChargeUsageBasedRunPayment

SettledAtNotNil applies the NotNil predicate on the "settled_at" field.

func SettledTransactionGroupID

func SettledTransactionGroupID(v string) predicate.ChargeUsageBasedRunPayment

SettledTransactionGroupID applies equality check predicate on the "settled_transaction_group_id" field. It's identical to SettledTransactionGroupIDEQ.

func SettledTransactionGroupIDContains

func SettledTransactionGroupIDContains(v string) predicate.ChargeUsageBasedRunPayment

SettledTransactionGroupIDContains applies the Contains predicate on the "settled_transaction_group_id" field.

func SettledTransactionGroupIDContainsFold

func SettledTransactionGroupIDContainsFold(v string) predicate.ChargeUsageBasedRunPayment

SettledTransactionGroupIDContainsFold applies the ContainsFold predicate on the "settled_transaction_group_id" field.

func SettledTransactionGroupIDEQ

func SettledTransactionGroupIDEQ(v string) predicate.ChargeUsageBasedRunPayment

SettledTransactionGroupIDEQ applies the EQ predicate on the "settled_transaction_group_id" field.

func SettledTransactionGroupIDEqualFold

func SettledTransactionGroupIDEqualFold(v string) predicate.ChargeUsageBasedRunPayment

SettledTransactionGroupIDEqualFold applies the EqualFold predicate on the "settled_transaction_group_id" field.

func SettledTransactionGroupIDGT

func SettledTransactionGroupIDGT(v string) predicate.ChargeUsageBasedRunPayment

SettledTransactionGroupIDGT applies the GT predicate on the "settled_transaction_group_id" field.

func SettledTransactionGroupIDGTE

func SettledTransactionGroupIDGTE(v string) predicate.ChargeUsageBasedRunPayment

SettledTransactionGroupIDGTE applies the GTE predicate on the "settled_transaction_group_id" field.

func SettledTransactionGroupIDHasPrefix

func SettledTransactionGroupIDHasPrefix(v string) predicate.ChargeUsageBasedRunPayment

SettledTransactionGroupIDHasPrefix applies the HasPrefix predicate on the "settled_transaction_group_id" field.

func SettledTransactionGroupIDHasSuffix

func SettledTransactionGroupIDHasSuffix(v string) predicate.ChargeUsageBasedRunPayment

SettledTransactionGroupIDHasSuffix applies the HasSuffix predicate on the "settled_transaction_group_id" field.

func SettledTransactionGroupIDIn

func SettledTransactionGroupIDIn(vs ...string) predicate.ChargeUsageBasedRunPayment

SettledTransactionGroupIDIn applies the In predicate on the "settled_transaction_group_id" field.

func SettledTransactionGroupIDIsNil

func SettledTransactionGroupIDIsNil() predicate.ChargeUsageBasedRunPayment

SettledTransactionGroupIDIsNil applies the IsNil predicate on the "settled_transaction_group_id" field.

func SettledTransactionGroupIDLT

func SettledTransactionGroupIDLT(v string) predicate.ChargeUsageBasedRunPayment

SettledTransactionGroupIDLT applies the LT predicate on the "settled_transaction_group_id" field.

func SettledTransactionGroupIDLTE

func SettledTransactionGroupIDLTE(v string) predicate.ChargeUsageBasedRunPayment

SettledTransactionGroupIDLTE applies the LTE predicate on the "settled_transaction_group_id" field.

func SettledTransactionGroupIDNEQ

func SettledTransactionGroupIDNEQ(v string) predicate.ChargeUsageBasedRunPayment

SettledTransactionGroupIDNEQ applies the NEQ predicate on the "settled_transaction_group_id" field.

func SettledTransactionGroupIDNotIn

func SettledTransactionGroupIDNotIn(vs ...string) predicate.ChargeUsageBasedRunPayment

SettledTransactionGroupIDNotIn applies the NotIn predicate on the "settled_transaction_group_id" field.

func SettledTransactionGroupIDNotNil

func SettledTransactionGroupIDNotNil() predicate.ChargeUsageBasedRunPayment

SettledTransactionGroupIDNotNil applies the NotNil predicate on the "settled_transaction_group_id" field.

func StatusEQ

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

func StatusIn

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

func StatusNEQ

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

func StatusNotIn

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

func StatusValidator

func StatusValidator(s payment.Status) error

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

func UpdatedAt

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

func UpdatedAtEQ

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

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

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

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

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

func ByAmount

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

ByAmount orders the results by the amount field.

func ByAuthorizedAt

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

ByAuthorizedAt orders the results by the authorized_at field.

func ByAuthorizedTransactionGroupID

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

ByAuthorizedTransactionGroupID orders the results by the authorized_transaction_group_id field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByDeletedAt

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

ByDeletedAt orders the results by the deleted_at field.

func ByID

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

ByID orders the results by the id field.

func ByInvoiceID

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

ByInvoiceID orders the results by the invoice_id field.

func ByLineID

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

ByLineID orders the results by the line_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 BySettledAt

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

BySettledAt orders the results by the settled_at field.

func BySettledTransactionGroupID

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

BySettledTransactionGroupID orders the results by the settled_transaction_group_id field.

func ByStatus

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

ByStatus orders the results by the status 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