Documentation
¶
Index ¶
- type Auth
- type BillingSequence
- type Customer
- type Entitlement
- type Environment
- type Feature
- type Invoice
- type InvoiceLineItem
- type InvoiceSequence
- type Meter
- type MeterAggregation
- type MeterFilter
- type Payment
- type PaymentAttempt
- type Plan
- type Price
- type PriceTier
- type Secret
- type Subscription
- type SubscriptionLineItem
- type SubscriptionPause
- type Task
- type Tenant
- type TransformQuantity
- type User
- type Wallet
- type WalletTransaction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BillingSequence ¶
BillingSequence holds the schema definition for the BillingSequence entity.
func (BillingSequence) Edges ¶
func (BillingSequence) Edges() []ent.Edge
Edges of the BillingSequence.
func (BillingSequence) Fields ¶
func (BillingSequence) Fields() []ent.Field
Fields of the BillingSequence.
func (BillingSequence) Indexes ¶
func (BillingSequence) Indexes() []ent.Index
Indexes of the BillingSequence.
type Entitlement ¶
Entitlement holds the schema definition for the Entitlement entity.
type Environment ¶
Environment holds the schema definition for the Environment entity.
func (Environment) Fields ¶
func (Environment) Fields() []ent.Field
type InvoiceLineItem ¶
InvoiceLineItem holds the schema definition for the InvoiceLineItem entity.
func (InvoiceLineItem) Edges ¶
func (InvoiceLineItem) Edges() []ent.Edge
Edges of the InvoiceLineItem.
func (InvoiceLineItem) Fields ¶
func (InvoiceLineItem) Fields() []ent.Field
Fields of the InvoiceLineItem.
func (InvoiceLineItem) Indexes ¶
func (InvoiceLineItem) Indexes() []ent.Index
Indexes of the InvoiceLineItem.
func (InvoiceLineItem) Mixin ¶
func (InvoiceLineItem) Mixin() []ent.Mixin
Mixin of the InvoiceLineItem.
type InvoiceSequence ¶
InvoiceSequence holds the schema definition for the InvoiceSequence entity.
func (InvoiceSequence) Edges ¶
func (InvoiceSequence) Edges() []ent.Edge
Edges of the InvoiceSequence.
func (InvoiceSequence) Fields ¶
func (InvoiceSequence) Fields() []ent.Field
Fields of the InvoiceSequence.
func (InvoiceSequence) Indexes ¶
func (InvoiceSequence) Indexes() []ent.Index
Indexes of the InvoiceSequence.
type MeterAggregation ¶
type MeterAggregation struct {
Type types.AggregationType `json:"type"`
Field string `json:"field,omitempty"`
}
type MeterFilter ¶
Additional types needed for JSON fields
type PaymentAttempt ¶
PaymentAttempt holds the schema definition for the PaymentAttempt entity.
func (PaymentAttempt) Fields ¶
func (PaymentAttempt) Fields() []ent.Field
Fields of the PaymentAttempt.
func (PaymentAttempt) Indexes ¶
func (PaymentAttempt) Indexes() []ent.Index
Indexes of the PaymentAttempt.
func (PaymentAttempt) Mixin ¶
func (PaymentAttempt) Mixin() []ent.Mixin
Mixin of the PaymentAttempt.
type PriceTier ¶
type PriceTier struct {
UpTo *uint64 `json:"up_to"`
UnitAmount decimal.Decimal `json:"unit_amount"`
FlatAmount *decimal.Decimal `json:"flat_amount,omitempty"`
}
Additional types needed for JSON fields
type Subscription ¶
Subscription holds the schema definition for the Subscription entity.
func (Subscription) Indexes ¶
func (Subscription) Indexes() []ent.Index
Indexes of the Subscription.
type SubscriptionLineItem ¶
SubscriptionLineItem holds the schema definition for the SubscriptionLineItem entity.
func (SubscriptionLineItem) Edges ¶
func (SubscriptionLineItem) Edges() []ent.Edge
Edges of the SubscriptionLineItem.
func (SubscriptionLineItem) Fields ¶
func (SubscriptionLineItem) Fields() []ent.Field
Fields of the SubscriptionLineItem.
func (SubscriptionLineItem) Indexes ¶
func (SubscriptionLineItem) Indexes() []ent.Index
Indexes of the SubscriptionLineItem.
func (SubscriptionLineItem) Mixin ¶
func (SubscriptionLineItem) Mixin() []ent.Mixin
Mixin of the SubscriptionLineItem.
type SubscriptionPause ¶
SubscriptionPause holds the schema definition for the SubscriptionPause entity.
func (SubscriptionPause) Edges ¶
func (SubscriptionPause) Edges() []ent.Edge
Edges of the SubscriptionPause.
func (SubscriptionPause) Fields ¶
func (SubscriptionPause) Fields() []ent.Field
Fields of the SubscriptionPause.
func (SubscriptionPause) Indexes ¶
func (SubscriptionPause) Indexes() []ent.Index
Indexes of the SubscriptionPause.
func (SubscriptionPause) Mixin ¶
func (SubscriptionPause) Mixin() []ent.Mixin
Mixin of the SubscriptionPause.
type TransformQuantity ¶
type WalletTransaction ¶
WalletTransaction holds the schema definition for the WalletTransaction entity.
func (WalletTransaction) Edges ¶
func (WalletTransaction) Edges() []ent.Edge
Edges of the WalletTransaction.
func (WalletTransaction) Fields ¶
func (WalletTransaction) Fields() []ent.Field
Fields of the WalletTransaction.
func (WalletTransaction) Indexes ¶
func (WalletTransaction) Indexes() []ent.Index
Indexes of the WalletTransaction.
func (WalletTransaction) Mixin ¶
func (WalletTransaction) Mixin() []ent.Mixin
Mixin of the WalletTransaction.