Record Class CashReceiptUrls

java.lang.Object
java.lang.Record
kr.paysync.sdk.cashreceipt.CashReceiptUrls
Record Components:
view - 화면에서 볼 주소
print - 인쇄용 주소
pdf - PDF 주소

public record CashReceiptUrls(String view, String print, String pdf) extends Record
현금영수증 문서 주소입니다. 임시 주소라서 필요할 때마다 새로 받으세요.
  • Constructor Details

    • CashReceiptUrls

      public CashReceiptUrls(String view, String print, String pdf)
      Creates an instance of a CashReceiptUrls record class.
      Parameters:
      view - the value for the view record component
      print - the value for the print record component
      pdf - the value for the pdf record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • view

      public String view()
      Returns the value of the view record component.
      Returns:
      the value of the view record component
    • print

      public String print()
      Returns the value of the print record component.
      Returns:
      the value of the print record component
    • pdf

      public String pdf()
      Returns the value of the pdf record component.
      Returns:
      the value of the pdf record component