Class CardDonations


  • public class CardDonations
    extends Object
    CardDonations
    • Constructor Detail

      • CardDonations

        public CardDonations()
    • Method Detail

      • billingSequenceNumber

        public CardDonations billingSequenceNumber​(String billingSequenceNumber)
        The sequence number for the debit. For example, send **2** if this is the second debit for the subscription. The sequence number is included in the notification sent to the shopper.
        Parameters:
        billingSequenceNumber - The sequence number for the debit. For example, send **2** if this is the second debit for the subscription. The sequence number is included in the notification sent to the shopper.
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getBillingSequenceNumber

        public String getBillingSequenceNumber()
        The sequence number for the debit. For example, send **2** if this is the second debit for the subscription. The sequence number is included in the notification sent to the shopper.
        Returns:
        billingSequenceNumber The sequence number for the debit. For example, send **2** if this is the second debit for the subscription. The sequence number is included in the notification sent to the shopper.
      • setBillingSequenceNumber

        public void setBillingSequenceNumber​(String billingSequenceNumber)
        The sequence number for the debit. For example, send **2** if this is the second debit for the subscription. The sequence number is included in the notification sent to the shopper.
        Parameters:
        billingSequenceNumber - The sequence number for the debit. For example, send **2** if this is the second debit for the subscription. The sequence number is included in the notification sent to the shopper.
      • brand

        public CardDonations brand​(String brand)
        Secondary brand of the card. For example: **plastix**, **hmclub**.
        Parameters:
        brand - Secondary brand of the card. For example: **plastix**, **hmclub**.
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getBrand

        public String getBrand()
        Secondary brand of the card. For example: **plastix**, **hmclub**.
        Returns:
        brand Secondary brand of the card. For example: **plastix**, **hmclub**.
      • setBrand

        public void setBrand​(String brand)
        Secondary brand of the card. For example: **plastix**, **hmclub**.
        Parameters:
        brand - Secondary brand of the card. For example: **plastix**, **hmclub**.
      • checkoutAttemptId

        public CardDonations checkoutAttemptId​(String checkoutAttemptId)
        The checkout attempt identifier.
        Parameters:
        checkoutAttemptId - The checkout attempt identifier.
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getCheckoutAttemptId

        public String getCheckoutAttemptId()
        The checkout attempt identifier.
        Returns:
        checkoutAttemptId The checkout attempt identifier.
      • setCheckoutAttemptId

        public void setCheckoutAttemptId​(String checkoutAttemptId)
        The checkout attempt identifier.
        Parameters:
        checkoutAttemptId - The checkout attempt identifier.
      • cupsecureplusSmscode

        @Deprecated
        public CardDonations cupsecureplusSmscode​(String cupsecureplusSmscode)
        Deprecated.
        cupsecureplusSmscode
        Parameters:
        cupsecureplusSmscode -
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getCupsecureplusSmscode

        @Deprecated
        public String getCupsecureplusSmscode()
        Deprecated.
        // deprecated
        Get cupsecureplusSmscode
        Returns:
        cupsecureplusSmscode
      • setCupsecureplusSmscode

        @Deprecated
        public void setCupsecureplusSmscode​(String cupsecureplusSmscode)
        Deprecated.
        cupsecureplusSmscode
        Parameters:
        cupsecureplusSmscode -
      • cvc

        public CardDonations cvc​(String cvc)
        The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
        Parameters:
        cvc - The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getCvc

        public String getCvc()
        The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
        Returns:
        cvc The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
      • setCvc

        public void setCvc​(String cvc)
        The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
        Parameters:
        cvc - The card verification code. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
      • encryptedCard

        public CardDonations encryptedCard​(String encryptedCard)
        Only include this for JSON Web Encryption (JWE) implementations. The JWE-encrypted card details.
        Parameters:
        encryptedCard - Only include this for JSON Web Encryption (JWE) implementations. The JWE-encrypted card details.
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getEncryptedCard

        public String getEncryptedCard()
        Only include this for JSON Web Encryption (JWE) implementations. The JWE-encrypted card details.
        Returns:
        encryptedCard Only include this for JSON Web Encryption (JWE) implementations. The JWE-encrypted card details.
      • setEncryptedCard

        public void setEncryptedCard​(String encryptedCard)
        Only include this for JSON Web Encryption (JWE) implementations. The JWE-encrypted card details.
        Parameters:
        encryptedCard - Only include this for JSON Web Encryption (JWE) implementations. The JWE-encrypted card details.
      • encryptedCardNumber

        public CardDonations encryptedCardNumber​(String encryptedCardNumber)
        The encrypted card number.
        Parameters:
        encryptedCardNumber - The encrypted card number.
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getEncryptedCardNumber

        public String getEncryptedCardNumber()
        The encrypted card number.
        Returns:
        encryptedCardNumber The encrypted card number.
      • setEncryptedCardNumber

        public void setEncryptedCardNumber​(String encryptedCardNumber)
        The encrypted card number.
        Parameters:
        encryptedCardNumber - The encrypted card number.
      • encryptedExpiryMonth

        public CardDonations encryptedExpiryMonth​(String encryptedExpiryMonth)
        The encrypted card expiry month.
        Parameters:
        encryptedExpiryMonth - The encrypted card expiry month.
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getEncryptedExpiryMonth

        public String getEncryptedExpiryMonth()
        The encrypted card expiry month.
        Returns:
        encryptedExpiryMonth The encrypted card expiry month.
      • setEncryptedExpiryMonth

        public void setEncryptedExpiryMonth​(String encryptedExpiryMonth)
        The encrypted card expiry month.
        Parameters:
        encryptedExpiryMonth - The encrypted card expiry month.
      • encryptedExpiryYear

        public CardDonations encryptedExpiryYear​(String encryptedExpiryYear)
        The encrypted card expiry year.
        Parameters:
        encryptedExpiryYear - The encrypted card expiry year.
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getEncryptedExpiryYear

        public String getEncryptedExpiryYear()
        The encrypted card expiry year.
        Returns:
        encryptedExpiryYear The encrypted card expiry year.
      • setEncryptedExpiryYear

        public void setEncryptedExpiryYear​(String encryptedExpiryYear)
        The encrypted card expiry year.
        Parameters:
        encryptedExpiryYear - The encrypted card expiry year.
      • encryptedPassword

        public CardDonations encryptedPassword​(String encryptedPassword)
        This field contains an encrypted, one-time password or an authentication code provided by the cardholder.
        Parameters:
        encryptedPassword - This field contains an encrypted, one-time password or an authentication code provided by the cardholder.
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getEncryptedPassword

        public String getEncryptedPassword()
        This field contains an encrypted, one-time password or an authentication code provided by the cardholder.
        Returns:
        encryptedPassword This field contains an encrypted, one-time password or an authentication code provided by the cardholder.
      • setEncryptedPassword

        public void setEncryptedPassword​(String encryptedPassword)
        This field contains an encrypted, one-time password or an authentication code provided by the cardholder.
        Parameters:
        encryptedPassword - This field contains an encrypted, one-time password or an authentication code provided by the cardholder.
      • encryptedSecurityCode

        public CardDonations encryptedSecurityCode​(String encryptedSecurityCode)
        The encrypted card verification code.
        Parameters:
        encryptedSecurityCode - The encrypted card verification code.
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getEncryptedSecurityCode

        public String getEncryptedSecurityCode()
        The encrypted card verification code.
        Returns:
        encryptedSecurityCode The encrypted card verification code.
      • setEncryptedSecurityCode

        public void setEncryptedSecurityCode​(String encryptedSecurityCode)
        The encrypted card verification code.
        Parameters:
        encryptedSecurityCode - The encrypted card verification code.
      • expiryMonth

        public CardDonations expiryMonth​(String expiryMonth)
        The card expiry month. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
        Parameters:
        expiryMonth - The card expiry month. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getExpiryMonth

        public String getExpiryMonth()
        The card expiry month. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
        Returns:
        expiryMonth The card expiry month. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
      • setExpiryMonth

        public void setExpiryMonth​(String expiryMonth)
        The card expiry month. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
        Parameters:
        expiryMonth - The card expiry month. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
      • expiryYear

        public CardDonations expiryYear​(String expiryYear)
        The card expiry year. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
        Parameters:
        expiryYear - The card expiry year. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getExpiryYear

        public String getExpiryYear()
        The card expiry year. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
        Returns:
        expiryYear The card expiry year. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
      • setExpiryYear

        public void setExpiryYear​(String expiryYear)
        The card expiry year. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
        Parameters:
        expiryYear - The card expiry year. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
      • fastlaneData

        public CardDonations fastlaneData​(String fastlaneData)
        The encoded fastlane data blob
        Parameters:
        fastlaneData - The encoded fastlane data blob
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getFastlaneData

        public String getFastlaneData()
        The encoded fastlane data blob
        Returns:
        fastlaneData The encoded fastlane data blob
      • setFastlaneData

        public void setFastlaneData​(String fastlaneData)
        The encoded fastlane data blob
        Parameters:
        fastlaneData - The encoded fastlane data blob
      • fundingSource

        public CardDonations fundingSource​(CardDonations.FundingSourceEnum fundingSource)
        The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.
        Parameters:
        fundingSource - The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getFundingSource

        public CardDonations.FundingSourceEnum getFundingSource()
        The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.
        Returns:
        fundingSource The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.
      • setFundingSource

        public void setFundingSource​(CardDonations.FundingSourceEnum fundingSource)
        The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.
        Parameters:
        fundingSource - The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.
      • holderName

        public CardDonations holderName​(String holderName)
        The name of the card holder.
        Parameters:
        holderName - The name of the card holder.
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getHolderName

        public String getHolderName()
        The name of the card holder.
        Returns:
        holderName The name of the card holder.
      • setHolderName

        public void setHolderName​(String holderName)
        The name of the card holder.
        Parameters:
        holderName - The name of the card holder.
      • networkPaymentReference

        public CardDonations networkPaymentReference​(String networkPaymentReference)
        The transaction identifier from card schemes. This is the [`networkTxReference`](https://docs.adyen.com/api-explorer/Checkout/latest/post/payments#responses-200-additionalData-ResponseAdditionalDataCommon-networkTxReference) from the response to the first payment.
        Parameters:
        networkPaymentReference - The transaction identifier from card schemes. This is the [`networkTxReference`](https://docs.adyen.com/api-explorer/Checkout/latest/post/payments#responses-200-additionalData-ResponseAdditionalDataCommon-networkTxReference) from the response to the first payment.
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getNetworkPaymentReference

        public String getNetworkPaymentReference()
        The transaction identifier from card schemes. This is the [`networkTxReference`](https://docs.adyen.com/api-explorer/Checkout/latest/post/payments#responses-200-additionalData-ResponseAdditionalDataCommon-networkTxReference) from the response to the first payment.
        Returns:
        networkPaymentReference The transaction identifier from card schemes. This is the [`networkTxReference`](https://docs.adyen.com/api-explorer/Checkout/latest/post/payments#responses-200-additionalData-ResponseAdditionalDataCommon-networkTxReference) from the response to the first payment.
      • setNetworkPaymentReference

        public void setNetworkPaymentReference​(String networkPaymentReference)
        The transaction identifier from card schemes. This is the [`networkTxReference`](https://docs.adyen.com/api-explorer/Checkout/latest/post/payments#responses-200-additionalData-ResponseAdditionalDataCommon-networkTxReference) from the response to the first payment.
        Parameters:
        networkPaymentReference - The transaction identifier from card schemes. This is the [`networkTxReference`](https://docs.adyen.com/api-explorer/Checkout/latest/post/payments#responses-200-additionalData-ResponseAdditionalDataCommon-networkTxReference) from the response to the first payment.
      • number

        public CardDonations number​(String number)
        The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
        Parameters:
        number - The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getNumber

        public String getNumber()
        The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
        Returns:
        number The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
      • setNumber

        public void setNumber​(String number)
        The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
        Parameters:
        number - The card number. Only collect raw card data if you are [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide).
      • recurringDetailReference

        @Deprecated
        public CardDonations recurringDetailReference​(String recurringDetailReference)
        Deprecated.
        since Adyen Checkout API v49 Use `storedPaymentMethodId` instead.
        This is the `recurringDetailReference` returned in the response when you created the token.
        Parameters:
        recurringDetailReference - This is the `recurringDetailReference` returned in the response when you created the token.
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getRecurringDetailReference

        @Deprecated
        public String getRecurringDetailReference()
        Deprecated.
        // deprecated since Adyen Checkout API v49: Use `storedPaymentMethodId` instead.
        This is the `recurringDetailReference` returned in the response when you created the token.
        Returns:
        recurringDetailReference This is the `recurringDetailReference` returned in the response when you created the token.
      • setRecurringDetailReference

        @Deprecated
        public void setRecurringDetailReference​(String recurringDetailReference)
        Deprecated.
        since Adyen Checkout API v49 Use `storedPaymentMethodId` instead.
        This is the `recurringDetailReference` returned in the response when you created the token.
        Parameters:
        recurringDetailReference - This is the `recurringDetailReference` returned in the response when you created the token.
      • sdkData

        public CardDonations sdkData​(String sdkData)
        Base64-encoded JSON object containing SDK related parameters required by the SDK
        Parameters:
        sdkData - Base64-encoded JSON object containing SDK related parameters required by the SDK
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getSdkData

        public String getSdkData()
        Base64-encoded JSON object containing SDK related parameters required by the SDK
        Returns:
        sdkData Base64-encoded JSON object containing SDK related parameters required by the SDK
      • setSdkData

        public void setSdkData​(String sdkData)
        Base64-encoded JSON object containing SDK related parameters required by the SDK
        Parameters:
        sdkData - Base64-encoded JSON object containing SDK related parameters required by the SDK
      • shopperNotificationReference

        public CardDonations shopperNotificationReference​(String shopperNotificationReference)
        The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used only for recurring payments in India.
        Parameters:
        shopperNotificationReference - The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used only for recurring payments in India.
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getShopperNotificationReference

        public String getShopperNotificationReference()
        The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used only for recurring payments in India.
        Returns:
        shopperNotificationReference The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used only for recurring payments in India.
      • setShopperNotificationReference

        public void setShopperNotificationReference​(String shopperNotificationReference)
        The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used only for recurring payments in India.
        Parameters:
        shopperNotificationReference - The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used only for recurring payments in India.
      • srcCorrelationId

        public CardDonations srcCorrelationId​(String srcCorrelationId)
        An identifier used for the Click to Pay transaction.
        Parameters:
        srcCorrelationId - An identifier used for the Click to Pay transaction.
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getSrcCorrelationId

        public String getSrcCorrelationId()
        An identifier used for the Click to Pay transaction.
        Returns:
        srcCorrelationId An identifier used for the Click to Pay transaction.
      • setSrcCorrelationId

        public void setSrcCorrelationId​(String srcCorrelationId)
        An identifier used for the Click to Pay transaction.
        Parameters:
        srcCorrelationId - An identifier used for the Click to Pay transaction.
      • srcDigitalCardId

        public CardDonations srcDigitalCardId​(String srcDigitalCardId)
        The SRC reference for the Click to Pay token.
        Parameters:
        srcDigitalCardId - The SRC reference for the Click to Pay token.
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getSrcDigitalCardId

        public String getSrcDigitalCardId()
        The SRC reference for the Click to Pay token.
        Returns:
        srcDigitalCardId The SRC reference for the Click to Pay token.
      • setSrcDigitalCardId

        public void setSrcDigitalCardId​(String srcDigitalCardId)
        The SRC reference for the Click to Pay token.
        Parameters:
        srcDigitalCardId - The SRC reference for the Click to Pay token.
      • srcScheme

        public CardDonations srcScheme​(String srcScheme)
        The scheme that is being used for Click to Pay.
        Parameters:
        srcScheme - The scheme that is being used for Click to Pay.
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getSrcScheme

        public String getSrcScheme()
        The scheme that is being used for Click to Pay.
        Returns:
        srcScheme The scheme that is being used for Click to Pay.
      • setSrcScheme

        public void setSrcScheme​(String srcScheme)
        The scheme that is being used for Click to Pay.
        Parameters:
        srcScheme - The scheme that is being used for Click to Pay.
      • srcTokenReference

        public CardDonations srcTokenReference​(String srcTokenReference)
        The reference for the Click to Pay token.
        Parameters:
        srcTokenReference - The reference for the Click to Pay token.
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getSrcTokenReference

        public String getSrcTokenReference()
        The reference for the Click to Pay token.
        Returns:
        srcTokenReference The reference for the Click to Pay token.
      • setSrcTokenReference

        public void setSrcTokenReference​(String srcTokenReference)
        The reference for the Click to Pay token.
        Parameters:
        srcTokenReference - The reference for the Click to Pay token.
      • storedPaymentMethodId

        public CardDonations storedPaymentMethodId​(String storedPaymentMethodId)
        This is the `recurringDetailReference` returned in the response when you created the token.
        Parameters:
        storedPaymentMethodId - This is the `recurringDetailReference` returned in the response when you created the token.
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getStoredPaymentMethodId

        public String getStoredPaymentMethodId()
        This is the `recurringDetailReference` returned in the response when you created the token.
        Returns:
        storedPaymentMethodId This is the `recurringDetailReference` returned in the response when you created the token.
      • setStoredPaymentMethodId

        public void setStoredPaymentMethodId​(String storedPaymentMethodId)
        This is the `recurringDetailReference` returned in the response when you created the token.
        Parameters:
        storedPaymentMethodId - This is the `recurringDetailReference` returned in the response when you created the token.
      • threeDS2SdkVersion

        public CardDonations threeDS2SdkVersion​(String threeDS2SdkVersion)
        Required for mobile integrations. Version of the 3D Secure 2 mobile SDK.
        Parameters:
        threeDS2SdkVersion - Required for mobile integrations. Version of the 3D Secure 2 mobile SDK.
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getThreeDS2SdkVersion

        public String getThreeDS2SdkVersion()
        Required for mobile integrations. Version of the 3D Secure 2 mobile SDK.
        Returns:
        threeDS2SdkVersion Required for mobile integrations. Version of the 3D Secure 2 mobile SDK.
      • setThreeDS2SdkVersion

        public void setThreeDS2SdkVersion​(String threeDS2SdkVersion)
        Required for mobile integrations. Version of the 3D Secure 2 mobile SDK.
        Parameters:
        threeDS2SdkVersion - Required for mobile integrations. Version of the 3D Secure 2 mobile SDK.
      • type

        public CardDonations type​(CardDonations.TypeEnum type)
        Default payment method details. Common for scheme payment methods, and for simple payment method details.
        Parameters:
        type - Default payment method details. Common for scheme payment methods, and for simple payment method details.
        Returns:
        the current CardDonations instance, allowing for method chaining
      • getType

        public CardDonations.TypeEnum getType()
        Default payment method details. Common for scheme payment methods, and for simple payment method details.
        Returns:
        type Default payment method details. Common for scheme payment methods, and for simple payment method details.
      • setType

        public void setType​(CardDonations.TypeEnum type)
        Default payment method details. Common for scheme payment methods, and for simple payment method details.
        Parameters:
        type - Default payment method details. Common for scheme payment methods, and for simple payment method details.
      • includeNullValues

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

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