# Generated by ariadne-codegen
# Source: metasrht/graphql/

from typing import Optional

from .base_model import BaseModel
from .enums import PaymentIntentStatus


class GetPaymentOutcome(BaseModel):
    me: "GetPaymentOutcomeMe"


class GetPaymentOutcomeMe(BaseModel):
    subscription: Optional["GetPaymentOutcomeMeSubscription"]


class GetPaymentOutcomeMeSubscription(BaseModel):
    payment: "GetPaymentOutcomeMeSubscriptionPayment"


class GetPaymentOutcomeMeSubscriptionPayment(BaseModel):
    status: PaymentIntentStatus
    error: Optional[str]


GetPaymentOutcome.model_rebuild()
GetPaymentOutcomeMe.model_rebuild()
GetPaymentOutcomeMeSubscription.model_rebuild()
