Class MerchantOrder
- java.lang.Object
-
- com.mercadopago.net.MPResource
-
- com.mercadopago.resources.merchantorder.MerchantOrder
-
public class MerchantOrder extends MPResource
Merchant Order resource.
-
-
Constructor Summary
Constructors Constructor Description MerchantOrder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAdditionalInfo()Additional information.StringgetApplicationId()Application ID.MerchantOrderCollectorgetCollector()Seller information.OffsetDateTimegetDateCreated()Date of creation.StringgetExternalReference()Reference you can synchronize with your payment system.LonggetId()Order ID.List<MerchantOrderItem>getItems()Items information.OffsetDateTimegetLastUpdated()Last modified date.StringgetMarketplace()Origin of the payment.StringgetNotificationUrl()URL where you'd like to receive a payment notification.StringgetOrderStatus()Current merchant order status given the payments status.BigDecimalgetPaidAmount()Amount paid in this order.MerchantOrderPayergetPayer()Payer information.List<MerchantOrderPayment>getPayments()Payments information.StringgetPreferenceId()Payment preference identifier associated to the merchant order.BigDecimalgetRefundedAmount()Amount refunded in this Order.List<MerchantOrderShipment>getShipments()Shipments information.BigDecimalgetShippingCost()Shipping fee.StringgetSiteId()Country identifier that merchant order belongs to.StringgetSponsorId()Sponsor ID.StringgetStatus()Show the current merchant order state.BigDecimalgetTotalAmount()Total amount of the order.booleanisCancelled()If the Order is expired (true) or not (false).-
Methods inherited from class com.mercadopago.net.MPResource
canEqual, equals, getResponse, hashCode, setResponse, toString
-
-
-
-
Method Detail
-
getId
public Long getId()
Order ID.
-
getPreferenceId
public String getPreferenceId()
Payment preference identifier associated to the merchant order.
-
getApplicationId
public String getApplicationId()
Application ID.
-
getStatus
public String getStatus()
Show the current merchant order state.
-
getSiteId
public String getSiteId()
Country identifier that merchant order belongs to.
-
getPayer
public MerchantOrderPayer getPayer()
Payer information.
-
getCollector
public MerchantOrderCollector getCollector()
Seller information.
-
getSponsorId
public String getSponsorId()
Sponsor ID.
-
getPayments
public List<MerchantOrderPayment> getPayments()
Payments information.
-
getPaidAmount
public BigDecimal getPaidAmount()
Amount paid in this order.
-
getRefundedAmount
public BigDecimal getRefundedAmount()
Amount refunded in this Order.
-
getShippingCost
public BigDecimal getShippingCost()
Shipping fee.
-
getDateCreated
public OffsetDateTime getDateCreated()
Date of creation.
-
isCancelled
public boolean isCancelled()
If the Order is expired (true) or not (false).
-
getItems
public List<MerchantOrderItem> getItems()
Items information.
-
getShipments
public List<MerchantOrderShipment> getShipments()
Shipments information.
-
getNotificationUrl
public String getNotificationUrl()
URL where you'd like to receive a payment notification.
-
getAdditionalInfo
public String getAdditionalInfo()
Additional information.
-
getExternalReference
public String getExternalReference()
Reference you can synchronize with your payment system.
-
getMarketplace
public String getMarketplace()
Origin of the payment.
-
getTotalAmount
public BigDecimal getTotalAmount()
Total amount of the order.
-
getOrderStatus
public String getOrderStatus()
Current merchant order status given the payments status.
-
getLastUpdated
public OffsetDateTime getLastUpdated()
Last modified date.
-
-