commercestorepricing.TransactionalPricingRequestItem

Represents an item with in the TransactionalPricingRequest containing product information

Constructs a TransactionalPricingRequestItem by delegating call to internal POJO class

Constructs a TransactionalPricingRequestItem with product related information

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

Returns the product Id

TypeDescription
StringProduct Id

Returns product line Id

TypeDescription
StringProduct line Id

Retrieves the ID of the product selling model

TypeDescription
StringProduct selling model ID.
ExceptionDescription
NoAccessExceptionIf the org does not have Commerce Subscription Plus enabled.

Returns the subscription term of the product

TypeDescription
IntegerSubscription term
ExceptionDescription
NoAccessExceptionIf the org does not have Commerce Subscription Plus enabled.

Returns the quantity of the product associated to the request

TypeDescription
DecimalQuantity of the product

Sets product id for the request item

ParamDescription
productIdProduct ID

Sets product line id for the request item

ParamDescription
lineIdProduct line ID

Sets product selling model id for the request item

ParamDescription
productSellingModelIdProduct selling model id

Sets the subscription term of the product

ParamDescription
subscriptionTermsubscription term of the product

Sets the product quantity for the request item

ParamDescription
quantityQuantity of the product

Compares the argument with this TransactionalPricingRequestItem object and returns true if they are equal

Returns hashCode for this TransactionalPricingRequestItem object