facho/fe/client/dian.py (GetStatusResponse): se adiciona nuevos atributos
FossilOrigin-Name: dcd8ff83433747bebcf360c4200eeb2c1659aa952deade346b1c2ef5327e58bf
This commit is contained in:
parent
561528255a
commit
45ca3517aa
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user