File size: 26,495 Bytes
1c4c66b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
// Code generated by ent, DO NOT EDIT.

package appstripecustomer

import (
	"time"

	"entgo.io/ent/dialect/sql"
	"entgo.io/ent/dialect/sql/sqlgraph"
	"github.com/openmeterio/openmeter/openmeter/ent/db/predicate"
)

// ID filters vertices based on their ID field.
func ID(id int) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldEQ(FieldID, id))
}

// IDEQ applies the EQ predicate on the ID field.
func IDEQ(id int) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldEQ(FieldID, id))
}

// IDNEQ applies the NEQ predicate on the ID field.
func IDNEQ(id int) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldNEQ(FieldID, id))
}

// IDIn applies the In predicate on the ID field.
func IDIn(ids ...int) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldIn(FieldID, ids...))
}

// IDNotIn applies the NotIn predicate on the ID field.
func IDNotIn(ids ...int) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldNotIn(FieldID, ids...))
}

// IDGT applies the GT predicate on the ID field.
func IDGT(id int) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldGT(FieldID, id))
}

// IDGTE applies the GTE predicate on the ID field.
func IDGTE(id int) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldGTE(FieldID, id))
}

// IDLT applies the LT predicate on the ID field.
func IDLT(id int) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldLT(FieldID, id))
}

// IDLTE applies the LTE predicate on the ID field.
func IDLTE(id int) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldLTE(FieldID, id))
}

// Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.
func Namespace(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldEQ(FieldNamespace, v))
}

// CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAt(v time.Time) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldEQ(FieldCreatedAt, v))
}

// UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAt(v time.Time) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldEQ(FieldUpdatedAt, v))
}

// DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAt(v time.Time) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldEQ(FieldDeletedAt, v))
}

// AppID applies equality check predicate on the "app_id" field. It's identical to AppIDEQ.
func AppID(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldEQ(FieldAppID, v))
}

// CustomerID applies equality check predicate on the "customer_id" field. It's identical to CustomerIDEQ.
func CustomerID(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldEQ(FieldCustomerID, v))
}

// StripeCustomerID applies equality check predicate on the "stripe_customer_id" field. It's identical to StripeCustomerIDEQ.
func StripeCustomerID(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldEQ(FieldStripeCustomerID, v))
}

// StripeDefaultPaymentMethodID applies equality check predicate on the "stripe_default_payment_method_id" field. It's identical to StripeDefaultPaymentMethodIDEQ.
func StripeDefaultPaymentMethodID(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldEQ(FieldStripeDefaultPaymentMethodID, v))
}

// NamespaceEQ applies the EQ predicate on the "namespace" field.
func NamespaceEQ(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldEQ(FieldNamespace, v))
}

// NamespaceNEQ applies the NEQ predicate on the "namespace" field.
func NamespaceNEQ(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldNEQ(FieldNamespace, v))
}

// NamespaceIn applies the In predicate on the "namespace" field.
func NamespaceIn(vs ...string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldIn(FieldNamespace, vs...))
}

// NamespaceNotIn applies the NotIn predicate on the "namespace" field.
func NamespaceNotIn(vs ...string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldNotIn(FieldNamespace, vs...))
}

// NamespaceGT applies the GT predicate on the "namespace" field.
func NamespaceGT(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldGT(FieldNamespace, v))
}

// NamespaceGTE applies the GTE predicate on the "namespace" field.
func NamespaceGTE(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldGTE(FieldNamespace, v))
}

// NamespaceLT applies the LT predicate on the "namespace" field.
func NamespaceLT(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldLT(FieldNamespace, v))
}

// NamespaceLTE applies the LTE predicate on the "namespace" field.
func NamespaceLTE(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldLTE(FieldNamespace, v))
}

// NamespaceContains applies the Contains predicate on the "namespace" field.
func NamespaceContains(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldContains(FieldNamespace, v))
}

// NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.
func NamespaceHasPrefix(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldHasPrefix(FieldNamespace, v))
}

// NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.
func NamespaceHasSuffix(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldHasSuffix(FieldNamespace, v))
}

// NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.
func NamespaceEqualFold(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldEqualFold(FieldNamespace, v))
}

// NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.
func NamespaceContainsFold(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldContainsFold(FieldNamespace, v))
}

// CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtEQ(v time.Time) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldEQ(FieldCreatedAt, v))
}

// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNEQ(v time.Time) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldNEQ(FieldCreatedAt, v))
}

// CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIn(vs ...time.Time) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldIn(FieldCreatedAt, vs...))
}

// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotIn(vs ...time.Time) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldNotIn(FieldCreatedAt, vs...))
}

// CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGT(v time.Time) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldGT(FieldCreatedAt, v))
}

// CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtGTE(v time.Time) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldGTE(FieldCreatedAt, v))
}

// CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLT(v time.Time) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldLT(FieldCreatedAt, v))
}

// CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtLTE(v time.Time) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldLTE(FieldCreatedAt, v))
}

// UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtEQ(v time.Time) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldEQ(FieldUpdatedAt, v))
}

// UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNEQ(v time.Time) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldNEQ(FieldUpdatedAt, v))
}

// UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIn(vs ...time.Time) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldIn(FieldUpdatedAt, vs...))
}

// UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotIn(vs ...time.Time) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldNotIn(FieldUpdatedAt, vs...))
}

// UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGT(v time.Time) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldGT(FieldUpdatedAt, v))
}

// UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtGTE(v time.Time) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldGTE(FieldUpdatedAt, v))
}

// UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLT(v time.Time) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldLT(FieldUpdatedAt, v))
}

// UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtLTE(v time.Time) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldLTE(FieldUpdatedAt, v))
}

// DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtEQ(v time.Time) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldEQ(FieldDeletedAt, v))
}

// DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNEQ(v time.Time) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldNEQ(FieldDeletedAt, v))
}

// DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIn(vs ...time.Time) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldIn(FieldDeletedAt, vs...))
}

// DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotIn(vs ...time.Time) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldNotIn(FieldDeletedAt, vs...))
}

// DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGT(v time.Time) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldGT(FieldDeletedAt, v))
}

// DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtGTE(v time.Time) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldGTE(FieldDeletedAt, v))
}

// DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLT(v time.Time) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldLT(FieldDeletedAt, v))
}

// DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtLTE(v time.Time) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldLTE(FieldDeletedAt, v))
}

// DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtIsNil() predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldIsNull(FieldDeletedAt))
}

// DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedAtNotNil() predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldNotNull(FieldDeletedAt))
}

// AppIDEQ applies the EQ predicate on the "app_id" field.
func AppIDEQ(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldEQ(FieldAppID, v))
}

// AppIDNEQ applies the NEQ predicate on the "app_id" field.
func AppIDNEQ(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldNEQ(FieldAppID, v))
}

// AppIDIn applies the In predicate on the "app_id" field.
func AppIDIn(vs ...string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldIn(FieldAppID, vs...))
}

// AppIDNotIn applies the NotIn predicate on the "app_id" field.
func AppIDNotIn(vs ...string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldNotIn(FieldAppID, vs...))
}

// AppIDGT applies the GT predicate on the "app_id" field.
func AppIDGT(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldGT(FieldAppID, v))
}

// AppIDGTE applies the GTE predicate on the "app_id" field.
func AppIDGTE(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldGTE(FieldAppID, v))
}

// AppIDLT applies the LT predicate on the "app_id" field.
func AppIDLT(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldLT(FieldAppID, v))
}

// AppIDLTE applies the LTE predicate on the "app_id" field.
func AppIDLTE(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldLTE(FieldAppID, v))
}

// AppIDContains applies the Contains predicate on the "app_id" field.
func AppIDContains(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldContains(FieldAppID, v))
}

// AppIDHasPrefix applies the HasPrefix predicate on the "app_id" field.
func AppIDHasPrefix(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldHasPrefix(FieldAppID, v))
}

// AppIDHasSuffix applies the HasSuffix predicate on the "app_id" field.
func AppIDHasSuffix(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldHasSuffix(FieldAppID, v))
}

// AppIDEqualFold applies the EqualFold predicate on the "app_id" field.
func AppIDEqualFold(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldEqualFold(FieldAppID, v))
}

// AppIDContainsFold applies the ContainsFold predicate on the "app_id" field.
func AppIDContainsFold(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldContainsFold(FieldAppID, v))
}

// CustomerIDEQ applies the EQ predicate on the "customer_id" field.
func CustomerIDEQ(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldEQ(FieldCustomerID, v))
}

// CustomerIDNEQ applies the NEQ predicate on the "customer_id" field.
func CustomerIDNEQ(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldNEQ(FieldCustomerID, v))
}

// CustomerIDIn applies the In predicate on the "customer_id" field.
func CustomerIDIn(vs ...string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldIn(FieldCustomerID, vs...))
}

// CustomerIDNotIn applies the NotIn predicate on the "customer_id" field.
func CustomerIDNotIn(vs ...string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldNotIn(FieldCustomerID, vs...))
}

// CustomerIDGT applies the GT predicate on the "customer_id" field.
func CustomerIDGT(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldGT(FieldCustomerID, v))
}

// CustomerIDGTE applies the GTE predicate on the "customer_id" field.
func CustomerIDGTE(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldGTE(FieldCustomerID, v))
}

// CustomerIDLT applies the LT predicate on the "customer_id" field.
func CustomerIDLT(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldLT(FieldCustomerID, v))
}

// CustomerIDLTE applies the LTE predicate on the "customer_id" field.
func CustomerIDLTE(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldLTE(FieldCustomerID, v))
}

// CustomerIDContains applies the Contains predicate on the "customer_id" field.
func CustomerIDContains(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldContains(FieldCustomerID, v))
}

// CustomerIDHasPrefix applies the HasPrefix predicate on the "customer_id" field.
func CustomerIDHasPrefix(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldHasPrefix(FieldCustomerID, v))
}

// CustomerIDHasSuffix applies the HasSuffix predicate on the "customer_id" field.
func CustomerIDHasSuffix(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldHasSuffix(FieldCustomerID, v))
}

// CustomerIDEqualFold applies the EqualFold predicate on the "customer_id" field.
func CustomerIDEqualFold(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldEqualFold(FieldCustomerID, v))
}

// CustomerIDContainsFold applies the ContainsFold predicate on the "customer_id" field.
func CustomerIDContainsFold(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldContainsFold(FieldCustomerID, v))
}

// StripeCustomerIDEQ applies the EQ predicate on the "stripe_customer_id" field.
func StripeCustomerIDEQ(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldEQ(FieldStripeCustomerID, v))
}

// StripeCustomerIDNEQ applies the NEQ predicate on the "stripe_customer_id" field.
func StripeCustomerIDNEQ(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldNEQ(FieldStripeCustomerID, v))
}

// StripeCustomerIDIn applies the In predicate on the "stripe_customer_id" field.
func StripeCustomerIDIn(vs ...string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldIn(FieldStripeCustomerID, vs...))
}

// StripeCustomerIDNotIn applies the NotIn predicate on the "stripe_customer_id" field.
func StripeCustomerIDNotIn(vs ...string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldNotIn(FieldStripeCustomerID, vs...))
}

// StripeCustomerIDGT applies the GT predicate on the "stripe_customer_id" field.
func StripeCustomerIDGT(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldGT(FieldStripeCustomerID, v))
}

// StripeCustomerIDGTE applies the GTE predicate on the "stripe_customer_id" field.
func StripeCustomerIDGTE(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldGTE(FieldStripeCustomerID, v))
}

// StripeCustomerIDLT applies the LT predicate on the "stripe_customer_id" field.
func StripeCustomerIDLT(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldLT(FieldStripeCustomerID, v))
}

// StripeCustomerIDLTE applies the LTE predicate on the "stripe_customer_id" field.
func StripeCustomerIDLTE(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldLTE(FieldStripeCustomerID, v))
}

// StripeCustomerIDContains applies the Contains predicate on the "stripe_customer_id" field.
func StripeCustomerIDContains(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldContains(FieldStripeCustomerID, v))
}

// StripeCustomerIDHasPrefix applies the HasPrefix predicate on the "stripe_customer_id" field.
func StripeCustomerIDHasPrefix(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldHasPrefix(FieldStripeCustomerID, v))
}

// StripeCustomerIDHasSuffix applies the HasSuffix predicate on the "stripe_customer_id" field.
func StripeCustomerIDHasSuffix(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldHasSuffix(FieldStripeCustomerID, v))
}

// StripeCustomerIDEqualFold applies the EqualFold predicate on the "stripe_customer_id" field.
func StripeCustomerIDEqualFold(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldEqualFold(FieldStripeCustomerID, v))
}

// StripeCustomerIDContainsFold applies the ContainsFold predicate on the "stripe_customer_id" field.
func StripeCustomerIDContainsFold(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldContainsFold(FieldStripeCustomerID, v))
}

// StripeDefaultPaymentMethodIDEQ applies the EQ predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDEQ(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldEQ(FieldStripeDefaultPaymentMethodID, v))
}

// StripeDefaultPaymentMethodIDNEQ applies the NEQ predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDNEQ(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldNEQ(FieldStripeDefaultPaymentMethodID, v))
}

// StripeDefaultPaymentMethodIDIn applies the In predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDIn(vs ...string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldIn(FieldStripeDefaultPaymentMethodID, vs...))
}

// StripeDefaultPaymentMethodIDNotIn applies the NotIn predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDNotIn(vs ...string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldNotIn(FieldStripeDefaultPaymentMethodID, vs...))
}

// StripeDefaultPaymentMethodIDGT applies the GT predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDGT(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldGT(FieldStripeDefaultPaymentMethodID, v))
}

// StripeDefaultPaymentMethodIDGTE applies the GTE predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDGTE(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldGTE(FieldStripeDefaultPaymentMethodID, v))
}

// StripeDefaultPaymentMethodIDLT applies the LT predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDLT(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldLT(FieldStripeDefaultPaymentMethodID, v))
}

// StripeDefaultPaymentMethodIDLTE applies the LTE predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDLTE(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldLTE(FieldStripeDefaultPaymentMethodID, v))
}

// StripeDefaultPaymentMethodIDContains applies the Contains predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDContains(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldContains(FieldStripeDefaultPaymentMethodID, v))
}

// StripeDefaultPaymentMethodIDHasPrefix applies the HasPrefix predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDHasPrefix(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldHasPrefix(FieldStripeDefaultPaymentMethodID, v))
}

// StripeDefaultPaymentMethodIDHasSuffix applies the HasSuffix predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDHasSuffix(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldHasSuffix(FieldStripeDefaultPaymentMethodID, v))
}

// StripeDefaultPaymentMethodIDIsNil applies the IsNil predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDIsNil() predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldIsNull(FieldStripeDefaultPaymentMethodID))
}

// StripeDefaultPaymentMethodIDNotNil applies the NotNil predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDNotNil() predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldNotNull(FieldStripeDefaultPaymentMethodID))
}

// StripeDefaultPaymentMethodIDEqualFold applies the EqualFold predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDEqualFold(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldEqualFold(FieldStripeDefaultPaymentMethodID, v))
}

// StripeDefaultPaymentMethodIDContainsFold applies the ContainsFold predicate on the "stripe_default_payment_method_id" field.
func StripeDefaultPaymentMethodIDContainsFold(v string) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.FieldContainsFold(FieldStripeDefaultPaymentMethodID, v))
}

// HasStripeApp applies the HasEdge predicate on the "stripe_app" edge.
func HasStripeApp() predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(func(s *sql.Selector) {
		step := sqlgraph.NewStep(
			sqlgraph.From(Table, FieldID),
			sqlgraph.Edge(sqlgraph.M2O, true, StripeAppTable, StripeAppColumn),
		)
		sqlgraph.HasNeighbors(s, step)
	})
}

// HasStripeAppWith applies the HasEdge predicate on the "stripe_app" edge with a given conditions (other predicates).
func HasStripeAppWith(preds ...predicate.AppStripe) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(func(s *sql.Selector) {
		step := newStripeAppStep()
		sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
			for _, p := range preds {
				p(s)
			}
		})
	})
}

// HasCustomer applies the HasEdge predicate on the "customer" edge.
func HasCustomer() predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(func(s *sql.Selector) {
		step := sqlgraph.NewStep(
			sqlgraph.From(Table, FieldID),
			sqlgraph.Edge(sqlgraph.M2O, false, CustomerTable, CustomerColumn),
		)
		sqlgraph.HasNeighbors(s, step)
	})
}

// HasCustomerWith applies the HasEdge predicate on the "customer" edge with a given conditions (other predicates).
func HasCustomerWith(preds ...predicate.Customer) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(func(s *sql.Selector) {
		step := newCustomerStep()
		sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
			for _, p := range preds {
				p(s)
			}
		})
	})
}

// And groups predicates with the AND operator between them.
func And(predicates ...predicate.AppStripeCustomer) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.AndPredicates(predicates...))
}

// Or groups predicates with the OR operator between them.
func Or(predicates ...predicate.AppStripeCustomer) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.OrPredicates(predicates...))
}

// Not applies the not operator on the given predicate.
func Not(p predicate.AppStripeCustomer) predicate.AppStripeCustomer {
	return predicate.AppStripeCustomer(sql.NotPredicates(p))
}