lockorderfulfillment

package
v0.0.0-...-6269356 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the lockorderfulfillment type in the database.
	Label = "lock_order_fulfillment"
	// 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"
	// FieldTxID holds the string denoting the tx_id field in the database.
	FieldTxID = "tx_id"
	// FieldPsp holds the string denoting the psp field in the database.
	FieldPsp = "psp"
	// FieldValidationStatus holds the string denoting the validation_status field in the database.
	FieldValidationStatus = "validation_status"
	// FieldValidationError holds the string denoting the validation_error field in the database.
	FieldValidationError = "validation_error"
	// EdgeOrder holds the string denoting the order edge name in mutations.
	EdgeOrder = "order"
	// Table holds the table name of the lockorderfulfillment in the database.
	Table = "lock_order_fulfillments"
	// OrderTable is the table that holds the order relation/edge.
	OrderTable = "lock_order_fulfillments"
	// OrderInverseTable is the table name for the LockPaymentOrder entity.
	// It exists in this package in order to avoid circular dependency with the "lockpaymentorder" package.
	OrderInverseTable = "lock_payment_orders"
	// OrderColumn is the table column denoting the order relation/edge.
	OrderColumn = "lock_payment_order_fulfillments"
)
View Source
const DefaultValidationStatus = ValidationStatusPending

ValidationStatusPending is the default value of the ValidationStatus enum.

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
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for lockorderfulfillment fields.

View Source
var ForeignKeys = []string{
	"lock_payment_order_fulfillments",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "lock_order_fulfillments" table and are not defined as standalone fields in the schema.

Functions

func And

And groups predicates with the AND operator between them.

func CreatedAt

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.LockOrderFulfillment

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.LockOrderFulfillment

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.LockOrderFulfillment

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.LockOrderFulfillment

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.LockOrderFulfillment

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.LockOrderFulfillment

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

func CreatedAtNotIn

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

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

func HasOrder

HasOrder applies the HasEdge predicate on the "order" edge.

func HasOrderWith

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

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

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Psp

Psp applies equality check predicate on the "psp" field. It's identical to PspEQ.

func PspContains

func PspContains(v string) predicate.LockOrderFulfillment

PspContains applies the Contains predicate on the "psp" field.

func PspContainsFold

func PspContainsFold(v string) predicate.LockOrderFulfillment

PspContainsFold applies the ContainsFold predicate on the "psp" field.

func PspEQ

PspEQ applies the EQ predicate on the "psp" field.

func PspEqualFold

func PspEqualFold(v string) predicate.LockOrderFulfillment

PspEqualFold applies the EqualFold predicate on the "psp" field.

func PspGT

PspGT applies the GT predicate on the "psp" field.

func PspGTE

PspGTE applies the GTE predicate on the "psp" field.

func PspHasPrefix

func PspHasPrefix(v string) predicate.LockOrderFulfillment

PspHasPrefix applies the HasPrefix predicate on the "psp" field.

func PspHasSuffix

func PspHasSuffix(v string) predicate.LockOrderFulfillment

PspHasSuffix applies the HasSuffix predicate on the "psp" field.

func PspIn

PspIn applies the In predicate on the "psp" field.

func PspIsNil

PspIsNil applies the IsNil predicate on the "psp" field.

func PspLT

PspLT applies the LT predicate on the "psp" field.

func PspLTE

PspLTE applies the LTE predicate on the "psp" field.

func PspNEQ

PspNEQ applies the NEQ predicate on the "psp" field.

func PspNotIn

func PspNotIn(vs ...string) predicate.LockOrderFulfillment

PspNotIn applies the NotIn predicate on the "psp" field.

func PspNotNil

func PspNotNil() predicate.LockOrderFulfillment

PspNotNil applies the NotNil predicate on the "psp" field.

func TxID

TxID applies equality check predicate on the "tx_id" field. It's identical to TxIDEQ.

func TxIDContains

func TxIDContains(v string) predicate.LockOrderFulfillment

TxIDContains applies the Contains predicate on the "tx_id" field.

func TxIDContainsFold

func TxIDContainsFold(v string) predicate.LockOrderFulfillment

TxIDContainsFold applies the ContainsFold predicate on the "tx_id" field.

func TxIDEQ

TxIDEQ applies the EQ predicate on the "tx_id" field.

func TxIDEqualFold

func TxIDEqualFold(v string) predicate.LockOrderFulfillment

TxIDEqualFold applies the EqualFold predicate on the "tx_id" field.

func TxIDGT

TxIDGT applies the GT predicate on the "tx_id" field.

func TxIDGTE

TxIDGTE applies the GTE predicate on the "tx_id" field.

func TxIDHasPrefix

func TxIDHasPrefix(v string) predicate.LockOrderFulfillment

TxIDHasPrefix applies the HasPrefix predicate on the "tx_id" field.

func TxIDHasSuffix

func TxIDHasSuffix(v string) predicate.LockOrderFulfillment

TxIDHasSuffix applies the HasSuffix predicate on the "tx_id" field.

func TxIDIn

TxIDIn applies the In predicate on the "tx_id" field.

func TxIDIsNil

func TxIDIsNil() predicate.LockOrderFulfillment

TxIDIsNil applies the IsNil predicate on the "tx_id" field.

func TxIDLT

TxIDLT applies the LT predicate on the "tx_id" field.

func TxIDLTE

TxIDLTE applies the LTE predicate on the "tx_id" field.

func TxIDNEQ

TxIDNEQ applies the NEQ predicate on the "tx_id" field.

func TxIDNotIn

func TxIDNotIn(vs ...string) predicate.LockOrderFulfillment

TxIDNotIn applies the NotIn predicate on the "tx_id" field.

func TxIDNotNil

func TxIDNotNil() predicate.LockOrderFulfillment

TxIDNotNil applies the NotNil predicate on the "tx_id" field.

func UpdatedAt

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.LockOrderFulfillment

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.LockOrderFulfillment

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.LockOrderFulfillment

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.LockOrderFulfillment

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.LockOrderFulfillment

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.LockOrderFulfillment

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

func UpdatedAtNotIn

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

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

func ValidationError

func ValidationError(v string) predicate.LockOrderFulfillment

ValidationError applies equality check predicate on the "validation_error" field. It's identical to ValidationErrorEQ.

func ValidationErrorContains

func ValidationErrorContains(v string) predicate.LockOrderFulfillment

ValidationErrorContains applies the Contains predicate on the "validation_error" field.

func ValidationErrorContainsFold

func ValidationErrorContainsFold(v string) predicate.LockOrderFulfillment

ValidationErrorContainsFold applies the ContainsFold predicate on the "validation_error" field.

func ValidationErrorEQ

func ValidationErrorEQ(v string) predicate.LockOrderFulfillment

ValidationErrorEQ applies the EQ predicate on the "validation_error" field.

func ValidationErrorEqualFold

func ValidationErrorEqualFold(v string) predicate.LockOrderFulfillment

ValidationErrorEqualFold applies the EqualFold predicate on the "validation_error" field.

func ValidationErrorGT

func ValidationErrorGT(v string) predicate.LockOrderFulfillment

ValidationErrorGT applies the GT predicate on the "validation_error" field.

func ValidationErrorGTE

func ValidationErrorGTE(v string) predicate.LockOrderFulfillment

ValidationErrorGTE applies the GTE predicate on the "validation_error" field.

func ValidationErrorHasPrefix

func ValidationErrorHasPrefix(v string) predicate.LockOrderFulfillment

ValidationErrorHasPrefix applies the HasPrefix predicate on the "validation_error" field.

func ValidationErrorHasSuffix

func ValidationErrorHasSuffix(v string) predicate.LockOrderFulfillment

ValidationErrorHasSuffix applies the HasSuffix predicate on the "validation_error" field.

func ValidationErrorIn

func ValidationErrorIn(vs ...string) predicate.LockOrderFulfillment

ValidationErrorIn applies the In predicate on the "validation_error" field.

func ValidationErrorIsNil

func ValidationErrorIsNil() predicate.LockOrderFulfillment

ValidationErrorIsNil applies the IsNil predicate on the "validation_error" field.

func ValidationErrorLT

func ValidationErrorLT(v string) predicate.LockOrderFulfillment

ValidationErrorLT applies the LT predicate on the "validation_error" field.

func ValidationErrorLTE

func ValidationErrorLTE(v string) predicate.LockOrderFulfillment

ValidationErrorLTE applies the LTE predicate on the "validation_error" field.

func ValidationErrorNEQ

func ValidationErrorNEQ(v string) predicate.LockOrderFulfillment

ValidationErrorNEQ applies the NEQ predicate on the "validation_error" field.

func ValidationErrorNotIn

func ValidationErrorNotIn(vs ...string) predicate.LockOrderFulfillment

ValidationErrorNotIn applies the NotIn predicate on the "validation_error" field.

func ValidationErrorNotNil

func ValidationErrorNotNil() predicate.LockOrderFulfillment

ValidationErrorNotNil applies the NotNil predicate on the "validation_error" field.

func ValidationStatusEQ

func ValidationStatusEQ(v ValidationStatus) predicate.LockOrderFulfillment

ValidationStatusEQ applies the EQ predicate on the "validation_status" field.

func ValidationStatusIn

func ValidationStatusIn(vs ...ValidationStatus) predicate.LockOrderFulfillment

ValidationStatusIn applies the In predicate on the "validation_status" field.

func ValidationStatusNEQ

func ValidationStatusNEQ(v ValidationStatus) predicate.LockOrderFulfillment

ValidationStatusNEQ applies the NEQ predicate on the "validation_status" field.

func ValidationStatusNotIn

func ValidationStatusNotIn(vs ...ValidationStatus) predicate.LockOrderFulfillment

ValidationStatusNotIn applies the NotIn predicate on the "validation_status" field.

func ValidationStatusValidator

func ValidationStatusValidator(vs ValidationStatus) error

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the LockOrderFulfillment queries.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByID

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

ByID orders the results by the id field.

func ByOrderField

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

ByOrderField orders the results by order field.

func ByPsp

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

ByPsp orders the results by the psp field.

func ByTxID

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

ByTxID orders the results by the tx_id field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByValidationError

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

ByValidationError orders the results by the validation_error field.

func ByValidationStatus

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

ByValidationStatus orders the results by the validation_status field.

type ValidationStatus

type ValidationStatus string

ValidationStatus defines the type for the "validation_status" enum field.

const (
	ValidationStatusPending ValidationStatus = "pending"
	ValidationStatusSuccess ValidationStatus = "success"
	ValidationStatusFailed  ValidationStatus = "failed"
)

ValidationStatus values.

func (ValidationStatus) String

func (vs ValidationStatus) String() string

Jump to

Keyboard shortcuts

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