paymentattempt

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2025 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the paymentattempt type in the database.
	Label = "payment_attempt"
	// 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"
	// FieldPaymentID holds the string denoting the payment_id field in the database.
	FieldPaymentID = "payment_id"
	// FieldPaymentStatus holds the string denoting the payment_status field in the database.
	FieldPaymentStatus = "payment_status"
	// FieldAttemptNumber holds the string denoting the attempt_number field in the database.
	FieldAttemptNumber = "attempt_number"
	// FieldGatewayAttemptID holds the string denoting the gateway_attempt_id field in the database.
	FieldGatewayAttemptID = "gateway_attempt_id"
	// FieldErrorMessage holds the string denoting the error_message field in the database.
	FieldErrorMessage = "error_message"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// EdgePayment holds the string denoting the payment edge name in mutations.
	EdgePayment = "payment"
	// Table holds the table name of the paymentattempt in the database.
	Table = "payment_attempts"
	// PaymentTable is the table that holds the payment relation/edge.
	PaymentTable = "payment_attempts"
	// PaymentInverseTable is the table name for the Payment entity.
	// It exists in this package in order to avoid circular dependency with the "payment" package.
	PaymentInverseTable = "payments"
	// PaymentColumn is the table column denoting the payment relation/edge.
	PaymentColumn = "payment_id"
)

Variables

View Source
var (
	// TenantIDValidator is a validator for the "tenant_id" field. It is called by the builders before save.
	TenantIDValidator func(string) error
	// DefaultStatus holds the default value on creation for the "status" field.
	DefaultStatus string
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// DefaultEnvironmentID holds the default value on creation for the "environment_id" field.
	DefaultEnvironmentID string
	// PaymentIDValidator is a validator for the "payment_id" field. It is called by the builders before save.
	PaymentIDValidator func(string) error
	// PaymentStatusValidator is a validator for the "payment_status" field. It is called by the builders before save.
	PaymentStatusValidator func(string) error
	// DefaultAttemptNumber holds the default value on creation for the "attempt_number" field.
	DefaultAttemptNumber int
	// AttemptNumberValidator is a validator for the "attempt_number" field. It is called by the builders before save.
	AttemptNumberValidator func(int) error
)

Columns holds all SQL columns for paymentattempt fields.

Functions

func And

And groups predicates with the AND operator between them.

func AttemptNumber

func AttemptNumber(v int) predicate.PaymentAttempt

AttemptNumber applies equality check predicate on the "attempt_number" field. It's identical to AttemptNumberEQ.

func AttemptNumberEQ

func AttemptNumberEQ(v int) predicate.PaymentAttempt

AttemptNumberEQ applies the EQ predicate on the "attempt_number" field.

func AttemptNumberGT

func AttemptNumberGT(v int) predicate.PaymentAttempt

AttemptNumberGT applies the GT predicate on the "attempt_number" field.

func AttemptNumberGTE

func AttemptNumberGTE(v int) predicate.PaymentAttempt

AttemptNumberGTE applies the GTE predicate on the "attempt_number" field.

func AttemptNumberIn

func AttemptNumberIn(vs ...int) predicate.PaymentAttempt

AttemptNumberIn applies the In predicate on the "attempt_number" field.

func AttemptNumberLT

func AttemptNumberLT(v int) predicate.PaymentAttempt

AttemptNumberLT applies the LT predicate on the "attempt_number" field.

func AttemptNumberLTE

func AttemptNumberLTE(v int) predicate.PaymentAttempt

AttemptNumberLTE applies the LTE predicate on the "attempt_number" field.

func AttemptNumberNEQ

func AttemptNumberNEQ(v int) predicate.PaymentAttempt

AttemptNumberNEQ applies the NEQ predicate on the "attempt_number" field.

func AttemptNumberNotIn

func AttemptNumberNotIn(vs ...int) predicate.PaymentAttempt

AttemptNumberNotIn applies the NotIn predicate on the "attempt_number" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.PaymentAttempt

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.PaymentAttempt

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.PaymentAttempt

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.PaymentAttempt

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.PaymentAttempt

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.PaymentAttempt

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.PaymentAttempt

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

func CreatedAtNotIn

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

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

func CreatedBy

func CreatedBy(v string) predicate.PaymentAttempt

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

func CreatedByContains

func CreatedByContains(v string) predicate.PaymentAttempt

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.PaymentAttempt

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.PaymentAttempt

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.PaymentAttempt

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

func CreatedByGT

func CreatedByGT(v string) predicate.PaymentAttempt

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.PaymentAttempt

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.PaymentAttempt

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.PaymentAttempt

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.PaymentAttempt

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

func CreatedByLT

func CreatedByLT(v string) predicate.PaymentAttempt

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.PaymentAttempt

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.PaymentAttempt

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.PaymentAttempt

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

func EnvironmentID

func EnvironmentID(v string) predicate.PaymentAttempt

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

func EnvironmentIDContains

func EnvironmentIDContains(v string) predicate.PaymentAttempt

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

func EnvironmentIDContainsFold

func EnvironmentIDContainsFold(v string) predicate.PaymentAttempt

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

func EnvironmentIDEQ

func EnvironmentIDEQ(v string) predicate.PaymentAttempt

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

func EnvironmentIDEqualFold

func EnvironmentIDEqualFold(v string) predicate.PaymentAttempt

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

func EnvironmentIDGT

func EnvironmentIDGT(v string) predicate.PaymentAttempt

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

func EnvironmentIDGTE

func EnvironmentIDGTE(v string) predicate.PaymentAttempt

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

func EnvironmentIDHasPrefix

func EnvironmentIDHasPrefix(v string) predicate.PaymentAttempt

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

func EnvironmentIDHasSuffix

func EnvironmentIDHasSuffix(v string) predicate.PaymentAttempt

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

func EnvironmentIDIn

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

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

func EnvironmentIDIsNil

func EnvironmentIDIsNil() predicate.PaymentAttempt

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

func EnvironmentIDLT

func EnvironmentIDLT(v string) predicate.PaymentAttempt

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

func EnvironmentIDLTE

func EnvironmentIDLTE(v string) predicate.PaymentAttempt

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

func EnvironmentIDNEQ

func EnvironmentIDNEQ(v string) predicate.PaymentAttempt

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

func EnvironmentIDNotIn

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

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

func EnvironmentIDNotNil

func EnvironmentIDNotNil() predicate.PaymentAttempt

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

func ErrorMessage

func ErrorMessage(v string) predicate.PaymentAttempt

ErrorMessage applies equality check predicate on the "error_message" field. It's identical to ErrorMessageEQ.

func ErrorMessageContains

func ErrorMessageContains(v string) predicate.PaymentAttempt

ErrorMessageContains applies the Contains predicate on the "error_message" field.

func ErrorMessageContainsFold

func ErrorMessageContainsFold(v string) predicate.PaymentAttempt

ErrorMessageContainsFold applies the ContainsFold predicate on the "error_message" field.

func ErrorMessageEQ

func ErrorMessageEQ(v string) predicate.PaymentAttempt

ErrorMessageEQ applies the EQ predicate on the "error_message" field.

func ErrorMessageEqualFold

func ErrorMessageEqualFold(v string) predicate.PaymentAttempt

ErrorMessageEqualFold applies the EqualFold predicate on the "error_message" field.

func ErrorMessageGT

func ErrorMessageGT(v string) predicate.PaymentAttempt

ErrorMessageGT applies the GT predicate on the "error_message" field.

func ErrorMessageGTE

func ErrorMessageGTE(v string) predicate.PaymentAttempt

ErrorMessageGTE applies the GTE predicate on the "error_message" field.

func ErrorMessageHasPrefix

func ErrorMessageHasPrefix(v string) predicate.PaymentAttempt

ErrorMessageHasPrefix applies the HasPrefix predicate on the "error_message" field.

func ErrorMessageHasSuffix

func ErrorMessageHasSuffix(v string) predicate.PaymentAttempt

ErrorMessageHasSuffix applies the HasSuffix predicate on the "error_message" field.

func ErrorMessageIn

func ErrorMessageIn(vs ...string) predicate.PaymentAttempt

ErrorMessageIn applies the In predicate on the "error_message" field.

func ErrorMessageIsNil

func ErrorMessageIsNil() predicate.PaymentAttempt

ErrorMessageIsNil applies the IsNil predicate on the "error_message" field.

func ErrorMessageLT

func ErrorMessageLT(v string) predicate.PaymentAttempt

ErrorMessageLT applies the LT predicate on the "error_message" field.

func ErrorMessageLTE

func ErrorMessageLTE(v string) predicate.PaymentAttempt

ErrorMessageLTE applies the LTE predicate on the "error_message" field.

func ErrorMessageNEQ

func ErrorMessageNEQ(v string) predicate.PaymentAttempt

ErrorMessageNEQ applies the NEQ predicate on the "error_message" field.

func ErrorMessageNotIn

func ErrorMessageNotIn(vs ...string) predicate.PaymentAttempt

ErrorMessageNotIn applies the NotIn predicate on the "error_message" field.

func ErrorMessageNotNil

func ErrorMessageNotNil() predicate.PaymentAttempt

ErrorMessageNotNil applies the NotNil predicate on the "error_message" field.

func GatewayAttemptID

func GatewayAttemptID(v string) predicate.PaymentAttempt

GatewayAttemptID applies equality check predicate on the "gateway_attempt_id" field. It's identical to GatewayAttemptIDEQ.

func GatewayAttemptIDContains

func GatewayAttemptIDContains(v string) predicate.PaymentAttempt

GatewayAttemptIDContains applies the Contains predicate on the "gateway_attempt_id" field.

func GatewayAttemptIDContainsFold

func GatewayAttemptIDContainsFold(v string) predicate.PaymentAttempt

GatewayAttemptIDContainsFold applies the ContainsFold predicate on the "gateway_attempt_id" field.

func GatewayAttemptIDEQ

func GatewayAttemptIDEQ(v string) predicate.PaymentAttempt

GatewayAttemptIDEQ applies the EQ predicate on the "gateway_attempt_id" field.

func GatewayAttemptIDEqualFold

func GatewayAttemptIDEqualFold(v string) predicate.PaymentAttempt

GatewayAttemptIDEqualFold applies the EqualFold predicate on the "gateway_attempt_id" field.

func GatewayAttemptIDGT

func GatewayAttemptIDGT(v string) predicate.PaymentAttempt

GatewayAttemptIDGT applies the GT predicate on the "gateway_attempt_id" field.

func GatewayAttemptIDGTE

func GatewayAttemptIDGTE(v string) predicate.PaymentAttempt

GatewayAttemptIDGTE applies the GTE predicate on the "gateway_attempt_id" field.

func GatewayAttemptIDHasPrefix

func GatewayAttemptIDHasPrefix(v string) predicate.PaymentAttempt

GatewayAttemptIDHasPrefix applies the HasPrefix predicate on the "gateway_attempt_id" field.

func GatewayAttemptIDHasSuffix

func GatewayAttemptIDHasSuffix(v string) predicate.PaymentAttempt

GatewayAttemptIDHasSuffix applies the HasSuffix predicate on the "gateway_attempt_id" field.

func GatewayAttemptIDIn

func GatewayAttemptIDIn(vs ...string) predicate.PaymentAttempt

GatewayAttemptIDIn applies the In predicate on the "gateway_attempt_id" field.

func GatewayAttemptIDIsNil

func GatewayAttemptIDIsNil() predicate.PaymentAttempt

GatewayAttemptIDIsNil applies the IsNil predicate on the "gateway_attempt_id" field.

func GatewayAttemptIDLT

func GatewayAttemptIDLT(v string) predicate.PaymentAttempt

GatewayAttemptIDLT applies the LT predicate on the "gateway_attempt_id" field.

func GatewayAttemptIDLTE

func GatewayAttemptIDLTE(v string) predicate.PaymentAttempt

GatewayAttemptIDLTE applies the LTE predicate on the "gateway_attempt_id" field.

func GatewayAttemptIDNEQ

func GatewayAttemptIDNEQ(v string) predicate.PaymentAttempt

GatewayAttemptIDNEQ applies the NEQ predicate on the "gateway_attempt_id" field.

func GatewayAttemptIDNotIn

func GatewayAttemptIDNotIn(vs ...string) predicate.PaymentAttempt

GatewayAttemptIDNotIn applies the NotIn predicate on the "gateway_attempt_id" field.

func GatewayAttemptIDNotNil

func GatewayAttemptIDNotNil() predicate.PaymentAttempt

GatewayAttemptIDNotNil applies the NotNil predicate on the "gateway_attempt_id" field.

func HasPayment

func HasPayment() predicate.PaymentAttempt

HasPayment applies the HasEdge predicate on the "payment" edge.

func HasPaymentWith

func HasPaymentWith(preds ...predicate.Payment) predicate.PaymentAttempt

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

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.PaymentAttempt

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.PaymentAttempt

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

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 ...string) predicate.PaymentAttempt

IDNotIn applies the NotIn predicate on the ID field.

func MetadataIsNil

func MetadataIsNil() predicate.PaymentAttempt

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

func MetadataNotNil

func MetadataNotNil() predicate.PaymentAttempt

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

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func PaymentID

func PaymentID(v string) predicate.PaymentAttempt

PaymentID applies equality check predicate on the "payment_id" field. It's identical to PaymentIDEQ.

func PaymentIDContains

func PaymentIDContains(v string) predicate.PaymentAttempt

PaymentIDContains applies the Contains predicate on the "payment_id" field.

func PaymentIDContainsFold

func PaymentIDContainsFold(v string) predicate.PaymentAttempt

PaymentIDContainsFold applies the ContainsFold predicate on the "payment_id" field.

func PaymentIDEQ

func PaymentIDEQ(v string) predicate.PaymentAttempt

PaymentIDEQ applies the EQ predicate on the "payment_id" field.

func PaymentIDEqualFold

func PaymentIDEqualFold(v string) predicate.PaymentAttempt

PaymentIDEqualFold applies the EqualFold predicate on the "payment_id" field.

func PaymentIDGT

func PaymentIDGT(v string) predicate.PaymentAttempt

PaymentIDGT applies the GT predicate on the "payment_id" field.

func PaymentIDGTE

func PaymentIDGTE(v string) predicate.PaymentAttempt

PaymentIDGTE applies the GTE predicate on the "payment_id" field.

func PaymentIDHasPrefix

func PaymentIDHasPrefix(v string) predicate.PaymentAttempt

PaymentIDHasPrefix applies the HasPrefix predicate on the "payment_id" field.

func PaymentIDHasSuffix

func PaymentIDHasSuffix(v string) predicate.PaymentAttempt

PaymentIDHasSuffix applies the HasSuffix predicate on the "payment_id" field.

func PaymentIDIn

func PaymentIDIn(vs ...string) predicate.PaymentAttempt

PaymentIDIn applies the In predicate on the "payment_id" field.

func PaymentIDLT

func PaymentIDLT(v string) predicate.PaymentAttempt

PaymentIDLT applies the LT predicate on the "payment_id" field.

func PaymentIDLTE

func PaymentIDLTE(v string) predicate.PaymentAttempt

PaymentIDLTE applies the LTE predicate on the "payment_id" field.

func PaymentIDNEQ

func PaymentIDNEQ(v string) predicate.PaymentAttempt

PaymentIDNEQ applies the NEQ predicate on the "payment_id" field.

func PaymentIDNotIn

func PaymentIDNotIn(vs ...string) predicate.PaymentAttempt

PaymentIDNotIn applies the NotIn predicate on the "payment_id" field.

func PaymentStatus

func PaymentStatus(v string) predicate.PaymentAttempt

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

func PaymentStatusContains

func PaymentStatusContains(v string) predicate.PaymentAttempt

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

func PaymentStatusContainsFold

func PaymentStatusContainsFold(v string) predicate.PaymentAttempt

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

func PaymentStatusEQ

func PaymentStatusEQ(v string) predicate.PaymentAttempt

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

func PaymentStatusEqualFold

func PaymentStatusEqualFold(v string) predicate.PaymentAttempt

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

func PaymentStatusGT

func PaymentStatusGT(v string) predicate.PaymentAttempt

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

func PaymentStatusGTE

func PaymentStatusGTE(v string) predicate.PaymentAttempt

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

func PaymentStatusHasPrefix

func PaymentStatusHasPrefix(v string) predicate.PaymentAttempt

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

func PaymentStatusHasSuffix

func PaymentStatusHasSuffix(v string) predicate.PaymentAttempt

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

func PaymentStatusIn

func PaymentStatusIn(vs ...string) predicate.PaymentAttempt

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

func PaymentStatusLT

func PaymentStatusLT(v string) predicate.PaymentAttempt

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

func PaymentStatusLTE

func PaymentStatusLTE(v string) predicate.PaymentAttempt

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

func PaymentStatusNEQ

func PaymentStatusNEQ(v string) predicate.PaymentAttempt

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

func PaymentStatusNotIn

func PaymentStatusNotIn(vs ...string) predicate.PaymentAttempt

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

func Status

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

func StatusContains

func StatusContains(v string) predicate.PaymentAttempt

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

func StatusContainsFold

func StatusContainsFold(v string) predicate.PaymentAttempt

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

func StatusEQ

func StatusEQ(v string) predicate.PaymentAttempt

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

func StatusEqualFold

func StatusEqualFold(v string) predicate.PaymentAttempt

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

func StatusGT

func StatusGT(v string) predicate.PaymentAttempt

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

func StatusGTE

func StatusGTE(v string) predicate.PaymentAttempt

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

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.PaymentAttempt

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

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.PaymentAttempt

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

func StatusIn

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

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

func StatusLT

func StatusLT(v string) predicate.PaymentAttempt

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

func StatusLTE

func StatusLTE(v string) predicate.PaymentAttempt

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

func StatusNEQ

func StatusNEQ(v string) predicate.PaymentAttempt

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

func StatusNotIn

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

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

func TenantID

func TenantID(v string) predicate.PaymentAttempt

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

func TenantIDContains

func TenantIDContains(v string) predicate.PaymentAttempt

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

func TenantIDContainsFold

func TenantIDContainsFold(v string) predicate.PaymentAttempt

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

func TenantIDEQ

func TenantIDEQ(v string) predicate.PaymentAttempt

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

func TenantIDEqualFold

func TenantIDEqualFold(v string) predicate.PaymentAttempt

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

func TenantIDGT

func TenantIDGT(v string) predicate.PaymentAttempt

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

func TenantIDGTE

func TenantIDGTE(v string) predicate.PaymentAttempt

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

func TenantIDHasPrefix

func TenantIDHasPrefix(v string) predicate.PaymentAttempt

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

func TenantIDHasSuffix

func TenantIDHasSuffix(v string) predicate.PaymentAttempt

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

func TenantIDIn

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

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

func TenantIDLT

func TenantIDLT(v string) predicate.PaymentAttempt

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

func TenantIDLTE

func TenantIDLTE(v string) predicate.PaymentAttempt

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

func TenantIDNEQ

func TenantIDNEQ(v string) predicate.PaymentAttempt

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

func TenantIDNotIn

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

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.PaymentAttempt

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.PaymentAttempt

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.PaymentAttempt

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.PaymentAttempt

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.PaymentAttempt

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.PaymentAttempt

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.PaymentAttempt

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

func UpdatedAtNotIn

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

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

func UpdatedBy

func UpdatedBy(v string) predicate.PaymentAttempt

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.PaymentAttempt

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.PaymentAttempt

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.PaymentAttempt

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.PaymentAttempt

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.PaymentAttempt

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.PaymentAttempt

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.PaymentAttempt

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.PaymentAttempt

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.PaymentAttempt

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.PaymentAttempt

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.PaymentAttempt

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.PaymentAttempt

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.PaymentAttempt

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

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the PaymentAttempt queries.

func ByAttemptNumber

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

ByAttemptNumber orders the results by the attempt_number field.

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 ByEnvironmentID

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

ByEnvironmentID orders the results by the environment_id field.

func ByErrorMessage

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

ByErrorMessage orders the results by the error_message field.

func ByGatewayAttemptID

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

ByGatewayAttemptID orders the results by the gateway_attempt_id field.

func ByID

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

ByID orders the results by the id field.

func ByPaymentField

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

ByPaymentField orders the results by payment field.

func ByPaymentID

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

ByPaymentID orders the results by the payment_id field.

func ByPaymentStatus

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

ByPaymentStatus orders the results by the payment_status field.

func ByStatus

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

ByStatus orders the results by the status field.

func ByTenantID

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

ByTenantID orders the results by the tenant_id 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.

Jump to

Keyboard shortcuts

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