Class SentReceipt


  • public class SentReceipt
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  SentReceipt.Builder  
    • Constructor Summary

      Constructors 
      Constructor Description
      SentReceipt​(java.lang.String receiptID, java.lang.String idempotencyKey, java.time.OffsetDateTime sentOn)  
    • Constructor Detail

      • SentReceipt

        public SentReceipt​(java.lang.String receiptID,
                           java.lang.String idempotencyKey,
                           java.time.OffsetDateTime sentOn)
    • Method Detail

      • receiptID

        public java.lang.String receiptID()
        Unique identifier for the receipt.
      • idempotencyKey

        public java.lang.String idempotencyKey()
        The idempotency key used when creating the receipt.
      • sentOn

        public java.time.OffsetDateTime sentOn()
        When the receipt was sent.
      • withReceiptID

        public SentReceipt withReceiptID​(java.lang.String receiptID)
        Unique identifier for the receipt.
      • withIdempotencyKey

        public SentReceipt withIdempotencyKey​(java.lang.String idempotencyKey)
        The idempotency key used when creating the receipt.
      • withSentOn

        public SentReceipt withSentOn​(java.time.OffsetDateTime sentOn)
        When the receipt was sent.
      • 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