public static class SubscriptionSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SubscriptionSummary |
build() |
SubscriptionSummary.Builder |
copy(SubscriptionSummary model) |
SubscriptionSummary.Builder |
currency(Currency currency) |
SubscriptionSummary.Builder |
id(String id)
SPM internal Subscription ID
|
SubscriptionSummary.Builder |
serviceName(String serviceName)
Customer friendly service name provided by PRG
|
SubscriptionSummary.Builder |
status(String status)
Status of the plan
|
SubscriptionSummary.Builder |
timeEnd(Date timeEnd)
Represents the date when the last service of the subscription ends
|
SubscriptionSummary.Builder |
timeStart(Date timeStart)
Represents the date when the first service of the subscription was activated
|
SubscriptionSummary.Builder |
totalValue(String totalValue)
Total aggregate TCLV of all lines for the subscription including expired, active, and
signed
|
SubscriptionSummary.Builder |
type(String type)
Subscription Type i.e.
|
public SubscriptionSummary.Builder id(String id)
SPM internal Subscription ID
id
- the value to setpublic SubscriptionSummary.Builder serviceName(String serviceName)
Customer friendly service name provided by PRG
serviceName
- the value to setpublic SubscriptionSummary.Builder type(String type)
Subscription Type i.e. IAAS,SAAS,PAAS
type
- the value to setpublic SubscriptionSummary.Builder status(String status)
Status of the plan
status
- the value to setpublic SubscriptionSummary.Builder timeStart(Date timeStart)
Represents the date when the first service of the subscription was activated
timeStart
- the value to setpublic SubscriptionSummary.Builder timeEnd(Date timeEnd)
Represents the date when the last service of the subscription ends
timeEnd
- the value to setpublic SubscriptionSummary.Builder currency(Currency currency)
public SubscriptionSummary.Builder totalValue(String totalValue)
Total aggregate TCLV of all lines for the subscription including expired, active, and signed
totalValue
- the value to setpublic SubscriptionSummary build()
public SubscriptionSummary.Builder copy(SubscriptionSummary model)
Copyright © 2016–2024. All rights reserved.