public static class SwapPlanResponse.Builder extends Object
SwapPlanResponse.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SwapPlanResponse.Builder |
actions(List<SubscriptionAction> actions)
Setter for actions.
|
SwapPlanResponse |
build()
Builds a new
SwapPlanResponse object using the set fields. |
SwapPlanResponse.Builder |
errors(List<Error> errors)
Setter for errors.
|
SwapPlanResponse.Builder |
httpContext(HttpContext httpContext)
Setter for httpContext.
|
SwapPlanResponse.Builder |
subscription(Subscription subscription)
Setter for subscription.
|
public SwapPlanResponse.Builder httpContext(HttpContext httpContext)
httpContext - HttpContext value for httpContext.public SwapPlanResponse.Builder errors(List<Error> errors)
errors - List of Error value for errors.public SwapPlanResponse.Builder subscription(Subscription subscription)
subscription - Subscription value for subscription.public SwapPlanResponse.Builder actions(List<SubscriptionAction> actions)
actions - List of SubscriptionAction value for actions.public SwapPlanResponse build()
SwapPlanResponse object using the set fields.SwapPlanResponseCopyright © 2022. All rights reserved.