"""
PaymentSkill Package - WebAgents V2.0

Payment processing and billing skill for WebAgents platform.
Validates payment tokens, calculates costs, and charges on connection finalization.
Based on webagents_v1 implementation patterns.
"""

from .skill import PaymentSkill, PaymentContext, PricingInfo, pricing
from .exceptions import (
    PaymentError,
    PaymentTokenRequiredError,
    PaymentTokenInvalidError,
    InsufficientBalanceError,
    PaymentChargingError,
    PaymentPlatformUnavailableError,
    PaymentConfigurationError,
    # Legacy compatibility
    PaymentValidationError,
    PaymentRequiredError
)

__all__ = [
    # Main classes
    "PaymentSkill", 
    "PaymentContext",
    # Pricing decorators
    "PricingInfo",
    "pricing",
    # New comprehensive error hierarchy
    "PaymentError",
    "PaymentTokenRequiredError",
    "PaymentTokenInvalidError",
    "InsufficientBalanceError",
    "PaymentChargingError",
    "PaymentPlatformUnavailableError",
    "PaymentConfigurationError",
    # Legacy compatibility
    "PaymentValidationError",
    "PaymentRequiredError"
]
