Help us shape the future of Go! Take the 2026 Go Developer Survey

billingrefund

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the billingrefund type in the database.
	Label = "billing_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"
	// FieldChargeID holds the string denoting the charge_id field in the database.
	FieldChargeID = "charge_id"
	// FieldPaymentIntent holds the string denoting the payment_intent field in the database.
	FieldPaymentIntent = "payment_intent"
	// FieldRefundedCents holds the string denoting the refunded_cents field in the database.
	FieldRefundedCents = "refunded_cents"
	// FieldFull holds the string denoting the full field in the database.
	FieldFull = "full"
	// Table holds the table name of the billingrefund in the database.
	Table = "sf_billing_refunds"
)

Variables

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// ChargeIDValidator is a validator for the "charge_id" field. It is called by the builders before save.
	ChargeIDValidator func(string) error
	// PaymentIntentValidator is a validator for the "payment_intent" field. It is called by the builders before save.
	PaymentIntentValidator func(string) error
	// DefaultRefundedCents holds the default value on creation for the "refunded_cents" field.
	DefaultRefundedCents int64
	// DefaultFull holds the default value on creation for the "full" field.
	DefaultFull bool
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for billingrefund fields.

Functions

func And

And groups predicates with the AND operator between them.

func ChargeID

func ChargeID(v string) predicate.BillingRefund

ChargeID applies equality check predicate on the "charge_id" field. It's identical to ChargeIDEQ.

func ChargeIDContains

func ChargeIDContains(v string) predicate.BillingRefund

ChargeIDContains applies the Contains predicate on the "charge_id" field.

func ChargeIDContainsFold

func ChargeIDContainsFold(v string) predicate.BillingRefund

ChargeIDContainsFold applies the ContainsFold predicate on the "charge_id" field.

func ChargeIDEQ

func ChargeIDEQ(v string) predicate.BillingRefund

ChargeIDEQ applies the EQ predicate on the "charge_id" field.

func ChargeIDEqualFold

func ChargeIDEqualFold(v string) predicate.BillingRefund

ChargeIDEqualFold applies the EqualFold predicate on the "charge_id" field.

func ChargeIDGT

func ChargeIDGT(v string) predicate.BillingRefund

ChargeIDGT applies the GT predicate on the "charge_id" field.

func ChargeIDGTE

func ChargeIDGTE(v string) predicate.BillingRefund

ChargeIDGTE applies the GTE predicate on the "charge_id" field.

func ChargeIDHasPrefix

func ChargeIDHasPrefix(v string) predicate.BillingRefund

ChargeIDHasPrefix applies the HasPrefix predicate on the "charge_id" field.

func ChargeIDHasSuffix

func ChargeIDHasSuffix(v string) predicate.BillingRefund

ChargeIDHasSuffix applies the HasSuffix predicate on the "charge_id" field.

func ChargeIDIn

func ChargeIDIn(vs ...string) predicate.BillingRefund

ChargeIDIn applies the In predicate on the "charge_id" field.

func ChargeIDLT

func ChargeIDLT(v string) predicate.BillingRefund

ChargeIDLT applies the LT predicate on the "charge_id" field.

func ChargeIDLTE

func ChargeIDLTE(v string) predicate.BillingRefund

ChargeIDLTE applies the LTE predicate on the "charge_id" field.

func ChargeIDNEQ

func ChargeIDNEQ(v string) predicate.BillingRefund

ChargeIDNEQ applies the NEQ predicate on the "charge_id" field.

func ChargeIDNotIn

func ChargeIDNotIn(vs ...string) predicate.BillingRefund

ChargeIDNotIn applies the NotIn predicate on the "charge_id" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.BillingRefund

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.BillingRefund

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.BillingRefund

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.BillingRefund

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.BillingRefund

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.BillingRefund

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.BillingRefund

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

func CreatedAtNotIn

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

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

func Full

Full applies equality check predicate on the "full" field. It's identical to FullEQ.

func FullEQ

func FullEQ(v bool) predicate.BillingRefund

FullEQ applies the EQ predicate on the "full" field.

func FullNEQ

func FullNEQ(v bool) predicate.BillingRefund

FullNEQ applies the NEQ predicate on the "full" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.BillingRefund

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.BillingRefund

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.BillingRefund

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.BillingRefund

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.BillingRefund

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func PaymentIntent

func PaymentIntent(v string) predicate.BillingRefund

PaymentIntent applies equality check predicate on the "payment_intent" field. It's identical to PaymentIntentEQ.

func PaymentIntentContains

func PaymentIntentContains(v string) predicate.BillingRefund

PaymentIntentContains applies the Contains predicate on the "payment_intent" field.

func PaymentIntentContainsFold

func PaymentIntentContainsFold(v string) predicate.BillingRefund

PaymentIntentContainsFold applies the ContainsFold predicate on the "payment_intent" field.

func PaymentIntentEQ

func PaymentIntentEQ(v string) predicate.BillingRefund

PaymentIntentEQ applies the EQ predicate on the "payment_intent" field.

func PaymentIntentEqualFold

func PaymentIntentEqualFold(v string) predicate.BillingRefund

PaymentIntentEqualFold applies the EqualFold predicate on the "payment_intent" field.

func PaymentIntentGT

func PaymentIntentGT(v string) predicate.BillingRefund

PaymentIntentGT applies the GT predicate on the "payment_intent" field.

func PaymentIntentGTE

func PaymentIntentGTE(v string) predicate.BillingRefund

PaymentIntentGTE applies the GTE predicate on the "payment_intent" field.

func PaymentIntentHasPrefix

func PaymentIntentHasPrefix(v string) predicate.BillingRefund

PaymentIntentHasPrefix applies the HasPrefix predicate on the "payment_intent" field.

func PaymentIntentHasSuffix

func PaymentIntentHasSuffix(v string) predicate.BillingRefund

PaymentIntentHasSuffix applies the HasSuffix predicate on the "payment_intent" field.

func PaymentIntentIn

func PaymentIntentIn(vs ...string) predicate.BillingRefund

PaymentIntentIn applies the In predicate on the "payment_intent" field.

func PaymentIntentIsNil

func PaymentIntentIsNil() predicate.BillingRefund

PaymentIntentIsNil applies the IsNil predicate on the "payment_intent" field.

func PaymentIntentLT

func PaymentIntentLT(v string) predicate.BillingRefund

PaymentIntentLT applies the LT predicate on the "payment_intent" field.

func PaymentIntentLTE

func PaymentIntentLTE(v string) predicate.BillingRefund

PaymentIntentLTE applies the LTE predicate on the "payment_intent" field.

func PaymentIntentNEQ

func PaymentIntentNEQ(v string) predicate.BillingRefund

PaymentIntentNEQ applies the NEQ predicate on the "payment_intent" field.

func PaymentIntentNotIn

func PaymentIntentNotIn(vs ...string) predicate.BillingRefund

PaymentIntentNotIn applies the NotIn predicate on the "payment_intent" field.

func PaymentIntentNotNil

func PaymentIntentNotNil() predicate.BillingRefund

PaymentIntentNotNil applies the NotNil predicate on the "payment_intent" field.

func RefundedCents

func RefundedCents(v int64) predicate.BillingRefund

RefundedCents applies equality check predicate on the "refunded_cents" field. It's identical to RefundedCentsEQ.

func RefundedCentsEQ

func RefundedCentsEQ(v int64) predicate.BillingRefund

RefundedCentsEQ applies the EQ predicate on the "refunded_cents" field.

func RefundedCentsGT

func RefundedCentsGT(v int64) predicate.BillingRefund

RefundedCentsGT applies the GT predicate on the "refunded_cents" field.

func RefundedCentsGTE

func RefundedCentsGTE(v int64) predicate.BillingRefund

RefundedCentsGTE applies the GTE predicate on the "refunded_cents" field.

func RefundedCentsIn

func RefundedCentsIn(vs ...int64) predicate.BillingRefund

RefundedCentsIn applies the In predicate on the "refunded_cents" field.

func RefundedCentsLT

func RefundedCentsLT(v int64) predicate.BillingRefund

RefundedCentsLT applies the LT predicate on the "refunded_cents" field.

func RefundedCentsLTE

func RefundedCentsLTE(v int64) predicate.BillingRefund

RefundedCentsLTE applies the LTE predicate on the "refunded_cents" field.

func RefundedCentsNEQ

func RefundedCentsNEQ(v int64) predicate.BillingRefund

RefundedCentsNEQ applies the NEQ predicate on the "refunded_cents" field.

func RefundedCentsNotIn

func RefundedCentsNotIn(vs ...int64) predicate.BillingRefund

RefundedCentsNotIn applies the NotIn predicate on the "refunded_cents" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.BillingRefund

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.BillingRefund

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.BillingRefund

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.BillingRefund

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.BillingRefund

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.BillingRefund

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.BillingRefund

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

func UpdatedAtNotIn

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

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" 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 BillingRefund queries.

func ByChargeID

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

ByChargeID orders the results by the charge_id field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByFull

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

ByFull orders the results by the full field.

func ByID

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

ByID orders the results by the id field.

func ByPaymentIntent

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

ByPaymentIntent orders the results by the payment_intent field.

func ByRefundedCents

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

ByRefundedCents orders the results by the refunded_cents field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

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