Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.BillingRefund) predicate.BillingRefund
- func ChargeID(v string) predicate.BillingRefund
- func ChargeIDContains(v string) predicate.BillingRefund
- func ChargeIDContainsFold(v string) predicate.BillingRefund
- func ChargeIDEQ(v string) predicate.BillingRefund
- func ChargeIDEqualFold(v string) predicate.BillingRefund
- func ChargeIDGT(v string) predicate.BillingRefund
- func ChargeIDGTE(v string) predicate.BillingRefund
- func ChargeIDHasPrefix(v string) predicate.BillingRefund
- func ChargeIDHasSuffix(v string) predicate.BillingRefund
- func ChargeIDIn(vs ...string) predicate.BillingRefund
- func ChargeIDLT(v string) predicate.BillingRefund
- func ChargeIDLTE(v string) predicate.BillingRefund
- func ChargeIDNEQ(v string) predicate.BillingRefund
- func ChargeIDNotIn(vs ...string) predicate.BillingRefund
- func CreatedAt(v time.Time) predicate.BillingRefund
- func CreatedAtEQ(v time.Time) predicate.BillingRefund
- func CreatedAtGT(v time.Time) predicate.BillingRefund
- func CreatedAtGTE(v time.Time) predicate.BillingRefund
- func CreatedAtIn(vs ...time.Time) predicate.BillingRefund
- func CreatedAtLT(v time.Time) predicate.BillingRefund
- func CreatedAtLTE(v time.Time) predicate.BillingRefund
- func CreatedAtNEQ(v time.Time) predicate.BillingRefund
- func CreatedAtNotIn(vs ...time.Time) predicate.BillingRefund
- func Full(v bool) predicate.BillingRefund
- func FullEQ(v bool) predicate.BillingRefund
- func FullNEQ(v bool) predicate.BillingRefund
- func ID(id uuid.UUID) predicate.BillingRefund
- func IDEQ(id uuid.UUID) predicate.BillingRefund
- func IDGT(id uuid.UUID) predicate.BillingRefund
- func IDGTE(id uuid.UUID) predicate.BillingRefund
- func IDIn(ids ...uuid.UUID) predicate.BillingRefund
- func IDLT(id uuid.UUID) predicate.BillingRefund
- func IDLTE(id uuid.UUID) predicate.BillingRefund
- func IDNEQ(id uuid.UUID) predicate.BillingRefund
- func IDNotIn(ids ...uuid.UUID) predicate.BillingRefund
- func Not(p predicate.BillingRefund) predicate.BillingRefund
- func Or(predicates ...predicate.BillingRefund) predicate.BillingRefund
- func PaymentIntent(v string) predicate.BillingRefund
- func PaymentIntentContains(v string) predicate.BillingRefund
- func PaymentIntentContainsFold(v string) predicate.BillingRefund
- func PaymentIntentEQ(v string) predicate.BillingRefund
- func PaymentIntentEqualFold(v string) predicate.BillingRefund
- func PaymentIntentGT(v string) predicate.BillingRefund
- func PaymentIntentGTE(v string) predicate.BillingRefund
- func PaymentIntentHasPrefix(v string) predicate.BillingRefund
- func PaymentIntentHasSuffix(v string) predicate.BillingRefund
- func PaymentIntentIn(vs ...string) predicate.BillingRefund
- func PaymentIntentIsNil() predicate.BillingRefund
- func PaymentIntentLT(v string) predicate.BillingRefund
- func PaymentIntentLTE(v string) predicate.BillingRefund
- func PaymentIntentNEQ(v string) predicate.BillingRefund
- func PaymentIntentNotIn(vs ...string) predicate.BillingRefund
- func PaymentIntentNotNil() predicate.BillingRefund
- func RefundedCents(v int64) predicate.BillingRefund
- func RefundedCentsEQ(v int64) predicate.BillingRefund
- func RefundedCentsGT(v int64) predicate.BillingRefund
- func RefundedCentsGTE(v int64) predicate.BillingRefund
- func RefundedCentsIn(vs ...int64) predicate.BillingRefund
- func RefundedCentsLT(v int64) predicate.BillingRefund
- func RefundedCentsLTE(v int64) predicate.BillingRefund
- func RefundedCentsNEQ(v int64) predicate.BillingRefund
- func RefundedCentsNotIn(vs ...int64) predicate.BillingRefund
- func UpdatedAt(v time.Time) predicate.BillingRefund
- func UpdatedAtEQ(v time.Time) predicate.BillingRefund
- func UpdatedAtGT(v time.Time) predicate.BillingRefund
- func UpdatedAtGTE(v time.Time) predicate.BillingRefund
- func UpdatedAtIn(vs ...time.Time) predicate.BillingRefund
- func UpdatedAtLT(v time.Time) predicate.BillingRefund
- func UpdatedAtLTE(v time.Time) predicate.BillingRefund
- func UpdatedAtNEQ(v time.Time) predicate.BillingRefund
- func UpdatedAtNotIn(vs ...time.Time) predicate.BillingRefund
- func ValidColumn(column string) bool
- type OrderOption
- func ByChargeID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByFull(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByPaymentIntent(opts ...sql.OrderTermOption) OrderOption
- func ByRefundedCents(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldChargeID, FieldPaymentIntent, FieldRefundedCents, FieldFull, }
Columns holds all SQL columns for billingrefund fields.
Functions ¶
func And ¶
func And(predicates ...predicate.BillingRefund) predicate.BillingRefund
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 ¶
func Full(v bool) predicate.BillingRefund
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 ¶
func ID(id uuid.UUID) predicate.BillingRefund
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.BillingRefund
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.BillingRefund
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 ¶
func IDLT(id uuid.UUID) predicate.BillingRefund
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 ¶
func Not(p predicate.BillingRefund) predicate.BillingRefund
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.BillingRefund) predicate.BillingRefund
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 ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.