Class: default
client/apis/BillingAPI.default
Hierarchy
↳ default
Table of contents
Constructors
Properties
Methods
- getDeveloperExchangeRate
- getLuobuDeveloperExchangeBalance
- getLuobuDeveloperExchangeEligibility
- getLuobuDeveloperExchangeLatestRequestStatus
- getUserPaymentsHistory
- getXsollaIFrameToken
- incrementCounterByAgent
- purchaseAmazonProduct
- purchaseAppleProduct
- purchaseGoogleProduct
- redeemDigitalCode
- redeemGameCard
- redeemPromoCode
- request
- reverseGameCard
- sendXsollaWebhook
- submitDeveloperExchange
- submitLuobuDeveloperExchange
- validateAmazonProduct
- validateAppleProduct
- validateGoogleProduct
Constructors
constructor
+ new default(client
: default): default
Parameters:
Name | Type |
---|---|
client |
default |
Returns: default
Inherited from: default
Defined in: client/apis/BillingAPI.ts:142
Properties
client
• client: default
Inherited from: default.client
Defined in: client/apis/BaseAPI.ts:25
options
• options: BaseAPIOptions
Inherited from: default.options
Defined in: client/apis/BaseAPI.ts:26
Methods
getDeveloperExchangeRate
▸ getDeveloperExchangeRate(): Promise<GetDeveloperExchangeRate>
Returns: Promise<GetDeveloperExchangeRate>
Defined in: client/apis/BillingAPI.ts:150
getLuobuDeveloperExchangeBalance
▸ getLuobuDeveloperExchangeBalance(): Promise<GetLuobuDeveloperExchangeBalance>
Returns: Promise<GetLuobuDeveloperExchangeBalance>
Defined in: client/apis/BillingAPI.ts:174
getLuobuDeveloperExchangeEligibility
▸ getLuobuDeveloperExchangeEligibility(): Promise<GetLuobuDeveloperExchangeEligibility>
Returns: Promise<GetLuobuDeveloperExchangeEligibility>
Defined in: client/apis/BillingAPI.ts:185
getLuobuDeveloperExchangeLatestRequestStatus
▸ getLuobuDeveloperExchangeLatestRequestStatus(): Promise<GetLatestLuobuDeveloperExchangeStatus>
Returns: Promise<GetLatestLuobuDeveloperExchangeStatus>
Defined in: client/apis/BillingAPI.ts:196
getUserPaymentsHistory
▸ getUserPaymentsHistory(options
: GetUserPaymentsOptions): Promise<GetUserPayments>
Parameters:
Name | Type |
---|---|
options |
GetUserPaymentsOptions |
Returns: Promise<GetUserPayments>
Defined in: client/apis/BillingAPI.ts:220
getXsollaIFrameToken
▸ getXsollaIFrameToken(options
: GetXsollaIFrameTokenOptions): Promise<GetXsollaIFrameToken>
Parameters:
Name | Type |
---|---|
options |
GetXsollaIFrameTokenOptions |
Returns: Promise<GetXsollaIFrameToken>
Defined in: client/apis/BillingAPI.ts:362
incrementCounterByAgent
▸ incrementCounterByAgent(options
: IncrementCounterByAgentOptions): Promise<unknown>
Parameters:
Name | Type |
---|---|
options |
IncrementCounterByAgentOptions |
Returns: Promise<unknown>
Defined in: client/apis/BillingAPI.ts:375
purchaseAmazonProduct
▸ purchaseAmazonProduct(options
: PurchaseAmazonProductOptions): Promise<unknown>
Parameters:
Name | Type |
---|---|
options |
PurchaseAmazonProductOptions |
Returns: Promise<unknown>
Defined in: client/apis/BillingAPI.ts:232
purchaseAppleProduct
▸ purchaseAppleProduct(options
: PurchaseAmazonProductOptions): Promise<unknown>
Parameters:
Name | Type |
---|---|
options |
PurchaseAmazonProductOptions |
Returns: Promise<unknown>
Defined in: client/apis/BillingAPI.ts:258
purchaseGoogleProduct
▸ purchaseGoogleProduct(options
: PurchaseGoogleProductOptions): Promise<unknown>
Parameters:
Name | Type |
---|---|
options |
PurchaseGoogleProductOptions |
Returns: Promise<unknown>
Defined in: client/apis/BillingAPI.ts:323
redeemDigitalCode
▸ redeemDigitalCode(options
: RedeemDigitalCodeOptions): Promise<unknown>
Parameters:
Name | Type |
---|---|
options |
RedeemDigitalCodeOptions |
Returns: Promise<unknown>
Defined in: client/apis/BillingAPI.ts:284
redeemGameCard
▸ redeemGameCard(options
: RedeemGameCardOptions): Promise<RedeemGameCard>
Parameters:
Name | Type |
---|---|
options |
RedeemGameCardOptions |
Returns: Promise<RedeemGameCard>
Defined in: client/apis/BillingAPI.ts:297
redeemPromoCode
▸ redeemPromoCode(options
: RedeemPromoCodeOptions): Promise<RedeemPromoCode>
Parameters:
Name | Type |
---|---|
options |
RedeemPromoCodeOptions |
Returns: Promise<RedeemPromoCode>
Defined in: client/apis/BillingAPI.ts:388
request
▸ request(options
: BaseAPIRequestOptions): Promise<RESTResponseDataType>
Parameters:
Name | Type |
---|---|
options |
BaseAPIRequestOptions |
Returns: Promise<RESTResponseDataType>
Inherited from: default
Defined in: client/apis/BaseAPI.ts:33
reverseGameCard
▸ reverseGameCard(options
: ReverseGameCardOptions): Promise<unknown>
Parameters:
Name | Type |
---|---|
options |
ReverseGameCardOptions |
Returns: Promise<unknown>
Defined in: client/apis/BillingAPI.ts:310
sendXsollaWebhook
▸ sendXsollaWebhook(options
: unknown): Promise<unknown>
Parameters:
Name | Type |
---|---|
options |
unknown |
Returns: Promise<unknown>
Defined in: client/apis/BillingAPI.ts:349
submitDeveloperExchange
▸ submitDeveloperExchange(options
: SubmitDeveloperExchangeOptions): Promise<unknown>
Parameters:
Name | Type |
---|---|
options |
SubmitDeveloperExchangeOptions |
Returns: Promise<unknown>
Defined in: client/apis/BillingAPI.ts:161
submitLuobuDeveloperExchange
▸ submitLuobuDeveloperExchange(options
: SubmitLuobuDeveloperExchangeOptions): Promise<unknown>
Parameters:
Name | Type |
---|---|
options |
SubmitLuobuDeveloperExchangeOptions |
Returns: Promise<unknown>
Defined in: client/apis/BillingAPI.ts:207
validateAmazonProduct
▸ validateAmazonProduct(options
: ValidateAmazonProductOptions): Promise<unknown>
Parameters:
Name | Type |
---|---|
options |
ValidateAmazonProductOptions |
Returns: Promise<unknown>
Defined in: client/apis/BillingAPI.ts:245
validateAppleProduct
▸ validateAppleProduct(options
: ValidateAmazonProductOptions): Promise<unknown>
Parameters:
Name | Type |
---|---|
options |
ValidateAmazonProductOptions |
Returns: Promise<unknown>
Defined in: client/apis/BillingAPI.ts:271
validateGoogleProduct
▸ validateGoogleProduct(options
: ValidateAmazonProductOptions): Promise<unknown>
Parameters:
Name | Type |
---|---|
options |
ValidateAmazonProductOptions |
Returns: Promise<unknown>
Defined in: client/apis/BillingAPI.ts:336