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 String
getAdditionalInfo()
Additional information.String
getApplicationId()
Application ID.MerchantOrderCollector
getCollector()
Seller information.OffsetDateTime
getDateCreated()
Date of creation.String
getExternalReference()
Reference you can synchronize with your payment system.Long
getId()
Order ID.List<MerchantOrderItem>
getItems()
Items information.OffsetDateTime
getLastUpdated()
Last modified date.String
getMarketplace()
Origin of the payment.String
getNotificationUrl()
URL where you'd like to receive a payment notification.String
getOrderStatus()
Current merchant order status given the payments status.BigDecimal
getPaidAmount()
Amount paid in this order.MerchantOrderPayer
getPayer()
Payer information.List<MerchantOrderPayment>
getPayments()
Payments information.String
getPreferenceId()
Payment preference identifier associated to the merchant order.BigDecimal
getRefundedAmount()
Amount refunded in this Order.List<MerchantOrderShipment>
getShipments()
Shipments information.BigDecimal
getShippingCost()
Shipping fee.String
getSiteId()
Country identifier that merchant order belongs to.String
getSponsorId()
Sponsor ID.String
getStatus()
Show the current merchant order state.BigDecimal
getTotalAmount()
Total amount of the order.boolean
isCancelled()
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.
-
-