billinginvoicelinediscount

package
v1.0.0-beta.193 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the billinginvoicelinediscount type in the database.
	Label = "billing_invoice_line_discount"
	// 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"
	// FieldLineID holds the string denoting the line_id field in the database.
	FieldLineID = "line_id"
	// FieldChildUniqueReferenceID holds the string denoting the child_unique_reference_id field in the database.
	FieldChildUniqueReferenceID = "child_unique_reference_id"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldAmount holds the string denoting the amount field in the database.
	FieldAmount = "amount"
	// FieldInvoicingAppExternalID holds the string denoting the invoicing_app_external_id field in the database.
	FieldInvoicingAppExternalID = "invoicing_app_external_id"
	// EdgeBillingInvoiceLine holds the string denoting the billing_invoice_line edge name in mutations.
	EdgeBillingInvoiceLine = "billing_invoice_line"
	// Table holds the table name of the billinginvoicelinediscount in the database.
	Table = "billing_invoice_line_discounts"
	// BillingInvoiceLineTable is the table that holds the billing_invoice_line relation/edge.
	BillingInvoiceLineTable = "billing_invoice_line_discounts"
	// 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"
)

Variables

View Source
var (
	// NamespaceValidator is a validator for the "namespace" field. It is called by the builders before save.
	NamespaceValidator func(string) error
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

Columns holds all SQL columns for billinginvoicelinediscount 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 ChildUniqueReferenceID

func ChildUniqueReferenceID(v string) predicate.BillingInvoiceLineDiscount

ChildUniqueReferenceID applies equality check predicate on the "child_unique_reference_id" field. It's identical to ChildUniqueReferenceIDEQ.

func ChildUniqueReferenceIDContains

func ChildUniqueReferenceIDContains(v string) predicate.BillingInvoiceLineDiscount

ChildUniqueReferenceIDContains applies the Contains predicate on the "child_unique_reference_id" field.

func ChildUniqueReferenceIDContainsFold

func ChildUniqueReferenceIDContainsFold(v string) predicate.BillingInvoiceLineDiscount

ChildUniqueReferenceIDContainsFold applies the ContainsFold predicate on the "child_unique_reference_id" field.

func ChildUniqueReferenceIDEQ

func ChildUniqueReferenceIDEQ(v string) predicate.BillingInvoiceLineDiscount

ChildUniqueReferenceIDEQ applies the EQ predicate on the "child_unique_reference_id" field.

func ChildUniqueReferenceIDEqualFold

func ChildUniqueReferenceIDEqualFold(v string) predicate.BillingInvoiceLineDiscount

ChildUniqueReferenceIDEqualFold applies the EqualFold predicate on the "child_unique_reference_id" field.

func ChildUniqueReferenceIDGT

func ChildUniqueReferenceIDGT(v string) predicate.BillingInvoiceLineDiscount

ChildUniqueReferenceIDGT applies the GT predicate on the "child_unique_reference_id" field.

func ChildUniqueReferenceIDGTE

func ChildUniqueReferenceIDGTE(v string) predicate.BillingInvoiceLineDiscount

ChildUniqueReferenceIDGTE applies the GTE predicate on the "child_unique_reference_id" field.

func ChildUniqueReferenceIDHasPrefix

func ChildUniqueReferenceIDHasPrefix(v string) predicate.BillingInvoiceLineDiscount

ChildUniqueReferenceIDHasPrefix applies the HasPrefix predicate on the "child_unique_reference_id" field.

func ChildUniqueReferenceIDHasSuffix

func ChildUniqueReferenceIDHasSuffix(v string) predicate.BillingInvoiceLineDiscount

ChildUniqueReferenceIDHasSuffix applies the HasSuffix predicate on the "child_unique_reference_id" field.

func ChildUniqueReferenceIDIn

func ChildUniqueReferenceIDIn(vs ...string) predicate.BillingInvoiceLineDiscount

ChildUniqueReferenceIDIn applies the In predicate on the "child_unique_reference_id" field.

func ChildUniqueReferenceIDIsNil

func ChildUniqueReferenceIDIsNil() predicate.BillingInvoiceLineDiscount

ChildUniqueReferenceIDIsNil applies the IsNil predicate on the "child_unique_reference_id" field.

func ChildUniqueReferenceIDLT

func ChildUniqueReferenceIDLT(v string) predicate.BillingInvoiceLineDiscount

ChildUniqueReferenceIDLT applies the LT predicate on the "child_unique_reference_id" field.

func ChildUniqueReferenceIDLTE

func ChildUniqueReferenceIDLTE(v string) predicate.BillingInvoiceLineDiscount

ChildUniqueReferenceIDLTE applies the LTE predicate on the "child_unique_reference_id" field.

func ChildUniqueReferenceIDNEQ

func ChildUniqueReferenceIDNEQ(v string) predicate.BillingInvoiceLineDiscount

ChildUniqueReferenceIDNEQ applies the NEQ predicate on the "child_unique_reference_id" field.

func ChildUniqueReferenceIDNotIn

func ChildUniqueReferenceIDNotIn(vs ...string) predicate.BillingInvoiceLineDiscount

ChildUniqueReferenceIDNotIn applies the NotIn predicate on the "child_unique_reference_id" field.

func ChildUniqueReferenceIDNotNil

func ChildUniqueReferenceIDNotNil() predicate.BillingInvoiceLineDiscount

ChildUniqueReferenceIDNotNil applies the NotNil predicate on the "child_unique_reference_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.BillingInvoiceLineDiscount

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

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.BillingInvoiceLineDiscount

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.BillingInvoiceLineDiscount

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

func Description

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

func DescriptionContains

func DescriptionContains(v string) predicate.BillingInvoiceLineDiscount

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.BillingInvoiceLineDiscount

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

func DescriptionEQ

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.BillingInvoiceLineDiscount

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

func DescriptionGT

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

func DescriptionGTE

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.BillingInvoiceLineDiscount

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.BillingInvoiceLineDiscount

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

func DescriptionIn

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

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

func DescriptionIsNil

func DescriptionIsNil() predicate.BillingInvoiceLineDiscount

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

func DescriptionLT

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

func DescriptionLTE

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

func DescriptionNEQ

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

func DescriptionNotIn

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

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

func DescriptionNotNil

func DescriptionNotNil() predicate.BillingInvoiceLineDiscount

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

func HasBillingInvoiceLine

func HasBillingInvoiceLine() predicate.BillingInvoiceLineDiscount

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

func HasBillingInvoiceLineWith

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

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

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.BillingInvoiceLineDiscount

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 InvoicingAppExternalID

func InvoicingAppExternalID(v string) predicate.BillingInvoiceLineDiscount

InvoicingAppExternalID applies equality check predicate on the "invoicing_app_external_id" field. It's identical to InvoicingAppExternalIDEQ.

func InvoicingAppExternalIDContains

func InvoicingAppExternalIDContains(v string) predicate.BillingInvoiceLineDiscount

InvoicingAppExternalIDContains applies the Contains predicate on the "invoicing_app_external_id" field.

func InvoicingAppExternalIDContainsFold

func InvoicingAppExternalIDContainsFold(v string) predicate.BillingInvoiceLineDiscount

InvoicingAppExternalIDContainsFold applies the ContainsFold predicate on the "invoicing_app_external_id" field.

func InvoicingAppExternalIDEQ

func InvoicingAppExternalIDEQ(v string) predicate.BillingInvoiceLineDiscount

InvoicingAppExternalIDEQ applies the EQ predicate on the "invoicing_app_external_id" field.

func InvoicingAppExternalIDEqualFold

func InvoicingAppExternalIDEqualFold(v string) predicate.BillingInvoiceLineDiscount

InvoicingAppExternalIDEqualFold applies the EqualFold predicate on the "invoicing_app_external_id" field.

func InvoicingAppExternalIDGT

func InvoicingAppExternalIDGT(v string) predicate.BillingInvoiceLineDiscount

InvoicingAppExternalIDGT applies the GT predicate on the "invoicing_app_external_id" field.

func InvoicingAppExternalIDGTE

func InvoicingAppExternalIDGTE(v string) predicate.BillingInvoiceLineDiscount

InvoicingAppExternalIDGTE applies the GTE predicate on the "invoicing_app_external_id" field.

func InvoicingAppExternalIDHasPrefix

func InvoicingAppExternalIDHasPrefix(v string) predicate.BillingInvoiceLineDiscount

InvoicingAppExternalIDHasPrefix applies the HasPrefix predicate on the "invoicing_app_external_id" field.

func InvoicingAppExternalIDHasSuffix

func InvoicingAppExternalIDHasSuffix(v string) predicate.BillingInvoiceLineDiscount

InvoicingAppExternalIDHasSuffix applies the HasSuffix predicate on the "invoicing_app_external_id" field.

func InvoicingAppExternalIDIn

func InvoicingAppExternalIDIn(vs ...string) predicate.BillingInvoiceLineDiscount

InvoicingAppExternalIDIn applies the In predicate on the "invoicing_app_external_id" field.

func InvoicingAppExternalIDIsNil

func InvoicingAppExternalIDIsNil() predicate.BillingInvoiceLineDiscount

InvoicingAppExternalIDIsNil applies the IsNil predicate on the "invoicing_app_external_id" field.

func InvoicingAppExternalIDLT

func InvoicingAppExternalIDLT(v string) predicate.BillingInvoiceLineDiscount

InvoicingAppExternalIDLT applies the LT predicate on the "invoicing_app_external_id" field.

func InvoicingAppExternalIDLTE

func InvoicingAppExternalIDLTE(v string) predicate.BillingInvoiceLineDiscount

InvoicingAppExternalIDLTE applies the LTE predicate on the "invoicing_app_external_id" field.

func InvoicingAppExternalIDNEQ

func InvoicingAppExternalIDNEQ(v string) predicate.BillingInvoiceLineDiscount

InvoicingAppExternalIDNEQ applies the NEQ predicate on the "invoicing_app_external_id" field.

func InvoicingAppExternalIDNotIn

func InvoicingAppExternalIDNotIn(vs ...string) predicate.BillingInvoiceLineDiscount

InvoicingAppExternalIDNotIn applies the NotIn predicate on the "invoicing_app_external_id" field.

func InvoicingAppExternalIDNotNil

func InvoicingAppExternalIDNotNil() predicate.BillingInvoiceLineDiscount

InvoicingAppExternalIDNotNil applies the NotNil predicate on the "invoicing_app_external_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.BillingInvoiceLineDiscount

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

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

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

func LineIDHasSuffix

func LineIDHasSuffix(v string) predicate.BillingInvoiceLineDiscount

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

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

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

func NamespaceContainsFold

func NamespaceContainsFold(v string) predicate.BillingInvoiceLineDiscount

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

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

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

func NamespaceHasSuffix

func NamespaceHasSuffix(v string) predicate.BillingInvoiceLineDiscount

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

func NamespaceIn

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

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

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

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

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

func ByAmount

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

ByAmount orders the results by the amount field.

func ByBillingInvoiceLineField

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

ByBillingInvoiceLineField orders the results by billing_invoice_line field.

func ByChildUniqueReferenceID

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

ByChildUniqueReferenceID orders the results by the child_unique_reference_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 ByDescription

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

ByDescription orders the results by the description field.

func ByID

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

ByID orders the results by the id field.

func ByInvoicingAppExternalID

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

ByInvoicingAppExternalID orders the results by the invoicing_app_external_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 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