Class MidServiceNotificationData


  • public class MidServiceNotificationData
    extends Object
    MidServiceNotificationData
    • Constructor Detail

      • MidServiceNotificationData

        public MidServiceNotificationData()
    • Method Detail

      • getAllowed

        public Boolean getAllowed()
        Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after screening your merchant account.
        Returns:
        allowed
      • setAllowed

        public void setAllowed​(Boolean allowed)
        Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after screening your merchant account.
        Parameters:
        allowed -
      • getEnabled

        public Boolean getEnabled()
        Indicates whether the payment method is enabled (**true**) or disabled (**false**).
        Returns:
        enabled
      • setEnabled

        public void setEnabled​(Boolean enabled)
        Indicates whether the payment method is enabled (**true**) or disabled (**false**).
        Parameters:
        enabled -
      • getId

        public String getId()
        The unique identifier of the resource.
        Returns:
        id
      • setId

        public void setId​(String id)
        The unique identifier of the resource.
        Parameters:
        id -
      • getMerchantId

        public String getMerchantId()
        The unique identifier of the merchant account.
        Returns:
        merchantId
      • setMerchantId

        public void setMerchantId​(String merchantId)
        The unique identifier of the merchant account.
        Parameters:
        merchantId -
      • getReference

        public String getReference()
        Your reference for the payment method.
        Returns:
        reference
      • setReference

        public void setReference​(String reference)
        Your reference for the payment method.
        Parameters:
        reference -
      • getStatus

        public MidServiceNotificationData.StatusEnum getStatus()
        The status of the request to add a payment method. Possible values: * **success**: the payment method was added. * **failure**: the request failed. * **capabilityPending**: the **receivePayments** capability is not allowed.
        Returns:
        status
      • setStatus

        public void setStatus​(MidServiceNotificationData.StatusEnum status)
        The status of the request to add a payment method. Possible values: * **success**: the payment method was added. * **failure**: the request failed. * **capabilityPending**: the **receivePayments** capability is not allowed.
        Parameters:
        status -
      • getStoreId

        public String getStoreId()
        The unique identifier of the [store](https://docs.adyen.com/api-explorer/#/ManagementService/latest/post/merchants/{id}/paymentMethodSettings__reqParam_storeId), if any.
        Returns:
        storeId
      • setStoreId

        public void setStoreId​(String storeId)
        The unique identifier of the [store](https://docs.adyen.com/api-explorer/#/ManagementService/latest/post/merchants/{id}/paymentMethodSettings__reqParam_storeId), if any.
        Parameters:
        storeId -
      • getType

        public String getType()
        Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).
        Returns:
        type
      • setType

        public void setType​(String type)
        Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).
        Parameters:
        type -
      • setVerificationStatus

        public void setVerificationStatus​(MidServiceNotificationData.VerificationStatusEnum verificationStatus)
        Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected**
        Parameters:
        verificationStatus -
      • equals

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

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

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

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