File

projects/apttus/ecommerce/src/lib/modules/abo/classes/asset-item.model.ts

Extends

AssetLineItem

Index

Properties
Methods

Properties

AttributeValue
Type : AssetAttributeValue
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__AttributeValueId__r', aql: 'AttributeValueId'})
@Type(undefined)
AttributeValueId
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__AttributeValueId__c', aql: 'AttributeValueId'})
PriceListItem
Type : PriceListItem
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__PriceListItemId__r', aql: 'PriceListItemId'})
@Type(undefined)
Product
Default value : new Product()
Decorators :
@AField({soql: 'Apttus_Config2__ProductId__r', aql: 'ProductId', expand: 'deep'})
@Type(undefined)
AccountId
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__AccountId__c', aql: 'AccountId'})
AdjustedPrice
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__AdjustedPrice__c', aql: 'AdjustedPrice'})
AllowedActions
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__AllowedActions__c', aql: 'AllowedActions'})
AssetARR
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__AssetARR__c', aql: 'AssetARR'})
AssetCode
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__AssetCode__c', aql: 'AssetCode'})
AssetMRR
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__AssetMRR__c', aql: 'AssetMRR'})
AssetNumber
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__AssetNumber__c', aql: 'AssetNumber'})
AssetStatus
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__AssetStatus__c', aql: 'AssetStatus'})
AutoRenew
Type : boolean
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__AutoRenew__c', aql: 'AutoRenew'})
AutoRenewalType
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__AutoRenewalType__c', aql: 'AutoRenewalType'})
AvailableBalance
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__AvailableBalance__c', aql: 'AvailableBalance'})
BaseCost
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__BaseCost__c', aql: 'BaseCost'})
BaseExtendedCost
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__BaseExtendedCost__c', aql: 'BaseExtendedCost'})
BaseExtendedPrice
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__BaseExtendedPrice__c', aql: 'BaseExtendedPrice'})
BasePrice
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__BasePrice__c', aql: 'BasePrice'})
BasePriceMethod
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__BasePriceMethod__c', aql: 'BasePriceMethod'})
BillingEndDate
Type : Date
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__BillingEndDate__c', aql: 'BillingEndDate'})
BillingFrequency
Type : "Hourly" | "Daily" | "Weekly" | "Monthly" | "Quarterly" | "Half Yearly" | "Yearly"
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__BillingFrequency__c', aql: 'BillingFrequency'})
BillingStartDate
Type : Date
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__BillingStartDate__c', aql: 'BillingStartDate'})
BillThroughDate
Type : Date
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__BillThroughDate__c', aql: 'BillThroughDate'})
BillToAccountId
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__BillToAccountId__c', aql: 'BillToAccountId'})
BundleAssetId
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__BundleAssetId__c', aql: 'BundleAssetId'})
BusinessLineItemId
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__BusinessLineItemId__c', aql: 'BusinessLineItemId'})
BusinessObjectId
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__BusinessObjectId__c', aql: 'BusinessObjectId'})
BusinessObjectType
Type : "Apttus_Config2__Order__c" | "Proposal" | "Agreement" | "Apttus_Proposal__Proposal__c"
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__BusinessObjectType__c', aql: 'BusinessObjectType'})
CancelledDate
Type : Date
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__CancelledDate__c', aql: 'CancelledDate'})
ChargeType
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__ChargeType__c'})
Comments
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__Comments__c', aql: 'Comments'})
DeltaPrice
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__DeltaPrice__c', aql: 'DeltaPrice'})
DeltaQuantity
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__DeltaQuantity__c', aql: 'DeltaQuantity'})
Description
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__Description__c', aql: 'Description'})
EndDate
Type : Date
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__EndDate__c', aql: 'EndDate'})
ExtendedCost
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__ExtendedCost__c', aql: 'ExtendedCost'})
ExtendedDescription
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__ExtendedDescription__c', aql: 'ExtendedDescription'})
ExtendedPrice
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__ExtendedPrice__c', aql: 'ExtendedPrice'})
Frequency
Type : "Hourly" | "Daily" | "Weekly" | "Monthly" | "Quarterly" | "Half Yearly" | "Yearly"
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__Frequency__c', aql: 'Frequency'})
HasAttributes
Type : boolean
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__HasAttributes__c', aql: 'HasAttributes'})
HasOptions
Type : boolean
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__HasOptions__c', aql: 'HasOptions'})
HideInvoiceDisplay
Type : boolean
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__HideInvoiceDisplay__c', aql: 'HideInvoiceDisplay'})
InitialActivationDate
Type : Date
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__InitialActivationDate__c', aql: 'InitialActivationDate'})
IsInactive
Type : boolean
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__IsInactive__c', aql: 'IsInactive'})
IsOptionRollupLine
Type : boolean
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__IsOptionRollupLine__c', aql: 'IsOptionRollupLine'})
IsPrimaryLine
Type : boolean
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__IsPrimaryLine__c', aql: 'IsPrimaryLine'})
IsPrimaryRampLine
Type : boolean
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__IsPrimaryRampLine__c', aql: 'IsPrimaryRampLine'})
IsPrimaryService
Type : boolean
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__IsPrimaryService__c', aql: 'IsPrimaryService'})
IsReadOnly
Type : boolean
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__IsReadOnly__c', aql: 'IsReadOnly'})
IsRenewalPending
Type : boolean
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__IsRenewalPending__c', aql: 'IsRenewalPending'})
IsRenewed
Type : boolean
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__IsRenewed__c', aql: 'IsRenewed'})
IsUsageTierModifiable
Type : boolean
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__IsUsageTierModifiable__c', aql: 'IsUsageTierModifiable'})
ItemSequence
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__ItemSequence__c', aql: 'ItemSequence'})
LastRenewEndDate
Type : Date
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__LastRenewEndDate__c', aql: 'LastRenewEndDate'})
LineNumber
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__LineNumber__c', aql: 'LineNumber'})
LineType
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__LineType__c', aql: 'LineType'})
ListPrice
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__ListPrice__c', aql: 'ListPrice'})
MaxUsageQuantity
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__MaxUsageQuantity__c', aql: 'MaxUsageQuantity'})
MinUsageQuantity
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__MinUsageQuantity__c', aql: 'MinUsageQuantity'})
MustUpgrade
Type : boolean
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__MustUpgrade__c', aql: 'MustUpgrade'})
Name
Type : string
Default value : null
Decorators :
@AField({soql: 'Name', aql: 'Name'})
NetPrice
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__NetPrice__c', aql: 'NetPrice', aggregate: undefined})
NetUnitPrice
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__NetUnitPrice__c', aql: 'NetUnitPrice'})
NextRenewEndDate
Type : Date
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__NextRenewEndDate__c', aql: 'NextRenewEndDate'})
OptionCost
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__OptionCost__c', aql: 'OptionCost'})
OptionId
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__OptionId__c', aql: 'OptionId'})
OptionPrice
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__OptionPrice__c', aql: 'OptionPrice'})
OriginalStartDate
Type : Date
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__OriginalStartDate__c', aql: 'OriginalStartDate'})
ParentAssetId
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__ParentAssetId__c', aql: 'ParentAssetId'})
ParentBundleNumber
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__ParentBundleNumber__c', aql: 'ParentBundleNumber'})
PriceGroup
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__PriceGroup__c', aql: 'PriceGroup'})
PriceIncludedInBundle
Type : boolean
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__PriceIncludedInBundle__c', aql: 'PriceIncludedInBundle'})
PriceListId
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__PriceListId__c', aql: 'PriceListId'})
PriceListItemId
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__PriceListItemId__c', aql: 'PriceListItemId'})
PriceMethod
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__PriceMethod__c', aql: 'PriceMethod'})
PriceType
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__PriceType__c', aql: 'PriceType'})
PriceUom
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__PriceUom__c', aql: 'PriceUom'})
PricingDate
Type : Date
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__PricingDate__c', aql: 'PricingDate'})
PrimaryLineNumber
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__PrimaryLineNumber__c', aql: 'PrimaryLineNumber'})
ProductId
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__ProductId__c', aql: 'ProductId'})
ProductType
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__ProductType__c', aql: 'ProductType'})
PurchaseDate
Type : Date
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__PurchaseDate__c', aql: 'PurchaseDate'})
Quantity
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__Quantity__c', aql: 'Quantity'})
RenewalAdjustmentAmount
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__RenewalAdjustmentAmount__c', aql: 'RenewalAdjustmentAmount'})
RenewalAdjustmentType
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__RenewalAdjustmentType__c', aql: 'RenewalAdjustmentType'})
RenewalDate
Type : Date
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__RenewalDate__c', aql: 'RenewalDate'})
RenewalFrequency
Type : "Hourly" | "Daily" | "Weekly" | "Monthly" | "Quarterly" | "Half Yearly" | "Yearly"
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__RenewalFrequency__c', aql: 'RenewalFrequency'})
RenewalTerm
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__RenewalTerm__c', aql: 'RenewalTerm'})
SellingFrequency
Type : "Hourly" | "Daily" | "Weekly" | "Monthly" | "Quarterly" | "Half Yearly" | "Yearly" | "One Time"
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__SellingFrequency__c', aql: 'SellingFrequency'})
SellingTerm
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__SellingTerm__c', aql: 'SellingTerm'})
SellingUom
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__SellingUom__c', aql: 'SellingUomId'})
ShipToAccountId
Type : string
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__ShipToAccountId__c', aql: 'ShipToAccountId'})
StartDate
Type : Date
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__StartDate__c', aql: 'StartDate'})
Term
Type : number
Default value : null
Decorators :
@AField({soql: 'Apttus_Config2__Term__c', aql: 'Term'})

Methods

canBuyMore
canBuyMore()
Returns : boolean
canChangeConfiguration
canChangeConfiguration()
Returns : boolean
canRenew
canRenew()
Returns : boolean
canTerminate
canTerminate()
Returns : boolean
onlyHasOneTimePriceType
onlyHasOneTimePriceType()

check if secondary charge type has recurring or usage price type

Returns : boolean

true if there is no recurring or usage price type

result-matching ""

    No results matching ""