SelectableLineItem

public final class SelectableLineItem implements Parcelable

The SelectableLineItem wrapps a LineItem and adds the possibility to select/deselect it and also add a reason why it's deselected.

Constructors

Link copied to clipboard
public SelectableLineItem SelectableLineItem(Boolean selected, GiniCaptureReturnReason reason, Boolean addedByUser, LineItem lineItem)

Functions

Link copied to clipboard
public abstract Integer describeContents()
Link copied to clipboard
public Boolean equals(Object other)
Link copied to clipboard
public final Boolean getAddedByUser()
Link copied to clipboard
public final LineItem getLineItem()
Link copied to clipboard

Reason for deselection.

Link copied to clipboard
public final Boolean getSelected()
Link copied to clipboard
public Integer hashCode()
Link copied to clipboard
public final Unit setAddedByUser(Boolean addedByUser)
Link copied to clipboard
public final Unit setReason(GiniCaptureReturnReason reason)

Reason for deselection.

Link copied to clipboard
public final Unit setSelected(Boolean selected)
Link copied to clipboard
public String toString()
Link copied to clipboard
public abstract Unit writeToParcel(Parcel p0, Integer p1)

Properties

Link copied to clipboard
Link copied to clipboard
private final LineItem lineItem
Link copied to clipboard

Reason for deselection.

Link copied to clipboard
private Boolean selected