Service Item Protocol - RainMz/NintendoClients GitHub Wiki
NEX Protocols > ServiceItemProtocol (119)
(1) GetEnvironment
Request
Type | Name |
---|---|
String | uniqueId |
Uint8 | platform |
Response
Type | Name |
---|---|
String | str |
(2) HttpGetRequest
Request
Type | Name |
---|---|
ServiceItemHttpGetParam | url |
Response
Type | Name |
---|---|
Uint32 | requestId |
(3) HttpGetResponse
Request
Type | Name |
---|---|
Uint32 | requestId |
Response
Type | Name |
---|---|
ServiceItemHttpGetResponse | response |
(4) PurchaseServiceItemRequest
Request
Type | Name |
---|---|
ServiceItemPurchaseServiceItemParam | purchaseServiceItemParam |
Response
Type | Name |
---|---|
Uint32 | requestId |
(5) PurchaseServiceItemResponse
Request
Type | Name |
---|---|
Uint32 | requestId |
Response
Type | Name |
---|---|
ServiceItemPurchaseServiceItemResponse | purchaseServiceItemResponse |
(6) ListServiceItemRequest
Request
Type | Name |
---|---|
ServiceItemListServiceItemParam | listServiceItemParam |
Response
Type | Name |
---|---|
Uint32 | requestId |
(7) ListServiceItemResponse
Request
Type | Name |
---|---|
Uint32 | requestId |
Response
Type | Name |
---|---|
ServiceItemListServiceItemResponse | listServiceItemResponse |
(8) GetBalanceRequest
Request
Type | Name |
---|---|
ServiceItemGetBalanceParam | getBalanceParam |
Response
Type | Name |
---|---|
Uint32 | requestId |
(9) GetBalanceResponse
Request
Type | Name |
---|---|
Uint32 | requestId |
Response
Type | Name |
---|---|
ServiceItemGetBalanceResponse | getBalanceResponse |
(10) GetPrepurchaseInfoRequest
Request
Type | Name |
---|---|
ServiceItemGetPrepurchaseInfoParam | getPrepurchaseInfoParam |
Response
Type | Name |
---|---|
Uint32 | requestId |
(11) GetPrepurchaseInfoResponse
Request
Type | Name |
---|---|
Uint32 | requestId |
Response
Type | Name |
---|---|
ServiceItemGetPrepurchaseInfoResponse | getPrepurchaseInfoResponse |
(12) GetServiceItemRightRequest
Request
Type | Name |
---|---|
ServiceItemGetServiceItemRightParam | getServiceItemRightParam |
Bool | withoutRightBinary |
Response
Type | Name |
---|---|
Uint32 | requestId |
(13) GetServiceItemRightResponse
Request
Type | Name |
---|---|
Uint32 | requestId |
Response
Type | Name |
---|---|
ServiceItemGetServiceItemRightResponse | getServiceItemRightResponse |
(14) GetPurchaseHistoryRequest
Request
Type | Name |
---|---|
ServiceItemGetPurchaseHistoryParam | getPurchaseHistoryParam |
Response
Type | Name |
---|---|
Uint32 | requestId |
(15) GetPurchaseHistoryResponse
Request
Type | Name |
---|---|
Uint32 | requestId |
Response
Type | Name |
---|---|
ServiceItemGetPurchaseHistoryResponse | getPurchaseHistoryResponse |
(16) PostRightBinaryByAccount
Request
Type | Name |
---|---|
ServiceItemPostRightBinaryByAccountParam | postRightBinaryByAccountParam |
Response
Type | Name |
---|---|
ServiceItemPostRightBinaryResponse | postRightBinaryResponse |
(17) UseServiceItemByAccountRequest
Request
Type | Name |
---|---|
ServiceItemUseServiceItemByAccountParam | useServiceItemByAccountParam |
Response
Type | Name |
---|---|
Uint32 | requestId |
(18) UseServiceItemByAccountResponse
Request
Type | Name |
---|---|
Uint32 | requestId |
Response
Type | Name |
---|---|
ServiceItemUseServiceItemResponse | useServiceItemResponse |
(19) AcquireServiceItemByAccount
Request
Type | Name |
---|---|
ServiceItemAcquireServiceItemByAccountParam | acquireServiceItemByAccountParam |
Response
Type | Name |
---|---|
ServiceItemAcquireServiceItemResponse | acquireServiceItemResponse |
(20) GetSupportId
Request
Type | Name |
---|---|
ServiceItemGetSupportIdParam | getSuppordIdParam |
Response
Type | Name |
---|---|
String | supportId |
(21) GetLawMessageRequest
Request
Type | Name |
---|---|
ServiceItemGetLawMessageParam | getLawMessageParam |
Response
Type | Name |
---|---|
Uint32 | requestId |
(22) GetLawMessageResponse
Request
Type | Name |
---|---|
Uint32 | requestId |
Response
Type | Name |
---|---|
ServiceItemGetLawMessageResponse | getLawMessageResponse |
Types
Structure)
ServiceItemHttpGetParam (Type | Name |
---|---|
String | url |
Structure)
ServiceItemHttpGetResponse (Type | Name |
---|---|
qBuffer | response |
Structure)
ServiceItemEShopResponse (Type | Name |
---|---|
Uint32 | httpStatus |
Uint32 | errorCode |
String | correlationId |
Structure)
ServiceItemAmount (Type | Name |
---|---|
String | formattedAmount |
String | currency |
String | rawValue |
Structure)
ServiceItemPurchaseServiceItemParam (Type | Name |
---|---|
String | itemCode |
String | priceId |
String | referenceId |
String | balance |
String | itemName |
String | ecServiceToken |
String | language |
Uint32 | uniqueId |
Revision 1:
Type | Name |
---|---|
Uint8 | platform |
Structure)
ServiceItemPurchaseInfo (Type | Name |
---|---|
String | transactionId |
String | extTransactionId |
String | itemCode |
ServiceItemAmount | postBalance |
Structure)
ServiceItemPurchaseServiceItemResponse (This structure inherits from ServiceItemEShopResponse |
---|
Type | Name |
---|---|
List<ServiceItemPurchaseInfo> | nullablePurchaseInfo |
Structure)
ServiceItemListServiceItemParam (Type | Name |
---|---|
String | language |
Uint32 | offset |
Uint32 | size |
Bool | isBalanceAvailable |
Uint32 | uniqueId |
Revision 1:
Type | Name |
---|---|
Uint8 | platform |
Structure)
ServiceItemLimitation (Type | Name |
---|---|
Uint32 | limitationType |
Uint32 | limitationValue |
Structure)
ServiceItemAttribute (Type | Name |
---|---|
String | name |
String | value |
Structure)
ServiceItemListItem (Type | Name |
---|---|
String | itemCode |
ServiceItemAmount | regularPrice |
Bool | taxExcluded |
Bool | initialPurchaseOnly |
ServiceItemLimitation | limitation |
List<ServiceItemAttribute> | attributes |
Structure)
ServiceItemCatalog (Type | Name |
---|---|
Uint32 | totalSize |
Uint32 | offset |
List<ServiceItemListItem> | listItems |
Bool | isBalanceAvailable |
ServiceItemAmount | balance |
Structure)
ServiceItemListServiceItemResponse (This structure inherits from ServiceItemEShopResponse |
---|
Type | Name |
---|---|
List<ServiceItemCatalog> | nullableCatalog |
Structure)
ServiceItemGetBalanceParam (Type | Name |
---|---|
String | language |
Uint32 | uniqueId |
Revision 1:
Type | Name |
---|---|
Uint8 | platform |
Structure)
ServiceItemGetBalanceResponse (This structure inherits from ServiceItemEShopResponse |
---|
Type | Name |
---|---|
List<ServiceItemAmount> | nullableBalance |
Structure)
ServiceItemGetPrepurchaseInfoParam (Type | Name |
---|---|
String | itemCode |
String | referenceId |
ServiceItemLimitation | limitation |
String | language |
Uint32 | uniqueId |
Revision 1:
Type | Name |
---|---|
Uint8 | platform |
Structure)
ServiceItemPrepurchaseRightInfo (Type | Name |
---|---|
Uint32 | limitationType |
Uint32 | acquiredCount |
Uint32 | usedCount |
Uint32 | expiryDate |
Uint32 | expiredCount |
List<Uint32> | expiryCounts |
Structure)
ServiceItemPrepurchaseInfo (Type | Name |
---|---|
String | itemCode |
String | priceId |
ServiceItemAmount | regularPrice |
Bool | isTaxAvailable |
ServiceItemAmount | taxAmount |
ServiceItemAmount | totalAmount |
ServiceItemAmount | currentBalance |
ServiceItemAmount | postBalance |
ServiceItemPrepurchaseRightInfo | currentRightInfo |
ServiceItemPrepurchaseRightInfo | postRightInfo |
Structure)
ServiceItemGetPrepurchaseInfoResponse (This structure inherits from ServiceItemEShopResponse |
---|
Type | Name |
---|---|
List<ServiceItemPrepurchaseInfo> | nullablePrepurchaseInfo |
Structure)
ServiceItemGetServiceItemRightParam (Type | Name |
---|---|
String | referenceId |
String | deviceId |
Uint32 | uniqueId |
Uint8 | itemGroup |
Revision 1:
Type | Name |
---|---|
Uint8 | platform |
Structure)
ServiceItemRightBinary (Type | Name |
---|---|
Uint8 | useType |
qBuffer | rightBinary |
Structure)
ServiceItemAccountRight (Type | Name |
---|---|
PID | pid |
ServiceItemLimitation | limitation |
List<ServiceItemRightBinary> | rightBinaries |
Structure)
ServiceItemAccountRightTime (This structure inherits from ServiceItemAccountRight |
---|
This structure does not contain any fields.
Structure)
ServiceItemAccountRightConsumption (This structure inherits from ServiceItemAccountRight |
---|
Type | Name |
---|---|
Uint32 | usedCount |
Uint32 | expiredCount |
List<Uint32> | expiryCounts |
Structure)
ServiceItemRightInfo (Type | Name |
---|---|
String | referenceId |
Uint32 | referenceIdType |
Structure)
ServiceItemRightTimeInfo (This structure inherits from ServiceItemRightInfo |
---|
Type | Name |
---|---|
List<ServiceItemAccountRightTime> | accountRights |
Structure)
ServiceItemRightConsumptionInfo (This structure inherits from ServiceItemRightInfo |
---|
Type | Name |
---|---|
List<ServiceItemAccountRightConsumption> | accountRights |
Structure)
ServiceItemRightInfos (Type | Name |
---|---|
String | supportId |
List<ServiceItemRightConsumptionInfo> | consumptionRightInfos |
List<ServiceItemRightTimeInfo> | additionalTimeRightInfos |
List<ServiceItemRightTimeInfo> | permanentRightInfos |
Bool | alreadyPurchasedInitialOnlyItem |
Structure)
ServiceItemGetServiceItemRightResponse (This structure inherits from ServiceItemEShopResponse |
---|
Type | Name |
---|---|
List<ServiceItemRightInfos> | nullableRightInfos |
Structure)
ServiceItemGetPurchaseHistoryParam (Type | Name |
---|---|
String | language |
Uint32 | offset |
Uint32 | size |
Uint32 | uniqueId |
Revision 1:
Type | Name |
---|---|
Uint8 | platform |
Structure)
ServiceItemTransaction (Type | Name |
---|---|
String | transactionId |
String | extTransactionId |
DateTime | time |
Uint32 | transactionType |
String | transactionDescription |
ServiceItemAmount | transactionAmount |
String | itemCode |
String | referenceId |
ServiceItemLimitation | limitation |
Structure)
ServiceItemPurchaseHistory (Type | Name |
---|---|
Uint32 | totalSize |
Uint32 | offset |
List<ServiceItemTransaction> | transactions |
Structure)
ServiceItemGetPurchaseHistoryResponse (This structure inherits from ServiceItemEShopResponse |
---|
Type | Name |
---|---|
List<ServiceItemPurchaseHistory> | nullablePurchaseHistory |
Structure)
ServiceItemLawMessage (Type | Name |
---|---|
Bool | isMessageRequired |
String | lawMessage |
Structure)
ServiceItemGetLawMessageParam (Type | Name |
---|---|
String | language |
Uint32 | uniqueId |
Revision 1:
Type | Name |
---|---|
Uint8 | platform |
Structure)
ServiceItemGetLawMessageResponse (This structure inherits from ServiceItemEShopResponse |
---|
Type | Name |
---|---|
List<ServiceItemLawMessage> | nullableLawMessage |
Structure)
ServiceItemPostRightBinaryByAccountParam (Type | Name |
---|---|
String | referenceId |
Uint8 | useType |
qBuffer | rightBinary |
String | logMessage |
Uint32 | uniqueId |
Revision 1:
Type | Name |
---|---|
Uint8 | platform |
Structure)
ServiceItemPostRightBinaryResponse (This structure inherits from ServiceItemEShopResponse |
---|
This structure does not contain any fields.
Structure)
ServiceItemUseServiceItemByAccountParam (Type | Name |
---|---|
String | referenceIdForUse |
String | referenceIdForRightBinary |
Uint8 | useType |
Uint8 | useNumber |
qBuffer | rightBinary |
String | logMessage |
Uint32 | uniqueId |
Revision 1:
Type | Name |
---|---|
Uint8 | platform |
Structure)
ServiceItemUsedInfo (Type | Name |
---|---|
Uint32 | acquiredCount |
Uint32 | usedCount |
Structure)
ServiceItemUseServiceItemResponse (This structure inherits from ServiceItemEShopResponse |
---|
Type | Name |
---|---|
List<ServiceItemUsedInfo> | nullableUsedInfo |
Structure)
ServiceItemAcquireServiceItemByAccountParam (Type | Name |
---|---|
String | referenceIdForAcquisition |
String | referenceIdForRightBinary |
Uint8 | useType |
Uint32 | limitationType |
Uint32 | limitationValue |
qBuffer | rightBinary |
String | logMessage |
Uint32 | uniqueId |
Revision 1:
Type | Name |
---|---|
Uint8 | platform |
Structure)
ServiceItemAcquireServiceItemResponse (Type | Name |
---|---|
Uint32 | limitationType |
Uint32 | acquiredCount |
Uint32 | usedCount |
Uint32 | expiryDate |
Uint32 | expiredCount |
List<Uint32> | expiryCounts |
Structure)
ServiceItemGetSupportIdParam (Type | Name |
---|---|
Uint32 | uniqueId |
Revision 1:
Type | Name |
---|---|
Uint8 | platform |
Structure)
ServiceItemGetNoticeParam (Type | Name |
---|---|
Uint32 | scheduleType |
Structure)
ServiceItemNotice (Type | Name |
---|---|
Uint64 | scheduleId |
Uint32 | scheduleType |
Sint32 | paramInt |
String | paramString |
qBuffer | paramBinary |
DateTime | timeBegin |
DateTime | timeEnd |
Structure)
ServiceItemUserInfo (Type | Name |
---|---|
qBuffer | applicationBuffer |