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