Class LoyaltyAcquirerData


  • public class LoyaltyAcquirerData
    extends Object
    LoyaltyAcquirerData
    • Constructor Detail

      • LoyaltyAcquirerData

        public LoyaltyAcquirerData()
    • Method Detail

      • loyaltyAcquirerID

        public LoyaltyAcquirerData loyaltyAcquirerID​(String loyaltyAcquirerID)
        Identification of the loyalty Acquirer.
        Parameters:
        loyaltyAcquirerID - Identification of the loyalty Acquirer.
        Returns:
        the current LoyaltyAcquirerData instance, allowing for method chaining
      • getLoyaltyAcquirerID

        public String getLoyaltyAcquirerID()
        Identification of the loyalty Acquirer.
        Returns:
        loyaltyAcquirerID Identification of the loyalty Acquirer.
      • setLoyaltyAcquirerID

        public void setLoyaltyAcquirerID​(String loyaltyAcquirerID)
        Identification of the loyalty Acquirer.
        Parameters:
        loyaltyAcquirerID - Identification of the loyalty Acquirer.
      • approvalCode

        public LoyaltyAcquirerData approvalCode​(String approvalCode)
        Code assigned to a transaction approval by the Acquirer. Could be an identifier of the approved transaction for the Acquirer. This data element is conditional for the Loyalty Acquirers. Used in the PaymentRequest request for a referral.
        Parameters:
        approvalCode - Code assigned to a transaction approval by the Acquirer. Could be an identifier of the approved transaction for the Acquirer. This data element is conditional for the Loyalty Acquirers. Used in the PaymentRequest request for a referral.
        Returns:
        the current LoyaltyAcquirerData instance, allowing for method chaining
      • getApprovalCode

        public String getApprovalCode()
        Code assigned to a transaction approval by the Acquirer. Could be an identifier of the approved transaction for the Acquirer. This data element is conditional for the Loyalty Acquirers. Used in the PaymentRequest request for a referral.
        Returns:
        approvalCode Code assigned to a transaction approval by the Acquirer. Could be an identifier of the approved transaction for the Acquirer. This data element is conditional for the Loyalty Acquirers. Used in the PaymentRequest request for a referral.
      • setApprovalCode

        public void setApprovalCode​(String approvalCode)
        Code assigned to a transaction approval by the Acquirer. Could be an identifier of the approved transaction for the Acquirer. This data element is conditional for the Loyalty Acquirers. Used in the PaymentRequest request for a referral.
        Parameters:
        approvalCode - Code assigned to a transaction approval by the Acquirer. Could be an identifier of the approved transaction for the Acquirer. This data element is conditional for the Loyalty Acquirers. Used in the PaymentRequest request for a referral.
      • loyaltyTransactionID

        public LoyaltyAcquirerData loyaltyTransactionID​(TransactionIDType loyaltyTransactionID)
        loyaltyTransactionID
        Parameters:
        loyaltyTransactionID -
        Returns:
        the current LoyaltyAcquirerData instance, allowing for method chaining
      • getLoyaltyTransactionID

        public TransactionIDType getLoyaltyTransactionID()
        Get loyaltyTransactionID
        Returns:
        loyaltyTransactionID
      • setLoyaltyTransactionID

        public void setLoyaltyTransactionID​(TransactionIDType loyaltyTransactionID)
        loyaltyTransactionID
        Parameters:
        loyaltyTransactionID -
      • hostReconciliationID

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

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