Class CardAcquisitionTransaction


  • public class CardAcquisitionTransaction
    extends Object
    CardAcquisitionTransaction
    • Constructor Detail

      • CardAcquisitionTransaction

        public CardAcquisitionTransaction()
    • Method Detail

      • allowedPaymentBrand

        public CardAcquisitionTransaction allowedPaymentBrand​(List<String> allowedPaymentBrand)
        Card payment brands allowed by the Sale System for the payment transaction.
        Parameters:
        allowedPaymentBrand - Card payment brands allowed by the Sale System for the payment transaction.
        Returns:
        the current CardAcquisitionTransaction instance, allowing for method chaining
      • getAllowedPaymentBrand

        public List<String> getAllowedPaymentBrand()
        Card payment brands allowed by the Sale System for the payment transaction.
        Returns:
        allowedPaymentBrand Card payment brands allowed by the Sale System for the payment transaction.
      • setAllowedPaymentBrand

        public void setAllowedPaymentBrand​(List<String> allowedPaymentBrand)
        Card payment brands allowed by the Sale System for the payment transaction.
        Parameters:
        allowedPaymentBrand - Card payment brands allowed by the Sale System for the payment transaction.
      • allowedLoyaltyBrand

        public CardAcquisitionTransaction allowedLoyaltyBrand​(List<String> allowedLoyaltyBrand)
        Loyalty brands or programs allowed by the Sale System for the loyalty transaction.
        Parameters:
        allowedLoyaltyBrand - Loyalty brands or programs allowed by the Sale System for the loyalty transaction.
        Returns:
        the current CardAcquisitionTransaction instance, allowing for method chaining
      • getAllowedLoyaltyBrand

        public List<String> getAllowedLoyaltyBrand()
        Loyalty brands or programs allowed by the Sale System for the loyalty transaction.
        Returns:
        allowedLoyaltyBrand Loyalty brands or programs allowed by the Sale System for the loyalty transaction.
      • setAllowedLoyaltyBrand

        public void setAllowedLoyaltyBrand​(List<String> allowedLoyaltyBrand)
        Loyalty brands or programs allowed by the Sale System for the loyalty transaction.
        Parameters:
        allowedLoyaltyBrand - Loyalty brands or programs allowed by the Sale System for the loyalty transaction.
      • loyaltyHandling

        public CardAcquisitionTransaction loyaltyHandling​(LoyaltyHandling loyaltyHandling)
        loyaltyHandling
        Parameters:
        loyaltyHandling -
        Returns:
        the current CardAcquisitionTransaction instance, allowing for method chaining
      • getLoyaltyHandling

        public LoyaltyHandling getLoyaltyHandling()
        Get loyaltyHandling
        Returns:
        loyaltyHandling
      • setLoyaltyHandling

        public void setLoyaltyHandling​(LoyaltyHandling loyaltyHandling)
        loyaltyHandling
        Parameters:
        loyaltyHandling -
      • customerLanguage

        public CardAcquisitionTransaction customerLanguage​(String customerLanguage)
        The language used on the terminal screen or in text printed by the terminal. Typical use case is setting the language on unattended terminals. Format: two-character [ISO 639:2023](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) format.
        Parameters:
        customerLanguage - The language used on the terminal screen or in text printed by the terminal. Typical use case is setting the language on unattended terminals. Format: two-character [ISO 639:2023](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) format.
        Returns:
        the current CardAcquisitionTransaction instance, allowing for method chaining
      • getCustomerLanguage

        public String getCustomerLanguage()
        The language used on the terminal screen or in text printed by the terminal. Typical use case is setting the language on unattended terminals. Format: two-character [ISO 639:2023](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) format.
        Returns:
        customerLanguage The language used on the terminal screen or in text printed by the terminal. Typical use case is setting the language on unattended terminals. Format: two-character [ISO 639:2023](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) format.
      • setCustomerLanguage

        public void setCustomerLanguage​(String customerLanguage)
        The language used on the terminal screen or in text printed by the terminal. Typical use case is setting the language on unattended terminals. Format: two-character [ISO 639:2023](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) format.
        Parameters:
        customerLanguage - The language used on the terminal screen or in text printed by the terminal. Typical use case is setting the language on unattended terminals. Format: two-character [ISO 639:2023](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) format.
      • forceCustomerSelectionFlag

        public CardAcquisitionTransaction forceCustomerSelectionFlag​(Boolean forceCustomerSelectionFlag)
        Indicates if the Customer realises the selection of the card application.
        Parameters:
        forceCustomerSelectionFlag - Indicates if the Customer realises the selection of the card application.
        Returns:
        the current CardAcquisitionTransaction instance, allowing for method chaining
      • getForceCustomerSelectionFlag

        public Boolean getForceCustomerSelectionFlag()
        Indicates if the Customer realises the selection of the card application.
        Returns:
        forceCustomerSelectionFlag Indicates if the Customer realises the selection of the card application.
      • setForceCustomerSelectionFlag

        public void setForceCustomerSelectionFlag​(Boolean forceCustomerSelectionFlag)
        Indicates if the Customer realises the selection of the card application.
        Parameters:
        forceCustomerSelectionFlag - Indicates if the Customer realises the selection of the card application.
      • totalAmount

        public CardAcquisitionTransaction totalAmount​(BigDecimal totalAmount)
        Amount of a transaction. In the Card Acquisition Request message, it allows the processing of a contactless card.
        Parameters:
        totalAmount - Amount of a transaction. In the Card Acquisition Request message, it allows the processing of a contactless card.
        Returns:
        the current CardAcquisitionTransaction instance, allowing for method chaining
      • getTotalAmount

        public BigDecimal getTotalAmount()
        Amount of a transaction. In the Card Acquisition Request message, it allows the processing of a contactless card. minimum: 0.0 maximum: 99999999.999999
        Returns:
        totalAmount Amount of a transaction. In the Card Acquisition Request message, it allows the processing of a contactless card.
      • setTotalAmount

        public void setTotalAmount​(BigDecimal totalAmount)
        Amount of a transaction. In the Card Acquisition Request message, it allows the processing of a contactless card.
        Parameters:
        totalAmount - Amount of a transaction. In the Card Acquisition Request message, it allows the processing of a contactless card.
      • paymentType

        public CardAcquisitionTransaction paymentType​(PaymentType paymentType)
        paymentType
        Parameters:
        paymentType -
        Returns:
        the current CardAcquisitionTransaction instance, allowing for method chaining
      • getPaymentType

        public PaymentType getPaymentType()
        Get paymentType
        Returns:
        paymentType
      • setPaymentType

        public void setPaymentType​(PaymentType paymentType)
        paymentType
        Parameters:
        paymentType -
      • cashBackFlag

        public CardAcquisitionTransaction cashBackFlag​(Boolean cashBackFlag)
        Cash back has been requested with the payment transaction. Allows choice of the Customer language when the POI displays messages or print text to Merchant interface.
        Parameters:
        cashBackFlag - Cash back has been requested with the payment transaction. Allows choice of the Customer language when the POI displays messages or print text to Merchant interface.
        Returns:
        the current CardAcquisitionTransaction instance, allowing for method chaining
      • getCashBackFlag

        public Boolean getCashBackFlag()
        Cash back has been requested with the payment transaction. Allows choice of the Customer language when the POI displays messages or print text to Merchant interface.
        Returns:
        cashBackFlag Cash back has been requested with the payment transaction. Allows choice of the Customer language when the POI displays messages or print text to Merchant interface.
      • setCashBackFlag

        public void setCashBackFlag​(Boolean cashBackFlag)
        Cash back has been requested with the payment transaction. Allows choice of the Customer language when the POI displays messages or print text to Merchant interface.
        Parameters:
        cashBackFlag - Cash back has been requested with the payment transaction. Allows choice of the Customer language when the POI displays messages or print text to Merchant interface.
      • includeNullValues

        public CardAcquisitionTransaction includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • equals

        public boolean equals​(Object o)
        Return true if this CardAcquisitionTransaction object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getExplicitNulls

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • fromJson

        public static CardAcquisitionTransaction fromJson​(String jsonString)
                                                   throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of CardAcquisitionTransaction given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of CardAcquisitionTransaction
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to CardAcquisitionTransaction
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of CardAcquisitionTransaction to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException