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