Class Payment
- java.lang.Object
-
- com.mercadopago.net.MPResource
-
- com.mercadopago.resources.payment.Payment
-
public class Payment extends MPResource
Payment class.
-
-
Constructor Summary
Constructors Constructor Description Payment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
PaymentAdditionalInfo
getAdditionalInfo()
Data that could improve fraud analysis and conversion rates.String
getAuthorizationCode()
Authorization code.String
getCallbackUrl()
URL where mercadopago does the final redirect (only for bank transfers).String
getCallForAuthorizeId()
Gives more detailed information on the current state or rejection cause.PaymentCard
getCard()
Card used to pay.Long
getCollectorId()
Collector ID.String
getCorporationId()
Corporation identification.String
getCounterCurrency()
Counter currency.BigDecimal
getCouponAmount()
Amount of the coupon.String
getCouponCode()
Discount campaign coupon code.String
getCurrencyId()
Currency information.OffsetDateTime
getDateApproved()
Approval date.OffsetDateTime
getDateCreated()
Creation date.OffsetDateTime
getDateLastUpdated()
Last modified date.OffsetDateTime
getDateOfExpiration()
Date of expiration.String
getDeductionSchema()
Deduction Schema.String
getDescription()
Payment reason or item title.String
getDifferentialPricingId()
Id of the scheme for the absorption of financing fee.String
getExternalReference()
ID given by the merchant in their system.List<PaymentFeeDetail>
getFeeDetails()
Fee details.Long
getId()
Payment ID.int
getInstallments()
Selected quantity of installments.String
getIntegratorId()
Integrator identification.String
getIssuerId()
Payment method issuer.String
getMerchantAccountId()
Merchant Id for complex payment cases.String
getMerchantNumber()
Discount campaign ID.Map<String,Object>
getMetadata()
Data that can be attached to the payment to record additional attributes of the merchant.OffsetDateTime
getMoneyReleaseDate()
Release date.String
getMoneyReleaseSchema()
Release schema.BigDecimal
getNetAmount()
Payment net amount.String
getNotificationUrl()
URL where mercadopago will send notifications associated to changes in this payment.String
getOperationType()
Operation type.PaymentOrder
getOrder()
Order identifier.PaymentPayer
getPayer()
Payer information.String
getPaymentMethodId()
Payment method chosen to do the payment.String
getPaymentMethodOptionId()
Payment method option id.String
getPaymentTypeId()
Payment type.String
getPlatformId()
Platform identification.PaymentPointOfInteraction
getPointOfInteraction()
Point of interaction.String
getPosId()
Pos id.String
getProcessingMode()
Processing mode to define if an specific merchant id should be used.List<PaymentRefund>
getRefunds()
Refunds.BigDecimal
getShippingAmount()
Shipping amount.Long
getSponsorId()
Sponsor Identification.String
getStatementDescriptor()
How will look the payment in the card bill.String
getStatus()
Status.String
getStatusDetail()
Status detail.String
getStoreId()
Store id.List<PaymentTax>
getTaxes()
Taxes for payments.BigDecimal
getTaxesAmount()
Taxes amount.BigDecimal
getTransactionAmount()
Amount paid.BigDecimal
getTransactionAmountRefunded()
Total refunded amount.PaymentTransactionDetails
getTransactionDetails()
Transaction details.int
hashCode()
boolean
isBinaryMode()
When set to true, the payment can only be approved or rejected.boolean
isCaptured()
If the payment is captured (true) or just reserved (false).boolean
isLiveMode()
Live mode.-
Methods inherited from class com.mercadopago.net.MPResource
getResponse, setResponse, toString
-
-
-
-
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.
-
getTransactionDetails
public PaymentTransactionDetails getTransactionDetails()
Transaction details.
-
getFeeDetails
public List<PaymentFeeDetail> getFeeDetails()
Fee details.
-
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.
-
getTaxes
public List<PaymentTax> getTaxes()
Taxes for payments.
-
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.
-
getRefunds
public List<PaymentRefund> getRefunds()
Refunds.
-
getPointOfInteraction
public PaymentPointOfInteraction getPointOfInteraction()
Point of interaction.
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classMPResource
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqual
in classMPResource
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classMPResource
-
-