Skip to content

Commit 8a40c28

Browse files
authored
Merge pull request #96 from cloudblue/add_reconciliation_property_to_params
Reconciliation property in params
2 parents cea0808 + 4ec59ec commit 8a40c28

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

connect/models/param.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ class Param(BaseModel):
3636
value_choice = None # type: Optional[List[str]]
3737
""" (List[str]|None) Available choices for parameter. """
3838

39-
# Undocumented fields (they appear in PHP SDK)
40-
4139
title = None # type: Optional[str]
4240
""" (str|None) Title for parameter. """
4341

@@ -58,3 +56,6 @@ class Param(BaseModel):
5856

5957
marketplace = None # type: Optional[Marketplace]
6058
""" (:py:class:`.Marketplace` | None) Marketplace. """
59+
60+
reconciliation = None # type: Optional[bool]
61+
""" (bool|None) Is Parameter used as reconciliation one from vendor invoices """

connect/models/schemas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,12 +314,12 @@ class ParamSchema(BaseSchema):
314314
value_error = fields.Str()
315315
value_choice = fields.Str(many=True)
316316

317-
# Undocumented fields (they appear in PHP SDK)
318317
title = fields.Str()
319318
scope = fields.Str()
320319
constraints = fields.Nested(ConstraintsSchema)
321320
value_choices = fields.Nested(ValueChoiceSchema, many=True)
322321
phase = fields.Str()
322+
reconciliation = fields.Bool()
323323
events = fields.Nested(EventsSchema)
324324
marketplace = fields.Nested(MarketplaceSchema)
325325
countries = fields.Nested(CountrySchema, many=True)

0 commit comments

Comments
 (0)