Documentation
¶
Index ¶
- Constants
- Variables
- func Amount(v string) predicate.PaymentTx
- func AmountContains(v string) predicate.PaymentTx
- func AmountContainsFold(v string) predicate.PaymentTx
- func AmountEQ(v string) predicate.PaymentTx
- func AmountEqualFold(v string) predicate.PaymentTx
- func AmountGT(v string) predicate.PaymentTx
- func AmountGTE(v string) predicate.PaymentTx
- func AmountHasPrefix(v string) predicate.PaymentTx
- func AmountHasSuffix(v string) predicate.PaymentTx
- func AmountIn(vs ...string) predicate.PaymentTx
- func AmountLT(v string) predicate.PaymentTx
- func AmountLTE(v string) predicate.PaymentTx
- func AmountNEQ(v string) predicate.PaymentTx
- func AmountNotIn(vs ...string) predicate.PaymentTx
- func And(predicates ...predicate.PaymentTx) predicate.PaymentTx
- func ChainID(v int64) predicate.PaymentTx
- func ChainIDEQ(v int64) predicate.PaymentTx
- func ChainIDGT(v int64) predicate.PaymentTx
- func ChainIDGTE(v int64) predicate.PaymentTx
- func ChainIDIn(vs ...int64) predicate.PaymentTx
- func ChainIDLT(v int64) predicate.PaymentTx
- func ChainIDLTE(v int64) predicate.PaymentTx
- func ChainIDNEQ(v int64) predicate.PaymentTx
- func ChainIDNotIn(vs ...int64) predicate.PaymentTx
- func CreatedAt(v time.Time) predicate.PaymentTx
- func CreatedAtEQ(v time.Time) predicate.PaymentTx
- func CreatedAtGT(v time.Time) predicate.PaymentTx
- func CreatedAtGTE(v time.Time) predicate.PaymentTx
- func CreatedAtIn(vs ...time.Time) predicate.PaymentTx
- func CreatedAtLT(v time.Time) predicate.PaymentTx
- func CreatedAtLTE(v time.Time) predicate.PaymentTx
- func CreatedAtNEQ(v time.Time) predicate.PaymentTx
- func CreatedAtNotIn(vs ...time.Time) predicate.PaymentTx
- func ErrorMessage(v string) predicate.PaymentTx
- func ErrorMessageContains(v string) predicate.PaymentTx
- func ErrorMessageContainsFold(v string) predicate.PaymentTx
- func ErrorMessageEQ(v string) predicate.PaymentTx
- func ErrorMessageEqualFold(v string) predicate.PaymentTx
- func ErrorMessageGT(v string) predicate.PaymentTx
- func ErrorMessageGTE(v string) predicate.PaymentTx
- func ErrorMessageHasPrefix(v string) predicate.PaymentTx
- func ErrorMessageHasSuffix(v string) predicate.PaymentTx
- func ErrorMessageIn(vs ...string) predicate.PaymentTx
- func ErrorMessageIsNil() predicate.PaymentTx
- func ErrorMessageLT(v string) predicate.PaymentTx
- func ErrorMessageLTE(v string) predicate.PaymentTx
- func ErrorMessageNEQ(v string) predicate.PaymentTx
- func ErrorMessageNotIn(vs ...string) predicate.PaymentTx
- func ErrorMessageNotNil() predicate.PaymentTx
- func FromAddress(v string) predicate.PaymentTx
- func FromAddressContains(v string) predicate.PaymentTx
- func FromAddressContainsFold(v string) predicate.PaymentTx
- func FromAddressEQ(v string) predicate.PaymentTx
- func FromAddressEqualFold(v string) predicate.PaymentTx
- func FromAddressGT(v string) predicate.PaymentTx
- func FromAddressGTE(v string) predicate.PaymentTx
- func FromAddressHasPrefix(v string) predicate.PaymentTx
- func FromAddressHasSuffix(v string) predicate.PaymentTx
- func FromAddressIn(vs ...string) predicate.PaymentTx
- func FromAddressLT(v string) predicate.PaymentTx
- func FromAddressLTE(v string) predicate.PaymentTx
- func FromAddressNEQ(v string) predicate.PaymentTx
- func FromAddressNotIn(vs ...string) predicate.PaymentTx
- func ID(id uuid.UUID) predicate.PaymentTx
- func IDEQ(id uuid.UUID) predicate.PaymentTx
- func IDGT(id uuid.UUID) predicate.PaymentTx
- func IDGTE(id uuid.UUID) predicate.PaymentTx
- func IDIn(ids ...uuid.UUID) predicate.PaymentTx
- func IDLT(id uuid.UUID) predicate.PaymentTx
- func IDLTE(id uuid.UUID) predicate.PaymentTx
- func IDNEQ(id uuid.UUID) predicate.PaymentTx
- func IDNotIn(ids ...uuid.UUID) predicate.PaymentTx
- func Not(p predicate.PaymentTx) predicate.PaymentTx
- func Or(predicates ...predicate.PaymentTx) predicate.PaymentTx
- func PaymentMethodEQ(v PaymentMethod) predicate.PaymentTx
- func PaymentMethodIn(vs ...PaymentMethod) predicate.PaymentTx
- func PaymentMethodNEQ(v PaymentMethod) predicate.PaymentTx
- func PaymentMethodNotIn(vs ...PaymentMethod) predicate.PaymentTx
- func PaymentMethodValidator(pm PaymentMethod) error
- func Purpose(v string) predicate.PaymentTx
- func PurposeContains(v string) predicate.PaymentTx
- func PurposeContainsFold(v string) predicate.PaymentTx
- func PurposeEQ(v string) predicate.PaymentTx
- func PurposeEqualFold(v string) predicate.PaymentTx
- func PurposeGT(v string) predicate.PaymentTx
- func PurposeGTE(v string) predicate.PaymentTx
- func PurposeHasPrefix(v string) predicate.PaymentTx
- func PurposeHasSuffix(v string) predicate.PaymentTx
- func PurposeIn(vs ...string) predicate.PaymentTx
- func PurposeIsNil() predicate.PaymentTx
- func PurposeLT(v string) predicate.PaymentTx
- func PurposeLTE(v string) predicate.PaymentTx
- func PurposeNEQ(v string) predicate.PaymentTx
- func PurposeNotIn(vs ...string) predicate.PaymentTx
- func PurposeNotNil() predicate.PaymentTx
- func SessionKey(v string) predicate.PaymentTx
- func SessionKeyContains(v string) predicate.PaymentTx
- func SessionKeyContainsFold(v string) predicate.PaymentTx
- func SessionKeyEQ(v string) predicate.PaymentTx
- func SessionKeyEqualFold(v string) predicate.PaymentTx
- func SessionKeyGT(v string) predicate.PaymentTx
- func SessionKeyGTE(v string) predicate.PaymentTx
- func SessionKeyHasPrefix(v string) predicate.PaymentTx
- func SessionKeyHasSuffix(v string) predicate.PaymentTx
- func SessionKeyIn(vs ...string) predicate.PaymentTx
- func SessionKeyIsNil() predicate.PaymentTx
- func SessionKeyLT(v string) predicate.PaymentTx
- func SessionKeyLTE(v string) predicate.PaymentTx
- func SessionKeyNEQ(v string) predicate.PaymentTx
- func SessionKeyNotIn(vs ...string) predicate.PaymentTx
- func SessionKeyNotNil() predicate.PaymentTx
- func StatusEQ(v Status) predicate.PaymentTx
- func StatusIn(vs ...Status) predicate.PaymentTx
- func StatusNEQ(v Status) predicate.PaymentTx
- func StatusNotIn(vs ...Status) predicate.PaymentTx
- func StatusValidator(s Status) error
- func ToAddress(v string) predicate.PaymentTx
- func ToAddressContains(v string) predicate.PaymentTx
- func ToAddressContainsFold(v string) predicate.PaymentTx
- func ToAddressEQ(v string) predicate.PaymentTx
- func ToAddressEqualFold(v string) predicate.PaymentTx
- func ToAddressGT(v string) predicate.PaymentTx
- func ToAddressGTE(v string) predicate.PaymentTx
- func ToAddressHasPrefix(v string) predicate.PaymentTx
- func ToAddressHasSuffix(v string) predicate.PaymentTx
- func ToAddressIn(vs ...string) predicate.PaymentTx
- func ToAddressLT(v string) predicate.PaymentTx
- func ToAddressLTE(v string) predicate.PaymentTx
- func ToAddressNEQ(v string) predicate.PaymentTx
- func ToAddressNotIn(vs ...string) predicate.PaymentTx
- func TxHash(v string) predicate.PaymentTx
- func TxHashContains(v string) predicate.PaymentTx
- func TxHashContainsFold(v string) predicate.PaymentTx
- func TxHashEQ(v string) predicate.PaymentTx
- func TxHashEqualFold(v string) predicate.PaymentTx
- func TxHashGT(v string) predicate.PaymentTx
- func TxHashGTE(v string) predicate.PaymentTx
- func TxHashHasPrefix(v string) predicate.PaymentTx
- func TxHashHasSuffix(v string) predicate.PaymentTx
- func TxHashIn(vs ...string) predicate.PaymentTx
- func TxHashIsNil() predicate.PaymentTx
- func TxHashLT(v string) predicate.PaymentTx
- func TxHashLTE(v string) predicate.PaymentTx
- func TxHashNEQ(v string) predicate.PaymentTx
- func TxHashNotIn(vs ...string) predicate.PaymentTx
- func TxHashNotNil() predicate.PaymentTx
- func UpdatedAt(v time.Time) predicate.PaymentTx
- func UpdatedAtEQ(v time.Time) predicate.PaymentTx
- func UpdatedAtGT(v time.Time) predicate.PaymentTx
- func UpdatedAtGTE(v time.Time) predicate.PaymentTx
- func UpdatedAtIn(vs ...time.Time) predicate.PaymentTx
- func UpdatedAtLT(v time.Time) predicate.PaymentTx
- func UpdatedAtLTE(v time.Time) predicate.PaymentTx
- func UpdatedAtNEQ(v time.Time) predicate.PaymentTx
- func UpdatedAtNotIn(vs ...time.Time) predicate.PaymentTx
- func ValidColumn(column string) bool
- func X402URL(v string) predicate.PaymentTx
- func X402URLContains(v string) predicate.PaymentTx
- func X402URLContainsFold(v string) predicate.PaymentTx
- func X402URLEQ(v string) predicate.PaymentTx
- func X402URLEqualFold(v string) predicate.PaymentTx
- func X402URLGT(v string) predicate.PaymentTx
- func X402URLGTE(v string) predicate.PaymentTx
- func X402URLHasPrefix(v string) predicate.PaymentTx
- func X402URLHasSuffix(v string) predicate.PaymentTx
- func X402URLIn(vs ...string) predicate.PaymentTx
- func X402URLIsNil() predicate.PaymentTx
- func X402URLLT(v string) predicate.PaymentTx
- func X402URLLTE(v string) predicate.PaymentTx
- func X402URLNEQ(v string) predicate.PaymentTx
- func X402URLNotIn(vs ...string) predicate.PaymentTx
- func X402URLNotNil() predicate.PaymentTx
- type OrderOption
- func ByAmount(opts ...sql.OrderTermOption) OrderOption
- func ByChainID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByErrorMessage(opts ...sql.OrderTermOption) OrderOption
- func ByFromAddress(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByPaymentMethod(opts ...sql.OrderTermOption) OrderOption
- func ByPurpose(opts ...sql.OrderTermOption) OrderOption
- func BySessionKey(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByToAddress(opts ...sql.OrderTermOption) OrderOption
- func ByTxHash(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByX402URL(opts ...sql.OrderTermOption) OrderOption
- type PaymentMethod
- type Status
Constants ¶
const ( // Label holds the string label denoting the paymenttx type in the database. Label = "payment_tx" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldTxHash holds the string denoting the tx_hash field in the database. FieldTxHash = "tx_hash" // FieldFromAddress holds the string denoting the from_address field in the database. FieldFromAddress = "from_address" // FieldToAddress holds the string denoting the to_address field in the database. FieldToAddress = "to_address" // FieldAmount holds the string denoting the amount field in the database. FieldAmount = "amount" // FieldChainID holds the string denoting the chain_id field in the database. FieldChainID = "chain_id" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldSessionKey holds the string denoting the session_key field in the database. FieldSessionKey = "session_key" // FieldPurpose holds the string denoting the purpose field in the database. FieldPurpose = "purpose" // FieldX402URL holds the string denoting the x402_url field in the database. FieldX402URL = "x402_url" // FieldPaymentMethod holds the string denoting the payment_method field in the database. FieldPaymentMethod = "payment_method" // FieldErrorMessage holds the string denoting the error_message field in the database. FieldErrorMessage = "error_message" // 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" // Table holds the table name of the paymenttx in the database. Table = "payment_txes" )
const DefaultPaymentMethod = PaymentMethodDirectTransfer
PaymentMethodDirectTransfer is the default value of the PaymentMethod enum.
const DefaultStatus = StatusPending
StatusPending is the default value of the Status enum.
Variables ¶
var ( // FromAddressValidator is a validator for the "from_address" field. It is called by the builders before save. FromAddressValidator func(string) error // ToAddressValidator is a validator for the "to_address" field. It is called by the builders before save. ToAddressValidator func(string) error // AmountValidator is a validator for the "amount" field. It is called by the builders before save. AmountValidator func(string) error // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldTxHash, FieldFromAddress, FieldToAddress, FieldAmount, FieldChainID, FieldStatus, FieldSessionKey, FieldPurpose, FieldX402URL, FieldPaymentMethod, FieldErrorMessage, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for paymenttx fields.
Functions ¶
func Amount ¶
Amount applies equality check predicate on the "amount" field. It's identical to AmountEQ.
func AmountContains ¶
AmountContains applies the Contains predicate on the "amount" field.
func AmountContainsFold ¶
AmountContainsFold applies the ContainsFold predicate on the "amount" field.
func AmountEqualFold ¶
AmountEqualFold applies the EqualFold predicate on the "amount" field.
func AmountHasPrefix ¶
AmountHasPrefix applies the HasPrefix predicate on the "amount" field.
func AmountHasSuffix ¶
AmountHasSuffix applies the HasSuffix predicate on the "amount" field.
func AmountNotIn ¶
AmountNotIn applies the NotIn predicate on the "amount" field.
func ChainID ¶
ChainID applies equality check predicate on the "chain_id" field. It's identical to ChainIDEQ.
func ChainIDGTE ¶
ChainIDGTE applies the GTE predicate on the "chain_id" field.
func ChainIDLTE ¶
ChainIDLTE applies the LTE predicate on the "chain_id" field.
func ChainIDNEQ ¶
ChainIDNEQ applies the NEQ predicate on the "chain_id" field.
func ChainIDNotIn ¶
ChainIDNotIn applies the NotIn predicate on the "chain_id" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func ErrorMessage ¶
ErrorMessage applies equality check predicate on the "error_message" field. It's identical to ErrorMessageEQ.
func ErrorMessageContains ¶
ErrorMessageContains applies the Contains predicate on the "error_message" field.
func ErrorMessageContainsFold ¶
ErrorMessageContainsFold applies the ContainsFold predicate on the "error_message" field.
func ErrorMessageEQ ¶
ErrorMessageEQ applies the EQ predicate on the "error_message" field.
func ErrorMessageEqualFold ¶
ErrorMessageEqualFold applies the EqualFold predicate on the "error_message" field.
func ErrorMessageGT ¶
ErrorMessageGT applies the GT predicate on the "error_message" field.
func ErrorMessageGTE ¶
ErrorMessageGTE applies the GTE predicate on the "error_message" field.
func ErrorMessageHasPrefix ¶
ErrorMessageHasPrefix applies the HasPrefix predicate on the "error_message" field.
func ErrorMessageHasSuffix ¶
ErrorMessageHasSuffix applies the HasSuffix predicate on the "error_message" field.
func ErrorMessageIn ¶
ErrorMessageIn applies the In predicate on the "error_message" field.
func ErrorMessageIsNil ¶
ErrorMessageIsNil applies the IsNil predicate on the "error_message" field.
func ErrorMessageLT ¶
ErrorMessageLT applies the LT predicate on the "error_message" field.
func ErrorMessageLTE ¶
ErrorMessageLTE applies the LTE predicate on the "error_message" field.
func ErrorMessageNEQ ¶
ErrorMessageNEQ applies the NEQ predicate on the "error_message" field.
func ErrorMessageNotIn ¶
ErrorMessageNotIn applies the NotIn predicate on the "error_message" field.
func ErrorMessageNotNil ¶
ErrorMessageNotNil applies the NotNil predicate on the "error_message" field.
func FromAddress ¶
FromAddress applies equality check predicate on the "from_address" field. It's identical to FromAddressEQ.
func FromAddressContains ¶
FromAddressContains applies the Contains predicate on the "from_address" field.
func FromAddressContainsFold ¶
FromAddressContainsFold applies the ContainsFold predicate on the "from_address" field.
func FromAddressEQ ¶
FromAddressEQ applies the EQ predicate on the "from_address" field.
func FromAddressEqualFold ¶
FromAddressEqualFold applies the EqualFold predicate on the "from_address" field.
func FromAddressGT ¶
FromAddressGT applies the GT predicate on the "from_address" field.
func FromAddressGTE ¶
FromAddressGTE applies the GTE predicate on the "from_address" field.
func FromAddressHasPrefix ¶
FromAddressHasPrefix applies the HasPrefix predicate on the "from_address" field.
func FromAddressHasSuffix ¶
FromAddressHasSuffix applies the HasSuffix predicate on the "from_address" field.
func FromAddressIn ¶
FromAddressIn applies the In predicate on the "from_address" field.
func FromAddressLT ¶
FromAddressLT applies the LT predicate on the "from_address" field.
func FromAddressLTE ¶
FromAddressLTE applies the LTE predicate on the "from_address" field.
func FromAddressNEQ ¶
FromAddressNEQ applies the NEQ predicate on the "from_address" field.
func FromAddressNotIn ¶
FromAddressNotIn applies the NotIn predicate on the "from_address" field.
func PaymentMethodEQ ¶
func PaymentMethodEQ(v PaymentMethod) predicate.PaymentTx
PaymentMethodEQ applies the EQ predicate on the "payment_method" field.
func PaymentMethodIn ¶
func PaymentMethodIn(vs ...PaymentMethod) predicate.PaymentTx
PaymentMethodIn applies the In predicate on the "payment_method" field.
func PaymentMethodNEQ ¶
func PaymentMethodNEQ(v PaymentMethod) predicate.PaymentTx
PaymentMethodNEQ applies the NEQ predicate on the "payment_method" field.
func PaymentMethodNotIn ¶
func PaymentMethodNotIn(vs ...PaymentMethod) predicate.PaymentTx
PaymentMethodNotIn applies the NotIn predicate on the "payment_method" field.
func PaymentMethodValidator ¶
func PaymentMethodValidator(pm PaymentMethod) error
PaymentMethodValidator is a validator for the "payment_method" field enum values. It is called by the builders before save.
func Purpose ¶
Purpose applies equality check predicate on the "purpose" field. It's identical to PurposeEQ.
func PurposeContains ¶
PurposeContains applies the Contains predicate on the "purpose" field.
func PurposeContainsFold ¶
PurposeContainsFold applies the ContainsFold predicate on the "purpose" field.
func PurposeEqualFold ¶
PurposeEqualFold applies the EqualFold predicate on the "purpose" field.
func PurposeGTE ¶
PurposeGTE applies the GTE predicate on the "purpose" field.
func PurposeHasPrefix ¶
PurposeHasPrefix applies the HasPrefix predicate on the "purpose" field.
func PurposeHasSuffix ¶
PurposeHasSuffix applies the HasSuffix predicate on the "purpose" field.
func PurposeIsNil ¶
PurposeIsNil applies the IsNil predicate on the "purpose" field.
func PurposeLTE ¶
PurposeLTE applies the LTE predicate on the "purpose" field.
func PurposeNEQ ¶
PurposeNEQ applies the NEQ predicate on the "purpose" field.
func PurposeNotIn ¶
PurposeNotIn applies the NotIn predicate on the "purpose" field.
func PurposeNotNil ¶
PurposeNotNil applies the NotNil predicate on the "purpose" field.
func SessionKey ¶
SessionKey applies equality check predicate on the "session_key" field. It's identical to SessionKeyEQ.
func SessionKeyContains ¶
SessionKeyContains applies the Contains predicate on the "session_key" field.
func SessionKeyContainsFold ¶
SessionKeyContainsFold applies the ContainsFold predicate on the "session_key" field.
func SessionKeyEQ ¶
SessionKeyEQ applies the EQ predicate on the "session_key" field.
func SessionKeyEqualFold ¶
SessionKeyEqualFold applies the EqualFold predicate on the "session_key" field.
func SessionKeyGT ¶
SessionKeyGT applies the GT predicate on the "session_key" field.
func SessionKeyGTE ¶
SessionKeyGTE applies the GTE predicate on the "session_key" field.
func SessionKeyHasPrefix ¶
SessionKeyHasPrefix applies the HasPrefix predicate on the "session_key" field.
func SessionKeyHasSuffix ¶
SessionKeyHasSuffix applies the HasSuffix predicate on the "session_key" field.
func SessionKeyIn ¶
SessionKeyIn applies the In predicate on the "session_key" field.
func SessionKeyIsNil ¶
SessionKeyIsNil applies the IsNil predicate on the "session_key" field.
func SessionKeyLT ¶
SessionKeyLT applies the LT predicate on the "session_key" field.
func SessionKeyLTE ¶
SessionKeyLTE applies the LTE predicate on the "session_key" field.
func SessionKeyNEQ ¶
SessionKeyNEQ applies the NEQ predicate on the "session_key" field.
func SessionKeyNotIn ¶
SessionKeyNotIn applies the NotIn predicate on the "session_key" field.
func SessionKeyNotNil ¶
SessionKeyNotNil applies the NotNil predicate on the "session_key" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func ToAddress ¶
ToAddress applies equality check predicate on the "to_address" field. It's identical to ToAddressEQ.
func ToAddressContains ¶
ToAddressContains applies the Contains predicate on the "to_address" field.
func ToAddressContainsFold ¶
ToAddressContainsFold applies the ContainsFold predicate on the "to_address" field.
func ToAddressEQ ¶
ToAddressEQ applies the EQ predicate on the "to_address" field.
func ToAddressEqualFold ¶
ToAddressEqualFold applies the EqualFold predicate on the "to_address" field.
func ToAddressGT ¶
ToAddressGT applies the GT predicate on the "to_address" field.
func ToAddressGTE ¶
ToAddressGTE applies the GTE predicate on the "to_address" field.
func ToAddressHasPrefix ¶
ToAddressHasPrefix applies the HasPrefix predicate on the "to_address" field.
func ToAddressHasSuffix ¶
ToAddressHasSuffix applies the HasSuffix predicate on the "to_address" field.
func ToAddressIn ¶
ToAddressIn applies the In predicate on the "to_address" field.
func ToAddressLT ¶
ToAddressLT applies the LT predicate on the "to_address" field.
func ToAddressLTE ¶
ToAddressLTE applies the LTE predicate on the "to_address" field.
func ToAddressNEQ ¶
ToAddressNEQ applies the NEQ predicate on the "to_address" field.
func ToAddressNotIn ¶
ToAddressNotIn applies the NotIn predicate on the "to_address" field.
func TxHash ¶
TxHash applies equality check predicate on the "tx_hash" field. It's identical to TxHashEQ.
func TxHashContains ¶
TxHashContains applies the Contains predicate on the "tx_hash" field.
func TxHashContainsFold ¶
TxHashContainsFold applies the ContainsFold predicate on the "tx_hash" field.
func TxHashEqualFold ¶
TxHashEqualFold applies the EqualFold predicate on the "tx_hash" field.
func TxHashHasPrefix ¶
TxHashHasPrefix applies the HasPrefix predicate on the "tx_hash" field.
func TxHashHasSuffix ¶
TxHashHasSuffix applies the HasSuffix predicate on the "tx_hash" field.
func TxHashIsNil ¶
TxHashIsNil applies the IsNil predicate on the "tx_hash" field.
func TxHashNotIn ¶
TxHashNotIn applies the NotIn predicate on the "tx_hash" field.
func TxHashNotNil ¶
TxHashNotNil applies the NotNil predicate on the "tx_hash" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func X402URL ¶
X402URL applies equality check predicate on the "x402_url" field. It's identical to X402URLEQ.
func X402URLContains ¶
X402URLContains applies the Contains predicate on the "x402_url" field.
func X402URLContainsFold ¶
X402URLContainsFold applies the ContainsFold predicate on the "x402_url" field.
func X402URLEqualFold ¶
X402URLEqualFold applies the EqualFold predicate on the "x402_url" field.
func X402URLGTE ¶
X402URLGTE applies the GTE predicate on the "x402_url" field.
func X402URLHasPrefix ¶
X402URLHasPrefix applies the HasPrefix predicate on the "x402_url" field.
func X402URLHasSuffix ¶
X402URLHasSuffix applies the HasSuffix predicate on the "x402_url" field.
func X402URLIsNil ¶
X402URLIsNil applies the IsNil predicate on the "x402_url" field.
func X402URLLTE ¶
X402URLLTE applies the LTE predicate on the "x402_url" field.
func X402URLNEQ ¶
X402URLNEQ applies the NEQ predicate on the "x402_url" field.
func X402URLNotIn ¶
X402URLNotIn applies the NotIn predicate on the "x402_url" field.
func X402URLNotNil ¶
X402URLNotNil applies the NotNil predicate on the "x402_url" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the PaymentTx queries.
func ByAmount ¶
func ByAmount(opts ...sql.OrderTermOption) OrderOption
ByAmount orders the results by the amount field.
func ByChainID ¶
func ByChainID(opts ...sql.OrderTermOption) OrderOption
ByChainID orders the results by the chain_id field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByErrorMessage ¶
func ByErrorMessage(opts ...sql.OrderTermOption) OrderOption
ByErrorMessage orders the results by the error_message field.
func ByFromAddress ¶
func ByFromAddress(opts ...sql.OrderTermOption) OrderOption
ByFromAddress orders the results by the from_address field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByPaymentMethod ¶
func ByPaymentMethod(opts ...sql.OrderTermOption) OrderOption
ByPaymentMethod orders the results by the payment_method field.
func ByPurpose ¶
func ByPurpose(opts ...sql.OrderTermOption) OrderOption
ByPurpose orders the results by the purpose field.
func BySessionKey ¶
func BySessionKey(opts ...sql.OrderTermOption) OrderOption
BySessionKey orders the results by the session_key field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByToAddress ¶
func ByToAddress(opts ...sql.OrderTermOption) OrderOption
ByToAddress orders the results by the to_address field.
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.
func ByX402URL ¶
func ByX402URL(opts ...sql.OrderTermOption) OrderOption
ByX402URL orders the results by the x402_url field.
type PaymentMethod ¶
type PaymentMethod string
PaymentMethod defines the type for the "payment_method" enum field.
const ( PaymentMethodDirectTransfer PaymentMethod = "direct_transfer" PaymentMethodX402V2 PaymentMethod = "x402_v2" PaymentMethodP2pSettlement PaymentMethod = "p2p_settlement" )
PaymentMethod values.
func (PaymentMethod) String ¶
func (pm PaymentMethod) String() string