Enum Class WebhookEventType

java.lang.Object
java.lang.Enum<WebhookEventType>
kr.paysync.sdk.webhook.WebhookEventType
All Implemented Interfaces:
Serializable, Comparable<WebhookEventType>, Constable

public enum WebhookEventType extends Enum<WebhookEventType>
웹훅 이벤트 종류입니다.
  • Enum Constant Details

    • INVOICE_CREATED

      public static final WebhookEventType INVOICE_CREATED
      주문이 만들어졌습니다.
    • INVOICE_UPDATED

      public static final WebhookEventType INVOICE_UPDATED
      결제 대기 주문의 내용이 바뀌었습니다.
    • INVOICE_PAID

      public static final WebhookEventType INVOICE_PAID
      주문이 결제 완료됐습니다.
    • INVOICE_EXPIRED

      public static final WebhookEventType INVOICE_EXPIRED
      입금 기한이 지나 주문이 만료됐습니다.
    • INVOICE_CANCELED

      public static final WebhookEventType INVOICE_CANCELED
      주문이 취소됐습니다.
    • INVOICE_REOPENED

      public static final WebhookEventType INVOICE_REOPENED
      매칭이 해제돼 결제 완료 주문이 다시 열렸습니다.
    • TRANSACTION_CREATED

      public static final WebhookEventType TRANSACTION_CREATED
      새 입금이 들어왔습니다.
    • UNKNOWN

      public static final WebhookEventType UNKNOWN
      이 SDK 버전이 모르는 이벤트입니다.
  • Method Details

    • values

      public static WebhookEventType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static WebhookEventType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public String value()
      이벤트 종류 문자열입니다. (예: invoice.paid)
    • fromValue

      public static WebhookEventType fromValue(String value)