Class InvoiceProfile

    • Method Detail

      • accountId

        public final String accountId()

        The account ID the invoice profile is generated for.

        Returns:
        The account ID the invoice profile is generated for.
      • receiverName

        public final String receiverName()

        The name of the person receiving the invoice profile.

        Returns:
        The name of the person receiving the invoice profile.
      • receiverAddress

        public final ReceiverAddress receiverAddress()

        The address of the receiver that will be printed on the invoice.

        Returns:
        The address of the receiver that will be printed on the invoice.
      • receiverEmail

        public final String receiverEmail()

        The email address for the invoice profile receiver.

        Returns:
        The email address for the invoice profile receiver.
      • issuer

        public final String issuer()

        This specifies the issuing entity of the invoice.

        Returns:
        This specifies the issuing entity of the invoice.
      • taxRegistrationNumber

        public final String taxRegistrationNumber()

        Your Tax Registration Number (TRN) information.

        Returns:
        Your Tax Registration Number (TRN) information.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)