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 class
PaymentCreateRequest.PaymentCreateRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaymentCreateRequest.PaymentCreateRequestBuilder
builder()
PaymentAdditionalInfoRequest
getAdditionalInfo()
Data that could improve fraud analysis and conversion rates.BigDecimal
getApplicationFee()
Fee collected by a marketplace or MercadoPago Application.Boolean
getBinaryMode()
When set to true, the payment can only be approved or rejected.String
getCallbackUrl()
URL where mercadopago does the final redirect (only for bank transfers).Long
getCampaignId()
Discount campaign ID.Boolean
getCapture()
Determines if the payment should be captured (true) or just reserved (false).BigDecimal
getCouponAmount()
Amount of the coupon discount.String
getCouponCode()
Discount campaign with a specific code.OffsetDateTime
getDateOfExpiration()
Date of expiration.String
getDescription()
Payment reason or item title.Long
getDifferentialPricingId()
Id of the scheme for the absorption of financing fee.String
getExternalReference()
ID given by the merchant in their system.Integer
getInstallments()
Selected quantity of installments.String
getIssuerId()
Payment method issuer.String
getMerchantAccountId()
Merchant Id for complex payment cases.PaymentMerchantServicesRequest
getMerchantServices()
Merchant services.Map<String,Object>
getMetadata()
Data that can be attached to the payment to record additional attributes of the merchant.BigDecimal
getNetAmount()
Net amount.String
getNotificationUrl()
URL where mercadopago will send notifications associated to changes in this payment.PaymentOrderRequest
getOrder()
Order identifier.PaymentPayerRequest
getPayer()
Payer information.String
getPaymentMethodId()
Payment method chosen to do the payment.String
getPaymentMethodOptionId()
Payment method option id.String
getProcessingMode()
Processing mode to define if an specific merchannt id should be used.Long
getSponsorId()
Sponsor Identification.String
getStatementDescriptor()
How will look the payment in the card bill (e.g.: MERCADOPAGO).String
getToken()
Card token ID.BigDecimal
getTransactionAmount()
Amount paid.PaymentTransactionDetailsRequest
getTransactionDetails()
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).
-
-