Class Source


  • public final class Source
    extends java.lang.Object
    source The source of the unreferenced refund.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Source.SourceBuilder  
    • Constructor Summary

      Constructors 
      Constructor Description
      Source()  
      Source​(java.lang.String type, java.lang.String id)
      Creates a new Source instance.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Source.SourceBuilder builder()  
      boolean equals​(java.lang.Object o)  
      java.lang.String getId()
      The ID of the currency account that will fund the unreferenced refund.
      java.lang.String getType()
      The unreferenced refund source type.
      int hashCode()  
      void setId​(java.lang.String id)
      The ID of the currency account that will fund the unreferenced refund.
      void setType​(java.lang.String type)
      The unreferenced refund source type.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Source

        public Source()
      • Source

        public Source​(java.lang.String type,
                      java.lang.String id)
        Creates a new Source instance.
        Parameters:
        type - The unreferenced refund source type. [Required]
        id - The ID of the currency account that will fund the unreferenced refund. [Required] ^(ca)_(\w{26})$ 29 characters
    • Method Detail

      • getType

        public java.lang.String getType()
        The unreferenced refund source type. [Required]
      • getId

        public java.lang.String getId()
        The ID of the currency account that will fund the unreferenced refund. [Required] ^(ca)_(\w{26})$ 29 characters
      • setType

        public void setType​(java.lang.String type)
        The unreferenced refund source type. [Required]
      • setId

        public void setId​(java.lang.String id)
        The ID of the currency account that will fund the unreferenced refund. [Required] ^(ca)_(\w{26})$ 29 characters
      • 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