Skip to content
Merged
Show file tree
Hide file tree
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 @@ -85,6 +85,9 @@ public class BudgetDTO extends BaseEntityDTO
@ApiModelProperty( "VAT component of the price" )
private BigDecimal vatSpunOff;

@ApiModelProperty( "Reseller Catalog used to calculate prices for the Budget" )
private UrlEntityDTO resellerCatalog;

public BigDecimal getTotalPrice()
{
return totalPrice;
Expand Down Expand Up @@ -305,6 +308,16 @@ public void setDowngrade( Boolean downgrade )
this.downgrade = downgrade;
}

public UrlEntityDTO getResellerCatalog()
{
return resellerCatalog;
}

public void setResellerCatalog( UrlEntityDTO resellerCatalog )
{
this.resellerCatalog = resellerCatalog;
}

@Override
public boolean equals( Object o )
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ public class ProductVersionDTO extends NamedEntityDTO implements ProductVersionL
@ApiModelProperty( "Whether a Subscription of the Product Version can be terminated before the natural expiration by its customer" )
private Boolean unkillable;

@ApiModelProperty( value = "Reseller Catalog used to obtain prices for the Product Version", accessMode = READ_ONLY )
private UrlEntityDTO resellerCatalog;

public ProductVersionDTO( String name, UrlEntityDTO product )
{
super( name );
Expand Down Expand Up @@ -635,6 +638,16 @@ public void setUnkillable( Boolean unkillable )
this.unkillable = unkillable;
}

public UrlEntityDTO getResellerCatalog()
{
return resellerCatalog;
}

public void setResellerCatalog( UrlEntityDTO resellerCatalog )
{
this.resellerCatalog = resellerCatalog;
}

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