Gamebase SDK for Android  2.41.1
NHN Cloud Gamebase Platform
GraceBanInfo Class Reference
Inheritance diagram for GraceBanInfo:
Inheritance graph
Collaboration diagram for GraceBanInfo:
Collaboration graph

Classes

class  PaymentStatus
 현재까지 결제 상태 More...
 
class  ReleaseRuleCondition
 정상 유저로 변경 되는, 결제 조건 More...
 

Public Member Functions

 GraceBanInfo ()
 
long getGracePeriodDate ()
 Grace period expiration date. More...
 
String getMessage ()
 Message about grace ban. More...
 
PaymentStatus getPaymentStatus ()
 Current payment status. More...
 
ReleaseRuleCondition getReleaseRuleCondition ()
 Payment condition to release ban. More...
 
String toJsonString ()
 
String toPrettyJsonString ()
 
String toString ()
 

Static Public Member Functions

static< T > T fromJson (@NonNull String json, Class< T > classOfT)
 
static< T > T fromJson (@NonNull JSONObject jsonObject, Class< T > classOfT)
 
static< T > T fromJson (@NonNull String json, Type type)
 

Constructor & Destructor Documentation

◆ GraceBanInfo()

Member Function Documentation

◆ fromJson() [1/3]

static <T> T fromJson ( @NonNull JSONObject  jsonObject,
Class< T >  classOfT 
)
staticinherited
Here is the call graph for this function:

◆ fromJson() [2/3]

static <T> T fromJson ( @NonNull String  json,
Class< T >  classOfT 
)
staticinherited
Here is the caller graph for this function:

◆ fromJson() [3/3]

static <T> T fromJson ( @NonNull String  json,
Type  type 
)
staticinherited

◆ getGracePeriodDate()

long getGracePeriodDate ( )

Grace period expiration date.

(epoch time in milliseconds) If the payment conditions set before the period are satisfied, user's ban will be released.

Returns
이용정지 유예 만료 기간
  • 해당 기간전에 설정된 결제 조건을 만족하면 이용 정지 해제 됨
  • 기간 만료후에도 추가 결제를 만족하지 못했다면, 다시 이용 정지 상태로 변경 됨

◆ getMessage()

String getMessage ( )

Message about grace ban.

(Encoded string)

Returns
이용정지 유예 상태에 대해 노출할 메시지 인코딩되어 전달 됨

◆ getPaymentStatus()

PaymentStatus getPaymentStatus ( )

Current payment status.

Returns
현재까지 결제 상태
  • 항상 존재하는게 정상이지만, 내부 조회 실패시 로그인 오류가 아니라 서버로부터 해당 값이 전달되지 않음 (필드명이 JSON 결과에 없음)
  • 이 때는 null 을 리턴.

◆ getReleaseRuleCondition()

ReleaseRuleCondition getReleaseRuleCondition ( )

Payment condition to release ban.

Returns
정상 유저로 변경 되는, 결제 조건
  • 항상 존재하는게 정상이지만, 내부 조회 실패시 로그인 오류가 아니라 서버로부터 해당 값이 전달되지 않음 (필드명이 JSON 결과에 없음)
  • 이 때는 null 을 리턴.

◆ toJsonString()

String toJsonString ( )
inherited
Here is the caller graph for this function:

◆ toPrettyJsonString()

String toPrettyJsonString ( )
inherited

◆ toString()

String toString ( )
inherited

Reimplemented in TransferAccountRenewConfiguration.

Here is the call graph for this function: