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 — The application scheme is not specified.
class EmptyPaymentTokenException — Error obtaining payment token.
class InvalidCardBindingIdException — Error paying with a saved card.
class ProductPurchaseCancelled — The product purchase was cancelled (the user closed the payment sheet).
class ProductPurchaseException — Error purchasing a product (unable to set the purchase status).
class RuStorePayClientAlreadyExist — Error re-initializing the SDK.
class RuStorePayClientNotCreated — Attempt to access the SDK public interfaces before its initialization.
class RuStorePayInvalidActivePurchase — A payment process for an unknown product type has been started.
class RuStorePayInvalidConsoleAppId — Required parameter console_app_id_value is not specified for SDK initialization.
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).


Назад