UNPKG

wallee

Version:
106 lines (105 loc) 2.85 kB
import { ProductFeeType } from "./ProductFeeType"; import { SubscriptionLedgerEntryState } from "./SubscriptionLedgerEntryState"; import { Tax } from "./Tax"; declare class SubscriptionLedgerEntry { /** * The total tax rate applied to the ledger entry, calculated from the rates of all tax lines. */ 'aggregatedTaxRate'?: number; /** * The leger entry's amount with discounts applied, excluding taxes. */ 'amountExcludingTax'?: number; /** * The leger entry's amount with discounts applied, including taxes. */ 'amountIncludingTax'?: number; /** * */ 'componentReferenceName'?: string; /** * */ 'componentReferenceSku'?: string; /** * The ID of the user the ledger entry was created by. */ 'createdBy'?: number; /** * The date and time when the object was created. */ 'createdOn'?: Date; /** * The discount allocated to the ledger entry, including taxes. */ 'discountIncludingTax'?: number; /** * A client generated nonce which identifies the entity to be created. Subsequent creation requests with the same external ID will not create new entities but return the initially created entity instead. */ 'externalId'?: string; /** * */ 'feeType'?: ProductFeeType; /** * A unique identifier for the object. */ 'id'?: number; /** * The ID of the space this object belongs to. */ 'linkedSpaceId'?: number; /** * The date and time when the object is planned to be permanently removed. If the value is empty, the object will not be removed. */ 'plannedPurgeDate'?: Date; /** * */ 'proRataCalculated'?: boolean; /** * The number of items that were consumed. */ 'quantity'?: number; /** * The object's current state. */ 'state'?: SubscriptionLedgerEntryState; /** * */ 'subscriptionMetricId'?: number; /** * The subscription version that the ledger entry belongs to. */ 'subscriptionVersion'?: number; /** * The sum of all taxes applied to the ledger entry. */ 'taxAmount'?: number; /** * A set of tax lines, each of which specifies a tax applied to the ledger entry. */ 'taxes'?: Array<Tax>; /** * The title that indicates what the ledger entry is about. */ 'title'?: string; /** * The version is used for optimistic locking and incremented whenever the object is updated. */ 'version'?: number; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; } export { SubscriptionLedgerEntry };