invoice

package
v1.0.49 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the invoice type in the database.
	Label = "invoice"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldTenantID holds the string denoting the tenant_id field in the database.
	FieldTenantID = "tenant_id"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// 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"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldEnvironmentID holds the string denoting the environment_id field in the database.
	FieldEnvironmentID = "environment_id"
	// FieldCustomerID holds the string denoting the customer_id field in the database.
	FieldCustomerID = "customer_id"
	// FieldSubscriptionID holds the string denoting the subscription_id field in the database.
	FieldSubscriptionID = "subscription_id"
	// FieldInvoiceType holds the string denoting the invoice_type field in the database.
	FieldInvoiceType = "invoice_type"
	// FieldInvoiceStatus holds the string denoting the invoice_status field in the database.
	FieldInvoiceStatus = "invoice_status"
	// FieldPaymentStatus holds the string denoting the payment_status field in the database.
	FieldPaymentStatus = "payment_status"
	// FieldCurrency holds the string denoting the currency field in the database.
	FieldCurrency = "currency"
	// FieldAmountDue holds the string denoting the amount_due field in the database.
	FieldAmountDue = "amount_due"
	// FieldAmountPaid holds the string denoting the amount_paid field in the database.
	FieldAmountPaid = "amount_paid"
	// FieldAmountRemaining holds the string denoting the amount_remaining field in the database.
	FieldAmountRemaining = "amount_remaining"
	// FieldSubtotal holds the string denoting the subtotal field in the database.
	FieldSubtotal = "subtotal"
	// FieldAdjustmentAmount holds the string denoting the adjustment_amount field in the database.
	FieldAdjustmentAmount = "adjustment_amount"
	// FieldRefundedAmount holds the string denoting the refunded_amount field in the database.
	FieldRefundedAmount = "refunded_amount"
	// FieldTotalTax holds the string denoting the total_tax field in the database.
	FieldTotalTax = "total_tax"
	// FieldTotalDiscount holds the string denoting the total_discount field in the database.
	FieldTotalDiscount = "total_discount"
	// FieldTotal holds the string denoting the total field in the database.
	FieldTotal = "total"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldDueDate holds the string denoting the due_date field in the database.
	FieldDueDate = "due_date"
	// FieldPaidAt holds the string denoting the paid_at field in the database.
	FieldPaidAt = "paid_at"
	// FieldVoidedAt holds the string denoting the voided_at field in the database.
	FieldVoidedAt = "voided_at"
	// FieldFinalizedAt holds the string denoting the finalized_at field in the database.
	FieldFinalizedAt = "finalized_at"
	// FieldBillingPeriod holds the string denoting the billing_period field in the database.
	FieldBillingPeriod = "billing_period"
	// FieldPeriodStart holds the string denoting the period_start field in the database.
	FieldPeriodStart = "period_start"
	// FieldPeriodEnd holds the string denoting the period_end field in the database.
	FieldPeriodEnd = "period_end"
	// FieldInvoicePdfURL holds the string denoting the invoice_pdf_url field in the database.
	FieldInvoicePdfURL = "invoice_pdf_url"
	// FieldBillingReason holds the string denoting the billing_reason field in the database.
	FieldBillingReason = "billing_reason"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// FieldInvoiceNumber holds the string denoting the invoice_number field in the database.
	FieldInvoiceNumber = "invoice_number"
	// FieldBillingSequence holds the string denoting the billing_sequence field in the database.
	FieldBillingSequence = "billing_sequence"
	// FieldIdempotencyKey holds the string denoting the idempotency_key field in the database.
	FieldIdempotencyKey = "idempotency_key"
	// EdgeLineItems holds the string denoting the line_items edge name in mutations.
	EdgeLineItems = "line_items"
	// EdgeCouponApplications holds the string denoting the coupon_applications edge name in mutations.
	EdgeCouponApplications = "coupon_applications"
	// Table holds the table name of the invoice in the database.
	Table = "invoices"
	// LineItemsTable is the table that holds the line_items relation/edge.
	LineItemsTable = "invoice_line_items"
	// LineItemsInverseTable is the table name for the InvoiceLineItem entity.
	// It exists in this package in order to avoid circular dependency with the "invoicelineitem" package.
	LineItemsInverseTable = "invoice_line_items"
	// LineItemsColumn is the table column denoting the line_items relation/edge.
	LineItemsColumn = "invoice_id"
	// CouponApplicationsTable is the table that holds the coupon_applications relation/edge.
	CouponApplicationsTable = "coupon_applications"
	// CouponApplicationsInverseTable is the table name for the CouponApplication entity.
	// It exists in this package in order to avoid circular dependency with the "couponapplication" package.
	CouponApplicationsInverseTable = "coupon_applications"
	// CouponApplicationsColumn is the table column denoting the coupon_applications relation/edge.
	CouponApplicationsColumn = "invoice_id"
)

Variables

View Source
var (
	// TenantIDValidator is a validator for the "tenant_id" field. It is called by the builders before save.
	TenantIDValidator func(string) error
	// DefaultStatus holds the default value on creation for the "status" field.
	DefaultStatus string
	// 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
	// DefaultEnvironmentID holds the default value on creation for the "environment_id" field.
	DefaultEnvironmentID string
	// CustomerIDValidator is a validator for the "customer_id" field. It is called by the builders before save.
	CustomerIDValidator func(string) error
	// InvoiceTypeValidator is a validator for the "invoice_type" field. It is called by the builders before save.
	InvoiceTypeValidator func(string) error
	// DefaultInvoiceStatus holds the default value on creation for the "invoice_status" field.
	DefaultInvoiceStatus types.InvoiceStatus
	// DefaultPaymentStatus holds the default value on creation for the "payment_status" field.
	DefaultPaymentStatus types.PaymentStatus
	// CurrencyValidator is a validator for the "currency" field. It is called by the builders before save.
	CurrencyValidator func(string) error
	// DefaultAmountDue holds the default value on creation for the "amount_due" field.
	DefaultAmountDue decimal.Decimal
	// DefaultAmountPaid holds the default value on creation for the "amount_paid" field.
	DefaultAmountPaid decimal.Decimal
	// DefaultAmountRemaining holds the default value on creation for the "amount_remaining" field.
	DefaultAmountRemaining decimal.Decimal
	// DefaultSubtotal holds the default value on creation for the "subtotal" field.
	DefaultSubtotal decimal.Decimal
	// DefaultAdjustmentAmount holds the default value on creation for the "adjustment_amount" field.
	DefaultAdjustmentAmount decimal.Decimal
	// DefaultRefundedAmount holds the default value on creation for the "refunded_amount" field.
	DefaultRefundedAmount decimal.Decimal
	// DefaultTotalTax holds the default value on creation for the "total_tax" field.
	DefaultTotalTax decimal.Decimal
	// DefaultTotalDiscount holds the default value on creation for the "total_discount" field.
	DefaultTotalDiscount decimal.Decimal
	// DefaultTotal holds the default value on creation for the "total" field.
	DefaultTotal decimal.Decimal
	// DefaultVersion holds the default value on creation for the "version" field.
	DefaultVersion int
)

Columns holds all SQL columns for invoice fields.

Functions

func AdjustmentAmount added in v1.0.18

func AdjustmentAmount(v decimal.Decimal) predicate.Invoice

AdjustmentAmount applies equality check predicate on the "adjustment_amount" field. It's identical to AdjustmentAmountEQ.

func AdjustmentAmountEQ added in v1.0.18

func AdjustmentAmountEQ(v decimal.Decimal) predicate.Invoice

AdjustmentAmountEQ applies the EQ predicate on the "adjustment_amount" field.

func AdjustmentAmountGT added in v1.0.18

func AdjustmentAmountGT(v decimal.Decimal) predicate.Invoice

AdjustmentAmountGT applies the GT predicate on the "adjustment_amount" field.

func AdjustmentAmountGTE added in v1.0.18

func AdjustmentAmountGTE(v decimal.Decimal) predicate.Invoice

AdjustmentAmountGTE applies the GTE predicate on the "adjustment_amount" field.

func AdjustmentAmountIn added in v1.0.18

func AdjustmentAmountIn(vs ...decimal.Decimal) predicate.Invoice

AdjustmentAmountIn applies the In predicate on the "adjustment_amount" field.

func AdjustmentAmountIsNil added in v1.0.18

func AdjustmentAmountIsNil() predicate.Invoice

AdjustmentAmountIsNil applies the IsNil predicate on the "adjustment_amount" field.

func AdjustmentAmountLT added in v1.0.18

func AdjustmentAmountLT(v decimal.Decimal) predicate.Invoice

AdjustmentAmountLT applies the LT predicate on the "adjustment_amount" field.

func AdjustmentAmountLTE added in v1.0.18

func AdjustmentAmountLTE(v decimal.Decimal) predicate.Invoice

AdjustmentAmountLTE applies the LTE predicate on the "adjustment_amount" field.

func AdjustmentAmountNEQ added in v1.0.18

func AdjustmentAmountNEQ(v decimal.Decimal) predicate.Invoice

AdjustmentAmountNEQ applies the NEQ predicate on the "adjustment_amount" field.

func AdjustmentAmountNotIn added in v1.0.18

func AdjustmentAmountNotIn(vs ...decimal.Decimal) predicate.Invoice

AdjustmentAmountNotIn applies the NotIn predicate on the "adjustment_amount" field.

func AdjustmentAmountNotNil added in v1.0.18

func AdjustmentAmountNotNil() predicate.Invoice

AdjustmentAmountNotNil applies the NotNil predicate on the "adjustment_amount" field.

func AmountDue

func AmountDue(v decimal.Decimal) predicate.Invoice

AmountDue applies equality check predicate on the "amount_due" field. It's identical to AmountDueEQ.

func AmountDueEQ

func AmountDueEQ(v decimal.Decimal) predicate.Invoice

AmountDueEQ applies the EQ predicate on the "amount_due" field.

func AmountDueGT

func AmountDueGT(v decimal.Decimal) predicate.Invoice

AmountDueGT applies the GT predicate on the "amount_due" field.

func AmountDueGTE

func AmountDueGTE(v decimal.Decimal) predicate.Invoice

AmountDueGTE applies the GTE predicate on the "amount_due" field.

func AmountDueIn

func AmountDueIn(vs ...decimal.Decimal) predicate.Invoice

AmountDueIn applies the In predicate on the "amount_due" field.

func AmountDueLT

func AmountDueLT(v decimal.Decimal) predicate.Invoice

AmountDueLT applies the LT predicate on the "amount_due" field.

func AmountDueLTE

func AmountDueLTE(v decimal.Decimal) predicate.Invoice

AmountDueLTE applies the LTE predicate on the "amount_due" field.

func AmountDueNEQ

func AmountDueNEQ(v decimal.Decimal) predicate.Invoice

AmountDueNEQ applies the NEQ predicate on the "amount_due" field.

func AmountDueNotIn

func AmountDueNotIn(vs ...decimal.Decimal) predicate.Invoice

AmountDueNotIn applies the NotIn predicate on the "amount_due" field.

func AmountPaid

func AmountPaid(v decimal.Decimal) predicate.Invoice

AmountPaid applies equality check predicate on the "amount_paid" field. It's identical to AmountPaidEQ.

func AmountPaidEQ

func AmountPaidEQ(v decimal.Decimal) predicate.Invoice

AmountPaidEQ applies the EQ predicate on the "amount_paid" field.

func AmountPaidGT

func AmountPaidGT(v decimal.Decimal) predicate.Invoice

AmountPaidGT applies the GT predicate on the "amount_paid" field.

func AmountPaidGTE

func AmountPaidGTE(v decimal.Decimal) predicate.Invoice

AmountPaidGTE applies the GTE predicate on the "amount_paid" field.

func AmountPaidIn

func AmountPaidIn(vs ...decimal.Decimal) predicate.Invoice

AmountPaidIn applies the In predicate on the "amount_paid" field.

func AmountPaidLT

func AmountPaidLT(v decimal.Decimal) predicate.Invoice

AmountPaidLT applies the LT predicate on the "amount_paid" field.

func AmountPaidLTE

func AmountPaidLTE(v decimal.Decimal) predicate.Invoice

AmountPaidLTE applies the LTE predicate on the "amount_paid" field.

func AmountPaidNEQ

func AmountPaidNEQ(v decimal.Decimal) predicate.Invoice

AmountPaidNEQ applies the NEQ predicate on the "amount_paid" field.

func AmountPaidNotIn

func AmountPaidNotIn(vs ...decimal.Decimal) predicate.Invoice

AmountPaidNotIn applies the NotIn predicate on the "amount_paid" field.

func AmountRemaining

func AmountRemaining(v decimal.Decimal) predicate.Invoice

AmountRemaining applies equality check predicate on the "amount_remaining" field. It's identical to AmountRemainingEQ.

func AmountRemainingEQ

func AmountRemainingEQ(v decimal.Decimal) predicate.Invoice

AmountRemainingEQ applies the EQ predicate on the "amount_remaining" field.

func AmountRemainingGT

func AmountRemainingGT(v decimal.Decimal) predicate.Invoice

AmountRemainingGT applies the GT predicate on the "amount_remaining" field.

func AmountRemainingGTE

func AmountRemainingGTE(v decimal.Decimal) predicate.Invoice

AmountRemainingGTE applies the GTE predicate on the "amount_remaining" field.

func AmountRemainingIn

func AmountRemainingIn(vs ...decimal.Decimal) predicate.Invoice

AmountRemainingIn applies the In predicate on the "amount_remaining" field.

func AmountRemainingLT

func AmountRemainingLT(v decimal.Decimal) predicate.Invoice

AmountRemainingLT applies the LT predicate on the "amount_remaining" field.

func AmountRemainingLTE

func AmountRemainingLTE(v decimal.Decimal) predicate.Invoice

AmountRemainingLTE applies the LTE predicate on the "amount_remaining" field.

func AmountRemainingNEQ

func AmountRemainingNEQ(v decimal.Decimal) predicate.Invoice

AmountRemainingNEQ applies the NEQ predicate on the "amount_remaining" field.

func AmountRemainingNotIn

func AmountRemainingNotIn(vs ...decimal.Decimal) predicate.Invoice

AmountRemainingNotIn applies the NotIn predicate on the "amount_remaining" field.

func And

func And(predicates ...predicate.Invoice) predicate.Invoice

And groups predicates with the AND operator between them.

func BillingPeriod

func BillingPeriod(v types.BillingPeriod) predicate.Invoice

BillingPeriod applies equality check predicate on the "billing_period" field. It's identical to BillingPeriodEQ.

func BillingPeriodContains

func BillingPeriodContains(v types.BillingPeriod) predicate.Invoice

BillingPeriodContains applies the Contains predicate on the "billing_period" field.

func BillingPeriodContainsFold

func BillingPeriodContainsFold(v types.BillingPeriod) predicate.Invoice

BillingPeriodContainsFold applies the ContainsFold predicate on the "billing_period" field.

func BillingPeriodEQ

func BillingPeriodEQ(v types.BillingPeriod) predicate.Invoice

BillingPeriodEQ applies the EQ predicate on the "billing_period" field.

func BillingPeriodEqualFold

func BillingPeriodEqualFold(v types.BillingPeriod) predicate.Invoice

BillingPeriodEqualFold applies the EqualFold predicate on the "billing_period" field.

func BillingPeriodGT

func BillingPeriodGT(v types.BillingPeriod) predicate.Invoice

BillingPeriodGT applies the GT predicate on the "billing_period" field.

func BillingPeriodGTE

func BillingPeriodGTE(v types.BillingPeriod) predicate.Invoice

BillingPeriodGTE applies the GTE predicate on the "billing_period" field.

func BillingPeriodHasPrefix

func BillingPeriodHasPrefix(v types.BillingPeriod) predicate.Invoice

BillingPeriodHasPrefix applies the HasPrefix predicate on the "billing_period" field.

func BillingPeriodHasSuffix

func BillingPeriodHasSuffix(v types.BillingPeriod) predicate.Invoice

BillingPeriodHasSuffix applies the HasSuffix predicate on the "billing_period" field.

func BillingPeriodIn

func BillingPeriodIn(vs ...types.BillingPeriod) predicate.Invoice

BillingPeriodIn applies the In predicate on the "billing_period" field.

func BillingPeriodIsNil

func BillingPeriodIsNil() predicate.Invoice

BillingPeriodIsNil applies the IsNil predicate on the "billing_period" field.

func BillingPeriodLT

func BillingPeriodLT(v types.BillingPeriod) predicate.Invoice

BillingPeriodLT applies the LT predicate on the "billing_period" field.

func BillingPeriodLTE

func BillingPeriodLTE(v types.BillingPeriod) predicate.Invoice

BillingPeriodLTE applies the LTE predicate on the "billing_period" field.

func BillingPeriodNEQ

func BillingPeriodNEQ(v types.BillingPeriod) predicate.Invoice

BillingPeriodNEQ applies the NEQ predicate on the "billing_period" field.

func BillingPeriodNotIn

func BillingPeriodNotIn(vs ...types.BillingPeriod) predicate.Invoice

BillingPeriodNotIn applies the NotIn predicate on the "billing_period" field.

func BillingPeriodNotNil

func BillingPeriodNotNil() predicate.Invoice

BillingPeriodNotNil applies the NotNil predicate on the "billing_period" field.

func BillingReason

func BillingReason(v string) predicate.Invoice

BillingReason applies equality check predicate on the "billing_reason" field. It's identical to BillingReasonEQ.

func BillingReasonContains

func BillingReasonContains(v string) predicate.Invoice

BillingReasonContains applies the Contains predicate on the "billing_reason" field.

func BillingReasonContainsFold

func BillingReasonContainsFold(v string) predicate.Invoice

BillingReasonContainsFold applies the ContainsFold predicate on the "billing_reason" field.

func BillingReasonEQ

func BillingReasonEQ(v string) predicate.Invoice

BillingReasonEQ applies the EQ predicate on the "billing_reason" field.

func BillingReasonEqualFold

func BillingReasonEqualFold(v string) predicate.Invoice

BillingReasonEqualFold applies the EqualFold predicate on the "billing_reason" field.

func BillingReasonGT

func BillingReasonGT(v string) predicate.Invoice

BillingReasonGT applies the GT predicate on the "billing_reason" field.

func BillingReasonGTE

func BillingReasonGTE(v string) predicate.Invoice

BillingReasonGTE applies the GTE predicate on the "billing_reason" field.

func BillingReasonHasPrefix

func BillingReasonHasPrefix(v string) predicate.Invoice

BillingReasonHasPrefix applies the HasPrefix predicate on the "billing_reason" field.

func BillingReasonHasSuffix

func BillingReasonHasSuffix(v string) predicate.Invoice

BillingReasonHasSuffix applies the HasSuffix predicate on the "billing_reason" field.

func BillingReasonIn

func BillingReasonIn(vs ...string) predicate.Invoice

BillingReasonIn applies the In predicate on the "billing_reason" field.

func BillingReasonIsNil

func BillingReasonIsNil() predicate.Invoice

BillingReasonIsNil applies the IsNil predicate on the "billing_reason" field.

func BillingReasonLT

func BillingReasonLT(v string) predicate.Invoice

BillingReasonLT applies the LT predicate on the "billing_reason" field.

func BillingReasonLTE

func BillingReasonLTE(v string) predicate.Invoice

BillingReasonLTE applies the LTE predicate on the "billing_reason" field.

func BillingReasonNEQ

func BillingReasonNEQ(v string) predicate.Invoice

BillingReasonNEQ applies the NEQ predicate on the "billing_reason" field.

func BillingReasonNotIn

func BillingReasonNotIn(vs ...string) predicate.Invoice

BillingReasonNotIn applies the NotIn predicate on the "billing_reason" field.

func BillingReasonNotNil

func BillingReasonNotNil() predicate.Invoice

BillingReasonNotNil applies the NotNil predicate on the "billing_reason" field.

func BillingSequence

func BillingSequence(v int) predicate.Invoice

BillingSequence applies equality check predicate on the "billing_sequence" field. It's identical to BillingSequenceEQ.

func BillingSequenceEQ

func BillingSequenceEQ(v int) predicate.Invoice

BillingSequenceEQ applies the EQ predicate on the "billing_sequence" field.

func BillingSequenceGT

func BillingSequenceGT(v int) predicate.Invoice

BillingSequenceGT applies the GT predicate on the "billing_sequence" field.

func BillingSequenceGTE

func BillingSequenceGTE(v int) predicate.Invoice

BillingSequenceGTE applies the GTE predicate on the "billing_sequence" field.

func BillingSequenceIn

func BillingSequenceIn(vs ...int) predicate.Invoice

BillingSequenceIn applies the In predicate on the "billing_sequence" field.

func BillingSequenceIsNil

func BillingSequenceIsNil() predicate.Invoice

BillingSequenceIsNil applies the IsNil predicate on the "billing_sequence" field.

func BillingSequenceLT

func BillingSequenceLT(v int) predicate.Invoice

BillingSequenceLT applies the LT predicate on the "billing_sequence" field.

func BillingSequenceLTE

func BillingSequenceLTE(v int) predicate.Invoice

BillingSequenceLTE applies the LTE predicate on the "billing_sequence" field.

func BillingSequenceNEQ

func BillingSequenceNEQ(v int) predicate.Invoice

BillingSequenceNEQ applies the NEQ predicate on the "billing_sequence" field.

func BillingSequenceNotIn

func BillingSequenceNotIn(vs ...int) predicate.Invoice

BillingSequenceNotIn applies the NotIn predicate on the "billing_sequence" field.

func BillingSequenceNotNil

func BillingSequenceNotNil() predicate.Invoice

BillingSequenceNotNil applies the NotNil predicate on the "billing_sequence" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Invoice

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Invoice

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Invoice

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Invoice

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Invoice

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Invoice

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Invoice

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

func CreatedAtNotIn

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

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

func CreatedBy

func CreatedBy(v string) predicate.Invoice

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByContains

func CreatedByContains(v string) predicate.Invoice

CreatedByContains applies the Contains predicate on the "created_by" field.

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.Invoice

CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.

func CreatedByEQ

func CreatedByEQ(v string) predicate.Invoice

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.Invoice

CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v string) predicate.Invoice

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v string) predicate.Invoice

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.Invoice

CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.Invoice

CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...string) predicate.Invoice

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByIsNil

func CreatedByIsNil() predicate.Invoice

CreatedByIsNil applies the IsNil predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v string) predicate.Invoice

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v string) predicate.Invoice

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.Invoice

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...string) predicate.Invoice

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func CreatedByNotNil

func CreatedByNotNil() predicate.Invoice

CreatedByNotNil applies the NotNil predicate on the "created_by" field.

func Currency

func Currency(v string) predicate.Invoice

Currency applies equality check predicate on the "currency" field. It's identical to CurrencyEQ.

func CurrencyContains

func CurrencyContains(v string) predicate.Invoice

CurrencyContains applies the Contains predicate on the "currency" field.

func CurrencyContainsFold

func CurrencyContainsFold(v string) predicate.Invoice

CurrencyContainsFold applies the ContainsFold predicate on the "currency" field.

func CurrencyEQ

func CurrencyEQ(v string) predicate.Invoice

CurrencyEQ applies the EQ predicate on the "currency" field.

func CurrencyEqualFold

func CurrencyEqualFold(v string) predicate.Invoice

CurrencyEqualFold applies the EqualFold predicate on the "currency" field.

func CurrencyGT

func CurrencyGT(v string) predicate.Invoice

CurrencyGT applies the GT predicate on the "currency" field.

func CurrencyGTE

func CurrencyGTE(v string) predicate.Invoice

CurrencyGTE applies the GTE predicate on the "currency" field.

func CurrencyHasPrefix

func CurrencyHasPrefix(v string) predicate.Invoice

CurrencyHasPrefix applies the HasPrefix predicate on the "currency" field.

func CurrencyHasSuffix

func CurrencyHasSuffix(v string) predicate.Invoice

CurrencyHasSuffix applies the HasSuffix predicate on the "currency" field.

func CurrencyIn

func CurrencyIn(vs ...string) predicate.Invoice

CurrencyIn applies the In predicate on the "currency" field.

func CurrencyLT

func CurrencyLT(v string) predicate.Invoice

CurrencyLT applies the LT predicate on the "currency" field.

func CurrencyLTE

func CurrencyLTE(v string) predicate.Invoice

CurrencyLTE applies the LTE predicate on the "currency" field.

func CurrencyNEQ

func CurrencyNEQ(v string) predicate.Invoice

CurrencyNEQ applies the NEQ predicate on the "currency" field.

func CurrencyNotIn

func CurrencyNotIn(vs ...string) predicate.Invoice

CurrencyNotIn applies the NotIn predicate on the "currency" field.

func CustomerID

func CustomerID(v string) predicate.Invoice

CustomerID applies equality check predicate on the "customer_id" field. It's identical to CustomerIDEQ.

func CustomerIDContains

func CustomerIDContains(v string) predicate.Invoice

CustomerIDContains applies the Contains predicate on the "customer_id" field.

func CustomerIDContainsFold

func CustomerIDContainsFold(v string) predicate.Invoice

CustomerIDContainsFold applies the ContainsFold predicate on the "customer_id" field.

func CustomerIDEQ

func CustomerIDEQ(v string) predicate.Invoice

CustomerIDEQ applies the EQ predicate on the "customer_id" field.

func CustomerIDEqualFold

func CustomerIDEqualFold(v string) predicate.Invoice

CustomerIDEqualFold applies the EqualFold predicate on the "customer_id" field.

func CustomerIDGT

func CustomerIDGT(v string) predicate.Invoice

CustomerIDGT applies the GT predicate on the "customer_id" field.

func CustomerIDGTE

func CustomerIDGTE(v string) predicate.Invoice

CustomerIDGTE applies the GTE predicate on the "customer_id" field.

func CustomerIDHasPrefix

func CustomerIDHasPrefix(v string) predicate.Invoice

CustomerIDHasPrefix applies the HasPrefix predicate on the "customer_id" field.

func CustomerIDHasSuffix

func CustomerIDHasSuffix(v string) predicate.Invoice

CustomerIDHasSuffix applies the HasSuffix predicate on the "customer_id" field.

func CustomerIDIn

func CustomerIDIn(vs ...string) predicate.Invoice

CustomerIDIn applies the In predicate on the "customer_id" field.

func CustomerIDLT

func CustomerIDLT(v string) predicate.Invoice

CustomerIDLT applies the LT predicate on the "customer_id" field.

func CustomerIDLTE

func CustomerIDLTE(v string) predicate.Invoice

CustomerIDLTE applies the LTE predicate on the "customer_id" field.

func CustomerIDNEQ

func CustomerIDNEQ(v string) predicate.Invoice

CustomerIDNEQ applies the NEQ predicate on the "customer_id" field.

func CustomerIDNotIn

func CustomerIDNotIn(vs ...string) predicate.Invoice

CustomerIDNotIn applies the NotIn predicate on the "customer_id" field.

func Description

func Description(v string) predicate.Invoice

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

func DescriptionContains

func DescriptionContains(v string) predicate.Invoice

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Invoice

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.Invoice

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Invoice

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

func DescriptionGT

func DescriptionGT(v string) predicate.Invoice

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.Invoice

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Invoice

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Invoice

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

func DescriptionIn

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

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

func DescriptionIsNil

func DescriptionIsNil() predicate.Invoice

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

func DescriptionLT

func DescriptionLT(v string) predicate.Invoice

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.Invoice

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Invoice

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

func DescriptionNotIn

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

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

func DescriptionNotNil

func DescriptionNotNil() predicate.Invoice

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

func DueDate

func DueDate(v time.Time) predicate.Invoice

DueDate applies equality check predicate on the "due_date" field. It's identical to DueDateEQ.

func DueDateEQ

func DueDateEQ(v time.Time) predicate.Invoice

DueDateEQ applies the EQ predicate on the "due_date" field.

func DueDateGT

func DueDateGT(v time.Time) predicate.Invoice

DueDateGT applies the GT predicate on the "due_date" field.

func DueDateGTE

func DueDateGTE(v time.Time) predicate.Invoice

DueDateGTE applies the GTE predicate on the "due_date" field.

func DueDateIn

func DueDateIn(vs ...time.Time) predicate.Invoice

DueDateIn applies the In predicate on the "due_date" field.

func DueDateIsNil

func DueDateIsNil() predicate.Invoice

DueDateIsNil applies the IsNil predicate on the "due_date" field.

func DueDateLT

func DueDateLT(v time.Time) predicate.Invoice

DueDateLT applies the LT predicate on the "due_date" field.

func DueDateLTE

func DueDateLTE(v time.Time) predicate.Invoice

DueDateLTE applies the LTE predicate on the "due_date" field.

func DueDateNEQ

func DueDateNEQ(v time.Time) predicate.Invoice

DueDateNEQ applies the NEQ predicate on the "due_date" field.

func DueDateNotIn

func DueDateNotIn(vs ...time.Time) predicate.Invoice

DueDateNotIn applies the NotIn predicate on the "due_date" field.

func DueDateNotNil

func DueDateNotNil() predicate.Invoice

DueDateNotNil applies the NotNil predicate on the "due_date" field.

func EnvironmentID

func EnvironmentID(v string) predicate.Invoice

EnvironmentID applies equality check predicate on the "environment_id" field. It's identical to EnvironmentIDEQ.

func EnvironmentIDContains

func EnvironmentIDContains(v string) predicate.Invoice

EnvironmentIDContains applies the Contains predicate on the "environment_id" field.

func EnvironmentIDContainsFold

func EnvironmentIDContainsFold(v string) predicate.Invoice

EnvironmentIDContainsFold applies the ContainsFold predicate on the "environment_id" field.

func EnvironmentIDEQ

func EnvironmentIDEQ(v string) predicate.Invoice

EnvironmentIDEQ applies the EQ predicate on the "environment_id" field.

func EnvironmentIDEqualFold

func EnvironmentIDEqualFold(v string) predicate.Invoice

EnvironmentIDEqualFold applies the EqualFold predicate on the "environment_id" field.

func EnvironmentIDGT

func EnvironmentIDGT(v string) predicate.Invoice

EnvironmentIDGT applies the GT predicate on the "environment_id" field.

func EnvironmentIDGTE

func EnvironmentIDGTE(v string) predicate.Invoice

EnvironmentIDGTE applies the GTE predicate on the "environment_id" field.

func EnvironmentIDHasPrefix

func EnvironmentIDHasPrefix(v string) predicate.Invoice

EnvironmentIDHasPrefix applies the HasPrefix predicate on the "environment_id" field.

func EnvironmentIDHasSuffix

func EnvironmentIDHasSuffix(v string) predicate.Invoice

EnvironmentIDHasSuffix applies the HasSuffix predicate on the "environment_id" field.

func EnvironmentIDIn

func EnvironmentIDIn(vs ...string) predicate.Invoice

EnvironmentIDIn applies the In predicate on the "environment_id" field.

func EnvironmentIDIsNil

func EnvironmentIDIsNil() predicate.Invoice

EnvironmentIDIsNil applies the IsNil predicate on the "environment_id" field.

func EnvironmentIDLT

func EnvironmentIDLT(v string) predicate.Invoice

EnvironmentIDLT applies the LT predicate on the "environment_id" field.

func EnvironmentIDLTE

func EnvironmentIDLTE(v string) predicate.Invoice

EnvironmentIDLTE applies the LTE predicate on the "environment_id" field.

func EnvironmentIDNEQ

func EnvironmentIDNEQ(v string) predicate.Invoice

EnvironmentIDNEQ applies the NEQ predicate on the "environment_id" field.

func EnvironmentIDNotIn

func EnvironmentIDNotIn(vs ...string) predicate.Invoice

EnvironmentIDNotIn applies the NotIn predicate on the "environment_id" field.

func EnvironmentIDNotNil

func EnvironmentIDNotNil() predicate.Invoice

EnvironmentIDNotNil applies the NotNil predicate on the "environment_id" field.

func FinalizedAt

func FinalizedAt(v time.Time) predicate.Invoice

FinalizedAt applies equality check predicate on the "finalized_at" field. It's identical to FinalizedAtEQ.

func FinalizedAtEQ

func FinalizedAtEQ(v time.Time) predicate.Invoice

FinalizedAtEQ applies the EQ predicate on the "finalized_at" field.

func FinalizedAtGT

func FinalizedAtGT(v time.Time) predicate.Invoice

FinalizedAtGT applies the GT predicate on the "finalized_at" field.

func FinalizedAtGTE

func FinalizedAtGTE(v time.Time) predicate.Invoice

FinalizedAtGTE applies the GTE predicate on the "finalized_at" field.

func FinalizedAtIn

func FinalizedAtIn(vs ...time.Time) predicate.Invoice

FinalizedAtIn applies the In predicate on the "finalized_at" field.

func FinalizedAtIsNil

func FinalizedAtIsNil() predicate.Invoice

FinalizedAtIsNil applies the IsNil predicate on the "finalized_at" field.

func FinalizedAtLT

func FinalizedAtLT(v time.Time) predicate.Invoice

FinalizedAtLT applies the LT predicate on the "finalized_at" field.

func FinalizedAtLTE

func FinalizedAtLTE(v time.Time) predicate.Invoice

FinalizedAtLTE applies the LTE predicate on the "finalized_at" field.

func FinalizedAtNEQ

func FinalizedAtNEQ(v time.Time) predicate.Invoice

FinalizedAtNEQ applies the NEQ predicate on the "finalized_at" field.

func FinalizedAtNotIn

func FinalizedAtNotIn(vs ...time.Time) predicate.Invoice

FinalizedAtNotIn applies the NotIn predicate on the "finalized_at" field.

func FinalizedAtNotNil

func FinalizedAtNotNil() predicate.Invoice

FinalizedAtNotNil applies the NotNil predicate on the "finalized_at" field.

func HasCouponApplications added in v1.0.21

func HasCouponApplications() predicate.Invoice

HasCouponApplications applies the HasEdge predicate on the "coupon_applications" edge.

func HasCouponApplicationsWith added in v1.0.21

func HasCouponApplicationsWith(preds ...predicate.CouponApplication) predicate.Invoice

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

func HasLineItems

func HasLineItems() predicate.Invoice

HasLineItems applies the HasEdge predicate on the "line_items" edge.

func HasLineItemsWith

func HasLineItemsWith(preds ...predicate.InvoiceLineItem) predicate.Invoice

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

func ID

func ID(id string) predicate.Invoice

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.Invoice

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.Invoice

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.Invoice

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Invoice

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Invoice

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.Invoice

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Invoice

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Invoice

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Invoice

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.Invoice

IDNotIn applies the NotIn predicate on the ID field.

func IdempotencyKey

func IdempotencyKey(v string) predicate.Invoice

IdempotencyKey applies equality check predicate on the "idempotency_key" field. It's identical to IdempotencyKeyEQ.

func IdempotencyKeyContains

func IdempotencyKeyContains(v string) predicate.Invoice

IdempotencyKeyContains applies the Contains predicate on the "idempotency_key" field.

func IdempotencyKeyContainsFold

func IdempotencyKeyContainsFold(v string) predicate.Invoice

IdempotencyKeyContainsFold applies the ContainsFold predicate on the "idempotency_key" field.

func IdempotencyKeyEQ

func IdempotencyKeyEQ(v string) predicate.Invoice

IdempotencyKeyEQ applies the EQ predicate on the "idempotency_key" field.

func IdempotencyKeyEqualFold

func IdempotencyKeyEqualFold(v string) predicate.Invoice

IdempotencyKeyEqualFold applies the EqualFold predicate on the "idempotency_key" field.

func IdempotencyKeyGT

func IdempotencyKeyGT(v string) predicate.Invoice

IdempotencyKeyGT applies the GT predicate on the "idempotency_key" field.

func IdempotencyKeyGTE

func IdempotencyKeyGTE(v string) predicate.Invoice

IdempotencyKeyGTE applies the GTE predicate on the "idempotency_key" field.

func IdempotencyKeyHasPrefix

func IdempotencyKeyHasPrefix(v string) predicate.Invoice

IdempotencyKeyHasPrefix applies the HasPrefix predicate on the "idempotency_key" field.

func IdempotencyKeyHasSuffix

func IdempotencyKeyHasSuffix(v string) predicate.Invoice

IdempotencyKeyHasSuffix applies the HasSuffix predicate on the "idempotency_key" field.

func IdempotencyKeyIn

func IdempotencyKeyIn(vs ...string) predicate.Invoice

IdempotencyKeyIn applies the In predicate on the "idempotency_key" field.

func IdempotencyKeyIsNil

func IdempotencyKeyIsNil() predicate.Invoice

IdempotencyKeyIsNil applies the IsNil predicate on the "idempotency_key" field.

func IdempotencyKeyLT

func IdempotencyKeyLT(v string) predicate.Invoice

IdempotencyKeyLT applies the LT predicate on the "idempotency_key" field.

func IdempotencyKeyLTE

func IdempotencyKeyLTE(v string) predicate.Invoice

IdempotencyKeyLTE applies the LTE predicate on the "idempotency_key" field.

func IdempotencyKeyNEQ

func IdempotencyKeyNEQ(v string) predicate.Invoice

IdempotencyKeyNEQ applies the NEQ predicate on the "idempotency_key" field.

func IdempotencyKeyNotIn

func IdempotencyKeyNotIn(vs ...string) predicate.Invoice

IdempotencyKeyNotIn applies the NotIn predicate on the "idempotency_key" field.

func IdempotencyKeyNotNil

func IdempotencyKeyNotNil() predicate.Invoice

IdempotencyKeyNotNil applies the NotNil predicate on the "idempotency_key" field.

func InvoiceNumber

func InvoiceNumber(v string) predicate.Invoice

InvoiceNumber applies equality check predicate on the "invoice_number" field. It's identical to InvoiceNumberEQ.

func InvoiceNumberContains

func InvoiceNumberContains(v string) predicate.Invoice

InvoiceNumberContains applies the Contains predicate on the "invoice_number" field.

func InvoiceNumberContainsFold

func InvoiceNumberContainsFold(v string) predicate.Invoice

InvoiceNumberContainsFold applies the ContainsFold predicate on the "invoice_number" field.

func InvoiceNumberEQ

func InvoiceNumberEQ(v string) predicate.Invoice

InvoiceNumberEQ applies the EQ predicate on the "invoice_number" field.

func InvoiceNumberEqualFold

func InvoiceNumberEqualFold(v string) predicate.Invoice

InvoiceNumberEqualFold applies the EqualFold predicate on the "invoice_number" field.

func InvoiceNumberGT

func InvoiceNumberGT(v string) predicate.Invoice

InvoiceNumberGT applies the GT predicate on the "invoice_number" field.

func InvoiceNumberGTE

func InvoiceNumberGTE(v string) predicate.Invoice

InvoiceNumberGTE applies the GTE predicate on the "invoice_number" field.

func InvoiceNumberHasPrefix

func InvoiceNumberHasPrefix(v string) predicate.Invoice

InvoiceNumberHasPrefix applies the HasPrefix predicate on the "invoice_number" field.

func InvoiceNumberHasSuffix

func InvoiceNumberHasSuffix(v string) predicate.Invoice

InvoiceNumberHasSuffix applies the HasSuffix predicate on the "invoice_number" field.

func InvoiceNumberIn

func InvoiceNumberIn(vs ...string) predicate.Invoice

InvoiceNumberIn applies the In predicate on the "invoice_number" field.

func InvoiceNumberIsNil

func InvoiceNumberIsNil() predicate.Invoice

InvoiceNumberIsNil applies the IsNil predicate on the "invoice_number" field.

func InvoiceNumberLT

func InvoiceNumberLT(v string) predicate.Invoice

InvoiceNumberLT applies the LT predicate on the "invoice_number" field.

func InvoiceNumberLTE

func InvoiceNumberLTE(v string) predicate.Invoice

InvoiceNumberLTE applies the LTE predicate on the "invoice_number" field.

func InvoiceNumberNEQ

func InvoiceNumberNEQ(v string) predicate.Invoice

InvoiceNumberNEQ applies the NEQ predicate on the "invoice_number" field.

func InvoiceNumberNotIn

func InvoiceNumberNotIn(vs ...string) predicate.Invoice

InvoiceNumberNotIn applies the NotIn predicate on the "invoice_number" field.

func InvoiceNumberNotNil

func InvoiceNumberNotNil() predicate.Invoice

InvoiceNumberNotNil applies the NotNil predicate on the "invoice_number" field.

func InvoicePdfURL

func InvoicePdfURL(v string) predicate.Invoice

InvoicePdfURL applies equality check predicate on the "invoice_pdf_url" field. It's identical to InvoicePdfURLEQ.

func InvoicePdfURLContains

func InvoicePdfURLContains(v string) predicate.Invoice

InvoicePdfURLContains applies the Contains predicate on the "invoice_pdf_url" field.

func InvoicePdfURLContainsFold

func InvoicePdfURLContainsFold(v string) predicate.Invoice

InvoicePdfURLContainsFold applies the ContainsFold predicate on the "invoice_pdf_url" field.

func InvoicePdfURLEQ

func InvoicePdfURLEQ(v string) predicate.Invoice

InvoicePdfURLEQ applies the EQ predicate on the "invoice_pdf_url" field.

func InvoicePdfURLEqualFold

func InvoicePdfURLEqualFold(v string) predicate.Invoice

InvoicePdfURLEqualFold applies the EqualFold predicate on the "invoice_pdf_url" field.

func InvoicePdfURLGT

func InvoicePdfURLGT(v string) predicate.Invoice

InvoicePdfURLGT applies the GT predicate on the "invoice_pdf_url" field.

func InvoicePdfURLGTE

func InvoicePdfURLGTE(v string) predicate.Invoice

InvoicePdfURLGTE applies the GTE predicate on the "invoice_pdf_url" field.

func InvoicePdfURLHasPrefix

func InvoicePdfURLHasPrefix(v string) predicate.Invoice

InvoicePdfURLHasPrefix applies the HasPrefix predicate on the "invoice_pdf_url" field.

func InvoicePdfURLHasSuffix

func InvoicePdfURLHasSuffix(v string) predicate.Invoice

InvoicePdfURLHasSuffix applies the HasSuffix predicate on the "invoice_pdf_url" field.

func InvoicePdfURLIn

func InvoicePdfURLIn(vs ...string) predicate.Invoice

InvoicePdfURLIn applies the In predicate on the "invoice_pdf_url" field.

func InvoicePdfURLIsNil

func InvoicePdfURLIsNil() predicate.Invoice

InvoicePdfURLIsNil applies the IsNil predicate on the "invoice_pdf_url" field.

func InvoicePdfURLLT

func InvoicePdfURLLT(v string) predicate.Invoice

InvoicePdfURLLT applies the LT predicate on the "invoice_pdf_url" field.

func InvoicePdfURLLTE

func InvoicePdfURLLTE(v string) predicate.Invoice

InvoicePdfURLLTE applies the LTE predicate on the "invoice_pdf_url" field.

func InvoicePdfURLNEQ

func InvoicePdfURLNEQ(v string) predicate.Invoice

InvoicePdfURLNEQ applies the NEQ predicate on the "invoice_pdf_url" field.

func InvoicePdfURLNotIn

func InvoicePdfURLNotIn(vs ...string) predicate.Invoice

InvoicePdfURLNotIn applies the NotIn predicate on the "invoice_pdf_url" field.

func InvoicePdfURLNotNil

func InvoicePdfURLNotNil() predicate.Invoice

InvoicePdfURLNotNil applies the NotNil predicate on the "invoice_pdf_url" field.

func InvoiceStatus

func InvoiceStatus(v types.InvoiceStatus) predicate.Invoice

InvoiceStatus applies equality check predicate on the "invoice_status" field. It's identical to InvoiceStatusEQ.

func InvoiceStatusContains

func InvoiceStatusContains(v types.InvoiceStatus) predicate.Invoice

InvoiceStatusContains applies the Contains predicate on the "invoice_status" field.

func InvoiceStatusContainsFold

func InvoiceStatusContainsFold(v types.InvoiceStatus) predicate.Invoice

InvoiceStatusContainsFold applies the ContainsFold predicate on the "invoice_status" field.

func InvoiceStatusEQ

func InvoiceStatusEQ(v types.InvoiceStatus) predicate.Invoice

InvoiceStatusEQ applies the EQ predicate on the "invoice_status" field.

func InvoiceStatusEqualFold

func InvoiceStatusEqualFold(v types.InvoiceStatus) predicate.Invoice

InvoiceStatusEqualFold applies the EqualFold predicate on the "invoice_status" field.

func InvoiceStatusGT

func InvoiceStatusGT(v types.InvoiceStatus) predicate.Invoice

InvoiceStatusGT applies the GT predicate on the "invoice_status" field.

func InvoiceStatusGTE

func InvoiceStatusGTE(v types.InvoiceStatus) predicate.Invoice

InvoiceStatusGTE applies the GTE predicate on the "invoice_status" field.

func InvoiceStatusHasPrefix

func InvoiceStatusHasPrefix(v types.InvoiceStatus) predicate.Invoice

InvoiceStatusHasPrefix applies the HasPrefix predicate on the "invoice_status" field.

func InvoiceStatusHasSuffix

func InvoiceStatusHasSuffix(v types.InvoiceStatus) predicate.Invoice

InvoiceStatusHasSuffix applies the HasSuffix predicate on the "invoice_status" field.

func InvoiceStatusIn

func InvoiceStatusIn(vs ...types.InvoiceStatus) predicate.Invoice

InvoiceStatusIn applies the In predicate on the "invoice_status" field.

func InvoiceStatusLT

func InvoiceStatusLT(v types.InvoiceStatus) predicate.Invoice

InvoiceStatusLT applies the LT predicate on the "invoice_status" field.

func InvoiceStatusLTE

func InvoiceStatusLTE(v types.InvoiceStatus) predicate.Invoice

InvoiceStatusLTE applies the LTE predicate on the "invoice_status" field.

func InvoiceStatusNEQ

func InvoiceStatusNEQ(v types.InvoiceStatus) predicate.Invoice

InvoiceStatusNEQ applies the NEQ predicate on the "invoice_status" field.

func InvoiceStatusNotIn

func InvoiceStatusNotIn(vs ...types.InvoiceStatus) predicate.Invoice

InvoiceStatusNotIn applies the NotIn predicate on the "invoice_status" field.

func InvoiceType

func InvoiceType(v types.InvoiceType) predicate.Invoice

InvoiceType applies equality check predicate on the "invoice_type" field. It's identical to InvoiceTypeEQ.

func InvoiceTypeContains

func InvoiceTypeContains(v types.InvoiceType) predicate.Invoice

InvoiceTypeContains applies the Contains predicate on the "invoice_type" field.

func InvoiceTypeContainsFold

func InvoiceTypeContainsFold(v types.InvoiceType) predicate.Invoice

InvoiceTypeContainsFold applies the ContainsFold predicate on the "invoice_type" field.

func InvoiceTypeEQ

func InvoiceTypeEQ(v types.InvoiceType) predicate.Invoice

InvoiceTypeEQ applies the EQ predicate on the "invoice_type" field.

func InvoiceTypeEqualFold

func InvoiceTypeEqualFold(v types.InvoiceType) predicate.Invoice

InvoiceTypeEqualFold applies the EqualFold predicate on the "invoice_type" field.

func InvoiceTypeGT

func InvoiceTypeGT(v types.InvoiceType) predicate.Invoice

InvoiceTypeGT applies the GT predicate on the "invoice_type" field.

func InvoiceTypeGTE

func InvoiceTypeGTE(v types.InvoiceType) predicate.Invoice

InvoiceTypeGTE applies the GTE predicate on the "invoice_type" field.

func InvoiceTypeHasPrefix

func InvoiceTypeHasPrefix(v types.InvoiceType) predicate.Invoice

InvoiceTypeHasPrefix applies the HasPrefix predicate on the "invoice_type" field.

func InvoiceTypeHasSuffix

func InvoiceTypeHasSuffix(v types.InvoiceType) predicate.Invoice

InvoiceTypeHasSuffix applies the HasSuffix predicate on the "invoice_type" field.

func InvoiceTypeIn

func InvoiceTypeIn(vs ...types.InvoiceType) predicate.Invoice

InvoiceTypeIn applies the In predicate on the "invoice_type" field.

func InvoiceTypeLT

func InvoiceTypeLT(v types.InvoiceType) predicate.Invoice

InvoiceTypeLT applies the LT predicate on the "invoice_type" field.

func InvoiceTypeLTE

func InvoiceTypeLTE(v types.InvoiceType) predicate.Invoice

InvoiceTypeLTE applies the LTE predicate on the "invoice_type" field.

func InvoiceTypeNEQ

func InvoiceTypeNEQ(v types.InvoiceType) predicate.Invoice

InvoiceTypeNEQ applies the NEQ predicate on the "invoice_type" field.

func InvoiceTypeNotIn

func InvoiceTypeNotIn(vs ...types.InvoiceType) predicate.Invoice

InvoiceTypeNotIn applies the NotIn predicate on the "invoice_type" field.

func MetadataIsNil

func MetadataIsNil() predicate.Invoice

MetadataIsNil applies the IsNil predicate on the "metadata" field.

func MetadataNotNil

func MetadataNotNil() predicate.Invoice

MetadataNotNil applies the NotNil predicate on the "metadata" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Invoice) predicate.Invoice

Or groups predicates with the OR operator between them.

func PaidAt

func PaidAt(v time.Time) predicate.Invoice

PaidAt applies equality check predicate on the "paid_at" field. It's identical to PaidAtEQ.

func PaidAtEQ

func PaidAtEQ(v time.Time) predicate.Invoice

PaidAtEQ applies the EQ predicate on the "paid_at" field.

func PaidAtGT

func PaidAtGT(v time.Time) predicate.Invoice

PaidAtGT applies the GT predicate on the "paid_at" field.

func PaidAtGTE

func PaidAtGTE(v time.Time) predicate.Invoice

PaidAtGTE applies the GTE predicate on the "paid_at" field.

func PaidAtIn

func PaidAtIn(vs ...time.Time) predicate.Invoice

PaidAtIn applies the In predicate on the "paid_at" field.

func PaidAtIsNil

func PaidAtIsNil() predicate.Invoice

PaidAtIsNil applies the IsNil predicate on the "paid_at" field.

func PaidAtLT

func PaidAtLT(v time.Time) predicate.Invoice

PaidAtLT applies the LT predicate on the "paid_at" field.

func PaidAtLTE

func PaidAtLTE(v time.Time) predicate.Invoice

PaidAtLTE applies the LTE predicate on the "paid_at" field.

func PaidAtNEQ

func PaidAtNEQ(v time.Time) predicate.Invoice

PaidAtNEQ applies the NEQ predicate on the "paid_at" field.

func PaidAtNotIn

func PaidAtNotIn(vs ...time.Time) predicate.Invoice

PaidAtNotIn applies the NotIn predicate on the "paid_at" field.

func PaidAtNotNil

func PaidAtNotNil() predicate.Invoice

PaidAtNotNil applies the NotNil predicate on the "paid_at" field.

func PaymentStatus

func PaymentStatus(v types.PaymentStatus) predicate.Invoice

PaymentStatus applies equality check predicate on the "payment_status" field. It's identical to PaymentStatusEQ.

func PaymentStatusContains

func PaymentStatusContains(v types.PaymentStatus) predicate.Invoice

PaymentStatusContains applies the Contains predicate on the "payment_status" field.

func PaymentStatusContainsFold

func PaymentStatusContainsFold(v types.PaymentStatus) predicate.Invoice

PaymentStatusContainsFold applies the ContainsFold predicate on the "payment_status" field.

func PaymentStatusEQ

func PaymentStatusEQ(v types.PaymentStatus) predicate.Invoice

PaymentStatusEQ applies the EQ predicate on the "payment_status" field.

func PaymentStatusEqualFold

func PaymentStatusEqualFold(v types.PaymentStatus) predicate.Invoice

PaymentStatusEqualFold applies the EqualFold predicate on the "payment_status" field.

func PaymentStatusGT

func PaymentStatusGT(v types.PaymentStatus) predicate.Invoice

PaymentStatusGT applies the GT predicate on the "payment_status" field.

func PaymentStatusGTE

func PaymentStatusGTE(v types.PaymentStatus) predicate.Invoice

PaymentStatusGTE applies the GTE predicate on the "payment_status" field.

func PaymentStatusHasPrefix

func PaymentStatusHasPrefix(v types.PaymentStatus) predicate.Invoice

PaymentStatusHasPrefix applies the HasPrefix predicate on the "payment_status" field.

func PaymentStatusHasSuffix

func PaymentStatusHasSuffix(v types.PaymentStatus) predicate.Invoice

PaymentStatusHasSuffix applies the HasSuffix predicate on the "payment_status" field.

func PaymentStatusIn

func PaymentStatusIn(vs ...types.PaymentStatus) predicate.Invoice

PaymentStatusIn applies the In predicate on the "payment_status" field.

func PaymentStatusLT

func PaymentStatusLT(v types.PaymentStatus) predicate.Invoice

PaymentStatusLT applies the LT predicate on the "payment_status" field.

func PaymentStatusLTE

func PaymentStatusLTE(v types.PaymentStatus) predicate.Invoice

PaymentStatusLTE applies the LTE predicate on the "payment_status" field.

func PaymentStatusNEQ

func PaymentStatusNEQ(v types.PaymentStatus) predicate.Invoice

PaymentStatusNEQ applies the NEQ predicate on the "payment_status" field.

func PaymentStatusNotIn

func PaymentStatusNotIn(vs ...types.PaymentStatus) predicate.Invoice

PaymentStatusNotIn applies the NotIn predicate on the "payment_status" field.

func PeriodEnd

func PeriodEnd(v time.Time) predicate.Invoice

PeriodEnd applies equality check predicate on the "period_end" field. It's identical to PeriodEndEQ.

func PeriodEndEQ

func PeriodEndEQ(v time.Time) predicate.Invoice

PeriodEndEQ applies the EQ predicate on the "period_end" field.

func PeriodEndGT

func PeriodEndGT(v time.Time) predicate.Invoice

PeriodEndGT applies the GT predicate on the "period_end" field.

func PeriodEndGTE

func PeriodEndGTE(v time.Time) predicate.Invoice

PeriodEndGTE applies the GTE predicate on the "period_end" field.

func PeriodEndIn

func PeriodEndIn(vs ...time.Time) predicate.Invoice

PeriodEndIn applies the In predicate on the "period_end" field.

func PeriodEndIsNil

func PeriodEndIsNil() predicate.Invoice

PeriodEndIsNil applies the IsNil predicate on the "period_end" field.

func PeriodEndLT

func PeriodEndLT(v time.Time) predicate.Invoice

PeriodEndLT applies the LT predicate on the "period_end" field.

func PeriodEndLTE

func PeriodEndLTE(v time.Time) predicate.Invoice

PeriodEndLTE applies the LTE predicate on the "period_end" field.

func PeriodEndNEQ

func PeriodEndNEQ(v time.Time) predicate.Invoice

PeriodEndNEQ applies the NEQ predicate on the "period_end" field.

func PeriodEndNotIn

func PeriodEndNotIn(vs ...time.Time) predicate.Invoice

PeriodEndNotIn applies the NotIn predicate on the "period_end" field.

func PeriodEndNotNil

func PeriodEndNotNil() predicate.Invoice

PeriodEndNotNil applies the NotNil predicate on the "period_end" field.

func PeriodStart

func PeriodStart(v time.Time) predicate.Invoice

PeriodStart applies equality check predicate on the "period_start" field. It's identical to PeriodStartEQ.

func PeriodStartEQ

func PeriodStartEQ(v time.Time) predicate.Invoice

PeriodStartEQ applies the EQ predicate on the "period_start" field.

func PeriodStartGT

func PeriodStartGT(v time.Time) predicate.Invoice

PeriodStartGT applies the GT predicate on the "period_start" field.

func PeriodStartGTE

func PeriodStartGTE(v time.Time) predicate.Invoice

PeriodStartGTE applies the GTE predicate on the "period_start" field.

func PeriodStartIn

func PeriodStartIn(vs ...time.Time) predicate.Invoice

PeriodStartIn applies the In predicate on the "period_start" field.

func PeriodStartIsNil

func PeriodStartIsNil() predicate.Invoice

PeriodStartIsNil applies the IsNil predicate on the "period_start" field.

func PeriodStartLT

func PeriodStartLT(v time.Time) predicate.Invoice

PeriodStartLT applies the LT predicate on the "period_start" field.

func PeriodStartLTE

func PeriodStartLTE(v time.Time) predicate.Invoice

PeriodStartLTE applies the LTE predicate on the "period_start" field.

func PeriodStartNEQ

func PeriodStartNEQ(v time.Time) predicate.Invoice

PeriodStartNEQ applies the NEQ predicate on the "period_start" field.

func PeriodStartNotIn

func PeriodStartNotIn(vs ...time.Time) predicate.Invoice

PeriodStartNotIn applies the NotIn predicate on the "period_start" field.

func PeriodStartNotNil

func PeriodStartNotNil() predicate.Invoice

PeriodStartNotNil applies the NotNil predicate on the "period_start" field.

func RefundedAmount added in v1.0.18

func RefundedAmount(v decimal.Decimal) predicate.Invoice

RefundedAmount applies equality check predicate on the "refunded_amount" field. It's identical to RefundedAmountEQ.

func RefundedAmountEQ added in v1.0.18

func RefundedAmountEQ(v decimal.Decimal) predicate.Invoice

RefundedAmountEQ applies the EQ predicate on the "refunded_amount" field.

func RefundedAmountGT added in v1.0.18

func RefundedAmountGT(v decimal.Decimal) predicate.Invoice

RefundedAmountGT applies the GT predicate on the "refunded_amount" field.

func RefundedAmountGTE added in v1.0.18

func RefundedAmountGTE(v decimal.Decimal) predicate.Invoice

RefundedAmountGTE applies the GTE predicate on the "refunded_amount" field.

func RefundedAmountIn added in v1.0.18

func RefundedAmountIn(vs ...decimal.Decimal) predicate.Invoice

RefundedAmountIn applies the In predicate on the "refunded_amount" field.

func RefundedAmountIsNil added in v1.0.18

func RefundedAmountIsNil() predicate.Invoice

RefundedAmountIsNil applies the IsNil predicate on the "refunded_amount" field.

func RefundedAmountLT added in v1.0.18

func RefundedAmountLT(v decimal.Decimal) predicate.Invoice

RefundedAmountLT applies the LT predicate on the "refunded_amount" field.

func RefundedAmountLTE added in v1.0.18

func RefundedAmountLTE(v decimal.Decimal) predicate.Invoice

RefundedAmountLTE applies the LTE predicate on the "refunded_amount" field.

func RefundedAmountNEQ added in v1.0.18

func RefundedAmountNEQ(v decimal.Decimal) predicate.Invoice

RefundedAmountNEQ applies the NEQ predicate on the "refunded_amount" field.

func RefundedAmountNotIn added in v1.0.18

func RefundedAmountNotIn(vs ...decimal.Decimal) predicate.Invoice

RefundedAmountNotIn applies the NotIn predicate on the "refunded_amount" field.

func RefundedAmountNotNil added in v1.0.18

func RefundedAmountNotNil() predicate.Invoice

RefundedAmountNotNil applies the NotNil predicate on the "refunded_amount" field.

func Status

func Status(v string) predicate.Invoice

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusContains

func StatusContains(v string) predicate.Invoice

StatusContains applies the Contains predicate on the "status" field.

func StatusContainsFold

func StatusContainsFold(v string) predicate.Invoice

StatusContainsFold applies the ContainsFold predicate on the "status" field.

func StatusEQ

func StatusEQ(v string) predicate.Invoice

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

func StatusEqualFold

func StatusEqualFold(v string) predicate.Invoice

StatusEqualFold applies the EqualFold predicate on the "status" field.

func StatusGT

func StatusGT(v string) predicate.Invoice

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v string) predicate.Invoice

StatusGTE applies the GTE predicate on the "status" field.

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.Invoice

StatusHasPrefix applies the HasPrefix predicate on the "status" field.

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.Invoice

StatusHasSuffix applies the HasSuffix predicate on the "status" field.

func StatusIn

func StatusIn(vs ...string) predicate.Invoice

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

func StatusLT

func StatusLT(v string) predicate.Invoice

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v string) predicate.Invoice

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v string) predicate.Invoice

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

func StatusNotIn

func StatusNotIn(vs ...string) predicate.Invoice

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

func SubscriptionID

func SubscriptionID(v string) predicate.Invoice

SubscriptionID applies equality check predicate on the "subscription_id" field. It's identical to SubscriptionIDEQ.

func SubscriptionIDContains

func SubscriptionIDContains(v string) predicate.Invoice

SubscriptionIDContains applies the Contains predicate on the "subscription_id" field.

func SubscriptionIDContainsFold

func SubscriptionIDContainsFold(v string) predicate.Invoice

SubscriptionIDContainsFold applies the ContainsFold predicate on the "subscription_id" field.

func SubscriptionIDEQ

func SubscriptionIDEQ(v string) predicate.Invoice

SubscriptionIDEQ applies the EQ predicate on the "subscription_id" field.

func SubscriptionIDEqualFold

func SubscriptionIDEqualFold(v string) predicate.Invoice

SubscriptionIDEqualFold applies the EqualFold predicate on the "subscription_id" field.

func SubscriptionIDGT

func SubscriptionIDGT(v string) predicate.Invoice

SubscriptionIDGT applies the GT predicate on the "subscription_id" field.

func SubscriptionIDGTE

func SubscriptionIDGTE(v string) predicate.Invoice

SubscriptionIDGTE applies the GTE predicate on the "subscription_id" field.

func SubscriptionIDHasPrefix

func SubscriptionIDHasPrefix(v string) predicate.Invoice

SubscriptionIDHasPrefix applies the HasPrefix predicate on the "subscription_id" field.

func SubscriptionIDHasSuffix

func SubscriptionIDHasSuffix(v string) predicate.Invoice

SubscriptionIDHasSuffix applies the HasSuffix predicate on the "subscription_id" field.

func SubscriptionIDIn

func SubscriptionIDIn(vs ...string) predicate.Invoice

SubscriptionIDIn applies the In predicate on the "subscription_id" field.

func SubscriptionIDIsNil

func SubscriptionIDIsNil() predicate.Invoice

SubscriptionIDIsNil applies the IsNil predicate on the "subscription_id" field.

func SubscriptionIDLT

func SubscriptionIDLT(v string) predicate.Invoice

SubscriptionIDLT applies the LT predicate on the "subscription_id" field.

func SubscriptionIDLTE

func SubscriptionIDLTE(v string) predicate.Invoice

SubscriptionIDLTE applies the LTE predicate on the "subscription_id" field.

func SubscriptionIDNEQ

func SubscriptionIDNEQ(v string) predicate.Invoice

SubscriptionIDNEQ applies the NEQ predicate on the "subscription_id" field.

func SubscriptionIDNotIn

func SubscriptionIDNotIn(vs ...string) predicate.Invoice

SubscriptionIDNotIn applies the NotIn predicate on the "subscription_id" field.

func SubscriptionIDNotNil

func SubscriptionIDNotNil() predicate.Invoice

SubscriptionIDNotNil applies the NotNil predicate on the "subscription_id" field.

func Subtotal added in v1.0.18

func Subtotal(v decimal.Decimal) predicate.Invoice

Subtotal applies equality check predicate on the "subtotal" field. It's identical to SubtotalEQ.

func SubtotalEQ added in v1.0.18

func SubtotalEQ(v decimal.Decimal) predicate.Invoice

SubtotalEQ applies the EQ predicate on the "subtotal" field.

func SubtotalGT added in v1.0.18

func SubtotalGT(v decimal.Decimal) predicate.Invoice

SubtotalGT applies the GT predicate on the "subtotal" field.

func SubtotalGTE added in v1.0.18

func SubtotalGTE(v decimal.Decimal) predicate.Invoice

SubtotalGTE applies the GTE predicate on the "subtotal" field.

func SubtotalIn added in v1.0.18

func SubtotalIn(vs ...decimal.Decimal) predicate.Invoice

SubtotalIn applies the In predicate on the "subtotal" field.

func SubtotalIsNil added in v1.0.18

func SubtotalIsNil() predicate.Invoice

SubtotalIsNil applies the IsNil predicate on the "subtotal" field.

func SubtotalLT added in v1.0.18

func SubtotalLT(v decimal.Decimal) predicate.Invoice

SubtotalLT applies the LT predicate on the "subtotal" field.

func SubtotalLTE added in v1.0.18

func SubtotalLTE(v decimal.Decimal) predicate.Invoice

SubtotalLTE applies the LTE predicate on the "subtotal" field.

func SubtotalNEQ added in v1.0.18

func SubtotalNEQ(v decimal.Decimal) predicate.Invoice

SubtotalNEQ applies the NEQ predicate on the "subtotal" field.

func SubtotalNotIn added in v1.0.18

func SubtotalNotIn(vs ...decimal.Decimal) predicate.Invoice

SubtotalNotIn applies the NotIn predicate on the "subtotal" field.

func SubtotalNotNil added in v1.0.18

func SubtotalNotNil() predicate.Invoice

SubtotalNotNil applies the NotNil predicate on the "subtotal" field.

func TenantID

func TenantID(v string) predicate.Invoice

TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.

func TenantIDContains

func TenantIDContains(v string) predicate.Invoice

TenantIDContains applies the Contains predicate on the "tenant_id" field.

func TenantIDContainsFold

func TenantIDContainsFold(v string) predicate.Invoice

TenantIDContainsFold applies the ContainsFold predicate on the "tenant_id" field.

func TenantIDEQ

func TenantIDEQ(v string) predicate.Invoice

TenantIDEQ applies the EQ predicate on the "tenant_id" field.

func TenantIDEqualFold

func TenantIDEqualFold(v string) predicate.Invoice

TenantIDEqualFold applies the EqualFold predicate on the "tenant_id" field.

func TenantIDGT

func TenantIDGT(v string) predicate.Invoice

TenantIDGT applies the GT predicate on the "tenant_id" field.

func TenantIDGTE

func TenantIDGTE(v string) predicate.Invoice

TenantIDGTE applies the GTE predicate on the "tenant_id" field.

func TenantIDHasPrefix

func TenantIDHasPrefix(v string) predicate.Invoice

TenantIDHasPrefix applies the HasPrefix predicate on the "tenant_id" field.

func TenantIDHasSuffix

func TenantIDHasSuffix(v string) predicate.Invoice

TenantIDHasSuffix applies the HasSuffix predicate on the "tenant_id" field.

func TenantIDIn

func TenantIDIn(vs ...string) predicate.Invoice

TenantIDIn applies the In predicate on the "tenant_id" field.

func TenantIDLT

func TenantIDLT(v string) predicate.Invoice

TenantIDLT applies the LT predicate on the "tenant_id" field.

func TenantIDLTE

func TenantIDLTE(v string) predicate.Invoice

TenantIDLTE applies the LTE predicate on the "tenant_id" field.

func TenantIDNEQ

func TenantIDNEQ(v string) predicate.Invoice

TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.

func TenantIDNotIn

func TenantIDNotIn(vs ...string) predicate.Invoice

TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.

func Total added in v1.0.18

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

func TotalDiscount added in v1.0.21

func TotalDiscount(v decimal.Decimal) predicate.Invoice

TotalDiscount applies equality check predicate on the "total_discount" field. It's identical to TotalDiscountEQ.

func TotalDiscountEQ added in v1.0.21

func TotalDiscountEQ(v decimal.Decimal) predicate.Invoice

TotalDiscountEQ applies the EQ predicate on the "total_discount" field.

func TotalDiscountGT added in v1.0.21

func TotalDiscountGT(v decimal.Decimal) predicate.Invoice

TotalDiscountGT applies the GT predicate on the "total_discount" field.

func TotalDiscountGTE added in v1.0.21

func TotalDiscountGTE(v decimal.Decimal) predicate.Invoice

TotalDiscountGTE applies the GTE predicate on the "total_discount" field.

func TotalDiscountIn added in v1.0.21

func TotalDiscountIn(vs ...decimal.Decimal) predicate.Invoice

TotalDiscountIn applies the In predicate on the "total_discount" field.

func TotalDiscountIsNil added in v1.0.21

func TotalDiscountIsNil() predicate.Invoice

TotalDiscountIsNil applies the IsNil predicate on the "total_discount" field.

func TotalDiscountLT added in v1.0.21

func TotalDiscountLT(v decimal.Decimal) predicate.Invoice

TotalDiscountLT applies the LT predicate on the "total_discount" field.

func TotalDiscountLTE added in v1.0.21

func TotalDiscountLTE(v decimal.Decimal) predicate.Invoice

TotalDiscountLTE applies the LTE predicate on the "total_discount" field.

func TotalDiscountNEQ added in v1.0.21

func TotalDiscountNEQ(v decimal.Decimal) predicate.Invoice

TotalDiscountNEQ applies the NEQ predicate on the "total_discount" field.

func TotalDiscountNotIn added in v1.0.21

func TotalDiscountNotIn(vs ...decimal.Decimal) predicate.Invoice

TotalDiscountNotIn applies the NotIn predicate on the "total_discount" field.

func TotalDiscountNotNil added in v1.0.21

func TotalDiscountNotNil() predicate.Invoice

TotalDiscountNotNil applies the NotNil predicate on the "total_discount" field.

func TotalEQ added in v1.0.18

func TotalEQ(v decimal.Decimal) predicate.Invoice

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

func TotalGT added in v1.0.18

func TotalGT(v decimal.Decimal) predicate.Invoice

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

func TotalGTE added in v1.0.18

func TotalGTE(v decimal.Decimal) predicate.Invoice

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

func TotalIn added in v1.0.18

func TotalIn(vs ...decimal.Decimal) predicate.Invoice

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

func TotalIsNil added in v1.0.18

func TotalIsNil() predicate.Invoice

TotalIsNil applies the IsNil predicate on the "total" field.

func TotalLT added in v1.0.18

func TotalLT(v decimal.Decimal) predicate.Invoice

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

func TotalLTE added in v1.0.18

func TotalLTE(v decimal.Decimal) predicate.Invoice

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

func TotalNEQ added in v1.0.18

func TotalNEQ(v decimal.Decimal) predicate.Invoice

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

func TotalNotIn added in v1.0.18

func TotalNotIn(vs ...decimal.Decimal) predicate.Invoice

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

func TotalNotNil added in v1.0.18

func TotalNotNil() predicate.Invoice

TotalNotNil applies the NotNil predicate on the "total" field.

func TotalTax added in v1.0.21

func TotalTax(v decimal.Decimal) predicate.Invoice

TotalTax applies equality check predicate on the "total_tax" field. It's identical to TotalTaxEQ.

func TotalTaxEQ added in v1.0.21

func TotalTaxEQ(v decimal.Decimal) predicate.Invoice

TotalTaxEQ applies the EQ predicate on the "total_tax" field.

func TotalTaxGT added in v1.0.21

func TotalTaxGT(v decimal.Decimal) predicate.Invoice

TotalTaxGT applies the GT predicate on the "total_tax" field.

func TotalTaxGTE added in v1.0.21

func TotalTaxGTE(v decimal.Decimal) predicate.Invoice

TotalTaxGTE applies the GTE predicate on the "total_tax" field.

func TotalTaxIn added in v1.0.21

func TotalTaxIn(vs ...decimal.Decimal) predicate.Invoice

TotalTaxIn applies the In predicate on the "total_tax" field.

func TotalTaxIsNil added in v1.0.21

func TotalTaxIsNil() predicate.Invoice

TotalTaxIsNil applies the IsNil predicate on the "total_tax" field.

func TotalTaxLT added in v1.0.21

func TotalTaxLT(v decimal.Decimal) predicate.Invoice

TotalTaxLT applies the LT predicate on the "total_tax" field.

func TotalTaxLTE added in v1.0.21

func TotalTaxLTE(v decimal.Decimal) predicate.Invoice

TotalTaxLTE applies the LTE predicate on the "total_tax" field.

func TotalTaxNEQ added in v1.0.21

func TotalTaxNEQ(v decimal.Decimal) predicate.Invoice

TotalTaxNEQ applies the NEQ predicate on the "total_tax" field.

func TotalTaxNotIn added in v1.0.21

func TotalTaxNotIn(vs ...decimal.Decimal) predicate.Invoice

TotalTaxNotIn applies the NotIn predicate on the "total_tax" field.

func TotalTaxNotNil added in v1.0.21

func TotalTaxNotNil() predicate.Invoice

TotalTaxNotNil applies the NotNil predicate on the "total_tax" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Invoice

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Invoice

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Invoice

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Invoice

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Invoice

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Invoice

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Invoice

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

func UpdatedAtNotIn

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

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedBy

func UpdatedBy(v string) predicate.Invoice

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByContains

func UpdatedByContains(v string) predicate.Invoice

UpdatedByContains applies the Contains predicate on the "updated_by" field.

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.Invoice

UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.Invoice

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.Invoice

UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v string) predicate.Invoice

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.Invoice

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.Invoice

UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.Invoice

UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...string) predicate.Invoice

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.Invoice

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v string) predicate.Invoice

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.Invoice

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.Invoice

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...string) predicate.Invoice

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.Invoice

UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func Version

func Version(v int) predicate.Invoice

Version applies equality check predicate on the "version" field. It's identical to VersionEQ.

func VersionEQ

func VersionEQ(v int) predicate.Invoice

VersionEQ applies the EQ predicate on the "version" field.

func VersionGT

func VersionGT(v int) predicate.Invoice

VersionGT applies the GT predicate on the "version" field.

func VersionGTE

func VersionGTE(v int) predicate.Invoice

VersionGTE applies the GTE predicate on the "version" field.

func VersionIn

func VersionIn(vs ...int) predicate.Invoice

VersionIn applies the In predicate on the "version" field.

func VersionLT

func VersionLT(v int) predicate.Invoice

VersionLT applies the LT predicate on the "version" field.

func VersionLTE

func VersionLTE(v int) predicate.Invoice

VersionLTE applies the LTE predicate on the "version" field.

func VersionNEQ

func VersionNEQ(v int) predicate.Invoice

VersionNEQ applies the NEQ predicate on the "version" field.

func VersionNotIn

func VersionNotIn(vs ...int) predicate.Invoice

VersionNotIn applies the NotIn predicate on the "version" field.

func VoidedAt

func VoidedAt(v time.Time) predicate.Invoice

VoidedAt applies equality check predicate on the "voided_at" field. It's identical to VoidedAtEQ.

func VoidedAtEQ

func VoidedAtEQ(v time.Time) predicate.Invoice

VoidedAtEQ applies the EQ predicate on the "voided_at" field.

func VoidedAtGT

func VoidedAtGT(v time.Time) predicate.Invoice

VoidedAtGT applies the GT predicate on the "voided_at" field.

func VoidedAtGTE

func VoidedAtGTE(v time.Time) predicate.Invoice

VoidedAtGTE applies the GTE predicate on the "voided_at" field.

func VoidedAtIn

func VoidedAtIn(vs ...time.Time) predicate.Invoice

VoidedAtIn applies the In predicate on the "voided_at" field.

func VoidedAtIsNil

func VoidedAtIsNil() predicate.Invoice

VoidedAtIsNil applies the IsNil predicate on the "voided_at" field.

func VoidedAtLT

func VoidedAtLT(v time.Time) predicate.Invoice

VoidedAtLT applies the LT predicate on the "voided_at" field.

func VoidedAtLTE

func VoidedAtLTE(v time.Time) predicate.Invoice

VoidedAtLTE applies the LTE predicate on the "voided_at" field.

func VoidedAtNEQ

func VoidedAtNEQ(v time.Time) predicate.Invoice

VoidedAtNEQ applies the NEQ predicate on the "voided_at" field.

func VoidedAtNotIn

func VoidedAtNotIn(vs ...time.Time) predicate.Invoice

VoidedAtNotIn applies the NotIn predicate on the "voided_at" field.

func VoidedAtNotNil

func VoidedAtNotNil() predicate.Invoice

VoidedAtNotNil applies the NotNil predicate on the "voided_at" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Invoice queries.

func ByAdjustmentAmount added in v1.0.18

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

ByAdjustmentAmount orders the results by the adjustment_amount field.

func ByAmountDue

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

ByAmountDue orders the results by the amount_due field.

func ByAmountPaid

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

ByAmountPaid orders the results by the amount_paid field.

func ByAmountRemaining

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

ByAmountRemaining orders the results by the amount_remaining field.

func ByBillingPeriod

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

ByBillingPeriod orders the results by the billing_period field.

func ByBillingReason

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

ByBillingReason orders the results by the billing_reason field.

func ByBillingSequence

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

ByBillingSequence orders the results by the billing_sequence field.

func ByCouponApplications added in v1.0.21

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

ByCouponApplications orders the results by coupon_applications terms.

func ByCouponApplicationsCount added in v1.0.21

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

ByCouponApplicationsCount orders the results by coupon_applications count.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

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

ByCreatedBy orders the results by the created_by field.

func ByCurrency

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

ByCurrency orders the results by the currency field.

func ByCustomerID

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

ByCustomerID orders the results by the customer_id field.

func ByDescription

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

ByDescription orders the results by the description field.

func ByDueDate

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

ByDueDate orders the results by the due_date field.

func ByEnvironmentID

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

ByEnvironmentID orders the results by the environment_id field.

func ByFinalizedAt

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

ByFinalizedAt orders the results by the finalized_at field.

func ByID

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

ByID orders the results by the id field.

func ByIdempotencyKey

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

ByIdempotencyKey orders the results by the idempotency_key field.

func ByInvoiceNumber

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

ByInvoiceNumber orders the results by the invoice_number field.

func ByInvoicePdfURL

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

ByInvoicePdfURL orders the results by the invoice_pdf_url field.

func ByInvoiceStatus

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

ByInvoiceStatus orders the results by the invoice_status field.

func ByInvoiceType

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

ByInvoiceType orders the results by the invoice_type field.

func ByLineItems

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

ByLineItems orders the results by line_items terms.

func ByLineItemsCount

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

ByLineItemsCount orders the results by line_items count.

func ByPaidAt

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

ByPaidAt orders the results by the paid_at field.

func ByPaymentStatus

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

ByPaymentStatus orders the results by the payment_status field.

func ByPeriodEnd

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

ByPeriodEnd orders the results by the period_end field.

func ByPeriodStart

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

ByPeriodStart orders the results by the period_start field.

func ByRefundedAmount added in v1.0.18

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

ByRefundedAmount orders the results by the refunded_amount field.

func ByStatus

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

ByStatus orders the results by the status field.

func BySubscriptionID

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

BySubscriptionID orders the results by the subscription_id field.

func BySubtotal added in v1.0.18

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

BySubtotal orders the results by the subtotal field.

func ByTenantID

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

ByTenantID orders the results by the tenant_id field.

func ByTotal added in v1.0.18

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

ByTotal orders the results by the total field.

func ByTotalDiscount added in v1.0.21

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

ByTotalDiscount orders the results by the total_discount field.

func ByTotalTax added in v1.0.21

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

ByTotalTax orders the results by the total_tax field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUpdatedBy

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

ByUpdatedBy orders the results by the updated_by field.

func ByVersion

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

ByVersion orders the results by the version field.

func ByVoidedAt

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

ByVoidedAt orders the results by the voided_at field.

Jump to

Keyboard shortcuts

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