'Tizen::TV::Service::Billing::BillingPlugin' class Reference
Events
BillingClientClosedEventHandler BuyItemEventHandler
The billing transaction event handler, which can be added/removed. More...
BillingRequestAPICallbackEventHandler RequestAPIEventHandler
The billing request API event handler, which can be added/removed. More...
BillingShowDeepLinkCallbackEventHandler ShowDeepLinkEventHandler
The billing deep-link feature event handler, which can be added/removed. More...
Public Functions
string GetVersion ( )
Gets the Billing CS plugin version. More...
bool BuyItem ( string appId, BillingRequestServerType serverType, string payDetail )
Launches the billing client. More...
bool IsServiceAvailable ( BillingRequestServerType eServerType )
Gets the payment service availability. More...
bool GetPurchaseList ( string strAppId, string strCustomId, string strCountryCode, int iPageNumber, string strCheckValue, BillingRequestServerType eServerType )
'Get Purchase List' server open API interface. More...
bool ShowPurchaseHistory ( string strHistoryApp, BillingRequestPurchaseHistoryType eHistoryDetail )
A billing client deep-link feature. Launches the billing client's purchaseHistory page. More...
bool ShowRegisterPromotionalCode ( )
A billing client deep-link feature. Launches the billing client's promotional codes page. More...
bool ShowRegisterCreditCard ( )
A billing client deep-link feature. Launch the billing client's credit card registration page. More...
bool CancelSubscription ( string strAppId, string strCustomId, string strInvoiceId, string strCountryCode, BillingRequestServerType eServerType )
The 'Cancel Subscription' server open API interface. More...
bool ApplyInvoice ( string strAppId, string strCustomId, string strInvoiceId, string strCountryCode, BillingRequestServerType eServerType )
The 'ApplyInvoice' server open API Interface. More...
bool VerifyInvoice ( string strAppId, string strCustomId, string strInvoiceId, string strCountryCode, BillingRequestServerType eServerType )
The 'VerifyInvoice' server open API interface. More...
bool GetProductsList ( string strAppId, string strCountryCode, int iPageSize, int iPageNumber, string strCheckValue, BillingRequestServerType eServerType )
The 'Request Product list' server open API interface. More...
Events
BillingClientClosedEventHandler BuyItemEventHandler
The billing transaction event handler, which can be added/removed.
Privilege
http://developer.samsung.com/privilege/billing
Privilege Level
Public
Product
TV
Version
4.4.0
SDK Support
N
BillingRequestAPICallbackEventHandler RequestAPIEventHandler
The billing request API event handler, which can be added/removed.
Privilege
http://developer.samsung.com/privilege/billing
Privilege Level
Public
Product
TV
Version
4.4.0
SDK Support
N
BillingShowDeepLinkCallbackEventHandler ShowDeepLinkEventHandler
The billing deep-link feature event handler, which can be added/removed.
Privilege
http://developer.samsung.com/privilege/billing
Privilege Level
Public
Product
TV
Deprecated
Deprecated since 5.5.0.
Version
4.4.0
SDK Support
N
Public Functions
string GetVersion()
Gets the Billing CS plugin version.
Returns
Billing CS plugin version string value.
Privilege
http://developer.samsung.com/privilege/billing
Privilege Level
Public
Legal Review Result
This api is already posted at SD
Product
TV
Version
4.4.0
SDK Support
N
bool BuyItem(string appId, BillingRequestServerType serverType, string payDetail)
Launches the billing client.
Parameters
- appId : The application ID.
- serverType : The payment server type.
- payDetail : The detailed payment information.
Returns
A boolean value. Returns true if the Billing client is launched.
Privilege
http://developer.samsung.com/privilege/billing
Privilege Level
Public
Legal Review Result
This api is already posted at SD
Product
TV
Version
4.4.0
SDK Support
N
bool IsServiceAvailable(BillingRequestServerType eServerType)
Gets the payment service availability.
Parameters
- eServerType : The billing server type to check.
Returns
A boolean value. Returns true if this API is called successfully.
Privilege
http://developer.samsung.com/privilege/billing
Privilege Level
Public
Legal Review Result
This api is already posted at SD
Product
TV
Version
4.4.0
SDK Support
N
bool GetPurchaseList(string strAppId, string strCustomId, string strCountryCode, int iPageNumber, string strCheckValue, BillingRequestServerType eServerType)
'Get Purchase List' server open API interface.
Parameters
- strAppId : The application ID.
- strCustomId : Unique Customer ID which can be used to identify the user.
- strCountryCode : The country code, such as "US".
- iPageNumber : The page number.
- strCheckValue : The security hash code. For more information, see the API guide documentation.
- eServerType : The request server type. For more information, see the API guide documentation.
Returns
A boolean value. Returns true if this API is called successfully.
Privilege
http://developer.samsung.com/privilege/billing
Privilege Level
Public
Legal Review Result
This api is already posted at SD
Product
TV
Version
4.4.0
SDK Support
N
bool ShowPurchaseHistory(string strHistoryApp, BillingRequestPurchaseHistoryType eHistoryDetail)
A billing client deep-link feature. Launches the billing client's purchaseHistory page.
Parameters
- strHistoryApp : The application ID to view the payment history for. To view the payment history for all applications, use the string "ALL".
- eHistoryDetail : The requested payment history data type. For more information, see the API guide documentation.
Returns
A boolean value. Returns true if this API is called successfully.
Privilege
http://developer.samsung.com/privilege/billing
Privilege Level
Public
Legal Review Result
This api is already posted at SD
Product
TV
Deprecated
Deprecated since 5.5.0.
Version
4.4.0
SDK Support
N
bool ShowRegisterPromotionalCode()
A billing client deep-link feature. Launches the billing client's promotional codes page.
Returns
A boolean value. Returns true if this API is called successfully.
Privilege
http://developer.samsung.com/privilege/billing
Privilege Level
Public
Legal Review Result
This api is already posted at SD
Product
TV
Deprecated
Deprecated since 5.5.0.
Version
4.4.0
SDK Support
N
bool ShowRegisterCreditCard()
A billing client deep-link feature. Launch the billing client's credit card registration page.
Returns
A boolean value. Returns true if this API is called successfully.
Privilege
http://developer.samsung.com/privilege/billing
Privilege Level
Public
Legal Review Result
This api is already posted at SD
Product
TV
Deprecated
Deprecated since 5.5.0.
Version
4.4.0
SDK Support
N
bool CancelSubscription(string strAppId, string strCustomId, string strInvoiceId, string strCountryCode, BillingRequestServerType eServerType)
The 'Cancel Subscription' server open API interface.
Parameters
- strAppId : The application ID.
- strCustomId : Unique Customer ID which can be used to identify the user.
- strInvoiceId : The invoice ID for which the subscription is to be cancelled.
- strCountryCode : The country code, such as "US".
- eServerType : The request server type. For more information, see the API guide documentation.
Returns
A boolean value. Returns true if this API is called successfully.
Privilege
http://developer.samsung.com/privilege/billing
Privilege Level
Public
Legal Review Result
This api is already posted at SD
Product
TV
Version
4.4.0
SDK Support
N
bool ApplyInvoice(string strAppId, string strCustomId, string strInvoiceId, string strCountryCode, BillingRequestServerType eServerType)
The 'ApplyInvoice' server open API Interface.
Parameters
- strAppId : The application ID.
- strCustomId : Unique Customer ID which can be used to identify the user.
- strInvoiceId : The invoice ID to set the invoice status to "apply".
- strCountryCode : The country code, such as "US".
- eServerType : The request server type. For more information, see the API guide documentation.
Returns
A boolean value. Returns true if this API is called successfully.
Privilege
http://developer.samsung.com/privilege/billing
Privilege Level
Public
Legal Review Result
This api is already posted at SD
Product
TV
Version
4.4.0
SDK Support
N
bool VerifyInvoice(string strAppId, string strCustomId, string strInvoiceId, string strCountryCode, BillingRequestServerType eServerType)
The 'VerifyInvoice' server open API interface.
Parameters
- strAppId : The application ID.
- strCustomId : Unique Customer ID which can be used to identify the user.
- strInvoiceId : The invoice ID whose status is to be checked.
- strCountryCode : The country code, such as "US".
- eServerType : The request server type. For more information, see the API guide documentation.
Returns
A boolean value. Returns true if this API is called successfully.
Privilege
http://developer.samsung.com/privilege/billing
Privilege Level
Public
Legal Review Result
This api is already posted at SD
Product
TV
Version
4.4.0
SDK Support
N
bool GetProductsList(string strAppId, string strCountryCode, int iPageSize, int iPageNumber, string strCheckValue, BillingRequestServerType eServerType)
The 'Request Product list' server open API interface.
Parameters
- strAppId : The application ID.
- strCountryCode : The country code, such as "US".
- iPageSize : The number of products to show on each page.
- iPageNumber : The page number.
- strCheckValue : The security hash code. For more information, see the API guide documentation.
- eServerType : The request server type. For more information, see the API guide documentation.
Returns
A boolean value. Returns true if this API is called successfully.
Privilege
http://developer.samsung.com/privilege/billing
Privilege Level
Public
Legal Review Result
This api is already posted at SD
Product
TV
Version
4.4.0
SDK Support
N