lockpaymentorder

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the lockpaymentorder type in the database.
	Label = "lock_payment_order"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldGatewayID holds the string denoting the gateway_id field in the database.
	FieldGatewayID = "gateway_id"
	// FieldAmount holds the string denoting the amount field in the database.
	FieldAmount = "amount"
	// FieldProtocolFee holds the string denoting the protocol_fee field in the database.
	FieldProtocolFee = "protocol_fee"
	// FieldRate holds the string denoting the rate field in the database.
	FieldRate = "rate"
	// FieldOrderPercent holds the string denoting the order_percent field in the database.
	FieldOrderPercent = "order_percent"
	// FieldSender holds the string denoting the sender field in the database.
	FieldSender = "sender"
	// FieldTxHash holds the string denoting the tx_hash field in the database.
	FieldTxHash = "tx_hash"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldBlockNumber holds the string denoting the block_number field in the database.
	FieldBlockNumber = "block_number"
	// FieldInstitution holds the string denoting the institution field in the database.
	FieldInstitution = "institution"
	// FieldAccountIdentifier holds the string denoting the account_identifier field in the database.
	FieldAccountIdentifier = "account_identifier"
	// FieldAccountName holds the string denoting the account_name field in the database.
	FieldAccountName = "account_name"
	// FieldMemo holds the string denoting the memo field in the database.
	FieldMemo = "memo"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// FieldCancellationCount holds the string denoting the cancellation_count field in the database.
	FieldCancellationCount = "cancellation_count"
	// FieldCancellationReasons holds the string denoting the cancellation_reasons field in the database.
	FieldCancellationReasons = "cancellation_reasons"
	// FieldMessageHash holds the string denoting the message_hash field in the database.
	FieldMessageHash = "message_hash"
	// EdgeToken holds the string denoting the token edge name in mutations.
	EdgeToken = "token"
	// EdgeProvisionBucket holds the string denoting the provision_bucket edge name in mutations.
	EdgeProvisionBucket = "provision_bucket"
	// EdgeProvider holds the string denoting the provider edge name in mutations.
	EdgeProvider = "provider"
	// EdgeFulfillments holds the string denoting the fulfillments edge name in mutations.
	EdgeFulfillments = "fulfillments"
	// EdgeTransactions holds the string denoting the transactions edge name in mutations.
	EdgeTransactions = "transactions"
	// Table holds the table name of the lockpaymentorder in the database.
	Table = "lock_payment_orders"
	// TokenTable is the table that holds the token relation/edge.
	TokenTable = "lock_payment_orders"
	// TokenInverseTable is the table name for the Token entity.
	// It exists in this package in order to avoid circular dependency with the "token" package.
	TokenInverseTable = "tokens"
	// TokenColumn is the table column denoting the token relation/edge.
	TokenColumn = "token_lock_payment_orders"
	// ProvisionBucketTable is the table that holds the provision_bucket relation/edge.
	ProvisionBucketTable = "lock_payment_orders"
	// ProvisionBucketInverseTable is the table name for the ProvisionBucket entity.
	// It exists in this package in order to avoid circular dependency with the "provisionbucket" package.
	ProvisionBucketInverseTable = "provision_buckets"
	// ProvisionBucketColumn is the table column denoting the provision_bucket relation/edge.
	ProvisionBucketColumn = "provision_bucket_lock_payment_orders"
	// ProviderTable is the table that holds the provider relation/edge.
	ProviderTable = "lock_payment_orders"
	// ProviderInverseTable is the table name for the ProviderProfile entity.
	// It exists in this package in order to avoid circular dependency with the "providerprofile" package.
	ProviderInverseTable = "provider_profiles"
	// ProviderColumn is the table column denoting the provider relation/edge.
	ProviderColumn = "provider_profile_assigned_orders"
	// FulfillmentsTable is the table that holds the fulfillments relation/edge.
	FulfillmentsTable = "lock_order_fulfillments"
	// FulfillmentsInverseTable is the table name for the LockOrderFulfillment entity.
	// It exists in this package in order to avoid circular dependency with the "lockorderfulfillment" package.
	FulfillmentsInverseTable = "lock_order_fulfillments"
	// FulfillmentsColumn is the table column denoting the fulfillments relation/edge.
	FulfillmentsColumn = "lock_payment_order_fulfillments"
	// TransactionsTable is the table that holds the transactions relation/edge.
	TransactionsTable = "transaction_logs"
	// TransactionsInverseTable is the table name for the TransactionLog entity.
	// It exists in this package in order to avoid circular dependency with the "transactionlog" package.
	TransactionsInverseTable = "transaction_logs"
	// TransactionsColumn is the table column denoting the transactions relation/edge.
	TransactionsColumn = "lock_payment_order_transactions"
)
View Source
const DefaultStatus = StatusPending

StatusPending is the default value of the Status enum.

Variables

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// TxHashValidator is a validator for the "tx_hash" field. It is called by the builders before save.
	TxHashValidator func(string) error
	// DefaultCancellationCount holds the default value on creation for the "cancellation_count" field.
	DefaultCancellationCount int
	// DefaultCancellationReasons holds the default value on creation for the "cancellation_reasons" field.
	DefaultCancellationReasons []string
	// MessageHashValidator is a validator for the "message_hash" field. It is called by the builders before save.
	MessageHashValidator func(string) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for lockpaymentorder fields.

View Source
var ForeignKeys = []string{
	"provider_profile_assigned_orders",
	"provision_bucket_lock_payment_orders",
	"token_lock_payment_orders",
}

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

Functions

func AccountIdentifier

func AccountIdentifier(v string) predicate.LockPaymentOrder

AccountIdentifier applies equality check predicate on the "account_identifier" field. It's identical to AccountIdentifierEQ.

func AccountIdentifierContains

func AccountIdentifierContains(v string) predicate.LockPaymentOrder

AccountIdentifierContains applies the Contains predicate on the "account_identifier" field.

func AccountIdentifierContainsFold

func AccountIdentifierContainsFold(v string) predicate.LockPaymentOrder

AccountIdentifierContainsFold applies the ContainsFold predicate on the "account_identifier" field.

func AccountIdentifierEQ

func AccountIdentifierEQ(v string) predicate.LockPaymentOrder

AccountIdentifierEQ applies the EQ predicate on the "account_identifier" field.

func AccountIdentifierEqualFold

func AccountIdentifierEqualFold(v string) predicate.LockPaymentOrder

AccountIdentifierEqualFold applies the EqualFold predicate on the "account_identifier" field.

func AccountIdentifierGT

func AccountIdentifierGT(v string) predicate.LockPaymentOrder

AccountIdentifierGT applies the GT predicate on the "account_identifier" field.

func AccountIdentifierGTE

func AccountIdentifierGTE(v string) predicate.LockPaymentOrder

AccountIdentifierGTE applies the GTE predicate on the "account_identifier" field.

func AccountIdentifierHasPrefix

func AccountIdentifierHasPrefix(v string) predicate.LockPaymentOrder

AccountIdentifierHasPrefix applies the HasPrefix predicate on the "account_identifier" field.

func AccountIdentifierHasSuffix

func AccountIdentifierHasSuffix(v string) predicate.LockPaymentOrder

AccountIdentifierHasSuffix applies the HasSuffix predicate on the "account_identifier" field.

func AccountIdentifierIn

func AccountIdentifierIn(vs ...string) predicate.LockPaymentOrder

AccountIdentifierIn applies the In predicate on the "account_identifier" field.

func AccountIdentifierLT

func AccountIdentifierLT(v string) predicate.LockPaymentOrder

AccountIdentifierLT applies the LT predicate on the "account_identifier" field.

func AccountIdentifierLTE

func AccountIdentifierLTE(v string) predicate.LockPaymentOrder

AccountIdentifierLTE applies the LTE predicate on the "account_identifier" field.

func AccountIdentifierNEQ

func AccountIdentifierNEQ(v string) predicate.LockPaymentOrder

AccountIdentifierNEQ applies the NEQ predicate on the "account_identifier" field.

func AccountIdentifierNotIn

func AccountIdentifierNotIn(vs ...string) predicate.LockPaymentOrder

AccountIdentifierNotIn applies the NotIn predicate on the "account_identifier" field.

func AccountName

func AccountName(v string) predicate.LockPaymentOrder

AccountName applies equality check predicate on the "account_name" field. It's identical to AccountNameEQ.

func AccountNameContains

func AccountNameContains(v string) predicate.LockPaymentOrder

AccountNameContains applies the Contains predicate on the "account_name" field.

func AccountNameContainsFold

func AccountNameContainsFold(v string) predicate.LockPaymentOrder

AccountNameContainsFold applies the ContainsFold predicate on the "account_name" field.

func AccountNameEQ

func AccountNameEQ(v string) predicate.LockPaymentOrder

AccountNameEQ applies the EQ predicate on the "account_name" field.

func AccountNameEqualFold

func AccountNameEqualFold(v string) predicate.LockPaymentOrder

AccountNameEqualFold applies the EqualFold predicate on the "account_name" field.

func AccountNameGT

func AccountNameGT(v string) predicate.LockPaymentOrder

AccountNameGT applies the GT predicate on the "account_name" field.

func AccountNameGTE

func AccountNameGTE(v string) predicate.LockPaymentOrder

AccountNameGTE applies the GTE predicate on the "account_name" field.

func AccountNameHasPrefix

func AccountNameHasPrefix(v string) predicate.LockPaymentOrder

AccountNameHasPrefix applies the HasPrefix predicate on the "account_name" field.

func AccountNameHasSuffix

func AccountNameHasSuffix(v string) predicate.LockPaymentOrder

AccountNameHasSuffix applies the HasSuffix predicate on the "account_name" field.

func AccountNameIn

func AccountNameIn(vs ...string) predicate.LockPaymentOrder

AccountNameIn applies the In predicate on the "account_name" field.

func AccountNameLT

func AccountNameLT(v string) predicate.LockPaymentOrder

AccountNameLT applies the LT predicate on the "account_name" field.

func AccountNameLTE

func AccountNameLTE(v string) predicate.LockPaymentOrder

AccountNameLTE applies the LTE predicate on the "account_name" field.

func AccountNameNEQ

func AccountNameNEQ(v string) predicate.LockPaymentOrder

AccountNameNEQ applies the NEQ predicate on the "account_name" field.

func AccountNameNotIn

func AccountNameNotIn(vs ...string) predicate.LockPaymentOrder

AccountNameNotIn applies the NotIn predicate on the "account_name" field.

func Amount

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

func AmountEQ

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

func AmountGT

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

func AmountGTE

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

func AmountIn

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

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

func AmountLT

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

func AmountLTE

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

func AmountNEQ

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

func AmountNotIn

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

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

func And

And groups predicates with the AND operator between them.

func BlockNumber

func BlockNumber(v int64) predicate.LockPaymentOrder

BlockNumber applies equality check predicate on the "block_number" field. It's identical to BlockNumberEQ.

func BlockNumberEQ

func BlockNumberEQ(v int64) predicate.LockPaymentOrder

BlockNumberEQ applies the EQ predicate on the "block_number" field.

func BlockNumberGT

func BlockNumberGT(v int64) predicate.LockPaymentOrder

BlockNumberGT applies the GT predicate on the "block_number" field.

func BlockNumberGTE

func BlockNumberGTE(v int64) predicate.LockPaymentOrder

BlockNumberGTE applies the GTE predicate on the "block_number" field.

func BlockNumberIn

func BlockNumberIn(vs ...int64) predicate.LockPaymentOrder

BlockNumberIn applies the In predicate on the "block_number" field.

func BlockNumberLT

func BlockNumberLT(v int64) predicate.LockPaymentOrder

BlockNumberLT applies the LT predicate on the "block_number" field.

func BlockNumberLTE

func BlockNumberLTE(v int64) predicate.LockPaymentOrder

BlockNumberLTE applies the LTE predicate on the "block_number" field.

func BlockNumberNEQ

func BlockNumberNEQ(v int64) predicate.LockPaymentOrder

BlockNumberNEQ applies the NEQ predicate on the "block_number" field.

func BlockNumberNotIn

func BlockNumberNotIn(vs ...int64) predicate.LockPaymentOrder

BlockNumberNotIn applies the NotIn predicate on the "block_number" field.

func CancellationCount

func CancellationCount(v int) predicate.LockPaymentOrder

CancellationCount applies equality check predicate on the "cancellation_count" field. It's identical to CancellationCountEQ.

func CancellationCountEQ

func CancellationCountEQ(v int) predicate.LockPaymentOrder

CancellationCountEQ applies the EQ predicate on the "cancellation_count" field.

func CancellationCountGT

func CancellationCountGT(v int) predicate.LockPaymentOrder

CancellationCountGT applies the GT predicate on the "cancellation_count" field.

func CancellationCountGTE

func CancellationCountGTE(v int) predicate.LockPaymentOrder

CancellationCountGTE applies the GTE predicate on the "cancellation_count" field.

func CancellationCountIn

func CancellationCountIn(vs ...int) predicate.LockPaymentOrder

CancellationCountIn applies the In predicate on the "cancellation_count" field.

func CancellationCountLT

func CancellationCountLT(v int) predicate.LockPaymentOrder

CancellationCountLT applies the LT predicate on the "cancellation_count" field.

func CancellationCountLTE

func CancellationCountLTE(v int) predicate.LockPaymentOrder

CancellationCountLTE applies the LTE predicate on the "cancellation_count" field.

func CancellationCountNEQ

func CancellationCountNEQ(v int) predicate.LockPaymentOrder

CancellationCountNEQ applies the NEQ predicate on the "cancellation_count" field.

func CancellationCountNotIn

func CancellationCountNotIn(vs ...int) predicate.LockPaymentOrder

CancellationCountNotIn applies the NotIn predicate on the "cancellation_count" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.LockPaymentOrder

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.LockPaymentOrder

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.LockPaymentOrder

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.LockPaymentOrder

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.LockPaymentOrder

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.LockPaymentOrder

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.LockPaymentOrder

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

func CreatedAtNotIn

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

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

func GatewayID

func GatewayID(v string) predicate.LockPaymentOrder

GatewayID applies equality check predicate on the "gateway_id" field. It's identical to GatewayIDEQ.

func GatewayIDContains

func GatewayIDContains(v string) predicate.LockPaymentOrder

GatewayIDContains applies the Contains predicate on the "gateway_id" field.

func GatewayIDContainsFold

func GatewayIDContainsFold(v string) predicate.LockPaymentOrder

GatewayIDContainsFold applies the ContainsFold predicate on the "gateway_id" field.

func GatewayIDEQ

func GatewayIDEQ(v string) predicate.LockPaymentOrder

GatewayIDEQ applies the EQ predicate on the "gateway_id" field.

func GatewayIDEqualFold

func GatewayIDEqualFold(v string) predicate.LockPaymentOrder

GatewayIDEqualFold applies the EqualFold predicate on the "gateway_id" field.

func GatewayIDGT

func GatewayIDGT(v string) predicate.LockPaymentOrder

GatewayIDGT applies the GT predicate on the "gateway_id" field.

func GatewayIDGTE

func GatewayIDGTE(v string) predicate.LockPaymentOrder

GatewayIDGTE applies the GTE predicate on the "gateway_id" field.

func GatewayIDHasPrefix

func GatewayIDHasPrefix(v string) predicate.LockPaymentOrder

GatewayIDHasPrefix applies the HasPrefix predicate on the "gateway_id" field.

func GatewayIDHasSuffix

func GatewayIDHasSuffix(v string) predicate.LockPaymentOrder

GatewayIDHasSuffix applies the HasSuffix predicate on the "gateway_id" field.

func GatewayIDIn

func GatewayIDIn(vs ...string) predicate.LockPaymentOrder

GatewayIDIn applies the In predicate on the "gateway_id" field.

func GatewayIDLT

func GatewayIDLT(v string) predicate.LockPaymentOrder

GatewayIDLT applies the LT predicate on the "gateway_id" field.

func GatewayIDLTE

func GatewayIDLTE(v string) predicate.LockPaymentOrder

GatewayIDLTE applies the LTE predicate on the "gateway_id" field.

func GatewayIDNEQ

func GatewayIDNEQ(v string) predicate.LockPaymentOrder

GatewayIDNEQ applies the NEQ predicate on the "gateway_id" field.

func GatewayIDNotIn

func GatewayIDNotIn(vs ...string) predicate.LockPaymentOrder

GatewayIDNotIn applies the NotIn predicate on the "gateway_id" field.

func HasFulfillments

func HasFulfillments() predicate.LockPaymentOrder

HasFulfillments applies the HasEdge predicate on the "fulfillments" edge.

func HasFulfillmentsWith

func HasFulfillmentsWith(preds ...predicate.LockOrderFulfillment) predicate.LockPaymentOrder

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

func HasProvider

func HasProvider() predicate.LockPaymentOrder

HasProvider applies the HasEdge predicate on the "provider" edge.

func HasProviderWith

func HasProviderWith(preds ...predicate.ProviderProfile) predicate.LockPaymentOrder

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

func HasProvisionBucket

func HasProvisionBucket() predicate.LockPaymentOrder

HasProvisionBucket applies the HasEdge predicate on the "provision_bucket" edge.

func HasProvisionBucketWith

func HasProvisionBucketWith(preds ...predicate.ProvisionBucket) predicate.LockPaymentOrder

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

func HasToken

func HasToken() predicate.LockPaymentOrder

HasToken applies the HasEdge predicate on the "token" edge.

func HasTokenWith

func HasTokenWith(preds ...predicate.Token) predicate.LockPaymentOrder

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

func HasTransactions

func HasTransactions() predicate.LockPaymentOrder

HasTransactions applies the HasEdge predicate on the "transactions" edge.

func HasTransactionsWith

func HasTransactionsWith(preds ...predicate.TransactionLog) predicate.LockPaymentOrder

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

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Institution

func Institution(v string) predicate.LockPaymentOrder

Institution applies equality check predicate on the "institution" field. It's identical to InstitutionEQ.

func InstitutionContains

func InstitutionContains(v string) predicate.LockPaymentOrder

InstitutionContains applies the Contains predicate on the "institution" field.

func InstitutionContainsFold

func InstitutionContainsFold(v string) predicate.LockPaymentOrder

InstitutionContainsFold applies the ContainsFold predicate on the "institution" field.

func InstitutionEQ

func InstitutionEQ(v string) predicate.LockPaymentOrder

InstitutionEQ applies the EQ predicate on the "institution" field.

func InstitutionEqualFold

func InstitutionEqualFold(v string) predicate.LockPaymentOrder

InstitutionEqualFold applies the EqualFold predicate on the "institution" field.

func InstitutionGT

func InstitutionGT(v string) predicate.LockPaymentOrder

InstitutionGT applies the GT predicate on the "institution" field.

func InstitutionGTE

func InstitutionGTE(v string) predicate.LockPaymentOrder

InstitutionGTE applies the GTE predicate on the "institution" field.

func InstitutionHasPrefix

func InstitutionHasPrefix(v string) predicate.LockPaymentOrder

InstitutionHasPrefix applies the HasPrefix predicate on the "institution" field.

func InstitutionHasSuffix

func InstitutionHasSuffix(v string) predicate.LockPaymentOrder

InstitutionHasSuffix applies the HasSuffix predicate on the "institution" field.

func InstitutionIn

func InstitutionIn(vs ...string) predicate.LockPaymentOrder

InstitutionIn applies the In predicate on the "institution" field.

func InstitutionLT

func InstitutionLT(v string) predicate.LockPaymentOrder

InstitutionLT applies the LT predicate on the "institution" field.

func InstitutionLTE

func InstitutionLTE(v string) predicate.LockPaymentOrder

InstitutionLTE applies the LTE predicate on the "institution" field.

func InstitutionNEQ

func InstitutionNEQ(v string) predicate.LockPaymentOrder

InstitutionNEQ applies the NEQ predicate on the "institution" field.

func InstitutionNotIn

func InstitutionNotIn(vs ...string) predicate.LockPaymentOrder

InstitutionNotIn applies the NotIn predicate on the "institution" field.

func Memo

Memo applies equality check predicate on the "memo" field. It's identical to MemoEQ.

func MemoContains

func MemoContains(v string) predicate.LockPaymentOrder

MemoContains applies the Contains predicate on the "memo" field.

func MemoContainsFold

func MemoContainsFold(v string) predicate.LockPaymentOrder

MemoContainsFold applies the ContainsFold predicate on the "memo" field.

func MemoEQ

MemoEQ applies the EQ predicate on the "memo" field.

func MemoEqualFold

func MemoEqualFold(v string) predicate.LockPaymentOrder

MemoEqualFold applies the EqualFold predicate on the "memo" field.

func MemoGT

MemoGT applies the GT predicate on the "memo" field.

func MemoGTE

MemoGTE applies the GTE predicate on the "memo" field.

func MemoHasPrefix

func MemoHasPrefix(v string) predicate.LockPaymentOrder

MemoHasPrefix applies the HasPrefix predicate on the "memo" field.

func MemoHasSuffix

func MemoHasSuffix(v string) predicate.LockPaymentOrder

MemoHasSuffix applies the HasSuffix predicate on the "memo" field.

func MemoIn

func MemoIn(vs ...string) predicate.LockPaymentOrder

MemoIn applies the In predicate on the "memo" field.

func MemoIsNil

func MemoIsNil() predicate.LockPaymentOrder

MemoIsNil applies the IsNil predicate on the "memo" field.

func MemoLT

MemoLT applies the LT predicate on the "memo" field.

func MemoLTE

MemoLTE applies the LTE predicate on the "memo" field.

func MemoNEQ

MemoNEQ applies the NEQ predicate on the "memo" field.

func MemoNotIn

func MemoNotIn(vs ...string) predicate.LockPaymentOrder

MemoNotIn applies the NotIn predicate on the "memo" field.

func MemoNotNil

func MemoNotNil() predicate.LockPaymentOrder

MemoNotNil applies the NotNil predicate on the "memo" field.

func MessageHash added in v0.0.2

func MessageHash(v string) predicate.LockPaymentOrder

MessageHash applies equality check predicate on the "message_hash" field. It's identical to MessageHashEQ.

func MessageHashContains added in v0.0.2

func MessageHashContains(v string) predicate.LockPaymentOrder

MessageHashContains applies the Contains predicate on the "message_hash" field.

func MessageHashContainsFold added in v0.0.2

func MessageHashContainsFold(v string) predicate.LockPaymentOrder

MessageHashContainsFold applies the ContainsFold predicate on the "message_hash" field.

func MessageHashEQ added in v0.0.2

func MessageHashEQ(v string) predicate.LockPaymentOrder

MessageHashEQ applies the EQ predicate on the "message_hash" field.

func MessageHashEqualFold added in v0.0.2

func MessageHashEqualFold(v string) predicate.LockPaymentOrder

MessageHashEqualFold applies the EqualFold predicate on the "message_hash" field.

func MessageHashGT added in v0.0.2

func MessageHashGT(v string) predicate.LockPaymentOrder

MessageHashGT applies the GT predicate on the "message_hash" field.

func MessageHashGTE added in v0.0.2

func MessageHashGTE(v string) predicate.LockPaymentOrder

MessageHashGTE applies the GTE predicate on the "message_hash" field.

func MessageHashHasPrefix added in v0.0.2

func MessageHashHasPrefix(v string) predicate.LockPaymentOrder

MessageHashHasPrefix applies the HasPrefix predicate on the "message_hash" field.

func MessageHashHasSuffix added in v0.0.2

func MessageHashHasSuffix(v string) predicate.LockPaymentOrder

MessageHashHasSuffix applies the HasSuffix predicate on the "message_hash" field.

func MessageHashIn added in v0.0.2

func MessageHashIn(vs ...string) predicate.LockPaymentOrder

MessageHashIn applies the In predicate on the "message_hash" field.

func MessageHashIsNil added in v0.0.2

func MessageHashIsNil() predicate.LockPaymentOrder

MessageHashIsNil applies the IsNil predicate on the "message_hash" field.

func MessageHashLT added in v0.0.2

func MessageHashLT(v string) predicate.LockPaymentOrder

MessageHashLT applies the LT predicate on the "message_hash" field.

func MessageHashLTE added in v0.0.2

func MessageHashLTE(v string) predicate.LockPaymentOrder

MessageHashLTE applies the LTE predicate on the "message_hash" field.

func MessageHashNEQ added in v0.0.2

func MessageHashNEQ(v string) predicate.LockPaymentOrder

MessageHashNEQ applies the NEQ predicate on the "message_hash" field.

func MessageHashNotIn added in v0.0.2

func MessageHashNotIn(vs ...string) predicate.LockPaymentOrder

MessageHashNotIn applies the NotIn predicate on the "message_hash" field.

func MessageHashNotNil added in v0.0.2

func MessageHashNotNil() predicate.LockPaymentOrder

MessageHashNotNil applies the NotNil predicate on the "message_hash" field.

func MetadataIsNil

func MetadataIsNil() predicate.LockPaymentOrder

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

func MetadataNotNil

func MetadataNotNil() predicate.LockPaymentOrder

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 OrderPercent

func OrderPercent(v decimal.Decimal) predicate.LockPaymentOrder

OrderPercent applies equality check predicate on the "order_percent" field. It's identical to OrderPercentEQ.

func OrderPercentEQ

func OrderPercentEQ(v decimal.Decimal) predicate.LockPaymentOrder

OrderPercentEQ applies the EQ predicate on the "order_percent" field.

func OrderPercentGT

func OrderPercentGT(v decimal.Decimal) predicate.LockPaymentOrder

OrderPercentGT applies the GT predicate on the "order_percent" field.

func OrderPercentGTE

func OrderPercentGTE(v decimal.Decimal) predicate.LockPaymentOrder

OrderPercentGTE applies the GTE predicate on the "order_percent" field.

func OrderPercentIn

func OrderPercentIn(vs ...decimal.Decimal) predicate.LockPaymentOrder

OrderPercentIn applies the In predicate on the "order_percent" field.

func OrderPercentLT

func OrderPercentLT(v decimal.Decimal) predicate.LockPaymentOrder

OrderPercentLT applies the LT predicate on the "order_percent" field.

func OrderPercentLTE

func OrderPercentLTE(v decimal.Decimal) predicate.LockPaymentOrder

OrderPercentLTE applies the LTE predicate on the "order_percent" field.

func OrderPercentNEQ

func OrderPercentNEQ(v decimal.Decimal) predicate.LockPaymentOrder

OrderPercentNEQ applies the NEQ predicate on the "order_percent" field.

func OrderPercentNotIn

func OrderPercentNotIn(vs ...decimal.Decimal) predicate.LockPaymentOrder

OrderPercentNotIn applies the NotIn predicate on the "order_percent" field.

func ProtocolFee added in v0.0.2

ProtocolFee applies equality check predicate on the "protocol_fee" field. It's identical to ProtocolFeeEQ.

func ProtocolFeeEQ added in v0.0.2

func ProtocolFeeEQ(v decimal.Decimal) predicate.LockPaymentOrder

ProtocolFeeEQ applies the EQ predicate on the "protocol_fee" field.

func ProtocolFeeGT added in v0.0.2

func ProtocolFeeGT(v decimal.Decimal) predicate.LockPaymentOrder

ProtocolFeeGT applies the GT predicate on the "protocol_fee" field.

func ProtocolFeeGTE added in v0.0.2

func ProtocolFeeGTE(v decimal.Decimal) predicate.LockPaymentOrder

ProtocolFeeGTE applies the GTE predicate on the "protocol_fee" field.

func ProtocolFeeIn added in v0.0.2

func ProtocolFeeIn(vs ...decimal.Decimal) predicate.LockPaymentOrder

ProtocolFeeIn applies the In predicate on the "protocol_fee" field.

func ProtocolFeeLT added in v0.0.2

func ProtocolFeeLT(v decimal.Decimal) predicate.LockPaymentOrder

ProtocolFeeLT applies the LT predicate on the "protocol_fee" field.

func ProtocolFeeLTE added in v0.0.2

func ProtocolFeeLTE(v decimal.Decimal) predicate.LockPaymentOrder

ProtocolFeeLTE applies the LTE predicate on the "protocol_fee" field.

func ProtocolFeeNEQ added in v0.0.2

func ProtocolFeeNEQ(v decimal.Decimal) predicate.LockPaymentOrder

ProtocolFeeNEQ applies the NEQ predicate on the "protocol_fee" field.

func ProtocolFeeNotIn added in v0.0.2

func ProtocolFeeNotIn(vs ...decimal.Decimal) predicate.LockPaymentOrder

ProtocolFeeNotIn applies the NotIn predicate on the "protocol_fee" field.

func Rate

Rate applies equality check predicate on the "rate" field. It's identical to RateEQ.

func RateEQ

RateEQ applies the EQ predicate on the "rate" field.

func RateGT

RateGT applies the GT predicate on the "rate" field.

func RateGTE

RateGTE applies the GTE predicate on the "rate" field.

func RateIn

RateIn applies the In predicate on the "rate" field.

func RateLT

RateLT applies the LT predicate on the "rate" field.

func RateLTE

RateLTE applies the LTE predicate on the "rate" field.

func RateNEQ

RateNEQ applies the NEQ predicate on the "rate" field.

func RateNotIn

func RateNotIn(vs ...decimal.Decimal) predicate.LockPaymentOrder

RateNotIn applies the NotIn predicate on the "rate" field.

func Sender

Sender applies equality check predicate on the "sender" field. It's identical to SenderEQ.

func SenderContains

func SenderContains(v string) predicate.LockPaymentOrder

SenderContains applies the Contains predicate on the "sender" field.

func SenderContainsFold

func SenderContainsFold(v string) predicate.LockPaymentOrder

SenderContainsFold applies the ContainsFold predicate on the "sender" field.

func SenderEQ

func SenderEQ(v string) predicate.LockPaymentOrder

SenderEQ applies the EQ predicate on the "sender" field.

func SenderEqualFold

func SenderEqualFold(v string) predicate.LockPaymentOrder

SenderEqualFold applies the EqualFold predicate on the "sender" field.

func SenderGT

func SenderGT(v string) predicate.LockPaymentOrder

SenderGT applies the GT predicate on the "sender" field.

func SenderGTE

func SenderGTE(v string) predicate.LockPaymentOrder

SenderGTE applies the GTE predicate on the "sender" field.

func SenderHasPrefix

func SenderHasPrefix(v string) predicate.LockPaymentOrder

SenderHasPrefix applies the HasPrefix predicate on the "sender" field.

func SenderHasSuffix

func SenderHasSuffix(v string) predicate.LockPaymentOrder

SenderHasSuffix applies the HasSuffix predicate on the "sender" field.

func SenderIn

func SenderIn(vs ...string) predicate.LockPaymentOrder

SenderIn applies the In predicate on the "sender" field.

func SenderIsNil

func SenderIsNil() predicate.LockPaymentOrder

SenderIsNil applies the IsNil predicate on the "sender" field.

func SenderLT

func SenderLT(v string) predicate.LockPaymentOrder

SenderLT applies the LT predicate on the "sender" field.

func SenderLTE

func SenderLTE(v string) predicate.LockPaymentOrder

SenderLTE applies the LTE predicate on the "sender" field.

func SenderNEQ

func SenderNEQ(v string) predicate.LockPaymentOrder

SenderNEQ applies the NEQ predicate on the "sender" field.

func SenderNotIn

func SenderNotIn(vs ...string) predicate.LockPaymentOrder

SenderNotIn applies the NotIn predicate on the "sender" field.

func SenderNotNil

func SenderNotNil() predicate.LockPaymentOrder

SenderNotNil applies the NotNil predicate on the "sender" field.

func StatusEQ

func StatusEQ(v Status) predicate.LockPaymentOrder

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

func StatusIn

func StatusIn(vs ...Status) predicate.LockPaymentOrder

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

func StatusNEQ

func StatusNEQ(v Status) predicate.LockPaymentOrder

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

func StatusNotIn

func StatusNotIn(vs ...Status) predicate.LockPaymentOrder

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

func StatusValidator

func StatusValidator(s Status) error

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

func TxHash

TxHash applies equality check predicate on the "tx_hash" field. It's identical to TxHashEQ.

func TxHashContains

func TxHashContains(v string) predicate.LockPaymentOrder

TxHashContains applies the Contains predicate on the "tx_hash" field.

func TxHashContainsFold

func TxHashContainsFold(v string) predicate.LockPaymentOrder

TxHashContainsFold applies the ContainsFold predicate on the "tx_hash" field.

func TxHashEQ

func TxHashEQ(v string) predicate.LockPaymentOrder

TxHashEQ applies the EQ predicate on the "tx_hash" field.

func TxHashEqualFold

func TxHashEqualFold(v string) predicate.LockPaymentOrder

TxHashEqualFold applies the EqualFold predicate on the "tx_hash" field.

func TxHashGT

func TxHashGT(v string) predicate.LockPaymentOrder

TxHashGT applies the GT predicate on the "tx_hash" field.

func TxHashGTE

func TxHashGTE(v string) predicate.LockPaymentOrder

TxHashGTE applies the GTE predicate on the "tx_hash" field.

func TxHashHasPrefix

func TxHashHasPrefix(v string) predicate.LockPaymentOrder

TxHashHasPrefix applies the HasPrefix predicate on the "tx_hash" field.

func TxHashHasSuffix

func TxHashHasSuffix(v string) predicate.LockPaymentOrder

TxHashHasSuffix applies the HasSuffix predicate on the "tx_hash" field.

func TxHashIn

func TxHashIn(vs ...string) predicate.LockPaymentOrder

TxHashIn applies the In predicate on the "tx_hash" field.

func TxHashIsNil

func TxHashIsNil() predicate.LockPaymentOrder

TxHashIsNil applies the IsNil predicate on the "tx_hash" field.

func TxHashLT

func TxHashLT(v string) predicate.LockPaymentOrder

TxHashLT applies the LT predicate on the "tx_hash" field.

func TxHashLTE

func TxHashLTE(v string) predicate.LockPaymentOrder

TxHashLTE applies the LTE predicate on the "tx_hash" field.

func TxHashNEQ

func TxHashNEQ(v string) predicate.LockPaymentOrder

TxHashNEQ applies the NEQ predicate on the "tx_hash" field.

func TxHashNotIn

func TxHashNotIn(vs ...string) predicate.LockPaymentOrder

TxHashNotIn applies the NotIn predicate on the "tx_hash" field.

func TxHashNotNil

func TxHashNotNil() predicate.LockPaymentOrder

TxHashNotNil applies the NotNil predicate on the "tx_hash" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.LockPaymentOrder

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.LockPaymentOrder

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.LockPaymentOrder

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.LockPaymentOrder

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.LockPaymentOrder

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.LockPaymentOrder

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.LockPaymentOrder

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

func UpdatedAtNotIn

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

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

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the LockPaymentOrder queries.

func ByAccountIdentifier

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

ByAccountIdentifier orders the results by the account_identifier field.

func ByAccountName

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

ByAccountName orders the results by the account_name field.

func ByAmount

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

ByAmount orders the results by the amount field.

func ByBlockNumber

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

ByBlockNumber orders the results by the block_number field.

func ByCancellationCount

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

ByCancellationCount orders the results by the cancellation_count field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByFulfillments

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

ByFulfillments orders the results by fulfillments terms.

func ByFulfillmentsCount

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

ByFulfillmentsCount orders the results by fulfillments count.

func ByGatewayID

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

ByGatewayID orders the results by the gateway_id field.

func ByID

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

ByID orders the results by the id field.

func ByInstitution

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

ByInstitution orders the results by the institution field.

func ByMemo

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

ByMemo orders the results by the memo field.

func ByMessageHash added in v0.0.2

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

ByMessageHash orders the results by the message_hash field.

func ByOrderPercent

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

ByOrderPercent orders the results by the order_percent field.

func ByProtocolFee added in v0.0.2

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

ByProtocolFee orders the results by the protocol_fee field.

func ByProviderField

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

ByProviderField orders the results by provider field.

func ByProvisionBucketField

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

ByProvisionBucketField orders the results by provision_bucket field.

func ByRate

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

ByRate orders the results by the rate field.

func BySender

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

BySender orders the results by the sender field.

func ByStatus

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

ByStatus orders the results by the status field.

func ByTokenField

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

ByTokenField orders the results by token field.

func ByTransactions

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

ByTransactions orders the results by transactions terms.

func ByTransactionsCount

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

ByTransactionsCount orders the results by transactions count.

func ByTxHash

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

ByTxHash orders the results by the tx_hash field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

type Status

type Status string

Status defines the type for the "status" enum field.

const (
	StatusPending    Status = "pending"
	StatusProcessing Status = "processing"
	StatusCancelled  Status = "cancelled"
	StatusFulfilled  Status = "fulfilled"
	StatusValidated  Status = "validated"
	StatusSettled    Status = "settled"
	StatusRefunded   Status = "refunded"
)

Status values.

func (Status) String

func (s Status) String() string

Jump to

Keyboard shortcuts

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