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