Documentation
¶
Index ¶
- Constants
- Variables
- func AdjustmentAmount(v decimal.Decimal) predicate.Invoice
- func AdjustmentAmountEQ(v decimal.Decimal) predicate.Invoice
- func AdjustmentAmountGT(v decimal.Decimal) predicate.Invoice
- func AdjustmentAmountGTE(v decimal.Decimal) predicate.Invoice
- func AdjustmentAmountIn(vs ...decimal.Decimal) predicate.Invoice
- func AdjustmentAmountIsNil() predicate.Invoice
- func AdjustmentAmountLT(v decimal.Decimal) predicate.Invoice
- func AdjustmentAmountLTE(v decimal.Decimal) predicate.Invoice
- func AdjustmentAmountNEQ(v decimal.Decimal) predicate.Invoice
- func AdjustmentAmountNotIn(vs ...decimal.Decimal) predicate.Invoice
- func AdjustmentAmountNotNil() predicate.Invoice
- func AmountDue(v decimal.Decimal) predicate.Invoice
- func AmountDueEQ(v decimal.Decimal) predicate.Invoice
- func AmountDueGT(v decimal.Decimal) predicate.Invoice
- func AmountDueGTE(v decimal.Decimal) predicate.Invoice
- func AmountDueIn(vs ...decimal.Decimal) predicate.Invoice
- func AmountDueLT(v decimal.Decimal) predicate.Invoice
- func AmountDueLTE(v decimal.Decimal) predicate.Invoice
- func AmountDueNEQ(v decimal.Decimal) predicate.Invoice
- func AmountDueNotIn(vs ...decimal.Decimal) predicate.Invoice
- func AmountPaid(v decimal.Decimal) predicate.Invoice
- func AmountPaidEQ(v decimal.Decimal) predicate.Invoice
- func AmountPaidGT(v decimal.Decimal) predicate.Invoice
- func AmountPaidGTE(v decimal.Decimal) predicate.Invoice
- func AmountPaidIn(vs ...decimal.Decimal) predicate.Invoice
- func AmountPaidLT(v decimal.Decimal) predicate.Invoice
- func AmountPaidLTE(v decimal.Decimal) predicate.Invoice
- func AmountPaidNEQ(v decimal.Decimal) predicate.Invoice
- func AmountPaidNotIn(vs ...decimal.Decimal) predicate.Invoice
- func AmountRemaining(v decimal.Decimal) predicate.Invoice
- func AmountRemainingEQ(v decimal.Decimal) predicate.Invoice
- func AmountRemainingGT(v decimal.Decimal) predicate.Invoice
- func AmountRemainingGTE(v decimal.Decimal) predicate.Invoice
- func AmountRemainingIn(vs ...decimal.Decimal) predicate.Invoice
- func AmountRemainingLT(v decimal.Decimal) predicate.Invoice
- func AmountRemainingLTE(v decimal.Decimal) predicate.Invoice
- func AmountRemainingNEQ(v decimal.Decimal) predicate.Invoice
- func AmountRemainingNotIn(vs ...decimal.Decimal) predicate.Invoice
- func And(predicates ...predicate.Invoice) predicate.Invoice
- func BillingPeriod(v string) predicate.Invoice
- func BillingPeriodContains(v string) predicate.Invoice
- func BillingPeriodContainsFold(v string) predicate.Invoice
- func BillingPeriodEQ(v string) predicate.Invoice
- func BillingPeriodEqualFold(v string) predicate.Invoice
- func BillingPeriodGT(v string) predicate.Invoice
- func BillingPeriodGTE(v string) predicate.Invoice
- func BillingPeriodHasPrefix(v string) predicate.Invoice
- func BillingPeriodHasSuffix(v string) predicate.Invoice
- func BillingPeriodIn(vs ...string) predicate.Invoice
- func BillingPeriodIsNil() predicate.Invoice
- func BillingPeriodLT(v string) predicate.Invoice
- func BillingPeriodLTE(v string) predicate.Invoice
- func BillingPeriodNEQ(v string) predicate.Invoice
- func BillingPeriodNotIn(vs ...string) predicate.Invoice
- func BillingPeriodNotNil() predicate.Invoice
- func BillingReason(v string) predicate.Invoice
- func BillingReasonContains(v string) predicate.Invoice
- func BillingReasonContainsFold(v string) predicate.Invoice
- func BillingReasonEQ(v string) predicate.Invoice
- func BillingReasonEqualFold(v string) predicate.Invoice
- func BillingReasonGT(v string) predicate.Invoice
- func BillingReasonGTE(v string) predicate.Invoice
- func BillingReasonHasPrefix(v string) predicate.Invoice
- func BillingReasonHasSuffix(v string) predicate.Invoice
- func BillingReasonIn(vs ...string) predicate.Invoice
- func BillingReasonIsNil() predicate.Invoice
- func BillingReasonLT(v string) predicate.Invoice
- func BillingReasonLTE(v string) predicate.Invoice
- func BillingReasonNEQ(v string) predicate.Invoice
- func BillingReasonNotIn(vs ...string) predicate.Invoice
- func BillingReasonNotNil() predicate.Invoice
- func BillingSequence(v int) predicate.Invoice
- func BillingSequenceEQ(v int) predicate.Invoice
- func BillingSequenceGT(v int) predicate.Invoice
- func BillingSequenceGTE(v int) predicate.Invoice
- func BillingSequenceIn(vs ...int) predicate.Invoice
- func BillingSequenceIsNil() predicate.Invoice
- func BillingSequenceLT(v int) predicate.Invoice
- func BillingSequenceLTE(v int) predicate.Invoice
- func BillingSequenceNEQ(v int) predicate.Invoice
- func BillingSequenceNotIn(vs ...int) predicate.Invoice
- func BillingSequenceNotNil() predicate.Invoice
- func CreatedAt(v time.Time) predicate.Invoice
- func CreatedAtEQ(v time.Time) predicate.Invoice
- func CreatedAtGT(v time.Time) predicate.Invoice
- func CreatedAtGTE(v time.Time) predicate.Invoice
- func CreatedAtIn(vs ...time.Time) predicate.Invoice
- func CreatedAtLT(v time.Time) predicate.Invoice
- func CreatedAtLTE(v time.Time) predicate.Invoice
- func CreatedAtNEQ(v time.Time) predicate.Invoice
- func CreatedAtNotIn(vs ...time.Time) predicate.Invoice
- func CreatedBy(v string) predicate.Invoice
- func CreatedByContains(v string) predicate.Invoice
- func CreatedByContainsFold(v string) predicate.Invoice
- func CreatedByEQ(v string) predicate.Invoice
- func CreatedByEqualFold(v string) predicate.Invoice
- func CreatedByGT(v string) predicate.Invoice
- func CreatedByGTE(v string) predicate.Invoice
- func CreatedByHasPrefix(v string) predicate.Invoice
- func CreatedByHasSuffix(v string) predicate.Invoice
- func CreatedByIn(vs ...string) predicate.Invoice
- func CreatedByIsNil() predicate.Invoice
- func CreatedByLT(v string) predicate.Invoice
- func CreatedByLTE(v string) predicate.Invoice
- func CreatedByNEQ(v string) predicate.Invoice
- func CreatedByNotIn(vs ...string) predicate.Invoice
- func CreatedByNotNil() predicate.Invoice
- func Currency(v string) predicate.Invoice
- func CurrencyContains(v string) predicate.Invoice
- func CurrencyContainsFold(v string) predicate.Invoice
- func CurrencyEQ(v string) predicate.Invoice
- func CurrencyEqualFold(v string) predicate.Invoice
- func CurrencyGT(v string) predicate.Invoice
- func CurrencyGTE(v string) predicate.Invoice
- func CurrencyHasPrefix(v string) predicate.Invoice
- func CurrencyHasSuffix(v string) predicate.Invoice
- func CurrencyIn(vs ...string) predicate.Invoice
- func CurrencyLT(v string) predicate.Invoice
- func CurrencyLTE(v string) predicate.Invoice
- func CurrencyNEQ(v string) predicate.Invoice
- func CurrencyNotIn(vs ...string) predicate.Invoice
- func CustomerID(v string) predicate.Invoice
- func CustomerIDContains(v string) predicate.Invoice
- func CustomerIDContainsFold(v string) predicate.Invoice
- func CustomerIDEQ(v string) predicate.Invoice
- func CustomerIDEqualFold(v string) predicate.Invoice
- func CustomerIDGT(v string) predicate.Invoice
- func CustomerIDGTE(v string) predicate.Invoice
- func CustomerIDHasPrefix(v string) predicate.Invoice
- func CustomerIDHasSuffix(v string) predicate.Invoice
- func CustomerIDIn(vs ...string) predicate.Invoice
- func CustomerIDLT(v string) predicate.Invoice
- func CustomerIDLTE(v string) predicate.Invoice
- func CustomerIDNEQ(v string) predicate.Invoice
- func CustomerIDNotIn(vs ...string) predicate.Invoice
- func Description(v string) predicate.Invoice
- func DescriptionContains(v string) predicate.Invoice
- func DescriptionContainsFold(v string) predicate.Invoice
- func DescriptionEQ(v string) predicate.Invoice
- func DescriptionEqualFold(v string) predicate.Invoice
- func DescriptionGT(v string) predicate.Invoice
- func DescriptionGTE(v string) predicate.Invoice
- func DescriptionHasPrefix(v string) predicate.Invoice
- func DescriptionHasSuffix(v string) predicate.Invoice
- func DescriptionIn(vs ...string) predicate.Invoice
- func DescriptionIsNil() predicate.Invoice
- func DescriptionLT(v string) predicate.Invoice
- func DescriptionLTE(v string) predicate.Invoice
- func DescriptionNEQ(v string) predicate.Invoice
- func DescriptionNotIn(vs ...string) predicate.Invoice
- func DescriptionNotNil() predicate.Invoice
- func DueDate(v time.Time) predicate.Invoice
- func DueDateEQ(v time.Time) predicate.Invoice
- func DueDateGT(v time.Time) predicate.Invoice
- func DueDateGTE(v time.Time) predicate.Invoice
- func DueDateIn(vs ...time.Time) predicate.Invoice
- func DueDateIsNil() predicate.Invoice
- func DueDateLT(v time.Time) predicate.Invoice
- func DueDateLTE(v time.Time) predicate.Invoice
- func DueDateNEQ(v time.Time) predicate.Invoice
- func DueDateNotIn(vs ...time.Time) predicate.Invoice
- func DueDateNotNil() predicate.Invoice
- func EnvironmentID(v string) predicate.Invoice
- func EnvironmentIDContains(v string) predicate.Invoice
- func EnvironmentIDContainsFold(v string) predicate.Invoice
- func EnvironmentIDEQ(v string) predicate.Invoice
- func EnvironmentIDEqualFold(v string) predicate.Invoice
- func EnvironmentIDGT(v string) predicate.Invoice
- func EnvironmentIDGTE(v string) predicate.Invoice
- func EnvironmentIDHasPrefix(v string) predicate.Invoice
- func EnvironmentIDHasSuffix(v string) predicate.Invoice
- func EnvironmentIDIn(vs ...string) predicate.Invoice
- func EnvironmentIDIsNil() predicate.Invoice
- func EnvironmentIDLT(v string) predicate.Invoice
- func EnvironmentIDLTE(v string) predicate.Invoice
- func EnvironmentIDNEQ(v string) predicate.Invoice
- func EnvironmentIDNotIn(vs ...string) predicate.Invoice
- func EnvironmentIDNotNil() predicate.Invoice
- func FinalizedAt(v time.Time) predicate.Invoice
- func FinalizedAtEQ(v time.Time) predicate.Invoice
- func FinalizedAtGT(v time.Time) predicate.Invoice
- func FinalizedAtGTE(v time.Time) predicate.Invoice
- func FinalizedAtIn(vs ...time.Time) predicate.Invoice
- func FinalizedAtIsNil() predicate.Invoice
- func FinalizedAtLT(v time.Time) predicate.Invoice
- func FinalizedAtLTE(v time.Time) predicate.Invoice
- func FinalizedAtNEQ(v time.Time) predicate.Invoice
- func FinalizedAtNotIn(vs ...time.Time) predicate.Invoice
- func FinalizedAtNotNil() predicate.Invoice
- func HasCouponApplications() predicate.Invoice
- func HasCouponApplicationsWith(preds ...predicate.CouponApplication) predicate.Invoice
- func HasLineItems() predicate.Invoice
- func HasLineItemsWith(preds ...predicate.InvoiceLineItem) predicate.Invoice
- func ID(id string) predicate.Invoice
- func IDContainsFold(id string) predicate.Invoice
- func IDEQ(id string) predicate.Invoice
- func IDEqualFold(id string) predicate.Invoice
- func IDGT(id string) predicate.Invoice
- func IDGTE(id string) predicate.Invoice
- func IDIn(ids ...string) predicate.Invoice
- func IDLT(id string) predicate.Invoice
- func IDLTE(id string) predicate.Invoice
- func IDNEQ(id string) predicate.Invoice
- func IDNotIn(ids ...string) predicate.Invoice
- func IdempotencyKey(v string) predicate.Invoice
- func IdempotencyKeyContains(v string) predicate.Invoice
- func IdempotencyKeyContainsFold(v string) predicate.Invoice
- func IdempotencyKeyEQ(v string) predicate.Invoice
- func IdempotencyKeyEqualFold(v string) predicate.Invoice
- func IdempotencyKeyGT(v string) predicate.Invoice
- func IdempotencyKeyGTE(v string) predicate.Invoice
- func IdempotencyKeyHasPrefix(v string) predicate.Invoice
- func IdempotencyKeyHasSuffix(v string) predicate.Invoice
- func IdempotencyKeyIn(vs ...string) predicate.Invoice
- func IdempotencyKeyIsNil() predicate.Invoice
- func IdempotencyKeyLT(v string) predicate.Invoice
- func IdempotencyKeyLTE(v string) predicate.Invoice
- func IdempotencyKeyNEQ(v string) predicate.Invoice
- func IdempotencyKeyNotIn(vs ...string) predicate.Invoice
- func IdempotencyKeyNotNil() predicate.Invoice
- func InvoiceNumber(v string) predicate.Invoice
- func InvoiceNumberContains(v string) predicate.Invoice
- func InvoiceNumberContainsFold(v string) predicate.Invoice
- func InvoiceNumberEQ(v string) predicate.Invoice
- func InvoiceNumberEqualFold(v string) predicate.Invoice
- func InvoiceNumberGT(v string) predicate.Invoice
- func InvoiceNumberGTE(v string) predicate.Invoice
- func InvoiceNumberHasPrefix(v string) predicate.Invoice
- func InvoiceNumberHasSuffix(v string) predicate.Invoice
- func InvoiceNumberIn(vs ...string) predicate.Invoice
- func InvoiceNumberIsNil() predicate.Invoice
- func InvoiceNumberLT(v string) predicate.Invoice
- func InvoiceNumberLTE(v string) predicate.Invoice
- func InvoiceNumberNEQ(v string) predicate.Invoice
- func InvoiceNumberNotIn(vs ...string) predicate.Invoice
- func InvoiceNumberNotNil() predicate.Invoice
- func InvoicePdfURL(v string) predicate.Invoice
- func InvoicePdfURLContains(v string) predicate.Invoice
- func InvoicePdfURLContainsFold(v string) predicate.Invoice
- func InvoicePdfURLEQ(v string) predicate.Invoice
- func InvoicePdfURLEqualFold(v string) predicate.Invoice
- func InvoicePdfURLGT(v string) predicate.Invoice
- func InvoicePdfURLGTE(v string) predicate.Invoice
- func InvoicePdfURLHasPrefix(v string) predicate.Invoice
- func InvoicePdfURLHasSuffix(v string) predicate.Invoice
- func InvoicePdfURLIn(vs ...string) predicate.Invoice
- func InvoicePdfURLIsNil() predicate.Invoice
- func InvoicePdfURLLT(v string) predicate.Invoice
- func InvoicePdfURLLTE(v string) predicate.Invoice
- func InvoicePdfURLNEQ(v string) predicate.Invoice
- func InvoicePdfURLNotIn(vs ...string) predicate.Invoice
- func InvoicePdfURLNotNil() predicate.Invoice
- func InvoiceStatus(v string) predicate.Invoice
- func InvoiceStatusContains(v string) predicate.Invoice
- func InvoiceStatusContainsFold(v string) predicate.Invoice
- func InvoiceStatusEQ(v string) predicate.Invoice
- func InvoiceStatusEqualFold(v string) predicate.Invoice
- func InvoiceStatusGT(v string) predicate.Invoice
- func InvoiceStatusGTE(v string) predicate.Invoice
- func InvoiceStatusHasPrefix(v string) predicate.Invoice
- func InvoiceStatusHasSuffix(v string) predicate.Invoice
- func InvoiceStatusIn(vs ...string) predicate.Invoice
- func InvoiceStatusLT(v string) predicate.Invoice
- func InvoiceStatusLTE(v string) predicate.Invoice
- func InvoiceStatusNEQ(v string) predicate.Invoice
- func InvoiceStatusNotIn(vs ...string) predicate.Invoice
- func InvoiceType(v string) predicate.Invoice
- func InvoiceTypeContains(v string) predicate.Invoice
- func InvoiceTypeContainsFold(v string) predicate.Invoice
- func InvoiceTypeEQ(v string) predicate.Invoice
- func InvoiceTypeEqualFold(v string) predicate.Invoice
- func InvoiceTypeGT(v string) predicate.Invoice
- func InvoiceTypeGTE(v string) predicate.Invoice
- func InvoiceTypeHasPrefix(v string) predicate.Invoice
- func InvoiceTypeHasSuffix(v string) predicate.Invoice
- func InvoiceTypeIn(vs ...string) predicate.Invoice
- func InvoiceTypeLT(v string) predicate.Invoice
- func InvoiceTypeLTE(v string) predicate.Invoice
- func InvoiceTypeNEQ(v string) predicate.Invoice
- func InvoiceTypeNotIn(vs ...string) predicate.Invoice
- func MetadataIsNil() predicate.Invoice
- func MetadataNotNil() predicate.Invoice
- func Not(p predicate.Invoice) predicate.Invoice
- func Or(predicates ...predicate.Invoice) predicate.Invoice
- func PaidAt(v time.Time) predicate.Invoice
- func PaidAtEQ(v time.Time) predicate.Invoice
- func PaidAtGT(v time.Time) predicate.Invoice
- func PaidAtGTE(v time.Time) predicate.Invoice
- func PaidAtIn(vs ...time.Time) predicate.Invoice
- func PaidAtIsNil() predicate.Invoice
- func PaidAtLT(v time.Time) predicate.Invoice
- func PaidAtLTE(v time.Time) predicate.Invoice
- func PaidAtNEQ(v time.Time) predicate.Invoice
- func PaidAtNotIn(vs ...time.Time) predicate.Invoice
- func PaidAtNotNil() predicate.Invoice
- func PaymentStatus(v string) predicate.Invoice
- func PaymentStatusContains(v string) predicate.Invoice
- func PaymentStatusContainsFold(v string) predicate.Invoice
- func PaymentStatusEQ(v string) predicate.Invoice
- func PaymentStatusEqualFold(v string) predicate.Invoice
- func PaymentStatusGT(v string) predicate.Invoice
- func PaymentStatusGTE(v string) predicate.Invoice
- func PaymentStatusHasPrefix(v string) predicate.Invoice
- func PaymentStatusHasSuffix(v string) predicate.Invoice
- func PaymentStatusIn(vs ...string) predicate.Invoice
- func PaymentStatusLT(v string) predicate.Invoice
- func PaymentStatusLTE(v string) predicate.Invoice
- func PaymentStatusNEQ(v string) predicate.Invoice
- func PaymentStatusNotIn(vs ...string) predicate.Invoice
- func PeriodEnd(v time.Time) predicate.Invoice
- func PeriodEndEQ(v time.Time) predicate.Invoice
- func PeriodEndGT(v time.Time) predicate.Invoice
- func PeriodEndGTE(v time.Time) predicate.Invoice
- func PeriodEndIn(vs ...time.Time) predicate.Invoice
- func PeriodEndIsNil() predicate.Invoice
- func PeriodEndLT(v time.Time) predicate.Invoice
- func PeriodEndLTE(v time.Time) predicate.Invoice
- func PeriodEndNEQ(v time.Time) predicate.Invoice
- func PeriodEndNotIn(vs ...time.Time) predicate.Invoice
- func PeriodEndNotNil() predicate.Invoice
- func PeriodStart(v time.Time) predicate.Invoice
- func PeriodStartEQ(v time.Time) predicate.Invoice
- func PeriodStartGT(v time.Time) predicate.Invoice
- func PeriodStartGTE(v time.Time) predicate.Invoice
- func PeriodStartIn(vs ...time.Time) predicate.Invoice
- func PeriodStartIsNil() predicate.Invoice
- func PeriodStartLT(v time.Time) predicate.Invoice
- func PeriodStartLTE(v time.Time) predicate.Invoice
- func PeriodStartNEQ(v time.Time) predicate.Invoice
- func PeriodStartNotIn(vs ...time.Time) predicate.Invoice
- func PeriodStartNotNil() predicate.Invoice
- func RefundedAmount(v decimal.Decimal) predicate.Invoice
- func RefundedAmountEQ(v decimal.Decimal) predicate.Invoice
- func RefundedAmountGT(v decimal.Decimal) predicate.Invoice
- func RefundedAmountGTE(v decimal.Decimal) predicate.Invoice
- func RefundedAmountIn(vs ...decimal.Decimal) predicate.Invoice
- func RefundedAmountIsNil() predicate.Invoice
- func RefundedAmountLT(v decimal.Decimal) predicate.Invoice
- func RefundedAmountLTE(v decimal.Decimal) predicate.Invoice
- func RefundedAmountNEQ(v decimal.Decimal) predicate.Invoice
- func RefundedAmountNotIn(vs ...decimal.Decimal) predicate.Invoice
- func RefundedAmountNotNil() predicate.Invoice
- func Status(v string) predicate.Invoice
- func StatusContains(v string) predicate.Invoice
- func StatusContainsFold(v string) predicate.Invoice
- func StatusEQ(v string) predicate.Invoice
- func StatusEqualFold(v string) predicate.Invoice
- func StatusGT(v string) predicate.Invoice
- func StatusGTE(v string) predicate.Invoice
- func StatusHasPrefix(v string) predicate.Invoice
- func StatusHasSuffix(v string) predicate.Invoice
- func StatusIn(vs ...string) predicate.Invoice
- func StatusLT(v string) predicate.Invoice
- func StatusLTE(v string) predicate.Invoice
- func StatusNEQ(v string) predicate.Invoice
- func StatusNotIn(vs ...string) predicate.Invoice
- func SubscriptionID(v string) predicate.Invoice
- func SubscriptionIDContains(v string) predicate.Invoice
- func SubscriptionIDContainsFold(v string) predicate.Invoice
- func SubscriptionIDEQ(v string) predicate.Invoice
- func SubscriptionIDEqualFold(v string) predicate.Invoice
- func SubscriptionIDGT(v string) predicate.Invoice
- func SubscriptionIDGTE(v string) predicate.Invoice
- func SubscriptionIDHasPrefix(v string) predicate.Invoice
- func SubscriptionIDHasSuffix(v string) predicate.Invoice
- func SubscriptionIDIn(vs ...string) predicate.Invoice
- func SubscriptionIDIsNil() predicate.Invoice
- func SubscriptionIDLT(v string) predicate.Invoice
- func SubscriptionIDLTE(v string) predicate.Invoice
- func SubscriptionIDNEQ(v string) predicate.Invoice
- func SubscriptionIDNotIn(vs ...string) predicate.Invoice
- func SubscriptionIDNotNil() predicate.Invoice
- func Subtotal(v decimal.Decimal) predicate.Invoice
- func SubtotalEQ(v decimal.Decimal) predicate.Invoice
- func SubtotalGT(v decimal.Decimal) predicate.Invoice
- func SubtotalGTE(v decimal.Decimal) predicate.Invoice
- func SubtotalIn(vs ...decimal.Decimal) predicate.Invoice
- func SubtotalIsNil() predicate.Invoice
- func SubtotalLT(v decimal.Decimal) predicate.Invoice
- func SubtotalLTE(v decimal.Decimal) predicate.Invoice
- func SubtotalNEQ(v decimal.Decimal) predicate.Invoice
- func SubtotalNotIn(vs ...decimal.Decimal) predicate.Invoice
- func SubtotalNotNil() predicate.Invoice
- func TenantID(v string) predicate.Invoice
- func TenantIDContains(v string) predicate.Invoice
- func TenantIDContainsFold(v string) predicate.Invoice
- func TenantIDEQ(v string) predicate.Invoice
- func TenantIDEqualFold(v string) predicate.Invoice
- func TenantIDGT(v string) predicate.Invoice
- func TenantIDGTE(v string) predicate.Invoice
- func TenantIDHasPrefix(v string) predicate.Invoice
- func TenantIDHasSuffix(v string) predicate.Invoice
- func TenantIDIn(vs ...string) predicate.Invoice
- func TenantIDLT(v string) predicate.Invoice
- func TenantIDLTE(v string) predicate.Invoice
- func TenantIDNEQ(v string) predicate.Invoice
- func TenantIDNotIn(vs ...string) predicate.Invoice
- func Total(v decimal.Decimal) predicate.Invoice
- func TotalDiscount(v decimal.Decimal) predicate.Invoice
- func TotalDiscountEQ(v decimal.Decimal) predicate.Invoice
- func TotalDiscountGT(v decimal.Decimal) predicate.Invoice
- func TotalDiscountGTE(v decimal.Decimal) predicate.Invoice
- func TotalDiscountIn(vs ...decimal.Decimal) predicate.Invoice
- func TotalDiscountIsNil() predicate.Invoice
- func TotalDiscountLT(v decimal.Decimal) predicate.Invoice
- func TotalDiscountLTE(v decimal.Decimal) predicate.Invoice
- func TotalDiscountNEQ(v decimal.Decimal) predicate.Invoice
- func TotalDiscountNotIn(vs ...decimal.Decimal) predicate.Invoice
- func TotalDiscountNotNil() predicate.Invoice
- func TotalEQ(v decimal.Decimal) predicate.Invoice
- func TotalGT(v decimal.Decimal) predicate.Invoice
- func TotalGTE(v decimal.Decimal) predicate.Invoice
- func TotalIn(vs ...decimal.Decimal) predicate.Invoice
- func TotalIsNil() predicate.Invoice
- func TotalLT(v decimal.Decimal) predicate.Invoice
- func TotalLTE(v decimal.Decimal) predicate.Invoice
- func TotalNEQ(v decimal.Decimal) predicate.Invoice
- func TotalNotIn(vs ...decimal.Decimal) predicate.Invoice
- func TotalNotNil() predicate.Invoice
- func TotalTax(v decimal.Decimal) predicate.Invoice
- func TotalTaxEQ(v decimal.Decimal) predicate.Invoice
- func TotalTaxGT(v decimal.Decimal) predicate.Invoice
- func TotalTaxGTE(v decimal.Decimal) predicate.Invoice
- func TotalTaxIn(vs ...decimal.Decimal) predicate.Invoice
- func TotalTaxIsNil() predicate.Invoice
- func TotalTaxLT(v decimal.Decimal) predicate.Invoice
- func TotalTaxLTE(v decimal.Decimal) predicate.Invoice
- func TotalTaxNEQ(v decimal.Decimal) predicate.Invoice
- func TotalTaxNotIn(vs ...decimal.Decimal) predicate.Invoice
- func TotalTaxNotNil() predicate.Invoice
- func UpdatedAt(v time.Time) predicate.Invoice
- func UpdatedAtEQ(v time.Time) predicate.Invoice
- func UpdatedAtGT(v time.Time) predicate.Invoice
- func UpdatedAtGTE(v time.Time) predicate.Invoice
- func UpdatedAtIn(vs ...time.Time) predicate.Invoice
- func UpdatedAtLT(v time.Time) predicate.Invoice
- func UpdatedAtLTE(v time.Time) predicate.Invoice
- func UpdatedAtNEQ(v time.Time) predicate.Invoice
- func UpdatedAtNotIn(vs ...time.Time) predicate.Invoice
- func UpdatedBy(v string) predicate.Invoice
- func UpdatedByContains(v string) predicate.Invoice
- func UpdatedByContainsFold(v string) predicate.Invoice
- func UpdatedByEQ(v string) predicate.Invoice
- func UpdatedByEqualFold(v string) predicate.Invoice
- func UpdatedByGT(v string) predicate.Invoice
- func UpdatedByGTE(v string) predicate.Invoice
- func UpdatedByHasPrefix(v string) predicate.Invoice
- func UpdatedByHasSuffix(v string) predicate.Invoice
- func UpdatedByIn(vs ...string) predicate.Invoice
- func UpdatedByIsNil() predicate.Invoice
- func UpdatedByLT(v string) predicate.Invoice
- func UpdatedByLTE(v string) predicate.Invoice
- func UpdatedByNEQ(v string) predicate.Invoice
- func UpdatedByNotIn(vs ...string) predicate.Invoice
- func UpdatedByNotNil() predicate.Invoice
- func ValidColumn(column string) bool
- func Version(v int) predicate.Invoice
- func VersionEQ(v int) predicate.Invoice
- func VersionGT(v int) predicate.Invoice
- func VersionGTE(v int) predicate.Invoice
- func VersionIn(vs ...int) predicate.Invoice
- func VersionLT(v int) predicate.Invoice
- func VersionLTE(v int) predicate.Invoice
- func VersionNEQ(v int) predicate.Invoice
- func VersionNotIn(vs ...int) predicate.Invoice
- func VoidedAt(v time.Time) predicate.Invoice
- func VoidedAtEQ(v time.Time) predicate.Invoice
- func VoidedAtGT(v time.Time) predicate.Invoice
- func VoidedAtGTE(v time.Time) predicate.Invoice
- func VoidedAtIn(vs ...time.Time) predicate.Invoice
- func VoidedAtIsNil() predicate.Invoice
- func VoidedAtLT(v time.Time) predicate.Invoice
- func VoidedAtLTE(v time.Time) predicate.Invoice
- func VoidedAtNEQ(v time.Time) predicate.Invoice
- func VoidedAtNotIn(vs ...time.Time) predicate.Invoice
- func VoidedAtNotNil() predicate.Invoice
- type OrderOption
- func ByAdjustmentAmount(opts ...sql.OrderTermOption) OrderOption
- func ByAmountDue(opts ...sql.OrderTermOption) OrderOption
- func ByAmountPaid(opts ...sql.OrderTermOption) OrderOption
- func ByAmountRemaining(opts ...sql.OrderTermOption) OrderOption
- func ByBillingPeriod(opts ...sql.OrderTermOption) OrderOption
- func ByBillingReason(opts ...sql.OrderTermOption) OrderOption
- func ByBillingSequence(opts ...sql.OrderTermOption) OrderOption
- func ByCouponApplications(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByCouponApplicationsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByCurrency(opts ...sql.OrderTermOption) OrderOption
- func ByCustomerID(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByDueDate(opts ...sql.OrderTermOption) OrderOption
- func ByEnvironmentID(opts ...sql.OrderTermOption) OrderOption
- func ByFinalizedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIdempotencyKey(opts ...sql.OrderTermOption) OrderOption
- func ByInvoiceNumber(opts ...sql.OrderTermOption) OrderOption
- func ByInvoicePdfURL(opts ...sql.OrderTermOption) OrderOption
- func ByInvoiceStatus(opts ...sql.OrderTermOption) OrderOption
- func ByInvoiceType(opts ...sql.OrderTermOption) OrderOption
- func ByLineItems(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByLineItemsCount(opts ...sql.OrderTermOption) OrderOption
- func ByPaidAt(opts ...sql.OrderTermOption) OrderOption
- func ByPaymentStatus(opts ...sql.OrderTermOption) OrderOption
- func ByPeriodEnd(opts ...sql.OrderTermOption) OrderOption
- func ByPeriodStart(opts ...sql.OrderTermOption) OrderOption
- func ByRefundedAmount(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func BySubscriptionID(opts ...sql.OrderTermOption) OrderOption
- func BySubtotal(opts ...sql.OrderTermOption) OrderOption
- func ByTenantID(opts ...sql.OrderTermOption) OrderOption
- func ByTotal(opts ...sql.OrderTermOption) OrderOption
- func ByTotalDiscount(opts ...sql.OrderTermOption) OrderOption
- func ByTotalTax(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByVersion(opts ...sql.OrderTermOption) OrderOption
- func ByVoidedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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 string // DefaultPaymentStatus holds the default value on creation for the "payment_status" field. DefaultPaymentStatus string // 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 )
var Columns = []string{ FieldID, FieldTenantID, FieldStatus, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldEnvironmentID, FieldCustomerID, FieldSubscriptionID, FieldInvoiceType, FieldInvoiceStatus, FieldPaymentStatus, FieldCurrency, FieldAmountDue, FieldAmountPaid, FieldAmountRemaining, FieldSubtotal, FieldAdjustmentAmount, FieldRefundedAmount, FieldTotalTax, FieldTotalDiscount, FieldTotal, FieldDescription, FieldDueDate, FieldPaidAt, FieldVoidedAt, FieldFinalizedAt, FieldBillingPeriod, FieldPeriodStart, FieldPeriodEnd, FieldInvoicePdfURL, FieldBillingReason, FieldMetadata, FieldVersion, FieldInvoiceNumber, FieldBillingSequence, FieldIdempotencyKey, }
Columns holds all SQL columns for invoice fields.
Functions ¶
func AdjustmentAmount ¶ added in v1.0.18
AdjustmentAmount applies equality check predicate on the "adjustment_amount" field. It's identical to AdjustmentAmountEQ.
func AdjustmentAmountEQ ¶ added in v1.0.18
AdjustmentAmountEQ applies the EQ predicate on the "adjustment_amount" field.
func AdjustmentAmountGT ¶ added in v1.0.18
AdjustmentAmountGT applies the GT predicate on the "adjustment_amount" field.
func AdjustmentAmountGTE ¶ added in v1.0.18
AdjustmentAmountGTE applies the GTE predicate on the "adjustment_amount" field.
func AdjustmentAmountIn ¶ added in v1.0.18
AdjustmentAmountIn applies the In predicate on the "adjustment_amount" field.
func AdjustmentAmountIsNil ¶ added in v1.0.18
AdjustmentAmountIsNil applies the IsNil predicate on the "adjustment_amount" field.
func AdjustmentAmountLT ¶ added in v1.0.18
AdjustmentAmountLT applies the LT predicate on the "adjustment_amount" field.
func AdjustmentAmountLTE ¶ added in v1.0.18
AdjustmentAmountLTE applies the LTE predicate on the "adjustment_amount" field.
func AdjustmentAmountNEQ ¶ added in v1.0.18
AdjustmentAmountNEQ applies the NEQ predicate on the "adjustment_amount" field.
func AdjustmentAmountNotIn ¶ added in v1.0.18
AdjustmentAmountNotIn applies the NotIn predicate on the "adjustment_amount" field.
func AdjustmentAmountNotNil ¶ added in v1.0.18
AdjustmentAmountNotNil applies the NotNil predicate on the "adjustment_amount" field.
func AmountDue ¶
AmountDue applies equality check predicate on the "amount_due" field. It's identical to AmountDueEQ.
func AmountDueEQ ¶
AmountDueEQ applies the EQ predicate on the "amount_due" field.
func AmountDueGT ¶
AmountDueGT applies the GT predicate on the "amount_due" field.
func AmountDueGTE ¶
AmountDueGTE applies the GTE predicate on the "amount_due" field.
func AmountDueIn ¶
AmountDueIn applies the In predicate on the "amount_due" field.
func AmountDueLT ¶
AmountDueLT applies the LT predicate on the "amount_due" field.
func AmountDueLTE ¶
AmountDueLTE applies the LTE predicate on the "amount_due" field.
func AmountDueNEQ ¶
AmountDueNEQ applies the NEQ predicate on the "amount_due" field.
func AmountDueNotIn ¶
AmountDueNotIn applies the NotIn predicate on the "amount_due" field.
func AmountPaid ¶
AmountPaid applies equality check predicate on the "amount_paid" field. It's identical to AmountPaidEQ.
func AmountPaidEQ ¶
AmountPaidEQ applies the EQ predicate on the "amount_paid" field.
func AmountPaidGT ¶
AmountPaidGT applies the GT predicate on the "amount_paid" field.
func AmountPaidGTE ¶
AmountPaidGTE applies the GTE predicate on the "amount_paid" field.
func AmountPaidIn ¶
AmountPaidIn applies the In predicate on the "amount_paid" field.
func AmountPaidLT ¶
AmountPaidLT applies the LT predicate on the "amount_paid" field.
func AmountPaidLTE ¶
AmountPaidLTE applies the LTE predicate on the "amount_paid" field.
func AmountPaidNEQ ¶
AmountPaidNEQ applies the NEQ predicate on the "amount_paid" field.
func AmountPaidNotIn ¶
AmountPaidNotIn applies the NotIn predicate on the "amount_paid" field.
func AmountRemaining ¶
AmountRemaining applies equality check predicate on the "amount_remaining" field. It's identical to AmountRemainingEQ.
func AmountRemainingEQ ¶
AmountRemainingEQ applies the EQ predicate on the "amount_remaining" field.
func AmountRemainingGT ¶
AmountRemainingGT applies the GT predicate on the "amount_remaining" field.
func AmountRemainingGTE ¶
AmountRemainingGTE applies the GTE predicate on the "amount_remaining" field.
func AmountRemainingIn ¶
AmountRemainingIn applies the In predicate on the "amount_remaining" field.
func AmountRemainingLT ¶
AmountRemainingLT applies the LT predicate on the "amount_remaining" field.
func AmountRemainingLTE ¶
AmountRemainingLTE applies the LTE predicate on the "amount_remaining" field.
func AmountRemainingNEQ ¶
AmountRemainingNEQ applies the NEQ predicate on the "amount_remaining" field.
func AmountRemainingNotIn ¶
AmountRemainingNotIn applies the NotIn predicate on the "amount_remaining" field.
func BillingPeriod ¶
BillingPeriod applies equality check predicate on the "billing_period" field. It's identical to BillingPeriodEQ.
func BillingPeriodContains ¶
BillingPeriodContains applies the Contains predicate on the "billing_period" field.
func BillingPeriodContainsFold ¶
BillingPeriodContainsFold applies the ContainsFold predicate on the "billing_period" field.
func BillingPeriodEQ ¶
BillingPeriodEQ applies the EQ predicate on the "billing_period" field.
func BillingPeriodEqualFold ¶
BillingPeriodEqualFold applies the EqualFold predicate on the "billing_period" field.
func BillingPeriodGT ¶
BillingPeriodGT applies the GT predicate on the "billing_period" field.
func BillingPeriodGTE ¶
BillingPeriodGTE applies the GTE predicate on the "billing_period" field.
func BillingPeriodHasPrefix ¶
BillingPeriodHasPrefix applies the HasPrefix predicate on the "billing_period" field.
func BillingPeriodHasSuffix ¶
BillingPeriodHasSuffix applies the HasSuffix predicate on the "billing_period" field.
func BillingPeriodIn ¶
BillingPeriodIn applies the In predicate on the "billing_period" field.
func BillingPeriodIsNil ¶
BillingPeriodIsNil applies the IsNil predicate on the "billing_period" field.
func BillingPeriodLT ¶
BillingPeriodLT applies the LT predicate on the "billing_period" field.
func BillingPeriodLTE ¶
BillingPeriodLTE applies the LTE predicate on the "billing_period" field.
func BillingPeriodNEQ ¶
BillingPeriodNEQ applies the NEQ predicate on the "billing_period" field.
func BillingPeriodNotIn ¶
BillingPeriodNotIn applies the NotIn predicate on the "billing_period" field.
func BillingPeriodNotNil ¶
BillingPeriodNotNil applies the NotNil predicate on the "billing_period" field.
func BillingReason ¶
BillingReason applies equality check predicate on the "billing_reason" field. It's identical to BillingReasonEQ.
func BillingReasonContains ¶
BillingReasonContains applies the Contains predicate on the "billing_reason" field.
func BillingReasonContainsFold ¶
BillingReasonContainsFold applies the ContainsFold predicate on the "billing_reason" field.
func BillingReasonEQ ¶
BillingReasonEQ applies the EQ predicate on the "billing_reason" field.
func BillingReasonEqualFold ¶
BillingReasonEqualFold applies the EqualFold predicate on the "billing_reason" field.
func BillingReasonGT ¶
BillingReasonGT applies the GT predicate on the "billing_reason" field.
func BillingReasonGTE ¶
BillingReasonGTE applies the GTE predicate on the "billing_reason" field.
func BillingReasonHasPrefix ¶
BillingReasonHasPrefix applies the HasPrefix predicate on the "billing_reason" field.
func BillingReasonHasSuffix ¶
BillingReasonHasSuffix applies the HasSuffix predicate on the "billing_reason" field.
func BillingReasonIn ¶
BillingReasonIn applies the In predicate on the "billing_reason" field.
func BillingReasonIsNil ¶
BillingReasonIsNil applies the IsNil predicate on the "billing_reason" field.
func BillingReasonLT ¶
BillingReasonLT applies the LT predicate on the "billing_reason" field.
func BillingReasonLTE ¶
BillingReasonLTE applies the LTE predicate on the "billing_reason" field.
func BillingReasonNEQ ¶
BillingReasonNEQ applies the NEQ predicate on the "billing_reason" field.
func BillingReasonNotIn ¶
BillingReasonNotIn applies the NotIn predicate on the "billing_reason" field.
func BillingReasonNotNil ¶
BillingReasonNotNil applies the NotNil predicate on the "billing_reason" field.
func BillingSequence ¶
BillingSequence applies equality check predicate on the "billing_sequence" field. It's identical to BillingSequenceEQ.
func BillingSequenceEQ ¶
BillingSequenceEQ applies the EQ predicate on the "billing_sequence" field.
func BillingSequenceGT ¶
BillingSequenceGT applies the GT predicate on the "billing_sequence" field.
func BillingSequenceGTE ¶
BillingSequenceGTE applies the GTE predicate on the "billing_sequence" field.
func BillingSequenceIn ¶
BillingSequenceIn applies the In predicate on the "billing_sequence" field.
func BillingSequenceIsNil ¶
BillingSequenceIsNil applies the IsNil predicate on the "billing_sequence" field.
func BillingSequenceLT ¶
BillingSequenceLT applies the LT predicate on the "billing_sequence" field.
func BillingSequenceLTE ¶
BillingSequenceLTE applies the LTE predicate on the "billing_sequence" field.
func BillingSequenceNEQ ¶
BillingSequenceNEQ applies the NEQ predicate on the "billing_sequence" field.
func BillingSequenceNotIn ¶
BillingSequenceNotIn applies the NotIn predicate on the "billing_sequence" field.
func BillingSequenceNotNil ¶
BillingSequenceNotNil applies the NotNil predicate on the "billing_sequence" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func Currency ¶
Currency applies equality check predicate on the "currency" field. It's identical to CurrencyEQ.
func CurrencyContains ¶
CurrencyContains applies the Contains predicate on the "currency" field.
func CurrencyContainsFold ¶
CurrencyContainsFold applies the ContainsFold predicate on the "currency" field.
func CurrencyEQ ¶
CurrencyEQ applies the EQ predicate on the "currency" field.
func CurrencyEqualFold ¶
CurrencyEqualFold applies the EqualFold predicate on the "currency" field.
func CurrencyGT ¶
CurrencyGT applies the GT predicate on the "currency" field.
func CurrencyGTE ¶
CurrencyGTE applies the GTE predicate on the "currency" field.
func CurrencyHasPrefix ¶
CurrencyHasPrefix applies the HasPrefix predicate on the "currency" field.
func CurrencyHasSuffix ¶
CurrencyHasSuffix applies the HasSuffix predicate on the "currency" field.
func CurrencyIn ¶
CurrencyIn applies the In predicate on the "currency" field.
func CurrencyLT ¶
CurrencyLT applies the LT predicate on the "currency" field.
func CurrencyLTE ¶
CurrencyLTE applies the LTE predicate on the "currency" field.
func CurrencyNEQ ¶
CurrencyNEQ applies the NEQ predicate on the "currency" field.
func CurrencyNotIn ¶
CurrencyNotIn applies the NotIn predicate on the "currency" field.
func CustomerID ¶
CustomerID applies equality check predicate on the "customer_id" field. It's identical to CustomerIDEQ.
func CustomerIDContains ¶
CustomerIDContains applies the Contains predicate on the "customer_id" field.
func CustomerIDContainsFold ¶
CustomerIDContainsFold applies the ContainsFold predicate on the "customer_id" field.
func CustomerIDEQ ¶
CustomerIDEQ applies the EQ predicate on the "customer_id" field.
func CustomerIDEqualFold ¶
CustomerIDEqualFold applies the EqualFold predicate on the "customer_id" field.
func CustomerIDGT ¶
CustomerIDGT applies the GT predicate on the "customer_id" field.
func CustomerIDGTE ¶
CustomerIDGTE applies the GTE predicate on the "customer_id" field.
func CustomerIDHasPrefix ¶
CustomerIDHasPrefix applies the HasPrefix predicate on the "customer_id" field.
func CustomerIDHasSuffix ¶
CustomerIDHasSuffix applies the HasSuffix predicate on the "customer_id" field.
func CustomerIDIn ¶
CustomerIDIn applies the In predicate on the "customer_id" field.
func CustomerIDLT ¶
CustomerIDLT applies the LT predicate on the "customer_id" field.
func CustomerIDLTE ¶
CustomerIDLTE applies the LTE predicate on the "customer_id" field.
func CustomerIDNEQ ¶
CustomerIDNEQ applies the NEQ predicate on the "customer_id" field.
func CustomerIDNotIn ¶
CustomerIDNotIn applies the NotIn predicate on the "customer_id" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
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 ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
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 ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func DueDate ¶
DueDate applies equality check predicate on the "due_date" field. It's identical to DueDateEQ.
func DueDateGTE ¶
DueDateGTE applies the GTE predicate on the "due_date" field.
func DueDateIsNil ¶
DueDateIsNil applies the IsNil predicate on the "due_date" field.
func DueDateLTE ¶
DueDateLTE applies the LTE predicate on the "due_date" field.
func DueDateNEQ ¶
DueDateNEQ applies the NEQ predicate on the "due_date" field.
func DueDateNotIn ¶
DueDateNotIn applies the NotIn predicate on the "due_date" field.
func DueDateNotNil ¶
DueDateNotNil applies the NotNil predicate on the "due_date" field.
func EnvironmentID ¶
EnvironmentID applies equality check predicate on the "environment_id" field. It's identical to EnvironmentIDEQ.
func EnvironmentIDContains ¶
EnvironmentIDContains applies the Contains predicate on the "environment_id" field.
func EnvironmentIDContainsFold ¶
EnvironmentIDContainsFold applies the ContainsFold predicate on the "environment_id" field.
func EnvironmentIDEQ ¶
EnvironmentIDEQ applies the EQ predicate on the "environment_id" field.
func EnvironmentIDEqualFold ¶
EnvironmentIDEqualFold applies the EqualFold predicate on the "environment_id" field.
func EnvironmentIDGT ¶
EnvironmentIDGT applies the GT predicate on the "environment_id" field.
func EnvironmentIDGTE ¶
EnvironmentIDGTE applies the GTE predicate on the "environment_id" field.
func EnvironmentIDHasPrefix ¶
EnvironmentIDHasPrefix applies the HasPrefix predicate on the "environment_id" field.
func EnvironmentIDHasSuffix ¶
EnvironmentIDHasSuffix applies the HasSuffix predicate on the "environment_id" field.
func EnvironmentIDIn ¶
EnvironmentIDIn applies the In predicate on the "environment_id" field.
func EnvironmentIDIsNil ¶
EnvironmentIDIsNil applies the IsNil predicate on the "environment_id" field.
func EnvironmentIDLT ¶
EnvironmentIDLT applies the LT predicate on the "environment_id" field.
func EnvironmentIDLTE ¶
EnvironmentIDLTE applies the LTE predicate on the "environment_id" field.
func EnvironmentIDNEQ ¶
EnvironmentIDNEQ applies the NEQ predicate on the "environment_id" field.
func EnvironmentIDNotIn ¶
EnvironmentIDNotIn applies the NotIn predicate on the "environment_id" field.
func EnvironmentIDNotNil ¶
EnvironmentIDNotNil applies the NotNil predicate on the "environment_id" field.
func FinalizedAt ¶
FinalizedAt applies equality check predicate on the "finalized_at" field. It's identical to FinalizedAtEQ.
func FinalizedAtEQ ¶
FinalizedAtEQ applies the EQ predicate on the "finalized_at" field.
func FinalizedAtGT ¶
FinalizedAtGT applies the GT predicate on the "finalized_at" field.
func FinalizedAtGTE ¶
FinalizedAtGTE applies the GTE predicate on the "finalized_at" field.
func FinalizedAtIn ¶
FinalizedAtIn applies the In predicate on the "finalized_at" field.
func FinalizedAtIsNil ¶
FinalizedAtIsNil applies the IsNil predicate on the "finalized_at" field.
func FinalizedAtLT ¶
FinalizedAtLT applies the LT predicate on the "finalized_at" field.
func FinalizedAtLTE ¶
FinalizedAtLTE applies the LTE predicate on the "finalized_at" field.
func FinalizedAtNEQ ¶
FinalizedAtNEQ applies the NEQ predicate on the "finalized_at" field.
func FinalizedAtNotIn ¶
FinalizedAtNotIn applies the NotIn predicate on the "finalized_at" field.
func FinalizedAtNotNil ¶
FinalizedAtNotNil applies the NotNil predicate on the "finalized_at" field.
func HasCouponApplications ¶ added in v1.0.21
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 ¶
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 IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func IdempotencyKey ¶
IdempotencyKey applies equality check predicate on the "idempotency_key" field. It's identical to IdempotencyKeyEQ.
func IdempotencyKeyContains ¶
IdempotencyKeyContains applies the Contains predicate on the "idempotency_key" field.
func IdempotencyKeyContainsFold ¶
IdempotencyKeyContainsFold applies the ContainsFold predicate on the "idempotency_key" field.
func IdempotencyKeyEQ ¶
IdempotencyKeyEQ applies the EQ predicate on the "idempotency_key" field.
func IdempotencyKeyEqualFold ¶
IdempotencyKeyEqualFold applies the EqualFold predicate on the "idempotency_key" field.
func IdempotencyKeyGT ¶
IdempotencyKeyGT applies the GT predicate on the "idempotency_key" field.
func IdempotencyKeyGTE ¶
IdempotencyKeyGTE applies the GTE predicate on the "idempotency_key" field.
func IdempotencyKeyHasPrefix ¶
IdempotencyKeyHasPrefix applies the HasPrefix predicate on the "idempotency_key" field.
func IdempotencyKeyHasSuffix ¶
IdempotencyKeyHasSuffix applies the HasSuffix predicate on the "idempotency_key" field.
func IdempotencyKeyIn ¶
IdempotencyKeyIn applies the In predicate on the "idempotency_key" field.
func IdempotencyKeyIsNil ¶
IdempotencyKeyIsNil applies the IsNil predicate on the "idempotency_key" field.
func IdempotencyKeyLT ¶
IdempotencyKeyLT applies the LT predicate on the "idempotency_key" field.
func IdempotencyKeyLTE ¶
IdempotencyKeyLTE applies the LTE predicate on the "idempotency_key" field.
func IdempotencyKeyNEQ ¶
IdempotencyKeyNEQ applies the NEQ predicate on the "idempotency_key" field.
func IdempotencyKeyNotIn ¶
IdempotencyKeyNotIn applies the NotIn predicate on the "idempotency_key" field.
func IdempotencyKeyNotNil ¶
IdempotencyKeyNotNil applies the NotNil predicate on the "idempotency_key" field.
func InvoiceNumber ¶
InvoiceNumber applies equality check predicate on the "invoice_number" field. It's identical to InvoiceNumberEQ.
func InvoiceNumberContains ¶
InvoiceNumberContains applies the Contains predicate on the "invoice_number" field.
func InvoiceNumberContainsFold ¶
InvoiceNumberContainsFold applies the ContainsFold predicate on the "invoice_number" field.
func InvoiceNumberEQ ¶
InvoiceNumberEQ applies the EQ predicate on the "invoice_number" field.
func InvoiceNumberEqualFold ¶
InvoiceNumberEqualFold applies the EqualFold predicate on the "invoice_number" field.
func InvoiceNumberGT ¶
InvoiceNumberGT applies the GT predicate on the "invoice_number" field.
func InvoiceNumberGTE ¶
InvoiceNumberGTE applies the GTE predicate on the "invoice_number" field.
func InvoiceNumberHasPrefix ¶
InvoiceNumberHasPrefix applies the HasPrefix predicate on the "invoice_number" field.
func InvoiceNumberHasSuffix ¶
InvoiceNumberHasSuffix applies the HasSuffix predicate on the "invoice_number" field.
func InvoiceNumberIn ¶
InvoiceNumberIn applies the In predicate on the "invoice_number" field.
func InvoiceNumberIsNil ¶
InvoiceNumberIsNil applies the IsNil predicate on the "invoice_number" field.
func InvoiceNumberLT ¶
InvoiceNumberLT applies the LT predicate on the "invoice_number" field.
func InvoiceNumberLTE ¶
InvoiceNumberLTE applies the LTE predicate on the "invoice_number" field.
func InvoiceNumberNEQ ¶
InvoiceNumberNEQ applies the NEQ predicate on the "invoice_number" field.
func InvoiceNumberNotIn ¶
InvoiceNumberNotIn applies the NotIn predicate on the "invoice_number" field.
func InvoiceNumberNotNil ¶
InvoiceNumberNotNil applies the NotNil predicate on the "invoice_number" field.
func InvoicePdfURL ¶
InvoicePdfURL applies equality check predicate on the "invoice_pdf_url" field. It's identical to InvoicePdfURLEQ.
func InvoicePdfURLContains ¶
InvoicePdfURLContains applies the Contains predicate on the "invoice_pdf_url" field.
func InvoicePdfURLContainsFold ¶
InvoicePdfURLContainsFold applies the ContainsFold predicate on the "invoice_pdf_url" field.
func InvoicePdfURLEQ ¶
InvoicePdfURLEQ applies the EQ predicate on the "invoice_pdf_url" field.
func InvoicePdfURLEqualFold ¶
InvoicePdfURLEqualFold applies the EqualFold predicate on the "invoice_pdf_url" field.
func InvoicePdfURLGT ¶
InvoicePdfURLGT applies the GT predicate on the "invoice_pdf_url" field.
func InvoicePdfURLGTE ¶
InvoicePdfURLGTE applies the GTE predicate on the "invoice_pdf_url" field.
func InvoicePdfURLHasPrefix ¶
InvoicePdfURLHasPrefix applies the HasPrefix predicate on the "invoice_pdf_url" field.
func InvoicePdfURLHasSuffix ¶
InvoicePdfURLHasSuffix applies the HasSuffix predicate on the "invoice_pdf_url" field.
func InvoicePdfURLIn ¶
InvoicePdfURLIn applies the In predicate on the "invoice_pdf_url" field.
func InvoicePdfURLIsNil ¶
InvoicePdfURLIsNil applies the IsNil predicate on the "invoice_pdf_url" field.
func InvoicePdfURLLT ¶
InvoicePdfURLLT applies the LT predicate on the "invoice_pdf_url" field.
func InvoicePdfURLLTE ¶
InvoicePdfURLLTE applies the LTE predicate on the "invoice_pdf_url" field.
func InvoicePdfURLNEQ ¶
InvoicePdfURLNEQ applies the NEQ predicate on the "invoice_pdf_url" field.
func InvoicePdfURLNotIn ¶
InvoicePdfURLNotIn applies the NotIn predicate on the "invoice_pdf_url" field.
func InvoicePdfURLNotNil ¶
InvoicePdfURLNotNil applies the NotNil predicate on the "invoice_pdf_url" field.
func InvoiceStatus ¶
InvoiceStatus applies equality check predicate on the "invoice_status" field. It's identical to InvoiceStatusEQ.
func InvoiceStatusContains ¶
InvoiceStatusContains applies the Contains predicate on the "invoice_status" field.
func InvoiceStatusContainsFold ¶
InvoiceStatusContainsFold applies the ContainsFold predicate on the "invoice_status" field.
func InvoiceStatusEQ ¶
InvoiceStatusEQ applies the EQ predicate on the "invoice_status" field.
func InvoiceStatusEqualFold ¶
InvoiceStatusEqualFold applies the EqualFold predicate on the "invoice_status" field.
func InvoiceStatusGT ¶
InvoiceStatusGT applies the GT predicate on the "invoice_status" field.
func InvoiceStatusGTE ¶
InvoiceStatusGTE applies the GTE predicate on the "invoice_status" field.
func InvoiceStatusHasPrefix ¶
InvoiceStatusHasPrefix applies the HasPrefix predicate on the "invoice_status" field.
func InvoiceStatusHasSuffix ¶
InvoiceStatusHasSuffix applies the HasSuffix predicate on the "invoice_status" field.
func InvoiceStatusIn ¶
InvoiceStatusIn applies the In predicate on the "invoice_status" field.
func InvoiceStatusLT ¶
InvoiceStatusLT applies the LT predicate on the "invoice_status" field.
func InvoiceStatusLTE ¶
InvoiceStatusLTE applies the LTE predicate on the "invoice_status" field.
func InvoiceStatusNEQ ¶
InvoiceStatusNEQ applies the NEQ predicate on the "invoice_status" field.
func InvoiceStatusNotIn ¶
InvoiceStatusNotIn applies the NotIn predicate on the "invoice_status" field.
func InvoiceType ¶
InvoiceType applies equality check predicate on the "invoice_type" field. It's identical to InvoiceTypeEQ.
func InvoiceTypeContains ¶
InvoiceTypeContains applies the Contains predicate on the "invoice_type" field.
func InvoiceTypeContainsFold ¶
InvoiceTypeContainsFold applies the ContainsFold predicate on the "invoice_type" field.
func InvoiceTypeEQ ¶
InvoiceTypeEQ applies the EQ predicate on the "invoice_type" field.
func InvoiceTypeEqualFold ¶
InvoiceTypeEqualFold applies the EqualFold predicate on the "invoice_type" field.
func InvoiceTypeGT ¶
InvoiceTypeGT applies the GT predicate on the "invoice_type" field.
func InvoiceTypeGTE ¶
InvoiceTypeGTE applies the GTE predicate on the "invoice_type" field.
func InvoiceTypeHasPrefix ¶
InvoiceTypeHasPrefix applies the HasPrefix predicate on the "invoice_type" field.
func InvoiceTypeHasSuffix ¶
InvoiceTypeHasSuffix applies the HasSuffix predicate on the "invoice_type" field.
func InvoiceTypeIn ¶
InvoiceTypeIn applies the In predicate on the "invoice_type" field.
func InvoiceTypeLT ¶
InvoiceTypeLT applies the LT predicate on the "invoice_type" field.
func InvoiceTypeLTE ¶
InvoiceTypeLTE applies the LTE predicate on the "invoice_type" field.
func InvoiceTypeNEQ ¶
InvoiceTypeNEQ applies the NEQ predicate on the "invoice_type" field.
func InvoiceTypeNotIn ¶
InvoiceTypeNotIn applies the NotIn predicate on the "invoice_type" field.
func MetadataIsNil ¶
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func PaidAt ¶
PaidAt applies equality check predicate on the "paid_at" field. It's identical to PaidAtEQ.
func PaidAtIsNil ¶
PaidAtIsNil applies the IsNil predicate on the "paid_at" field.
func PaidAtNotIn ¶
PaidAtNotIn applies the NotIn predicate on the "paid_at" field.
func PaidAtNotNil ¶
PaidAtNotNil applies the NotNil predicate on the "paid_at" field.
func PaymentStatus ¶
PaymentStatus applies equality check predicate on the "payment_status" field. It's identical to PaymentStatusEQ.
func PaymentStatusContains ¶
PaymentStatusContains applies the Contains predicate on the "payment_status" field.
func PaymentStatusContainsFold ¶
PaymentStatusContainsFold applies the ContainsFold predicate on the "payment_status" field.
func PaymentStatusEQ ¶
PaymentStatusEQ applies the EQ predicate on the "payment_status" field.
func PaymentStatusEqualFold ¶
PaymentStatusEqualFold applies the EqualFold predicate on the "payment_status" field.
func PaymentStatusGT ¶
PaymentStatusGT applies the GT predicate on the "payment_status" field.
func PaymentStatusGTE ¶
PaymentStatusGTE applies the GTE predicate on the "payment_status" field.
func PaymentStatusHasPrefix ¶
PaymentStatusHasPrefix applies the HasPrefix predicate on the "payment_status" field.
func PaymentStatusHasSuffix ¶
PaymentStatusHasSuffix applies the HasSuffix predicate on the "payment_status" field.
func PaymentStatusIn ¶
PaymentStatusIn applies the In predicate on the "payment_status" field.
func PaymentStatusLT ¶
PaymentStatusLT applies the LT predicate on the "payment_status" field.
func PaymentStatusLTE ¶
PaymentStatusLTE applies the LTE predicate on the "payment_status" field.
func PaymentStatusNEQ ¶
PaymentStatusNEQ applies the NEQ predicate on the "payment_status" field.
func PaymentStatusNotIn ¶
PaymentStatusNotIn applies the NotIn predicate on the "payment_status" field.
func PeriodEnd ¶
PeriodEnd applies equality check predicate on the "period_end" field. It's identical to PeriodEndEQ.
func PeriodEndEQ ¶
PeriodEndEQ applies the EQ predicate on the "period_end" field.
func PeriodEndGT ¶
PeriodEndGT applies the GT predicate on the "period_end" field.
func PeriodEndGTE ¶
PeriodEndGTE applies the GTE predicate on the "period_end" field.
func PeriodEndIn ¶
PeriodEndIn applies the In predicate on the "period_end" field.
func PeriodEndIsNil ¶
PeriodEndIsNil applies the IsNil predicate on the "period_end" field.
func PeriodEndLT ¶
PeriodEndLT applies the LT predicate on the "period_end" field.
func PeriodEndLTE ¶
PeriodEndLTE applies the LTE predicate on the "period_end" field.
func PeriodEndNEQ ¶
PeriodEndNEQ applies the NEQ predicate on the "period_end" field.
func PeriodEndNotIn ¶
PeriodEndNotIn applies the NotIn predicate on the "period_end" field.
func PeriodEndNotNil ¶
PeriodEndNotNil applies the NotNil predicate on the "period_end" field.
func PeriodStart ¶
PeriodStart applies equality check predicate on the "period_start" field. It's identical to PeriodStartEQ.
func PeriodStartEQ ¶
PeriodStartEQ applies the EQ predicate on the "period_start" field.
func PeriodStartGT ¶
PeriodStartGT applies the GT predicate on the "period_start" field.
func PeriodStartGTE ¶
PeriodStartGTE applies the GTE predicate on the "period_start" field.
func PeriodStartIn ¶
PeriodStartIn applies the In predicate on the "period_start" field.
func PeriodStartIsNil ¶
PeriodStartIsNil applies the IsNil predicate on the "period_start" field.
func PeriodStartLT ¶
PeriodStartLT applies the LT predicate on the "period_start" field.
func PeriodStartLTE ¶
PeriodStartLTE applies the LTE predicate on the "period_start" field.
func PeriodStartNEQ ¶
PeriodStartNEQ applies the NEQ predicate on the "period_start" field.
func PeriodStartNotIn ¶
PeriodStartNotIn applies the NotIn predicate on the "period_start" field.
func PeriodStartNotNil ¶
PeriodStartNotNil applies the NotNil predicate on the "period_start" field.
func RefundedAmount ¶ added in v1.0.18
RefundedAmount applies equality check predicate on the "refunded_amount" field. It's identical to RefundedAmountEQ.
func RefundedAmountEQ ¶ added in v1.0.18
RefundedAmountEQ applies the EQ predicate on the "refunded_amount" field.
func RefundedAmountGT ¶ added in v1.0.18
RefundedAmountGT applies the GT predicate on the "refunded_amount" field.
func RefundedAmountGTE ¶ added in v1.0.18
RefundedAmountGTE applies the GTE predicate on the "refunded_amount" field.
func RefundedAmountIn ¶ added in v1.0.18
RefundedAmountIn applies the In predicate on the "refunded_amount" field.
func RefundedAmountIsNil ¶ added in v1.0.18
RefundedAmountIsNil applies the IsNil predicate on the "refunded_amount" field.
func RefundedAmountLT ¶ added in v1.0.18
RefundedAmountLT applies the LT predicate on the "refunded_amount" field.
func RefundedAmountLTE ¶ added in v1.0.18
RefundedAmountLTE applies the LTE predicate on the "refunded_amount" field.
func RefundedAmountNEQ ¶ added in v1.0.18
RefundedAmountNEQ applies the NEQ predicate on the "refunded_amount" field.
func RefundedAmountNotIn ¶ added in v1.0.18
RefundedAmountNotIn applies the NotIn predicate on the "refunded_amount" field.
func RefundedAmountNotNil ¶ added in v1.0.18
RefundedAmountNotNil applies the NotNil predicate on the "refunded_amount" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEqualFold ¶
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusHasPrefix ¶
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func SubscriptionID ¶
SubscriptionID applies equality check predicate on the "subscription_id" field. It's identical to SubscriptionIDEQ.
func SubscriptionIDContains ¶
SubscriptionIDContains applies the Contains predicate on the "subscription_id" field.
func SubscriptionIDContainsFold ¶
SubscriptionIDContainsFold applies the ContainsFold predicate on the "subscription_id" field.
func SubscriptionIDEQ ¶
SubscriptionIDEQ applies the EQ predicate on the "subscription_id" field.
func SubscriptionIDEqualFold ¶
SubscriptionIDEqualFold applies the EqualFold predicate on the "subscription_id" field.
func SubscriptionIDGT ¶
SubscriptionIDGT applies the GT predicate on the "subscription_id" field.
func SubscriptionIDGTE ¶
SubscriptionIDGTE applies the GTE predicate on the "subscription_id" field.
func SubscriptionIDHasPrefix ¶
SubscriptionIDHasPrefix applies the HasPrefix predicate on the "subscription_id" field.
func SubscriptionIDHasSuffix ¶
SubscriptionIDHasSuffix applies the HasSuffix predicate on the "subscription_id" field.
func SubscriptionIDIn ¶
SubscriptionIDIn applies the In predicate on the "subscription_id" field.
func SubscriptionIDIsNil ¶
SubscriptionIDIsNil applies the IsNil predicate on the "subscription_id" field.
func SubscriptionIDLT ¶
SubscriptionIDLT applies the LT predicate on the "subscription_id" field.
func SubscriptionIDLTE ¶
SubscriptionIDLTE applies the LTE predicate on the "subscription_id" field.
func SubscriptionIDNEQ ¶
SubscriptionIDNEQ applies the NEQ predicate on the "subscription_id" field.
func SubscriptionIDNotIn ¶
SubscriptionIDNotIn applies the NotIn predicate on the "subscription_id" field.
func SubscriptionIDNotNil ¶
SubscriptionIDNotNil applies the NotNil predicate on the "subscription_id" field.
func Subtotal ¶ added in v1.0.18
Subtotal applies equality check predicate on the "subtotal" field. It's identical to SubtotalEQ.
func SubtotalEQ ¶ added in v1.0.18
SubtotalEQ applies the EQ predicate on the "subtotal" field.
func SubtotalGT ¶ added in v1.0.18
SubtotalGT applies the GT predicate on the "subtotal" field.
func SubtotalGTE ¶ added in v1.0.18
SubtotalGTE applies the GTE predicate on the "subtotal" field.
func SubtotalIn ¶ added in v1.0.18
SubtotalIn applies the In predicate on the "subtotal" field.
func SubtotalIsNil ¶ added in v1.0.18
SubtotalIsNil applies the IsNil predicate on the "subtotal" field.
func SubtotalLT ¶ added in v1.0.18
SubtotalLT applies the LT predicate on the "subtotal" field.
func SubtotalLTE ¶ added in v1.0.18
SubtotalLTE applies the LTE predicate on the "subtotal" field.
func SubtotalNEQ ¶ added in v1.0.18
SubtotalNEQ applies the NEQ predicate on the "subtotal" field.
func SubtotalNotIn ¶ added in v1.0.18
SubtotalNotIn applies the NotIn predicate on the "subtotal" field.
func SubtotalNotNil ¶ added in v1.0.18
SubtotalNotNil applies the NotNil predicate on the "subtotal" field.
func TenantID ¶
TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.
func TenantIDContains ¶
TenantIDContains applies the Contains predicate on the "tenant_id" field.
func TenantIDContainsFold ¶
TenantIDContainsFold applies the ContainsFold predicate on the "tenant_id" field.
func TenantIDEQ ¶
TenantIDEQ applies the EQ predicate on the "tenant_id" field.
func TenantIDEqualFold ¶
TenantIDEqualFold applies the EqualFold predicate on the "tenant_id" field.
func TenantIDGT ¶
TenantIDGT applies the GT predicate on the "tenant_id" field.
func TenantIDGTE ¶
TenantIDGTE applies the GTE predicate on the "tenant_id" field.
func TenantIDHasPrefix ¶
TenantIDHasPrefix applies the HasPrefix predicate on the "tenant_id" field.
func TenantIDHasSuffix ¶
TenantIDHasSuffix applies the HasSuffix predicate on the "tenant_id" field.
func TenantIDIn ¶
TenantIDIn applies the In predicate on the "tenant_id" field.
func TenantIDLT ¶
TenantIDLT applies the LT predicate on the "tenant_id" field.
func TenantIDLTE ¶
TenantIDLTE applies the LTE predicate on the "tenant_id" field.
func TenantIDNEQ ¶
TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.
func TenantIDNotIn ¶
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
TotalDiscount applies equality check predicate on the "total_discount" field. It's identical to TotalDiscountEQ.
func TotalDiscountEQ ¶ added in v1.0.21
TotalDiscountEQ applies the EQ predicate on the "total_discount" field.
func TotalDiscountGT ¶ added in v1.0.21
TotalDiscountGT applies the GT predicate on the "total_discount" field.
func TotalDiscountGTE ¶ added in v1.0.21
TotalDiscountGTE applies the GTE predicate on the "total_discount" field.
func TotalDiscountIn ¶ added in v1.0.21
TotalDiscountIn applies the In predicate on the "total_discount" field.
func TotalDiscountIsNil ¶ added in v1.0.21
TotalDiscountIsNil applies the IsNil predicate on the "total_discount" field.
func TotalDiscountLT ¶ added in v1.0.21
TotalDiscountLT applies the LT predicate on the "total_discount" field.
func TotalDiscountLTE ¶ added in v1.0.21
TotalDiscountLTE applies the LTE predicate on the "total_discount" field.
func TotalDiscountNEQ ¶ added in v1.0.21
TotalDiscountNEQ applies the NEQ predicate on the "total_discount" field.
func TotalDiscountNotIn ¶ added in v1.0.21
TotalDiscountNotIn applies the NotIn predicate on the "total_discount" field.
func TotalDiscountNotNil ¶ added in v1.0.21
TotalDiscountNotNil applies the NotNil predicate on the "total_discount" field.
func TotalIsNil ¶ added in v1.0.18
TotalIsNil applies the IsNil predicate on the "total" field.
func TotalNotIn ¶ added in v1.0.18
TotalNotIn applies the NotIn predicate on the "total" field.
func TotalNotNil ¶ added in v1.0.18
TotalNotNil applies the NotNil predicate on the "total" field.
func TotalTax ¶ added in v1.0.21
TotalTax applies equality check predicate on the "total_tax" field. It's identical to TotalTaxEQ.
func TotalTaxEQ ¶ added in v1.0.21
TotalTaxEQ applies the EQ predicate on the "total_tax" field.
func TotalTaxGT ¶ added in v1.0.21
TotalTaxGT applies the GT predicate on the "total_tax" field.
func TotalTaxGTE ¶ added in v1.0.21
TotalTaxGTE applies the GTE predicate on the "total_tax" field.
func TotalTaxIn ¶ added in v1.0.21
TotalTaxIn applies the In predicate on the "total_tax" field.
func TotalTaxIsNil ¶ added in v1.0.21
TotalTaxIsNil applies the IsNil predicate on the "total_tax" field.
func TotalTaxLT ¶ added in v1.0.21
TotalTaxLT applies the LT predicate on the "total_tax" field.
func TotalTaxLTE ¶ added in v1.0.21
TotalTaxLTE applies the LTE predicate on the "total_tax" field.
func TotalTaxNEQ ¶ added in v1.0.21
TotalTaxNEQ applies the NEQ predicate on the "total_tax" field.
func TotalTaxNotIn ¶ added in v1.0.21
TotalTaxNotIn applies the NotIn predicate on the "total_tax" field.
func TotalTaxNotNil ¶ added in v1.0.21
TotalTaxNotNil applies the NotNil predicate on the "total_tax" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Version ¶
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionGTE ¶
VersionGTE applies the GTE predicate on the "version" field.
func VersionLTE ¶
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
VersionNotIn applies the NotIn predicate on the "version" field.
func VoidedAt ¶
VoidedAt applies equality check predicate on the "voided_at" field. It's identical to VoidedAtEQ.
func VoidedAtEQ ¶
VoidedAtEQ applies the EQ predicate on the "voided_at" field.
func VoidedAtGT ¶
VoidedAtGT applies the GT predicate on the "voided_at" field.
func VoidedAtGTE ¶
VoidedAtGTE applies the GTE predicate on the "voided_at" field.
func VoidedAtIn ¶
VoidedAtIn applies the In predicate on the "voided_at" field.
func VoidedAtIsNil ¶
VoidedAtIsNil applies the IsNil predicate on the "voided_at" field.
func VoidedAtLT ¶
VoidedAtLT applies the LT predicate on the "voided_at" field.
func VoidedAtLTE ¶
VoidedAtLTE applies the LTE predicate on the "voided_at" field.
func VoidedAtNEQ ¶
VoidedAtNEQ applies the NEQ predicate on the "voided_at" field.
func VoidedAtNotIn ¶
VoidedAtNotIn applies the NotIn predicate on the "voided_at" field.
func VoidedAtNotNil ¶
VoidedAtNotNil applies the NotNil predicate on the "voided_at" field.
Types ¶
type OrderOption ¶
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.