Class UtilityBill

    • Constructor Detail

      • UtilityBill

        public UtilityBill()
        The constructor that construct evidence whose type is "utility_bill".
    • Method Detail

      • getProvider

        public Provider getProvider()
        Get the provider that issued the utility bill.
        Returns:
        The provider that issued the utility bill.
      • setProvider

        public UtilityBill setProvider​(Provider provider)
        Set the provider that issued the utility bill.
        Parameters:
        provider - The provider that issued the utility bill.
        Returns:
        this object.
      • containsProvider

        public boolean containsProvider()
        Check if this object contains "provider".
        Returns:
        true if this object contains "provider".
      • removeProvider

        public Provider removeProvider()
        Remove "provider" from this object.
        Returns:
        The old value that may have existed before removal.
      • getDate

        public String getDate()
        Get the date when the utility bill was issued.
        Returns:
        The date when the utility bill was issued.
      • setDate

        public UtilityBill setDate​(String date)
        Set the date when the utility bill was issued.
        Parameters:
        date - The date when the utility bill was issued.
        Returns:
        this object.
      • containsDate

        public boolean containsDate()
        Check if this object contains "date".
        Returns:
        true if this object contains "date".
      • removeDate

        public String removeDate()
        Remove "date" from this object.
        Returns:
        The old value that may have existed before removal.