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 SubscriptionPatchDTO extends DTO
@Size( max = 255 )
private String name;

@ApiModelProperty( "Refresh billing configuration for a particular invoice" )
private Integer invoiceId;

public SubscriptionPatchDTO( SubscriptionPatchAction action )
{
this.action = action;
Expand Down Expand Up @@ -220,6 +223,17 @@ public SubscriptionPatchDTO setName( String name )
return this;
}

public Integer getInvoiceId()
{
return invoiceId;
}

public SubscriptionPatchDTO setInvoiceId( Integer invoiceId )
{
this.invoiceId = invoiceId;
return this;
}

public enum SubscriptionPatchAction
{
@ApiModelProperty( "Renew a subscription" )
Expand Down