API/Autodoc/Classes/RuStore.PayClient.RuStorePaymentException.ProductPurchaseCancelled.en.md


RuStore::PayClient::RuStorePaymentException::ProductPurchaseCancelled

The product purchase was cancelled (the user closed the payment sheet).

Inherits from RuStore.PayClient.RuStorePaymentException, RuStoreError

Public Functions

Name
ProductPurchaseCancelled(string name, string description, RuStoreError? cause, ProductType? productType, PurchaseId? purchaseId, PurchaseType? purchaseType)
Constructor.

Public Properties

Name
PurchaseId? purchaseId — Purchase identifier (optional parameter).

Additional inherited members

Public Classes inherited from RuStore.PayClient.RuStorePaymentException

Name
class ApplicationSchemeWasNotProvided — Application scheme was not provided.
class EmptyPaymentTokenException — Error obtaining payment token.
class InvalidCardBindingIdException — Error paying with saved card.
class ProductPurchaseCancelled — The product purchase was cancelled (the user closed the payment sheet).
class ProductPurchaseException — Product purchase error (cannot set purchase status).
class RuStorePayClientAlreadyExist — Error of repeated SDK initialization.
class RuStorePayClientNotCreated — Attempt to access public interfaces of the SDK before its initialization.
class RuStorePayInvalidActivePurchase — Payment process of unknown product type has been started.
class RuStorePayInvalidConsoleAppId — Required parameter console_app_id_value for SDK initialization is not set.
class RuStorePaymentCommonException — General SDK error.
class RuStorePaymentNetworkException — SDK network interaction error.
class RuStorePaySignatureException — Invalid response signature (occurs when attempting fraudulent actions).

Public Functions inherited from RuStore.PayClient.RuStorePaymentException

Name
RuStorePaymentException(string name, string description, RuStoreError? cause)
Constructor.

Public Properties inherited from RuStore.PayClient.RuStorePaymentException

Name
? RuStoreError cause — Error information.

function ProductPurchaseCancelled

ProductPurchaseCancelled(
    string name,
    string description,
    RuStoreError? cause,
    ProductType? productType,
    PurchaseId? purchaseId,
    PurchaseType? purchaseType
)

Constructor.

Parameters:

  • name Error name.
  • description Error message.
  • cause Error information.
  • productType Product type.
  • purchaseId Purchase identifier (optional parameter).
  • purchaseType Purchase type (optional parameter).

property productType

ProductType? productType;

Product type.

property purchaseId

PurchaseId? purchaseId;

Purchase identifier (optional parameter).

property purchaseType

PurchaseType? purchaseType;

Purchase type (optional parameter).


Назад