diff --git a/cloudesire-api-client-dto/src/main/java/com/cloudesire/platform/apiclient/dto/model/dto/BudgetDTO.java b/cloudesire-api-client-dto/src/main/java/com/cloudesire/platform/apiclient/dto/model/dto/BudgetDTO.java index ead036492..c8d53c2a7 100644 --- a/cloudesire-api-client-dto/src/main/java/com/cloudesire/platform/apiclient/dto/model/dto/BudgetDTO.java +++ b/cloudesire-api-client-dto/src/main/java/com/cloudesire/platform/apiclient/dto/model/dto/BudgetDTO.java @@ -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; @@ -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 ) { diff --git a/cloudesire-api-client-dto/src/main/java/com/cloudesire/platform/apiclient/dto/model/dto/ProductVersionDTO.java b/cloudesire-api-client-dto/src/main/java/com/cloudesire/platform/apiclient/dto/model/dto/ProductVersionDTO.java index a36b60cd5..6aa24dfb8 100644 --- a/cloudesire-api-client-dto/src/main/java/com/cloudesire/platform/apiclient/dto/model/dto/ProductVersionDTO.java +++ b/cloudesire-api-client-dto/src/main/java/com/cloudesire/platform/apiclient/dto/model/dto/ProductVersionDTO.java @@ -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 ); @@ -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 ) {