Package io.moov.sdk.models.operations
Class ListPaymentMethodsResponse.Builder
- java.lang.Object
-
- io.moov.sdk.models.operations.ListPaymentMethodsResponse.Builder
-
- Enclosing class:
- ListPaymentMethodsResponse
public static final class ListPaymentMethodsResponse.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPaymentMethodsResponsebuild()ListPaymentMethodsResponse.BuildercontentType(java.lang.String contentType)HTTP response content type for this operationListPaymentMethodsResponse.Builderheaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)ListPaymentMethodsResponse.BuilderpaymentMethods(java.util.List<PaymentMethod> paymentMethods)The request completed successfully.ListPaymentMethodsResponse.BuilderpaymentMethods(java.util.Optional<? extends java.util.List<PaymentMethod>> paymentMethods)The request completed successfully.ListPaymentMethodsResponse.BuilderrawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)Raw HTTP response; suitable for custom response parsingListPaymentMethodsResponse.BuilderstatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Method Detail
-
contentType
public ListPaymentMethodsResponse.Builder contentType(java.lang.String contentType)
HTTP response content type for this operation
-
statusCode
public ListPaymentMethodsResponse.Builder statusCode(int statusCode)
HTTP response status code for this operation
-
rawResponse
public ListPaymentMethodsResponse.Builder rawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
paymentMethods
public ListPaymentMethodsResponse.Builder paymentMethods(java.util.List<PaymentMethod> paymentMethods)
The request completed successfully.
-
paymentMethods
public ListPaymentMethodsResponse.Builder paymentMethods(java.util.Optional<? extends java.util.List<PaymentMethod>> paymentMethods)
The request completed successfully.
-
headers
public ListPaymentMethodsResponse.Builder headers(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
build
public ListPaymentMethodsResponse build()
-
-