RenewalOpptyDetail Class

Contains asset details and renewal pricing information for creating renewal opportunities.

Namespace 

renew_assets_summary

RenewalOpptyDetail Constructors 

Learn more about the constructors available with the RenewalOpptyDetail class.

The RenewalOpptyDetail class includes these constructors.

RenewalOpptyDetail(assetId, startDate, endDate, productId, account, priceBookId, priceBookEntryId, lastAssetActionSubtype, renewalPriceDetails, opportunityProductId, orderItem, rootAssetOpportunity, lastAssetAction, totalLineAmount) 

Initializes the RenewalOpptyDetail class that contains asset details and renewal pricing information.

Signature 

public RenewalOpptyDetail(String assetId, Date startDate, Date endDate, String productId, String account, String priceBookId, String priceBookEntryId, String lastAssetActionSubtype, List<renew_assets_summary.RenewalPriceDetail> renewalPriceDetails, String opportunityProductId, String orderItem, String rootAssetOpportunity, String lastAssetAction, Decimal totalLineAmount)

Parameters 

assetId

Type: String

The ID of the asset.

startDate

Type: Date

The start date of the asset.

endDate

Type: Date

The end date of the asset.

productId

Type: String

The ID of the product associated with the asset.

account

Type: String

The ID of the account.

priceBookId

Type: String

The ID of the price book.

priceBookEntryId

Type: String

The ID of the price book entry.

lastAssetActionSubtype

Type: String

The subtype of the last action performed on the asset. Valid value is Start Date Adjustment.

renewalPriceDetails

Type: List<renew_assets_summary.RenewalPriceDetail>

List of renewal price details for the asset.

opportunityProductId

Type: String

The ID of the associated opportunity product.

orderItem

Type: String

The ID of the associated order item.

rootAssetOpportunity

Type: String

The ID of the root asset opportunity.

lastAssetAction

Type: String

The last action performed on the asset.

  • Initial Sale
  • Upsell
  • Downsell
  • Renewal
  • Cancellation

totalLineAmount

Type: Decimal

The total line amount for the asset.

RenewalOpptyDetail Properties 

Learn more about the properties available with the RenewalOpptyDetail class.

The RenewalOpptyDetail class includes these properties.

account 

Get or set the ID of the account.

Signature 

public String account {get; set;}

Property Value 

Type: String

assetId 

Get or set the ID of the asset.

Signature 

public String assetId {get; set;}

Property Value 

Type: String

endDate 

Get or set the end date of the asset.

Signature 

public Date endDate {get; set;}

Property Value 

Type: Date

lastAssetAction 

Get or set the last action performed on the asset.

Signature 

public String lastAssetAction {get; set;}

Property Value 

Type: String

Valid values are:

  • Initial Sale
  • Upsell
  • Downsell
  • Renewal
  • Cancellation

lastAssetActionSubtype 

Get or set the subtype of the last action performed on the asset.

Signature 

public String lastAssetActionSubtype {get; set;}

Property Value 

Type: String

Valid value is Start Date Adjustment.

opportunityProductId 

Get or set the ID of the associated opportunity product.

Signature 

public String opportunityProductId {get; set;}

Property Value 

Type: String

orderItem 

Get or set the ID of the associated order item.

Signature 

public String orderItem {get; set;}

Property Value 

Type: String

priceBookEntryId 

Get or set the ID of the price book entry.

Signature 

public String priceBookEntryId {get; set;}

Property Value 

Type: String

priceBookId 

Get or set the ID of the price book.

Signature 

public String priceBookId {get; set;}

Property Value 

Type: String

productId 

Get or set the ID of the product associated with the asset.

Signature 

public String productId {get; set;}

Property Value 

Type: String

renewalPriceDetails 

Get or set the list of renewal price details for the asset.

Signature 

public List<renew_assets_summary.RenewalPriceDetail> renewalPriceDetails {get; set;}

Property Value 

Type: List<renew_assets_summary.RenewalPriceDetail>

rootAssetOpportunity 

Get or set the ID of the root asset opportunity.

Signature 

public String rootAssetOpportunity {get; set;}

Property Value 

Type: String

startDate 

Get or set the start date of the asset.

Signature 

public Date startDate {get; set;}

Property Value 

Type: Date

totalLineAmount 

Get or set the total line amount for the asset.

Signature 

public Decimal totalLineAmount {get; set;}

Property Value 

Type: Decimal