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
Exception | Description |
---|---|
NoAccessException | If the organization does not have Commerce Subscription Plus enabled. |
Returns the product Id
Type | Description |
---|---|
String | Product Id |
Returns product line Id
Type | Description |
---|---|
String | Product line Id |
Retrieves the ID of the product selling model
Type | Description |
---|---|
String | Product selling model ID. |
Exception | Description |
---|---|
NoAccessException | If the org does not have Commerce Subscription Plus enabled. |
Returns the subscription term of the product
Type | Description |
---|---|
Integer | Subscription term |
Exception | Description |
---|---|
NoAccessException | If the org does not have Commerce Subscription Plus enabled. |
Returns the quantity of the product associated to the request
Type | Description |
---|---|
Decimal | Quantity of the product |
Sets product id for the request item
Param | Description |
---|---|
productId | Product ID |
Sets product line id for the request item
Param | Description |
---|---|
lineId | Product line ID |
Sets product selling model id for the request item
Param | Description |
---|---|
productSellingModelId | Product selling model id |
Sets the subscription term of the product
Param | Description |
---|---|
subscriptionTerm | subscription term of the product |
Sets the product quantity for the request item
Param | Description |
---|---|
quantity | Quantity of the product |
Compares the argument with this TransactionalPricingRequestItem object and returns true if they are equal
Returns hashCode for this TransactionalPricingRequestItem object