Class Payment


  • public class Payment
    extends MPResource
    Payment class.
    • Constructor Detail

      • Payment

        public Payment()
    • Method Detail

      • getId

        public Long getId()
        Payment ID.
      • getDateCreated

        public OffsetDateTime getDateCreated()
        Creation date.
      • getDateApproved

        public OffsetDateTime getDateApproved()
        Approval date.
      • getDateLastUpdated

        public OffsetDateTime getDateLastUpdated()
        Last modified date.
      • getDateOfExpiration

        public OffsetDateTime getDateOfExpiration()
        Date of expiration.
      • getMoneyReleaseDate

        public OffsetDateTime getMoneyReleaseDate()
        Release date.
      • getMoneyReleaseSchema

        public String getMoneyReleaseSchema()
        Release schema.
      • getOperationType

        public String getOperationType()
        Operation type.
      • getIssuerId

        public String getIssuerId()
        Payment method issuer.
      • getPaymentMethodId

        public String getPaymentMethodId()
        Payment method chosen to do the payment.
      • getPaymentTypeId

        public String getPaymentTypeId()
        Payment type.
      • getStatus

        public String getStatus()
        Status.
      • getStatusDetail

        public String getStatusDetail()
        Status detail.
      • getCurrencyId

        public String getCurrencyId()
        Currency information.
      • getDescription

        public String getDescription()
        Payment reason or item title.
      • isLiveMode

        public boolean isLiveMode()
        Live mode.
      • getSponsorId

        public Long getSponsorId()
        Sponsor Identification.
      • getAuthorizationCode

        public String getAuthorizationCode()
        Authorization code.
      • getIntegratorId

        public String getIntegratorId()
        Integrator identification.
      • getPlatformId

        public String getPlatformId()
        Platform identification.
      • getCorporationId

        public String getCorporationId()
        Corporation identification.
      • getCollectorId

        public Long getCollectorId()
        Collector ID.
      • getPayer

        public PaymentPayer getPayer()
        Payer information.
      • getMetadata

        public Map<String,​Object> getMetadata()
        Data that can be attached to the payment to record additional attributes of the merchant.
      • getAdditionalInfo

        public PaymentAdditionalInfo getAdditionalInfo()
        Data that could improve fraud analysis and conversion rates. Try to send as much information as possible.
      • getOrder

        public PaymentOrder getOrder()
        Order identifier.
      • getExternalReference

        public String getExternalReference()
        ID given by the merchant in their system.
      • getTransactionAmount

        public BigDecimal getTransactionAmount()
        Amount paid.
      • getTransactionAmountRefunded

        public BigDecimal getTransactionAmountRefunded()
        Total refunded amount.
      • getCouponAmount

        public BigDecimal getCouponAmount()
        Amount of the coupon.
      • getDifferentialPricingId

        public String getDifferentialPricingId()
        Id of the scheme for the absorption of financing fee.
      • getInstallments

        public int getInstallments()
        Selected quantity of installments.
      • isCaptured

        public boolean isCaptured()
        If the payment is captured (true) or just reserved (false).
      • isBinaryMode

        public boolean isBinaryMode()
        When set to true, the payment can only be approved or rejected. Otherwise in_process status is added.
      • getCallForAuthorizeId

        public String getCallForAuthorizeId()
        Gives more detailed information on the current state or rejection cause.
      • getStatementDescriptor

        public String getStatementDescriptor()
        How will look the payment in the card bill.
      • getCard

        public PaymentCard getCard()
        Card used to pay.
      • getNotificationUrl

        public String getNotificationUrl()
        URL where mercadopago will send notifications associated to changes in this payment.
      • getCallbackUrl

        public String getCallbackUrl()
        URL where mercadopago does the final redirect (only for bank transfers).
      • getProcessingMode

        public String getProcessingMode()
        Processing mode to define if an specific merchant id should be used.
      • getMerchantAccountId

        public String getMerchantAccountId()
        Merchant Id for complex payment cases.
      • getMerchantNumber

        public String getMerchantNumber()
        Discount campaign ID.
      • getCouponCode

        public String getCouponCode()
        Discount campaign coupon code.
      • getNetAmount

        public BigDecimal getNetAmount()
        Payment net amount.
      • getPaymentMethodOptionId

        public String getPaymentMethodOptionId()
        Payment method option id.
      • getTaxesAmount

        public BigDecimal getTaxesAmount()
        Taxes amount.
      • getCounterCurrency

        public String getCounterCurrency()
        Counter currency.
      • getShippingAmount

        public BigDecimal getShippingAmount()
        Shipping amount.
      • getPosId

        public String getPosId()
        Pos id.
      • getStoreId

        public String getStoreId()
        Store id.
      • getDeductionSchema

        public String getDeductionSchema()
        Deduction Schema.