RenewalOpptyDetail Class

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

renew_assets_summary

Learn more about the constructors available with the RenewalOpptyDetail class.

The RenewalOpptyDetail class includes these constructors.

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

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)

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.

Learn more about the properties available with the RenewalOpptyDetail class.

The RenewalOpptyDetail class includes these properties.

Get or set the ID of the account.

public String account {get; set;}

Type: String

Get or set the ID of the asset.

public String assetId {get; set;}

Type: String

Get or set the end date of the asset.

public Date endDate {get; set;}

Type: Date

Get or set the last action performed on the asset.

public String lastAssetAction {get; set;}

Type: String

Valid values are:

  • Initial Sale
  • Upsell
  • Downsell
  • Renewal
  • Cancellation

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

public String lastAssetActionSubtype {get; set;}

Type: String

Valid value is Start Date Adjustment.

Get or set the ID of the associated opportunity product.

public String opportunityProductId {get; set;}

Type: String

Get or set the ID of the associated order item.

public String orderItem {get; set;}

Type: String

Get or set the ID of the price book entry.

public String priceBookEntryId {get; set;}

Type: String

Get or set the ID of the price book.

public String priceBookId {get; set;}

Type: String

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

public String productId {get; set;}

Type: String

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

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

Type: List<renew_assets_summary.RenewalPriceDetail>

Get or set the ID of the root asset opportunity.

public String rootAssetOpportunity {get; set;}

Type: String

Get or set the start date of the asset.

public Date startDate {get; set;}

Type: Date

Get or set the total line amount for the asset.

public Decimal totalLineAmount {get; set;}

Type: Decimal