UNPKG

@portone/server-sdk

Version:

PortOne JavaScript SDK for server-side usage

45 lines (44 loc) 6.79 kB
import type { Unrecognized } from "../../../utils/unrecognized.js"; import { PlatformError } from "../PlatformError.js"; import type { ForbiddenError } from "../../common/ForbiddenError.js"; import type { InvalidRequestError } from "../../common/InvalidRequestError.js"; import type { PlatformAdditionalFeePoliciesNotFoundError } from "../../platform/transfer/PlatformAdditionalFeePoliciesNotFoundError.js"; import type { PlatformAdditionalFixedAmountFeeCurrencyAndSettlementCurrencyMismatchedError } from "../../platform/transfer/PlatformAdditionalFixedAmountFeeCurrencyAndSettlementCurrencyMismatchedError.js"; import type { PlatformCancelOrderTransfersExistsError } from "../../platform/transfer/PlatformCancelOrderTransfersExistsError.js"; import type { PlatformCancellableAmountExceededError } from "../../platform/transfer/PlatformCancellableAmountExceededError.js"; import type { PlatformCancellableDiscountAmountExceededError } from "../../platform/transfer/PlatformCancellableDiscountAmountExceededError.js"; import type { PlatformCancellableDiscountTaxFreeAmountExceededError } from "../../platform/transfer/PlatformCancellableDiscountTaxFreeAmountExceededError.js"; import type { PlatformCancellableProductQuantityExceededError } from "../../platform/transfer/PlatformCancellableProductQuantityExceededError.js"; import type { PlatformCancellationAndPaymentTypeMismatchedError } from "../../platform/transfer/PlatformCancellationAndPaymentTypeMismatchedError.js"; import type { PlatformCancellationNotFoundError } from "../../platform/transfer/PlatformCancellationNotFoundError.js"; import type { PlatformCannotSpecifyTransferError } from "../../platform/transfer/PlatformCannotSpecifyTransferError.js"; import type { PlatformContractNotFoundError } from "../../platform/PlatformContractNotFoundError.js"; import type { PlatformContractPlatformFixedAmountFeeCurrencyAndSettlementCurrencyMismatchedError } from "../../platform/transfer/PlatformContractPlatformFixedAmountFeeCurrencyAndSettlementCurrencyMismatchedError.js"; import type { PlatformCurrencyNotSupportedError } from "../../platform/PlatformCurrencyNotSupportedError.js"; import type { PlatformDiscountSharePoliciesNotFoundError } from "../../platform/transfer/PlatformDiscountSharePoliciesNotFoundError.js"; import type { PlatformDiscountSharePolicyIdDuplicatedError } from "../../platform/transfer/PlatformDiscountSharePolicyIdDuplicatedError.js"; import type { PlatformNotEnabledError } from "../../platform/PlatformNotEnabledError.js"; import type { PlatformOrderDetailMismatchedError } from "../../platform/transfer/PlatformOrderDetailMismatchedError.js"; import type { PlatformOrderTransferAlreadyCancelledError } from "../../platform/transfer/PlatformOrderTransferAlreadyCancelledError.js"; import type { PlatformPartnerNotFoundError } from "../../platform/PlatformPartnerNotFoundError.js"; import type { PlatformPaymentNotFoundError } from "../../platform/transfer/PlatformPaymentNotFoundError.js"; import type { PlatformProductIdDuplicatedError } from "../../platform/transfer/PlatformProductIdDuplicatedError.js"; import type { PlatformProductIdNotFoundError } from "../../platform/transfer/PlatformProductIdNotFoundError.js"; import type { PlatformSettlementAmountExceededError } from "../../platform/transfer/PlatformSettlementAmountExceededError.js"; import type { PlatformSettlementCancelAmountExceededPortOneCancelError } from "../../platform/transfer/PlatformSettlementCancelAmountExceededPortOneCancelError.js"; import type { PlatformSettlementDateEarlierThanSettlementStartDateError } from "../../platform/transfer/PlatformSettlementDateEarlierThanSettlementStartDateError.js"; import type { PlatformSettlementParameterNotFoundError } from "../../platform/transfer/PlatformSettlementParameterNotFoundError.js"; import type { PlatformSettlementPaymentAmountExceededPortOnePaymentError } from "../../platform/transfer/PlatformSettlementPaymentAmountExceededPortOnePaymentError.js"; import type { PlatformSettlementSupplyWithVatAmountExceededPortOnePaymentError } from "../../platform/transfer/PlatformSettlementSupplyWithVatAmountExceededPortOnePaymentError.js"; import type { PlatformSettlementTaxFreeAmountExceededPortOnePaymentError } from "../../platform/transfer/PlatformSettlementTaxFreeAmountExceededPortOnePaymentError.js"; import type { PlatformTransferAlreadyExistsError } from "../../platform/transfer/PlatformTransferAlreadyExistsError.js"; import type { PlatformTransferDiscountSharePolicyNotFoundError } from "../../platform/transfer/PlatformTransferDiscountSharePolicyNotFoundError.js"; import type { PlatformTransferNonDeletableStatusError } from "../../platform/transfer/PlatformTransferNonDeletableStatusError.js"; import type { PlatformTransferNotFoundError } from "../../platform/transfer/PlatformTransferNotFoundError.js"; import type { PlatformUserDefinedPropertyNotFoundError } from "../../platform/PlatformUserDefinedPropertyNotFoundError.js"; import type { UnauthorizedError } from "../../common/UnauthorizedError.js"; export declare abstract class TransferError extends PlatformError { readonly data: ForbiddenError | InvalidRequestError | PlatformAdditionalFeePoliciesNotFoundError | PlatformAdditionalFixedAmountFeeCurrencyAndSettlementCurrencyMismatchedError | PlatformCancelOrderTransfersExistsError | PlatformCancellableAmountExceededError | PlatformCancellableDiscountAmountExceededError | PlatformCancellableDiscountTaxFreeAmountExceededError | PlatformCancellableProductQuantityExceededError | PlatformCancellationAndPaymentTypeMismatchedError | PlatformCancellationNotFoundError | PlatformCannotSpecifyTransferError | PlatformContractNotFoundError | PlatformContractPlatformFixedAmountFeeCurrencyAndSettlementCurrencyMismatchedError | PlatformCurrencyNotSupportedError | PlatformDiscountSharePoliciesNotFoundError | PlatformDiscountSharePolicyIdDuplicatedError | PlatformNotEnabledError | PlatformOrderDetailMismatchedError | PlatformOrderTransferAlreadyCancelledError | PlatformPartnerNotFoundError | PlatformPaymentNotFoundError | PlatformProductIdDuplicatedError | PlatformProductIdNotFoundError | PlatformSettlementAmountExceededError | PlatformSettlementCancelAmountExceededPortOneCancelError | PlatformSettlementDateEarlierThanSettlementStartDateError | PlatformSettlementParameterNotFoundError | PlatformSettlementPaymentAmountExceededPortOnePaymentError | PlatformSettlementSupplyWithVatAmountExceededPortOnePaymentError | PlatformSettlementTaxFreeAmountExceededPortOnePaymentError | PlatformTransferAlreadyExistsError | PlatformTransferDiscountSharePolicyNotFoundError | PlatformTransferNonDeletableStatusError | PlatformTransferNotFoundError | PlatformUserDefinedPropertyNotFoundError | UnauthorizedError | { readonly type: Unrecognized; }; }