# @generated by generate_proto_mypy_stubs.py.  Do not edit!
import sys
from .fiat_amount_pb2 import (
    FiatAmount as fiat_amount_pb2___FiatAmount,
)

from google.protobuf.descriptor import (
    Descriptor as google___protobuf___descriptor___Descriptor,
)

from google.protobuf.message import (
    Message as google___protobuf___message___Message,
)

from typing import (
    Optional as typing___Optional,
    Text as typing___Text,
    Union as typing___Union,
)

from typing_extensions import (
    Literal as typing_extensions___Literal,
)

from .xrp_amount_pb2 import (
    XRPAmount as xrp_amount_pb2___XRPAmount,
)


builtin___bool = bool
builtin___bytes = bytes
builtin___float = float
builtin___int = int
if sys.version_info < (3,):
    builtin___buffer = buffer
    builtin___unicode = unicode


class Payment(google___protobuf___message___Message):
    DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
    destination = ... # type: typing___Text

    @property
    def xrp_amount(self) -> xrp_amount_pb2___XRPAmount: ...

    @property
    def fiat_amount(self) -> fiat_amount_pb2___FiatAmount: ...

    def __init__(self,
        *,
        xrp_amount : typing___Optional[xrp_amount_pb2___XRPAmount] = None,
        fiat_amount : typing___Optional[fiat_amount_pb2___FiatAmount] = None,
        destination : typing___Optional[typing___Text] = None,
        ) -> None: ...
    if sys.version_info >= (3,):
        @classmethod
        def FromString(cls, s: builtin___bytes) -> Payment: ...
    else:
        @classmethod
        def FromString(cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]) -> Payment: ...
    def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    if sys.version_info >= (3,):
        def HasField(self, field_name: typing_extensions___Literal[u"amount",u"fiat_amount",u"xrp_amount"]) -> builtin___bool: ...
        def ClearField(self, field_name: typing_extensions___Literal[u"amount",u"destination",u"fiat_amount",u"xrp_amount"]) -> None: ...
    else:
        def HasField(self, field_name: typing_extensions___Literal[u"amount",b"amount",u"fiat_amount",b"fiat_amount",u"xrp_amount",b"xrp_amount"]) -> builtin___bool: ...
        def ClearField(self, field_name: typing_extensions___Literal[u"amount",b"amount",u"destination",b"destination",u"fiat_amount",b"fiat_amount",u"xrp_amount",b"xrp_amount"]) -> None: ...
    def WhichOneof(self, oneof_group: typing_extensions___Literal[u"amount",b"amount"]) -> typing_extensions___Literal["xrp_amount","fiat_amount"]: ...
