Class PaymentAcquirerData


  • public class PaymentAcquirerData
    extends Object
    Data related to the response from the payment Acquirer.
    • Constructor Detail

      • PaymentAcquirerData

        public PaymentAcquirerData()
    • Method Detail

      • acquirerID

        public PaymentAcquirerData acquirerID​(Integer acquirerID)
        Identification of the Acquirer. Identification of the Acquirer when the POI System is multi-acquirer.
        Parameters:
        acquirerID - Identification of the Acquirer. Identification of the Acquirer when the POI System is multi-acquirer.
        Returns:
        the current PaymentAcquirerData instance, allowing for method chaining
      • getAcquirerID

        public Integer getAcquirerID()
        Identification of the Acquirer. Identification of the Acquirer when the POI System is multi-acquirer.
        Returns:
        acquirerID Identification of the Acquirer. Identification of the Acquirer when the POI System is multi-acquirer.
      • setAcquirerID

        public void setAcquirerID​(Integer acquirerID)
        Identification of the Acquirer. Identification of the Acquirer when the POI System is multi-acquirer.
        Parameters:
        acquirerID - Identification of the Acquirer. Identification of the Acquirer when the POI System is multi-acquirer.
      • merchantID

        public PaymentAcquirerData merchantID​(String merchantID)
        Identification of the Merchant for the Acquirer.
        Parameters:
        merchantID - Identification of the Merchant for the Acquirer.
        Returns:
        the current PaymentAcquirerData instance, allowing for method chaining
      • getMerchantID

        public String getMerchantID()
        Identification of the Merchant for the Acquirer.
        Returns:
        merchantID Identification of the Merchant for the Acquirer.
      • setMerchantID

        public void setMerchantID​(String merchantID)
        Identification of the Merchant for the Acquirer.
        Parameters:
        merchantID - Identification of the Merchant for the Acquirer.
      • acquirerPOIID

        public PaymentAcquirerData acquirerPOIID​(String acquirerPOIID)
        Identification of the POI for the payment Acquirer.
        Parameters:
        acquirerPOIID - Identification of the POI for the payment Acquirer.
        Returns:
        the current PaymentAcquirerData instance, allowing for method chaining
      • getAcquirerPOIID

        public String getAcquirerPOIID()
        Identification of the POI for the payment Acquirer.
        Returns:
        acquirerPOIID Identification of the POI for the payment Acquirer.
      • setAcquirerPOIID

        public void setAcquirerPOIID​(String acquirerPOIID)
        Identification of the POI for the payment Acquirer.
        Parameters:
        acquirerPOIID - Identification of the POI for the payment Acquirer.
      • acquirerTransactionID

        public PaymentAcquirerData acquirerTransactionID​(TransactionIDType acquirerTransactionID)
        acquirerTransactionID
        Parameters:
        acquirerTransactionID -
        Returns:
        the current PaymentAcquirerData instance, allowing for method chaining
      • getAcquirerTransactionID

        public TransactionIDType getAcquirerTransactionID()
        Get acquirerTransactionID
        Returns:
        acquirerTransactionID
      • setAcquirerTransactionID

        public void setAcquirerTransactionID​(TransactionIDType acquirerTransactionID)
        acquirerTransactionID
        Parameters:
        acquirerTransactionID -
      • approvalCode

        public PaymentAcquirerData approvalCode​(String approvalCode)
        Code assigned to a transaction approval by the Acquirer. If available.
        Parameters:
        approvalCode - Code assigned to a transaction approval by the Acquirer. If available.
        Returns:
        the current PaymentAcquirerData instance, allowing for method chaining
      • getApprovalCode

        public String getApprovalCode()
        Code assigned to a transaction approval by the Acquirer. If available.
        Returns:
        approvalCode Code assigned to a transaction approval by the Acquirer. If available.
      • setApprovalCode

        public void setApprovalCode​(String approvalCode)
        Code assigned to a transaction approval by the Acquirer. If available.
        Parameters:
        approvalCode - Code assigned to a transaction approval by the Acquirer. If available.
      • hostReconciliationID

        public PaymentAcquirerData hostReconciliationID​(String hostReconciliationID)
        Identifier of a reconciliation period with a payment or loyalty host. Allows the assignment of a transaction to the Acquirer reconciliation (or batch).
        Parameters:
        hostReconciliationID - Identifier of a reconciliation period with a payment or loyalty host. Allows the assignment of a transaction to the Acquirer reconciliation (or batch).
        Returns:
        the current PaymentAcquirerData instance, allowing for method chaining
      • getHostReconciliationID

        public String getHostReconciliationID()
        Identifier of a reconciliation period with a payment or loyalty host. Allows the assignment of a transaction to the Acquirer reconciliation (or batch).
        Returns:
        hostReconciliationID Identifier of a reconciliation period with a payment or loyalty host. Allows the assignment of a transaction to the Acquirer reconciliation (or batch).
      • setHostReconciliationID

        public void setHostReconciliationID​(String hostReconciliationID)
        Identifier of a reconciliation period with a payment or loyalty host. Allows the assignment of a transaction to the Acquirer reconciliation (or batch).
        Parameters:
        hostReconciliationID - Identifier of a reconciliation period with a payment or loyalty host. Allows the assignment of a transaction to the Acquirer reconciliation (or batch).
      • includeNullValues

        public PaymentAcquirerData 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 PaymentAcquirerData 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 PaymentAcquirerData fromJson​(String jsonString)
                                            throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of PaymentAcquirerData given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of PaymentAcquirerData
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to PaymentAcquirerData
      • toJson

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