IAPV4

object IAPV4

Hive IAP 는 마켓별 구매 프로세스의 개발 비용을 최소화 할 수 있고 구매 로그를 일관성 있게 수집하여 사업, 개발, 관리 부서에 필요한 정보를 제공할 수 있다.
Hive IAP can minimize the development costs of the market-specific purchase process and collect purchase logs consistently to provide information to business, development, and management departments.


korean

현재 Hive IAP 가 제공하는 결제 마켓은 애플 앱스토어, 구글 플레이스토어, 원스토어, 삼성 갤럭시스토어, 아마존 앱스토어, 페이스북 클라우드 게임, 화웨이 앱커넥트, PG, Steam, Hive 러비(Lebi) 를 제공한다.
Hive 러비(Lebi) 상점은 중국 시장에서 상점을 구성하고 상품을 구매 할 수 있는 시스템으로서 Hive 에서 자체적으로 운영하고 있다.


english

Currently, Hive IAP supports Apple AppStore, Google PlayStore, ONEStore, Samsung GalaxyStore, Amazon AppStore, Facebook Cloud Games, Huawei AppConnect, PG, Steam and Hive Lebi.
Hive Lebi store is a system that can organize stores and purchase goods in Chinese market. It is operated by Hive itself.

Since

v4.4.0

Author

imsunghoon

Types

Link copied to clipboard

Hive 러비 상점일 경우 잔액 확인 결과 통지
Hive Lebi Balance request result callback, if it is a Rebi store.

Link copied to clipboard

Hive IAPV4 에서 마켓의 구성을 위한 정보 조회 결과 통지
Hive IAPV4 Market information request result callback

Link copied to clipboard
class IAPV4Product : DataModel

Hive IAP 백오피스에서 생성한 상품 정보
Product information created by Hive IAP back office

Link copied to clipboard

Hive IAPV4 상품 정보 조회 결과 통지
Hive IAPV4 Product Information request callback

Link copied to clipboard

상품 결제 시도 결과 통지
Purchase request result callback

Link copied to clipboard
Link copied to clipboard
abstract class IAPV4Receipt(val type: IAPV4.IAPV4Type, val product: IAPV4.IAPV4Product, val receiptLevel: Int) : DataModel

purchaserestore API 에서 받을 수 있는 결과 정보
Result information that can be received from the purchase or restore API

Link copied to clipboard

Hive IAPV4 상품에 대한 미지급된 아이템 지급을 요청 결과 통지
Hive IAPV4 Restore request result callback

Link copied to clipboard

Hive IAP v4에서 상품에 대한 지급 완료 후 결제 트랜잭션을 종료하기 위한 요청 결과 통지
Hive IAP v4 Transaction Finish request result callback

Link copied to clipboard

Hive IAP v4에서 상품에 대한 지급 완료 후 복수 개의 결제 트랜잭션을 종료하기 위한 요청 결과 통지
Hive IAP v4 Multiple Transaction Finish request result callback

Link copied to clipboard

결제 마켓 형태
IAPV4 Type

Functions

Link copied to clipboard

Returns the Hive account ID converted to a UUID version 3. return null, if not logged in.

Link copied to clipboard

러비 상점일 경우 잔액 정보 조회.
It request Lebi balance information.

Link copied to clipboard

Hive IAPV4 에서 마켓 상품의 구성을 위한 정보를 조회할 수 있다.
Hive IAPV4 It returns information for composition of the market product.

Link copied to clipboard

Hive IAPV4 에서 상품의 구성을 위한 정보를 조회할 수 있다.
Hive IAPV4 It returns information for composition of the product.

Link copied to clipboard

Hive IAPV4 에서 구독형 상품의 구성을 위한 정보를 조회할 수 있다.
Hive IAPV4 It returns information for composition of the product.

Link copied to clipboard

IAPV4 결재 API 초기화 요청
IAPV4 It initialize IAPV4 Purchase module.

Link copied to clipboard
fun purchase(marketPid: String, iapPayload: String?, listener: IAPV4.IAPV4PurchaseListener)

App Store, Google Store 등 에 등록된 마켓 상품(marketPid)의 구매를 요청 한다.
Request purchase of market product (marketPid) registered in App Store, Google Store, etc.

Link copied to clipboard

App Store, Google Store 등 에 등록된 마켓 상품(marketPid)의 구매를 요청 한다.
Request purchase of market product (marketPid) registered in App Store, Google Store, etc.

Link copied to clipboard
fun purchaseSubscriptionUpdate(marketPid: String, oldMarketPid: String?, iapPayload: String?, listener: IAPV4.IAPV4PurchaseListener)

App Store, Google Store 등 에 등록된 마켓 상품(marketPid)의 구매를 요청 한다.
Request purchase of market product (marketPid) registered in App Store, Google Store, etc.

Link copied to clipboard

Hive IAPV4 상품에 대한 미지급된 아이템 지급을 요청한다.
Hive IAPV4 It restore the item that has not been delivered.

Link copied to clipboard

Hive IAPV4 상품에 대한 미지급된 구독 상품 지급을 요청한다.
Hive IAPV4 It restore the subscription item that has not been delivered.

Link copied to clipboard
Link copied to clipboard

러비 충전 페이지 노출
It shows Lebi refill page.

Link copied to clipboard
fun showInAppMessages(categoryId: Int, listener: (Int) -> Unit? = null)

Google In-App Offers

Link copied to clipboard

러비 상점이나 구글 상점을 선택하기 위한 창을 띄운다.
It shows a UI to select a Lebi store or a Google store.

Link copied to clipboard

Hive IAP v4에서 지급이 완료된 상품에 대한 구매 영수증에 대한 트랜잭션 완료 처리를 요청한다.
Hive IAP v4 It requests the transaction completion processing for the purchase receipt of the item that have been delivered.

Link copied to clipboard

Hive IAP v4에서 지급이 완료된 상품에 대한 구매 영수증에 대한 복수 개의 트랜잭션 완료 처리를 요청한다.
Hive IAP v4 It requests the multiple transaction completion processing for the purchase receipt of the item that have been delivered.

Link copied to clipboard

SDK 내부 호출 함수 로그를 별게로 관리한다.