Class PreferenceRequest


  • public class PreferenceRequest
    extends Object
    Parameters to create/update a preference.
    • Method Detail

      • getAdditionalInfo

        public String getAdditionalInfo()
        Additional info.
      • getAutoReturn

        public String getAutoReturn()
        If specified, your buyers will be redirected back to your site immediately after completing the purchase.
      • getBinaryMode

        public Boolean getBinaryMode()
        When set to true, the payment can only be approved or rejected. Otherwise in_process status is added.
      • getDateOfExpiration

        public OffsetDateTime getDateOfExpiration()
        Expiration date of cash payment.
      • getExpirationDateFrom

        public OffsetDateTime getExpirationDateFrom()
        Date since the preference will be active.
      • getExpirationDateTo

        public OffsetDateTime getExpirationDateTo()
        Date when the preference will be expired.
      • getExpires

        public Boolean getExpires()
        True if a preference expires, false if not.
      • getExternalReference

        public String getExternalReference()
        Reference you can synchronize with your payment system.
      • getMarketplace

        public String getMarketplace()
        Origin of the payment. Default value: NONE.
      • getMarketplaceFee

        public BigDecimal getMarketplaceFee()
        Marketplace's fee charged by application owner.
      • getMetadata

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

        public String getNotificationUrl()
        URL where you'd like to receive a payment notification.
      • getOperationType

        public String getOperationType()
        Operation type.
      • getProcessingModes

        public List<String> getProcessingModes()
        Configures which processing modes to use.
      • getPurpose

        public String getPurpose()
        Purpose of the Preference.
      • getStatementDescriptor

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

        public List<PreferenceTrackRequest> getTracks()
        Tracks to be executed during the users interaction in the Checkout flow.