Package com.mercadopago.client.payment
Class PaymentItemRequest
- java.lang.Object
-
- com.mercadopago.client.payment.PaymentItemRequest
-
public class PaymentItemRequest extends Object
PaymentItemRequest class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentItemRequest.PaymentItemRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaymentItemRequest.PaymentItemRequestBuilderbuilder()PaymentCategoryDescriptorRequestgetCategoryDescriptor()Item information related to the category.StringgetCategoryId()Category of the item.StringgetDescription()Long item description.OffsetDateTimegetEventDate()Event date.StringgetId()Item code.StringgetPictureUrl()Image URL.IntegergetQuantity()Item's quantity.StringgetTitle()Item name.BigDecimalgetUnitPrice()Unit price.booleanisWarranty()True if you purchase the item with warranty, false if not.
-
-
-
Method Detail
-
builder
public static PaymentItemRequest.PaymentItemRequestBuilder builder()
-
getId
public String getId()
Item code.
-
getTitle
public String getTitle()
Item name.
-
getDescription
public String getDescription()
Long item description.
-
getPictureUrl
public String getPictureUrl()
Image URL.
-
getCategoryId
public String getCategoryId()
Category of the item.
-
getQuantity
public Integer getQuantity()
Item's quantity.
-
getUnitPrice
public BigDecimal getUnitPrice()
Unit price.
-
getCategoryDescriptor
public PaymentCategoryDescriptorRequest getCategoryDescriptor()
Item information related to the category.
-
isWarranty
public boolean isWarranty()
True if you purchase the item with warranty, false if not.
-
getEventDate
public OffsetDateTime getEventDate()
Event date.
-
-