Class UpdateMerchantWebhookRequest


  • public class UpdateMerchantWebhookRequest
    extends Object
    UpdateMerchantWebhookRequest
    • Constructor Detail

      • UpdateMerchantWebhookRequest

        public UpdateMerchantWebhookRequest()
    • Method Detail

      • getAcceptsExpiredCertificate

        public Boolean getAcceptsExpiredCertificate()
        Indicates if expired SSL certificates are accepted. Default value: **false**.
        Returns:
        acceptsExpiredCertificate
      • setAcceptsExpiredCertificate

        public void setAcceptsExpiredCertificate​(Boolean acceptsExpiredCertificate)
      • getAcceptsSelfSignedCertificate

        public Boolean getAcceptsSelfSignedCertificate()
        Indicates if self-signed SSL certificates are accepted. Default value: **false**.
        Returns:
        acceptsSelfSignedCertificate
      • setAcceptsSelfSignedCertificate

        public void setAcceptsSelfSignedCertificate​(Boolean acceptsSelfSignedCertificate)
      • getAcceptsUntrustedRootCertificate

        public Boolean getAcceptsUntrustedRootCertificate()
        Indicates if untrusted SSL certificates are accepted. Default value: **false**.
        Returns:
        acceptsUntrustedRootCertificate
      • setAcceptsUntrustedRootCertificate

        public void setAcceptsUntrustedRootCertificate​(Boolean acceptsUntrustedRootCertificate)
      • getActive

        public Boolean getActive()
        Indicates if the webhook configuration is active. The field must be **true** for us to send webhooks about events related an account.
        Returns:
        active
      • setActive

        public void setActive​(Boolean active)
      • getAdditionalSettings

        public AdditionalSettings getAdditionalSettings()
        Get additionalSettings
        Returns:
        additionalSettings
      • setAdditionalSettings

        public void setAdditionalSettings​(AdditionalSettings additionalSettings)
      • getDescription

        public String getDescription()
        Your description for this webhook configuration.
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
      • getEncryptionProtocol

        public UpdateMerchantWebhookRequest.EncryptionProtocolEnum getEncryptionProtocol()
        SSL version to access the public webhook URL specified in the `url` field. Possible values: * **TLSv1.3** * **TLSv1.2** * **HTTP** - Only allowed on Test environment. If not specified, the webhook will use `sslVersion`: **TLSv1.2**.
        Returns:
        encryptionProtocol
      • getNetworkType

        public UpdateMerchantWebhookRequest.NetworkTypeEnum getNetworkType()
        Network type for Terminal API notification webhooks. Possible values: * **public** * **local** Default Value: **public**.
        Returns:
        networkType
      • getPassword

        public String getPassword()
        Password to access the webhook URL.
        Returns:
        password
      • setPassword

        public void setPassword​(String password)
      • getPopulateSoapActionHeader

        public Boolean getPopulateSoapActionHeader()
        Indicates if the SOAP action header needs to be populated. Default value: **false**. Only applies if `communicationFormat`: **soap**.
        Returns:
        populateSoapActionHeader
      • setPopulateSoapActionHeader

        public void setPopulateSoapActionHeader​(Boolean populateSoapActionHeader)
      • getUrl

        public String getUrl()
        Public URL where webhooks will be sent, for example **https://www.domain.com/webhook-endpoint**.
        Returns:
        url
      • setUrl

        public void setUrl​(String url)
      • getUsername

        public String getUsername()
        Username to access the webhook URL.
        Returns:
        username
      • setUsername

        public void setUsername​(String username)
      • equals

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

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

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

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