commercestorepricing.TransactionalPricingResponseItem

Represents an item with in the TransactionalPricingResponse containing product pricing information

Constructs a PricingResponseItem with product pricing information by delegating call to internal java class

Constructs TransactionalPricingResponse using product information by delegating the call to internal java class

ExceptionDescription
NoAccessExceptionIf org does not have commerce subscription plus enabled

Returns the product line id

TypeDescription
StringProduct Line Id

Sets the product line id for the response item

ParamDescription
lineIdProduct Line Id

Returns the productId

TypeDescription
StringProduct Id

Set productId for the response item param productId Product Id

Returns the ProductSellingModelId

TypeDescription
StringProduct Selling Model Id
ExceptionDescription
NoAccessExceptionIf the organization does not have Commerce Subscription Plus enabled.

Sets ProductSellingModelId for this pricing response item

ParamDescription
productSellingModelIdProduct Selling Model Id

Retrieves the ProrationPolicyId

TypeDescription
StringProrationPolicyId
ExceptionDescription
NoAccessExceptionIf the organization does not have Commerce Subscription Plus enabled.

Sets ProrationPolicyId for this pricing response item

ParamDescription
prorationPolicyIdProrationPolicyId
ExceptionDescription
NoAccessExceptionIf the organization does not have Commerce Subscription Plus enabled.

Retrieves subscription term of the product

TypeDescription
IntegerSubscription term

Sets Subscription term

ParamDescription
subscriptionTermSubscription term of the product
ExceptionDescription
NoAccessExceptionIf the organization does not have Commerce Subscription Plus enabled.

Retrieves the start date of the subscription.

TypeDescription
DatetimeThe start date of the subscription.
ExceptionDescription
NoAccessExceptionIf the commerce subscription plus feature is not enabled for the organization.

Sets the start date of the subscription.

ParamDescription
startDateThe start date of the subscription.
ExceptionDescription
NoAccessExceptionIf the commerce subscription plus feature is not enabled for the organization.

Retrieves the end date of the subscription.

TypeDescription
DatetimeThe end date of the subscription.
ExceptionDescription
NoAccessExceptionIf the commerce subscription plus feature is not enabled for the organization.

Sets the end date of the subscription.

ParamDescription
endDateThe end date of the subscription.
ExceptionDescription
NoAccessExceptionIf the commerce subscription plus feature is not enabled for the organization.

Retrieves the Id of PricebookEntry associated to unit price of the product

TypeDescription
StringPricebookEntry Id

Sets the Id of PricebookEntry associated to unit price of the product

ParamDescription
unitPricePriceBookEntryIdPricebookEntry Id

Returns the standard price the product

TypeDescription
DecimalStandard price of the product

Set the listPrice of the product

ParamDescription
listPriceStandard price of the product

Returns the Unit price the product

TypeDescription
DecimalUnit Price of the product

Sets the Unit price the product

ParamDescription
unitPriceUnit Price of the product

Returns the list price of the item

TypeDescription
DecimalList price

Sets the list price of the item

ParamDescription
totalListPriceList price

Returns total amount including adjustment amount

TypeDescription
DecimalTotal amount including adjustment amount

Sets total line amount

ParamDescription
totalLineAmountTotal amount including adjustment amount

Returns total adjustment amount for the line item

TypeDescription
DecimalTotal adjustment amount

Sets total adjustment amount for the line item

ParamDescription
totalAdjustmentAmountTotal adjustment amount

Returns Per unit adjustment amount which is the adjustment amount divided by qty rounded by currency

TypeDescription
DecimalPer unit adjustment amount

Sets Per unit adjustment amount which is the adjustment amount divided by qty rounded by currency

ParamDescription
unitAdjustmentAmountPer unit adjustment amount

Returns price of the line item multiplied with qty rounded by currency

TypeDescription
DecimalTotal Price of the line item

Sets price of the line item multiplied with qty rounded by currency

ParamDescription
totalPriceTotal Price of the line item

Returns quantity of the line item

TypeDescription
DecimalQuantity of the line item

Sets quantity of the line item

ParamDescription
quantityQuantity of the line item

Returns Billing frequency

TypeDescription
StringBilling frequency

Sets Billing frequency

ParamDescription
billingFrequencyBilling frequency

Returns Currency ISO Code of the line item

TypeDescription
StringCurrency ISO Code

Sets Currency ISO Code

ParamDescription
currencyIsoCodeCurrency ISO Code

Returns true if there are no errors in fetching the prices

TypeDescription
BooleanTrue if there are no errors in fetching the prices, false otherwise

Retrieves error message in case of errors when fetching the pricing information

TypeDescription
StringError message

Retrieves localized error message in case of errors when fetching the pricing information

TypeDescription
StringLocalized error message

Returns error code in case of errors in fetching the pricing information

TypeDescription
StringError code

Set error message and localized error message

ParamDescription
errorMessageError message
localizedErrorMessageLocalized error message

Compares the argument with the underlying TransactionalPricingResponseItem object and returns true if they are equal

Returns hash code for TransactionalPricingResponseItem object