Class CodesParams.Builder
- java.lang.Object
-
- com.cheetahdigital.corekit.rest.params.BaseParams.BaseBuilder<P,B>
-
- com.cheetahdigital.corekit.rest.params.BaseListQueryParams.BaseListQueryBuilder<CodesParams,CodesParams.Builder>
-
- com.cheetahdigital.codes.core.api.CodesParams.Builder
-
- Enclosing class:
- CodesParams
public static class CodesParams.Builder extends BaseListQueryParams.BaseListQueryBuilder<CodesParams,CodesParams.Builder>
-
-
Field Summary
-
Fields inherited from class com.cheetahdigital.corekit.rest.params.BaseParams.BaseBuilder
mQueryParams
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CodesParams
createQueryParams()
Instantiates the implementation classCodesParams.Builder
setEmbedPrize(java.lang.Boolean embedPrize)
Set the value of embed_prize paramsCodesParams.Builder
setResponseMethod(java.lang.String responseMethod)
Set the value of response_method paramsCodesParams.Builder
setTicketCode(java.lang.String ticketCode)
Set the value of ticket_code paramsCodesParams.Builder
setType(java.lang.String type)
Set the value of type paramsCodesParams.Builder
setValue(java.lang.String value)
Set the value params-
Methods inherited from class com.cheetahdigital.corekit.rest.params.BaseListQueryParams.BaseListQueryBuilder
addCategories, addCategory, setItemsPerPage, setLayout, setPage, setSortBy, setSortOrder
-
Methods inherited from class com.cheetahdigital.corekit.rest.params.BaseParams.BaseBuilder
build, setId
-
-
-
-
Method Detail
-
createQueryParams
protected CodesParams createQueryParams()
Description copied from class:BaseParams.BaseBuilder
Instantiates the implementation class- Specified by:
createQueryParams
in classBaseParams.BaseBuilder<CodesParams,CodesParams.Builder>
- Returns:
- implementation class of
BaseParams.BaseBuilder
-
setValue
public CodesParams.Builder setValue(@Nullable java.lang.String value)
Set the value params- Parameters:
value
- content of the value params- Returns:
- The Builder object to allow chaining calls of set/add methods
-
setEmbedPrize
public CodesParams.Builder setEmbedPrize(@Nullable java.lang.Boolean embedPrize)
Set the value of embed_prize params- Parameters:
embedPrize
- content of the value params- Returns:
- The Builder object to allow chaining calls of set/add methods
-
setResponseMethod
public CodesParams.Builder setResponseMethod(@Nullable java.lang.String responseMethod)
Set the value of response_method params- Parameters:
responseMethod
- content of the value params- Returns:
- The Builder object to allow chaining calls of set/add methods
-
setTicketCode
public CodesParams.Builder setTicketCode(@Nullable java.lang.String ticketCode)
Set the value of ticket_code params- Parameters:
ticketCode
- content of the value params- Returns:
- The Builder object to allow chaining calls of set/add methods
-
setType
public CodesParams.Builder setType(@Nullable java.lang.String type)
Set the value of type params- Parameters:
type
- content of the value params- Returns:
- The Builder object to allow chaining calls of set/add methods
-
-