Class MerchantOrder


  • public class MerchantOrder
    extends MPResource
    Merchant Order resource.
    • Constructor Detail

      • MerchantOrder

        public MerchantOrder()
    • 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.
      • getSponsorId

        public String getSponsorId()
        Sponsor ID.
      • 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).
      • 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.