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