Package org.killbill.billing.client
Class RequestOptions
- java.lang.Object
-
- org.killbill.billing.client.RequestOptions
-
public class RequestOptions extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRequestOptions.RequestOptionsBuilder
-
Constructor Summary
Constructors Constructor Description RequestOptions(String requestId, String user, String password, String createdBy, String reason, String comment, String tenantApiKey, String tenantApiSecret, Map<String,String> headers, Map<String,? extends Collection<String>> queryParams, Boolean followLocation, Map<String,? extends Collection<String>> queryParamsForFollow)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RequestOptions.RequestOptionsBuilderbuilder()Helper method for creating a new builderstatic RequestOptionsempty()Helper method for creating an empty RequestOptions object.booleanequals(Object o)RequestOptions.RequestOptionsBuilderextend()StringgetComment()StringgetCreatedBy()BooleangetFollowLocation()Map<String,String>getHeaders()StringgetPassword()Map<String,Collection<String>>getQueryParams()Map<String,Collection<String>>getQueryParamsForFollow()StringgetReason()StringgetRequestId()StringgetTenantApiKey()StringgetTenantApiSecret()StringgetUser()inthashCode()booleanshouldFollowLocation()StringtoString()
-
-
-
Constructor Detail
-
RequestOptions
public RequestOptions(String requestId, String user, String password, String createdBy, String reason, String comment, String tenantApiKey, String tenantApiSecret, Map<String,String> headers, Map<String,? extends Collection<String>> queryParams, Boolean followLocation, Map<String,? extends Collection<String>> queryParamsForFollow)
-
-
Method Detail
-
getRequestId
public String getRequestId()
-
getUser
public String getUser()
-
getPassword
public String getPassword()
-
getCreatedBy
public String getCreatedBy()
-
getReason
public String getReason()
-
getComment
public String getComment()
-
getTenantApiKey
public String getTenantApiKey()
-
getTenantApiSecret
public String getTenantApiSecret()
-
getQueryParams
public Map<String,Collection<String>> getQueryParams()
-
getFollowLocation
public Boolean getFollowLocation()
-
shouldFollowLocation
public boolean shouldFollowLocation()
-
getQueryParamsForFollow
public Map<String,Collection<String>> getQueryParamsForFollow()
-
extend
public RequestOptions.RequestOptionsBuilder extend()
-
builder
public static RequestOptions.RequestOptionsBuilder builder()
Helper method for creating a new builder- Returns:
- a new instance of RequestOptionsBuilder
-
empty
public static RequestOptions empty()
Helper method for creating an empty RequestOptions object.- Returns:
- an empty RequestOptions object.
-
-