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(SubscriptionCurrency currency) |
SubscriptionSummary.Builder |
holdReason(String holdReason)
Hold reason of the plan
|
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<SubscriptionSubscribedService> 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 |
timeHoldReleaseEta(Date timeHoldReleaseEta)
Represents the date of the hold release
|
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(SubscriptionCurrency currency)
public SubscriptionSummary.Builder serviceName(String serviceName)
Customer friendly service name provided by PRG
serviceName
- the value to setpublic SubscriptionSummary.Builder holdReason(String holdReason)
Hold reason of the plan
holdReason
- the value to setpublic SubscriptionSummary.Builder timeHoldReleaseEta(Date timeHoldReleaseEta)
Represents the date of the hold release
timeHoldReleaseEta
- the value to setpublic SubscriptionSummary.Builder subscribedServices(List<SubscriptionSubscribedService> 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.