UNPKG

@nativescript/payments

Version:

In-App Purchase and Subscriptions for NativeScript

20 lines (19 loc) 712 B
export declare abstract class BaseFailure { protected _type: FailureTypes | null; protected _description: string; protected _nativeCode: number | null; constructor(errorCode: number | null); get type(): FailureTypes | null; get description(): string; get nativeCode(): number | null; } export declare enum FailureTypes { PRODUCT_UNAVAILABLE = "PRODUCT_UNAVAILABLE", DEVELOPER_USAGE = "DEVELOPER_USAGE", PRODUCT_ALREADY_OWNED = "PRODUCT_ALREADY_OWNED", PRODUCT_NOT_OWNED = "PRODUCT_NOT_OWNED", USER_CANCELLED = "USER_CANCELLED", NETWORK_AVAILABILITY = "NETWORK_AVAILABILITY", BILLING_AVAILABILITY = "BILLING_AVAILABILITY", UNSPECIFIED = "UNSPECIFIED" }