payment

package
v1.0.21 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2025 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the payment type in the database.
	Label = "payment"
	// 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"
	// FieldIdempotencyKey holds the string denoting the idempotency_key field in the database.
	FieldIdempotencyKey = "idempotency_key"
	// FieldDestinationType holds the string denoting the destination_type field in the database.
	FieldDestinationType = "destination_type"
	// FieldDestinationID holds the string denoting the destination_id field in the database.
	FieldDestinationID = "destination_id"
	// FieldPaymentMethodType holds the string denoting the payment_method_type field in the database.
	FieldPaymentMethodType = "payment_method_type"
	// FieldPaymentMethodID holds the string denoting the payment_method_id field in the database.
	FieldPaymentMethodID = "payment_method_id"
	// FieldPaymentGateway holds the string denoting the payment_gateway field in the database.
	FieldPaymentGateway = "payment_gateway"
	// FieldGatewayPaymentID holds the string denoting the gateway_payment_id field in the database.
	FieldGatewayPaymentID = "gateway_payment_id"
	// FieldGatewayTrackingID holds the string denoting the gateway_tracking_id field in the database.
	FieldGatewayTrackingID = "gateway_tracking_id"
	// FieldGatewayMetadata holds the string denoting the gateway_metadata field in the database.
	FieldGatewayMetadata = "gateway_metadata"
	// FieldAmount holds the string denoting the amount field in the database.
	FieldAmount = "amount"
	// FieldCurrency holds the string denoting the currency field in the database.
	FieldCurrency = "currency"
	// FieldPaymentStatus holds the string denoting the payment_status field in the database.
	FieldPaymentStatus = "payment_status"
	// FieldTrackAttempts holds the string denoting the track_attempts field in the database.
	FieldTrackAttempts = "track_attempts"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// FieldSucceededAt holds the string denoting the succeeded_at field in the database.
	FieldSucceededAt = "succeeded_at"
	// FieldFailedAt holds the string denoting the failed_at field in the database.
	FieldFailedAt = "failed_at"
	// FieldRefundedAt holds the string denoting the refunded_at field in the database.
	FieldRefundedAt = "refunded_at"
	// FieldRecordedAt holds the string denoting the recorded_at field in the database.
	FieldRecordedAt = "recorded_at"
	// FieldErrorMessage holds the string denoting the error_message field in the database.
	FieldErrorMessage = "error_message"
	// EdgeAttempts holds the string denoting the attempts edge name in mutations.
	EdgeAttempts = "attempts"
	// Table holds the table name of the payment in the database.
	Table = "payments"
	// AttemptsTable is the table that holds the attempts relation/edge.
	AttemptsTable = "payment_attempts"
	// AttemptsInverseTable is the table name for the PaymentAttempt entity.
	// It exists in this package in order to avoid circular dependency with the "paymentattempt" package.
	AttemptsInverseTable = "payment_attempts"
	// AttemptsColumn is the table column denoting the attempts relation/edge.
	AttemptsColumn = "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
	// DestinationTypeValidator is a validator for the "destination_type" field. It is called by the builders before save.
	DestinationTypeValidator func(string) error
	// DestinationIDValidator is a validator for the "destination_id" field. It is called by the builders before save.
	DestinationIDValidator func(string) error
	// PaymentMethodTypeValidator is a validator for the "payment_method_type" field. It is called by the builders before save.
	PaymentMethodTypeValidator func(string) error
	// DefaultAmount holds the default value on creation for the "amount" field.
	DefaultAmount decimal.Decimal
	// CurrencyValidator is a validator for the "currency" field. It is called by the builders before save.
	CurrencyValidator func(string) error
	// PaymentStatusValidator is a validator for the "payment_status" field. It is called by the builders before save.
	PaymentStatusValidator func(string) error
	// DefaultTrackAttempts holds the default value on creation for the "track_attempts" field.
	DefaultTrackAttempts bool
)

Columns holds all SQL columns for payment fields.

Functions

func Amount

func Amount(v decimal.Decimal) predicate.Payment

Amount applies equality check predicate on the "amount" field. It's identical to AmountEQ.

func AmountEQ

func AmountEQ(v decimal.Decimal) predicate.Payment

AmountEQ applies the EQ predicate on the "amount" field.

func AmountGT

func AmountGT(v decimal.Decimal) predicate.Payment

AmountGT applies the GT predicate on the "amount" field.

func AmountGTE

func AmountGTE(v decimal.Decimal) predicate.Payment

AmountGTE applies the GTE predicate on the "amount" field.

func AmountIn

func AmountIn(vs ...decimal.Decimal) predicate.Payment

AmountIn applies the In predicate on the "amount" field.

func AmountLT

func AmountLT(v decimal.Decimal) predicate.Payment

AmountLT applies the LT predicate on the "amount" field.

func AmountLTE

func AmountLTE(v decimal.Decimal) predicate.Payment

AmountLTE applies the LTE predicate on the "amount" field.

func AmountNEQ

func AmountNEQ(v decimal.Decimal) predicate.Payment

AmountNEQ applies the NEQ predicate on the "amount" field.

func AmountNotIn

func AmountNotIn(vs ...decimal.Decimal) predicate.Payment

AmountNotIn applies the NotIn predicate on the "amount" field.

func And

func And(predicates ...predicate.Payment) predicate.Payment

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.Payment

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Payment

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Payment

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Payment

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Payment

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Payment

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Payment

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

func CreatedAtNotIn

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

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

func CreatedBy

func CreatedBy(v string) predicate.Payment

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

func CreatedByContains

func CreatedByContains(v string) predicate.Payment

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.Payment

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.Payment

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.Payment

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

func CreatedByGT

func CreatedByGT(v string) predicate.Payment

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.Payment

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.Payment

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.Payment

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.Payment

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

func CreatedByLT

func CreatedByLT(v string) predicate.Payment

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.Payment

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.Payment

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.Payment

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

func Currency

func Currency(v string) predicate.Payment

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

func CurrencyContains

func CurrencyContains(v string) predicate.Payment

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

func CurrencyContainsFold

func CurrencyContainsFold(v string) predicate.Payment

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

func CurrencyEQ

func CurrencyEQ(v string) predicate.Payment

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

func CurrencyEqualFold

func CurrencyEqualFold(v string) predicate.Payment

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

func CurrencyGT

func CurrencyGT(v string) predicate.Payment

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

func CurrencyGTE

func CurrencyGTE(v string) predicate.Payment

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

func CurrencyHasPrefix

func CurrencyHasPrefix(v string) predicate.Payment

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

func CurrencyHasSuffix

func CurrencyHasSuffix(v string) predicate.Payment

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

func CurrencyIn

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

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

func CurrencyLT

func CurrencyLT(v string) predicate.Payment

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

func CurrencyLTE

func CurrencyLTE(v string) predicate.Payment

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

func CurrencyNEQ

func CurrencyNEQ(v string) predicate.Payment

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

func CurrencyNotIn

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

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

func DestinationID

func DestinationID(v string) predicate.Payment

DestinationID applies equality check predicate on the "destination_id" field. It's identical to DestinationIDEQ.

func DestinationIDContains

func DestinationIDContains(v string) predicate.Payment

DestinationIDContains applies the Contains predicate on the "destination_id" field.

func DestinationIDContainsFold

func DestinationIDContainsFold(v string) predicate.Payment

DestinationIDContainsFold applies the ContainsFold predicate on the "destination_id" field.

func DestinationIDEQ

func DestinationIDEQ(v string) predicate.Payment

DestinationIDEQ applies the EQ predicate on the "destination_id" field.

func DestinationIDEqualFold

func DestinationIDEqualFold(v string) predicate.Payment

DestinationIDEqualFold applies the EqualFold predicate on the "destination_id" field.

func DestinationIDGT

func DestinationIDGT(v string) predicate.Payment

DestinationIDGT applies the GT predicate on the "destination_id" field.

func DestinationIDGTE

func DestinationIDGTE(v string) predicate.Payment

DestinationIDGTE applies the GTE predicate on the "destination_id" field.

func DestinationIDHasPrefix

func DestinationIDHasPrefix(v string) predicate.Payment

DestinationIDHasPrefix applies the HasPrefix predicate on the "destination_id" field.

func DestinationIDHasSuffix

func DestinationIDHasSuffix(v string) predicate.Payment

DestinationIDHasSuffix applies the HasSuffix predicate on the "destination_id" field.

func DestinationIDIn

func DestinationIDIn(vs ...string) predicate.Payment

DestinationIDIn applies the In predicate on the "destination_id" field.

func DestinationIDLT

func DestinationIDLT(v string) predicate.Payment

DestinationIDLT applies the LT predicate on the "destination_id" field.

func DestinationIDLTE

func DestinationIDLTE(v string) predicate.Payment

DestinationIDLTE applies the LTE predicate on the "destination_id" field.

func DestinationIDNEQ

func DestinationIDNEQ(v string) predicate.Payment

DestinationIDNEQ applies the NEQ predicate on the "destination_id" field.

func DestinationIDNotIn

func DestinationIDNotIn(vs ...string) predicate.Payment

DestinationIDNotIn applies the NotIn predicate on the "destination_id" field.

func DestinationType

func DestinationType(v string) predicate.Payment

DestinationType applies equality check predicate on the "destination_type" field. It's identical to DestinationTypeEQ.

func DestinationTypeContains

func DestinationTypeContains(v string) predicate.Payment

DestinationTypeContains applies the Contains predicate on the "destination_type" field.

func DestinationTypeContainsFold

func DestinationTypeContainsFold(v string) predicate.Payment

DestinationTypeContainsFold applies the ContainsFold predicate on the "destination_type" field.

func DestinationTypeEQ

func DestinationTypeEQ(v string) predicate.Payment

DestinationTypeEQ applies the EQ predicate on the "destination_type" field.

func DestinationTypeEqualFold

func DestinationTypeEqualFold(v string) predicate.Payment

DestinationTypeEqualFold applies the EqualFold predicate on the "destination_type" field.

func DestinationTypeGT

func DestinationTypeGT(v string) predicate.Payment

DestinationTypeGT applies the GT predicate on the "destination_type" field.

func DestinationTypeGTE

func DestinationTypeGTE(v string) predicate.Payment

DestinationTypeGTE applies the GTE predicate on the "destination_type" field.

func DestinationTypeHasPrefix

func DestinationTypeHasPrefix(v string) predicate.Payment

DestinationTypeHasPrefix applies the HasPrefix predicate on the "destination_type" field.

func DestinationTypeHasSuffix

func DestinationTypeHasSuffix(v string) predicate.Payment

DestinationTypeHasSuffix applies the HasSuffix predicate on the "destination_type" field.

func DestinationTypeIn

func DestinationTypeIn(vs ...string) predicate.Payment

DestinationTypeIn applies the In predicate on the "destination_type" field.

func DestinationTypeLT

func DestinationTypeLT(v string) predicate.Payment

DestinationTypeLT applies the LT predicate on the "destination_type" field.

func DestinationTypeLTE

func DestinationTypeLTE(v string) predicate.Payment

DestinationTypeLTE applies the LTE predicate on the "destination_type" field.

func DestinationTypeNEQ

func DestinationTypeNEQ(v string) predicate.Payment

DestinationTypeNEQ applies the NEQ predicate on the "destination_type" field.

func DestinationTypeNotIn

func DestinationTypeNotIn(vs ...string) predicate.Payment

DestinationTypeNotIn applies the NotIn predicate on the "destination_type" field.

func EnvironmentID

func EnvironmentID(v string) predicate.Payment

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

func EnvironmentIDContains

func EnvironmentIDContains(v string) predicate.Payment

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

func EnvironmentIDContainsFold

func EnvironmentIDContainsFold(v string) predicate.Payment

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

func EnvironmentIDEQ

func EnvironmentIDEQ(v string) predicate.Payment

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

func EnvironmentIDEqualFold

func EnvironmentIDEqualFold(v string) predicate.Payment

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

func EnvironmentIDGT

func EnvironmentIDGT(v string) predicate.Payment

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

func EnvironmentIDGTE

func EnvironmentIDGTE(v string) predicate.Payment

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

func EnvironmentIDHasPrefix

func EnvironmentIDHasPrefix(v string) predicate.Payment

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

func EnvironmentIDHasSuffix

func EnvironmentIDHasSuffix(v string) predicate.Payment

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

func EnvironmentIDIn

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

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

func EnvironmentIDIsNil

func EnvironmentIDIsNil() predicate.Payment

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

func EnvironmentIDLT

func EnvironmentIDLT(v string) predicate.Payment

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

func EnvironmentIDLTE

func EnvironmentIDLTE(v string) predicate.Payment

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

func EnvironmentIDNEQ

func EnvironmentIDNEQ(v string) predicate.Payment

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

func EnvironmentIDNotIn

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

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

func EnvironmentIDNotNil

func EnvironmentIDNotNil() predicate.Payment

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

func ErrorMessage

func ErrorMessage(v string) predicate.Payment

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

func ErrorMessageContains

func ErrorMessageContains(v string) predicate.Payment

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

func ErrorMessageContainsFold

func ErrorMessageContainsFold(v string) predicate.Payment

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

func ErrorMessageEQ

func ErrorMessageEQ(v string) predicate.Payment

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

func ErrorMessageEqualFold

func ErrorMessageEqualFold(v string) predicate.Payment

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

func ErrorMessageGT

func ErrorMessageGT(v string) predicate.Payment

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

func ErrorMessageGTE

func ErrorMessageGTE(v string) predicate.Payment

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

func ErrorMessageHasPrefix

func ErrorMessageHasPrefix(v string) predicate.Payment

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

func ErrorMessageHasSuffix

func ErrorMessageHasSuffix(v string) predicate.Payment

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

func ErrorMessageIn

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

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

func ErrorMessageIsNil

func ErrorMessageIsNil() predicate.Payment

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

func ErrorMessageLT

func ErrorMessageLT(v string) predicate.Payment

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

func ErrorMessageLTE

func ErrorMessageLTE(v string) predicate.Payment

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

func ErrorMessageNEQ

func ErrorMessageNEQ(v string) predicate.Payment

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

func ErrorMessageNotIn

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

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

func ErrorMessageNotNil

func ErrorMessageNotNil() predicate.Payment

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

func FailedAt

func FailedAt(v time.Time) predicate.Payment

FailedAt applies equality check predicate on the "failed_at" field. It's identical to FailedAtEQ.

func FailedAtEQ

func FailedAtEQ(v time.Time) predicate.Payment

FailedAtEQ applies the EQ predicate on the "failed_at" field.

func FailedAtGT

func FailedAtGT(v time.Time) predicate.Payment

FailedAtGT applies the GT predicate on the "failed_at" field.

func FailedAtGTE

func FailedAtGTE(v time.Time) predicate.Payment

FailedAtGTE applies the GTE predicate on the "failed_at" field.

func FailedAtIn

func FailedAtIn(vs ...time.Time) predicate.Payment

FailedAtIn applies the In predicate on the "failed_at" field.

func FailedAtIsNil

func FailedAtIsNil() predicate.Payment

FailedAtIsNil applies the IsNil predicate on the "failed_at" field.

func FailedAtLT

func FailedAtLT(v time.Time) predicate.Payment

FailedAtLT applies the LT predicate on the "failed_at" field.

func FailedAtLTE

func FailedAtLTE(v time.Time) predicate.Payment

FailedAtLTE applies the LTE predicate on the "failed_at" field.

func FailedAtNEQ

func FailedAtNEQ(v time.Time) predicate.Payment

FailedAtNEQ applies the NEQ predicate on the "failed_at" field.

func FailedAtNotIn

func FailedAtNotIn(vs ...time.Time) predicate.Payment

FailedAtNotIn applies the NotIn predicate on the "failed_at" field.

func FailedAtNotNil

func FailedAtNotNil() predicate.Payment

FailedAtNotNil applies the NotNil predicate on the "failed_at" field.

func GatewayMetadataIsNil added in v1.0.21

func GatewayMetadataIsNil() predicate.Payment

GatewayMetadataIsNil applies the IsNil predicate on the "gateway_metadata" field.

func GatewayMetadataNotNil added in v1.0.21

func GatewayMetadataNotNil() predicate.Payment

GatewayMetadataNotNil applies the NotNil predicate on the "gateway_metadata" field.

func GatewayPaymentID

func GatewayPaymentID(v string) predicate.Payment

GatewayPaymentID applies equality check predicate on the "gateway_payment_id" field. It's identical to GatewayPaymentIDEQ.

func GatewayPaymentIDContains

func GatewayPaymentIDContains(v string) predicate.Payment

GatewayPaymentIDContains applies the Contains predicate on the "gateway_payment_id" field.

func GatewayPaymentIDContainsFold

func GatewayPaymentIDContainsFold(v string) predicate.Payment

GatewayPaymentIDContainsFold applies the ContainsFold predicate on the "gateway_payment_id" field.

func GatewayPaymentIDEQ

func GatewayPaymentIDEQ(v string) predicate.Payment

GatewayPaymentIDEQ applies the EQ predicate on the "gateway_payment_id" field.

func GatewayPaymentIDEqualFold

func GatewayPaymentIDEqualFold(v string) predicate.Payment

GatewayPaymentIDEqualFold applies the EqualFold predicate on the "gateway_payment_id" field.

func GatewayPaymentIDGT

func GatewayPaymentIDGT(v string) predicate.Payment

GatewayPaymentIDGT applies the GT predicate on the "gateway_payment_id" field.

func GatewayPaymentIDGTE

func GatewayPaymentIDGTE(v string) predicate.Payment

GatewayPaymentIDGTE applies the GTE predicate on the "gateway_payment_id" field.

func GatewayPaymentIDHasPrefix

func GatewayPaymentIDHasPrefix(v string) predicate.Payment

GatewayPaymentIDHasPrefix applies the HasPrefix predicate on the "gateway_payment_id" field.

func GatewayPaymentIDHasSuffix

func GatewayPaymentIDHasSuffix(v string) predicate.Payment

GatewayPaymentIDHasSuffix applies the HasSuffix predicate on the "gateway_payment_id" field.

func GatewayPaymentIDIn

func GatewayPaymentIDIn(vs ...string) predicate.Payment

GatewayPaymentIDIn applies the In predicate on the "gateway_payment_id" field.

func GatewayPaymentIDIsNil

func GatewayPaymentIDIsNil() predicate.Payment

GatewayPaymentIDIsNil applies the IsNil predicate on the "gateway_payment_id" field.

func GatewayPaymentIDLT

func GatewayPaymentIDLT(v string) predicate.Payment

GatewayPaymentIDLT applies the LT predicate on the "gateway_payment_id" field.

func GatewayPaymentIDLTE

func GatewayPaymentIDLTE(v string) predicate.Payment

GatewayPaymentIDLTE applies the LTE predicate on the "gateway_payment_id" field.

func GatewayPaymentIDNEQ

func GatewayPaymentIDNEQ(v string) predicate.Payment

GatewayPaymentIDNEQ applies the NEQ predicate on the "gateway_payment_id" field.

func GatewayPaymentIDNotIn

func GatewayPaymentIDNotIn(vs ...string) predicate.Payment

GatewayPaymentIDNotIn applies the NotIn predicate on the "gateway_payment_id" field.

func GatewayPaymentIDNotNil

func GatewayPaymentIDNotNil() predicate.Payment

GatewayPaymentIDNotNil applies the NotNil predicate on the "gateway_payment_id" field.

func GatewayTrackingID added in v1.0.21

func GatewayTrackingID(v string) predicate.Payment

GatewayTrackingID applies equality check predicate on the "gateway_tracking_id" field. It's identical to GatewayTrackingIDEQ.

func GatewayTrackingIDContains added in v1.0.21

func GatewayTrackingIDContains(v string) predicate.Payment

GatewayTrackingIDContains applies the Contains predicate on the "gateway_tracking_id" field.

func GatewayTrackingIDContainsFold added in v1.0.21

func GatewayTrackingIDContainsFold(v string) predicate.Payment

GatewayTrackingIDContainsFold applies the ContainsFold predicate on the "gateway_tracking_id" field.

func GatewayTrackingIDEQ added in v1.0.21

func GatewayTrackingIDEQ(v string) predicate.Payment

GatewayTrackingIDEQ applies the EQ predicate on the "gateway_tracking_id" field.

func GatewayTrackingIDEqualFold added in v1.0.21

func GatewayTrackingIDEqualFold(v string) predicate.Payment

GatewayTrackingIDEqualFold applies the EqualFold predicate on the "gateway_tracking_id" field.

func GatewayTrackingIDGT added in v1.0.21

func GatewayTrackingIDGT(v string) predicate.Payment

GatewayTrackingIDGT applies the GT predicate on the "gateway_tracking_id" field.

func GatewayTrackingIDGTE added in v1.0.21

func GatewayTrackingIDGTE(v string) predicate.Payment

GatewayTrackingIDGTE applies the GTE predicate on the "gateway_tracking_id" field.

func GatewayTrackingIDHasPrefix added in v1.0.21

func GatewayTrackingIDHasPrefix(v string) predicate.Payment

GatewayTrackingIDHasPrefix applies the HasPrefix predicate on the "gateway_tracking_id" field.

func GatewayTrackingIDHasSuffix added in v1.0.21

func GatewayTrackingIDHasSuffix(v string) predicate.Payment

GatewayTrackingIDHasSuffix applies the HasSuffix predicate on the "gateway_tracking_id" field.

func GatewayTrackingIDIn added in v1.0.21

func GatewayTrackingIDIn(vs ...string) predicate.Payment

GatewayTrackingIDIn applies the In predicate on the "gateway_tracking_id" field.

func GatewayTrackingIDIsNil added in v1.0.21

func GatewayTrackingIDIsNil() predicate.Payment

GatewayTrackingIDIsNil applies the IsNil predicate on the "gateway_tracking_id" field.

func GatewayTrackingIDLT added in v1.0.21

func GatewayTrackingIDLT(v string) predicate.Payment

GatewayTrackingIDLT applies the LT predicate on the "gateway_tracking_id" field.

func GatewayTrackingIDLTE added in v1.0.21

func GatewayTrackingIDLTE(v string) predicate.Payment

GatewayTrackingIDLTE applies the LTE predicate on the "gateway_tracking_id" field.

func GatewayTrackingIDNEQ added in v1.0.21

func GatewayTrackingIDNEQ(v string) predicate.Payment

GatewayTrackingIDNEQ applies the NEQ predicate on the "gateway_tracking_id" field.

func GatewayTrackingIDNotIn added in v1.0.21

func GatewayTrackingIDNotIn(vs ...string) predicate.Payment

GatewayTrackingIDNotIn applies the NotIn predicate on the "gateway_tracking_id" field.

func GatewayTrackingIDNotNil added in v1.0.21

func GatewayTrackingIDNotNil() predicate.Payment

GatewayTrackingIDNotNil applies the NotNil predicate on the "gateway_tracking_id" field.

func HasAttempts

func HasAttempts() predicate.Payment

HasAttempts applies the HasEdge predicate on the "attempts" edge.

func HasAttemptsWith

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

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

func ID

func ID(id string) predicate.Payment

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.Payment

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.Payment

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.Payment

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Payment

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Payment

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Payment

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Payment

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Payment

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IdempotencyKey

func IdempotencyKey(v string) predicate.Payment

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

func IdempotencyKeyContains

func IdempotencyKeyContains(v string) predicate.Payment

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

func IdempotencyKeyContainsFold

func IdempotencyKeyContainsFold(v string) predicate.Payment

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

func IdempotencyKeyEQ

func IdempotencyKeyEQ(v string) predicate.Payment

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

func IdempotencyKeyEqualFold

func IdempotencyKeyEqualFold(v string) predicate.Payment

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

func IdempotencyKeyGT

func IdempotencyKeyGT(v string) predicate.Payment

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

func IdempotencyKeyGTE

func IdempotencyKeyGTE(v string) predicate.Payment

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

func IdempotencyKeyHasPrefix

func IdempotencyKeyHasPrefix(v string) predicate.Payment

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

func IdempotencyKeyHasSuffix

func IdempotencyKeyHasSuffix(v string) predicate.Payment

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

func IdempotencyKeyIn

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

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

func IdempotencyKeyLT

func IdempotencyKeyLT(v string) predicate.Payment

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

func IdempotencyKeyLTE

func IdempotencyKeyLTE(v string) predicate.Payment

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

func IdempotencyKeyNEQ

func IdempotencyKeyNEQ(v string) predicate.Payment

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

func IdempotencyKeyNotIn

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

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

func MetadataIsNil

func MetadataIsNil() predicate.Payment

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

func MetadataNotNil

func MetadataNotNil() predicate.Payment

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

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Payment) predicate.Payment

Or groups predicates with the OR operator between them.

func PaymentGateway

func PaymentGateway(v string) predicate.Payment

PaymentGateway applies equality check predicate on the "payment_gateway" field. It's identical to PaymentGatewayEQ.

func PaymentGatewayContains

func PaymentGatewayContains(v string) predicate.Payment

PaymentGatewayContains applies the Contains predicate on the "payment_gateway" field.

func PaymentGatewayContainsFold

func PaymentGatewayContainsFold(v string) predicate.Payment

PaymentGatewayContainsFold applies the ContainsFold predicate on the "payment_gateway" field.

func PaymentGatewayEQ

func PaymentGatewayEQ(v string) predicate.Payment

PaymentGatewayEQ applies the EQ predicate on the "payment_gateway" field.

func PaymentGatewayEqualFold

func PaymentGatewayEqualFold(v string) predicate.Payment

PaymentGatewayEqualFold applies the EqualFold predicate on the "payment_gateway" field.

func PaymentGatewayGT

func PaymentGatewayGT(v string) predicate.Payment

PaymentGatewayGT applies the GT predicate on the "payment_gateway" field.

func PaymentGatewayGTE

func PaymentGatewayGTE(v string) predicate.Payment

PaymentGatewayGTE applies the GTE predicate on the "payment_gateway" field.

func PaymentGatewayHasPrefix

func PaymentGatewayHasPrefix(v string) predicate.Payment

PaymentGatewayHasPrefix applies the HasPrefix predicate on the "payment_gateway" field.

func PaymentGatewayHasSuffix

func PaymentGatewayHasSuffix(v string) predicate.Payment

PaymentGatewayHasSuffix applies the HasSuffix predicate on the "payment_gateway" field.

func PaymentGatewayIn

func PaymentGatewayIn(vs ...string) predicate.Payment

PaymentGatewayIn applies the In predicate on the "payment_gateway" field.

func PaymentGatewayIsNil

func PaymentGatewayIsNil() predicate.Payment

PaymentGatewayIsNil applies the IsNil predicate on the "payment_gateway" field.

func PaymentGatewayLT

func PaymentGatewayLT(v string) predicate.Payment

PaymentGatewayLT applies the LT predicate on the "payment_gateway" field.

func PaymentGatewayLTE

func PaymentGatewayLTE(v string) predicate.Payment

PaymentGatewayLTE applies the LTE predicate on the "payment_gateway" field.

func PaymentGatewayNEQ

func PaymentGatewayNEQ(v string) predicate.Payment

PaymentGatewayNEQ applies the NEQ predicate on the "payment_gateway" field.

func PaymentGatewayNotIn

func PaymentGatewayNotIn(vs ...string) predicate.Payment

PaymentGatewayNotIn applies the NotIn predicate on the "payment_gateway" field.

func PaymentGatewayNotNil

func PaymentGatewayNotNil() predicate.Payment

PaymentGatewayNotNil applies the NotNil predicate on the "payment_gateway" field.

func PaymentMethodID

func PaymentMethodID(v string) predicate.Payment

PaymentMethodID applies equality check predicate on the "payment_method_id" field. It's identical to PaymentMethodIDEQ.

func PaymentMethodIDContains

func PaymentMethodIDContains(v string) predicate.Payment

PaymentMethodIDContains applies the Contains predicate on the "payment_method_id" field.

func PaymentMethodIDContainsFold

func PaymentMethodIDContainsFold(v string) predicate.Payment

PaymentMethodIDContainsFold applies the ContainsFold predicate on the "payment_method_id" field.

func PaymentMethodIDEQ

func PaymentMethodIDEQ(v string) predicate.Payment

PaymentMethodIDEQ applies the EQ predicate on the "payment_method_id" field.

func PaymentMethodIDEqualFold

func PaymentMethodIDEqualFold(v string) predicate.Payment

PaymentMethodIDEqualFold applies the EqualFold predicate on the "payment_method_id" field.

func PaymentMethodIDGT

func PaymentMethodIDGT(v string) predicate.Payment

PaymentMethodIDGT applies the GT predicate on the "payment_method_id" field.

func PaymentMethodIDGTE

func PaymentMethodIDGTE(v string) predicate.Payment

PaymentMethodIDGTE applies the GTE predicate on the "payment_method_id" field.

func PaymentMethodIDHasPrefix

func PaymentMethodIDHasPrefix(v string) predicate.Payment

PaymentMethodIDHasPrefix applies the HasPrefix predicate on the "payment_method_id" field.

func PaymentMethodIDHasSuffix

func PaymentMethodIDHasSuffix(v string) predicate.Payment

PaymentMethodIDHasSuffix applies the HasSuffix predicate on the "payment_method_id" field.

func PaymentMethodIDIn

func PaymentMethodIDIn(vs ...string) predicate.Payment

PaymentMethodIDIn applies the In predicate on the "payment_method_id" field.

func PaymentMethodIDIsNil

func PaymentMethodIDIsNil() predicate.Payment

PaymentMethodIDIsNil applies the IsNil predicate on the "payment_method_id" field.

func PaymentMethodIDLT

func PaymentMethodIDLT(v string) predicate.Payment

PaymentMethodIDLT applies the LT predicate on the "payment_method_id" field.

func PaymentMethodIDLTE

func PaymentMethodIDLTE(v string) predicate.Payment

PaymentMethodIDLTE applies the LTE predicate on the "payment_method_id" field.

func PaymentMethodIDNEQ

func PaymentMethodIDNEQ(v string) predicate.Payment

PaymentMethodIDNEQ applies the NEQ predicate on the "payment_method_id" field.

func PaymentMethodIDNotIn

func PaymentMethodIDNotIn(vs ...string) predicate.Payment

PaymentMethodIDNotIn applies the NotIn predicate on the "payment_method_id" field.

func PaymentMethodIDNotNil

func PaymentMethodIDNotNil() predicate.Payment

PaymentMethodIDNotNil applies the NotNil predicate on the "payment_method_id" field.

func PaymentMethodType

func PaymentMethodType(v string) predicate.Payment

PaymentMethodType applies equality check predicate on the "payment_method_type" field. It's identical to PaymentMethodTypeEQ.

func PaymentMethodTypeContains

func PaymentMethodTypeContains(v string) predicate.Payment

PaymentMethodTypeContains applies the Contains predicate on the "payment_method_type" field.

func PaymentMethodTypeContainsFold

func PaymentMethodTypeContainsFold(v string) predicate.Payment

PaymentMethodTypeContainsFold applies the ContainsFold predicate on the "payment_method_type" field.

func PaymentMethodTypeEQ

func PaymentMethodTypeEQ(v string) predicate.Payment

PaymentMethodTypeEQ applies the EQ predicate on the "payment_method_type" field.

func PaymentMethodTypeEqualFold

func PaymentMethodTypeEqualFold(v string) predicate.Payment

PaymentMethodTypeEqualFold applies the EqualFold predicate on the "payment_method_type" field.

func PaymentMethodTypeGT

func PaymentMethodTypeGT(v string) predicate.Payment

PaymentMethodTypeGT applies the GT predicate on the "payment_method_type" field.

func PaymentMethodTypeGTE

func PaymentMethodTypeGTE(v string) predicate.Payment

PaymentMethodTypeGTE applies the GTE predicate on the "payment_method_type" field.

func PaymentMethodTypeHasPrefix

func PaymentMethodTypeHasPrefix(v string) predicate.Payment

PaymentMethodTypeHasPrefix applies the HasPrefix predicate on the "payment_method_type" field.

func PaymentMethodTypeHasSuffix

func PaymentMethodTypeHasSuffix(v string) predicate.Payment

PaymentMethodTypeHasSuffix applies the HasSuffix predicate on the "payment_method_type" field.

func PaymentMethodTypeIn

func PaymentMethodTypeIn(vs ...string) predicate.Payment

PaymentMethodTypeIn applies the In predicate on the "payment_method_type" field.

func PaymentMethodTypeLT

func PaymentMethodTypeLT(v string) predicate.Payment

PaymentMethodTypeLT applies the LT predicate on the "payment_method_type" field.

func PaymentMethodTypeLTE

func PaymentMethodTypeLTE(v string) predicate.Payment

PaymentMethodTypeLTE applies the LTE predicate on the "payment_method_type" field.

func PaymentMethodTypeNEQ

func PaymentMethodTypeNEQ(v string) predicate.Payment

PaymentMethodTypeNEQ applies the NEQ predicate on the "payment_method_type" field.

func PaymentMethodTypeNotIn

func PaymentMethodTypeNotIn(vs ...string) predicate.Payment

PaymentMethodTypeNotIn applies the NotIn predicate on the "payment_method_type" field.

func PaymentStatus

func PaymentStatus(v string) predicate.Payment

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

func PaymentStatusContains

func PaymentStatusContains(v string) predicate.Payment

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

func PaymentStatusContainsFold

func PaymentStatusContainsFold(v string) predicate.Payment

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

func PaymentStatusEQ

func PaymentStatusEQ(v string) predicate.Payment

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

func PaymentStatusEqualFold

func PaymentStatusEqualFold(v string) predicate.Payment

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

func PaymentStatusGT

func PaymentStatusGT(v string) predicate.Payment

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

func PaymentStatusGTE

func PaymentStatusGTE(v string) predicate.Payment

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

func PaymentStatusHasPrefix

func PaymentStatusHasPrefix(v string) predicate.Payment

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

func PaymentStatusHasSuffix

func PaymentStatusHasSuffix(v string) predicate.Payment

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

func PaymentStatusIn

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

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

func PaymentStatusLT

func PaymentStatusLT(v string) predicate.Payment

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

func PaymentStatusLTE

func PaymentStatusLTE(v string) predicate.Payment

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

func PaymentStatusNEQ

func PaymentStatusNEQ(v string) predicate.Payment

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

func PaymentStatusNotIn

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

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

func RecordedAt added in v1.0.18

func RecordedAt(v time.Time) predicate.Payment

RecordedAt applies equality check predicate on the "recorded_at" field. It's identical to RecordedAtEQ.

func RecordedAtEQ added in v1.0.18

func RecordedAtEQ(v time.Time) predicate.Payment

RecordedAtEQ applies the EQ predicate on the "recorded_at" field.

func RecordedAtGT added in v1.0.18

func RecordedAtGT(v time.Time) predicate.Payment

RecordedAtGT applies the GT predicate on the "recorded_at" field.

func RecordedAtGTE added in v1.0.18

func RecordedAtGTE(v time.Time) predicate.Payment

RecordedAtGTE applies the GTE predicate on the "recorded_at" field.

func RecordedAtIn added in v1.0.18

func RecordedAtIn(vs ...time.Time) predicate.Payment

RecordedAtIn applies the In predicate on the "recorded_at" field.

func RecordedAtIsNil added in v1.0.18

func RecordedAtIsNil() predicate.Payment

RecordedAtIsNil applies the IsNil predicate on the "recorded_at" field.

func RecordedAtLT added in v1.0.18

func RecordedAtLT(v time.Time) predicate.Payment

RecordedAtLT applies the LT predicate on the "recorded_at" field.

func RecordedAtLTE added in v1.0.18

func RecordedAtLTE(v time.Time) predicate.Payment

RecordedAtLTE applies the LTE predicate on the "recorded_at" field.

func RecordedAtNEQ added in v1.0.18

func RecordedAtNEQ(v time.Time) predicate.Payment

RecordedAtNEQ applies the NEQ predicate on the "recorded_at" field.

func RecordedAtNotIn added in v1.0.18

func RecordedAtNotIn(vs ...time.Time) predicate.Payment

RecordedAtNotIn applies the NotIn predicate on the "recorded_at" field.

func RecordedAtNotNil added in v1.0.18

func RecordedAtNotNil() predicate.Payment

RecordedAtNotNil applies the NotNil predicate on the "recorded_at" field.

func RefundedAt

func RefundedAt(v time.Time) predicate.Payment

RefundedAt applies equality check predicate on the "refunded_at" field. It's identical to RefundedAtEQ.

func RefundedAtEQ

func RefundedAtEQ(v time.Time) predicate.Payment

RefundedAtEQ applies the EQ predicate on the "refunded_at" field.

func RefundedAtGT

func RefundedAtGT(v time.Time) predicate.Payment

RefundedAtGT applies the GT predicate on the "refunded_at" field.

func RefundedAtGTE

func RefundedAtGTE(v time.Time) predicate.Payment

RefundedAtGTE applies the GTE predicate on the "refunded_at" field.

func RefundedAtIn

func RefundedAtIn(vs ...time.Time) predicate.Payment

RefundedAtIn applies the In predicate on the "refunded_at" field.

func RefundedAtIsNil

func RefundedAtIsNil() predicate.Payment

RefundedAtIsNil applies the IsNil predicate on the "refunded_at" field.

func RefundedAtLT

func RefundedAtLT(v time.Time) predicate.Payment

RefundedAtLT applies the LT predicate on the "refunded_at" field.

func RefundedAtLTE

func RefundedAtLTE(v time.Time) predicate.Payment

RefundedAtLTE applies the LTE predicate on the "refunded_at" field.

func RefundedAtNEQ

func RefundedAtNEQ(v time.Time) predicate.Payment

RefundedAtNEQ applies the NEQ predicate on the "refunded_at" field.

func RefundedAtNotIn

func RefundedAtNotIn(vs ...time.Time) predicate.Payment

RefundedAtNotIn applies the NotIn predicate on the "refunded_at" field.

func RefundedAtNotNil

func RefundedAtNotNil() predicate.Payment

RefundedAtNotNil applies the NotNil predicate on the "refunded_at" field.

func Status

func Status(v string) predicate.Payment

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

func StatusContains

func StatusContains(v string) predicate.Payment

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

func StatusContainsFold

func StatusContainsFold(v string) predicate.Payment

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

func StatusEQ

func StatusEQ(v string) predicate.Payment

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

func StatusEqualFold

func StatusEqualFold(v string) predicate.Payment

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

func StatusGT

func StatusGT(v string) predicate.Payment

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

func StatusGTE

func StatusGTE(v string) predicate.Payment

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

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.Payment

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

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.Payment

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

func StatusIn

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

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

func StatusLT

func StatusLT(v string) predicate.Payment

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

func StatusLTE

func StatusLTE(v string) predicate.Payment

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

func StatusNEQ

func StatusNEQ(v string) predicate.Payment

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

func StatusNotIn

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

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

func SucceededAt

func SucceededAt(v time.Time) predicate.Payment

SucceededAt applies equality check predicate on the "succeeded_at" field. It's identical to SucceededAtEQ.

func SucceededAtEQ

func SucceededAtEQ(v time.Time) predicate.Payment

SucceededAtEQ applies the EQ predicate on the "succeeded_at" field.

func SucceededAtGT

func SucceededAtGT(v time.Time) predicate.Payment

SucceededAtGT applies the GT predicate on the "succeeded_at" field.

func SucceededAtGTE

func SucceededAtGTE(v time.Time) predicate.Payment

SucceededAtGTE applies the GTE predicate on the "succeeded_at" field.

func SucceededAtIn

func SucceededAtIn(vs ...time.Time) predicate.Payment

SucceededAtIn applies the In predicate on the "succeeded_at" field.

func SucceededAtIsNil

func SucceededAtIsNil() predicate.Payment

SucceededAtIsNil applies the IsNil predicate on the "succeeded_at" field.

func SucceededAtLT

func SucceededAtLT(v time.Time) predicate.Payment

SucceededAtLT applies the LT predicate on the "succeeded_at" field.

func SucceededAtLTE

func SucceededAtLTE(v time.Time) predicate.Payment

SucceededAtLTE applies the LTE predicate on the "succeeded_at" field.

func SucceededAtNEQ

func SucceededAtNEQ(v time.Time) predicate.Payment

SucceededAtNEQ applies the NEQ predicate on the "succeeded_at" field.

func SucceededAtNotIn

func SucceededAtNotIn(vs ...time.Time) predicate.Payment

SucceededAtNotIn applies the NotIn predicate on the "succeeded_at" field.

func SucceededAtNotNil

func SucceededAtNotNil() predicate.Payment

SucceededAtNotNil applies the NotNil predicate on the "succeeded_at" field.

func TenantID

func TenantID(v string) predicate.Payment

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

func TenantIDContains

func TenantIDContains(v string) predicate.Payment

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

func TenantIDContainsFold

func TenantIDContainsFold(v string) predicate.Payment

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

func TenantIDEQ

func TenantIDEQ(v string) predicate.Payment

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

func TenantIDEqualFold

func TenantIDEqualFold(v string) predicate.Payment

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

func TenantIDGT

func TenantIDGT(v string) predicate.Payment

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

func TenantIDGTE

func TenantIDGTE(v string) predicate.Payment

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

func TenantIDHasPrefix

func TenantIDHasPrefix(v string) predicate.Payment

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

func TenantIDHasSuffix

func TenantIDHasSuffix(v string) predicate.Payment

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

func TenantIDIn

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

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

func TenantIDLT

func TenantIDLT(v string) predicate.Payment

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

func TenantIDLTE

func TenantIDLTE(v string) predicate.Payment

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

func TenantIDNEQ

func TenantIDNEQ(v string) predicate.Payment

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

func TenantIDNotIn

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

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

func TrackAttempts

func TrackAttempts(v bool) predicate.Payment

TrackAttempts applies equality check predicate on the "track_attempts" field. It's identical to TrackAttemptsEQ.

func TrackAttemptsEQ

func TrackAttemptsEQ(v bool) predicate.Payment

TrackAttemptsEQ applies the EQ predicate on the "track_attempts" field.

func TrackAttemptsNEQ

func TrackAttemptsNEQ(v bool) predicate.Payment

TrackAttemptsNEQ applies the NEQ predicate on the "track_attempts" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Payment

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Payment

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Payment

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Payment

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Payment

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Payment

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Payment

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

func UpdatedAtNotIn

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

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

func UpdatedBy

func UpdatedBy(v string) predicate.Payment

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.Payment

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.Payment

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.Payment

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.Payment

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.Payment

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.Payment

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.Payment

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.Payment

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.Payment

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.Payment

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.Payment

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.Payment

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.Payment

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 Payment queries.

func ByAmount

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

ByAmount orders the results by the amount field.

func ByAttempts

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

ByAttempts orders the results by attempts terms.

func ByAttemptsCount

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

ByAttemptsCount orders the results by attempts 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 ByDestinationID

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

ByDestinationID orders the results by the destination_id field.

func ByDestinationType

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

ByDestinationType orders the results by the destination_type 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 ByFailedAt

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

ByFailedAt orders the results by the failed_at field.

func ByGatewayPaymentID

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

ByGatewayPaymentID orders the results by the gateway_payment_id field.

func ByGatewayTrackingID added in v1.0.21

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

ByGatewayTrackingID orders the results by the gateway_tracking_id 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 ByPaymentGateway

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

ByPaymentGateway orders the results by the payment_gateway field.

func ByPaymentMethodID

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

ByPaymentMethodID orders the results by the payment_method_id field.

func ByPaymentMethodType

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

ByPaymentMethodType orders the results by the payment_method_type field.

func ByPaymentStatus

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

ByPaymentStatus orders the results by the payment_status field.

func ByRecordedAt added in v1.0.18

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

ByRecordedAt orders the results by the recorded_at field.

func ByRefundedAt

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

ByRefundedAt orders the results by the refunded_at field.

func ByStatus

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

ByStatus orders the results by the status field.

func BySucceededAt

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

BySucceededAt orders the results by the succeeded_at field.

func ByTenantID

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

ByTenantID orders the results by the tenant_id field.

func ByTrackAttempts

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

ByTrackAttempts orders the results by the track_attempts 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