refund

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the refund type in the database.
	Label = "refund"
	// 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"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldNo holds the string denoting the no field in the database.
	FieldNo = "no"
	// FieldChannelCode holds the string denoting the channel_code field in the database.
	FieldChannelCode = "channel_code"
	// FieldOrderID holds the string denoting the order_id field in the database.
	FieldOrderID = "order_id"
	// FieldOrderNo holds the string denoting the order_no field in the database.
	FieldOrderNo = "order_no"
	// FieldMerchantOrderID holds the string denoting the merchant_order_id field in the database.
	FieldMerchantOrderID = "merchant_order_id"
	// FieldMerchantRefundID holds the string denoting the merchant_refund_id field in the database.
	FieldMerchantRefundID = "merchant_refund_id"
	// FieldPayPrice holds the string denoting the pay_price field in the database.
	FieldPayPrice = "pay_price"
	// FieldRefundPrice holds the string denoting the refund_price field in the database.
	FieldRefundPrice = "refund_price"
	// FieldReason holds the string denoting the reason field in the database.
	FieldReason = "reason"
	// FieldUserIP holds the string denoting the user_ip field in the database.
	FieldUserIP = "user_ip"
	// FieldChannelOrderNo holds the string denoting the channel_order_no field in the database.
	FieldChannelOrderNo = "channel_order_no"
	// FieldChannelRefundNo holds the string denoting the channel_refund_no field in the database.
	FieldChannelRefundNo = "channel_refund_no"
	// FieldSuccessTime holds the string denoting the success_time field in the database.
	FieldSuccessTime = "success_time"
	// FieldChannelErrorCode holds the string denoting the channel_error_code field in the database.
	FieldChannelErrorCode = "channel_error_code"
	// FieldChannelErrorMsg holds the string denoting the channel_error_msg field in the database.
	FieldChannelErrorMsg = "channel_error_msg"
	// FieldChannelNotifyData holds the string denoting the channel_notify_data field in the database.
	FieldChannelNotifyData = "channel_notify_data"
	// Table holds the table name of the refund in the database.
	Table = "pay_refund"
)

Variables

View Source
var (
	Hooks        [1]ent.Hook
	Interceptors [1]ent.Interceptor
	// 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
	// DefaultStatus holds the default value on creation for the "status" field.
	DefaultStatus uint8
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/agui-coder/simple-admin-pay-rpc/ent/runtime"

Columns holds all SQL columns for refund fields.

Functions

func And

func And(predicates ...predicate.Refund) predicate.Refund

And groups predicates with the AND operator between them.

func ChannelCode

func ChannelCode(v string) predicate.Refund

ChannelCode applies equality check predicate on the "channel_code" field. It's identical to ChannelCodeEQ.

func ChannelCodeContains

func ChannelCodeContains(v string) predicate.Refund

ChannelCodeContains applies the Contains predicate on the "channel_code" field.

func ChannelCodeContainsFold

func ChannelCodeContainsFold(v string) predicate.Refund

ChannelCodeContainsFold applies the ContainsFold predicate on the "channel_code" field.

func ChannelCodeEQ

func ChannelCodeEQ(v string) predicate.Refund

ChannelCodeEQ applies the EQ predicate on the "channel_code" field.

func ChannelCodeEqualFold

func ChannelCodeEqualFold(v string) predicate.Refund

ChannelCodeEqualFold applies the EqualFold predicate on the "channel_code" field.

func ChannelCodeGT

func ChannelCodeGT(v string) predicate.Refund

ChannelCodeGT applies the GT predicate on the "channel_code" field.

func ChannelCodeGTE

func ChannelCodeGTE(v string) predicate.Refund

ChannelCodeGTE applies the GTE predicate on the "channel_code" field.

func ChannelCodeHasPrefix

func ChannelCodeHasPrefix(v string) predicate.Refund

ChannelCodeHasPrefix applies the HasPrefix predicate on the "channel_code" field.

func ChannelCodeHasSuffix

func ChannelCodeHasSuffix(v string) predicate.Refund

ChannelCodeHasSuffix applies the HasSuffix predicate on the "channel_code" field.

func ChannelCodeIn

func ChannelCodeIn(vs ...string) predicate.Refund

ChannelCodeIn applies the In predicate on the "channel_code" field.

func ChannelCodeLT

func ChannelCodeLT(v string) predicate.Refund

ChannelCodeLT applies the LT predicate on the "channel_code" field.

func ChannelCodeLTE

func ChannelCodeLTE(v string) predicate.Refund

ChannelCodeLTE applies the LTE predicate on the "channel_code" field.

func ChannelCodeNEQ

func ChannelCodeNEQ(v string) predicate.Refund

ChannelCodeNEQ applies the NEQ predicate on the "channel_code" field.

func ChannelCodeNotIn

func ChannelCodeNotIn(vs ...string) predicate.Refund

ChannelCodeNotIn applies the NotIn predicate on the "channel_code" field.

func ChannelErrorCode

func ChannelErrorCode(v string) predicate.Refund

ChannelErrorCode applies equality check predicate on the "channel_error_code" field. It's identical to ChannelErrorCodeEQ.

func ChannelErrorCodeContains

func ChannelErrorCodeContains(v string) predicate.Refund

ChannelErrorCodeContains applies the Contains predicate on the "channel_error_code" field.

func ChannelErrorCodeContainsFold

func ChannelErrorCodeContainsFold(v string) predicate.Refund

ChannelErrorCodeContainsFold applies the ContainsFold predicate on the "channel_error_code" field.

func ChannelErrorCodeEQ

func ChannelErrorCodeEQ(v string) predicate.Refund

ChannelErrorCodeEQ applies the EQ predicate on the "channel_error_code" field.

func ChannelErrorCodeEqualFold

func ChannelErrorCodeEqualFold(v string) predicate.Refund

ChannelErrorCodeEqualFold applies the EqualFold predicate on the "channel_error_code" field.

func ChannelErrorCodeGT

func ChannelErrorCodeGT(v string) predicate.Refund

ChannelErrorCodeGT applies the GT predicate on the "channel_error_code" field.

func ChannelErrorCodeGTE

func ChannelErrorCodeGTE(v string) predicate.Refund

ChannelErrorCodeGTE applies the GTE predicate on the "channel_error_code" field.

func ChannelErrorCodeHasPrefix

func ChannelErrorCodeHasPrefix(v string) predicate.Refund

ChannelErrorCodeHasPrefix applies the HasPrefix predicate on the "channel_error_code" field.

func ChannelErrorCodeHasSuffix

func ChannelErrorCodeHasSuffix(v string) predicate.Refund

ChannelErrorCodeHasSuffix applies the HasSuffix predicate on the "channel_error_code" field.

func ChannelErrorCodeIn

func ChannelErrorCodeIn(vs ...string) predicate.Refund

ChannelErrorCodeIn applies the In predicate on the "channel_error_code" field.

func ChannelErrorCodeIsNil

func ChannelErrorCodeIsNil() predicate.Refund

ChannelErrorCodeIsNil applies the IsNil predicate on the "channel_error_code" field.

func ChannelErrorCodeLT

func ChannelErrorCodeLT(v string) predicate.Refund

ChannelErrorCodeLT applies the LT predicate on the "channel_error_code" field.

func ChannelErrorCodeLTE

func ChannelErrorCodeLTE(v string) predicate.Refund

ChannelErrorCodeLTE applies the LTE predicate on the "channel_error_code" field.

func ChannelErrorCodeNEQ

func ChannelErrorCodeNEQ(v string) predicate.Refund

ChannelErrorCodeNEQ applies the NEQ predicate on the "channel_error_code" field.

func ChannelErrorCodeNotIn

func ChannelErrorCodeNotIn(vs ...string) predicate.Refund

ChannelErrorCodeNotIn applies the NotIn predicate on the "channel_error_code" field.

func ChannelErrorCodeNotNil

func ChannelErrorCodeNotNil() predicate.Refund

ChannelErrorCodeNotNil applies the NotNil predicate on the "channel_error_code" field.

func ChannelErrorMsg

func ChannelErrorMsg(v string) predicate.Refund

ChannelErrorMsg applies equality check predicate on the "channel_error_msg" field. It's identical to ChannelErrorMsgEQ.

func ChannelErrorMsgContains

func ChannelErrorMsgContains(v string) predicate.Refund

ChannelErrorMsgContains applies the Contains predicate on the "channel_error_msg" field.

func ChannelErrorMsgContainsFold

func ChannelErrorMsgContainsFold(v string) predicate.Refund

ChannelErrorMsgContainsFold applies the ContainsFold predicate on the "channel_error_msg" field.

func ChannelErrorMsgEQ

func ChannelErrorMsgEQ(v string) predicate.Refund

ChannelErrorMsgEQ applies the EQ predicate on the "channel_error_msg" field.

func ChannelErrorMsgEqualFold

func ChannelErrorMsgEqualFold(v string) predicate.Refund

ChannelErrorMsgEqualFold applies the EqualFold predicate on the "channel_error_msg" field.

func ChannelErrorMsgGT

func ChannelErrorMsgGT(v string) predicate.Refund

ChannelErrorMsgGT applies the GT predicate on the "channel_error_msg" field.

func ChannelErrorMsgGTE

func ChannelErrorMsgGTE(v string) predicate.Refund

ChannelErrorMsgGTE applies the GTE predicate on the "channel_error_msg" field.

func ChannelErrorMsgHasPrefix

func ChannelErrorMsgHasPrefix(v string) predicate.Refund

ChannelErrorMsgHasPrefix applies the HasPrefix predicate on the "channel_error_msg" field.

func ChannelErrorMsgHasSuffix

func ChannelErrorMsgHasSuffix(v string) predicate.Refund

ChannelErrorMsgHasSuffix applies the HasSuffix predicate on the "channel_error_msg" field.

func ChannelErrorMsgIn

func ChannelErrorMsgIn(vs ...string) predicate.Refund

ChannelErrorMsgIn applies the In predicate on the "channel_error_msg" field.

func ChannelErrorMsgIsNil

func ChannelErrorMsgIsNil() predicate.Refund

ChannelErrorMsgIsNil applies the IsNil predicate on the "channel_error_msg" field.

func ChannelErrorMsgLT

func ChannelErrorMsgLT(v string) predicate.Refund

ChannelErrorMsgLT applies the LT predicate on the "channel_error_msg" field.

func ChannelErrorMsgLTE

func ChannelErrorMsgLTE(v string) predicate.Refund

ChannelErrorMsgLTE applies the LTE predicate on the "channel_error_msg" field.

func ChannelErrorMsgNEQ

func ChannelErrorMsgNEQ(v string) predicate.Refund

ChannelErrorMsgNEQ applies the NEQ predicate on the "channel_error_msg" field.

func ChannelErrorMsgNotIn

func ChannelErrorMsgNotIn(vs ...string) predicate.Refund

ChannelErrorMsgNotIn applies the NotIn predicate on the "channel_error_msg" field.

func ChannelErrorMsgNotNil

func ChannelErrorMsgNotNil() predicate.Refund

ChannelErrorMsgNotNil applies the NotNil predicate on the "channel_error_msg" field.

func ChannelNotifyData

func ChannelNotifyData(v string) predicate.Refund

ChannelNotifyData applies equality check predicate on the "channel_notify_data" field. It's identical to ChannelNotifyDataEQ.

func ChannelNotifyDataContains

func ChannelNotifyDataContains(v string) predicate.Refund

ChannelNotifyDataContains applies the Contains predicate on the "channel_notify_data" field.

func ChannelNotifyDataContainsFold

func ChannelNotifyDataContainsFold(v string) predicate.Refund

ChannelNotifyDataContainsFold applies the ContainsFold predicate on the "channel_notify_data" field.

func ChannelNotifyDataEQ

func ChannelNotifyDataEQ(v string) predicate.Refund

ChannelNotifyDataEQ applies the EQ predicate on the "channel_notify_data" field.

func ChannelNotifyDataEqualFold

func ChannelNotifyDataEqualFold(v string) predicate.Refund

ChannelNotifyDataEqualFold applies the EqualFold predicate on the "channel_notify_data" field.

func ChannelNotifyDataGT

func ChannelNotifyDataGT(v string) predicate.Refund

ChannelNotifyDataGT applies the GT predicate on the "channel_notify_data" field.

func ChannelNotifyDataGTE

func ChannelNotifyDataGTE(v string) predicate.Refund

ChannelNotifyDataGTE applies the GTE predicate on the "channel_notify_data" field.

func ChannelNotifyDataHasPrefix

func ChannelNotifyDataHasPrefix(v string) predicate.Refund

ChannelNotifyDataHasPrefix applies the HasPrefix predicate on the "channel_notify_data" field.

func ChannelNotifyDataHasSuffix

func ChannelNotifyDataHasSuffix(v string) predicate.Refund

ChannelNotifyDataHasSuffix applies the HasSuffix predicate on the "channel_notify_data" field.

func ChannelNotifyDataIn

func ChannelNotifyDataIn(vs ...string) predicate.Refund

ChannelNotifyDataIn applies the In predicate on the "channel_notify_data" field.

func ChannelNotifyDataIsNil

func ChannelNotifyDataIsNil() predicate.Refund

ChannelNotifyDataIsNil applies the IsNil predicate on the "channel_notify_data" field.

func ChannelNotifyDataLT

func ChannelNotifyDataLT(v string) predicate.Refund

ChannelNotifyDataLT applies the LT predicate on the "channel_notify_data" field.

func ChannelNotifyDataLTE

func ChannelNotifyDataLTE(v string) predicate.Refund

ChannelNotifyDataLTE applies the LTE predicate on the "channel_notify_data" field.

func ChannelNotifyDataNEQ

func ChannelNotifyDataNEQ(v string) predicate.Refund

ChannelNotifyDataNEQ applies the NEQ predicate on the "channel_notify_data" field.

func ChannelNotifyDataNotIn

func ChannelNotifyDataNotIn(vs ...string) predicate.Refund

ChannelNotifyDataNotIn applies the NotIn predicate on the "channel_notify_data" field.

func ChannelNotifyDataNotNil

func ChannelNotifyDataNotNil() predicate.Refund

ChannelNotifyDataNotNil applies the NotNil predicate on the "channel_notify_data" field.

func ChannelOrderNo

func ChannelOrderNo(v string) predicate.Refund

ChannelOrderNo applies equality check predicate on the "channel_order_no" field. It's identical to ChannelOrderNoEQ.

func ChannelOrderNoContains

func ChannelOrderNoContains(v string) predicate.Refund

ChannelOrderNoContains applies the Contains predicate on the "channel_order_no" field.

func ChannelOrderNoContainsFold

func ChannelOrderNoContainsFold(v string) predicate.Refund

ChannelOrderNoContainsFold applies the ContainsFold predicate on the "channel_order_no" field.

func ChannelOrderNoEQ

func ChannelOrderNoEQ(v string) predicate.Refund

ChannelOrderNoEQ applies the EQ predicate on the "channel_order_no" field.

func ChannelOrderNoEqualFold

func ChannelOrderNoEqualFold(v string) predicate.Refund

ChannelOrderNoEqualFold applies the EqualFold predicate on the "channel_order_no" field.

func ChannelOrderNoGT

func ChannelOrderNoGT(v string) predicate.Refund

ChannelOrderNoGT applies the GT predicate on the "channel_order_no" field.

func ChannelOrderNoGTE

func ChannelOrderNoGTE(v string) predicate.Refund

ChannelOrderNoGTE applies the GTE predicate on the "channel_order_no" field.

func ChannelOrderNoHasPrefix

func ChannelOrderNoHasPrefix(v string) predicate.Refund

ChannelOrderNoHasPrefix applies the HasPrefix predicate on the "channel_order_no" field.

func ChannelOrderNoHasSuffix

func ChannelOrderNoHasSuffix(v string) predicate.Refund

ChannelOrderNoHasSuffix applies the HasSuffix predicate on the "channel_order_no" field.

func ChannelOrderNoIn

func ChannelOrderNoIn(vs ...string) predicate.Refund

ChannelOrderNoIn applies the In predicate on the "channel_order_no" field.

func ChannelOrderNoLT

func ChannelOrderNoLT(v string) predicate.Refund

ChannelOrderNoLT applies the LT predicate on the "channel_order_no" field.

func ChannelOrderNoLTE

func ChannelOrderNoLTE(v string) predicate.Refund

ChannelOrderNoLTE applies the LTE predicate on the "channel_order_no" field.

func ChannelOrderNoNEQ

func ChannelOrderNoNEQ(v string) predicate.Refund

ChannelOrderNoNEQ applies the NEQ predicate on the "channel_order_no" field.

func ChannelOrderNoNotIn

func ChannelOrderNoNotIn(vs ...string) predicate.Refund

ChannelOrderNoNotIn applies the NotIn predicate on the "channel_order_no" field.

func ChannelRefundNo

func ChannelRefundNo(v string) predicate.Refund

ChannelRefundNo applies equality check predicate on the "channel_refund_no" field. It's identical to ChannelRefundNoEQ.

func ChannelRefundNoContains

func ChannelRefundNoContains(v string) predicate.Refund

ChannelRefundNoContains applies the Contains predicate on the "channel_refund_no" field.

func ChannelRefundNoContainsFold

func ChannelRefundNoContainsFold(v string) predicate.Refund

ChannelRefundNoContainsFold applies the ContainsFold predicate on the "channel_refund_no" field.

func ChannelRefundNoEQ

func ChannelRefundNoEQ(v string) predicate.Refund

ChannelRefundNoEQ applies the EQ predicate on the "channel_refund_no" field.

func ChannelRefundNoEqualFold

func ChannelRefundNoEqualFold(v string) predicate.Refund

ChannelRefundNoEqualFold applies the EqualFold predicate on the "channel_refund_no" field.

func ChannelRefundNoGT

func ChannelRefundNoGT(v string) predicate.Refund

ChannelRefundNoGT applies the GT predicate on the "channel_refund_no" field.

func ChannelRefundNoGTE

func ChannelRefundNoGTE(v string) predicate.Refund

ChannelRefundNoGTE applies the GTE predicate on the "channel_refund_no" field.

func ChannelRefundNoHasPrefix

func ChannelRefundNoHasPrefix(v string) predicate.Refund

ChannelRefundNoHasPrefix applies the HasPrefix predicate on the "channel_refund_no" field.

func ChannelRefundNoHasSuffix

func ChannelRefundNoHasSuffix(v string) predicate.Refund

ChannelRefundNoHasSuffix applies the HasSuffix predicate on the "channel_refund_no" field.

func ChannelRefundNoIn

func ChannelRefundNoIn(vs ...string) predicate.Refund

ChannelRefundNoIn applies the In predicate on the "channel_refund_no" field.

func ChannelRefundNoIsNil

func ChannelRefundNoIsNil() predicate.Refund

ChannelRefundNoIsNil applies the IsNil predicate on the "channel_refund_no" field.

func ChannelRefundNoLT

func ChannelRefundNoLT(v string) predicate.Refund

ChannelRefundNoLT applies the LT predicate on the "channel_refund_no" field.

func ChannelRefundNoLTE

func ChannelRefundNoLTE(v string) predicate.Refund

ChannelRefundNoLTE applies the LTE predicate on the "channel_refund_no" field.

func ChannelRefundNoNEQ

func ChannelRefundNoNEQ(v string) predicate.Refund

ChannelRefundNoNEQ applies the NEQ predicate on the "channel_refund_no" field.

func ChannelRefundNoNotIn

func ChannelRefundNoNotIn(vs ...string) predicate.Refund

ChannelRefundNoNotIn applies the NotIn predicate on the "channel_refund_no" field.

func ChannelRefundNoNotNil

func ChannelRefundNoNotNil() predicate.Refund

ChannelRefundNoNotNil applies the NotNil predicate on the "channel_refund_no" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Refund

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Refund

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Refund

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Refund

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Refund

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Refund

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Refund

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

func CreatedAtNotIn

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

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

func DeletedAt

func DeletedAt(v time.Time) predicate.Refund

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Refund

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Refund

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Refund

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.Refund

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.Refund

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Refund

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Refund

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Refund

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.Refund

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.Refund

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func ID

func ID(id uint64) predicate.Refund

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uint64) predicate.Refund

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uint64) predicate.Refund

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uint64) predicate.Refund

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uint64) predicate.Refund

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uint64) predicate.Refund

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uint64) predicate.Refund

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uint64) predicate.Refund

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uint64) predicate.Refund

IDNotIn applies the NotIn predicate on the ID field.

func MerchantOrderID

func MerchantOrderID(v string) predicate.Refund

MerchantOrderID applies equality check predicate on the "merchant_order_id" field. It's identical to MerchantOrderIDEQ.

func MerchantOrderIDContains

func MerchantOrderIDContains(v string) predicate.Refund

MerchantOrderIDContains applies the Contains predicate on the "merchant_order_id" field.

func MerchantOrderIDContainsFold

func MerchantOrderIDContainsFold(v string) predicate.Refund

MerchantOrderIDContainsFold applies the ContainsFold predicate on the "merchant_order_id" field.

func MerchantOrderIDEQ

func MerchantOrderIDEQ(v string) predicate.Refund

MerchantOrderIDEQ applies the EQ predicate on the "merchant_order_id" field.

func MerchantOrderIDEqualFold

func MerchantOrderIDEqualFold(v string) predicate.Refund

MerchantOrderIDEqualFold applies the EqualFold predicate on the "merchant_order_id" field.

func MerchantOrderIDGT

func MerchantOrderIDGT(v string) predicate.Refund

MerchantOrderIDGT applies the GT predicate on the "merchant_order_id" field.

func MerchantOrderIDGTE

func MerchantOrderIDGTE(v string) predicate.Refund

MerchantOrderIDGTE applies the GTE predicate on the "merchant_order_id" field.

func MerchantOrderIDHasPrefix

func MerchantOrderIDHasPrefix(v string) predicate.Refund

MerchantOrderIDHasPrefix applies the HasPrefix predicate on the "merchant_order_id" field.

func MerchantOrderIDHasSuffix

func MerchantOrderIDHasSuffix(v string) predicate.Refund

MerchantOrderIDHasSuffix applies the HasSuffix predicate on the "merchant_order_id" field.

func MerchantOrderIDIn

func MerchantOrderIDIn(vs ...string) predicate.Refund

MerchantOrderIDIn applies the In predicate on the "merchant_order_id" field.

func MerchantOrderIDLT

func MerchantOrderIDLT(v string) predicate.Refund

MerchantOrderIDLT applies the LT predicate on the "merchant_order_id" field.

func MerchantOrderIDLTE

func MerchantOrderIDLTE(v string) predicate.Refund

MerchantOrderIDLTE applies the LTE predicate on the "merchant_order_id" field.

func MerchantOrderIDNEQ

func MerchantOrderIDNEQ(v string) predicate.Refund

MerchantOrderIDNEQ applies the NEQ predicate on the "merchant_order_id" field.

func MerchantOrderIDNotIn

func MerchantOrderIDNotIn(vs ...string) predicate.Refund

MerchantOrderIDNotIn applies the NotIn predicate on the "merchant_order_id" field.

func MerchantRefundID

func MerchantRefundID(v string) predicate.Refund

MerchantRefundID applies equality check predicate on the "merchant_refund_id" field. It's identical to MerchantRefundIDEQ.

func MerchantRefundIDContains

func MerchantRefundIDContains(v string) predicate.Refund

MerchantRefundIDContains applies the Contains predicate on the "merchant_refund_id" field.

func MerchantRefundIDContainsFold

func MerchantRefundIDContainsFold(v string) predicate.Refund

MerchantRefundIDContainsFold applies the ContainsFold predicate on the "merchant_refund_id" field.

func MerchantRefundIDEQ

func MerchantRefundIDEQ(v string) predicate.Refund

MerchantRefundIDEQ applies the EQ predicate on the "merchant_refund_id" field.

func MerchantRefundIDEqualFold

func MerchantRefundIDEqualFold(v string) predicate.Refund

MerchantRefundIDEqualFold applies the EqualFold predicate on the "merchant_refund_id" field.

func MerchantRefundIDGT

func MerchantRefundIDGT(v string) predicate.Refund

MerchantRefundIDGT applies the GT predicate on the "merchant_refund_id" field.

func MerchantRefundIDGTE

func MerchantRefundIDGTE(v string) predicate.Refund

MerchantRefundIDGTE applies the GTE predicate on the "merchant_refund_id" field.

func MerchantRefundIDHasPrefix

func MerchantRefundIDHasPrefix(v string) predicate.Refund

MerchantRefundIDHasPrefix applies the HasPrefix predicate on the "merchant_refund_id" field.

func MerchantRefundIDHasSuffix

func MerchantRefundIDHasSuffix(v string) predicate.Refund

MerchantRefundIDHasSuffix applies the HasSuffix predicate on the "merchant_refund_id" field.

func MerchantRefundIDIn

func MerchantRefundIDIn(vs ...string) predicate.Refund

MerchantRefundIDIn applies the In predicate on the "merchant_refund_id" field.

func MerchantRefundIDLT

func MerchantRefundIDLT(v string) predicate.Refund

MerchantRefundIDLT applies the LT predicate on the "merchant_refund_id" field.

func MerchantRefundIDLTE

func MerchantRefundIDLTE(v string) predicate.Refund

MerchantRefundIDLTE applies the LTE predicate on the "merchant_refund_id" field.

func MerchantRefundIDNEQ

func MerchantRefundIDNEQ(v string) predicate.Refund

MerchantRefundIDNEQ applies the NEQ predicate on the "merchant_refund_id" field.

func MerchantRefundIDNotIn

func MerchantRefundIDNotIn(vs ...string) predicate.Refund

MerchantRefundIDNotIn applies the NotIn predicate on the "merchant_refund_id" field.

func No

func No(v string) predicate.Refund

No applies equality check predicate on the "no" field. It's identical to NoEQ.

func NoContains

func NoContains(v string) predicate.Refund

NoContains applies the Contains predicate on the "no" field.

func NoContainsFold

func NoContainsFold(v string) predicate.Refund

NoContainsFold applies the ContainsFold predicate on the "no" field.

func NoEQ

func NoEQ(v string) predicate.Refund

NoEQ applies the EQ predicate on the "no" field.

func NoEqualFold

func NoEqualFold(v string) predicate.Refund

NoEqualFold applies the EqualFold predicate on the "no" field.

func NoGT

func NoGT(v string) predicate.Refund

NoGT applies the GT predicate on the "no" field.

func NoGTE

func NoGTE(v string) predicate.Refund

NoGTE applies the GTE predicate on the "no" field.

func NoHasPrefix

func NoHasPrefix(v string) predicate.Refund

NoHasPrefix applies the HasPrefix predicate on the "no" field.

func NoHasSuffix

func NoHasSuffix(v string) predicate.Refund

NoHasSuffix applies the HasSuffix predicate on the "no" field.

func NoIn

func NoIn(vs ...string) predicate.Refund

NoIn applies the In predicate on the "no" field.

func NoLT

func NoLT(v string) predicate.Refund

NoLT applies the LT predicate on the "no" field.

func NoLTE

func NoLTE(v string) predicate.Refund

NoLTE applies the LTE predicate on the "no" field.

func NoNEQ

func NoNEQ(v string) predicate.Refund

NoNEQ applies the NEQ predicate on the "no" field.

func NoNotIn

func NoNotIn(vs ...string) predicate.Refund

NoNotIn applies the NotIn predicate on the "no" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Refund) predicate.Refund

Or groups predicates with the OR operator between them.

func OrderID

func OrderID(v uint64) predicate.Refund

OrderID applies equality check predicate on the "order_id" field. It's identical to OrderIDEQ.

func OrderIDEQ

func OrderIDEQ(v uint64) predicate.Refund

OrderIDEQ applies the EQ predicate on the "order_id" field.

func OrderIDGT

func OrderIDGT(v uint64) predicate.Refund

OrderIDGT applies the GT predicate on the "order_id" field.

func OrderIDGTE

func OrderIDGTE(v uint64) predicate.Refund

OrderIDGTE applies the GTE predicate on the "order_id" field.

func OrderIDIn

func OrderIDIn(vs ...uint64) predicate.Refund

OrderIDIn applies the In predicate on the "order_id" field.

func OrderIDLT

func OrderIDLT(v uint64) predicate.Refund

OrderIDLT applies the LT predicate on the "order_id" field.

func OrderIDLTE

func OrderIDLTE(v uint64) predicate.Refund

OrderIDLTE applies the LTE predicate on the "order_id" field.

func OrderIDNEQ

func OrderIDNEQ(v uint64) predicate.Refund

OrderIDNEQ applies the NEQ predicate on the "order_id" field.

func OrderIDNotIn

func OrderIDNotIn(vs ...uint64) predicate.Refund

OrderIDNotIn applies the NotIn predicate on the "order_id" field.

func OrderNo

func OrderNo(v string) predicate.Refund

OrderNo applies equality check predicate on the "order_no" field. It's identical to OrderNoEQ.

func OrderNoContains

func OrderNoContains(v string) predicate.Refund

OrderNoContains applies the Contains predicate on the "order_no" field.

func OrderNoContainsFold

func OrderNoContainsFold(v string) predicate.Refund

OrderNoContainsFold applies the ContainsFold predicate on the "order_no" field.

func OrderNoEQ

func OrderNoEQ(v string) predicate.Refund

OrderNoEQ applies the EQ predicate on the "order_no" field.

func OrderNoEqualFold

func OrderNoEqualFold(v string) predicate.Refund

OrderNoEqualFold applies the EqualFold predicate on the "order_no" field.

func OrderNoGT

func OrderNoGT(v string) predicate.Refund

OrderNoGT applies the GT predicate on the "order_no" field.

func OrderNoGTE

func OrderNoGTE(v string) predicate.Refund

OrderNoGTE applies the GTE predicate on the "order_no" field.

func OrderNoHasPrefix

func OrderNoHasPrefix(v string) predicate.Refund

OrderNoHasPrefix applies the HasPrefix predicate on the "order_no" field.

func OrderNoHasSuffix

func OrderNoHasSuffix(v string) predicate.Refund

OrderNoHasSuffix applies the HasSuffix predicate on the "order_no" field.

func OrderNoIn

func OrderNoIn(vs ...string) predicate.Refund

OrderNoIn applies the In predicate on the "order_no" field.

func OrderNoLT

func OrderNoLT(v string) predicate.Refund

OrderNoLT applies the LT predicate on the "order_no" field.

func OrderNoLTE

func OrderNoLTE(v string) predicate.Refund

OrderNoLTE applies the LTE predicate on the "order_no" field.

func OrderNoNEQ

func OrderNoNEQ(v string) predicate.Refund

OrderNoNEQ applies the NEQ predicate on the "order_no" field.

func OrderNoNotIn

func OrderNoNotIn(vs ...string) predicate.Refund

OrderNoNotIn applies the NotIn predicate on the "order_no" field.

func PayPrice

func PayPrice(v int32) predicate.Refund

PayPrice applies equality check predicate on the "pay_price" field. It's identical to PayPriceEQ.

func PayPriceEQ

func PayPriceEQ(v int32) predicate.Refund

PayPriceEQ applies the EQ predicate on the "pay_price" field.

func PayPriceGT

func PayPriceGT(v int32) predicate.Refund

PayPriceGT applies the GT predicate on the "pay_price" field.

func PayPriceGTE

func PayPriceGTE(v int32) predicate.Refund

PayPriceGTE applies the GTE predicate on the "pay_price" field.

func PayPriceIn

func PayPriceIn(vs ...int32) predicate.Refund

PayPriceIn applies the In predicate on the "pay_price" field.

func PayPriceLT

func PayPriceLT(v int32) predicate.Refund

PayPriceLT applies the LT predicate on the "pay_price" field.

func PayPriceLTE

func PayPriceLTE(v int32) predicate.Refund

PayPriceLTE applies the LTE predicate on the "pay_price" field.

func PayPriceNEQ

func PayPriceNEQ(v int32) predicate.Refund

PayPriceNEQ applies the NEQ predicate on the "pay_price" field.

func PayPriceNotIn

func PayPriceNotIn(vs ...int32) predicate.Refund

PayPriceNotIn applies the NotIn predicate on the "pay_price" field.

func Reason

func Reason(v string) predicate.Refund

Reason applies equality check predicate on the "reason" field. It's identical to ReasonEQ.

func ReasonContains

func ReasonContains(v string) predicate.Refund

ReasonContains applies the Contains predicate on the "reason" field.

func ReasonContainsFold

func ReasonContainsFold(v string) predicate.Refund

ReasonContainsFold applies the ContainsFold predicate on the "reason" field.

func ReasonEQ

func ReasonEQ(v string) predicate.Refund

ReasonEQ applies the EQ predicate on the "reason" field.

func ReasonEqualFold

func ReasonEqualFold(v string) predicate.Refund

ReasonEqualFold applies the EqualFold predicate on the "reason" field.

func ReasonGT

func ReasonGT(v string) predicate.Refund

ReasonGT applies the GT predicate on the "reason" field.

func ReasonGTE

func ReasonGTE(v string) predicate.Refund

ReasonGTE applies the GTE predicate on the "reason" field.

func ReasonHasPrefix

func ReasonHasPrefix(v string) predicate.Refund

ReasonHasPrefix applies the HasPrefix predicate on the "reason" field.

func ReasonHasSuffix

func ReasonHasSuffix(v string) predicate.Refund

ReasonHasSuffix applies the HasSuffix predicate on the "reason" field.

func ReasonIn

func ReasonIn(vs ...string) predicate.Refund

ReasonIn applies the In predicate on the "reason" field.

func ReasonLT

func ReasonLT(v string) predicate.Refund

ReasonLT applies the LT predicate on the "reason" field.

func ReasonLTE

func ReasonLTE(v string) predicate.Refund

ReasonLTE applies the LTE predicate on the "reason" field.

func ReasonNEQ

func ReasonNEQ(v string) predicate.Refund

ReasonNEQ applies the NEQ predicate on the "reason" field.

func ReasonNotIn

func ReasonNotIn(vs ...string) predicate.Refund

ReasonNotIn applies the NotIn predicate on the "reason" field.

func RefundPrice

func RefundPrice(v int32) predicate.Refund

RefundPrice applies equality check predicate on the "refund_price" field. It's identical to RefundPriceEQ.

func RefundPriceEQ

func RefundPriceEQ(v int32) predicate.Refund

RefundPriceEQ applies the EQ predicate on the "refund_price" field.

func RefundPriceGT

func RefundPriceGT(v int32) predicate.Refund

RefundPriceGT applies the GT predicate on the "refund_price" field.

func RefundPriceGTE

func RefundPriceGTE(v int32) predicate.Refund

RefundPriceGTE applies the GTE predicate on the "refund_price" field.

func RefundPriceIn

func RefundPriceIn(vs ...int32) predicate.Refund

RefundPriceIn applies the In predicate on the "refund_price" field.

func RefundPriceLT

func RefundPriceLT(v int32) predicate.Refund

RefundPriceLT applies the LT predicate on the "refund_price" field.

func RefundPriceLTE

func RefundPriceLTE(v int32) predicate.Refund

RefundPriceLTE applies the LTE predicate on the "refund_price" field.

func RefundPriceNEQ

func RefundPriceNEQ(v int32) predicate.Refund

RefundPriceNEQ applies the NEQ predicate on the "refund_price" field.

func RefundPriceNotIn

func RefundPriceNotIn(vs ...int32) predicate.Refund

RefundPriceNotIn applies the NotIn predicate on the "refund_price" field.

func Status

func Status(v uint8) predicate.Refund

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusEQ

func StatusEQ(v uint8) predicate.Refund

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

func StatusGT

func StatusGT(v uint8) predicate.Refund

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v uint8) predicate.Refund

StatusGTE applies the GTE predicate on the "status" field.

func StatusIn

func StatusIn(vs ...uint8) predicate.Refund

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

func StatusIsNil

func StatusIsNil() predicate.Refund

StatusIsNil applies the IsNil predicate on the "status" field.

func StatusLT

func StatusLT(v uint8) predicate.Refund

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v uint8) predicate.Refund

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v uint8) predicate.Refund

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

func StatusNotIn

func StatusNotIn(vs ...uint8) predicate.Refund

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

func StatusNotNil

func StatusNotNil() predicate.Refund

StatusNotNil applies the NotNil predicate on the "status" field.

func SuccessTime

func SuccessTime(v time.Time) predicate.Refund

SuccessTime applies equality check predicate on the "success_time" field. It's identical to SuccessTimeEQ.

func SuccessTimeEQ

func SuccessTimeEQ(v time.Time) predicate.Refund

SuccessTimeEQ applies the EQ predicate on the "success_time" field.

func SuccessTimeGT

func SuccessTimeGT(v time.Time) predicate.Refund

SuccessTimeGT applies the GT predicate on the "success_time" field.

func SuccessTimeGTE

func SuccessTimeGTE(v time.Time) predicate.Refund

SuccessTimeGTE applies the GTE predicate on the "success_time" field.

func SuccessTimeIn

func SuccessTimeIn(vs ...time.Time) predicate.Refund

SuccessTimeIn applies the In predicate on the "success_time" field.

func SuccessTimeIsNil

func SuccessTimeIsNil() predicate.Refund

SuccessTimeIsNil applies the IsNil predicate on the "success_time" field.

func SuccessTimeLT

func SuccessTimeLT(v time.Time) predicate.Refund

SuccessTimeLT applies the LT predicate on the "success_time" field.

func SuccessTimeLTE

func SuccessTimeLTE(v time.Time) predicate.Refund

SuccessTimeLTE applies the LTE predicate on the "success_time" field.

func SuccessTimeNEQ

func SuccessTimeNEQ(v time.Time) predicate.Refund

SuccessTimeNEQ applies the NEQ predicate on the "success_time" field.

func SuccessTimeNotIn

func SuccessTimeNotIn(vs ...time.Time) predicate.Refund

SuccessTimeNotIn applies the NotIn predicate on the "success_time" field.

func SuccessTimeNotNil

func SuccessTimeNotNil() predicate.Refund

SuccessTimeNotNil applies the NotNil predicate on the "success_time" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Refund

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Refund

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Refund

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Refund

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Refund

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Refund

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Refund

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

func UpdatedAtNotIn

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

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

func UserIP

func UserIP(v string) predicate.Refund

UserIP applies equality check predicate on the "user_ip" field. It's identical to UserIPEQ.

func UserIPContains

func UserIPContains(v string) predicate.Refund

UserIPContains applies the Contains predicate on the "user_ip" field.

func UserIPContainsFold

func UserIPContainsFold(v string) predicate.Refund

UserIPContainsFold applies the ContainsFold predicate on the "user_ip" field.

func UserIPEQ

func UserIPEQ(v string) predicate.Refund

UserIPEQ applies the EQ predicate on the "user_ip" field.

func UserIPEqualFold

func UserIPEqualFold(v string) predicate.Refund

UserIPEqualFold applies the EqualFold predicate on the "user_ip" field.

func UserIPGT

func UserIPGT(v string) predicate.Refund

UserIPGT applies the GT predicate on the "user_ip" field.

func UserIPGTE

func UserIPGTE(v string) predicate.Refund

UserIPGTE applies the GTE predicate on the "user_ip" field.

func UserIPHasPrefix

func UserIPHasPrefix(v string) predicate.Refund

UserIPHasPrefix applies the HasPrefix predicate on the "user_ip" field.

func UserIPHasSuffix

func UserIPHasSuffix(v string) predicate.Refund

UserIPHasSuffix applies the HasSuffix predicate on the "user_ip" field.

func UserIPIn

func UserIPIn(vs ...string) predicate.Refund

UserIPIn applies the In predicate on the "user_ip" field.

func UserIPIsNil

func UserIPIsNil() predicate.Refund

UserIPIsNil applies the IsNil predicate on the "user_ip" field.

func UserIPLT

func UserIPLT(v string) predicate.Refund

UserIPLT applies the LT predicate on the "user_ip" field.

func UserIPLTE

func UserIPLTE(v string) predicate.Refund

UserIPLTE applies the LTE predicate on the "user_ip" field.

func UserIPNEQ

func UserIPNEQ(v string) predicate.Refund

UserIPNEQ applies the NEQ predicate on the "user_ip" field.

func UserIPNotIn

func UserIPNotIn(vs ...string) predicate.Refund

UserIPNotIn applies the NotIn predicate on the "user_ip" field.

func UserIPNotNil

func UserIPNotNil() predicate.Refund

UserIPNotNil applies the NotNil predicate on the "user_ip" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Refund queries.

func ByChannelCode

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

ByChannelCode orders the results by the channel_code field.

func ByChannelErrorCode

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

ByChannelErrorCode orders the results by the channel_error_code field.

func ByChannelErrorMsg

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

ByChannelErrorMsg orders the results by the channel_error_msg field.

func ByChannelNotifyData

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

ByChannelNotifyData orders the results by the channel_notify_data field.

func ByChannelOrderNo

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

ByChannelOrderNo orders the results by the channel_order_no field.

func ByChannelRefundNo

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

ByChannelRefundNo orders the results by the channel_refund_no field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByDeletedAt

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

ByDeletedAt orders the results by the deleted_at field.

func ByID

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

ByID orders the results by the id field.

func ByMerchantOrderID

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

ByMerchantOrderID orders the results by the merchant_order_id field.

func ByMerchantRefundID

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

ByMerchantRefundID orders the results by the merchant_refund_id field.

func ByNo

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

ByNo orders the results by the no field.

func ByOrderID

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

ByOrderID orders the results by the order_id field.

func ByOrderNo

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

ByOrderNo orders the results by the order_no field.

func ByPayPrice

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

ByPayPrice orders the results by the pay_price field.

func ByReason

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

ByReason orders the results by the reason field.

func ByRefundPrice

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

ByRefundPrice orders the results by the refund_price field.

func ByStatus

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

ByStatus orders the results by the status field.

func BySuccessTime

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

BySuccessTime orders the results by the success_time field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUserIP

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

ByUserIP orders the results by the user_ip field.

Jump to

Keyboard shortcuts

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