Documentation
¶
Index ¶
- Variables
- type Addon
- type AddonRateCard
- type App
- type AppCustomInvoicing
- type AppCustomInvoicingCustomer
- type AppCustomer
- type AppStripe
- type AppStripeCustomer
- type BalanceSnapshot
- type BillingCustomerLock
- type BillingCustomerOverride
- type BillingInvoice
- type BillingInvoiceFlatFeeLineConfig
- type BillingInvoiceLine
- type BillingInvoiceLineDiscount
- type BillingInvoiceLineDiscountBase
- type BillingInvoiceLineUsageDiscount
- type BillingInvoiceSplitLineGroup
- type BillingInvoiceUsageBasedLineConfig
- type BillingInvoiceValidationIssue
- type BillingInvoiceWriteSchemaLevel
- type BillingProfile
- type BillingSequenceNumbers
- type BillingStandardInvoiceDetailedLine
- type BillingStandardInvoiceDetailedLineAmountDiscount
- func (BillingStandardInvoiceDetailedLineAmountDiscount) Edges() []ent.Edge
- func (BillingStandardInvoiceDetailedLineAmountDiscount) Fields() []ent.Field
- func (BillingStandardInvoiceDetailedLineAmountDiscount) Indexes() []ent.Index
- func (BillingStandardInvoiceDetailedLineAmountDiscount) Mixin() []ent.Mixin
- type BillingWorkflowConfig
- type Charge
- type ChargeCreditPurchase
- type ChargeCreditPurchaseCreditGrant
- type ChargeCreditPurchaseExternalPayment
- type ChargeCreditPurchaseInvoicedPayment
- type ChargeFlatFee
- type ChargeFlatFeeRun
- type ChargeFlatFeeRunCreditAllocations
- type ChargeFlatFeeRunDetailedLine
- type ChargeFlatFeeRunInvoicedUsage
- type ChargeFlatFeeRunPayment
- type ChargeUsageBased
- type ChargeUsageBasedRunCreditAllocations
- type ChargeUsageBasedRunDetailedLine
- func (ChargeUsageBasedRunDetailedLine) Annotations() []schema.Annotation
- func (ChargeUsageBasedRunDetailedLine) Edges() []ent.Edge
- func (ChargeUsageBasedRunDetailedLine) Fields() []ent.Field
- func (ChargeUsageBasedRunDetailedLine) Indexes() []ent.Index
- func (ChargeUsageBasedRunDetailedLine) Mixin() []ent.Mixin
- type ChargeUsageBasedRunInvoicedUsage
- type ChargeUsageBasedRunPayment
- type ChargeUsageBasedRuns
- type ChargesSearchV1
- type CreditRealizationLineage
- type CreditRealizationLineageSegment
- type CurrencyCostBasis
- type CustomCurrency
- type Customer
- type CustomerSubjects
- type Entitlement
- type Feature
- type Grant
- type InvoiceLineBaseMixin
- type LLMCostPrice
- type LedgerAccount
- type LedgerCustomerAccount
- type LedgerEntry
- type LedgerSubAccount
- type LedgerSubAccountRoute
- type LedgerTransaction
- type LedgerTransactionGroup
- type Meter
- type NotificationChannel
- type NotificationEvent
- type NotificationEventDeliveryStatus
- type NotificationRule
- type OrganizationDefaultTaxCodes
- type Plan
- type PlanAddon
- type PlanPhase
- type PlanRateCard
- type RateCard
- type Subject
- type Subscription
- type SubscriptionAddon
- type SubscriptionAddonQuantity
- type SubscriptionBillingSyncState
- type SubscriptionItem
- type SubscriptionPhase
- type TaxCode
- type TaxMixin
- type UsageReset
Constants ¶
This section is empty.
Variables ¶
var ( BillingDiscountsValueScanner = entutils.JSONStringValueScanner[*billing.Discounts]() BillingDiscountReasonValueScanner = entutils.JSONStringValueScanner[*billing.DiscountReason]() )
var ( EntitlementTemplateValueScanner = entutils.JSONStringValueScanner[*productcatalog.EntitlementTemplate]() TaxConfigValueScanner = entutils.JSONStringValueScanner[*productcatalog.TaxConfig]() PriceValueScanner = entutils.JSONStringValueScanner[*productcatalog.Price]() DiscountsValueScanner = entutils.JSONStringValueScanner[*productcatalog.Discounts]() ProRatingConfigValueScanner = entutils.JSONStringValueScanner[productcatalog.ProRatingConfig]() )
var AnnotationsValueScanner = field.ValueScannerFunc[models.Annotations, *sql.NullString]{ V: func(annotations models.Annotations) (driver.Value, error) { b, err := json.Marshal(annotations) if err != nil { return nil, err } return string(b), nil }, S: func(ns *sql.NullString) (models.Annotations, error) { var annotations models.Annotations if ns == nil || !ns.Valid { return annotations, nil } if err := json.Unmarshal([]byte(ns.String), &annotations); err != nil { return nil, err } return annotations, nil }, }
var BillingCreditsAppliedValueScanner = entutils.JSONStringValueScanner[*billing.CreditsApplied]()
var ChannelConfigValueScanner = field.ValueScannerFunc[notification.ChannelConfig, *sql.NullString]{ V: func(config notification.ChannelConfig) (driver.Value, error) { switch config.Type { case notification.ChannelTypeWebhook: serde := channelConfigSerde[notification.WebHookChannelConfig]{ ChannelConfigMeta: notification.ChannelConfigMeta{ Type: config.Type, }, Data: config.WebHook, } return json.Marshal(serde) default: return nil, fmt.Errorf("unknown channel type: %s", config.Type) } }, S: func(ns *sql.NullString) (notification.ChannelConfig, error) { var channelConfig notification.ChannelConfig if ns == nil || !ns.Valid { return channelConfig, nil } data := []byte(ns.String) var meta notification.ChannelConfigMeta if err := json.Unmarshal(data, &meta); err != nil { return channelConfig, err } switch meta.Type { case notification.ChannelTypeWebhook: serde := channelConfigSerde[notification.WebHookChannelConfig]{ ChannelConfigMeta: notification.ChannelConfigMeta{ Type: meta.Type, }, Data: notification.WebHookChannelConfig{}, } if err := json.Unmarshal(data, &serde); err != nil { return channelConfig, err } channelConfig = notification.ChannelConfig{ ChannelConfigMeta: serde.ChannelConfigMeta, WebHook: serde.Data, } default: return channelConfig, fmt.Errorf("unknown channel type: %s", meta.Type) } return channelConfig, nil }, }
var CreditPurchaseSettlementValueScanner = entutils.JSONStringValueScanner[creditpurchase.Settlement]()
var RuleConfigValueScanner = field.ValueScannerFunc[notification.RuleConfig, *sql.NullString]{ V: func(config notification.RuleConfig) (driver.Value, error) { switch config.Type { case notification.EventTypeBalanceThreshold: serde := ruleConfigSerde[notification.BalanceThresholdRuleConfig]{ RuleConfigMeta: notification.RuleConfigMeta{ Type: config.Type, }, Data: config.BalanceThreshold, } return json.Marshal(serde) case notification.EventTypeEntitlementReset: serde := ruleConfigSerde[notification.EntitlementResetRuleConfig]{ RuleConfigMeta: notification.RuleConfigMeta{ Type: config.Type, }, Data: config.EntitlementReset, } return json.Marshal(serde) case notification.EventTypeInvoiceCreated, notification.EventTypeInvoiceUpdated: serde := ruleConfigSerde[notification.InvoiceRuleConfig]{ RuleConfigMeta: notification.RuleConfigMeta{ Type: config.Type, }, Data: config.Invoice, } return json.Marshal(serde) default: return nil, fmt.Errorf("unknown rule config type: %s", config.Type) } }, S: func(ns *sql.NullString) (notification.RuleConfig, error) { var ruleConfig notification.RuleConfig if ns == nil || !ns.Valid { return ruleConfig, nil } data := []byte(ns.String) var meta notification.RuleConfigMeta if err := json.Unmarshal(data, &meta); err != nil { return ruleConfig, err } switch meta.Type { case notification.EventTypeBalanceThreshold: serde := ruleConfigSerde[notification.BalanceThresholdRuleConfig]{ RuleConfigMeta: notification.RuleConfigMeta{ Type: meta.Type, }, Data: ¬ification.BalanceThresholdRuleConfig{}, } if err := json.Unmarshal(data, &serde); err != nil { return ruleConfig, err } ruleConfig = notification.RuleConfig{ RuleConfigMeta: serde.RuleConfigMeta, BalanceThreshold: serde.Data, } case notification.EventTypeEntitlementReset: serde := ruleConfigSerde[notification.EntitlementResetRuleConfig]{ RuleConfigMeta: notification.RuleConfigMeta{ Type: meta.Type, }, Data: ¬ification.EntitlementResetRuleConfig{}, } if err := json.Unmarshal(data, &serde); err != nil { return ruleConfig, err } ruleConfig = notification.RuleConfig{ RuleConfigMeta: serde.RuleConfigMeta, EntitlementReset: serde.Data, } case notification.EventTypeInvoiceCreated, notification.EventTypeInvoiceUpdated: serde := ruleConfigSerde[notification.InvoiceRuleConfig]{ RuleConfigMeta: notification.RuleConfigMeta{ Type: meta.Type, }, Data: ¬ification.InvoiceRuleConfig{}, } if err := json.Unmarshal(data, &serde); err != nil { return ruleConfig, err } ruleConfig = notification.RuleConfig{ RuleConfigMeta: serde.RuleConfigMeta, Invoice: serde.Data, } default: return ruleConfig, fmt.Errorf("unknown rule type: %s", meta.Type) } return ruleConfig, nil }, }
var TaxCodeAppMappingsValueScanner = entutils.JSONStringValueScanner[*taxcode.TaxCodeAppMappings]()
Functions ¶
This section is empty.
Types ¶
type AddonRateCard ¶
func (AddonRateCard) Edges ¶
func (AddonRateCard) Edges() []ent.Edge
func (AddonRateCard) Fields ¶
func (AddonRateCard) Fields() []ent.Field
func (AddonRateCard) Indexes ¶
func (AddonRateCard) Indexes() []ent.Index
func (AddonRateCard) Mixin ¶
func (AddonRateCard) Mixin() []ent.Mixin
type AppCustomInvoicing ¶
AppCustomInvoicing holds the schema definition for the AppCustomInvoicing entity.
func (AppCustomInvoicing) Edges ¶
func (AppCustomInvoicing) Edges() []ent.Edge
func (AppCustomInvoicing) Fields ¶
func (AppCustomInvoicing) Fields() []ent.Field
func (AppCustomInvoicing) Indexes ¶
func (AppCustomInvoicing) Indexes() []ent.Index
func (AppCustomInvoicing) Mixin ¶
func (AppCustomInvoicing) Mixin() []ent.Mixin
type AppCustomInvoicingCustomer ¶
AppCustomInvoicingCustomer holds the schema definition for the AppCustomInvoicingCustomer entity.
func (AppCustomInvoicingCustomer) Edges ¶
func (AppCustomInvoicingCustomer) Edges() []ent.Edge
func (AppCustomInvoicingCustomer) Fields ¶
func (AppCustomInvoicingCustomer) Fields() []ent.Field
func (AppCustomInvoicingCustomer) Indexes ¶
func (AppCustomInvoicingCustomer) Indexes() []ent.Index
func (AppCustomInvoicingCustomer) Mixin ¶
func (AppCustomInvoicingCustomer) Mixin() []ent.Mixin
type AppCustomer ¶
AppCustomer holds the schema definition for the AppCustomer entity.
func (AppCustomer) Edges ¶
func (AppCustomer) Edges() []ent.Edge
func (AppCustomer) Fields ¶
func (AppCustomer) Fields() []ent.Field
func (AppCustomer) Indexes ¶
func (AppCustomer) Indexes() []ent.Index
func (AppCustomer) Mixin ¶
func (AppCustomer) Mixin() []ent.Mixin
type AppStripeCustomer ¶
AppStripeCustomer holds the schema definition for the AppStripeCustomer entity.
func (AppStripeCustomer) Edges ¶
func (AppStripeCustomer) Edges() []ent.Edge
func (AppStripeCustomer) Fields ¶
func (AppStripeCustomer) Fields() []ent.Field
func (AppStripeCustomer) Indexes ¶
func (AppStripeCustomer) Indexes() []ent.Index
func (AppStripeCustomer) Mixin ¶
func (AppStripeCustomer) Mixin() []ent.Mixin
type BalanceSnapshot ¶
func (BalanceSnapshot) Edges ¶
func (BalanceSnapshot) Edges() []ent.Edge
func (BalanceSnapshot) Fields ¶
func (BalanceSnapshot) Fields() []ent.Field
func (BalanceSnapshot) Indexes ¶
func (BalanceSnapshot) Indexes() []ent.Index
func (BalanceSnapshot) Mixin ¶
func (BalanceSnapshot) Mixin() []ent.Mixin
type BillingCustomerLock ¶
func (BillingCustomerLock) Fields ¶
func (BillingCustomerLock) Fields() []ent.Field
func (BillingCustomerLock) Indexes ¶
func (BillingCustomerLock) Indexes() []ent.Index
func (BillingCustomerLock) Mixin ¶
func (BillingCustomerLock) Mixin() []ent.Mixin
type BillingCustomerOverride ¶
func (BillingCustomerOverride) Edges ¶
func (BillingCustomerOverride) Edges() []ent.Edge
func (BillingCustomerOverride) Fields ¶
func (BillingCustomerOverride) Fields() []ent.Field
func (BillingCustomerOverride) Indexes ¶
func (BillingCustomerOverride) Indexes() []ent.Index
func (BillingCustomerOverride) Mixin ¶
func (BillingCustomerOverride) Mixin() []ent.Mixin
type BillingInvoice ¶
func (BillingInvoice) Edges ¶
func (BillingInvoice) Edges() []ent.Edge
func (BillingInvoice) Fields ¶
func (BillingInvoice) Fields() []ent.Field
func (BillingInvoice) Indexes ¶
func (BillingInvoice) Indexes() []ent.Index
func (BillingInvoice) Mixin ¶
func (BillingInvoice) Mixin() []ent.Mixin
type BillingInvoiceFlatFeeLineConfig ¶
func (BillingInvoiceFlatFeeLineConfig) Fields ¶
func (BillingInvoiceFlatFeeLineConfig) Fields() []ent.Field
func (BillingInvoiceFlatFeeLineConfig) Mixin ¶
func (BillingInvoiceFlatFeeLineConfig) Mixin() []ent.Mixin
type BillingInvoiceLine ¶
func (BillingInvoiceLine) Edges ¶
func (BillingInvoiceLine) Edges() []ent.Edge
func (BillingInvoiceLine) Fields ¶
func (BillingInvoiceLine) Fields() []ent.Field
func (BillingInvoiceLine) Indexes ¶
func (BillingInvoiceLine) Indexes() []ent.Index
func (BillingInvoiceLine) Mixin ¶
func (BillingInvoiceLine) Mixin() []ent.Mixin
type BillingInvoiceLineDiscount ¶
TODO[later]: Rename to BillingInvoiceLineAmountDiscount
func (BillingInvoiceLineDiscount) Edges ¶
func (BillingInvoiceLineDiscount) Edges() []ent.Edge
func (BillingInvoiceLineDiscount) Fields ¶
func (BillingInvoiceLineDiscount) Fields() []ent.Field
func (BillingInvoiceLineDiscount) Indexes ¶
func (BillingInvoiceLineDiscount) Indexes() []ent.Index
func (BillingInvoiceLineDiscount) Mixin ¶
func (BillingInvoiceLineDiscount) Mixin() []ent.Mixin
type BillingInvoiceLineDiscountBase ¶
func (BillingInvoiceLineDiscountBase) Fields ¶
func (BillingInvoiceLineDiscountBase) Fields() []ent.Field
type BillingInvoiceLineUsageDiscount ¶
func (BillingInvoiceLineUsageDiscount) Edges ¶
func (BillingInvoiceLineUsageDiscount) Edges() []ent.Edge
func (BillingInvoiceLineUsageDiscount) Fields ¶
func (BillingInvoiceLineUsageDiscount) Fields() []ent.Field
func (BillingInvoiceLineUsageDiscount) Indexes ¶
func (BillingInvoiceLineUsageDiscount) Indexes() []ent.Index
func (BillingInvoiceLineUsageDiscount) Mixin ¶
func (BillingInvoiceLineUsageDiscount) Mixin() []ent.Mixin
type BillingInvoiceSplitLineGroup ¶
func (BillingInvoiceSplitLineGroup) Edges ¶
func (BillingInvoiceSplitLineGroup) Edges() []ent.Edge
func (BillingInvoiceSplitLineGroup) Fields ¶
func (BillingInvoiceSplitLineGroup) Fields() []ent.Field
func (BillingInvoiceSplitLineGroup) Indexes ¶
func (BillingInvoiceSplitLineGroup) Indexes() []ent.Index
func (BillingInvoiceSplitLineGroup) Mixin ¶
func (BillingInvoiceSplitLineGroup) Mixin() []ent.Mixin
type BillingInvoiceUsageBasedLineConfig ¶
func (BillingInvoiceUsageBasedLineConfig) Fields ¶
func (BillingInvoiceUsageBasedLineConfig) Fields() []ent.Field
func (BillingInvoiceUsageBasedLineConfig) Mixin ¶
func (BillingInvoiceUsageBasedLineConfig) Mixin() []ent.Mixin
type BillingInvoiceValidationIssue ¶
func (BillingInvoiceValidationIssue) Edges ¶
func (BillingInvoiceValidationIssue) Edges() []ent.Edge
func (BillingInvoiceValidationIssue) Fields ¶
func (BillingInvoiceValidationIssue) Fields() []ent.Field
func (BillingInvoiceValidationIssue) Indexes ¶
func (BillingInvoiceValidationIssue) Indexes() []ent.Index
func (BillingInvoiceValidationIssue) Mixin ¶
func (BillingInvoiceValidationIssue) Mixin() []ent.Mixin
type BillingInvoiceWriteSchemaLevel ¶
BillingInvoiceSchemaLevel is a temporary table to track the schema level for billing invoices.
The number included here specifies the schema level for writing invoice data.
func (BillingInvoiceWriteSchemaLevel) Fields ¶
func (BillingInvoiceWriteSchemaLevel) Fields() []ent.Field
func (BillingInvoiceWriteSchemaLevel) Indexes ¶
func (BillingInvoiceWriteSchemaLevel) Indexes() []ent.Index
func (BillingInvoiceWriteSchemaLevel) Mixin ¶
func (BillingInvoiceWriteSchemaLevel) Mixin() []ent.Mixin
type BillingProfile ¶
func (BillingProfile) Edges ¶
func (BillingProfile) Edges() []ent.Edge
func (BillingProfile) Fields ¶
func (BillingProfile) Fields() []ent.Field
func (BillingProfile) Indexes ¶
func (BillingProfile) Indexes() []ent.Index
func (BillingProfile) Mixin ¶
func (BillingProfile) Mixin() []ent.Mixin
type BillingSequenceNumbers ¶
func (BillingSequenceNumbers) Fields ¶
func (BillingSequenceNumbers) Fields() []ent.Field
func (BillingSequenceNumbers) Indexes ¶
func (BillingSequenceNumbers) Indexes() []ent.Index
func (BillingSequenceNumbers) Mixin ¶
func (BillingSequenceNumbers) Mixin() []ent.Mixin
type BillingStandardInvoiceDetailedLine ¶
func (BillingStandardInvoiceDetailedLine) Edges ¶
func (BillingStandardInvoiceDetailedLine) Edges() []ent.Edge
func (BillingStandardInvoiceDetailedLine) Fields ¶
func (BillingStandardInvoiceDetailedLine) Fields() []ent.Field
func (BillingStandardInvoiceDetailedLine) Indexes ¶
func (BillingStandardInvoiceDetailedLine) Indexes() []ent.Index
func (BillingStandardInvoiceDetailedLine) Mixin ¶
func (BillingStandardInvoiceDetailedLine) Mixin() []ent.Mixin
type BillingStandardInvoiceDetailedLineAmountDiscount ¶
func (BillingStandardInvoiceDetailedLineAmountDiscount) Edges ¶
func (BillingStandardInvoiceDetailedLineAmountDiscount) Edges() []ent.Edge
func (BillingStandardInvoiceDetailedLineAmountDiscount) Fields ¶
func (BillingStandardInvoiceDetailedLineAmountDiscount) Fields() []ent.Field
func (BillingStandardInvoiceDetailedLineAmountDiscount) Indexes ¶
func (BillingStandardInvoiceDetailedLineAmountDiscount) Indexes() []ent.Index
func (BillingStandardInvoiceDetailedLineAmountDiscount) Mixin ¶
func (BillingStandardInvoiceDetailedLineAmountDiscount) Mixin() []ent.Mixin
type BillingWorkflowConfig ¶
func (BillingWorkflowConfig) Edges ¶
func (BillingWorkflowConfig) Edges() []ent.Edge
func (BillingWorkflowConfig) Fields ¶
func (BillingWorkflowConfig) Fields() []ent.Field
func (BillingWorkflowConfig) Indexes ¶
func (BillingWorkflowConfig) Indexes() []ent.Index
func (BillingWorkflowConfig) Mixin ¶
func (BillingWorkflowConfig) Mixin() []ent.Mixin
type ChargeCreditPurchase ¶
func (ChargeCreditPurchase) Edges ¶
func (ChargeCreditPurchase) Edges() []ent.Edge
func (ChargeCreditPurchase) Fields ¶
func (ChargeCreditPurchase) Fields() []ent.Field
func (ChargeCreditPurchase) Indexes ¶
func (ChargeCreditPurchase) Indexes() []ent.Index
func (ChargeCreditPurchase) Mixin ¶
func (ChargeCreditPurchase) Mixin() []ent.Mixin
type ChargeCreditPurchaseCreditGrant ¶
func (ChargeCreditPurchaseCreditGrant) Edges ¶
func (ChargeCreditPurchaseCreditGrant) Edges() []ent.Edge
func (ChargeCreditPurchaseCreditGrant) Fields ¶
func (ChargeCreditPurchaseCreditGrant) Fields() []ent.Field
func (ChargeCreditPurchaseCreditGrant) Indexes ¶
func (ChargeCreditPurchaseCreditGrant) Indexes() []ent.Index
func (ChargeCreditPurchaseCreditGrant) Mixin ¶
func (ChargeCreditPurchaseCreditGrant) Mixin() []ent.Mixin
type ChargeCreditPurchaseExternalPayment ¶
func (ChargeCreditPurchaseExternalPayment) Edges ¶
func (ChargeCreditPurchaseExternalPayment) Edges() []ent.Edge
func (ChargeCreditPurchaseExternalPayment) Fields ¶
func (ChargeCreditPurchaseExternalPayment) Fields() []ent.Field
func (ChargeCreditPurchaseExternalPayment) Indexes ¶
func (ChargeCreditPurchaseExternalPayment) Indexes() []ent.Index
func (ChargeCreditPurchaseExternalPayment) Mixin ¶
func (ChargeCreditPurchaseExternalPayment) Mixin() []ent.Mixin
type ChargeCreditPurchaseInvoicedPayment ¶
func (ChargeCreditPurchaseInvoicedPayment) Edges ¶
func (ChargeCreditPurchaseInvoicedPayment) Edges() []ent.Edge
func (ChargeCreditPurchaseInvoicedPayment) Fields ¶
func (ChargeCreditPurchaseInvoicedPayment) Fields() []ent.Field
func (ChargeCreditPurchaseInvoicedPayment) Indexes ¶
func (ChargeCreditPurchaseInvoicedPayment) Indexes() []ent.Index
func (ChargeCreditPurchaseInvoicedPayment) Mixin ¶
func (ChargeCreditPurchaseInvoicedPayment) Mixin() []ent.Mixin
type ChargeFlatFee ¶
func (ChargeFlatFee) Edges ¶
func (ChargeFlatFee) Edges() []ent.Edge
func (ChargeFlatFee) Fields ¶
func (ChargeFlatFee) Fields() []ent.Field
func (ChargeFlatFee) Indexes ¶
func (ChargeFlatFee) Indexes() []ent.Index
func (ChargeFlatFee) Mixin ¶
func (ChargeFlatFee) Mixin() []ent.Mixin
type ChargeFlatFeeRun ¶
func (ChargeFlatFeeRun) Edges ¶
func (ChargeFlatFeeRun) Edges() []ent.Edge
func (ChargeFlatFeeRun) Fields ¶
func (ChargeFlatFeeRun) Fields() []ent.Field
func (ChargeFlatFeeRun) Indexes ¶
func (ChargeFlatFeeRun) Indexes() []ent.Index
func (ChargeFlatFeeRun) Mixin ¶
func (ChargeFlatFeeRun) Mixin() []ent.Mixin
type ChargeFlatFeeRunCreditAllocations ¶
func (ChargeFlatFeeRunCreditAllocations) Edges ¶
func (ChargeFlatFeeRunCreditAllocations) Edges() []ent.Edge
func (ChargeFlatFeeRunCreditAllocations) Fields ¶
func (ChargeFlatFeeRunCreditAllocations) Fields() []ent.Field
func (ChargeFlatFeeRunCreditAllocations) Mixin ¶
func (ChargeFlatFeeRunCreditAllocations) Mixin() []ent.Mixin
type ChargeFlatFeeRunDetailedLine ¶
func (ChargeFlatFeeRunDetailedLine) Edges ¶
func (ChargeFlatFeeRunDetailedLine) Edges() []ent.Edge
func (ChargeFlatFeeRunDetailedLine) Fields ¶
func (ChargeFlatFeeRunDetailedLine) Fields() []ent.Field
func (ChargeFlatFeeRunDetailedLine) Indexes ¶
func (ChargeFlatFeeRunDetailedLine) Indexes() []ent.Index
func (ChargeFlatFeeRunDetailedLine) Mixin ¶
func (ChargeFlatFeeRunDetailedLine) Mixin() []ent.Mixin
type ChargeFlatFeeRunInvoicedUsage ¶
func (ChargeFlatFeeRunInvoicedUsage) Edges ¶
func (ChargeFlatFeeRunInvoicedUsage) Edges() []ent.Edge
func (ChargeFlatFeeRunInvoicedUsage) Fields ¶
func (ChargeFlatFeeRunInvoicedUsage) Fields() []ent.Field
func (ChargeFlatFeeRunInvoicedUsage) Indexes ¶
func (ChargeFlatFeeRunInvoicedUsage) Indexes() []ent.Index
func (ChargeFlatFeeRunInvoicedUsage) Mixin ¶
func (ChargeFlatFeeRunInvoicedUsage) Mixin() []ent.Mixin
type ChargeFlatFeeRunPayment ¶
func (ChargeFlatFeeRunPayment) Edges ¶
func (ChargeFlatFeeRunPayment) Edges() []ent.Edge
func (ChargeFlatFeeRunPayment) Fields ¶
func (ChargeFlatFeeRunPayment) Fields() []ent.Field
func (ChargeFlatFeeRunPayment) Indexes ¶
func (ChargeFlatFeeRunPayment) Indexes() []ent.Index
func (ChargeFlatFeeRunPayment) Mixin ¶
func (ChargeFlatFeeRunPayment) Mixin() []ent.Mixin
type ChargeUsageBased ¶
func (ChargeUsageBased) Annotations ¶
func (ChargeUsageBased) Annotations() []schema.Annotation
func (ChargeUsageBased) Edges ¶
func (ChargeUsageBased) Edges() []ent.Edge
func (ChargeUsageBased) Fields ¶
func (ChargeUsageBased) Fields() []ent.Field
func (ChargeUsageBased) Indexes ¶
func (ChargeUsageBased) Indexes() []ent.Index
func (ChargeUsageBased) Mixin ¶
func (ChargeUsageBased) Mixin() []ent.Mixin
type ChargeUsageBasedRunCreditAllocations ¶
func (ChargeUsageBasedRunCreditAllocations) Edges ¶
func (ChargeUsageBasedRunCreditAllocations) Edges() []ent.Edge
func (ChargeUsageBasedRunCreditAllocations) Fields ¶
func (ChargeUsageBasedRunCreditAllocations) Fields() []ent.Field
func (ChargeUsageBasedRunCreditAllocations) Mixin ¶
func (ChargeUsageBasedRunCreditAllocations) Mixin() []ent.Mixin
type ChargeUsageBasedRunDetailedLine ¶
func (ChargeUsageBasedRunDetailedLine) Annotations ¶
func (ChargeUsageBasedRunDetailedLine) Annotations() []schema.Annotation
func (ChargeUsageBasedRunDetailedLine) Edges ¶
func (ChargeUsageBasedRunDetailedLine) Edges() []ent.Edge
func (ChargeUsageBasedRunDetailedLine) Fields ¶
func (ChargeUsageBasedRunDetailedLine) Fields() []ent.Field
func (ChargeUsageBasedRunDetailedLine) Indexes ¶
func (ChargeUsageBasedRunDetailedLine) Indexes() []ent.Index
func (ChargeUsageBasedRunDetailedLine) Mixin ¶
func (ChargeUsageBasedRunDetailedLine) Mixin() []ent.Mixin
type ChargeUsageBasedRunInvoicedUsage ¶
func (ChargeUsageBasedRunInvoicedUsage) Edges ¶
func (ChargeUsageBasedRunInvoicedUsage) Edges() []ent.Edge
func (ChargeUsageBasedRunInvoicedUsage) Fields ¶
func (ChargeUsageBasedRunInvoicedUsage) Fields() []ent.Field
func (ChargeUsageBasedRunInvoicedUsage) Mixin ¶
func (ChargeUsageBasedRunInvoicedUsage) Mixin() []ent.Mixin
type ChargeUsageBasedRunPayment ¶
func (ChargeUsageBasedRunPayment) Edges ¶
func (ChargeUsageBasedRunPayment) Edges() []ent.Edge
func (ChargeUsageBasedRunPayment) Fields ¶
func (ChargeUsageBasedRunPayment) Fields() []ent.Field
func (ChargeUsageBasedRunPayment) Mixin ¶
func (ChargeUsageBasedRunPayment) Mixin() []ent.Mixin
type ChargeUsageBasedRuns ¶
func (ChargeUsageBasedRuns) Edges ¶
func (ChargeUsageBasedRuns) Edges() []ent.Edge
func (ChargeUsageBasedRuns) Fields ¶
func (ChargeUsageBasedRuns) Fields() []ent.Field
func (ChargeUsageBasedRuns) Indexes ¶
func (ChargeUsageBasedRuns) Indexes() []ent.Index
func (ChargeUsageBasedRuns) Mixin ¶
func (ChargeUsageBasedRuns) Mixin() []ent.Mixin
type ChargesSearchV1 ¶
func (ChargesSearchV1) Annotations ¶
func (v ChargesSearchV1) Annotations() []schema.Annotation
func (ChargesSearchV1) Fields ¶
func (ChargesSearchV1) Fields() []ent.Field
func (ChargesSearchV1) Mixin ¶
func (ChargesSearchV1) Mixin() []ent.Mixin
type CreditRealizationLineage ¶
func (CreditRealizationLineage) Edges ¶
func (CreditRealizationLineage) Edges() []ent.Edge
func (CreditRealizationLineage) Fields ¶
func (CreditRealizationLineage) Fields() []ent.Field
func (CreditRealizationLineage) Indexes ¶
func (CreditRealizationLineage) Indexes() []ent.Index
func (CreditRealizationLineage) Mixin ¶
func (CreditRealizationLineage) Mixin() []ent.Mixin
type CreditRealizationLineageSegment ¶
func (CreditRealizationLineageSegment) Edges ¶
func (CreditRealizationLineageSegment) Edges() []ent.Edge
func (CreditRealizationLineageSegment) Fields ¶
func (CreditRealizationLineageSegment) Fields() []ent.Field
func (CreditRealizationLineageSegment) Indexes ¶
func (CreditRealizationLineageSegment) Indexes() []ent.Index
func (CreditRealizationLineageSegment) Mixin ¶
func (CreditRealizationLineageSegment) Mixin() []ent.Mixin
type CurrencyCostBasis ¶
func (CurrencyCostBasis) Edges ¶
func (CurrencyCostBasis) Edges() []ent.Edge
func (CurrencyCostBasis) Fields ¶
func (CurrencyCostBasis) Fields() []ent.Field
func (CurrencyCostBasis) Indexes ¶
func (CurrencyCostBasis) Indexes() []ent.Index
func (CurrencyCostBasis) Mixin ¶
func (CurrencyCostBasis) Mixin() []ent.Mixin
type CustomCurrency ¶
func (CustomCurrency) Edges ¶
func (CustomCurrency) Edges() []ent.Edge
func (CustomCurrency) Fields ¶
func (CustomCurrency) Fields() []ent.Field
func (CustomCurrency) Indexes ¶
func (CustomCurrency) Indexes() []ent.Index
func (CustomCurrency) Mixin ¶
func (CustomCurrency) Mixin() []ent.Mixin
type CustomerSubjects ¶
CustomerSubject stores the subject keys for a customer
func (CustomerSubjects) Edges ¶
func (CustomerSubjects) Edges() []ent.Edge
func (CustomerSubjects) Fields ¶
func (CustomerSubjects) Fields() []ent.Field
func (CustomerSubjects) Indexes ¶
func (CustomerSubjects) Indexes() []ent.Index
func (CustomerSubjects) Mixin ¶
func (CustomerSubjects) Mixin() []ent.Mixin
type Entitlement ¶
func (Entitlement) Edges ¶
func (Entitlement) Edges() []ent.Edge
func (Entitlement) Fields ¶
func (Entitlement) Fields() []ent.Field
func (Entitlement) Indexes ¶
func (Entitlement) Indexes() []ent.Index
func (Entitlement) Mixin ¶
func (Entitlement) Mixin() []ent.Mixin
type Feature ¶
func (Feature) Annotations ¶
func (Feature) Annotations() []schema.Annotation
type InvoiceLineBaseMixin ¶
func (InvoiceLineBaseMixin) Fields ¶
func (InvoiceLineBaseMixin) Fields() []ent.Field
type LLMCostPrice ¶
LLMCostPrice stores canonical LLM pricing (global + namespace overrides).
func (LLMCostPrice) Fields ¶
func (LLMCostPrice) Fields() []ent.Field
func (LLMCostPrice) Indexes ¶
func (LLMCostPrice) Indexes() []ent.Index
func (LLMCostPrice) Mixin ¶
func (LLMCostPrice) Mixin() []ent.Mixin
type LedgerAccount ¶
func (LedgerAccount) Edges ¶
func (LedgerAccount) Edges() []ent.Edge
func (LedgerAccount) Fields ¶
func (LedgerAccount) Fields() []ent.Field
func (LedgerAccount) Indexes ¶
func (LedgerAccount) Indexes() []ent.Index
func (LedgerAccount) Mixin ¶
func (LedgerAccount) Mixin() []ent.Mixin
type LedgerCustomerAccount ¶
LedgerCustomerAccount is a private linking table that maps a customer to their ledger accounts (one FBO and one Receivable per customer per namespace).
func (LedgerCustomerAccount) Edges ¶
func (LedgerCustomerAccount) Edges() []ent.Edge
func (LedgerCustomerAccount) Fields ¶
func (LedgerCustomerAccount) Fields() []ent.Field
func (LedgerCustomerAccount) Indexes ¶
func (LedgerCustomerAccount) Indexes() []ent.Index
func (LedgerCustomerAccount) Mixin ¶
func (LedgerCustomerAccount) Mixin() []ent.Mixin
type LedgerEntry ¶
func (LedgerEntry) Edges ¶
func (LedgerEntry) Edges() []ent.Edge
func (LedgerEntry) Fields ¶
func (LedgerEntry) Fields() []ent.Field
func (LedgerEntry) Indexes ¶
func (LedgerEntry) Indexes() []ent.Index
func (LedgerEntry) Mixin ¶
func (LedgerEntry) Mixin() []ent.Mixin
type LedgerSubAccount ¶
func (LedgerSubAccount) Edges ¶
func (LedgerSubAccount) Edges() []ent.Edge
func (LedgerSubAccount) Fields ¶
func (LedgerSubAccount) Fields() []ent.Field
func (LedgerSubAccount) Indexes ¶
func (LedgerSubAccount) Indexes() []ent.Index
func (LedgerSubAccount) Mixin ¶
func (LedgerSubAccount) Mixin() []ent.Mixin
type LedgerSubAccountRoute ¶
func (LedgerSubAccountRoute) Edges ¶
func (LedgerSubAccountRoute) Edges() []ent.Edge
func (LedgerSubAccountRoute) Fields ¶
func (LedgerSubAccountRoute) Fields() []ent.Field
func (LedgerSubAccountRoute) Indexes ¶
func (LedgerSubAccountRoute) Indexes() []ent.Index
func (LedgerSubAccountRoute) Mixin ¶
func (LedgerSubAccountRoute) Mixin() []ent.Mixin
type LedgerTransaction ¶
func (LedgerTransaction) Edges ¶
func (LedgerTransaction) Edges() []ent.Edge
func (LedgerTransaction) Fields ¶
func (LedgerTransaction) Fields() []ent.Field
func (LedgerTransaction) Indexes ¶
func (LedgerTransaction) Indexes() []ent.Index
func (LedgerTransaction) Mixin ¶
func (LedgerTransaction) Mixin() []ent.Mixin
type LedgerTransactionGroup ¶
func (LedgerTransactionGroup) Edges ¶
func (LedgerTransactionGroup) Edges() []ent.Edge
func (LedgerTransactionGroup) Indexes ¶
func (LedgerTransactionGroup) Indexes() []ent.Index
func (LedgerTransactionGroup) Mixin ¶
func (LedgerTransactionGroup) Mixin() []ent.Mixin
type NotificationChannel ¶
func (NotificationChannel) Edges ¶
func (NotificationChannel) Edges() []ent.Edge
func (NotificationChannel) Fields ¶
func (NotificationChannel) Fields() []ent.Field
func (NotificationChannel) Indexes ¶
func (NotificationChannel) Indexes() []ent.Index
func (NotificationChannel) Mixin ¶
func (NotificationChannel) Mixin() []ent.Mixin
type NotificationEvent ¶
func (NotificationEvent) Edges ¶
func (NotificationEvent) Edges() []ent.Edge
func (NotificationEvent) Fields ¶
func (NotificationEvent) Fields() []ent.Field
func (NotificationEvent) Indexes ¶
func (NotificationEvent) Indexes() []ent.Index
func (NotificationEvent) Mixin ¶
func (NotificationEvent) Mixin() []ent.Mixin
type NotificationEventDeliveryStatus ¶
func (NotificationEventDeliveryStatus) Edges ¶
func (NotificationEventDeliveryStatus) Edges() []ent.Edge
func (NotificationEventDeliveryStatus) Fields ¶
func (NotificationEventDeliveryStatus) Fields() []ent.Field
func (NotificationEventDeliveryStatus) Indexes ¶
func (NotificationEventDeliveryStatus) Indexes() []ent.Index
func (NotificationEventDeliveryStatus) Mixin ¶
func (NotificationEventDeliveryStatus) Mixin() []ent.Mixin
type NotificationRule ¶
func (NotificationRule) Edges ¶
func (NotificationRule) Edges() []ent.Edge
func (NotificationRule) Fields ¶
func (NotificationRule) Fields() []ent.Field
func (NotificationRule) Indexes ¶
func (NotificationRule) Indexes() []ent.Index
func (NotificationRule) Mixin ¶
func (NotificationRule) Mixin() []ent.Mixin
type OrganizationDefaultTaxCodes ¶
OrganizationDefaultTaxCodes stores the organization-level default tax code references.
func (OrganizationDefaultTaxCodes) Edges ¶
func (OrganizationDefaultTaxCodes) Edges() []ent.Edge
func (OrganizationDefaultTaxCodes) Fields ¶
func (OrganizationDefaultTaxCodes) Fields() []ent.Field
func (OrganizationDefaultTaxCodes) Indexes ¶
func (OrganizationDefaultTaxCodes) Indexes() []ent.Index
func (OrganizationDefaultTaxCodes) Mixin ¶
func (OrganizationDefaultTaxCodes) Mixin() []ent.Mixin
type PlanRateCard ¶
func (PlanRateCard) Edges ¶
func (PlanRateCard) Edges() []ent.Edge
func (PlanRateCard) Fields ¶
func (PlanRateCard) Fields() []ent.Field
func (PlanRateCard) Indexes ¶
func (PlanRateCard) Indexes() []ent.Index
func (PlanRateCard) Mixin ¶
func (PlanRateCard) Mixin() []ent.Mixin
type Subscription ¶
func (Subscription) Edges ¶
func (Subscription) Edges() []ent.Edge
func (Subscription) Fields ¶
func (Subscription) Fields() []ent.Field
func (Subscription) Indexes ¶
func (Subscription) Indexes() []ent.Index
func (Subscription) Mixin ¶
func (Subscription) Mixin() []ent.Mixin
type SubscriptionAddon ¶
SubscriptionAddon is an instantiated addon for a subscription
func (SubscriptionAddon) Edges ¶
func (SubscriptionAddon) Edges() []ent.Edge
func (SubscriptionAddon) Fields ¶
func (SubscriptionAddon) Fields() []ent.Field
func (SubscriptionAddon) Mixin ¶
func (SubscriptionAddon) Mixin() []ent.Mixin
type SubscriptionAddonQuantity ¶
func (SubscriptionAddonQuantity) Edges ¶
func (SubscriptionAddonQuantity) Edges() []ent.Edge
func (SubscriptionAddonQuantity) Fields ¶
func (SubscriptionAddonQuantity) Fields() []ent.Field
func (SubscriptionAddonQuantity) Indexes ¶
func (SubscriptionAddonQuantity) Indexes() []ent.Index
func (SubscriptionAddonQuantity) Mixin ¶
func (SubscriptionAddonQuantity) Mixin() []ent.Mixin
type SubscriptionBillingSyncState ¶
func (SubscriptionBillingSyncState) Edges ¶
func (SubscriptionBillingSyncState) Edges() []ent.Edge
func (SubscriptionBillingSyncState) Fields ¶
func (SubscriptionBillingSyncState) Fields() []ent.Field
func (SubscriptionBillingSyncState) Indexes ¶
func (SubscriptionBillingSyncState) Indexes() []ent.Index
func (SubscriptionBillingSyncState) Mixin ¶
func (SubscriptionBillingSyncState) Mixin() []ent.Mixin
type SubscriptionItem ¶
func (SubscriptionItem) Edges ¶
func (SubscriptionItem) Edges() []ent.Edge
func (SubscriptionItem) Fields ¶
func (SubscriptionItem) Fields() []ent.Field
func (SubscriptionItem) Indexes ¶
func (SubscriptionItem) Indexes() []ent.Index
func (SubscriptionItem) Mixin ¶
func (SubscriptionItem) Mixin() []ent.Mixin
type SubscriptionPhase ¶
func (SubscriptionPhase) Edges ¶
func (SubscriptionPhase) Edges() []ent.Edge
func (SubscriptionPhase) Fields ¶
func (SubscriptionPhase) Fields() []ent.Field
func (SubscriptionPhase) Indexes ¶
func (SubscriptionPhase) Indexes() []ent.Index
func (SubscriptionPhase) Mixin ¶
func (SubscriptionPhase) Mixin() []ent.Mixin
type UsageReset ¶
func (UsageReset) Edges ¶
func (UsageReset) Edges() []ent.Edge
func (UsageReset) Fields ¶
func (UsageReset) Fields() []ent.Field
func (UsageReset) Indexes ¶
func (UsageReset) Indexes() []ent.Index
func (UsageReset) Mixin ¶
func (UsageReset) Mixin() []ent.Mixin
Source Files
¶
- addon.go
- app.go
- app_stripe.go
- appcustominvoicing.go
- balance_snapshot.go
- billing.go
- charges.go
- chargescreditpurchase.go
- chargesflatfee.go
- chargesusagebased.go
- creditrealizationlineage.go
- custom_currencies.go
- customer.go
- entitlement.go
- feature.go
- grant.go
- ledger_account.go
- ledger_customer_account.go
- ledger_entry.go
- ledger_transaction.go
- ledger_transaction_group.go
- llmcostprice.go
- meter.go
- notification.go
- organizationdefaulttaxcodes.go
- planaddon.go
- productcatalog.go
- ratecard.go
- subject.go
- subscription.go
- subscription_addon.go
- subscriptionbillingsync.go
- taxcode.go
- usage_reset.go