Documentation
¶
Index ¶
- Constants
- Variables
- func Amount(v decimal.Decimal) predicate.PaymentOrder
- func AmountEQ(v decimal.Decimal) predicate.PaymentOrder
- func AmountGT(v decimal.Decimal) predicate.PaymentOrder
- func AmountGTE(v decimal.Decimal) predicate.PaymentOrder
- func AmountIn(vs ...decimal.Decimal) predicate.PaymentOrder
- func AmountLT(v decimal.Decimal) predicate.PaymentOrder
- func AmountLTE(v decimal.Decimal) predicate.PaymentOrder
- func AmountNEQ(v decimal.Decimal) predicate.PaymentOrder
- func AmountNotIn(vs ...decimal.Decimal) predicate.PaymentOrder
- func AmountPaid(v decimal.Decimal) predicate.PaymentOrder
- func AmountPaidEQ(v decimal.Decimal) predicate.PaymentOrder
- func AmountPaidGT(v decimal.Decimal) predicate.PaymentOrder
- func AmountPaidGTE(v decimal.Decimal) predicate.PaymentOrder
- func AmountPaidIn(vs ...decimal.Decimal) predicate.PaymentOrder
- func AmountPaidLT(v decimal.Decimal) predicate.PaymentOrder
- func AmountPaidLTE(v decimal.Decimal) predicate.PaymentOrder
- func AmountPaidNEQ(v decimal.Decimal) predicate.PaymentOrder
- func AmountPaidNotIn(vs ...decimal.Decimal) predicate.PaymentOrder
- func AmountReturned(v decimal.Decimal) predicate.PaymentOrder
- func AmountReturnedEQ(v decimal.Decimal) predicate.PaymentOrder
- func AmountReturnedGT(v decimal.Decimal) predicate.PaymentOrder
- func AmountReturnedGTE(v decimal.Decimal) predicate.PaymentOrder
- func AmountReturnedIn(vs ...decimal.Decimal) predicate.PaymentOrder
- func AmountReturnedLT(v decimal.Decimal) predicate.PaymentOrder
- func AmountReturnedLTE(v decimal.Decimal) predicate.PaymentOrder
- func AmountReturnedNEQ(v decimal.Decimal) predicate.PaymentOrder
- func AmountReturnedNotIn(vs ...decimal.Decimal) predicate.PaymentOrder
- func And(predicates ...predicate.PaymentOrder) predicate.PaymentOrder
- func BlockNumber(v int64) predicate.PaymentOrder
- func BlockNumberEQ(v int64) predicate.PaymentOrder
- func BlockNumberGT(v int64) predicate.PaymentOrder
- func BlockNumberGTE(v int64) predicate.PaymentOrder
- func BlockNumberIn(vs ...int64) predicate.PaymentOrder
- func BlockNumberLT(v int64) predicate.PaymentOrder
- func BlockNumberLTE(v int64) predicate.PaymentOrder
- func BlockNumberNEQ(v int64) predicate.PaymentOrder
- func BlockNumberNotIn(vs ...int64) predicate.PaymentOrder
- func CreatedAt(v time.Time) predicate.PaymentOrder
- func CreatedAtEQ(v time.Time) predicate.PaymentOrder
- func CreatedAtGT(v time.Time) predicate.PaymentOrder
- func CreatedAtGTE(v time.Time) predicate.PaymentOrder
- func CreatedAtIn(vs ...time.Time) predicate.PaymentOrder
- func CreatedAtLT(v time.Time) predicate.PaymentOrder
- func CreatedAtLTE(v time.Time) predicate.PaymentOrder
- func CreatedAtNEQ(v time.Time) predicate.PaymentOrder
- func CreatedAtNotIn(vs ...time.Time) predicate.PaymentOrder
- func FeeAddress(v string) predicate.PaymentOrder
- func FeeAddressContains(v string) predicate.PaymentOrder
- func FeeAddressContainsFold(v string) predicate.PaymentOrder
- func FeeAddressEQ(v string) predicate.PaymentOrder
- func FeeAddressEqualFold(v string) predicate.PaymentOrder
- func FeeAddressGT(v string) predicate.PaymentOrder
- func FeeAddressGTE(v string) predicate.PaymentOrder
- func FeeAddressHasPrefix(v string) predicate.PaymentOrder
- func FeeAddressHasSuffix(v string) predicate.PaymentOrder
- func FeeAddressIn(vs ...string) predicate.PaymentOrder
- func FeeAddressIsNil() predicate.PaymentOrder
- func FeeAddressLT(v string) predicate.PaymentOrder
- func FeeAddressLTE(v string) predicate.PaymentOrder
- func FeeAddressNEQ(v string) predicate.PaymentOrder
- func FeeAddressNotIn(vs ...string) predicate.PaymentOrder
- func FeeAddressNotNil() predicate.PaymentOrder
- func FeePercent(v decimal.Decimal) predicate.PaymentOrder
- func FeePercentEQ(v decimal.Decimal) predicate.PaymentOrder
- func FeePercentGT(v decimal.Decimal) predicate.PaymentOrder
- func FeePercentGTE(v decimal.Decimal) predicate.PaymentOrder
- func FeePercentIn(vs ...decimal.Decimal) predicate.PaymentOrder
- func FeePercentLT(v decimal.Decimal) predicate.PaymentOrder
- func FeePercentLTE(v decimal.Decimal) predicate.PaymentOrder
- func FeePercentNEQ(v decimal.Decimal) predicate.PaymentOrder
- func FeePercentNotIn(vs ...decimal.Decimal) predicate.PaymentOrder
- func FromAddress(v string) predicate.PaymentOrder
- func FromAddressContains(v string) predicate.PaymentOrder
- func FromAddressContainsFold(v string) predicate.PaymentOrder
- func FromAddressEQ(v string) predicate.PaymentOrder
- func FromAddressEqualFold(v string) predicate.PaymentOrder
- func FromAddressGT(v string) predicate.PaymentOrder
- func FromAddressGTE(v string) predicate.PaymentOrder
- func FromAddressHasPrefix(v string) predicate.PaymentOrder
- func FromAddressHasSuffix(v string) predicate.PaymentOrder
- func FromAddressIn(vs ...string) predicate.PaymentOrder
- func FromAddressIsNil() predicate.PaymentOrder
- func FromAddressLT(v string) predicate.PaymentOrder
- func FromAddressLTE(v string) predicate.PaymentOrder
- func FromAddressNEQ(v string) predicate.PaymentOrder
- func FromAddressNotIn(vs ...string) predicate.PaymentOrder
- func FromAddressNotNil() predicate.PaymentOrder
- func GatewayID(v string) predicate.PaymentOrder
- func GatewayIDContains(v string) predicate.PaymentOrder
- func GatewayIDContainsFold(v string) predicate.PaymentOrder
- func GatewayIDEQ(v string) predicate.PaymentOrder
- func GatewayIDEqualFold(v string) predicate.PaymentOrder
- func GatewayIDGT(v string) predicate.PaymentOrder
- func GatewayIDGTE(v string) predicate.PaymentOrder
- func GatewayIDHasPrefix(v string) predicate.PaymentOrder
- func GatewayIDHasSuffix(v string) predicate.PaymentOrder
- func GatewayIDIn(vs ...string) predicate.PaymentOrder
- func GatewayIDIsNil() predicate.PaymentOrder
- func GatewayIDLT(v string) predicate.PaymentOrder
- func GatewayIDLTE(v string) predicate.PaymentOrder
- func GatewayIDNEQ(v string) predicate.PaymentOrder
- func GatewayIDNotIn(vs ...string) predicate.PaymentOrder
- func GatewayIDNotNil() predicate.PaymentOrder
- func HasLinkedAddress() predicate.PaymentOrder
- func HasLinkedAddressWith(preds ...predicate.LinkedAddress) predicate.PaymentOrder
- func HasPaymentWebhook() predicate.PaymentOrder
- func HasPaymentWebhookWith(preds ...predicate.PaymentWebhook) predicate.PaymentOrder
- func HasReceiveAddress() predicate.PaymentOrder
- func HasReceiveAddressWith(preds ...predicate.ReceiveAddress) predicate.PaymentOrder
- func HasRecipient() predicate.PaymentOrder
- func HasRecipientWith(preds ...predicate.PaymentOrderRecipient) predicate.PaymentOrder
- func HasSenderProfile() predicate.PaymentOrder
- func HasSenderProfileWith(preds ...predicate.SenderProfile) predicate.PaymentOrder
- func HasToken() predicate.PaymentOrder
- func HasTokenWith(preds ...predicate.Token) predicate.PaymentOrder
- func HasTransactions() predicate.PaymentOrder
- func HasTransactionsWith(preds ...predicate.TransactionLog) predicate.PaymentOrder
- func ID(id uuid.UUID) predicate.PaymentOrder
- func IDEQ(id uuid.UUID) predicate.PaymentOrder
- func IDGT(id uuid.UUID) predicate.PaymentOrder
- func IDGTE(id uuid.UUID) predicate.PaymentOrder
- func IDIn(ids ...uuid.UUID) predicate.PaymentOrder
- func IDLT(id uuid.UUID) predicate.PaymentOrder
- func IDLTE(id uuid.UUID) predicate.PaymentOrder
- func IDNEQ(id uuid.UUID) predicate.PaymentOrder
- func IDNotIn(ids ...uuid.UUID) predicate.PaymentOrder
- func MessageHash(v string) predicate.PaymentOrder
- func MessageHashContains(v string) predicate.PaymentOrder
- func MessageHashContainsFold(v string) predicate.PaymentOrder
- func MessageHashEQ(v string) predicate.PaymentOrder
- func MessageHashEqualFold(v string) predicate.PaymentOrder
- func MessageHashGT(v string) predicate.PaymentOrder
- func MessageHashGTE(v string) predicate.PaymentOrder
- func MessageHashHasPrefix(v string) predicate.PaymentOrder
- func MessageHashHasSuffix(v string) predicate.PaymentOrder
- func MessageHashIn(vs ...string) predicate.PaymentOrder
- func MessageHashIsNil() predicate.PaymentOrder
- func MessageHashLT(v string) predicate.PaymentOrder
- func MessageHashLTE(v string) predicate.PaymentOrder
- func MessageHashNEQ(v string) predicate.PaymentOrder
- func MessageHashNotIn(vs ...string) predicate.PaymentOrder
- func MessageHashNotNil() predicate.PaymentOrder
- func NetworkFee(v decimal.Decimal) predicate.PaymentOrder
- func NetworkFeeEQ(v decimal.Decimal) predicate.PaymentOrder
- func NetworkFeeGT(v decimal.Decimal) predicate.PaymentOrder
- func NetworkFeeGTE(v decimal.Decimal) predicate.PaymentOrder
- func NetworkFeeIn(vs ...decimal.Decimal) predicate.PaymentOrder
- func NetworkFeeLT(v decimal.Decimal) predicate.PaymentOrder
- func NetworkFeeLTE(v decimal.Decimal) predicate.PaymentOrder
- func NetworkFeeNEQ(v decimal.Decimal) predicate.PaymentOrder
- func NetworkFeeNotIn(vs ...decimal.Decimal) predicate.PaymentOrder
- func Not(p predicate.PaymentOrder) predicate.PaymentOrder
- func Or(predicates ...predicate.PaymentOrder) predicate.PaymentOrder
- func PercentSettled(v decimal.Decimal) predicate.PaymentOrder
- func PercentSettledEQ(v decimal.Decimal) predicate.PaymentOrder
- func PercentSettledGT(v decimal.Decimal) predicate.PaymentOrder
- func PercentSettledGTE(v decimal.Decimal) predicate.PaymentOrder
- func PercentSettledIn(vs ...decimal.Decimal) predicate.PaymentOrder
- func PercentSettledLT(v decimal.Decimal) predicate.PaymentOrder
- func PercentSettledLTE(v decimal.Decimal) predicate.PaymentOrder
- func PercentSettledNEQ(v decimal.Decimal) predicate.PaymentOrder
- func PercentSettledNotIn(vs ...decimal.Decimal) predicate.PaymentOrder
- func Rate(v decimal.Decimal) predicate.PaymentOrder
- func RateEQ(v decimal.Decimal) predicate.PaymentOrder
- func RateGT(v decimal.Decimal) predicate.PaymentOrder
- func RateGTE(v decimal.Decimal) predicate.PaymentOrder
- func RateIn(vs ...decimal.Decimal) predicate.PaymentOrder
- func RateLT(v decimal.Decimal) predicate.PaymentOrder
- func RateLTE(v decimal.Decimal) predicate.PaymentOrder
- func RateNEQ(v decimal.Decimal) predicate.PaymentOrder
- func RateNotIn(vs ...decimal.Decimal) predicate.PaymentOrder
- func ReceiveAddressText(v string) predicate.PaymentOrder
- func ReceiveAddressTextContains(v string) predicate.PaymentOrder
- func ReceiveAddressTextContainsFold(v string) predicate.PaymentOrder
- func ReceiveAddressTextEQ(v string) predicate.PaymentOrder
- func ReceiveAddressTextEqualFold(v string) predicate.PaymentOrder
- func ReceiveAddressTextGT(v string) predicate.PaymentOrder
- func ReceiveAddressTextGTE(v string) predicate.PaymentOrder
- func ReceiveAddressTextHasPrefix(v string) predicate.PaymentOrder
- func ReceiveAddressTextHasSuffix(v string) predicate.PaymentOrder
- func ReceiveAddressTextIn(vs ...string) predicate.PaymentOrder
- func ReceiveAddressTextLT(v string) predicate.PaymentOrder
- func ReceiveAddressTextLTE(v string) predicate.PaymentOrder
- func ReceiveAddressTextNEQ(v string) predicate.PaymentOrder
- func ReceiveAddressTextNotIn(vs ...string) predicate.PaymentOrder
- func Reference(v string) predicate.PaymentOrder
- func ReferenceContains(v string) predicate.PaymentOrder
- func ReferenceContainsFold(v string) predicate.PaymentOrder
- func ReferenceEQ(v string) predicate.PaymentOrder
- func ReferenceEqualFold(v string) predicate.PaymentOrder
- func ReferenceGT(v string) predicate.PaymentOrder
- func ReferenceGTE(v string) predicate.PaymentOrder
- func ReferenceHasPrefix(v string) predicate.PaymentOrder
- func ReferenceHasSuffix(v string) predicate.PaymentOrder
- func ReferenceIn(vs ...string) predicate.PaymentOrder
- func ReferenceIsNil() predicate.PaymentOrder
- func ReferenceLT(v string) predicate.PaymentOrder
- func ReferenceLTE(v string) predicate.PaymentOrder
- func ReferenceNEQ(v string) predicate.PaymentOrder
- func ReferenceNotIn(vs ...string) predicate.PaymentOrder
- func ReferenceNotNil() predicate.PaymentOrder
- func ReturnAddress(v string) predicate.PaymentOrder
- func ReturnAddressContains(v string) predicate.PaymentOrder
- func ReturnAddressContainsFold(v string) predicate.PaymentOrder
- func ReturnAddressEQ(v string) predicate.PaymentOrder
- func ReturnAddressEqualFold(v string) predicate.PaymentOrder
- func ReturnAddressGT(v string) predicate.PaymentOrder
- func ReturnAddressGTE(v string) predicate.PaymentOrder
- func ReturnAddressHasPrefix(v string) predicate.PaymentOrder
- func ReturnAddressHasSuffix(v string) predicate.PaymentOrder
- func ReturnAddressIn(vs ...string) predicate.PaymentOrder
- func ReturnAddressIsNil() predicate.PaymentOrder
- func ReturnAddressLT(v string) predicate.PaymentOrder
- func ReturnAddressLTE(v string) predicate.PaymentOrder
- func ReturnAddressNEQ(v string) predicate.PaymentOrder
- func ReturnAddressNotIn(vs ...string) predicate.PaymentOrder
- func ReturnAddressNotNil() predicate.PaymentOrder
- func SenderFee(v decimal.Decimal) predicate.PaymentOrder
- func SenderFeeEQ(v decimal.Decimal) predicate.PaymentOrder
- func SenderFeeGT(v decimal.Decimal) predicate.PaymentOrder
- func SenderFeeGTE(v decimal.Decimal) predicate.PaymentOrder
- func SenderFeeIn(vs ...decimal.Decimal) predicate.PaymentOrder
- func SenderFeeLT(v decimal.Decimal) predicate.PaymentOrder
- func SenderFeeLTE(v decimal.Decimal) predicate.PaymentOrder
- func SenderFeeNEQ(v decimal.Decimal) predicate.PaymentOrder
- func SenderFeeNotIn(vs ...decimal.Decimal) predicate.PaymentOrder
- func StatusEQ(v Status) predicate.PaymentOrder
- func StatusIn(vs ...Status) predicate.PaymentOrder
- func StatusNEQ(v Status) predicate.PaymentOrder
- func StatusNotIn(vs ...Status) predicate.PaymentOrder
- func StatusValidator(s Status) error
- func TxHash(v string) predicate.PaymentOrder
- func TxHashContains(v string) predicate.PaymentOrder
- func TxHashContainsFold(v string) predicate.PaymentOrder
- func TxHashEQ(v string) predicate.PaymentOrder
- func TxHashEqualFold(v string) predicate.PaymentOrder
- func TxHashGT(v string) predicate.PaymentOrder
- func TxHashGTE(v string) predicate.PaymentOrder
- func TxHashHasPrefix(v string) predicate.PaymentOrder
- func TxHashHasSuffix(v string) predicate.PaymentOrder
- func TxHashIn(vs ...string) predicate.PaymentOrder
- func TxHashIsNil() predicate.PaymentOrder
- func TxHashLT(v string) predicate.PaymentOrder
- func TxHashLTE(v string) predicate.PaymentOrder
- func TxHashNEQ(v string) predicate.PaymentOrder
- func TxHashNotIn(vs ...string) predicate.PaymentOrder
- func TxHashNotNil() predicate.PaymentOrder
- func UpdatedAt(v time.Time) predicate.PaymentOrder
- func UpdatedAtEQ(v time.Time) predicate.PaymentOrder
- func UpdatedAtGT(v time.Time) predicate.PaymentOrder
- func UpdatedAtGTE(v time.Time) predicate.PaymentOrder
- func UpdatedAtIn(vs ...time.Time) predicate.PaymentOrder
- func UpdatedAtLT(v time.Time) predicate.PaymentOrder
- func UpdatedAtLTE(v time.Time) predicate.PaymentOrder
- func UpdatedAtNEQ(v time.Time) predicate.PaymentOrder
- func UpdatedAtNotIn(vs ...time.Time) predicate.PaymentOrder
- func ValidColumn(column string) bool
- type OrderOption
- func ByAmount(opts ...sql.OrderTermOption) OrderOption
- func ByAmountPaid(opts ...sql.OrderTermOption) OrderOption
- func ByAmountReturned(opts ...sql.OrderTermOption) OrderOption
- func ByBlockNumber(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByFeeAddress(opts ...sql.OrderTermOption) OrderOption
- func ByFeePercent(opts ...sql.OrderTermOption) OrderOption
- func ByFromAddress(opts ...sql.OrderTermOption) OrderOption
- func ByGatewayID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLinkedAddressField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByMessageHash(opts ...sql.OrderTermOption) OrderOption
- func ByNetworkFee(opts ...sql.OrderTermOption) OrderOption
- func ByPaymentWebhookField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByPercentSettled(opts ...sql.OrderTermOption) OrderOption
- func ByRate(opts ...sql.OrderTermOption) OrderOption
- func ByReceiveAddressField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByReceiveAddressText(opts ...sql.OrderTermOption) OrderOption
- func ByRecipientField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByReference(opts ...sql.OrderTermOption) OrderOption
- func ByReturnAddress(opts ...sql.OrderTermOption) OrderOption
- func BySenderFee(opts ...sql.OrderTermOption) OrderOption
- func BySenderProfileField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTokenField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByTransactions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTransactionsCount(opts ...sql.OrderTermOption) OrderOption
- func ByTxHash(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- type Status
Constants ¶
const ( // Label holds the string label denoting the paymentorder type in the database. Label = "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" // FieldAmount holds the string denoting the amount field in the database. FieldAmount = "amount" // FieldAmountPaid holds the string denoting the amount_paid field in the database. FieldAmountPaid = "amount_paid" // FieldAmountReturned holds the string denoting the amount_returned field in the database. FieldAmountReturned = "amount_returned" // FieldPercentSettled holds the string denoting the percent_settled field in the database. FieldPercentSettled = "percent_settled" // FieldSenderFee holds the string denoting the sender_fee field in the database. FieldSenderFee = "sender_fee" // FieldNetworkFee holds the string denoting the network_fee field in the database. FieldNetworkFee = "network_fee" // FieldRate holds the string denoting the rate field in the database. FieldRate = "rate" // FieldTxHash holds the string denoting the tx_hash field in the database. FieldTxHash = "tx_hash" // FieldBlockNumber holds the string denoting the block_number field in the database. FieldBlockNumber = "block_number" // FieldFromAddress holds the string denoting the from_address field in the database. FieldFromAddress = "from_address" // FieldReturnAddress holds the string denoting the return_address field in the database. FieldReturnAddress = "return_address" // FieldReceiveAddressText holds the string denoting the receive_address_text field in the database. FieldReceiveAddressText = "receive_address_text" // FieldFeePercent holds the string denoting the fee_percent field in the database. FieldFeePercent = "fee_percent" // FieldFeeAddress holds the string denoting the fee_address field in the database. FieldFeeAddress = "fee_address" // FieldGatewayID holds the string denoting the gateway_id field in the database. FieldGatewayID = "gateway_id" // FieldMessageHash holds the string denoting the message_hash field in the database. FieldMessageHash = "message_hash" // FieldReference holds the string denoting the reference field in the database. FieldReference = "reference" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // EdgeSenderProfile holds the string denoting the sender_profile edge name in mutations. EdgeSenderProfile = "sender_profile" // EdgeToken holds the string denoting the token edge name in mutations. EdgeToken = "token" // EdgeLinkedAddress holds the string denoting the linked_address edge name in mutations. EdgeLinkedAddress = "linked_address" // EdgeReceiveAddress holds the string denoting the receive_address edge name in mutations. EdgeReceiveAddress = "receive_address" // EdgeRecipient holds the string denoting the recipient edge name in mutations. EdgeRecipient = "recipient" // EdgeTransactions holds the string denoting the transactions edge name in mutations. EdgeTransactions = "transactions" // EdgePaymentWebhook holds the string denoting the payment_webhook edge name in mutations. EdgePaymentWebhook = "payment_webhook" // Table holds the table name of the paymentorder in the database. Table = "payment_orders" // SenderProfileTable is the table that holds the sender_profile relation/edge. SenderProfileTable = "payment_orders" // SenderProfileInverseTable is the table name for the SenderProfile entity. // It exists in this package in order to avoid circular dependency with the "senderprofile" package. SenderProfileInverseTable = "sender_profiles" // SenderProfileColumn is the table column denoting the sender_profile relation/edge. SenderProfileColumn = "sender_profile_payment_orders" // TokenTable is the table that holds the token relation/edge. TokenTable = "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_payment_orders" // LinkedAddressTable is the table that holds the linked_address relation/edge. LinkedAddressTable = "payment_orders" // LinkedAddressInverseTable is the table name for the LinkedAddress entity. // It exists in this package in order to avoid circular dependency with the "linkedaddress" package. LinkedAddressInverseTable = "linked_addresses" // LinkedAddressColumn is the table column denoting the linked_address relation/edge. LinkedAddressColumn = "linked_address_payment_orders" // ReceiveAddressTable is the table that holds the receive_address relation/edge. ReceiveAddressTable = "receive_addresses" // ReceiveAddressInverseTable is the table name for the ReceiveAddress entity. // It exists in this package in order to avoid circular dependency with the "receiveaddress" package. ReceiveAddressInverseTable = "receive_addresses" // ReceiveAddressColumn is the table column denoting the receive_address relation/edge. ReceiveAddressColumn = "payment_order_receive_address" // RecipientTable is the table that holds the recipient relation/edge. RecipientTable = "payment_order_recipients" // RecipientInverseTable is the table name for the PaymentOrderRecipient entity. // It exists in this package in order to avoid circular dependency with the "paymentorderrecipient" package. RecipientInverseTable = "payment_order_recipients" // RecipientColumn is the table column denoting the recipient relation/edge. RecipientColumn = "payment_order_recipient" // 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 = "payment_order_transactions" // PaymentWebhookTable is the table that holds the payment_webhook relation/edge. PaymentWebhookTable = "payment_webhooks" // PaymentWebhookInverseTable is the table name for the PaymentWebhook entity. // It exists in this package in order to avoid circular dependency with the "paymentwebhook" package. PaymentWebhookInverseTable = "payment_webhooks" // PaymentWebhookColumn is the table column denoting the payment_webhook relation/edge. PaymentWebhookColumn = "payment_order_payment_webhook" )
const DefaultStatus = StatusInitiated
StatusInitiated is the default value of the Status enum.
Variables ¶
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 // DefaultBlockNumber holds the default value on creation for the "block_number" field. DefaultBlockNumber int64 // FromAddressValidator is a validator for the "from_address" field. It is called by the builders before save. FromAddressValidator func(string) error // ReturnAddressValidator is a validator for the "return_address" field. It is called by the builders before save. ReturnAddressValidator func(string) error // ReceiveAddressTextValidator is a validator for the "receive_address_text" field. It is called by the builders before save. ReceiveAddressTextValidator func(string) error // FeeAddressValidator is a validator for the "fee_address" field. It is called by the builders before save. FeeAddressValidator func(string) error // GatewayIDValidator is a validator for the "gateway_id" field. It is called by the builders before save. GatewayIDValidator func(string) error // MessageHashValidator is a validator for the "message_hash" field. It is called by the builders before save. MessageHashValidator func(string) error // ReferenceValidator is a validator for the "reference" field. It is called by the builders before save. ReferenceValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldAmount, FieldAmountPaid, FieldAmountReturned, FieldPercentSettled, FieldSenderFee, FieldNetworkFee, FieldRate, FieldTxHash, FieldBlockNumber, FieldFromAddress, FieldReturnAddress, FieldReceiveAddressText, FieldFeePercent, FieldFeeAddress, FieldGatewayID, FieldMessageHash, FieldReference, FieldStatus, }
Columns holds all SQL columns for paymentorder fields.
var ForeignKeys = []string{
"api_key_payment_orders",
"linked_address_payment_orders",
"sender_profile_payment_orders",
"token_payment_orders",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "payment_orders" table and are not defined as standalone fields in the schema.
Functions ¶
func Amount ¶
func Amount(v decimal.Decimal) predicate.PaymentOrder
Amount applies equality check predicate on the "amount" field. It's identical to AmountEQ.
func AmountEQ ¶
func AmountEQ(v decimal.Decimal) predicate.PaymentOrder
AmountEQ applies the EQ predicate on the "amount" field.
func AmountGT ¶
func AmountGT(v decimal.Decimal) predicate.PaymentOrder
AmountGT applies the GT predicate on the "amount" field.
func AmountGTE ¶
func AmountGTE(v decimal.Decimal) predicate.PaymentOrder
AmountGTE applies the GTE predicate on the "amount" field.
func AmountIn ¶
func AmountIn(vs ...decimal.Decimal) predicate.PaymentOrder
AmountIn applies the In predicate on the "amount" field.
func AmountLT ¶
func AmountLT(v decimal.Decimal) predicate.PaymentOrder
AmountLT applies the LT predicate on the "amount" field.
func AmountLTE ¶
func AmountLTE(v decimal.Decimal) predicate.PaymentOrder
AmountLTE applies the LTE predicate on the "amount" field.
func AmountNEQ ¶
func AmountNEQ(v decimal.Decimal) predicate.PaymentOrder
AmountNEQ applies the NEQ predicate on the "amount" field.
func AmountNotIn ¶
func AmountNotIn(vs ...decimal.Decimal) predicate.PaymentOrder
AmountNotIn applies the NotIn predicate on the "amount" field.
func AmountPaid ¶
func AmountPaid(v decimal.Decimal) predicate.PaymentOrder
AmountPaid applies equality check predicate on the "amount_paid" field. It's identical to AmountPaidEQ.
func AmountPaidEQ ¶
func AmountPaidEQ(v decimal.Decimal) predicate.PaymentOrder
AmountPaidEQ applies the EQ predicate on the "amount_paid" field.
func AmountPaidGT ¶
func AmountPaidGT(v decimal.Decimal) predicate.PaymentOrder
AmountPaidGT applies the GT predicate on the "amount_paid" field.
func AmountPaidGTE ¶
func AmountPaidGTE(v decimal.Decimal) predicate.PaymentOrder
AmountPaidGTE applies the GTE predicate on the "amount_paid" field.
func AmountPaidIn ¶
func AmountPaidIn(vs ...decimal.Decimal) predicate.PaymentOrder
AmountPaidIn applies the In predicate on the "amount_paid" field.
func AmountPaidLT ¶
func AmountPaidLT(v decimal.Decimal) predicate.PaymentOrder
AmountPaidLT applies the LT predicate on the "amount_paid" field.
func AmountPaidLTE ¶
func AmountPaidLTE(v decimal.Decimal) predicate.PaymentOrder
AmountPaidLTE applies the LTE predicate on the "amount_paid" field.
func AmountPaidNEQ ¶
func AmountPaidNEQ(v decimal.Decimal) predicate.PaymentOrder
AmountPaidNEQ applies the NEQ predicate on the "amount_paid" field.
func AmountPaidNotIn ¶
func AmountPaidNotIn(vs ...decimal.Decimal) predicate.PaymentOrder
AmountPaidNotIn applies the NotIn predicate on the "amount_paid" field.
func AmountReturned ¶
func AmountReturned(v decimal.Decimal) predicate.PaymentOrder
AmountReturned applies equality check predicate on the "amount_returned" field. It's identical to AmountReturnedEQ.
func AmountReturnedEQ ¶
func AmountReturnedEQ(v decimal.Decimal) predicate.PaymentOrder
AmountReturnedEQ applies the EQ predicate on the "amount_returned" field.
func AmountReturnedGT ¶
func AmountReturnedGT(v decimal.Decimal) predicate.PaymentOrder
AmountReturnedGT applies the GT predicate on the "amount_returned" field.
func AmountReturnedGTE ¶
func AmountReturnedGTE(v decimal.Decimal) predicate.PaymentOrder
AmountReturnedGTE applies the GTE predicate on the "amount_returned" field.
func AmountReturnedIn ¶
func AmountReturnedIn(vs ...decimal.Decimal) predicate.PaymentOrder
AmountReturnedIn applies the In predicate on the "amount_returned" field.
func AmountReturnedLT ¶
func AmountReturnedLT(v decimal.Decimal) predicate.PaymentOrder
AmountReturnedLT applies the LT predicate on the "amount_returned" field.
func AmountReturnedLTE ¶
func AmountReturnedLTE(v decimal.Decimal) predicate.PaymentOrder
AmountReturnedLTE applies the LTE predicate on the "amount_returned" field.
func AmountReturnedNEQ ¶
func AmountReturnedNEQ(v decimal.Decimal) predicate.PaymentOrder
AmountReturnedNEQ applies the NEQ predicate on the "amount_returned" field.
func AmountReturnedNotIn ¶
func AmountReturnedNotIn(vs ...decimal.Decimal) predicate.PaymentOrder
AmountReturnedNotIn applies the NotIn predicate on the "amount_returned" field.
func And ¶
func And(predicates ...predicate.PaymentOrder) predicate.PaymentOrder
And groups predicates with the AND operator between them.
func BlockNumber ¶
func BlockNumber(v int64) predicate.PaymentOrder
BlockNumber applies equality check predicate on the "block_number" field. It's identical to BlockNumberEQ.
func BlockNumberEQ ¶
func BlockNumberEQ(v int64) predicate.PaymentOrder
BlockNumberEQ applies the EQ predicate on the "block_number" field.
func BlockNumberGT ¶
func BlockNumberGT(v int64) predicate.PaymentOrder
BlockNumberGT applies the GT predicate on the "block_number" field.
func BlockNumberGTE ¶
func BlockNumberGTE(v int64) predicate.PaymentOrder
BlockNumberGTE applies the GTE predicate on the "block_number" field.
func BlockNumberIn ¶
func BlockNumberIn(vs ...int64) predicate.PaymentOrder
BlockNumberIn applies the In predicate on the "block_number" field.
func BlockNumberLT ¶
func BlockNumberLT(v int64) predicate.PaymentOrder
BlockNumberLT applies the LT predicate on the "block_number" field.
func BlockNumberLTE ¶
func BlockNumberLTE(v int64) predicate.PaymentOrder
BlockNumberLTE applies the LTE predicate on the "block_number" field.
func BlockNumberNEQ ¶
func BlockNumberNEQ(v int64) predicate.PaymentOrder
BlockNumberNEQ applies the NEQ predicate on the "block_number" field.
func BlockNumberNotIn ¶
func BlockNumberNotIn(vs ...int64) predicate.PaymentOrder
BlockNumberNotIn applies the NotIn predicate on the "block_number" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.PaymentOrder
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.PaymentOrder
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.PaymentOrder
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.PaymentOrder
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.PaymentOrder
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.PaymentOrder
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.PaymentOrder
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.PaymentOrder
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.PaymentOrder
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func FeeAddress ¶
func FeeAddress(v string) predicate.PaymentOrder
FeeAddress applies equality check predicate on the "fee_address" field. It's identical to FeeAddressEQ.
func FeeAddressContains ¶
func FeeAddressContains(v string) predicate.PaymentOrder
FeeAddressContains applies the Contains predicate on the "fee_address" field.
func FeeAddressContainsFold ¶
func FeeAddressContainsFold(v string) predicate.PaymentOrder
FeeAddressContainsFold applies the ContainsFold predicate on the "fee_address" field.
func FeeAddressEQ ¶
func FeeAddressEQ(v string) predicate.PaymentOrder
FeeAddressEQ applies the EQ predicate on the "fee_address" field.
func FeeAddressEqualFold ¶
func FeeAddressEqualFold(v string) predicate.PaymentOrder
FeeAddressEqualFold applies the EqualFold predicate on the "fee_address" field.
func FeeAddressGT ¶
func FeeAddressGT(v string) predicate.PaymentOrder
FeeAddressGT applies the GT predicate on the "fee_address" field.
func FeeAddressGTE ¶
func FeeAddressGTE(v string) predicate.PaymentOrder
FeeAddressGTE applies the GTE predicate on the "fee_address" field.
func FeeAddressHasPrefix ¶
func FeeAddressHasPrefix(v string) predicate.PaymentOrder
FeeAddressHasPrefix applies the HasPrefix predicate on the "fee_address" field.
func FeeAddressHasSuffix ¶
func FeeAddressHasSuffix(v string) predicate.PaymentOrder
FeeAddressHasSuffix applies the HasSuffix predicate on the "fee_address" field.
func FeeAddressIn ¶
func FeeAddressIn(vs ...string) predicate.PaymentOrder
FeeAddressIn applies the In predicate on the "fee_address" field.
func FeeAddressIsNil ¶
func FeeAddressIsNil() predicate.PaymentOrder
FeeAddressIsNil applies the IsNil predicate on the "fee_address" field.
func FeeAddressLT ¶
func FeeAddressLT(v string) predicate.PaymentOrder
FeeAddressLT applies the LT predicate on the "fee_address" field.
func FeeAddressLTE ¶
func FeeAddressLTE(v string) predicate.PaymentOrder
FeeAddressLTE applies the LTE predicate on the "fee_address" field.
func FeeAddressNEQ ¶
func FeeAddressNEQ(v string) predicate.PaymentOrder
FeeAddressNEQ applies the NEQ predicate on the "fee_address" field.
func FeeAddressNotIn ¶
func FeeAddressNotIn(vs ...string) predicate.PaymentOrder
FeeAddressNotIn applies the NotIn predicate on the "fee_address" field.
func FeeAddressNotNil ¶
func FeeAddressNotNil() predicate.PaymentOrder
FeeAddressNotNil applies the NotNil predicate on the "fee_address" field.
func FeePercent ¶
func FeePercent(v decimal.Decimal) predicate.PaymentOrder
FeePercent applies equality check predicate on the "fee_percent" field. It's identical to FeePercentEQ.
func FeePercentEQ ¶
func FeePercentEQ(v decimal.Decimal) predicate.PaymentOrder
FeePercentEQ applies the EQ predicate on the "fee_percent" field.
func FeePercentGT ¶
func FeePercentGT(v decimal.Decimal) predicate.PaymentOrder
FeePercentGT applies the GT predicate on the "fee_percent" field.
func FeePercentGTE ¶
func FeePercentGTE(v decimal.Decimal) predicate.PaymentOrder
FeePercentGTE applies the GTE predicate on the "fee_percent" field.
func FeePercentIn ¶
func FeePercentIn(vs ...decimal.Decimal) predicate.PaymentOrder
FeePercentIn applies the In predicate on the "fee_percent" field.
func FeePercentLT ¶
func FeePercentLT(v decimal.Decimal) predicate.PaymentOrder
FeePercentLT applies the LT predicate on the "fee_percent" field.
func FeePercentLTE ¶
func FeePercentLTE(v decimal.Decimal) predicate.PaymentOrder
FeePercentLTE applies the LTE predicate on the "fee_percent" field.
func FeePercentNEQ ¶
func FeePercentNEQ(v decimal.Decimal) predicate.PaymentOrder
FeePercentNEQ applies the NEQ predicate on the "fee_percent" field.
func FeePercentNotIn ¶
func FeePercentNotIn(vs ...decimal.Decimal) predicate.PaymentOrder
FeePercentNotIn applies the NotIn predicate on the "fee_percent" field.
func FromAddress ¶
func FromAddress(v string) predicate.PaymentOrder
FromAddress applies equality check predicate on the "from_address" field. It's identical to FromAddressEQ.
func FromAddressContains ¶
func FromAddressContains(v string) predicate.PaymentOrder
FromAddressContains applies the Contains predicate on the "from_address" field.
func FromAddressContainsFold ¶
func FromAddressContainsFold(v string) predicate.PaymentOrder
FromAddressContainsFold applies the ContainsFold predicate on the "from_address" field.
func FromAddressEQ ¶
func FromAddressEQ(v string) predicate.PaymentOrder
FromAddressEQ applies the EQ predicate on the "from_address" field.
func FromAddressEqualFold ¶
func FromAddressEqualFold(v string) predicate.PaymentOrder
FromAddressEqualFold applies the EqualFold predicate on the "from_address" field.
func FromAddressGT ¶
func FromAddressGT(v string) predicate.PaymentOrder
FromAddressGT applies the GT predicate on the "from_address" field.
func FromAddressGTE ¶
func FromAddressGTE(v string) predicate.PaymentOrder
FromAddressGTE applies the GTE predicate on the "from_address" field.
func FromAddressHasPrefix ¶
func FromAddressHasPrefix(v string) predicate.PaymentOrder
FromAddressHasPrefix applies the HasPrefix predicate on the "from_address" field.
func FromAddressHasSuffix ¶
func FromAddressHasSuffix(v string) predicate.PaymentOrder
FromAddressHasSuffix applies the HasSuffix predicate on the "from_address" field.
func FromAddressIn ¶
func FromAddressIn(vs ...string) predicate.PaymentOrder
FromAddressIn applies the In predicate on the "from_address" field.
func FromAddressIsNil ¶
func FromAddressIsNil() predicate.PaymentOrder
FromAddressIsNil applies the IsNil predicate on the "from_address" field.
func FromAddressLT ¶
func FromAddressLT(v string) predicate.PaymentOrder
FromAddressLT applies the LT predicate on the "from_address" field.
func FromAddressLTE ¶
func FromAddressLTE(v string) predicate.PaymentOrder
FromAddressLTE applies the LTE predicate on the "from_address" field.
func FromAddressNEQ ¶
func FromAddressNEQ(v string) predicate.PaymentOrder
FromAddressNEQ applies the NEQ predicate on the "from_address" field.
func FromAddressNotIn ¶
func FromAddressNotIn(vs ...string) predicate.PaymentOrder
FromAddressNotIn applies the NotIn predicate on the "from_address" field.
func FromAddressNotNil ¶
func FromAddressNotNil() predicate.PaymentOrder
FromAddressNotNil applies the NotNil predicate on the "from_address" field.
func GatewayID ¶
func GatewayID(v string) predicate.PaymentOrder
GatewayID applies equality check predicate on the "gateway_id" field. It's identical to GatewayIDEQ.
func GatewayIDContains ¶
func GatewayIDContains(v string) predicate.PaymentOrder
GatewayIDContains applies the Contains predicate on the "gateway_id" field.
func GatewayIDContainsFold ¶
func GatewayIDContainsFold(v string) predicate.PaymentOrder
GatewayIDContainsFold applies the ContainsFold predicate on the "gateway_id" field.
func GatewayIDEQ ¶
func GatewayIDEQ(v string) predicate.PaymentOrder
GatewayIDEQ applies the EQ predicate on the "gateway_id" field.
func GatewayIDEqualFold ¶
func GatewayIDEqualFold(v string) predicate.PaymentOrder
GatewayIDEqualFold applies the EqualFold predicate on the "gateway_id" field.
func GatewayIDGT ¶
func GatewayIDGT(v string) predicate.PaymentOrder
GatewayIDGT applies the GT predicate on the "gateway_id" field.
func GatewayIDGTE ¶
func GatewayIDGTE(v string) predicate.PaymentOrder
GatewayIDGTE applies the GTE predicate on the "gateway_id" field.
func GatewayIDHasPrefix ¶
func GatewayIDHasPrefix(v string) predicate.PaymentOrder
GatewayIDHasPrefix applies the HasPrefix predicate on the "gateway_id" field.
func GatewayIDHasSuffix ¶
func GatewayIDHasSuffix(v string) predicate.PaymentOrder
GatewayIDHasSuffix applies the HasSuffix predicate on the "gateway_id" field.
func GatewayIDIn ¶
func GatewayIDIn(vs ...string) predicate.PaymentOrder
GatewayIDIn applies the In predicate on the "gateway_id" field.
func GatewayIDIsNil ¶
func GatewayIDIsNil() predicate.PaymentOrder
GatewayIDIsNil applies the IsNil predicate on the "gateway_id" field.
func GatewayIDLT ¶
func GatewayIDLT(v string) predicate.PaymentOrder
GatewayIDLT applies the LT predicate on the "gateway_id" field.
func GatewayIDLTE ¶
func GatewayIDLTE(v string) predicate.PaymentOrder
GatewayIDLTE applies the LTE predicate on the "gateway_id" field.
func GatewayIDNEQ ¶
func GatewayIDNEQ(v string) predicate.PaymentOrder
GatewayIDNEQ applies the NEQ predicate on the "gateway_id" field.
func GatewayIDNotIn ¶
func GatewayIDNotIn(vs ...string) predicate.PaymentOrder
GatewayIDNotIn applies the NotIn predicate on the "gateway_id" field.
func GatewayIDNotNil ¶
func GatewayIDNotNil() predicate.PaymentOrder
GatewayIDNotNil applies the NotNil predicate on the "gateway_id" field.
func HasLinkedAddress ¶
func HasLinkedAddress() predicate.PaymentOrder
HasLinkedAddress applies the HasEdge predicate on the "linked_address" edge.
func HasLinkedAddressWith ¶
func HasLinkedAddressWith(preds ...predicate.LinkedAddress) predicate.PaymentOrder
HasLinkedAddressWith applies the HasEdge predicate on the "linked_address" edge with a given conditions (other predicates).
func HasPaymentWebhook ¶
func HasPaymentWebhook() predicate.PaymentOrder
HasPaymentWebhook applies the HasEdge predicate on the "payment_webhook" edge.
func HasPaymentWebhookWith ¶
func HasPaymentWebhookWith(preds ...predicate.PaymentWebhook) predicate.PaymentOrder
HasPaymentWebhookWith applies the HasEdge predicate on the "payment_webhook" edge with a given conditions (other predicates).
func HasReceiveAddress ¶
func HasReceiveAddress() predicate.PaymentOrder
HasReceiveAddress applies the HasEdge predicate on the "receive_address" edge.
func HasReceiveAddressWith ¶
func HasReceiveAddressWith(preds ...predicate.ReceiveAddress) predicate.PaymentOrder
HasReceiveAddressWith applies the HasEdge predicate on the "receive_address" edge with a given conditions (other predicates).
func HasRecipient ¶
func HasRecipient() predicate.PaymentOrder
HasRecipient applies the HasEdge predicate on the "recipient" edge.
func HasRecipientWith ¶
func HasRecipientWith(preds ...predicate.PaymentOrderRecipient) predicate.PaymentOrder
HasRecipientWith applies the HasEdge predicate on the "recipient" edge with a given conditions (other predicates).
func HasSenderProfile ¶
func HasSenderProfile() predicate.PaymentOrder
HasSenderProfile applies the HasEdge predicate on the "sender_profile" edge.
func HasSenderProfileWith ¶
func HasSenderProfileWith(preds ...predicate.SenderProfile) predicate.PaymentOrder
HasSenderProfileWith applies the HasEdge predicate on the "sender_profile" edge with a given conditions (other predicates).
func HasToken ¶
func HasToken() predicate.PaymentOrder
HasToken applies the HasEdge predicate on the "token" edge.
func HasTokenWith ¶
func HasTokenWith(preds ...predicate.Token) predicate.PaymentOrder
HasTokenWith applies the HasEdge predicate on the "token" edge with a given conditions (other predicates).
func HasTransactions ¶
func HasTransactions() predicate.PaymentOrder
HasTransactions applies the HasEdge predicate on the "transactions" edge.
func HasTransactionsWith ¶
func HasTransactionsWith(preds ...predicate.TransactionLog) predicate.PaymentOrder
HasTransactionsWith applies the HasEdge predicate on the "transactions" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.PaymentOrder
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.PaymentOrder
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.PaymentOrder
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.PaymentOrder
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.PaymentOrder
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.PaymentOrder
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.PaymentOrder
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.PaymentOrder
IDNotIn applies the NotIn predicate on the ID field.
func MessageHash ¶
func MessageHash(v string) predicate.PaymentOrder
MessageHash applies equality check predicate on the "message_hash" field. It's identical to MessageHashEQ.
func MessageHashContains ¶
func MessageHashContains(v string) predicate.PaymentOrder
MessageHashContains applies the Contains predicate on the "message_hash" field.
func MessageHashContainsFold ¶
func MessageHashContainsFold(v string) predicate.PaymentOrder
MessageHashContainsFold applies the ContainsFold predicate on the "message_hash" field.
func MessageHashEQ ¶
func MessageHashEQ(v string) predicate.PaymentOrder
MessageHashEQ applies the EQ predicate on the "message_hash" field.
func MessageHashEqualFold ¶
func MessageHashEqualFold(v string) predicate.PaymentOrder
MessageHashEqualFold applies the EqualFold predicate on the "message_hash" field.
func MessageHashGT ¶
func MessageHashGT(v string) predicate.PaymentOrder
MessageHashGT applies the GT predicate on the "message_hash" field.
func MessageHashGTE ¶
func MessageHashGTE(v string) predicate.PaymentOrder
MessageHashGTE applies the GTE predicate on the "message_hash" field.
func MessageHashHasPrefix ¶
func MessageHashHasPrefix(v string) predicate.PaymentOrder
MessageHashHasPrefix applies the HasPrefix predicate on the "message_hash" field.
func MessageHashHasSuffix ¶
func MessageHashHasSuffix(v string) predicate.PaymentOrder
MessageHashHasSuffix applies the HasSuffix predicate on the "message_hash" field.
func MessageHashIn ¶
func MessageHashIn(vs ...string) predicate.PaymentOrder
MessageHashIn applies the In predicate on the "message_hash" field.
func MessageHashIsNil ¶
func MessageHashIsNil() predicate.PaymentOrder
MessageHashIsNil applies the IsNil predicate on the "message_hash" field.
func MessageHashLT ¶
func MessageHashLT(v string) predicate.PaymentOrder
MessageHashLT applies the LT predicate on the "message_hash" field.
func MessageHashLTE ¶
func MessageHashLTE(v string) predicate.PaymentOrder
MessageHashLTE applies the LTE predicate on the "message_hash" field.
func MessageHashNEQ ¶
func MessageHashNEQ(v string) predicate.PaymentOrder
MessageHashNEQ applies the NEQ predicate on the "message_hash" field.
func MessageHashNotIn ¶
func MessageHashNotIn(vs ...string) predicate.PaymentOrder
MessageHashNotIn applies the NotIn predicate on the "message_hash" field.
func MessageHashNotNil ¶
func MessageHashNotNil() predicate.PaymentOrder
MessageHashNotNil applies the NotNil predicate on the "message_hash" field.
func NetworkFee ¶
func NetworkFee(v decimal.Decimal) predicate.PaymentOrder
NetworkFee applies equality check predicate on the "network_fee" field. It's identical to NetworkFeeEQ.
func NetworkFeeEQ ¶
func NetworkFeeEQ(v decimal.Decimal) predicate.PaymentOrder
NetworkFeeEQ applies the EQ predicate on the "network_fee" field.
func NetworkFeeGT ¶
func NetworkFeeGT(v decimal.Decimal) predicate.PaymentOrder
NetworkFeeGT applies the GT predicate on the "network_fee" field.
func NetworkFeeGTE ¶
func NetworkFeeGTE(v decimal.Decimal) predicate.PaymentOrder
NetworkFeeGTE applies the GTE predicate on the "network_fee" field.
func NetworkFeeIn ¶
func NetworkFeeIn(vs ...decimal.Decimal) predicate.PaymentOrder
NetworkFeeIn applies the In predicate on the "network_fee" field.
func NetworkFeeLT ¶
func NetworkFeeLT(v decimal.Decimal) predicate.PaymentOrder
NetworkFeeLT applies the LT predicate on the "network_fee" field.
func NetworkFeeLTE ¶
func NetworkFeeLTE(v decimal.Decimal) predicate.PaymentOrder
NetworkFeeLTE applies the LTE predicate on the "network_fee" field.
func NetworkFeeNEQ ¶
func NetworkFeeNEQ(v decimal.Decimal) predicate.PaymentOrder
NetworkFeeNEQ applies the NEQ predicate on the "network_fee" field.
func NetworkFeeNotIn ¶
func NetworkFeeNotIn(vs ...decimal.Decimal) predicate.PaymentOrder
NetworkFeeNotIn applies the NotIn predicate on the "network_fee" field.
func Not ¶
func Not(p predicate.PaymentOrder) predicate.PaymentOrder
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.PaymentOrder) predicate.PaymentOrder
Or groups predicates with the OR operator between them.
func PercentSettled ¶
func PercentSettled(v decimal.Decimal) predicate.PaymentOrder
PercentSettled applies equality check predicate on the "percent_settled" field. It's identical to PercentSettledEQ.
func PercentSettledEQ ¶
func PercentSettledEQ(v decimal.Decimal) predicate.PaymentOrder
PercentSettledEQ applies the EQ predicate on the "percent_settled" field.
func PercentSettledGT ¶
func PercentSettledGT(v decimal.Decimal) predicate.PaymentOrder
PercentSettledGT applies the GT predicate on the "percent_settled" field.
func PercentSettledGTE ¶
func PercentSettledGTE(v decimal.Decimal) predicate.PaymentOrder
PercentSettledGTE applies the GTE predicate on the "percent_settled" field.
func PercentSettledIn ¶
func PercentSettledIn(vs ...decimal.Decimal) predicate.PaymentOrder
PercentSettledIn applies the In predicate on the "percent_settled" field.
func PercentSettledLT ¶
func PercentSettledLT(v decimal.Decimal) predicate.PaymentOrder
PercentSettledLT applies the LT predicate on the "percent_settled" field.
func PercentSettledLTE ¶
func PercentSettledLTE(v decimal.Decimal) predicate.PaymentOrder
PercentSettledLTE applies the LTE predicate on the "percent_settled" field.
func PercentSettledNEQ ¶
func PercentSettledNEQ(v decimal.Decimal) predicate.PaymentOrder
PercentSettledNEQ applies the NEQ predicate on the "percent_settled" field.
func PercentSettledNotIn ¶
func PercentSettledNotIn(vs ...decimal.Decimal) predicate.PaymentOrder
PercentSettledNotIn applies the NotIn predicate on the "percent_settled" field.
func Rate ¶
func Rate(v decimal.Decimal) predicate.PaymentOrder
Rate applies equality check predicate on the "rate" field. It's identical to RateEQ.
func RateEQ ¶
func RateEQ(v decimal.Decimal) predicate.PaymentOrder
RateEQ applies the EQ predicate on the "rate" field.
func RateGT ¶
func RateGT(v decimal.Decimal) predicate.PaymentOrder
RateGT applies the GT predicate on the "rate" field.
func RateGTE ¶
func RateGTE(v decimal.Decimal) predicate.PaymentOrder
RateGTE applies the GTE predicate on the "rate" field.
func RateIn ¶
func RateIn(vs ...decimal.Decimal) predicate.PaymentOrder
RateIn applies the In predicate on the "rate" field.
func RateLT ¶
func RateLT(v decimal.Decimal) predicate.PaymentOrder
RateLT applies the LT predicate on the "rate" field.
func RateLTE ¶
func RateLTE(v decimal.Decimal) predicate.PaymentOrder
RateLTE applies the LTE predicate on the "rate" field.
func RateNEQ ¶
func RateNEQ(v decimal.Decimal) predicate.PaymentOrder
RateNEQ applies the NEQ predicate on the "rate" field.
func RateNotIn ¶
func RateNotIn(vs ...decimal.Decimal) predicate.PaymentOrder
RateNotIn applies the NotIn predicate on the "rate" field.
func ReceiveAddressText ¶
func ReceiveAddressText(v string) predicate.PaymentOrder
ReceiveAddressText applies equality check predicate on the "receive_address_text" field. It's identical to ReceiveAddressTextEQ.
func ReceiveAddressTextContains ¶
func ReceiveAddressTextContains(v string) predicate.PaymentOrder
ReceiveAddressTextContains applies the Contains predicate on the "receive_address_text" field.
func ReceiveAddressTextContainsFold ¶
func ReceiveAddressTextContainsFold(v string) predicate.PaymentOrder
ReceiveAddressTextContainsFold applies the ContainsFold predicate on the "receive_address_text" field.
func ReceiveAddressTextEQ ¶
func ReceiveAddressTextEQ(v string) predicate.PaymentOrder
ReceiveAddressTextEQ applies the EQ predicate on the "receive_address_text" field.
func ReceiveAddressTextEqualFold ¶
func ReceiveAddressTextEqualFold(v string) predicate.PaymentOrder
ReceiveAddressTextEqualFold applies the EqualFold predicate on the "receive_address_text" field.
func ReceiveAddressTextGT ¶
func ReceiveAddressTextGT(v string) predicate.PaymentOrder
ReceiveAddressTextGT applies the GT predicate on the "receive_address_text" field.
func ReceiveAddressTextGTE ¶
func ReceiveAddressTextGTE(v string) predicate.PaymentOrder
ReceiveAddressTextGTE applies the GTE predicate on the "receive_address_text" field.
func ReceiveAddressTextHasPrefix ¶
func ReceiveAddressTextHasPrefix(v string) predicate.PaymentOrder
ReceiveAddressTextHasPrefix applies the HasPrefix predicate on the "receive_address_text" field.
func ReceiveAddressTextHasSuffix ¶
func ReceiveAddressTextHasSuffix(v string) predicate.PaymentOrder
ReceiveAddressTextHasSuffix applies the HasSuffix predicate on the "receive_address_text" field.
func ReceiveAddressTextIn ¶
func ReceiveAddressTextIn(vs ...string) predicate.PaymentOrder
ReceiveAddressTextIn applies the In predicate on the "receive_address_text" field.
func ReceiveAddressTextLT ¶
func ReceiveAddressTextLT(v string) predicate.PaymentOrder
ReceiveAddressTextLT applies the LT predicate on the "receive_address_text" field.
func ReceiveAddressTextLTE ¶
func ReceiveAddressTextLTE(v string) predicate.PaymentOrder
ReceiveAddressTextLTE applies the LTE predicate on the "receive_address_text" field.
func ReceiveAddressTextNEQ ¶
func ReceiveAddressTextNEQ(v string) predicate.PaymentOrder
ReceiveAddressTextNEQ applies the NEQ predicate on the "receive_address_text" field.
func ReceiveAddressTextNotIn ¶
func ReceiveAddressTextNotIn(vs ...string) predicate.PaymentOrder
ReceiveAddressTextNotIn applies the NotIn predicate on the "receive_address_text" field.
func Reference ¶
func Reference(v string) predicate.PaymentOrder
Reference applies equality check predicate on the "reference" field. It's identical to ReferenceEQ.
func ReferenceContains ¶
func ReferenceContains(v string) predicate.PaymentOrder
ReferenceContains applies the Contains predicate on the "reference" field.
func ReferenceContainsFold ¶
func ReferenceContainsFold(v string) predicate.PaymentOrder
ReferenceContainsFold applies the ContainsFold predicate on the "reference" field.
func ReferenceEQ ¶
func ReferenceEQ(v string) predicate.PaymentOrder
ReferenceEQ applies the EQ predicate on the "reference" field.
func ReferenceEqualFold ¶
func ReferenceEqualFold(v string) predicate.PaymentOrder
ReferenceEqualFold applies the EqualFold predicate on the "reference" field.
func ReferenceGT ¶
func ReferenceGT(v string) predicate.PaymentOrder
ReferenceGT applies the GT predicate on the "reference" field.
func ReferenceGTE ¶
func ReferenceGTE(v string) predicate.PaymentOrder
ReferenceGTE applies the GTE predicate on the "reference" field.
func ReferenceHasPrefix ¶
func ReferenceHasPrefix(v string) predicate.PaymentOrder
ReferenceHasPrefix applies the HasPrefix predicate on the "reference" field.
func ReferenceHasSuffix ¶
func ReferenceHasSuffix(v string) predicate.PaymentOrder
ReferenceHasSuffix applies the HasSuffix predicate on the "reference" field.
func ReferenceIn ¶
func ReferenceIn(vs ...string) predicate.PaymentOrder
ReferenceIn applies the In predicate on the "reference" field.
func ReferenceIsNil ¶
func ReferenceIsNil() predicate.PaymentOrder
ReferenceIsNil applies the IsNil predicate on the "reference" field.
func ReferenceLT ¶
func ReferenceLT(v string) predicate.PaymentOrder
ReferenceLT applies the LT predicate on the "reference" field.
func ReferenceLTE ¶
func ReferenceLTE(v string) predicate.PaymentOrder
ReferenceLTE applies the LTE predicate on the "reference" field.
func ReferenceNEQ ¶
func ReferenceNEQ(v string) predicate.PaymentOrder
ReferenceNEQ applies the NEQ predicate on the "reference" field.
func ReferenceNotIn ¶
func ReferenceNotIn(vs ...string) predicate.PaymentOrder
ReferenceNotIn applies the NotIn predicate on the "reference" field.
func ReferenceNotNil ¶
func ReferenceNotNil() predicate.PaymentOrder
ReferenceNotNil applies the NotNil predicate on the "reference" field.
func ReturnAddress ¶
func ReturnAddress(v string) predicate.PaymentOrder
ReturnAddress applies equality check predicate on the "return_address" field. It's identical to ReturnAddressEQ.
func ReturnAddressContains ¶
func ReturnAddressContains(v string) predicate.PaymentOrder
ReturnAddressContains applies the Contains predicate on the "return_address" field.
func ReturnAddressContainsFold ¶
func ReturnAddressContainsFold(v string) predicate.PaymentOrder
ReturnAddressContainsFold applies the ContainsFold predicate on the "return_address" field.
func ReturnAddressEQ ¶
func ReturnAddressEQ(v string) predicate.PaymentOrder
ReturnAddressEQ applies the EQ predicate on the "return_address" field.
func ReturnAddressEqualFold ¶
func ReturnAddressEqualFold(v string) predicate.PaymentOrder
ReturnAddressEqualFold applies the EqualFold predicate on the "return_address" field.
func ReturnAddressGT ¶
func ReturnAddressGT(v string) predicate.PaymentOrder
ReturnAddressGT applies the GT predicate on the "return_address" field.
func ReturnAddressGTE ¶
func ReturnAddressGTE(v string) predicate.PaymentOrder
ReturnAddressGTE applies the GTE predicate on the "return_address" field.
func ReturnAddressHasPrefix ¶
func ReturnAddressHasPrefix(v string) predicate.PaymentOrder
ReturnAddressHasPrefix applies the HasPrefix predicate on the "return_address" field.
func ReturnAddressHasSuffix ¶
func ReturnAddressHasSuffix(v string) predicate.PaymentOrder
ReturnAddressHasSuffix applies the HasSuffix predicate on the "return_address" field.
func ReturnAddressIn ¶
func ReturnAddressIn(vs ...string) predicate.PaymentOrder
ReturnAddressIn applies the In predicate on the "return_address" field.
func ReturnAddressIsNil ¶
func ReturnAddressIsNil() predicate.PaymentOrder
ReturnAddressIsNil applies the IsNil predicate on the "return_address" field.
func ReturnAddressLT ¶
func ReturnAddressLT(v string) predicate.PaymentOrder
ReturnAddressLT applies the LT predicate on the "return_address" field.
func ReturnAddressLTE ¶
func ReturnAddressLTE(v string) predicate.PaymentOrder
ReturnAddressLTE applies the LTE predicate on the "return_address" field.
func ReturnAddressNEQ ¶
func ReturnAddressNEQ(v string) predicate.PaymentOrder
ReturnAddressNEQ applies the NEQ predicate on the "return_address" field.
func ReturnAddressNotIn ¶
func ReturnAddressNotIn(vs ...string) predicate.PaymentOrder
ReturnAddressNotIn applies the NotIn predicate on the "return_address" field.
func ReturnAddressNotNil ¶
func ReturnAddressNotNil() predicate.PaymentOrder
ReturnAddressNotNil applies the NotNil predicate on the "return_address" field.
func SenderFee ¶
func SenderFee(v decimal.Decimal) predicate.PaymentOrder
SenderFee applies equality check predicate on the "sender_fee" field. It's identical to SenderFeeEQ.
func SenderFeeEQ ¶
func SenderFeeEQ(v decimal.Decimal) predicate.PaymentOrder
SenderFeeEQ applies the EQ predicate on the "sender_fee" field.
func SenderFeeGT ¶
func SenderFeeGT(v decimal.Decimal) predicate.PaymentOrder
SenderFeeGT applies the GT predicate on the "sender_fee" field.
func SenderFeeGTE ¶
func SenderFeeGTE(v decimal.Decimal) predicate.PaymentOrder
SenderFeeGTE applies the GTE predicate on the "sender_fee" field.
func SenderFeeIn ¶
func SenderFeeIn(vs ...decimal.Decimal) predicate.PaymentOrder
SenderFeeIn applies the In predicate on the "sender_fee" field.
func SenderFeeLT ¶
func SenderFeeLT(v decimal.Decimal) predicate.PaymentOrder
SenderFeeLT applies the LT predicate on the "sender_fee" field.
func SenderFeeLTE ¶
func SenderFeeLTE(v decimal.Decimal) predicate.PaymentOrder
SenderFeeLTE applies the LTE predicate on the "sender_fee" field.
func SenderFeeNEQ ¶
func SenderFeeNEQ(v decimal.Decimal) predicate.PaymentOrder
SenderFeeNEQ applies the NEQ predicate on the "sender_fee" field.
func SenderFeeNotIn ¶
func SenderFeeNotIn(vs ...decimal.Decimal) predicate.PaymentOrder
SenderFeeNotIn applies the NotIn predicate on the "sender_fee" field.
func StatusEQ ¶
func StatusEQ(v Status) predicate.PaymentOrder
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...Status) predicate.PaymentOrder
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v Status) predicate.PaymentOrder
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...Status) predicate.PaymentOrder
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 TxHash ¶
func TxHash(v string) predicate.PaymentOrder
TxHash applies equality check predicate on the "tx_hash" field. It's identical to TxHashEQ.
func TxHashContains ¶
func TxHashContains(v string) predicate.PaymentOrder
TxHashContains applies the Contains predicate on the "tx_hash" field.
func TxHashContainsFold ¶
func TxHashContainsFold(v string) predicate.PaymentOrder
TxHashContainsFold applies the ContainsFold predicate on the "tx_hash" field.
func TxHashEQ ¶
func TxHashEQ(v string) predicate.PaymentOrder
TxHashEQ applies the EQ predicate on the "tx_hash" field.
func TxHashEqualFold ¶
func TxHashEqualFold(v string) predicate.PaymentOrder
TxHashEqualFold applies the EqualFold predicate on the "tx_hash" field.
func TxHashGT ¶
func TxHashGT(v string) predicate.PaymentOrder
TxHashGT applies the GT predicate on the "tx_hash" field.
func TxHashGTE ¶
func TxHashGTE(v string) predicate.PaymentOrder
TxHashGTE applies the GTE predicate on the "tx_hash" field.
func TxHashHasPrefix ¶
func TxHashHasPrefix(v string) predicate.PaymentOrder
TxHashHasPrefix applies the HasPrefix predicate on the "tx_hash" field.
func TxHashHasSuffix ¶
func TxHashHasSuffix(v string) predicate.PaymentOrder
TxHashHasSuffix applies the HasSuffix predicate on the "tx_hash" field.
func TxHashIn ¶
func TxHashIn(vs ...string) predicate.PaymentOrder
TxHashIn applies the In predicate on the "tx_hash" field.
func TxHashIsNil ¶
func TxHashIsNil() predicate.PaymentOrder
TxHashIsNil applies the IsNil predicate on the "tx_hash" field.
func TxHashLT ¶
func TxHashLT(v string) predicate.PaymentOrder
TxHashLT applies the LT predicate on the "tx_hash" field.
func TxHashLTE ¶
func TxHashLTE(v string) predicate.PaymentOrder
TxHashLTE applies the LTE predicate on the "tx_hash" field.
func TxHashNEQ ¶
func TxHashNEQ(v string) predicate.PaymentOrder
TxHashNEQ applies the NEQ predicate on the "tx_hash" field.
func TxHashNotIn ¶
func TxHashNotIn(vs ...string) predicate.PaymentOrder
TxHashNotIn applies the NotIn predicate on the "tx_hash" field.
func TxHashNotNil ¶
func TxHashNotNil() predicate.PaymentOrder
TxHashNotNil applies the NotNil predicate on the "tx_hash" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.PaymentOrder
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.PaymentOrder
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.PaymentOrder
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.PaymentOrder
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.PaymentOrder
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.PaymentOrder
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.PaymentOrder
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.PaymentOrder
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.PaymentOrder
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).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the PaymentOrder queries.
func ByAmount ¶
func ByAmount(opts ...sql.OrderTermOption) OrderOption
ByAmount orders the results by the amount field.
func ByAmountPaid ¶
func ByAmountPaid(opts ...sql.OrderTermOption) OrderOption
ByAmountPaid orders the results by the amount_paid field.
func ByAmountReturned ¶
func ByAmountReturned(opts ...sql.OrderTermOption) OrderOption
ByAmountReturned orders the results by the amount_returned field.
func ByBlockNumber ¶
func ByBlockNumber(opts ...sql.OrderTermOption) OrderOption
ByBlockNumber orders the results by the block_number field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByFeeAddress ¶
func ByFeeAddress(opts ...sql.OrderTermOption) OrderOption
ByFeeAddress orders the results by the fee_address field.
func ByFeePercent ¶
func ByFeePercent(opts ...sql.OrderTermOption) OrderOption
ByFeePercent orders the results by the fee_percent field.
func ByFromAddress ¶
func ByFromAddress(opts ...sql.OrderTermOption) OrderOption
ByFromAddress orders the results by the from_address field.
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 ByLinkedAddressField ¶
func ByLinkedAddressField(field string, opts ...sql.OrderTermOption) OrderOption
ByLinkedAddressField orders the results by linked_address field.
func ByMessageHash ¶
func ByMessageHash(opts ...sql.OrderTermOption) OrderOption
ByMessageHash orders the results by the message_hash field.
func ByNetworkFee ¶
func ByNetworkFee(opts ...sql.OrderTermOption) OrderOption
ByNetworkFee orders the results by the network_fee field.
func ByPaymentWebhookField ¶
func ByPaymentWebhookField(field string, opts ...sql.OrderTermOption) OrderOption
ByPaymentWebhookField orders the results by payment_webhook field.
func ByPercentSettled ¶
func ByPercentSettled(opts ...sql.OrderTermOption) OrderOption
ByPercentSettled orders the results by the percent_settled field.
func ByRate ¶
func ByRate(opts ...sql.OrderTermOption) OrderOption
ByRate orders the results by the rate field.
func ByReceiveAddressField ¶
func ByReceiveAddressField(field string, opts ...sql.OrderTermOption) OrderOption
ByReceiveAddressField orders the results by receive_address field.
func ByReceiveAddressText ¶
func ByReceiveAddressText(opts ...sql.OrderTermOption) OrderOption
ByReceiveAddressText orders the results by the receive_address_text field.
func ByRecipientField ¶
func ByRecipientField(field string, opts ...sql.OrderTermOption) OrderOption
ByRecipientField orders the results by recipient field.
func ByReference ¶
func ByReference(opts ...sql.OrderTermOption) OrderOption
ByReference orders the results by the reference field.
func ByReturnAddress ¶
func ByReturnAddress(opts ...sql.OrderTermOption) OrderOption
ByReturnAddress orders the results by the return_address field.
func BySenderFee ¶
func BySenderFee(opts ...sql.OrderTermOption) OrderOption
BySenderFee orders the results by the sender_fee field.
func BySenderProfileField ¶
func BySenderProfileField(field string, opts ...sql.OrderTermOption) OrderOption
BySenderProfileField orders the results by sender_profile 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.