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)
      • getEnabled

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

        public void setEnabled​(Boolean enabled)
      • getId

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

        public void setId​(String id)
      • getMerchantId

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

        public void setMerchantId​(String merchantId)
      • getReference

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

        public void setReference​(String 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. * **dataRequired**: the request is in a draft state because the required KYC data are missing. To check what data are missing, [get the details of the legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/get/legalEntities/_id_). * **capabilityPending**: the **receivePayments** capability is not allowed. * **updatesExpected**: the **receivePayments** capability is not allowed and the required KYC data are missing. To check what data are missing, [get the details of the legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/get/legalEntities/_id_).
        Returns:
        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)
      • getType

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

        public void setType​(String type)
      • 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