Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ public class BillingItemDTO extends NamedEntityDTO

private ApiEndpointDTO endpoint;

@ApiModelProperty( "Weight order for displaying on the marketplace" )
private Integer weight;

public BillingItemDTO( BillingItemType type, String name, String unit, String description )
{
super( name );
Expand Down Expand Up @@ -209,6 +212,17 @@ public BillingItemDTO setEndpoint( ApiEndpointDTO endpoint )
return this;
}

public Integer getWeight()
{
return weight;
}

public BillingItemDTO setWeight( Integer weight )
{
this.weight = weight;
return this;
}

@Override
public boolean equals( Object o )
{
Expand Down