API/Autodoc/Classes/RuStorePaymentResult.en.md
RuStorePaymentResult
class RuStorePaymentResult extends RefCounted
Parent class for purchase results.
class Success extends RuStorePaymentResult:
Result of a successful digital product purchase.
Properties
| var | orderId = null Unique payment identifier generated by the application (optional parameter). If you specify this parameter in your system, you will receive it in the response when working with the API. If not specified, it will be generated automatically (uuid). Maximum length 150 characters. |
|
| var | purchaseId: String = "" Purchase identifier. |
|
| var | productId: String = "" Product identifier assigned to the product in the RuStore console. |
|
| var | invoiceId: String = "" Invoice identifier. |
|
| var | subscriptionToken = null Token for purchase validation on the server. |
|
| var | sandbox: bool = false Determines whether the payment is a test payment. Values can be true or false, where true indicates a test payment, and false indicates a real payment. |
class Cancelled extends RuStorePaymentResult:
The purchase request was sent, but the user closed the payment sheet on their device, and the payment result is unknown.
Properties
| var | purchaseId: String Purchase identifier. |
|
| var | sandbox: bool = false Determines whether the payment is a test payment. Values can be true or false, where true indicates a test payment, and false indicates a real payment. |
class Failure extends RuStorePaymentResult:
A problem occurred when sending the payment request or receiving the payment status, the purchase status cannot be determined.
Properties
| var | purchaseId = null Purchase identifier. |
|
| var | invoiceId = null Invoice identifier. |
|
| var | orderId = null Unique payment identifier generated by the application (optional parameter). If you specify this parameter in your system, you will receive it in the response when working with the API. If not specified, it will be generated automatically (uuid). Maximum length 150 characters. |
|
| var | quantity = null Product quantity (optional parameter). |
|
| var | productId = null Product identifier assigned to the product in the RuStore console. |
|
| var | errorCode = null Error code. |
|
| var | sandbox: bool = false Determines whether the payment is a test payment. Values can be true or false, where true indicates a test payment, and false indicates a real payment. |
class InvalidPaymentState extends RuStorePaymentResult:
Payment SDK error. May occur in case of an incorrect reverse deeplink.
- Страницы
- ERuStoreProductStatus.en
- ERuStoreProductStatus
- ERuStoreProductType.en
- ERuStoreProductType
- ERuStorePurchaseState.en
- ERuStorePurchaseState
- ERuStoreTheme.en
- ERuStoreTheme
- RuStoreBillingUserAuthorizationStatus.en
- RuStoreBillingUserAuthorizationStatus
- RuStoreError.en
- RuStoreError
- RuStoreFeatureAvailabilityResult.en
- RuStoreFeatureAvailabilityResult
- RuStoreGodotBillingClient.en
- RuStoreGodotBillingClient
- RuStoreGodotCoreUtils.en
- RuStoreGodotCoreUtils
- RuStorePaymentResult.en
- RuStorePaymentResult
- RuStoreProduct.en
- RuStoreProduct
- RuStoreProductSubscription.en
- RuStoreProductSubscription
- RuStorePurchase.en
- RuStorePurchase
- RuStorePurchaseAvailabilityResult.en
- RuStorePurchaseAvailabilityResult
- RuStoreSubscriptionPeriod.en
- RuStoreSubscriptionPeriod
- ERuStoreProductStatus.en
- ERuStoreProductStatus
- ERuStoreProductType.en
- ERuStoreProductType
- ERuStorePurchaseState.en
- ERuStorePurchaseState
- ERuStoreTheme.en
- ERuStoreTheme
- RuStoreBillingUserAuthorizationStatus.en
- RuStoreBillingUserAuthorizationStatus
- RuStoreError.en
- RuStoreError
- RuStoreFeatureAvailabilityResult.en
- RuStoreFeatureAvailabilityResult
- RuStoreGodotBillingClient.en
- RuStoreGodotBillingClient
- RuStoreGodotCoreUtils.en
- RuStoreGodotCoreUtils
- RuStorePaymentResult.en
- RuStorePaymentResult
- RuStoreProduct.en
- RuStoreProduct
- RuStoreProductSubscription.en
- RuStoreProductSubscription
- RuStorePurchase.en
- RuStorePurchase
- RuStorePurchaseAvailabilityResult.en
- RuStorePurchaseAvailabilityResult
- RuStoreSubscriptionPeriod.en
- RuStoreSubscriptionPeriod