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:
|
class GetStatusResponse:
|
||||||
IsValid: bool
|
IsValid: bool
|
||||||
StatusDescription: str
|
StatusDescription: str
|
||||||
|
StatusCode: int
|
||||||
|
ErrorMessage: List[str]
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def fromdict(cls, data):
|
def fromdict(cls, data):
|
||||||
return cls(data['IsValid'],
|
return cls(data['IsValid'],
|
||||||
data['StatusDescription'])
|
data['StatusDescription'],
|
||||||
|
data['StatusCode'],
|
||||||
|
data['ErrorMessage']['string'])
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class GetStatus(SOAPService):
|
class GetStatus(SOAPService):
|
||||||
|
Loading…
Reference in New Issue
Block a user