Documentation
¶
Index ¶
- Constants
- Variables
- func Amount(v decimal.Decimal) predicate.Payment
- func AmountEQ(v decimal.Decimal) predicate.Payment
- func AmountGT(v decimal.Decimal) predicate.Payment
- func AmountGTE(v decimal.Decimal) predicate.Payment
- func AmountIn(vs ...decimal.Decimal) predicate.Payment
- func AmountLT(v decimal.Decimal) predicate.Payment
- func AmountLTE(v decimal.Decimal) predicate.Payment
- func AmountNEQ(v decimal.Decimal) predicate.Payment
- func AmountNotIn(vs ...decimal.Decimal) predicate.Payment
- func And(predicates ...predicate.Payment) predicate.Payment
- func CreatedAt(v time.Time) predicate.Payment
- func CreatedAtEQ(v time.Time) predicate.Payment
- func CreatedAtGT(v time.Time) predicate.Payment
- func CreatedAtGTE(v time.Time) predicate.Payment
- func CreatedAtIn(vs ...time.Time) predicate.Payment
- func CreatedAtLT(v time.Time) predicate.Payment
- func CreatedAtLTE(v time.Time) predicate.Payment
- func CreatedAtNEQ(v time.Time) predicate.Payment
- func CreatedAtNotIn(vs ...time.Time) predicate.Payment
- func CreatedBy(v string) predicate.Payment
- func CreatedByContains(v string) predicate.Payment
- func CreatedByContainsFold(v string) predicate.Payment
- func CreatedByEQ(v string) predicate.Payment
- func CreatedByEqualFold(v string) predicate.Payment
- func CreatedByGT(v string) predicate.Payment
- func CreatedByGTE(v string) predicate.Payment
- func CreatedByHasPrefix(v string) predicate.Payment
- func CreatedByHasSuffix(v string) predicate.Payment
- func CreatedByIn(vs ...string) predicate.Payment
- func CreatedByIsNil() predicate.Payment
- func CreatedByLT(v string) predicate.Payment
- func CreatedByLTE(v string) predicate.Payment
- func CreatedByNEQ(v string) predicate.Payment
- func CreatedByNotIn(vs ...string) predicate.Payment
- func CreatedByNotNil() predicate.Payment
- func Currency(v string) predicate.Payment
- func CurrencyContains(v string) predicate.Payment
- func CurrencyContainsFold(v string) predicate.Payment
- func CurrencyEQ(v string) predicate.Payment
- func CurrencyEqualFold(v string) predicate.Payment
- func CurrencyGT(v string) predicate.Payment
- func CurrencyGTE(v string) predicate.Payment
- func CurrencyHasPrefix(v string) predicate.Payment
- func CurrencyHasSuffix(v string) predicate.Payment
- func CurrencyIn(vs ...string) predicate.Payment
- func CurrencyLT(v string) predicate.Payment
- func CurrencyLTE(v string) predicate.Payment
- func CurrencyNEQ(v string) predicate.Payment
- func CurrencyNotIn(vs ...string) predicate.Payment
- func DestinationID(v string) predicate.Payment
- func DestinationIDContains(v string) predicate.Payment
- func DestinationIDContainsFold(v string) predicate.Payment
- func DestinationIDEQ(v string) predicate.Payment
- func DestinationIDEqualFold(v string) predicate.Payment
- func DestinationIDGT(v string) predicate.Payment
- func DestinationIDGTE(v string) predicate.Payment
- func DestinationIDHasPrefix(v string) predicate.Payment
- func DestinationIDHasSuffix(v string) predicate.Payment
- func DestinationIDIn(vs ...string) predicate.Payment
- func DestinationIDLT(v string) predicate.Payment
- func DestinationIDLTE(v string) predicate.Payment
- func DestinationIDNEQ(v string) predicate.Payment
- func DestinationIDNotIn(vs ...string) predicate.Payment
- func DestinationType(v string) predicate.Payment
- func DestinationTypeContains(v string) predicate.Payment
- func DestinationTypeContainsFold(v string) predicate.Payment
- func DestinationTypeEQ(v string) predicate.Payment
- func DestinationTypeEqualFold(v string) predicate.Payment
- func DestinationTypeGT(v string) predicate.Payment
- func DestinationTypeGTE(v string) predicate.Payment
- func DestinationTypeHasPrefix(v string) predicate.Payment
- func DestinationTypeHasSuffix(v string) predicate.Payment
- func DestinationTypeIn(vs ...string) predicate.Payment
- func DestinationTypeLT(v string) predicate.Payment
- func DestinationTypeLTE(v string) predicate.Payment
- func DestinationTypeNEQ(v string) predicate.Payment
- func DestinationTypeNotIn(vs ...string) predicate.Payment
- func EnvironmentID(v string) predicate.Payment
- func EnvironmentIDContains(v string) predicate.Payment
- func EnvironmentIDContainsFold(v string) predicate.Payment
- func EnvironmentIDEQ(v string) predicate.Payment
- func EnvironmentIDEqualFold(v string) predicate.Payment
- func EnvironmentIDGT(v string) predicate.Payment
- func EnvironmentIDGTE(v string) predicate.Payment
- func EnvironmentIDHasPrefix(v string) predicate.Payment
- func EnvironmentIDHasSuffix(v string) predicate.Payment
- func EnvironmentIDIn(vs ...string) predicate.Payment
- func EnvironmentIDIsNil() predicate.Payment
- func EnvironmentIDLT(v string) predicate.Payment
- func EnvironmentIDLTE(v string) predicate.Payment
- func EnvironmentIDNEQ(v string) predicate.Payment
- func EnvironmentIDNotIn(vs ...string) predicate.Payment
- func EnvironmentIDNotNil() predicate.Payment
- func ErrorMessage(v string) predicate.Payment
- func ErrorMessageContains(v string) predicate.Payment
- func ErrorMessageContainsFold(v string) predicate.Payment
- func ErrorMessageEQ(v string) predicate.Payment
- func ErrorMessageEqualFold(v string) predicate.Payment
- func ErrorMessageGT(v string) predicate.Payment
- func ErrorMessageGTE(v string) predicate.Payment
- func ErrorMessageHasPrefix(v string) predicate.Payment
- func ErrorMessageHasSuffix(v string) predicate.Payment
- func ErrorMessageIn(vs ...string) predicate.Payment
- func ErrorMessageIsNil() predicate.Payment
- func ErrorMessageLT(v string) predicate.Payment
- func ErrorMessageLTE(v string) predicate.Payment
- func ErrorMessageNEQ(v string) predicate.Payment
- func ErrorMessageNotIn(vs ...string) predicate.Payment
- func ErrorMessageNotNil() predicate.Payment
- func FailedAt(v time.Time) predicate.Payment
- func FailedAtEQ(v time.Time) predicate.Payment
- func FailedAtGT(v time.Time) predicate.Payment
- func FailedAtGTE(v time.Time) predicate.Payment
- func FailedAtIn(vs ...time.Time) predicate.Payment
- func FailedAtIsNil() predicate.Payment
- func FailedAtLT(v time.Time) predicate.Payment
- func FailedAtLTE(v time.Time) predicate.Payment
- func FailedAtNEQ(v time.Time) predicate.Payment
- func FailedAtNotIn(vs ...time.Time) predicate.Payment
- func FailedAtNotNil() predicate.Payment
- func GatewayPaymentID(v string) predicate.Payment
- func GatewayPaymentIDContains(v string) predicate.Payment
- func GatewayPaymentIDContainsFold(v string) predicate.Payment
- func GatewayPaymentIDEQ(v string) predicate.Payment
- func GatewayPaymentIDEqualFold(v string) predicate.Payment
- func GatewayPaymentIDGT(v string) predicate.Payment
- func GatewayPaymentIDGTE(v string) predicate.Payment
- func GatewayPaymentIDHasPrefix(v string) predicate.Payment
- func GatewayPaymentIDHasSuffix(v string) predicate.Payment
- func GatewayPaymentIDIn(vs ...string) predicate.Payment
- func GatewayPaymentIDIsNil() predicate.Payment
- func GatewayPaymentIDLT(v string) predicate.Payment
- func GatewayPaymentIDLTE(v string) predicate.Payment
- func GatewayPaymentIDNEQ(v string) predicate.Payment
- func GatewayPaymentIDNotIn(vs ...string) predicate.Payment
- func GatewayPaymentIDNotNil() predicate.Payment
- func HasAttempts() predicate.Payment
- func HasAttemptsWith(preds ...predicate.PaymentAttempt) predicate.Payment
- func ID(id string) predicate.Payment
- func IDContainsFold(id string) predicate.Payment
- func IDEQ(id string) predicate.Payment
- func IDEqualFold(id string) predicate.Payment
- func IDGT(id string) predicate.Payment
- func IDGTE(id string) predicate.Payment
- func IDIn(ids ...string) predicate.Payment
- func IDLT(id string) predicate.Payment
- func IDLTE(id string) predicate.Payment
- func IDNEQ(id string) predicate.Payment
- func IDNotIn(ids ...string) predicate.Payment
- func IdempotencyKey(v string) predicate.Payment
- func IdempotencyKeyContains(v string) predicate.Payment
- func IdempotencyKeyContainsFold(v string) predicate.Payment
- func IdempotencyKeyEQ(v string) predicate.Payment
- func IdempotencyKeyEqualFold(v string) predicate.Payment
- func IdempotencyKeyGT(v string) predicate.Payment
- func IdempotencyKeyGTE(v string) predicate.Payment
- func IdempotencyKeyHasPrefix(v string) predicate.Payment
- func IdempotencyKeyHasSuffix(v string) predicate.Payment
- func IdempotencyKeyIn(vs ...string) predicate.Payment
- func IdempotencyKeyLT(v string) predicate.Payment
- func IdempotencyKeyLTE(v string) predicate.Payment
- func IdempotencyKeyNEQ(v string) predicate.Payment
- func IdempotencyKeyNotIn(vs ...string) predicate.Payment
- func MetadataIsNil() predicate.Payment
- func MetadataNotNil() predicate.Payment
- func Not(p predicate.Payment) predicate.Payment
- func Or(predicates ...predicate.Payment) predicate.Payment
- func PaymentGateway(v string) predicate.Payment
- func PaymentGatewayContains(v string) predicate.Payment
- func PaymentGatewayContainsFold(v string) predicate.Payment
- func PaymentGatewayEQ(v string) predicate.Payment
- func PaymentGatewayEqualFold(v string) predicate.Payment
- func PaymentGatewayGT(v string) predicate.Payment
- func PaymentGatewayGTE(v string) predicate.Payment
- func PaymentGatewayHasPrefix(v string) predicate.Payment
- func PaymentGatewayHasSuffix(v string) predicate.Payment
- func PaymentGatewayIn(vs ...string) predicate.Payment
- func PaymentGatewayIsNil() predicate.Payment
- func PaymentGatewayLT(v string) predicate.Payment
- func PaymentGatewayLTE(v string) predicate.Payment
- func PaymentGatewayNEQ(v string) predicate.Payment
- func PaymentGatewayNotIn(vs ...string) predicate.Payment
- func PaymentGatewayNotNil() predicate.Payment
- func PaymentMethodID(v string) predicate.Payment
- func PaymentMethodIDContains(v string) predicate.Payment
- func PaymentMethodIDContainsFold(v string) predicate.Payment
- func PaymentMethodIDEQ(v string) predicate.Payment
- func PaymentMethodIDEqualFold(v string) predicate.Payment
- func PaymentMethodIDGT(v string) predicate.Payment
- func PaymentMethodIDGTE(v string) predicate.Payment
- func PaymentMethodIDHasPrefix(v string) predicate.Payment
- func PaymentMethodIDHasSuffix(v string) predicate.Payment
- func PaymentMethodIDIn(vs ...string) predicate.Payment
- func PaymentMethodIDIsNil() predicate.Payment
- func PaymentMethodIDLT(v string) predicate.Payment
- func PaymentMethodIDLTE(v string) predicate.Payment
- func PaymentMethodIDNEQ(v string) predicate.Payment
- func PaymentMethodIDNotIn(vs ...string) predicate.Payment
- func PaymentMethodIDNotNil() predicate.Payment
- func PaymentMethodType(v string) predicate.Payment
- func PaymentMethodTypeContains(v string) predicate.Payment
- func PaymentMethodTypeContainsFold(v string) predicate.Payment
- func PaymentMethodTypeEQ(v string) predicate.Payment
- func PaymentMethodTypeEqualFold(v string) predicate.Payment
- func PaymentMethodTypeGT(v string) predicate.Payment
- func PaymentMethodTypeGTE(v string) predicate.Payment
- func PaymentMethodTypeHasPrefix(v string) predicate.Payment
- func PaymentMethodTypeHasSuffix(v string) predicate.Payment
- func PaymentMethodTypeIn(vs ...string) predicate.Payment
- func PaymentMethodTypeLT(v string) predicate.Payment
- func PaymentMethodTypeLTE(v string) predicate.Payment
- func PaymentMethodTypeNEQ(v string) predicate.Payment
- func PaymentMethodTypeNotIn(vs ...string) predicate.Payment
- func PaymentStatus(v string) predicate.Payment
- func PaymentStatusContains(v string) predicate.Payment
- func PaymentStatusContainsFold(v string) predicate.Payment
- func PaymentStatusEQ(v string) predicate.Payment
- func PaymentStatusEqualFold(v string) predicate.Payment
- func PaymentStatusGT(v string) predicate.Payment
- func PaymentStatusGTE(v string) predicate.Payment
- func PaymentStatusHasPrefix(v string) predicate.Payment
- func PaymentStatusHasSuffix(v string) predicate.Payment
- func PaymentStatusIn(vs ...string) predicate.Payment
- func PaymentStatusLT(v string) predicate.Payment
- func PaymentStatusLTE(v string) predicate.Payment
- func PaymentStatusNEQ(v string) predicate.Payment
- func PaymentStatusNotIn(vs ...string) predicate.Payment
- func RecordedAt(v time.Time) predicate.Payment
- func RecordedAtEQ(v time.Time) predicate.Payment
- func RecordedAtGT(v time.Time) predicate.Payment
- func RecordedAtGTE(v time.Time) predicate.Payment
- func RecordedAtIn(vs ...time.Time) predicate.Payment
- func RecordedAtIsNil() predicate.Payment
- func RecordedAtLT(v time.Time) predicate.Payment
- func RecordedAtLTE(v time.Time) predicate.Payment
- func RecordedAtNEQ(v time.Time) predicate.Payment
- func RecordedAtNotIn(vs ...time.Time) predicate.Payment
- func RecordedAtNotNil() predicate.Payment
- func RefundedAt(v time.Time) predicate.Payment
- func RefundedAtEQ(v time.Time) predicate.Payment
- func RefundedAtGT(v time.Time) predicate.Payment
- func RefundedAtGTE(v time.Time) predicate.Payment
- func RefundedAtIn(vs ...time.Time) predicate.Payment
- func RefundedAtIsNil() predicate.Payment
- func RefundedAtLT(v time.Time) predicate.Payment
- func RefundedAtLTE(v time.Time) predicate.Payment
- func RefundedAtNEQ(v time.Time) predicate.Payment
- func RefundedAtNotIn(vs ...time.Time) predicate.Payment
- func RefundedAtNotNil() predicate.Payment
- func Status(v string) predicate.Payment
- func StatusContains(v string) predicate.Payment
- func StatusContainsFold(v string) predicate.Payment
- func StatusEQ(v string) predicate.Payment
- func StatusEqualFold(v string) predicate.Payment
- func StatusGT(v string) predicate.Payment
- func StatusGTE(v string) predicate.Payment
- func StatusHasPrefix(v string) predicate.Payment
- func StatusHasSuffix(v string) predicate.Payment
- func StatusIn(vs ...string) predicate.Payment
- func StatusLT(v string) predicate.Payment
- func StatusLTE(v string) predicate.Payment
- func StatusNEQ(v string) predicate.Payment
- func StatusNotIn(vs ...string) predicate.Payment
- func SucceededAt(v time.Time) predicate.Payment
- func SucceededAtEQ(v time.Time) predicate.Payment
- func SucceededAtGT(v time.Time) predicate.Payment
- func SucceededAtGTE(v time.Time) predicate.Payment
- func SucceededAtIn(vs ...time.Time) predicate.Payment
- func SucceededAtIsNil() predicate.Payment
- func SucceededAtLT(v time.Time) predicate.Payment
- func SucceededAtLTE(v time.Time) predicate.Payment
- func SucceededAtNEQ(v time.Time) predicate.Payment
- func SucceededAtNotIn(vs ...time.Time) predicate.Payment
- func SucceededAtNotNil() predicate.Payment
- func TenantID(v string) predicate.Payment
- func TenantIDContains(v string) predicate.Payment
- func TenantIDContainsFold(v string) predicate.Payment
- func TenantIDEQ(v string) predicate.Payment
- func TenantIDEqualFold(v string) predicate.Payment
- func TenantIDGT(v string) predicate.Payment
- func TenantIDGTE(v string) predicate.Payment
- func TenantIDHasPrefix(v string) predicate.Payment
- func TenantIDHasSuffix(v string) predicate.Payment
- func TenantIDIn(vs ...string) predicate.Payment
- func TenantIDLT(v string) predicate.Payment
- func TenantIDLTE(v string) predicate.Payment
- func TenantIDNEQ(v string) predicate.Payment
- func TenantIDNotIn(vs ...string) predicate.Payment
- func TrackAttempts(v bool) predicate.Payment
- func TrackAttemptsEQ(v bool) predicate.Payment
- func TrackAttemptsNEQ(v bool) predicate.Payment
- func UpdatedAt(v time.Time) predicate.Payment
- func UpdatedAtEQ(v time.Time) predicate.Payment
- func UpdatedAtGT(v time.Time) predicate.Payment
- func UpdatedAtGTE(v time.Time) predicate.Payment
- func UpdatedAtIn(vs ...time.Time) predicate.Payment
- func UpdatedAtLT(v time.Time) predicate.Payment
- func UpdatedAtLTE(v time.Time) predicate.Payment
- func UpdatedAtNEQ(v time.Time) predicate.Payment
- func UpdatedAtNotIn(vs ...time.Time) predicate.Payment
- func UpdatedBy(v string) predicate.Payment
- func UpdatedByContains(v string) predicate.Payment
- func UpdatedByContainsFold(v string) predicate.Payment
- func UpdatedByEQ(v string) predicate.Payment
- func UpdatedByEqualFold(v string) predicate.Payment
- func UpdatedByGT(v string) predicate.Payment
- func UpdatedByGTE(v string) predicate.Payment
- func UpdatedByHasPrefix(v string) predicate.Payment
- func UpdatedByHasSuffix(v string) predicate.Payment
- func UpdatedByIn(vs ...string) predicate.Payment
- func UpdatedByIsNil() predicate.Payment
- func UpdatedByLT(v string) predicate.Payment
- func UpdatedByLTE(v string) predicate.Payment
- func UpdatedByNEQ(v string) predicate.Payment
- func UpdatedByNotIn(vs ...string) predicate.Payment
- func UpdatedByNotNil() predicate.Payment
- func ValidColumn(column string) bool
- type OrderOption
- func ByAmount(opts ...sql.OrderTermOption) OrderOption
- func ByAttempts(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByAttemptsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByCurrency(opts ...sql.OrderTermOption) OrderOption
- func ByDestinationID(opts ...sql.OrderTermOption) OrderOption
- func ByDestinationType(opts ...sql.OrderTermOption) OrderOption
- func ByEnvironmentID(opts ...sql.OrderTermOption) OrderOption
- func ByErrorMessage(opts ...sql.OrderTermOption) OrderOption
- func ByFailedAt(opts ...sql.OrderTermOption) OrderOption
- func ByGatewayPaymentID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIdempotencyKey(opts ...sql.OrderTermOption) OrderOption
- func ByPaymentGateway(opts ...sql.OrderTermOption) OrderOption
- func ByPaymentMethodID(opts ...sql.OrderTermOption) OrderOption
- func ByPaymentMethodType(opts ...sql.OrderTermOption) OrderOption
- func ByPaymentStatus(opts ...sql.OrderTermOption) OrderOption
- func ByRecordedAt(opts ...sql.OrderTermOption) OrderOption
- func ByRefundedAt(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func BySucceededAt(opts ...sql.OrderTermOption) OrderOption
- func ByTenantID(opts ...sql.OrderTermOption) OrderOption
- func ByTrackAttempts(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the payment type in the database. Label = "payment" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldTenantID holds the string denoting the tenant_id field in the database. FieldTenantID = "tenant_id" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldEnvironmentID holds the string denoting the environment_id field in the database. FieldEnvironmentID = "environment_id" // FieldIdempotencyKey holds the string denoting the idempotency_key field in the database. FieldIdempotencyKey = "idempotency_key" // FieldDestinationType holds the string denoting the destination_type field in the database. FieldDestinationType = "destination_type" // FieldDestinationID holds the string denoting the destination_id field in the database. FieldDestinationID = "destination_id" // FieldPaymentMethodType holds the string denoting the payment_method_type field in the database. FieldPaymentMethodType = "payment_method_type" // FieldPaymentMethodID holds the string denoting the payment_method_id field in the database. FieldPaymentMethodID = "payment_method_id" // FieldPaymentGateway holds the string denoting the payment_gateway field in the database. FieldPaymentGateway = "payment_gateway" // FieldGatewayPaymentID holds the string denoting the gateway_payment_id field in the database. FieldGatewayPaymentID = "gateway_payment_id" // FieldAmount holds the string denoting the amount field in the database. FieldAmount = "amount" // FieldCurrency holds the string denoting the currency field in the database. FieldCurrency = "currency" // FieldPaymentStatus holds the string denoting the payment_status field in the database. FieldPaymentStatus = "payment_status" // FieldTrackAttempts holds the string denoting the track_attempts field in the database. FieldTrackAttempts = "track_attempts" // FieldMetadata holds the string denoting the metadata field in the database. FieldMetadata = "metadata" // FieldSucceededAt holds the string denoting the succeeded_at field in the database. FieldSucceededAt = "succeeded_at" // FieldFailedAt holds the string denoting the failed_at field in the database. FieldFailedAt = "failed_at" // FieldRefundedAt holds the string denoting the refunded_at field in the database. FieldRefundedAt = "refunded_at" // FieldRecordedAt holds the string denoting the recorded_at field in the database. FieldRecordedAt = "recorded_at" // FieldErrorMessage holds the string denoting the error_message field in the database. FieldErrorMessage = "error_message" // EdgeAttempts holds the string denoting the attempts edge name in mutations. EdgeAttempts = "attempts" // Table holds the table name of the payment in the database. Table = "payments" // AttemptsTable is the table that holds the attempts relation/edge. AttemptsTable = "payment_attempts" // AttemptsInverseTable is the table name for the PaymentAttempt entity. // It exists in this package in order to avoid circular dependency with the "paymentattempt" package. AttemptsInverseTable = "payment_attempts" // AttemptsColumn is the table column denoting the attempts relation/edge. AttemptsColumn = "payment_id" )
Variables ¶
var ( // TenantIDValidator is a validator for the "tenant_id" field. It is called by the builders before save. TenantIDValidator func(string) error // DefaultStatus holds the default value on creation for the "status" field. DefaultStatus string // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultEnvironmentID holds the default value on creation for the "environment_id" field. DefaultEnvironmentID string // DestinationTypeValidator is a validator for the "destination_type" field. It is called by the builders before save. DestinationTypeValidator func(string) error // DestinationIDValidator is a validator for the "destination_id" field. It is called by the builders before save. DestinationIDValidator func(string) error // PaymentMethodTypeValidator is a validator for the "payment_method_type" field. It is called by the builders before save. PaymentMethodTypeValidator func(string) error // DefaultAmount holds the default value on creation for the "amount" field. DefaultAmount decimal.Decimal // CurrencyValidator is a validator for the "currency" field. It is called by the builders before save. CurrencyValidator func(string) error // PaymentStatusValidator is a validator for the "payment_status" field. It is called by the builders before save. PaymentStatusValidator func(string) error // DefaultTrackAttempts holds the default value on creation for the "track_attempts" field. DefaultTrackAttempts bool )
var Columns = []string{ FieldID, FieldTenantID, FieldStatus, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldEnvironmentID, FieldIdempotencyKey, FieldDestinationType, FieldDestinationID, FieldPaymentMethodType, FieldPaymentMethodID, FieldPaymentGateway, FieldGatewayPaymentID, FieldAmount, FieldCurrency, FieldPaymentStatus, FieldTrackAttempts, FieldMetadata, FieldSucceededAt, FieldFailedAt, FieldRefundedAt, FieldRecordedAt, FieldErrorMessage, }
Columns holds all SQL columns for payment fields.
Functions ¶
func Amount ¶
Amount applies equality check predicate on the "amount" field. It's identical to AmountEQ.
func AmountNotIn ¶
AmountNotIn applies the NotIn predicate on the "amount" 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 CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func Currency ¶
Currency applies equality check predicate on the "currency" field. It's identical to CurrencyEQ.
func CurrencyContains ¶
CurrencyContains applies the Contains predicate on the "currency" field.
func CurrencyContainsFold ¶
CurrencyContainsFold applies the ContainsFold predicate on the "currency" field.
func CurrencyEQ ¶
CurrencyEQ applies the EQ predicate on the "currency" field.
func CurrencyEqualFold ¶
CurrencyEqualFold applies the EqualFold predicate on the "currency" field.
func CurrencyGT ¶
CurrencyGT applies the GT predicate on the "currency" field.
func CurrencyGTE ¶
CurrencyGTE applies the GTE predicate on the "currency" field.
func CurrencyHasPrefix ¶
CurrencyHasPrefix applies the HasPrefix predicate on the "currency" field.
func CurrencyHasSuffix ¶
CurrencyHasSuffix applies the HasSuffix predicate on the "currency" field.
func CurrencyIn ¶
CurrencyIn applies the In predicate on the "currency" field.
func CurrencyLT ¶
CurrencyLT applies the LT predicate on the "currency" field.
func CurrencyLTE ¶
CurrencyLTE applies the LTE predicate on the "currency" field.
func CurrencyNEQ ¶
CurrencyNEQ applies the NEQ predicate on the "currency" field.
func CurrencyNotIn ¶
CurrencyNotIn applies the NotIn predicate on the "currency" field.
func DestinationID ¶
DestinationID applies equality check predicate on the "destination_id" field. It's identical to DestinationIDEQ.
func DestinationIDContains ¶
DestinationIDContains applies the Contains predicate on the "destination_id" field.
func DestinationIDContainsFold ¶
DestinationIDContainsFold applies the ContainsFold predicate on the "destination_id" field.
func DestinationIDEQ ¶
DestinationIDEQ applies the EQ predicate on the "destination_id" field.
func DestinationIDEqualFold ¶
DestinationIDEqualFold applies the EqualFold predicate on the "destination_id" field.
func DestinationIDGT ¶
DestinationIDGT applies the GT predicate on the "destination_id" field.
func DestinationIDGTE ¶
DestinationIDGTE applies the GTE predicate on the "destination_id" field.
func DestinationIDHasPrefix ¶
DestinationIDHasPrefix applies the HasPrefix predicate on the "destination_id" field.
func DestinationIDHasSuffix ¶
DestinationIDHasSuffix applies the HasSuffix predicate on the "destination_id" field.
func DestinationIDIn ¶
DestinationIDIn applies the In predicate on the "destination_id" field.
func DestinationIDLT ¶
DestinationIDLT applies the LT predicate on the "destination_id" field.
func DestinationIDLTE ¶
DestinationIDLTE applies the LTE predicate on the "destination_id" field.
func DestinationIDNEQ ¶
DestinationIDNEQ applies the NEQ predicate on the "destination_id" field.
func DestinationIDNotIn ¶
DestinationIDNotIn applies the NotIn predicate on the "destination_id" field.
func DestinationType ¶
DestinationType applies equality check predicate on the "destination_type" field. It's identical to DestinationTypeEQ.
func DestinationTypeContains ¶
DestinationTypeContains applies the Contains predicate on the "destination_type" field.
func DestinationTypeContainsFold ¶
DestinationTypeContainsFold applies the ContainsFold predicate on the "destination_type" field.
func DestinationTypeEQ ¶
DestinationTypeEQ applies the EQ predicate on the "destination_type" field.
func DestinationTypeEqualFold ¶
DestinationTypeEqualFold applies the EqualFold predicate on the "destination_type" field.
func DestinationTypeGT ¶
DestinationTypeGT applies the GT predicate on the "destination_type" field.
func DestinationTypeGTE ¶
DestinationTypeGTE applies the GTE predicate on the "destination_type" field.
func DestinationTypeHasPrefix ¶
DestinationTypeHasPrefix applies the HasPrefix predicate on the "destination_type" field.
func DestinationTypeHasSuffix ¶
DestinationTypeHasSuffix applies the HasSuffix predicate on the "destination_type" field.
func DestinationTypeIn ¶
DestinationTypeIn applies the In predicate on the "destination_type" field.
func DestinationTypeLT ¶
DestinationTypeLT applies the LT predicate on the "destination_type" field.
func DestinationTypeLTE ¶
DestinationTypeLTE applies the LTE predicate on the "destination_type" field.
func DestinationTypeNEQ ¶
DestinationTypeNEQ applies the NEQ predicate on the "destination_type" field.
func DestinationTypeNotIn ¶
DestinationTypeNotIn applies the NotIn predicate on the "destination_type" field.
func EnvironmentID ¶
EnvironmentID applies equality check predicate on the "environment_id" field. It's identical to EnvironmentIDEQ.
func EnvironmentIDContains ¶
EnvironmentIDContains applies the Contains predicate on the "environment_id" field.
func EnvironmentIDContainsFold ¶
EnvironmentIDContainsFold applies the ContainsFold predicate on the "environment_id" field.
func EnvironmentIDEQ ¶
EnvironmentIDEQ applies the EQ predicate on the "environment_id" field.
func EnvironmentIDEqualFold ¶
EnvironmentIDEqualFold applies the EqualFold predicate on the "environment_id" field.
func EnvironmentIDGT ¶
EnvironmentIDGT applies the GT predicate on the "environment_id" field.
func EnvironmentIDGTE ¶
EnvironmentIDGTE applies the GTE predicate on the "environment_id" field.
func EnvironmentIDHasPrefix ¶
EnvironmentIDHasPrefix applies the HasPrefix predicate on the "environment_id" field.
func EnvironmentIDHasSuffix ¶
EnvironmentIDHasSuffix applies the HasSuffix predicate on the "environment_id" field.
func EnvironmentIDIn ¶
EnvironmentIDIn applies the In predicate on the "environment_id" field.
func EnvironmentIDIsNil ¶
EnvironmentIDIsNil applies the IsNil predicate on the "environment_id" field.
func EnvironmentIDLT ¶
EnvironmentIDLT applies the LT predicate on the "environment_id" field.
func EnvironmentIDLTE ¶
EnvironmentIDLTE applies the LTE predicate on the "environment_id" field.
func EnvironmentIDNEQ ¶
EnvironmentIDNEQ applies the NEQ predicate on the "environment_id" field.
func EnvironmentIDNotIn ¶
EnvironmentIDNotIn applies the NotIn predicate on the "environment_id" field.
func EnvironmentIDNotNil ¶
EnvironmentIDNotNil applies the NotNil predicate on the "environment_id" 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 FailedAt ¶
FailedAt applies equality check predicate on the "failed_at" field. It's identical to FailedAtEQ.
func FailedAtEQ ¶
FailedAtEQ applies the EQ predicate on the "failed_at" field.
func FailedAtGT ¶
FailedAtGT applies the GT predicate on the "failed_at" field.
func FailedAtGTE ¶
FailedAtGTE applies the GTE predicate on the "failed_at" field.
func FailedAtIn ¶
FailedAtIn applies the In predicate on the "failed_at" field.
func FailedAtIsNil ¶
FailedAtIsNil applies the IsNil predicate on the "failed_at" field.
func FailedAtLT ¶
FailedAtLT applies the LT predicate on the "failed_at" field.
func FailedAtLTE ¶
FailedAtLTE applies the LTE predicate on the "failed_at" field.
func FailedAtNEQ ¶
FailedAtNEQ applies the NEQ predicate on the "failed_at" field.
func FailedAtNotIn ¶
FailedAtNotIn applies the NotIn predicate on the "failed_at" field.
func FailedAtNotNil ¶
FailedAtNotNil applies the NotNil predicate on the "failed_at" field.
func GatewayPaymentID ¶
GatewayPaymentID applies equality check predicate on the "gateway_payment_id" field. It's identical to GatewayPaymentIDEQ.
func GatewayPaymentIDContains ¶
GatewayPaymentIDContains applies the Contains predicate on the "gateway_payment_id" field.
func GatewayPaymentIDContainsFold ¶
GatewayPaymentIDContainsFold applies the ContainsFold predicate on the "gateway_payment_id" field.
func GatewayPaymentIDEQ ¶
GatewayPaymentIDEQ applies the EQ predicate on the "gateway_payment_id" field.
func GatewayPaymentIDEqualFold ¶
GatewayPaymentIDEqualFold applies the EqualFold predicate on the "gateway_payment_id" field.
func GatewayPaymentIDGT ¶
GatewayPaymentIDGT applies the GT predicate on the "gateway_payment_id" field.
func GatewayPaymentIDGTE ¶
GatewayPaymentIDGTE applies the GTE predicate on the "gateway_payment_id" field.
func GatewayPaymentIDHasPrefix ¶
GatewayPaymentIDHasPrefix applies the HasPrefix predicate on the "gateway_payment_id" field.
func GatewayPaymentIDHasSuffix ¶
GatewayPaymentIDHasSuffix applies the HasSuffix predicate on the "gateway_payment_id" field.
func GatewayPaymentIDIn ¶
GatewayPaymentIDIn applies the In predicate on the "gateway_payment_id" field.
func GatewayPaymentIDIsNil ¶
GatewayPaymentIDIsNil applies the IsNil predicate on the "gateway_payment_id" field.
func GatewayPaymentIDLT ¶
GatewayPaymentIDLT applies the LT predicate on the "gateway_payment_id" field.
func GatewayPaymentIDLTE ¶
GatewayPaymentIDLTE applies the LTE predicate on the "gateway_payment_id" field.
func GatewayPaymentIDNEQ ¶
GatewayPaymentIDNEQ applies the NEQ predicate on the "gateway_payment_id" field.
func GatewayPaymentIDNotIn ¶
GatewayPaymentIDNotIn applies the NotIn predicate on the "gateway_payment_id" field.
func GatewayPaymentIDNotNil ¶
GatewayPaymentIDNotNil applies the NotNil predicate on the "gateway_payment_id" field.
func HasAttempts ¶
HasAttempts applies the HasEdge predicate on the "attempts" edge.
func HasAttemptsWith ¶
func HasAttemptsWith(preds ...predicate.PaymentAttempt) predicate.Payment
HasAttemptsWith applies the HasEdge predicate on the "attempts" edge with a given conditions (other predicates).
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func IdempotencyKey ¶
IdempotencyKey applies equality check predicate on the "idempotency_key" field. It's identical to IdempotencyKeyEQ.
func IdempotencyKeyContains ¶
IdempotencyKeyContains applies the Contains predicate on the "idempotency_key" field.
func IdempotencyKeyContainsFold ¶
IdempotencyKeyContainsFold applies the ContainsFold predicate on the "idempotency_key" field.
func IdempotencyKeyEQ ¶
IdempotencyKeyEQ applies the EQ predicate on the "idempotency_key" field.
func IdempotencyKeyEqualFold ¶
IdempotencyKeyEqualFold applies the EqualFold predicate on the "idempotency_key" field.
func IdempotencyKeyGT ¶
IdempotencyKeyGT applies the GT predicate on the "idempotency_key" field.
func IdempotencyKeyGTE ¶
IdempotencyKeyGTE applies the GTE predicate on the "idempotency_key" field.
func IdempotencyKeyHasPrefix ¶
IdempotencyKeyHasPrefix applies the HasPrefix predicate on the "idempotency_key" field.
func IdempotencyKeyHasSuffix ¶
IdempotencyKeyHasSuffix applies the HasSuffix predicate on the "idempotency_key" field.
func IdempotencyKeyIn ¶
IdempotencyKeyIn applies the In predicate on the "idempotency_key" field.
func IdempotencyKeyLT ¶
IdempotencyKeyLT applies the LT predicate on the "idempotency_key" field.
func IdempotencyKeyLTE ¶
IdempotencyKeyLTE applies the LTE predicate on the "idempotency_key" field.
func IdempotencyKeyNEQ ¶
IdempotencyKeyNEQ applies the NEQ predicate on the "idempotency_key" field.
func IdempotencyKeyNotIn ¶
IdempotencyKeyNotIn applies the NotIn predicate on the "idempotency_key" field.
func MetadataIsNil ¶
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func PaymentGateway ¶
PaymentGateway applies equality check predicate on the "payment_gateway" field. It's identical to PaymentGatewayEQ.
func PaymentGatewayContains ¶
PaymentGatewayContains applies the Contains predicate on the "payment_gateway" field.
func PaymentGatewayContainsFold ¶
PaymentGatewayContainsFold applies the ContainsFold predicate on the "payment_gateway" field.
func PaymentGatewayEQ ¶
PaymentGatewayEQ applies the EQ predicate on the "payment_gateway" field.
func PaymentGatewayEqualFold ¶
PaymentGatewayEqualFold applies the EqualFold predicate on the "payment_gateway" field.
func PaymentGatewayGT ¶
PaymentGatewayGT applies the GT predicate on the "payment_gateway" field.
func PaymentGatewayGTE ¶
PaymentGatewayGTE applies the GTE predicate on the "payment_gateway" field.
func PaymentGatewayHasPrefix ¶
PaymentGatewayHasPrefix applies the HasPrefix predicate on the "payment_gateway" field.
func PaymentGatewayHasSuffix ¶
PaymentGatewayHasSuffix applies the HasSuffix predicate on the "payment_gateway" field.
func PaymentGatewayIn ¶
PaymentGatewayIn applies the In predicate on the "payment_gateway" field.
func PaymentGatewayIsNil ¶
PaymentGatewayIsNil applies the IsNil predicate on the "payment_gateway" field.
func PaymentGatewayLT ¶
PaymentGatewayLT applies the LT predicate on the "payment_gateway" field.
func PaymentGatewayLTE ¶
PaymentGatewayLTE applies the LTE predicate on the "payment_gateway" field.
func PaymentGatewayNEQ ¶
PaymentGatewayNEQ applies the NEQ predicate on the "payment_gateway" field.
func PaymentGatewayNotIn ¶
PaymentGatewayNotIn applies the NotIn predicate on the "payment_gateway" field.
func PaymentGatewayNotNil ¶
PaymentGatewayNotNil applies the NotNil predicate on the "payment_gateway" field.
func PaymentMethodID ¶
PaymentMethodID applies equality check predicate on the "payment_method_id" field. It's identical to PaymentMethodIDEQ.
func PaymentMethodIDContains ¶
PaymentMethodIDContains applies the Contains predicate on the "payment_method_id" field.
func PaymentMethodIDContainsFold ¶
PaymentMethodIDContainsFold applies the ContainsFold predicate on the "payment_method_id" field.
func PaymentMethodIDEQ ¶
PaymentMethodIDEQ applies the EQ predicate on the "payment_method_id" field.
func PaymentMethodIDEqualFold ¶
PaymentMethodIDEqualFold applies the EqualFold predicate on the "payment_method_id" field.
func PaymentMethodIDGT ¶
PaymentMethodIDGT applies the GT predicate on the "payment_method_id" field.
func PaymentMethodIDGTE ¶
PaymentMethodIDGTE applies the GTE predicate on the "payment_method_id" field.
func PaymentMethodIDHasPrefix ¶
PaymentMethodIDHasPrefix applies the HasPrefix predicate on the "payment_method_id" field.
func PaymentMethodIDHasSuffix ¶
PaymentMethodIDHasSuffix applies the HasSuffix predicate on the "payment_method_id" field.
func PaymentMethodIDIn ¶
PaymentMethodIDIn applies the In predicate on the "payment_method_id" field.
func PaymentMethodIDIsNil ¶
PaymentMethodIDIsNil applies the IsNil predicate on the "payment_method_id" field.
func PaymentMethodIDLT ¶
PaymentMethodIDLT applies the LT predicate on the "payment_method_id" field.
func PaymentMethodIDLTE ¶
PaymentMethodIDLTE applies the LTE predicate on the "payment_method_id" field.
func PaymentMethodIDNEQ ¶
PaymentMethodIDNEQ applies the NEQ predicate on the "payment_method_id" field.
func PaymentMethodIDNotIn ¶
PaymentMethodIDNotIn applies the NotIn predicate on the "payment_method_id" field.
func PaymentMethodIDNotNil ¶
PaymentMethodIDNotNil applies the NotNil predicate on the "payment_method_id" field.
func PaymentMethodType ¶
PaymentMethodType applies equality check predicate on the "payment_method_type" field. It's identical to PaymentMethodTypeEQ.
func PaymentMethodTypeContains ¶
PaymentMethodTypeContains applies the Contains predicate on the "payment_method_type" field.
func PaymentMethodTypeContainsFold ¶
PaymentMethodTypeContainsFold applies the ContainsFold predicate on the "payment_method_type" field.
func PaymentMethodTypeEQ ¶
PaymentMethodTypeEQ applies the EQ predicate on the "payment_method_type" field.
func PaymentMethodTypeEqualFold ¶
PaymentMethodTypeEqualFold applies the EqualFold predicate on the "payment_method_type" field.
func PaymentMethodTypeGT ¶
PaymentMethodTypeGT applies the GT predicate on the "payment_method_type" field.
func PaymentMethodTypeGTE ¶
PaymentMethodTypeGTE applies the GTE predicate on the "payment_method_type" field.
func PaymentMethodTypeHasPrefix ¶
PaymentMethodTypeHasPrefix applies the HasPrefix predicate on the "payment_method_type" field.
func PaymentMethodTypeHasSuffix ¶
PaymentMethodTypeHasSuffix applies the HasSuffix predicate on the "payment_method_type" field.
func PaymentMethodTypeIn ¶
PaymentMethodTypeIn applies the In predicate on the "payment_method_type" field.
func PaymentMethodTypeLT ¶
PaymentMethodTypeLT applies the LT predicate on the "payment_method_type" field.
func PaymentMethodTypeLTE ¶
PaymentMethodTypeLTE applies the LTE predicate on the "payment_method_type" field.
func PaymentMethodTypeNEQ ¶
PaymentMethodTypeNEQ applies the NEQ predicate on the "payment_method_type" field.
func PaymentMethodTypeNotIn ¶
PaymentMethodTypeNotIn applies the NotIn predicate on the "payment_method_type" field.
func PaymentStatus ¶
PaymentStatus applies equality check predicate on the "payment_status" field. It's identical to PaymentStatusEQ.
func PaymentStatusContains ¶
PaymentStatusContains applies the Contains predicate on the "payment_status" field.
func PaymentStatusContainsFold ¶
PaymentStatusContainsFold applies the ContainsFold predicate on the "payment_status" field.
func PaymentStatusEQ ¶
PaymentStatusEQ applies the EQ predicate on the "payment_status" field.
func PaymentStatusEqualFold ¶
PaymentStatusEqualFold applies the EqualFold predicate on the "payment_status" field.
func PaymentStatusGT ¶
PaymentStatusGT applies the GT predicate on the "payment_status" field.
func PaymentStatusGTE ¶
PaymentStatusGTE applies the GTE predicate on the "payment_status" field.
func PaymentStatusHasPrefix ¶
PaymentStatusHasPrefix applies the HasPrefix predicate on the "payment_status" field.
func PaymentStatusHasSuffix ¶
PaymentStatusHasSuffix applies the HasSuffix predicate on the "payment_status" field.
func PaymentStatusIn ¶
PaymentStatusIn applies the In predicate on the "payment_status" field.
func PaymentStatusLT ¶
PaymentStatusLT applies the LT predicate on the "payment_status" field.
func PaymentStatusLTE ¶
PaymentStatusLTE applies the LTE predicate on the "payment_status" field.
func PaymentStatusNEQ ¶
PaymentStatusNEQ applies the NEQ predicate on the "payment_status" field.
func PaymentStatusNotIn ¶
PaymentStatusNotIn applies the NotIn predicate on the "payment_status" field.
func RecordedAt ¶ added in v1.0.18
RecordedAt applies equality check predicate on the "recorded_at" field. It's identical to RecordedAtEQ.
func RecordedAtEQ ¶ added in v1.0.18
RecordedAtEQ applies the EQ predicate on the "recorded_at" field.
func RecordedAtGT ¶ added in v1.0.18
RecordedAtGT applies the GT predicate on the "recorded_at" field.
func RecordedAtGTE ¶ added in v1.0.18
RecordedAtGTE applies the GTE predicate on the "recorded_at" field.
func RecordedAtIn ¶ added in v1.0.18
RecordedAtIn applies the In predicate on the "recorded_at" field.
func RecordedAtIsNil ¶ added in v1.0.18
RecordedAtIsNil applies the IsNil predicate on the "recorded_at" field.
func RecordedAtLT ¶ added in v1.0.18
RecordedAtLT applies the LT predicate on the "recorded_at" field.
func RecordedAtLTE ¶ added in v1.0.18
RecordedAtLTE applies the LTE predicate on the "recorded_at" field.
func RecordedAtNEQ ¶ added in v1.0.18
RecordedAtNEQ applies the NEQ predicate on the "recorded_at" field.
func RecordedAtNotIn ¶ added in v1.0.18
RecordedAtNotIn applies the NotIn predicate on the "recorded_at" field.
func RecordedAtNotNil ¶ added in v1.0.18
RecordedAtNotNil applies the NotNil predicate on the "recorded_at" field.
func RefundedAt ¶
RefundedAt applies equality check predicate on the "refunded_at" field. It's identical to RefundedAtEQ.
func RefundedAtEQ ¶
RefundedAtEQ applies the EQ predicate on the "refunded_at" field.
func RefundedAtGT ¶
RefundedAtGT applies the GT predicate on the "refunded_at" field.
func RefundedAtGTE ¶
RefundedAtGTE applies the GTE predicate on the "refunded_at" field.
func RefundedAtIn ¶
RefundedAtIn applies the In predicate on the "refunded_at" field.
func RefundedAtIsNil ¶
RefundedAtIsNil applies the IsNil predicate on the "refunded_at" field.
func RefundedAtLT ¶
RefundedAtLT applies the LT predicate on the "refunded_at" field.
func RefundedAtLTE ¶
RefundedAtLTE applies the LTE predicate on the "refunded_at" field.
func RefundedAtNEQ ¶
RefundedAtNEQ applies the NEQ predicate on the "refunded_at" field.
func RefundedAtNotIn ¶
RefundedAtNotIn applies the NotIn predicate on the "refunded_at" field.
func RefundedAtNotNil ¶
RefundedAtNotNil applies the NotNil predicate on the "refunded_at" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEqualFold ¶
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusHasPrefix ¶
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func SucceededAt ¶
SucceededAt applies equality check predicate on the "succeeded_at" field. It's identical to SucceededAtEQ.
func SucceededAtEQ ¶
SucceededAtEQ applies the EQ predicate on the "succeeded_at" field.
func SucceededAtGT ¶
SucceededAtGT applies the GT predicate on the "succeeded_at" field.
func SucceededAtGTE ¶
SucceededAtGTE applies the GTE predicate on the "succeeded_at" field.
func SucceededAtIn ¶
SucceededAtIn applies the In predicate on the "succeeded_at" field.
func SucceededAtIsNil ¶
SucceededAtIsNil applies the IsNil predicate on the "succeeded_at" field.
func SucceededAtLT ¶
SucceededAtLT applies the LT predicate on the "succeeded_at" field.
func SucceededAtLTE ¶
SucceededAtLTE applies the LTE predicate on the "succeeded_at" field.
func SucceededAtNEQ ¶
SucceededAtNEQ applies the NEQ predicate on the "succeeded_at" field.
func SucceededAtNotIn ¶
SucceededAtNotIn applies the NotIn predicate on the "succeeded_at" field.
func SucceededAtNotNil ¶
SucceededAtNotNil applies the NotNil predicate on the "succeeded_at" field.
func TenantID ¶
TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.
func TenantIDContains ¶
TenantIDContains applies the Contains predicate on the "tenant_id" field.
func TenantIDContainsFold ¶
TenantIDContainsFold applies the ContainsFold predicate on the "tenant_id" field.
func TenantIDEQ ¶
TenantIDEQ applies the EQ predicate on the "tenant_id" field.
func TenantIDEqualFold ¶
TenantIDEqualFold applies the EqualFold predicate on the "tenant_id" field.
func TenantIDGT ¶
TenantIDGT applies the GT predicate on the "tenant_id" field.
func TenantIDGTE ¶
TenantIDGTE applies the GTE predicate on the "tenant_id" field.
func TenantIDHasPrefix ¶
TenantIDHasPrefix applies the HasPrefix predicate on the "tenant_id" field.
func TenantIDHasSuffix ¶
TenantIDHasSuffix applies the HasSuffix predicate on the "tenant_id" field.
func TenantIDIn ¶
TenantIDIn applies the In predicate on the "tenant_id" field.
func TenantIDLT ¶
TenantIDLT applies the LT predicate on the "tenant_id" field.
func TenantIDLTE ¶
TenantIDLTE applies the LTE predicate on the "tenant_id" field.
func TenantIDNEQ ¶
TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.
func TenantIDNotIn ¶
TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.
func TrackAttempts ¶
TrackAttempts applies equality check predicate on the "track_attempts" field. It's identical to TrackAttemptsEQ.
func TrackAttemptsEQ ¶
TrackAttemptsEQ applies the EQ predicate on the "track_attempts" field.
func TrackAttemptsNEQ ¶
TrackAttemptsNEQ applies the NEQ predicate on the "track_attempts" 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 UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
UpdatedByNotNil applies the NotNil predicate on the "updated_by" 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 Payment queries.
func ByAmount ¶
func ByAmount(opts ...sql.OrderTermOption) OrderOption
ByAmount orders the results by the amount field.
func ByAttempts ¶
func ByAttempts(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByAttempts orders the results by attempts terms.
func ByAttemptsCount ¶
func ByAttemptsCount(opts ...sql.OrderTermOption) OrderOption
ByAttemptsCount orders the results by attempts count.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByCurrency ¶
func ByCurrency(opts ...sql.OrderTermOption) OrderOption
ByCurrency orders the results by the currency field.
func ByDestinationID ¶
func ByDestinationID(opts ...sql.OrderTermOption) OrderOption
ByDestinationID orders the results by the destination_id field.
func ByDestinationType ¶
func ByDestinationType(opts ...sql.OrderTermOption) OrderOption
ByDestinationType orders the results by the destination_type field.
func ByEnvironmentID ¶
func ByEnvironmentID(opts ...sql.OrderTermOption) OrderOption
ByEnvironmentID orders the results by the environment_id field.
func ByErrorMessage ¶
func ByErrorMessage(opts ...sql.OrderTermOption) OrderOption
ByErrorMessage orders the results by the error_message field.
func ByFailedAt ¶
func ByFailedAt(opts ...sql.OrderTermOption) OrderOption
ByFailedAt orders the results by the failed_at field.
func ByGatewayPaymentID ¶
func ByGatewayPaymentID(opts ...sql.OrderTermOption) OrderOption
ByGatewayPaymentID orders the results by the gateway_payment_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIdempotencyKey ¶
func ByIdempotencyKey(opts ...sql.OrderTermOption) OrderOption
ByIdempotencyKey orders the results by the idempotency_key field.
func ByPaymentGateway ¶
func ByPaymentGateway(opts ...sql.OrderTermOption) OrderOption
ByPaymentGateway orders the results by the payment_gateway field.
func ByPaymentMethodID ¶
func ByPaymentMethodID(opts ...sql.OrderTermOption) OrderOption
ByPaymentMethodID orders the results by the payment_method_id field.
func ByPaymentMethodType ¶
func ByPaymentMethodType(opts ...sql.OrderTermOption) OrderOption
ByPaymentMethodType orders the results by the payment_method_type field.
func ByPaymentStatus ¶
func ByPaymentStatus(opts ...sql.OrderTermOption) OrderOption
ByPaymentStatus orders the results by the payment_status field.
func ByRecordedAt ¶ added in v1.0.18
func ByRecordedAt(opts ...sql.OrderTermOption) OrderOption
ByRecordedAt orders the results by the recorded_at field.
func ByRefundedAt ¶
func ByRefundedAt(opts ...sql.OrderTermOption) OrderOption
ByRefundedAt orders the results by the refunded_at field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func BySucceededAt ¶
func BySucceededAt(opts ...sql.OrderTermOption) OrderOption
BySucceededAt orders the results by the succeeded_at field.
func ByTenantID ¶
func ByTenantID(opts ...sql.OrderTermOption) OrderOption
ByTenantID orders the results by the tenant_id field.
func ByTrackAttempts ¶
func ByTrackAttempts(opts ...sql.OrderTermOption) OrderOption
ByTrackAttempts orders the results by the track_attempts field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.