Help us shape the future of Go! Take the 2026 Go Developer Survey

billingdispute

package
v0.30.2 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the billingdispute type in the database.
	Label = "billing_dispute"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// 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"
	// FieldDisputeID holds the string denoting the dispute_id field in the database.
	FieldDisputeID = "dispute_id"
	// FieldChargeID holds the string denoting the charge_id field in the database.
	FieldChargeID = "charge_id"
	// FieldPaymentIntent holds the string denoting the payment_intent field in the database.
	FieldPaymentIntent = "payment_intent"
	// FieldClosed holds the string denoting the closed field in the database.
	FieldClosed = "closed"
	// FieldLost holds the string denoting the lost field in the database.
	FieldLost = "lost"
	// Table holds the table name of the billingdispute in the database.
	Table = "sf_billing_disputes"
)

Variables

View Source
var (
	// 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
	// DisputeIDValidator is a validator for the "dispute_id" field. It is called by the builders before save.
	DisputeIDValidator func(string) error
	// ChargeIDValidator is a validator for the "charge_id" field. It is called by the builders before save.
	ChargeIDValidator func(string) error
	// PaymentIntentValidator is a validator for the "payment_intent" field. It is called by the builders before save.
	PaymentIntentValidator func(string) error
	// DefaultClosed holds the default value on creation for the "closed" field.
	DefaultClosed bool
	// DefaultLost holds the default value on creation for the "lost" field.
	DefaultLost bool
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for billingdispute fields.

Functions

func And

And groups predicates with the AND operator between them.

func ChargeID

func ChargeID(v string) predicate.BillingDispute

ChargeID applies equality check predicate on the "charge_id" field. It's identical to ChargeIDEQ.

func ChargeIDContains

func ChargeIDContains(v string) predicate.BillingDispute

ChargeIDContains applies the Contains predicate on the "charge_id" field.

func ChargeIDContainsFold

func ChargeIDContainsFold(v string) predicate.BillingDispute

ChargeIDContainsFold applies the ContainsFold predicate on the "charge_id" field.

func ChargeIDEQ

func ChargeIDEQ(v string) predicate.BillingDispute

ChargeIDEQ applies the EQ predicate on the "charge_id" field.

func ChargeIDEqualFold

func ChargeIDEqualFold(v string) predicate.BillingDispute

ChargeIDEqualFold applies the EqualFold predicate on the "charge_id" field.

func ChargeIDGT

func ChargeIDGT(v string) predicate.BillingDispute

ChargeIDGT applies the GT predicate on the "charge_id" field.

func ChargeIDGTE

func ChargeIDGTE(v string) predicate.BillingDispute

ChargeIDGTE applies the GTE predicate on the "charge_id" field.

func ChargeIDHasPrefix

func ChargeIDHasPrefix(v string) predicate.BillingDispute

ChargeIDHasPrefix applies the HasPrefix predicate on the "charge_id" field.

func ChargeIDHasSuffix

func ChargeIDHasSuffix(v string) predicate.BillingDispute

ChargeIDHasSuffix applies the HasSuffix predicate on the "charge_id" field.

func ChargeIDIn

func ChargeIDIn(vs ...string) predicate.BillingDispute

ChargeIDIn applies the In predicate on the "charge_id" field.

func ChargeIDIsNil

func ChargeIDIsNil() predicate.BillingDispute

ChargeIDIsNil applies the IsNil predicate on the "charge_id" field.

func ChargeIDLT

func ChargeIDLT(v string) predicate.BillingDispute

ChargeIDLT applies the LT predicate on the "charge_id" field.

func ChargeIDLTE

func ChargeIDLTE(v string) predicate.BillingDispute

ChargeIDLTE applies the LTE predicate on the "charge_id" field.

func ChargeIDNEQ

func ChargeIDNEQ(v string) predicate.BillingDispute

ChargeIDNEQ applies the NEQ predicate on the "charge_id" field.

func ChargeIDNotIn

func ChargeIDNotIn(vs ...string) predicate.BillingDispute

ChargeIDNotIn applies the NotIn predicate on the "charge_id" field.

func ChargeIDNotNil

func ChargeIDNotNil() predicate.BillingDispute

ChargeIDNotNil applies the NotNil predicate on the "charge_id" field.

func Closed

func Closed(v bool) predicate.BillingDispute

Closed applies equality check predicate on the "closed" field. It's identical to ClosedEQ.

func ClosedEQ

func ClosedEQ(v bool) predicate.BillingDispute

ClosedEQ applies the EQ predicate on the "closed" field.

func ClosedNEQ

func ClosedNEQ(v bool) predicate.BillingDispute

ClosedNEQ applies the NEQ predicate on the "closed" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.BillingDispute

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.BillingDispute

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.BillingDispute

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.BillingDispute

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.BillingDispute

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.BillingDispute

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.BillingDispute

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

func CreatedAtNotIn

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

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

func DisputeID

func DisputeID(v string) predicate.BillingDispute

DisputeID applies equality check predicate on the "dispute_id" field. It's identical to DisputeIDEQ.

func DisputeIDContains

func DisputeIDContains(v string) predicate.BillingDispute

DisputeIDContains applies the Contains predicate on the "dispute_id" field.

func DisputeIDContainsFold

func DisputeIDContainsFold(v string) predicate.BillingDispute

DisputeIDContainsFold applies the ContainsFold predicate on the "dispute_id" field.

func DisputeIDEQ

func DisputeIDEQ(v string) predicate.BillingDispute

DisputeIDEQ applies the EQ predicate on the "dispute_id" field.

func DisputeIDEqualFold

func DisputeIDEqualFold(v string) predicate.BillingDispute

DisputeIDEqualFold applies the EqualFold predicate on the "dispute_id" field.

func DisputeIDGT

func DisputeIDGT(v string) predicate.BillingDispute

DisputeIDGT applies the GT predicate on the "dispute_id" field.

func DisputeIDGTE

func DisputeIDGTE(v string) predicate.BillingDispute

DisputeIDGTE applies the GTE predicate on the "dispute_id" field.

func DisputeIDHasPrefix

func DisputeIDHasPrefix(v string) predicate.BillingDispute

DisputeIDHasPrefix applies the HasPrefix predicate on the "dispute_id" field.

func DisputeIDHasSuffix

func DisputeIDHasSuffix(v string) predicate.BillingDispute

DisputeIDHasSuffix applies the HasSuffix predicate on the "dispute_id" field.

func DisputeIDIn

func DisputeIDIn(vs ...string) predicate.BillingDispute

DisputeIDIn applies the In predicate on the "dispute_id" field.

func DisputeIDLT

func DisputeIDLT(v string) predicate.BillingDispute

DisputeIDLT applies the LT predicate on the "dispute_id" field.

func DisputeIDLTE

func DisputeIDLTE(v string) predicate.BillingDispute

DisputeIDLTE applies the LTE predicate on the "dispute_id" field.

func DisputeIDNEQ

func DisputeIDNEQ(v string) predicate.BillingDispute

DisputeIDNEQ applies the NEQ predicate on the "dispute_id" field.

func DisputeIDNotIn

func DisputeIDNotIn(vs ...string) predicate.BillingDispute

DisputeIDNotIn applies the NotIn predicate on the "dispute_id" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.BillingDispute

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.BillingDispute

IDNotIn applies the NotIn predicate on the ID field.

func Lost

Lost applies equality check predicate on the "lost" field. It's identical to LostEQ.

func LostEQ

func LostEQ(v bool) predicate.BillingDispute

LostEQ applies the EQ predicate on the "lost" field.

func LostNEQ

func LostNEQ(v bool) predicate.BillingDispute

LostNEQ applies the NEQ predicate on the "lost" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func PaymentIntent

func PaymentIntent(v string) predicate.BillingDispute

PaymentIntent applies equality check predicate on the "payment_intent" field. It's identical to PaymentIntentEQ.

func PaymentIntentContains

func PaymentIntentContains(v string) predicate.BillingDispute

PaymentIntentContains applies the Contains predicate on the "payment_intent" field.

func PaymentIntentContainsFold

func PaymentIntentContainsFold(v string) predicate.BillingDispute

PaymentIntentContainsFold applies the ContainsFold predicate on the "payment_intent" field.

func PaymentIntentEQ

func PaymentIntentEQ(v string) predicate.BillingDispute

PaymentIntentEQ applies the EQ predicate on the "payment_intent" field.

func PaymentIntentEqualFold

func PaymentIntentEqualFold(v string) predicate.BillingDispute

PaymentIntentEqualFold applies the EqualFold predicate on the "payment_intent" field.

func PaymentIntentGT

func PaymentIntentGT(v string) predicate.BillingDispute

PaymentIntentGT applies the GT predicate on the "payment_intent" field.

func PaymentIntentGTE

func PaymentIntentGTE(v string) predicate.BillingDispute

PaymentIntentGTE applies the GTE predicate on the "payment_intent" field.

func PaymentIntentHasPrefix

func PaymentIntentHasPrefix(v string) predicate.BillingDispute

PaymentIntentHasPrefix applies the HasPrefix predicate on the "payment_intent" field.

func PaymentIntentHasSuffix

func PaymentIntentHasSuffix(v string) predicate.BillingDispute

PaymentIntentHasSuffix applies the HasSuffix predicate on the "payment_intent" field.

func PaymentIntentIn

func PaymentIntentIn(vs ...string) predicate.BillingDispute

PaymentIntentIn applies the In predicate on the "payment_intent" field.

func PaymentIntentIsNil

func PaymentIntentIsNil() predicate.BillingDispute

PaymentIntentIsNil applies the IsNil predicate on the "payment_intent" field.

func PaymentIntentLT

func PaymentIntentLT(v string) predicate.BillingDispute

PaymentIntentLT applies the LT predicate on the "payment_intent" field.

func PaymentIntentLTE

func PaymentIntentLTE(v string) predicate.BillingDispute

PaymentIntentLTE applies the LTE predicate on the "payment_intent" field.

func PaymentIntentNEQ

func PaymentIntentNEQ(v string) predicate.BillingDispute

PaymentIntentNEQ applies the NEQ predicate on the "payment_intent" field.

func PaymentIntentNotIn

func PaymentIntentNotIn(vs ...string) predicate.BillingDispute

PaymentIntentNotIn applies the NotIn predicate on the "payment_intent" field.

func PaymentIntentNotNil

func PaymentIntentNotNil() predicate.BillingDispute

PaymentIntentNotNil applies the NotNil predicate on the "payment_intent" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.BillingDispute

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.BillingDispute

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.BillingDispute

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.BillingDispute

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.BillingDispute

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.BillingDispute

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.BillingDispute

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

func UpdatedAtNotIn

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

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

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the BillingDispute queries.

func ByChargeID

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

ByChargeID orders the results by the charge_id field.

func ByClosed

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

ByClosed orders the results by the closed field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByDisputeID

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

ByDisputeID orders the results by the dispute_id field.

func ByID

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

ByID orders the results by the id field.

func ByLost

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

ByLost orders the results by the lost field.

func ByPaymentIntent

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

ByPaymentIntent orders the results by the payment_intent field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

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