Class PreferenceItemRequest.PreferenceItemRequestBuilder
- java.lang.Object
-
- com.mercadopago.client.preference.PreferenceItemRequest.PreferenceItemRequestBuilder
-
- Enclosing class:
- PreferenceItemRequest
public static class PreferenceItemRequest.PreferenceItemRequestBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PreferenceItemRequest
build()
PreferenceItemRequest.PreferenceItemRequestBuilder
categoryId(String categoryId)
Category of the item.PreferenceItemRequest.PreferenceItemRequestBuilder
currencyId(String currencyId)
Currency ID.PreferenceItemRequest.PreferenceItemRequestBuilder
description(String description)
Long item description.PreferenceItemRequest.PreferenceItemRequestBuilder
id(String id)
Item code.PreferenceItemRequest.PreferenceItemRequestBuilder
pictureUrl(String pictureUrl)
Image URL.PreferenceItemRequest.PreferenceItemRequestBuilder
quantity(Integer quantity)
Item's quantity.PreferenceItemRequest.PreferenceItemRequestBuilder
title(String title)
Item name.String
toString()
PreferenceItemRequest.PreferenceItemRequestBuilder
unitPrice(BigDecimal unitPrice)
Unit price.
-
-
-
Method Detail
-
id
public PreferenceItemRequest.PreferenceItemRequestBuilder id(String id)
Item code.- Returns:
this
.
-
title
public PreferenceItemRequest.PreferenceItemRequestBuilder title(String title)
Item name.- Returns:
this
.
-
description
public PreferenceItemRequest.PreferenceItemRequestBuilder description(String description)
Long item description.- Returns:
this
.
-
pictureUrl
public PreferenceItemRequest.PreferenceItemRequestBuilder pictureUrl(String pictureUrl)
Image URL.- Returns:
this
.
-
categoryId
public PreferenceItemRequest.PreferenceItemRequestBuilder categoryId(String categoryId)
Category of the item.- Returns:
this
.
-
quantity
public PreferenceItemRequest.PreferenceItemRequestBuilder quantity(Integer quantity)
Item's quantity.- Returns:
this
.
-
unitPrice
public PreferenceItemRequest.PreferenceItemRequestBuilder unitPrice(BigDecimal unitPrice)
Unit price.- Returns:
this
.
-
currencyId
public PreferenceItemRequest.PreferenceItemRequestBuilder currencyId(String currencyId)
Currency ID. ISO_4217 code.- Returns:
this
.
-
build
public PreferenceItemRequest build()
-
-