Class B2WebhookCustomHeader

  • All Implemented Interfaces:
    java.lang.Comparable<B2WebhookCustomHeader>

    public class B2WebhookCustomHeader
    extends java.lang.Object
    implements java.lang.Comparable<B2WebhookCustomHeader>
    Custom headers for B2WebhookConfiguration
    • Constructor Summary

      Constructors 
      Constructor Description
      B2WebhookCustomHeader​(java.lang.String name, java.lang.String value)  
    • Constructor Detail

      • B2WebhookCustomHeader

        public B2WebhookCustomHeader​(java.lang.String name,
                                     java.lang.String value)
    • Method Detail

      • getName

        public java.lang.String getName()
      • getValue

        public java.lang.String getValue()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • compareTo

        public int compareTo​(B2WebhookCustomHeader c)
        B2CustomHeaders are sorted (without case sensitivity) by name first, and then value.
        Specified by:
        compareTo in interface java.lang.Comparable<B2WebhookCustomHeader>