Package com.mercadopago.client.payment
Class PaymentCreateRequest
- java.lang.Object
-
- com.mercadopago.client.payment.PaymentCreateRequest
-
public class PaymentCreateRequest extends Object
PaymentCreateRequest class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentCreateRequest.PaymentCreateRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaymentCreateRequest.PaymentCreateRequestBuilderbuilder()PaymentAdditionalInfoRequestgetAdditionalInfo()Data that could improve fraud analysis and conversion rates.BigDecimalgetApplicationFee()Fee collected by a marketplace or MercadoPago Application.BooleangetBinaryMode()When set to true, the payment can only be approved or rejected.StringgetCallbackUrl()URL where mercadopago does the final redirect (only for bank transfers).LonggetCampaignId()Discount campaign ID.BooleangetCapture()Determines if the payment should be captured (true) or just reserved (false).BigDecimalgetCouponAmount()Amount of the coupon discount.StringgetCouponCode()Discount campaign with a specific code.OffsetDateTimegetDateOfExpiration()Date of expiration.StringgetDescription()Payment reason or item title.LonggetDifferentialPricingId()Id of the scheme for the absorption of financing fee.StringgetExternalReference()ID given by the merchant in their system.IntegergetInstallments()Selected quantity of installments.StringgetIssuerId()Payment method issuer.StringgetMerchantAccountId()Merchant Id for complex payment cases.PaymentMerchantServicesRequestgetMerchantServices()Merchant services.Map<String,Object>getMetadata()Data that can be attached to the payment to record additional attributes of the merchant.BigDecimalgetNetAmount()Net amount.StringgetNotificationUrl()URL where mercadopago will send notifications associated to changes in this payment.PaymentOrderRequestgetOrder()Order identifier.PaymentPayerRequestgetPayer()Payer information.StringgetPaymentMethodId()Payment method chosen to do the payment.StringgetPaymentMethodOptionId()Payment method option id.StringgetProcessingMode()Processing mode to define if an specific merchannt id should be used.LonggetSponsorId()Sponsor Identification.StringgetStatementDescriptor()How will look the payment in the card bill (e.g.: MERCADOPAGO).StringgetToken()Card token ID.BigDecimalgetTransactionAmount()Amount paid.PaymentTransactionDetailsRequestgetTransactionDetails()Transaction details.
-
-
-
Method Detail
-
builder
public static PaymentCreateRequest.PaymentCreateRequestBuilder builder()
-
getAdditionalInfo
public PaymentAdditionalInfoRequest getAdditionalInfo()
Data that could improve fraud analysis and conversion rates. Try to send as much information as possible.
-
getApplicationFee
public BigDecimal getApplicationFee()
Fee collected by a marketplace or MercadoPago Application.
-
getBinaryMode
public Boolean getBinaryMode()
When set to true, the payment can only be approved or rejected. Otherwise in_process status is added.
-
getCallbackUrl
public String getCallbackUrl()
URL where mercadopago does the final redirect (only for bank transfers).
-
getCampaignId
public Long getCampaignId()
Discount campaign ID.
-
getCapture
public Boolean getCapture()
Determines if the payment should be captured (true) or just reserved (false).
-
getCouponAmount
public BigDecimal getCouponAmount()
Amount of the coupon discount.
-
getCouponCode
public String getCouponCode()
Discount campaign with a specific code.
-
getDateOfExpiration
public OffsetDateTime getDateOfExpiration()
Date of expiration.
-
getDescription
public String getDescription()
Payment reason or item title.
-
getDifferentialPricingId
public Long getDifferentialPricingId()
Id of the scheme for the absorption of financing fee.
-
getExternalReference
public String getExternalReference()
ID given by the merchant in their system.
-
getInstallments
public Integer getInstallments()
Selected quantity of installments.
-
getIssuerId
public String getIssuerId()
Payment method issuer.
-
getMerchantAccountId
public String getMerchantAccountId()
Merchant Id for complex payment cases.
-
getMerchantServices
public PaymentMerchantServicesRequest getMerchantServices()
Merchant services.
-
getMetadata
public Map<String,Object> getMetadata()
Data that can be attached to the payment to record additional attributes of the merchant.
-
getNetAmount
public BigDecimal getNetAmount()
Net amount.
-
getNotificationUrl
public String getNotificationUrl()
URL where mercadopago will send notifications associated to changes in this payment.
-
getOrder
public PaymentOrderRequest getOrder()
Order identifier.
-
getPayer
public PaymentPayerRequest getPayer()
Payer information.
-
getPaymentMethodId
public String getPaymentMethodId()
Payment method chosen to do the payment.
-
getPaymentMethodOptionId
public String getPaymentMethodOptionId()
Payment method option id.
-
getProcessingMode
public String getProcessingMode()
Processing mode to define if an specific merchannt id should be used.
-
getToken
public String getToken()
Card token ID.
-
getTransactionAmount
public BigDecimal getTransactionAmount()
Amount paid.
-
getTransactionDetails
public PaymentTransactionDetailsRequest getTransactionDetails()
Transaction details.
-
getSponsorId
public Long getSponsorId()
Sponsor Identification.
-
getStatementDescriptor
public String getStatementDescriptor()
How will look the payment in the card bill (e.g.: MERCADOPAGO).
-
-