Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.BillingDispute) predicate.BillingDispute
- func ChargeID(v string) predicate.BillingDispute
- func ChargeIDContains(v string) predicate.BillingDispute
- func ChargeIDContainsFold(v string) predicate.BillingDispute
- func ChargeIDEQ(v string) predicate.BillingDispute
- func ChargeIDEqualFold(v string) predicate.BillingDispute
- func ChargeIDGT(v string) predicate.BillingDispute
- func ChargeIDGTE(v string) predicate.BillingDispute
- func ChargeIDHasPrefix(v string) predicate.BillingDispute
- func ChargeIDHasSuffix(v string) predicate.BillingDispute
- func ChargeIDIn(vs ...string) predicate.BillingDispute
- func ChargeIDIsNil() predicate.BillingDispute
- func ChargeIDLT(v string) predicate.BillingDispute
- func ChargeIDLTE(v string) predicate.BillingDispute
- func ChargeIDNEQ(v string) predicate.BillingDispute
- func ChargeIDNotIn(vs ...string) predicate.BillingDispute
- func ChargeIDNotNil() predicate.BillingDispute
- func Closed(v bool) predicate.BillingDispute
- func ClosedEQ(v bool) predicate.BillingDispute
- func ClosedNEQ(v bool) predicate.BillingDispute
- func CreatedAt(v time.Time) predicate.BillingDispute
- func CreatedAtEQ(v time.Time) predicate.BillingDispute
- func CreatedAtGT(v time.Time) predicate.BillingDispute
- func CreatedAtGTE(v time.Time) predicate.BillingDispute
- func CreatedAtIn(vs ...time.Time) predicate.BillingDispute
- func CreatedAtLT(v time.Time) predicate.BillingDispute
- func CreatedAtLTE(v time.Time) predicate.BillingDispute
- func CreatedAtNEQ(v time.Time) predicate.BillingDispute
- func CreatedAtNotIn(vs ...time.Time) predicate.BillingDispute
- func DisputeID(v string) predicate.BillingDispute
- func DisputeIDContains(v string) predicate.BillingDispute
- func DisputeIDContainsFold(v string) predicate.BillingDispute
- func DisputeIDEQ(v string) predicate.BillingDispute
- func DisputeIDEqualFold(v string) predicate.BillingDispute
- func DisputeIDGT(v string) predicate.BillingDispute
- func DisputeIDGTE(v string) predicate.BillingDispute
- func DisputeIDHasPrefix(v string) predicate.BillingDispute
- func DisputeIDHasSuffix(v string) predicate.BillingDispute
- func DisputeIDIn(vs ...string) predicate.BillingDispute
- func DisputeIDLT(v string) predicate.BillingDispute
- func DisputeIDLTE(v string) predicate.BillingDispute
- func DisputeIDNEQ(v string) predicate.BillingDispute
- func DisputeIDNotIn(vs ...string) predicate.BillingDispute
- func ID(id uuid.UUID) predicate.BillingDispute
- func IDEQ(id uuid.UUID) predicate.BillingDispute
- func IDGT(id uuid.UUID) predicate.BillingDispute
- func IDGTE(id uuid.UUID) predicate.BillingDispute
- func IDIn(ids ...uuid.UUID) predicate.BillingDispute
- func IDLT(id uuid.UUID) predicate.BillingDispute
- func IDLTE(id uuid.UUID) predicate.BillingDispute
- func IDNEQ(id uuid.UUID) predicate.BillingDispute
- func IDNotIn(ids ...uuid.UUID) predicate.BillingDispute
- func Lost(v bool) predicate.BillingDispute
- func LostEQ(v bool) predicate.BillingDispute
- func LostNEQ(v bool) predicate.BillingDispute
- func Not(p predicate.BillingDispute) predicate.BillingDispute
- func Or(predicates ...predicate.BillingDispute) predicate.BillingDispute
- func PaymentIntent(v string) predicate.BillingDispute
- func PaymentIntentContains(v string) predicate.BillingDispute
- func PaymentIntentContainsFold(v string) predicate.BillingDispute
- func PaymentIntentEQ(v string) predicate.BillingDispute
- func PaymentIntentEqualFold(v string) predicate.BillingDispute
- func PaymentIntentGT(v string) predicate.BillingDispute
- func PaymentIntentGTE(v string) predicate.BillingDispute
- func PaymentIntentHasPrefix(v string) predicate.BillingDispute
- func PaymentIntentHasSuffix(v string) predicate.BillingDispute
- func PaymentIntentIn(vs ...string) predicate.BillingDispute
- func PaymentIntentIsNil() predicate.BillingDispute
- func PaymentIntentLT(v string) predicate.BillingDispute
- func PaymentIntentLTE(v string) predicate.BillingDispute
- func PaymentIntentNEQ(v string) predicate.BillingDispute
- func PaymentIntentNotIn(vs ...string) predicate.BillingDispute
- func PaymentIntentNotNil() predicate.BillingDispute
- func UpdatedAt(v time.Time) predicate.BillingDispute
- func UpdatedAtEQ(v time.Time) predicate.BillingDispute
- func UpdatedAtGT(v time.Time) predicate.BillingDispute
- func UpdatedAtGTE(v time.Time) predicate.BillingDispute
- func UpdatedAtIn(vs ...time.Time) predicate.BillingDispute
- func UpdatedAtLT(v time.Time) predicate.BillingDispute
- func UpdatedAtLTE(v time.Time) predicate.BillingDispute
- func UpdatedAtNEQ(v time.Time) predicate.BillingDispute
- func UpdatedAtNotIn(vs ...time.Time) predicate.BillingDispute
- func ValidColumn(column string) bool
- type OrderOption
- func ByChargeID(opts ...sql.OrderTermOption) OrderOption
- func ByClosed(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDisputeID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLost(opts ...sql.OrderTermOption) OrderOption
- func ByPaymentIntent(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the billingdispute type in the database. Label = "billing_dispute" // 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" // FieldDisputeID holds the string denoting the dispute_id field in the database. FieldDisputeID = "dispute_id" // 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" // FieldClosed holds the string denoting the closed field in the database. FieldClosed = "closed" // FieldLost holds the string denoting the lost field in the database. FieldLost = "lost" // Table holds the table name of the billingdispute in the database. Table = "sf_billing_disputes" )
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 // DisputeIDValidator is a validator for the "dispute_id" field. It is called by the builders before save. DisputeIDValidator func(string) error // 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 // DefaultClosed holds the default value on creation for the "closed" field. DefaultClosed bool // DefaultLost holds the default value on creation for the "lost" field. DefaultLost bool // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDisputeID, FieldChargeID, FieldPaymentIntent, FieldClosed, FieldLost, }
Columns holds all SQL columns for billingdispute fields.
Functions ¶
func And ¶
func And(predicates ...predicate.BillingDispute) predicate.BillingDispute
And groups predicates with the AND operator between them.
func ChargeID ¶
func ChargeID(v string) predicate.BillingDispute
ChargeID applies equality check predicate on the "charge_id" field. It's identical to ChargeIDEQ.
func ChargeIDContains ¶
func ChargeIDContains(v string) predicate.BillingDispute
ChargeIDContains applies the Contains predicate on the "charge_id" field.
func ChargeIDContainsFold ¶
func ChargeIDContainsFold(v string) predicate.BillingDispute
ChargeIDContainsFold applies the ContainsFold predicate on the "charge_id" field.
func ChargeIDEQ ¶
func ChargeIDEQ(v string) predicate.BillingDispute
ChargeIDEQ applies the EQ predicate on the "charge_id" field.
func ChargeIDEqualFold ¶
func ChargeIDEqualFold(v string) predicate.BillingDispute
ChargeIDEqualFold applies the EqualFold predicate on the "charge_id" field.
func ChargeIDGT ¶
func ChargeIDGT(v string) predicate.BillingDispute
ChargeIDGT applies the GT predicate on the "charge_id" field.
func ChargeIDGTE ¶
func ChargeIDGTE(v string) predicate.BillingDispute
ChargeIDGTE applies the GTE predicate on the "charge_id" field.
func ChargeIDHasPrefix ¶
func ChargeIDHasPrefix(v string) predicate.BillingDispute
ChargeIDHasPrefix applies the HasPrefix predicate on the "charge_id" field.
func ChargeIDHasSuffix ¶
func ChargeIDHasSuffix(v string) predicate.BillingDispute
ChargeIDHasSuffix applies the HasSuffix predicate on the "charge_id" field.
func ChargeIDIn ¶
func ChargeIDIn(vs ...string) predicate.BillingDispute
ChargeIDIn applies the In predicate on the "charge_id" field.
func ChargeIDIsNil ¶
func ChargeIDIsNil() predicate.BillingDispute
ChargeIDIsNil applies the IsNil predicate on the "charge_id" field.
func ChargeIDLT ¶
func ChargeIDLT(v string) predicate.BillingDispute
ChargeIDLT applies the LT predicate on the "charge_id" field.
func ChargeIDLTE ¶
func ChargeIDLTE(v string) predicate.BillingDispute
ChargeIDLTE applies the LTE predicate on the "charge_id" field.
func ChargeIDNEQ ¶
func ChargeIDNEQ(v string) predicate.BillingDispute
ChargeIDNEQ applies the NEQ predicate on the "charge_id" field.
func ChargeIDNotIn ¶
func ChargeIDNotIn(vs ...string) predicate.BillingDispute
ChargeIDNotIn applies the NotIn predicate on the "charge_id" field.
func ChargeIDNotNil ¶
func ChargeIDNotNil() predicate.BillingDispute
ChargeIDNotNil applies the NotNil predicate on the "charge_id" field.
func Closed ¶
func Closed(v bool) predicate.BillingDispute
Closed applies equality check predicate on the "closed" field. It's identical to ClosedEQ.
func ClosedEQ ¶
func ClosedEQ(v bool) predicate.BillingDispute
ClosedEQ applies the EQ predicate on the "closed" field.
func ClosedNEQ ¶
func ClosedNEQ(v bool) predicate.BillingDispute
ClosedNEQ applies the NEQ predicate on the "closed" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.BillingDispute
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.BillingDispute
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.BillingDispute
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.BillingDispute
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.BillingDispute
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.BillingDispute
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.BillingDispute
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.BillingDispute
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.BillingDispute
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DisputeID ¶
func DisputeID(v string) predicate.BillingDispute
DisputeID applies equality check predicate on the "dispute_id" field. It's identical to DisputeIDEQ.
func DisputeIDContains ¶
func DisputeIDContains(v string) predicate.BillingDispute
DisputeIDContains applies the Contains predicate on the "dispute_id" field.
func DisputeIDContainsFold ¶
func DisputeIDContainsFold(v string) predicate.BillingDispute
DisputeIDContainsFold applies the ContainsFold predicate on the "dispute_id" field.
func DisputeIDEQ ¶
func DisputeIDEQ(v string) predicate.BillingDispute
DisputeIDEQ applies the EQ predicate on the "dispute_id" field.
func DisputeIDEqualFold ¶
func DisputeIDEqualFold(v string) predicate.BillingDispute
DisputeIDEqualFold applies the EqualFold predicate on the "dispute_id" field.
func DisputeIDGT ¶
func DisputeIDGT(v string) predicate.BillingDispute
DisputeIDGT applies the GT predicate on the "dispute_id" field.
func DisputeIDGTE ¶
func DisputeIDGTE(v string) predicate.BillingDispute
DisputeIDGTE applies the GTE predicate on the "dispute_id" field.
func DisputeIDHasPrefix ¶
func DisputeIDHasPrefix(v string) predicate.BillingDispute
DisputeIDHasPrefix applies the HasPrefix predicate on the "dispute_id" field.
func DisputeIDHasSuffix ¶
func DisputeIDHasSuffix(v string) predicate.BillingDispute
DisputeIDHasSuffix applies the HasSuffix predicate on the "dispute_id" field.
func DisputeIDIn ¶
func DisputeIDIn(vs ...string) predicate.BillingDispute
DisputeIDIn applies the In predicate on the "dispute_id" field.
func DisputeIDLT ¶
func DisputeIDLT(v string) predicate.BillingDispute
DisputeIDLT applies the LT predicate on the "dispute_id" field.
func DisputeIDLTE ¶
func DisputeIDLTE(v string) predicate.BillingDispute
DisputeIDLTE applies the LTE predicate on the "dispute_id" field.
func DisputeIDNEQ ¶
func DisputeIDNEQ(v string) predicate.BillingDispute
DisputeIDNEQ applies the NEQ predicate on the "dispute_id" field.
func DisputeIDNotIn ¶
func DisputeIDNotIn(vs ...string) predicate.BillingDispute
DisputeIDNotIn applies the NotIn predicate on the "dispute_id" field.
func ID ¶
func ID(id uuid.UUID) predicate.BillingDispute
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.BillingDispute
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.BillingDispute
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.BillingDispute
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.BillingDispute
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.BillingDispute
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.BillingDispute
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.BillingDispute
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.BillingDispute
IDNotIn applies the NotIn predicate on the ID field.
func Lost ¶
func Lost(v bool) predicate.BillingDispute
Lost applies equality check predicate on the "lost" field. It's identical to LostEQ.
func LostEQ ¶
func LostEQ(v bool) predicate.BillingDispute
LostEQ applies the EQ predicate on the "lost" field.
func LostNEQ ¶
func LostNEQ(v bool) predicate.BillingDispute
LostNEQ applies the NEQ predicate on the "lost" field.
func Not ¶
func Not(p predicate.BillingDispute) predicate.BillingDispute
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.BillingDispute) predicate.BillingDispute
Or groups predicates with the OR operator between them.
func PaymentIntent ¶
func PaymentIntent(v string) predicate.BillingDispute
PaymentIntent applies equality check predicate on the "payment_intent" field. It's identical to PaymentIntentEQ.
func PaymentIntentContains ¶
func PaymentIntentContains(v string) predicate.BillingDispute
PaymentIntentContains applies the Contains predicate on the "payment_intent" field.
func PaymentIntentContainsFold ¶
func PaymentIntentContainsFold(v string) predicate.BillingDispute
PaymentIntentContainsFold applies the ContainsFold predicate on the "payment_intent" field.
func PaymentIntentEQ ¶
func PaymentIntentEQ(v string) predicate.BillingDispute
PaymentIntentEQ applies the EQ predicate on the "payment_intent" field.
func PaymentIntentEqualFold ¶
func PaymentIntentEqualFold(v string) predicate.BillingDispute
PaymentIntentEqualFold applies the EqualFold predicate on the "payment_intent" field.
func PaymentIntentGT ¶
func PaymentIntentGT(v string) predicate.BillingDispute
PaymentIntentGT applies the GT predicate on the "payment_intent" field.
func PaymentIntentGTE ¶
func PaymentIntentGTE(v string) predicate.BillingDispute
PaymentIntentGTE applies the GTE predicate on the "payment_intent" field.
func PaymentIntentHasPrefix ¶
func PaymentIntentHasPrefix(v string) predicate.BillingDispute
PaymentIntentHasPrefix applies the HasPrefix predicate on the "payment_intent" field.
func PaymentIntentHasSuffix ¶
func PaymentIntentHasSuffix(v string) predicate.BillingDispute
PaymentIntentHasSuffix applies the HasSuffix predicate on the "payment_intent" field.
func PaymentIntentIn ¶
func PaymentIntentIn(vs ...string) predicate.BillingDispute
PaymentIntentIn applies the In predicate on the "payment_intent" field.
func PaymentIntentIsNil ¶
func PaymentIntentIsNil() predicate.BillingDispute
PaymentIntentIsNil applies the IsNil predicate on the "payment_intent" field.
func PaymentIntentLT ¶
func PaymentIntentLT(v string) predicate.BillingDispute
PaymentIntentLT applies the LT predicate on the "payment_intent" field.
func PaymentIntentLTE ¶
func PaymentIntentLTE(v string) predicate.BillingDispute
PaymentIntentLTE applies the LTE predicate on the "payment_intent" field.
func PaymentIntentNEQ ¶
func PaymentIntentNEQ(v string) predicate.BillingDispute
PaymentIntentNEQ applies the NEQ predicate on the "payment_intent" field.
func PaymentIntentNotIn ¶
func PaymentIntentNotIn(vs ...string) predicate.BillingDispute
PaymentIntentNotIn applies the NotIn predicate on the "payment_intent" field.
func PaymentIntentNotNil ¶
func PaymentIntentNotNil() predicate.BillingDispute
PaymentIntentNotNil applies the NotNil predicate on the "payment_intent" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.BillingDispute
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.BillingDispute
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.BillingDispute
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.BillingDispute
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.BillingDispute
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.BillingDispute
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.BillingDispute
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.BillingDispute
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.BillingDispute
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 BillingDispute queries.
func ByChargeID ¶
func ByChargeID(opts ...sql.OrderTermOption) OrderOption
ByChargeID orders the results by the charge_id field.
func ByClosed ¶
func ByClosed(opts ...sql.OrderTermOption) OrderOption
ByClosed orders the results by the closed field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDisputeID ¶
func ByDisputeID(opts ...sql.OrderTermOption) OrderOption
ByDisputeID orders the results by the dispute_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLost ¶
func ByLost(opts ...sql.OrderTermOption) OrderOption
ByLost orders the results by the lost field.
func ByPaymentIntent ¶
func ByPaymentIntent(opts ...sql.OrderTermOption) OrderOption
ByPaymentIntent orders the results by the payment_intent field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.