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 |
serviceName(String serviceName)
Customer friendly service name provided by PRG
|
SubscriptionSummary.Builder |
status(String status)
Status of the plan
|
SubscriptionSummary.Builder |
subscribedServices(List<SubscribedServiceSummary> subscribedServices)
List of Subscribed Services 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
|
public 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 serviceName(String serviceName)
Customer friendly service name provided by PRG
serviceName
- the value to setpublic SubscriptionSummary.Builder subscribedServices(List<SubscribedServiceSummary> subscribedServices)
List of Subscribed Services of the plan
subscribedServices
- the value to setpublic SubscriptionSummary build()
public SubscriptionSummary.Builder copy(SubscriptionSummary model)
Copyright © 2016–2024. All rights reserved.