Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.PaymentWebhook) predicate.PaymentWebhook
- func CallbackURL(v string) predicate.PaymentWebhook
- func CallbackURLContains(v string) predicate.PaymentWebhook
- func CallbackURLContainsFold(v string) predicate.PaymentWebhook
- func CallbackURLEQ(v string) predicate.PaymentWebhook
- func CallbackURLEqualFold(v string) predicate.PaymentWebhook
- func CallbackURLGT(v string) predicate.PaymentWebhook
- func CallbackURLGTE(v string) predicate.PaymentWebhook
- func CallbackURLHasPrefix(v string) predicate.PaymentWebhook
- func CallbackURLHasSuffix(v string) predicate.PaymentWebhook
- func CallbackURLIn(vs ...string) predicate.PaymentWebhook
- func CallbackURLLT(v string) predicate.PaymentWebhook
- func CallbackURLLTE(v string) predicate.PaymentWebhook
- func CallbackURLNEQ(v string) predicate.PaymentWebhook
- func CallbackURLNotIn(vs ...string) predicate.PaymentWebhook
- func CreatedAt(v time.Time) predicate.PaymentWebhook
- func CreatedAtEQ(v time.Time) predicate.PaymentWebhook
- func CreatedAtGT(v time.Time) predicate.PaymentWebhook
- func CreatedAtGTE(v time.Time) predicate.PaymentWebhook
- func CreatedAtIn(vs ...time.Time) predicate.PaymentWebhook
- func CreatedAtLT(v time.Time) predicate.PaymentWebhook
- func CreatedAtLTE(v time.Time) predicate.PaymentWebhook
- func CreatedAtNEQ(v time.Time) predicate.PaymentWebhook
- func CreatedAtNotIn(vs ...time.Time) predicate.PaymentWebhook
- func HasNetwork() predicate.PaymentWebhook
- func HasNetworkWith(preds ...predicate.Network) predicate.PaymentWebhook
- func HasPaymentOrder() predicate.PaymentWebhook
- func HasPaymentOrderWith(preds ...predicate.PaymentOrder) predicate.PaymentWebhook
- func ID(id uuid.UUID) predicate.PaymentWebhook
- func IDEQ(id uuid.UUID) predicate.PaymentWebhook
- func IDGT(id uuid.UUID) predicate.PaymentWebhook
- func IDGTE(id uuid.UUID) predicate.PaymentWebhook
- func IDIn(ids ...uuid.UUID) predicate.PaymentWebhook
- func IDLT(id uuid.UUID) predicate.PaymentWebhook
- func IDLTE(id uuid.UUID) predicate.PaymentWebhook
- func IDNEQ(id uuid.UUID) predicate.PaymentWebhook
- func IDNotIn(ids ...uuid.UUID) predicate.PaymentWebhook
- func Not(p predicate.PaymentWebhook) predicate.PaymentWebhook
- func Or(predicates ...predicate.PaymentWebhook) predicate.PaymentWebhook
- func UpdatedAt(v time.Time) predicate.PaymentWebhook
- func UpdatedAtEQ(v time.Time) predicate.PaymentWebhook
- func UpdatedAtGT(v time.Time) predicate.PaymentWebhook
- func UpdatedAtGTE(v time.Time) predicate.PaymentWebhook
- func UpdatedAtIn(vs ...time.Time) predicate.PaymentWebhook
- func UpdatedAtLT(v time.Time) predicate.PaymentWebhook
- func UpdatedAtLTE(v time.Time) predicate.PaymentWebhook
- func UpdatedAtNEQ(v time.Time) predicate.PaymentWebhook
- func UpdatedAtNotIn(vs ...time.Time) predicate.PaymentWebhook
- func ValidColumn(column string) bool
- func WebhookID(v string) predicate.PaymentWebhook
- func WebhookIDContains(v string) predicate.PaymentWebhook
- func WebhookIDContainsFold(v string) predicate.PaymentWebhook
- func WebhookIDEQ(v string) predicate.PaymentWebhook
- func WebhookIDEqualFold(v string) predicate.PaymentWebhook
- func WebhookIDGT(v string) predicate.PaymentWebhook
- func WebhookIDGTE(v string) predicate.PaymentWebhook
- func WebhookIDHasPrefix(v string) predicate.PaymentWebhook
- func WebhookIDHasSuffix(v string) predicate.PaymentWebhook
- func WebhookIDIn(vs ...string) predicate.PaymentWebhook
- func WebhookIDLT(v string) predicate.PaymentWebhook
- func WebhookIDLTE(v string) predicate.PaymentWebhook
- func WebhookIDNEQ(v string) predicate.PaymentWebhook
- func WebhookIDNotIn(vs ...string) predicate.PaymentWebhook
- func WebhookSecret(v string) predicate.PaymentWebhook
- func WebhookSecretContains(v string) predicate.PaymentWebhook
- func WebhookSecretContainsFold(v string) predicate.PaymentWebhook
- func WebhookSecretEQ(v string) predicate.PaymentWebhook
- func WebhookSecretEqualFold(v string) predicate.PaymentWebhook
- func WebhookSecretGT(v string) predicate.PaymentWebhook
- func WebhookSecretGTE(v string) predicate.PaymentWebhook
- func WebhookSecretHasPrefix(v string) predicate.PaymentWebhook
- func WebhookSecretHasSuffix(v string) predicate.PaymentWebhook
- func WebhookSecretIn(vs ...string) predicate.PaymentWebhook
- func WebhookSecretLT(v string) predicate.PaymentWebhook
- func WebhookSecretLTE(v string) predicate.PaymentWebhook
- func WebhookSecretNEQ(v string) predicate.PaymentWebhook
- func WebhookSecretNotIn(vs ...string) predicate.PaymentWebhook
- type OrderOption
- func ByCallbackURL(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByNetworkField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByPaymentOrderField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByWebhookID(opts ...sql.OrderTermOption) OrderOption
- func ByWebhookSecret(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the paymentwebhook type in the database. Label = "payment_webhook" // 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" // FieldWebhookID holds the string denoting the webhook_id field in the database. FieldWebhookID = "webhook_id" // FieldWebhookSecret holds the string denoting the webhook_secret field in the database. FieldWebhookSecret = "webhook_secret" // FieldCallbackURL holds the string denoting the callback_url field in the database. FieldCallbackURL = "callback_url" // EdgePaymentOrder holds the string denoting the payment_order edge name in mutations. EdgePaymentOrder = "payment_order" // EdgeNetwork holds the string denoting the network edge name in mutations. EdgeNetwork = "network" // Table holds the table name of the paymentwebhook in the database. Table = "payment_webhooks" // PaymentOrderTable is the table that holds the payment_order relation/edge. PaymentOrderTable = "payment_webhooks" // PaymentOrderInverseTable is the table name for the PaymentOrder entity. // It exists in this package in order to avoid circular dependency with the "paymentorder" package. PaymentOrderInverseTable = "payment_orders" // PaymentOrderColumn is the table column denoting the payment_order relation/edge. PaymentOrderColumn = "payment_order_payment_webhook" // NetworkTable is the table that holds the network relation/edge. NetworkTable = "payment_webhooks" // NetworkInverseTable is the table name for the Network entity. // It exists in this package in order to avoid circular dependency with the "network" package. NetworkInverseTable = "networks" // NetworkColumn is the table column denoting the network relation/edge. NetworkColumn = "network_payment_webhook" )
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 // WebhookIDValidator is a validator for the "webhook_id" field. It is called by the builders before save. WebhookIDValidator func(string) error // WebhookSecretValidator is a validator for the "webhook_secret" field. It is called by the builders before save. WebhookSecretValidator func(string) error // CallbackURLValidator is a validator for the "callback_url" field. It is called by the builders before save. CallbackURLValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldWebhookID, FieldWebhookSecret, FieldCallbackURL, }
Columns holds all SQL columns for paymentwebhook fields.
var ForeignKeys = []string{
"network_payment_webhook",
"payment_order_payment_webhook",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "payment_webhooks" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.PaymentWebhook) predicate.PaymentWebhook
And groups predicates with the AND operator between them.
func CallbackURL ¶
func CallbackURL(v string) predicate.PaymentWebhook
CallbackURL applies equality check predicate on the "callback_url" field. It's identical to CallbackURLEQ.
func CallbackURLContains ¶
func CallbackURLContains(v string) predicate.PaymentWebhook
CallbackURLContains applies the Contains predicate on the "callback_url" field.
func CallbackURLContainsFold ¶
func CallbackURLContainsFold(v string) predicate.PaymentWebhook
CallbackURLContainsFold applies the ContainsFold predicate on the "callback_url" field.
func CallbackURLEQ ¶
func CallbackURLEQ(v string) predicate.PaymentWebhook
CallbackURLEQ applies the EQ predicate on the "callback_url" field.
func CallbackURLEqualFold ¶
func CallbackURLEqualFold(v string) predicate.PaymentWebhook
CallbackURLEqualFold applies the EqualFold predicate on the "callback_url" field.
func CallbackURLGT ¶
func CallbackURLGT(v string) predicate.PaymentWebhook
CallbackURLGT applies the GT predicate on the "callback_url" field.
func CallbackURLGTE ¶
func CallbackURLGTE(v string) predicate.PaymentWebhook
CallbackURLGTE applies the GTE predicate on the "callback_url" field.
func CallbackURLHasPrefix ¶
func CallbackURLHasPrefix(v string) predicate.PaymentWebhook
CallbackURLHasPrefix applies the HasPrefix predicate on the "callback_url" field.
func CallbackURLHasSuffix ¶
func CallbackURLHasSuffix(v string) predicate.PaymentWebhook
CallbackURLHasSuffix applies the HasSuffix predicate on the "callback_url" field.
func CallbackURLIn ¶
func CallbackURLIn(vs ...string) predicate.PaymentWebhook
CallbackURLIn applies the In predicate on the "callback_url" field.
func CallbackURLLT ¶
func CallbackURLLT(v string) predicate.PaymentWebhook
CallbackURLLT applies the LT predicate on the "callback_url" field.
func CallbackURLLTE ¶
func CallbackURLLTE(v string) predicate.PaymentWebhook
CallbackURLLTE applies the LTE predicate on the "callback_url" field.
func CallbackURLNEQ ¶
func CallbackURLNEQ(v string) predicate.PaymentWebhook
CallbackURLNEQ applies the NEQ predicate on the "callback_url" field.
func CallbackURLNotIn ¶
func CallbackURLNotIn(vs ...string) predicate.PaymentWebhook
CallbackURLNotIn applies the NotIn predicate on the "callback_url" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.PaymentWebhook
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.PaymentWebhook
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.PaymentWebhook
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.PaymentWebhook
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.PaymentWebhook
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.PaymentWebhook
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.PaymentWebhook
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.PaymentWebhook
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.PaymentWebhook
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasNetwork ¶
func HasNetwork() predicate.PaymentWebhook
HasNetwork applies the HasEdge predicate on the "network" edge.
func HasNetworkWith ¶
func HasNetworkWith(preds ...predicate.Network) predicate.PaymentWebhook
HasNetworkWith applies the HasEdge predicate on the "network" edge with a given conditions (other predicates).
func HasPaymentOrder ¶
func HasPaymentOrder() predicate.PaymentWebhook
HasPaymentOrder applies the HasEdge predicate on the "payment_order" edge.
func HasPaymentOrderWith ¶
func HasPaymentOrderWith(preds ...predicate.PaymentOrder) predicate.PaymentWebhook
HasPaymentOrderWith applies the HasEdge predicate on the "payment_order" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.PaymentWebhook
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.PaymentWebhook
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.PaymentWebhook
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.PaymentWebhook
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.PaymentWebhook
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.PaymentWebhook
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.PaymentWebhook
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.PaymentWebhook
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.PaymentWebhook
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.PaymentWebhook) predicate.PaymentWebhook
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.PaymentWebhook) predicate.PaymentWebhook
Or groups predicates with the OR operator between them.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.PaymentWebhook
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.PaymentWebhook
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.PaymentWebhook
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.PaymentWebhook
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.PaymentWebhook
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.PaymentWebhook
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.PaymentWebhook
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.PaymentWebhook
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.PaymentWebhook
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 WebhookID ¶
func WebhookID(v string) predicate.PaymentWebhook
WebhookID applies equality check predicate on the "webhook_id" field. It's identical to WebhookIDEQ.
func WebhookIDContains ¶
func WebhookIDContains(v string) predicate.PaymentWebhook
WebhookIDContains applies the Contains predicate on the "webhook_id" field.
func WebhookIDContainsFold ¶
func WebhookIDContainsFold(v string) predicate.PaymentWebhook
WebhookIDContainsFold applies the ContainsFold predicate on the "webhook_id" field.
func WebhookIDEQ ¶
func WebhookIDEQ(v string) predicate.PaymentWebhook
WebhookIDEQ applies the EQ predicate on the "webhook_id" field.
func WebhookIDEqualFold ¶
func WebhookIDEqualFold(v string) predicate.PaymentWebhook
WebhookIDEqualFold applies the EqualFold predicate on the "webhook_id" field.
func WebhookIDGT ¶
func WebhookIDGT(v string) predicate.PaymentWebhook
WebhookIDGT applies the GT predicate on the "webhook_id" field.
func WebhookIDGTE ¶
func WebhookIDGTE(v string) predicate.PaymentWebhook
WebhookIDGTE applies the GTE predicate on the "webhook_id" field.
func WebhookIDHasPrefix ¶
func WebhookIDHasPrefix(v string) predicate.PaymentWebhook
WebhookIDHasPrefix applies the HasPrefix predicate on the "webhook_id" field.
func WebhookIDHasSuffix ¶
func WebhookIDHasSuffix(v string) predicate.PaymentWebhook
WebhookIDHasSuffix applies the HasSuffix predicate on the "webhook_id" field.
func WebhookIDIn ¶
func WebhookIDIn(vs ...string) predicate.PaymentWebhook
WebhookIDIn applies the In predicate on the "webhook_id" field.
func WebhookIDLT ¶
func WebhookIDLT(v string) predicate.PaymentWebhook
WebhookIDLT applies the LT predicate on the "webhook_id" field.
func WebhookIDLTE ¶
func WebhookIDLTE(v string) predicate.PaymentWebhook
WebhookIDLTE applies the LTE predicate on the "webhook_id" field.
func WebhookIDNEQ ¶
func WebhookIDNEQ(v string) predicate.PaymentWebhook
WebhookIDNEQ applies the NEQ predicate on the "webhook_id" field.
func WebhookIDNotIn ¶
func WebhookIDNotIn(vs ...string) predicate.PaymentWebhook
WebhookIDNotIn applies the NotIn predicate on the "webhook_id" field.
func WebhookSecret ¶
func WebhookSecret(v string) predicate.PaymentWebhook
WebhookSecret applies equality check predicate on the "webhook_secret" field. It's identical to WebhookSecretEQ.
func WebhookSecretContains ¶
func WebhookSecretContains(v string) predicate.PaymentWebhook
WebhookSecretContains applies the Contains predicate on the "webhook_secret" field.
func WebhookSecretContainsFold ¶
func WebhookSecretContainsFold(v string) predicate.PaymentWebhook
WebhookSecretContainsFold applies the ContainsFold predicate on the "webhook_secret" field.
func WebhookSecretEQ ¶
func WebhookSecretEQ(v string) predicate.PaymentWebhook
WebhookSecretEQ applies the EQ predicate on the "webhook_secret" field.
func WebhookSecretEqualFold ¶
func WebhookSecretEqualFold(v string) predicate.PaymentWebhook
WebhookSecretEqualFold applies the EqualFold predicate on the "webhook_secret" field.
func WebhookSecretGT ¶
func WebhookSecretGT(v string) predicate.PaymentWebhook
WebhookSecretGT applies the GT predicate on the "webhook_secret" field.
func WebhookSecretGTE ¶
func WebhookSecretGTE(v string) predicate.PaymentWebhook
WebhookSecretGTE applies the GTE predicate on the "webhook_secret" field.
func WebhookSecretHasPrefix ¶
func WebhookSecretHasPrefix(v string) predicate.PaymentWebhook
WebhookSecretHasPrefix applies the HasPrefix predicate on the "webhook_secret" field.
func WebhookSecretHasSuffix ¶
func WebhookSecretHasSuffix(v string) predicate.PaymentWebhook
WebhookSecretHasSuffix applies the HasSuffix predicate on the "webhook_secret" field.
func WebhookSecretIn ¶
func WebhookSecretIn(vs ...string) predicate.PaymentWebhook
WebhookSecretIn applies the In predicate on the "webhook_secret" field.
func WebhookSecretLT ¶
func WebhookSecretLT(v string) predicate.PaymentWebhook
WebhookSecretLT applies the LT predicate on the "webhook_secret" field.
func WebhookSecretLTE ¶
func WebhookSecretLTE(v string) predicate.PaymentWebhook
WebhookSecretLTE applies the LTE predicate on the "webhook_secret" field.
func WebhookSecretNEQ ¶
func WebhookSecretNEQ(v string) predicate.PaymentWebhook
WebhookSecretNEQ applies the NEQ predicate on the "webhook_secret" field.
func WebhookSecretNotIn ¶
func WebhookSecretNotIn(vs ...string) predicate.PaymentWebhook
WebhookSecretNotIn applies the NotIn predicate on the "webhook_secret" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the PaymentWebhook queries.
func ByCallbackURL ¶
func ByCallbackURL(opts ...sql.OrderTermOption) OrderOption
ByCallbackURL orders the results by the callback_url field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByNetworkField ¶
func ByNetworkField(field string, opts ...sql.OrderTermOption) OrderOption
ByNetworkField orders the results by network field.
func ByPaymentOrderField ¶
func ByPaymentOrderField(field string, opts ...sql.OrderTermOption) OrderOption
ByPaymentOrderField orders the results by payment_order field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByWebhookID ¶
func ByWebhookID(opts ...sql.OrderTermOption) OrderOption
ByWebhookID orders the results by the webhook_id field.
func ByWebhookSecret ¶
func ByWebhookSecret(opts ...sql.OrderTermOption) OrderOption
ByWebhookSecret orders the results by the webhook_secret field.