facho/fe/client/dian.py (GetStatusResponse): se adiciona nuevos atributos

FossilOrigin-Name: dcd8ff83433747bebcf360c4200eeb2c1659aa952deade346b1c2ef5327e58bf
This commit is contained in:
bit4bit@riseup.net 2020-06-03 16:32:56 +00:00
parent 561528255a
commit 45ca3517aa

View File

@ -133,11 +133,15 @@ class SendBillSync(SOAPService):
class GetStatusResponse:
IsValid: bool
StatusDescription: str
StatusCode: int
ErrorMessage: List[str]
@classmethod
def fromdict(cls, data):
return cls(data['IsValid'],
data['StatusDescription'])
data['StatusDescription'],
data['StatusCode'],
data['ErrorMessage']['string'])
@dataclass
class GetStatus(SOAPService):