enum

package
v3.45.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllocationTaxApplication added in v3.29.0

type AllocationTaxApplication string
const (
	AllocationTaxApplicationPreTax  AllocationTaxApplication = "pre_tax"
	AllocationTaxApplicationPostTax AllocationTaxApplication = "post_tax"
)

type AppliedCreditTaxApplication added in v3.36.0

type AppliedCreditTaxApplication string
const (
	AppliedCreditTaxApplicationPreTax  AppliedCreditTaxApplication = "pre_tax"
	AppliedCreditTaxApplicationPostTax AppliedCreditTaxApplication = "post_tax"
)

type DiscountDiscountType added in v3.28.0

type DiscountDiscountType string
const (
	DiscountDiscountTypeFixedAmount DiscountDiscountType = "fixed_amount"
	DiscountDiscountTypePercentage  DiscountDiscountType = "percentage"
)

type DiscountEntityType

type DiscountEntityType string
const (
	DiscountEntityTypeItemLevelCoupon       DiscountEntityType = "item_level_coupon"
	DiscountEntityTypeDocumentLevelCoupon   DiscountEntityType = "document_level_coupon"
	DiscountEntityTypePromotionalCredits    DiscountEntityType = "promotional_credits"
	DiscountEntityTypeProratedCredits       DiscountEntityType = "prorated_credits"
	DiscountEntityTypeItemLevelDiscount     DiscountEntityType = "item_level_discount"
	DiscountEntityTypeDocumentLevelDiscount DiscountEntityType = "document_level_discount"
)

type EinvoiceStatus

type EinvoiceStatus string
const (
	EinvoiceStatusScheduled              EinvoiceStatus = "scheduled"
	EinvoiceStatusSkipped                EinvoiceStatus = "skipped"
	EinvoiceStatusInProgress             EinvoiceStatus = "in_progress"
	EinvoiceStatusSuccess                EinvoiceStatus = "success"
	EinvoiceStatusFailed                 EinvoiceStatus = "failed"
	EinvoiceStatusRegistered             EinvoiceStatus = "registered"
	EinvoiceStatusAccepted               EinvoiceStatus = "accepted"
	EinvoiceStatusRejected               EinvoiceStatus = "rejected"
	EinvoiceStatusMessageAcknowledgement EinvoiceStatus = "message_acknowledgement"
	EinvoiceStatusInProcess              EinvoiceStatus = "in_process"
	EinvoiceStatusUnderQuery             EinvoiceStatus = "under_query"
	EinvoiceStatusConditionallyAccepted  EinvoiceStatus = "conditionally_accepted"
	EinvoiceStatusPaid                   EinvoiceStatus = "paid"
)

type LineItemDiscountDiscountType

type LineItemDiscountDiscountType string
const (
	LineItemDiscountDiscountTypeItemLevelCoupon       LineItemDiscountDiscountType = "item_level_coupon"
	LineItemDiscountDiscountTypeDocumentLevelCoupon   LineItemDiscountDiscountType = "document_level_coupon"
	LineItemDiscountDiscountTypePromotionalCredits    LineItemDiscountDiscountType = "promotional_credits"
	LineItemDiscountDiscountTypeProratedCredits       LineItemDiscountDiscountType = "prorated_credits"
	LineItemDiscountDiscountTypeItemLevelDiscount     LineItemDiscountDiscountType = "item_level_discount"
	LineItemDiscountDiscountTypeDocumentLevelDiscount LineItemDiscountDiscountType = "document_level_discount"
)

type LineItemEntityType

type LineItemEntityType string
const (
	LineItemEntityTypeAdhoc           LineItemEntityType = "adhoc"
	LineItemEntityTypePlanItemPrice   LineItemEntityType = "plan_item_price"
	LineItemEntityTypeAddonItemPrice  LineItemEntityType = "addon_item_price"
	LineItemEntityTypeChargeItemPrice LineItemEntityType = "charge_item_price"
	LineItemEntityTypePlanSetup       LineItemEntityType = "plan_setup"
	LineItemEntityTypePlan            LineItemEntityType = "plan"
	LineItemEntityTypeAddon           LineItemEntityType = "addon"
)

type ReasonCode

type ReasonCode string
const (
	ReasonCodeWriteOff                 ReasonCode = "write_off"
	ReasonCodeSubscriptionChange       ReasonCode = "subscription_change"
	ReasonCodeSubscriptionCancellation ReasonCode = "subscription_cancellation"
	ReasonCodeSubscriptionPause        ReasonCode = "subscription_pause"
	ReasonCodeChargeback               ReasonCode = "chargeback"
	ReasonCodeProductUnsatisfactory    ReasonCode = "product_unsatisfactory"
	ReasonCodeServiceUnsatisfactory    ReasonCode = "service_unsatisfactory"
	ReasonCodeOrderChange              ReasonCode = "order_change"
	ReasonCodeOrderCancellation        ReasonCode = "order_cancellation"
	ReasonCodeWaiver                   ReasonCode = "waiver"
	ReasonCodeOther                    ReasonCode = "other"
	ReasonCodeFraudulent               ReasonCode = "fraudulent"
)

type Status

type Status string
const (
	StatusAdjusted  Status = "adjusted"
	StatusRefunded  Status = "refunded"
	StatusRefundDue Status = "refund_due"
	StatusVoided    Status = "voided"
)

type Type

type Type string
const (
	TypeAdjustment Type = "adjustment"
	TypeRefundable Type = "refundable"
	TypeStore      Type = "store"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL