|
Promise< Unit > | Initialize () |
|
string | GetLocalizedPrice (string purchaseSymbol) |
| Fetches the localized string from the provider - Parameters
-
purchaseSymbol | The purchase symbol for the item. This will end up being the skuSymbol for the offer. |
More...
|
|
void | startPurchase (string listingSymbol, string skuSymbol, Action< CompletedTransaction > success, Action< ErrorCode > fail, Action cancelled) |
| Start the Purchase process This makes a call to platform to start the transaction process. Then it passes off to provider to do the purchase. Note: This method will always assume success in the Unity Editor with NO actual payment occuring. More...
|
|
Promise< CompletedTransaction > | StartPurchase (string listingSymbol, string skuSymbol) |
|
◆ GetLocalizedPrice()
string Core.Platform.SDK.Payments.PaymentDelegate.GetLocalizedPrice |
( |
string |
purchaseSymbol | ) |
|
Fetches the localized string from the provider
- Parameters
-
purchaseSymbol | The purchase symbol for the item. This will end up being the skuSymbol for the offer. |
◆ startPurchase()
void Core.Platform.SDK.Payments.PaymentDelegate.startPurchase |
( |
string |
listingSymbol, |
|
|
string |
skuSymbol, |
|
|
Action< CompletedTransaction > |
success, |
|
|
Action< ErrorCode > |
fail, |
|
|
Action |
cancelled |
|
) |
| |
Start the Purchase process This makes a call to platform to start the transaction process. Then it passes off to provider to do the purchase. Note: This method will always assume success in the Unity Editor with NO actual payment occuring.
- Parameters
-
listingSymbol | Symbol of the listing the offer is a part of. |
skuSymbol | The SKU we should use as the price for the offer. |
success | Action to take if the payment is successful. |
fail | Action to take if the payment fails. |
cancelled | Action to take if the payment is cancelled. |
DEPRECATED: Use StartPurchase
The documentation for this interface was generated from the following file:
- client/Packages/com.disruptorbeam.engine/Runtime/Core/Platform/SDK/Payments/PaymentDelegate.cs