createInstance

final LineItemDetailsFragment createInstance(SelectableLineItem selectableLineItem, List<GiniCaptureReturnReason> returnReasons)

Factory method for creating a new instance of the LineItemDetailsFragment using the provided line item.

Note: Always use this method to create new instances. The selectable line item is required and passed as fragment arguments to the instance.

Parameters

selectableLineItem

the SelectableLineItem to be edited