repo stringlengths 7 55 | path stringlengths 4 223 | func_name stringlengths 1 134 | original_string stringlengths 75 104k | language stringclasses 1
value | code stringlengths 75 104k | code_tokens listlengths 19 28.4k | docstring stringlengths 1 46.9k | docstring_tokens listlengths 1 1.97k | sha stringlengths 40 40 | url stringlengths 87 315 | partition stringclasses 3
values | summary stringlengths 4 350 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
bykof/billomapy | billomapy/billomapy.py | Billomapy.update_supplier | def update_supplier(self, supplier_id, supplier_dict):
"""
Updates a supplier
:param supplier_id: the supplier id
:param supplier_dict: dict
:return: dict
"""
return self._create_put_request(resource=SUPPLIERS, billomat_id=supplier_id, send_data=supplier_dict) | python | def update_supplier(self, supplier_id, supplier_dict):
"""
Updates a supplier
:param supplier_id: the supplier id
:param supplier_dict: dict
:return: dict
"""
return self._create_put_request(resource=SUPPLIERS, billomat_id=supplier_id, send_data=supplier_dict) | [
"def",
"update_supplier",
"(",
"self",
",",
"supplier_id",
",",
"supplier_dict",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"SUPPLIERS",
",",
"billomat_id",
"=",
"supplier_id",
",",
"send_data",
"=",
"supplier_dict",
")"
] | Updates a supplier
:param supplier_id: the supplier id
:param supplier_dict: dict
:return: dict | [
"Updates",
"a",
"supplier"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L559-L567 | train | Updates a supplier |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_supplier_properties_per_page | def get_supplier_properties_per_page(self, per_page=1000, page=1, params=None):
"""
Get supplier properties per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list
... | python | def get_supplier_properties_per_page(self, per_page=1000, page=1, params=None):
"""
Get supplier properties per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list
... | [
"def",
"get_supplier_properties_per_page",
"(",
"self",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
",",
"params",
"=",
"None",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"SUPPLIER_PROPERTIES",
",",
"per_page",
"=... | Get supplier properties per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list | [
"Get",
"supplier",
"properties",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L585-L594 | train | Get supplier properties per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_supplier_properties | def get_all_supplier_properties(self, params=None):
"""
Get all supplier properties
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list
... | python | def get_all_supplier_properties(self, params=None):
"""
Get all supplier properties
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list
... | [
"def",
"get_all_supplier_properties",
"(",
"self",
",",
"params",
"=",
"None",
")",
":",
"if",
"not",
"params",
":",
"params",
"=",
"{",
"}",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"get_function",
"=",
"self",
".",
"get_supplier_properties_per_pag... | Get all supplier properties
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list | [
"Get",
"all",
"supplier",
"properties",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
"will",
"get",... | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L596-L611 | train | This will iterate over all supplier properties and return a list of all supplier properties |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_tags_of_supplier_per_page | def get_tags_of_supplier_per_page(self, supplier_id, per_page=1000, page=1):
"""
Get tags of suppliers per page
:param supplier_id: the supplier id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
"""
... | python | def get_tags_of_supplier_per_page(self, supplier_id, per_page=1000, page=1):
"""
Get tags of suppliers per page
:param supplier_id: the supplier id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
"""
... | [
"def",
"get_tags_of_supplier_per_page",
"(",
"self",
",",
"supplier_id",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"SUPPLIER_TAGS",
",",
"per_page",
"=",
"per_page",
",... | Get tags of suppliers per page
:param supplier_id: the supplier id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list | [
"Get",
"tags",
"of",
"suppliers",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L637-L651 | train | Get tags of suppliers per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_tags_of_supplier | def get_all_tags_of_supplier(self, supplier_id):
"""
Get all supplier properties
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param supplier_id: the supplier id
:return: li... | python | def get_all_tags_of_supplier(self, supplier_id):
"""
Get all supplier properties
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param supplier_id: the supplier id
:return: li... | [
"def",
"get_all_tags_of_supplier",
"(",
"self",
",",
"supplier_id",
")",
":",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"get_function",
"=",
"self",
".",
"get_tags_of_supplier_per_page",
",",
"resource",
"=",
"SUPPLIER_TAGS",
",",
"*",
"*",
"{",
"'supp... | Get all supplier properties
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param supplier_id: the supplier id
:return: list | [
"Get",
"all",
"supplier",
"properties",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
"will",
"get",... | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L653-L666 | train | This will iterate over all pages and return a list of all tags of the specified supplier. If rate limit exceeded it will throw an Exception. |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_articles_per_page | def get_articles_per_page(self, per_page=1000, page=1, params=None):
"""
Get articles per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list
"""
re... | python | def get_articles_per_page(self, per_page=1000, page=1, params=None):
"""
Get articles per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list
"""
re... | [
"def",
"get_articles_per_page",
"(",
"self",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
",",
"params",
"=",
"None",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"ARTICLES",
",",
"per_page",
"=",
"per_page",
","... | Get articles per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list | [
"Get",
"articles",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L701-L710 | train | Get articles per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_articles | def get_all_articles(self, params=None):
"""
Get all articles
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list
"""
if ... | python | def get_all_articles(self, params=None):
"""
Get all articles
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list
"""
if ... | [
"def",
"get_all_articles",
"(",
"self",
",",
"params",
"=",
"None",
")",
":",
"if",
"not",
"params",
":",
"params",
"=",
"{",
"}",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"self",
".",
"get_articles_per_page",
",",
"resource",
"=",
"ARTICLES",
... | Get all articles
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list | [
"Get",
"all",
"articles",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
"will",
"get",
"nothing"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L712-L723 | train | This will iterate over all articles and return a list of all articles |
bykof/billomapy | billomapy/billomapy.py | Billomapy.update_article | def update_article(self, article_id, article_dict):
"""
Updates an article
:param article_id: the article id
:param article_dict: dict
:return: dict
"""
return self._create_put_request(resource=ARTICLES, billomat_id=article_id, send_data=article_dict) | python | def update_article(self, article_id, article_dict):
"""
Updates an article
:param article_id: the article id
:param article_dict: dict
:return: dict
"""
return self._create_put_request(resource=ARTICLES, billomat_id=article_id, send_data=article_dict) | [
"def",
"update_article",
"(",
"self",
",",
"article_id",
",",
"article_dict",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"ARTICLES",
",",
"billomat_id",
"=",
"article_id",
",",
"send_data",
"=",
"article_dict",
")"
] | Updates an article
:param article_id: the article id
:param article_dict: dict
:return: dict | [
"Updates",
"an",
"article"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L743-L751 | train | Updates an article s metadata |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_article_properties_per_page | def get_article_properties_per_page(self, per_page=1000, page=1, params=None):
"""
Get article properties per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list
... | python | def get_article_properties_per_page(self, per_page=1000, page=1, params=None):
"""
Get article properties per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list
... | [
"def",
"get_article_properties_per_page",
"(",
"self",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
",",
"params",
"=",
"None",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"ARTICLE_PROPERTIES",
",",
"per_page",
"=",... | Get article properties per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list | [
"Get",
"article",
"properties",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L769-L778 | train | Get article properties per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_article_properties | def get_all_article_properties(self, params=None):
"""
Get all article properties
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list
... | python | def get_all_article_properties(self, params=None):
"""
Get all article properties
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list
... | [
"def",
"get_all_article_properties",
"(",
"self",
",",
"params",
"=",
"None",
")",
":",
"if",
"not",
"params",
":",
"params",
"=",
"{",
"}",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"get_function",
"=",
"self",
".",
"get_article_properties_per_page"... | Get all article properties
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list | [
"Get",
"all",
"article",
"properties",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
"will",
"get",
... | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L780-L795 | train | This will iterate over all article properties and return a list of article properties |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_tags_of_article_per_page | def get_tags_of_article_per_page(self, article_id, per_page=1000, page=1):
"""
Get articles tags per page
:param article_id: the article id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
"""
ret... | python | def get_tags_of_article_per_page(self, article_id, per_page=1000, page=1):
"""
Get articles tags per page
:param article_id: the article id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
"""
ret... | [
"def",
"get_tags_of_article_per_page",
"(",
"self",
",",
"article_id",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"ARTICLE_TAGS",
",",
"per_page",
"=",
"per_page",
",",
... | Get articles tags per page
:param article_id: the article id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list | [
"Get",
"articles",
"tags",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L821-L835 | train | Get articles tags per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_tags_of_article | def get_all_tags_of_article(self, article_id):
"""
Get all tags of article
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param article_id: the article id
:return: list
... | python | def get_all_tags_of_article(self, article_id):
"""
Get all tags of article
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param article_id: the article id
:return: list
... | [
"def",
"get_all_tags_of_article",
"(",
"self",
",",
"article_id",
")",
":",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"get_function",
"=",
"self",
".",
"get_tags_of_article_per_page",
",",
"resource",
"=",
"ARTICLE_TAGS",
",",
"*",
"*",
"{",
"'article_... | Get all tags of article
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param article_id: the article id
:return: list | [
"Get",
"all",
"tags",
"of",
"article",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
"will",
"get"... | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L837-L850 | train | This will iterate over all pages and get all tags of article |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_units_per_page | def get_units_per_page(self, per_page=1000, page=1, params=None):
"""
Get units per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list
"""
return s... | python | def get_units_per_page(self, per_page=1000, page=1, params=None):
"""
Get units per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list
"""
return s... | [
"def",
"get_units_per_page",
"(",
"self",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
",",
"params",
"=",
"None",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"UNITS",
",",
"per_page",
"=",
"per_page",
",",
"p... | Get units per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list | [
"Get",
"units",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L886-L895 | train | Get units per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_units | def get_all_units(self, params=None):
"""
Get all units
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list
"""
if not pa... | python | def get_all_units(self, params=None):
"""
Get all units
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list
"""
if not pa... | [
"def",
"get_all_units",
"(",
"self",
",",
"params",
"=",
"None",
")",
":",
"if",
"not",
"params",
":",
"params",
"=",
"{",
"}",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"self",
".",
"get_units_per_page",
",",
"resource",
"=",
"UNITS",
",",
"... | Get all units
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list | [
"Get",
"all",
"units",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
"will",
"get",
"nothing"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L897-L908 | train | This will iterate over all units and returns a list of all units This will iterate over all pages until it gets all elements. So if the rate limit exceeded it will throw an Exception and you will get nothing |
bykof/billomapy | billomapy/billomapy.py | Billomapy.update_unit | def update_unit(self, unit_id, unit_dict):
"""
Updates an unit
:param unit_id: the unit id
:param unit_dict: dict
:return: dict
"""
return self._create_put_request(resource=UNITS, billomat_id=unit_id, send_data=unit_dict) | python | def update_unit(self, unit_id, unit_dict):
"""
Updates an unit
:param unit_id: the unit id
:param unit_dict: dict
:return: dict
"""
return self._create_put_request(resource=UNITS, billomat_id=unit_id, send_data=unit_dict) | [
"def",
"update_unit",
"(",
"self",
",",
"unit_id",
",",
"unit_dict",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"UNITS",
",",
"billomat_id",
"=",
"unit_id",
",",
"send_data",
"=",
"unit_dict",
")"
] | Updates an unit
:param unit_id: the unit id
:param unit_dict: dict
:return: dict | [
"Updates",
"an",
"unit"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L928-L936 | train | Updates a unit |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_invoices_per_page | def get_invoices_per_page(self, per_page=1000, page=1, params=None):
"""
Get invoices per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list
"""
re... | python | def get_invoices_per_page(self, per_page=1000, page=1, params=None):
"""
Get invoices per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list
"""
re... | [
"def",
"get_invoices_per_page",
"(",
"self",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
",",
"params",
"=",
"None",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"INVOICES",
",",
"per_page",
"=",
"per_page",
","... | Get invoices per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list | [
"Get",
"invoices",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L954-L963 | train | Get invoices per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_invoices | def get_all_invoices(self, params=None):
"""
Get all invoices
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list
"""
if ... | python | def get_all_invoices(self, params=None):
"""
Get all invoices
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list
"""
if ... | [
"def",
"get_all_invoices",
"(",
"self",
",",
"params",
"=",
"None",
")",
":",
"if",
"not",
"params",
":",
"params",
"=",
"{",
"}",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"self",
".",
"get_invoices_per_page",
",",
"resource",
"=",
"INVOICES",
... | Get all invoices
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list | [
"Get",
"all",
"invoices",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
"will",
"get",
"nothing"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L965-L976 | train | This will iterate over all pages until it gets all elements. So if the rate limit exceeded it will throw an Exception and you will get nothing |
bykof/billomapy | billomapy/billomapy.py | Billomapy.update_invoice | def update_invoice(self, invoice_id, invoice_dict):
"""
Updates an invoice
:param invoice_id: the invoice id
:param invoice_dict: dict
:return: dict
"""
return self._create_put_request(resource=INVOICES, billomat_id=invoice_id, send_data=invoice_dict) | python | def update_invoice(self, invoice_id, invoice_dict):
"""
Updates an invoice
:param invoice_id: the invoice id
:param invoice_dict: dict
:return: dict
"""
return self._create_put_request(resource=INVOICES, billomat_id=invoice_id, send_data=invoice_dict) | [
"def",
"update_invoice",
"(",
"self",
",",
"invoice_id",
",",
"invoice_dict",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"INVOICES",
",",
"billomat_id",
"=",
"invoice_id",
",",
"send_data",
"=",
"invoice_dict",
")"
] | Updates an invoice
:param invoice_id: the invoice id
:param invoice_dict: dict
:return: dict | [
"Updates",
"an",
"invoice"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L996-L1004 | train | Updates an invoice |
bykof/billomapy | billomapy/billomapy.py | Billomapy.complete_invoice | def complete_invoice(self, invoice_id, complete_dict):
"""
Completes an invoice
:param complete_dict: the complete dict with the template id
:param invoice_id: the invoice id
:return: Response
"""
return self._create_put_request(
resource=INVOICES,
... | python | def complete_invoice(self, invoice_id, complete_dict):
"""
Completes an invoice
:param complete_dict: the complete dict with the template id
:param invoice_id: the invoice id
:return: Response
"""
return self._create_put_request(
resource=INVOICES,
... | [
"def",
"complete_invoice",
"(",
"self",
",",
"invoice_id",
",",
"complete_dict",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"INVOICES",
",",
"billomat_id",
"=",
"invoice_id",
",",
"command",
"=",
"COMPLETE",
",",
"send_data",
... | Completes an invoice
:param complete_dict: the complete dict with the template id
:param invoice_id: the invoice id
:return: Response | [
"Completes",
"an",
"invoice"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1015-L1028 | train | Completes an invoice |
bykof/billomapy | billomapy/billomapy.py | Billomapy.invoice_pdf | def invoice_pdf(self, invoice_id):
"""
Opens a pdf of an invoice
:param invoice_id: the invoice id
:return: dict
"""
return self._create_get_request(resource=INVOICES, billomat_id=invoice_id, command=PDF) | python | def invoice_pdf(self, invoice_id):
"""
Opens a pdf of an invoice
:param invoice_id: the invoice id
:return: dict
"""
return self._create_get_request(resource=INVOICES, billomat_id=invoice_id, command=PDF) | [
"def",
"invoice_pdf",
"(",
"self",
",",
"invoice_id",
")",
":",
"return",
"self",
".",
"_create_get_request",
"(",
"resource",
"=",
"INVOICES",
",",
"billomat_id",
"=",
"invoice_id",
",",
"command",
"=",
"PDF",
")"
] | Opens a pdf of an invoice
:param invoice_id: the invoice id
:return: dict | [
"Opens",
"a",
"pdf",
"of",
"an",
"invoice"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1030-L1037 | train | Opens a pdf of an invoice |
bykof/billomapy | billomapy/billomapy.py | Billomapy.upload_invoice_signature | def upload_invoice_signature(self, invoice_id, signature_dict):
"""
Uploads a signature for the invoice
:param signature_dict: the signature
:type signature_dict: dict
:param invoice_id: the invoice id
:return Response
"""
return self._create_put_request(... | python | def upload_invoice_signature(self, invoice_id, signature_dict):
"""
Uploads a signature for the invoice
:param signature_dict: the signature
:type signature_dict: dict
:param invoice_id: the invoice id
:return Response
"""
return self._create_put_request(... | [
"def",
"upload_invoice_signature",
"(",
"self",
",",
"invoice_id",
",",
"signature_dict",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"INVOICES",
",",
"billomat_id",
"=",
"invoice_id",
",",
"send_data",
"=",
"signature_dict",
",",... | Uploads a signature for the invoice
:param signature_dict: the signature
:type signature_dict: dict
:param invoice_id: the invoice id
:return Response | [
"Uploads",
"a",
"signature",
"for",
"the",
"invoice"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1039-L1053 | train | Uploads a signature for the invoice |
bykof/billomapy | billomapy/billomapy.py | Billomapy.send_invoice_email | def send_invoice_email(self, invoice_id, email_dict):
"""
Sends an invoice by email
If you want to send your email to more than one persons do:
'recipients': {'to': ['bykof@me.com', 'mbykovski@seibert-media.net']}}
:param invoice_id: the invoice id
:param email_dict: the... | python | def send_invoice_email(self, invoice_id, email_dict):
"""
Sends an invoice by email
If you want to send your email to more than one persons do:
'recipients': {'to': ['bykof@me.com', 'mbykovski@seibert-media.net']}}
:param invoice_id: the invoice id
:param email_dict: the... | [
"def",
"send_invoice_email",
"(",
"self",
",",
"invoice_id",
",",
"email_dict",
")",
":",
"return",
"self",
".",
"_create_post_request",
"(",
"resource",
"=",
"INVOICES",
",",
"billomat_id",
"=",
"invoice_id",
",",
"send_data",
"=",
"email_dict",
",",
"command",... | Sends an invoice by email
If you want to send your email to more than one persons do:
'recipients': {'to': ['bykof@me.com', 'mbykovski@seibert-media.net']}}
:param invoice_id: the invoice id
:param email_dict: the email dict
:return dict | [
"Sends",
"an",
"invoice",
"by",
"email",
"If",
"you",
"want",
"to",
"send",
"your",
"email",
"to",
"more",
"than",
"one",
"persons",
"do",
":",
"recipients",
":",
"{",
"to",
":",
"[",
"bykof@me",
".",
"com",
"mbykovski@seibert",
"-",
"media",
".",
"net... | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1055-L1070 | train | Sends an invoice by email_dict to the invoice by invoice_id |
bykof/billomapy | billomapy/billomapy.py | Billomapy.cancel_invoice | def cancel_invoice(self, invoice_id):
"""
Cancelles an invoice
:param invoice_id: the invoice id
:return Response
"""
return self._create_put_request(
resource=INVOICES,
billomat_id=invoice_id,
command=CANCEL,
) | python | def cancel_invoice(self, invoice_id):
"""
Cancelles an invoice
:param invoice_id: the invoice id
:return Response
"""
return self._create_put_request(
resource=INVOICES,
billomat_id=invoice_id,
command=CANCEL,
) | [
"def",
"cancel_invoice",
"(",
"self",
",",
"invoice_id",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"INVOICES",
",",
"billomat_id",
"=",
"invoice_id",
",",
"command",
"=",
"CANCEL",
",",
")"
] | Cancelles an invoice
:param invoice_id: the invoice id
:return Response | [
"Cancelles",
"an",
"invoice"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1072-L1083 | train | Cancels an invoice |
bykof/billomapy | billomapy/billomapy.py | Billomapy.uncancel_invoice | def uncancel_invoice(self, invoice_id):
"""
Uncancelles an invoice
:param invoice_id: the invoice id
"""
return self._create_put_request(
resource=INVOICES,
billomat_id=invoice_id,
command=UNCANCEL,
) | python | def uncancel_invoice(self, invoice_id):
"""
Uncancelles an invoice
:param invoice_id: the invoice id
"""
return self._create_put_request(
resource=INVOICES,
billomat_id=invoice_id,
command=UNCANCEL,
) | [
"def",
"uncancel_invoice",
"(",
"self",
",",
"invoice_id",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"INVOICES",
",",
"billomat_id",
"=",
"invoice_id",
",",
"command",
"=",
"UNCANCEL",
",",
")"
] | Uncancelles an invoice
:param invoice_id: the invoice id | [
"Uncancelles",
"an",
"invoice"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1085-L1095 | train | Uncancelles an invoice |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_items_of_invoice_per_page | def get_items_of_invoice_per_page(self, invoice_id, per_page=1000, page=1):
"""
Get invoice items of invoice per page
:param invoice_id: the invoice id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
"""... | python | def get_items_of_invoice_per_page(self, invoice_id, per_page=1000, page=1):
"""
Get invoice items of invoice per page
:param invoice_id: the invoice id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
"""... | [
"def",
"get_items_of_invoice_per_page",
"(",
"self",
",",
"invoice_id",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"INVOICE_ITEMS",
",",
"per_page",
"=",
"per_page",
","... | Get invoice items of invoice per page
:param invoice_id: the invoice id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list | [
"Get",
"invoice",
"items",
"of",
"invoice",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1104-L1118 | train | Get invoice items of invoice per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_items_of_invoice | def get_all_items_of_invoice(self, invoice_id):
"""
Get all items of invoice
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param invoice_id: the invoice id
:return: list
... | python | def get_all_items_of_invoice(self, invoice_id):
"""
Get all items of invoice
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param invoice_id: the invoice id
:return: list
... | [
"def",
"get_all_items_of_invoice",
"(",
"self",
",",
"invoice_id",
")",
":",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"get_function",
"=",
"self",
".",
"get_items_of_invoice_per_page",
",",
"resource",
"=",
"INVOICE_ITEMS",
",",
"*",
"*",
"{",
"'invoi... | Get all items of invoice
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param invoice_id: the invoice id
:return: list | [
"Get",
"all",
"items",
"of",
"invoice",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
"will",
"get... | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1120-L1133 | train | This will iterate over all pages until it gets all elements. So if the rate limit exceeded it will throw an Exception and you will get nothing |
bykof/billomapy | billomapy/billomapy.py | Billomapy.update_invoice_item | def update_invoice_item(self, invoice_item_id, invoice_item_dict):
"""
Updates an invoice item
:param invoice_item_id: the invoice item id
:param invoice_item_dict: dict
:return: dict
"""
return self._create_put_request(
resource=INVOICE_ITEMS,
... | python | def update_invoice_item(self, invoice_item_id, invoice_item_dict):
"""
Updates an invoice item
:param invoice_item_id: the invoice item id
:param invoice_item_dict: dict
:return: dict
"""
return self._create_put_request(
resource=INVOICE_ITEMS,
... | [
"def",
"update_invoice_item",
"(",
"self",
",",
"invoice_item_id",
",",
"invoice_item_dict",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"INVOICE_ITEMS",
",",
"billomat_id",
"=",
"invoice_item_id",
",",
"send_data",
"=",
"invoice_it... | Updates an invoice item
:param invoice_item_id: the invoice item id
:param invoice_item_dict: dict
:return: dict | [
"Updates",
"an",
"invoice",
"item"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1153-L1165 | train | Updates an invoice item |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_comments_of_invoice_per_page | def get_comments_of_invoice_per_page(self, invoice_id, per_page=1000, page=1):
"""
Get comments of invoice per page
:param invoice_id: the invoice id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
"""
... | python | def get_comments_of_invoice_per_page(self, invoice_id, per_page=1000, page=1):
"""
Get comments of invoice per page
:param invoice_id: the invoice id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
"""
... | [
"def",
"get_comments_of_invoice_per_page",
"(",
"self",
",",
"invoice_id",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"INVOICE_COMMENTS",
",",
"per_page",
"=",
"per_page",... | Get comments of invoice per page
:param invoice_id: the invoice id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list | [
"Get",
"comments",
"of",
"invoice",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1183-L1197 | train | Get comments of invoice per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_comments_of_invoice | def get_all_comments_of_invoice(self, invoice_id):
"""
Get all invoice comments of invoice
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param invoice_id: the invoice id
:re... | python | def get_all_comments_of_invoice(self, invoice_id):
"""
Get all invoice comments of invoice
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param invoice_id: the invoice id
:re... | [
"def",
"get_all_comments_of_invoice",
"(",
"self",
",",
"invoice_id",
")",
":",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"get_function",
"=",
"self",
".",
"get_comments_of_invoice_per_page",
",",
"resource",
"=",
"INVOICE_COMMENTS",
",",
"*",
"*",
"{",
... | Get all invoice comments of invoice
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param invoice_id: the invoice id
:return: list | [
"Get",
"all",
"invoice",
"comments",
"of",
"invoice",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
... | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1199-L1212 | train | This will iterate over all pages until it gets all elements. So if the rate limit exceeded it will throw an Exception and you will get nothing |
bykof/billomapy | billomapy/billomapy.py | Billomapy.update_invoice_comment | def update_invoice_comment(self, invoice_comment_id, invoice_comment_dict):
"""
Updates an invoice comment
:param invoice_comment_id: the invoice comment id
:param invoice_comment_dict: dict
:return: dict
"""
return self._create_put_request(
resource=... | python | def update_invoice_comment(self, invoice_comment_id, invoice_comment_dict):
"""
Updates an invoice comment
:param invoice_comment_id: the invoice comment id
:param invoice_comment_dict: dict
:return: dict
"""
return self._create_put_request(
resource=... | [
"def",
"update_invoice_comment",
"(",
"self",
",",
"invoice_comment_id",
",",
"invoice_comment_dict",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"INVOICE_COMMENTS",
",",
"billomat_id",
"=",
"invoice_comment_id",
",",
"send_data",
"="... | Updates an invoice comment
:param invoice_comment_id: the invoice comment id
:param invoice_comment_dict: dict
:return: dict | [
"Updates",
"an",
"invoice",
"comment"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1232-L1244 | train | Updates an invoice comment |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_invoice_payments_per_page | def get_invoice_payments_per_page(self, per_page=1000, page=1, params=None):
"""
Get invoice payments per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list
... | python | def get_invoice_payments_per_page(self, per_page=1000, page=1, params=None):
"""
Get invoice payments per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list
... | [
"def",
"get_invoice_payments_per_page",
"(",
"self",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
",",
"params",
"=",
"None",
")",
":",
"if",
"not",
"params",
":",
"params",
"=",
"{",
"}",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"re... | Get invoice payments per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list | [
"Get",
"invoice",
"payments",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1262-L1279 | train | Get invoice payments per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_invoice_payments | def get_all_invoice_payments(self, params=None):
"""
Get all invoice payments
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list
... | python | def get_all_invoice_payments(self, params=None):
"""
Get all invoice payments
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list
... | [
"def",
"get_all_invoice_payments",
"(",
"self",
",",
"params",
"=",
"None",
")",
":",
"if",
"not",
"params",
":",
"params",
"=",
"{",
"}",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"get_function",
"=",
"self",
".",
"get_invoice_payments_per_page",
... | Get all invoice payments
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list | [
"Get",
"all",
"invoice",
"payments",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
"will",
"get",
... | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1281-L1296 | train | This will iterate over all invoice payments and returns a list of invoice_payments |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_tags_of_invoice_per_page | def get_tags_of_invoice_per_page(self, invoice_id, per_page=1000, page=1):
"""
Get tags of invoice per page
:param invoice_id: the invoice id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
"""
r... | python | def get_tags_of_invoice_per_page(self, invoice_id, per_page=1000, page=1):
"""
Get tags of invoice per page
:param invoice_id: the invoice id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
"""
r... | [
"def",
"get_tags_of_invoice_per_page",
"(",
"self",
",",
"invoice_id",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"INVOICE_TAGS",
",",
"per_page",
"=",
"per_page",
",",
... | Get tags of invoice per page
:param invoice_id: the invoice id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list | [
"Get",
"tags",
"of",
"invoice",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1331-L1345 | train | Get tags of invoice per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_tags_of_invoice | def get_all_tags_of_invoice(self, invoice_id):
"""
Get all tags of invoice
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param invoice_id: the invoice id
:return: list
... | python | def get_all_tags_of_invoice(self, invoice_id):
"""
Get all tags of invoice
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param invoice_id: the invoice id
:return: list
... | [
"def",
"get_all_tags_of_invoice",
"(",
"self",
",",
"invoice_id",
")",
":",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"get_function",
"=",
"self",
".",
"get_tags_of_invoice_per_page",
",",
"resource",
"=",
"INVOICE_TAGS",
",",
"*",
"*",
"{",
"'invoice_... | Get all tags of invoice
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param invoice_id: the invoice id
:return: list | [
"Get",
"all",
"tags",
"of",
"invoice",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
"will",
"get"... | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1347-L1360 | train | This will iterate over all pages until it gets all elements. So if the rate limit exceeded it will throw an Exception and you will get nothing |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_recurrings_per_page | def get_recurrings_per_page(self, per_page=1000, page=1, params=None):
"""
Get recurrings per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list
"""
... | python | def get_recurrings_per_page(self, per_page=1000, page=1, params=None):
"""
Get recurrings per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list
"""
... | [
"def",
"get_recurrings_per_page",
"(",
"self",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
",",
"params",
"=",
"None",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"RECURRINGS",
",",
"per_page",
"=",
"per_page",
... | Get recurrings per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list | [
"Get",
"recurrings",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1396-L1405 | train | Get recurrings per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_recurrings | def get_all_recurrings(self, params=None):
"""
Get all recurrings
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list
"""
... | python | def get_all_recurrings(self, params=None):
"""
Get all recurrings
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list
"""
... | [
"def",
"get_all_recurrings",
"(",
"self",
",",
"params",
"=",
"None",
")",
":",
"if",
"not",
"params",
":",
"params",
"=",
"{",
"}",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"self",
".",
"get_recurrings_per_page",
",",
"resource",
"=",
"RECURRIN... | Get all recurrings
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list | [
"Get",
"all",
"recurrings",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
"will",
"get",
"nothing"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1407-L1418 | train | This will iterate over all pages until it gets all elements. So if the rate limit exceeded it will throw an Exception and you will get nothing |
bykof/billomapy | billomapy/billomapy.py | Billomapy.update_recurring | def update_recurring(self, recurring_id, recurring_dict):
"""
Updates a recurring
:param recurring_id: the recurring id
:param recurring_dict: dict
:return: dict
"""
return self._create_put_request(resource=RECURRINGS, billomat_id=recurring_id, send_data=recurrin... | python | def update_recurring(self, recurring_id, recurring_dict):
"""
Updates a recurring
:param recurring_id: the recurring id
:param recurring_dict: dict
:return: dict
"""
return self._create_put_request(resource=RECURRINGS, billomat_id=recurring_id, send_data=recurrin... | [
"def",
"update_recurring",
"(",
"self",
",",
"recurring_id",
",",
"recurring_dict",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"RECURRINGS",
",",
"billomat_id",
"=",
"recurring_id",
",",
"send_data",
"=",
"recurring_dict",
")"
] | Updates a recurring
:param recurring_id: the recurring id
:param recurring_dict: dict
:return: dict | [
"Updates",
"a",
"recurring"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1438-L1446 | train | Updates a recurring record set |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_items_of_recurring_per_page | def get_items_of_recurring_per_page(self, recurring_id, per_page=1000, page=1):
"""
Get items of recurring per page
:param recurring_id: the recurring id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
"... | python | def get_items_of_recurring_per_page(self, recurring_id, per_page=1000, page=1):
"""
Get items of recurring per page
:param recurring_id: the recurring id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
"... | [
"def",
"get_items_of_recurring_per_page",
"(",
"self",
",",
"recurring_id",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"RECURRING_ITEMS",
",",
"per_page",
"=",
"per_page",... | Get items of recurring per page
:param recurring_id: the recurring id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list | [
"Get",
"items",
"of",
"recurring",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1464-L1478 | train | Get items of recurring per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_items_of_recurring | def get_all_items_of_recurring(self, recurring_id):
"""
Get all items of recurring
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param recurring_id: the recurring id
:return... | python | def get_all_items_of_recurring(self, recurring_id):
"""
Get all items of recurring
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param recurring_id: the recurring id
:return... | [
"def",
"get_all_items_of_recurring",
"(",
"self",
",",
"recurring_id",
")",
":",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"get_function",
"=",
"self",
".",
"get_items_of_recurring_per_page",
",",
"resource",
"=",
"RECURRING_ITEMS",
",",
"*",
"*",
"{",
... | Get all items of recurring
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param recurring_id: the recurring id
:return: list | [
"Get",
"all",
"items",
"of",
"recurring",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
"will",
"g... | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1480-L1493 | train | This will iterate over all pages and return a list of items of the recurring. |
bykof/billomapy | billomapy/billomapy.py | Billomapy.update_recurring_item | def update_recurring_item(self, recurring_item_id, recurring_item_dict):
"""
Updates a recurring item
:param recurring_item_id: the recurring item id
:param recurring_item_dict: dict
:return: dict
"""
return self._create_put_request(
resource=RECURRIN... | python | def update_recurring_item(self, recurring_item_id, recurring_item_dict):
"""
Updates a recurring item
:param recurring_item_id: the recurring item id
:param recurring_item_dict: dict
:return: dict
"""
return self._create_put_request(
resource=RECURRIN... | [
"def",
"update_recurring_item",
"(",
"self",
",",
"recurring_item_id",
",",
"recurring_item_dict",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"RECURRING_ITEMS",
",",
"billomat_id",
"=",
"recurring_item_id",
",",
"send_data",
"=",
"... | Updates a recurring item
:param recurring_item_id: the recurring item id
:param recurring_item_dict: dict
:return: dict | [
"Updates",
"a",
"recurring",
"item"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1513-L1525 | train | Updates a recurring item |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_tags_of_recurring_per_page | def get_tags_of_recurring_per_page(self, recurring_id, per_page=1000, page=1):
"""
Get tags of recurring per page
:param recurring_id: the recurring id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
"""... | python | def get_tags_of_recurring_per_page(self, recurring_id, per_page=1000, page=1):
"""
Get tags of recurring per page
:param recurring_id: the recurring id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
"""... | [
"def",
"get_tags_of_recurring_per_page",
"(",
"self",
",",
"recurring_id",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"RECURRING_TAGS",
",",
"per_page",
"=",
"per_page",
... | Get tags of recurring per page
:param recurring_id: the recurring id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list | [
"Get",
"tags",
"of",
"recurring",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1542-L1556 | train | Get tags of recurring in a specific page. |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_tags_of_recurring | def get_all_tags_of_recurring(self, recurring_id):
"""
Get all tags of recurring
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param recurring_id: the recurring id
:return: ... | python | def get_all_tags_of_recurring(self, recurring_id):
"""
Get all tags of recurring
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param recurring_id: the recurring id
:return: ... | [
"def",
"get_all_tags_of_recurring",
"(",
"self",
",",
"recurring_id",
")",
":",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"get_function",
"=",
"self",
".",
"get_tags_of_recurring_per_page",
",",
"resource",
"=",
"RECURRING_TAGS",
",",
"*",
"*",
"{",
"'... | Get all tags of recurring
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param recurring_id: the recurring id
:return: list | [
"Get",
"all",
"tags",
"of",
"recurring",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
"will",
"ge... | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1558-L1571 | train | This will iterate over all pages and return a list of all tags of the recurring. If rate limit exceeded it will throw an Exception. |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_email_receivers_of_recurring_per_page | def get_email_receivers_of_recurring_per_page(self, recurring_id, per_page=1000, page=1):
"""
Get email receivers of recurring per page
:param recurring_id: the recurring id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:re... | python | def get_email_receivers_of_recurring_per_page(self, recurring_id, per_page=1000, page=1):
"""
Get email receivers of recurring per page
:param recurring_id: the recurring id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:re... | [
"def",
"get_email_receivers_of_recurring_per_page",
"(",
"self",
",",
"recurring_id",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"RECURRING_EMAIL_RECEIVERS",
",",
"per_page",
... | Get email receivers of recurring per page
:param recurring_id: the recurring id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list | [
"Get",
"email",
"receivers",
"of",
"recurring",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1606-L1620 | train | Get email receivers of recurring per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_email_receivers_of_recurring | def get_all_email_receivers_of_recurring(self, recurring_id):
"""
Get all email receivers of recurring
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param recurring_id: the recurrin... | python | def get_all_email_receivers_of_recurring(self, recurring_id):
"""
Get all email receivers of recurring
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param recurring_id: the recurrin... | [
"def",
"get_all_email_receivers_of_recurring",
"(",
"self",
",",
"recurring_id",
")",
":",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"get_function",
"=",
"self",
".",
"get_email_receivers_of_recurring_per_page",
",",
"resource",
"=",
"RECURRING_EMAIL_RECEIVERS",... | Get all email receivers of recurring
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param recurring_id: the recurring id
:return: list | [
"Get",
"all",
"email",
"receivers",
"of",
"recurring",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",... | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1622-L1635 | train | This will iterate over all pages and return a list of all email receivers of the recurring. If rate limit exceeded it will throw an Exception and you will get nothing. |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_incomings_per_page | def get_incomings_per_page(self, per_page=1000, page=1, params=None):
"""
Get incomings per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list
"""
... | python | def get_incomings_per_page(self, per_page=1000, page=1, params=None):
"""
Get incomings per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list
"""
... | [
"def",
"get_incomings_per_page",
"(",
"self",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
",",
"params",
"=",
"None",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"INCOMINGS",
",",
"per_page",
"=",
"per_page",
"... | Get incomings per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list | [
"Get",
"incomings",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1671-L1680 | train | Get incomings per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_incomings | def get_all_incomings(self, params=None):
"""
Get all incomings
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list
"""
i... | python | def get_all_incomings(self, params=None):
"""
Get all incomings
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list
"""
i... | [
"def",
"get_all_incomings",
"(",
"self",
",",
"params",
"=",
"None",
")",
":",
"if",
"not",
"params",
":",
"params",
"=",
"{",
"}",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"self",
".",
"get_incomings_per_page",
",",
"resource",
"=",
"INCOMINGS"... | Get all incomings
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list | [
"Get",
"all",
"incomings",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
"will",
"get",
"nothing"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1682-L1693 | train | This will iterate over all incomings and returns a list of all incomings that match the passed in parameters |
bykof/billomapy | billomapy/billomapy.py | Billomapy.update_incoming | def update_incoming(self, incoming_id, incoming_dict):
"""
Updates an incoming
:param incoming_id: the incoming id
:param incoming_dict: dict
:return: dict
"""
return self._create_put_request(resource=INCOMINGS, billomat_id=incoming_id, send_data=incoming_dict) | python | def update_incoming(self, incoming_id, incoming_dict):
"""
Updates an incoming
:param incoming_id: the incoming id
:param incoming_dict: dict
:return: dict
"""
return self._create_put_request(resource=INCOMINGS, billomat_id=incoming_id, send_data=incoming_dict) | [
"def",
"update_incoming",
"(",
"self",
",",
"incoming_id",
",",
"incoming_dict",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"INCOMINGS",
",",
"billomat_id",
"=",
"incoming_id",
",",
"send_data",
"=",
"incoming_dict",
")"
] | Updates an incoming
:param incoming_id: the incoming id
:param incoming_dict: dict
:return: dict | [
"Updates",
"an",
"incoming"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1713-L1721 | train | Updates an incoming record set |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_comments_of_incoming_per_page | def get_comments_of_incoming_per_page(self, incoming_id, per_page=1000, page=1):
"""
Get comments of incoming per page
:param incoming_id: the incoming id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
... | python | def get_comments_of_incoming_per_page(self, incoming_id, per_page=1000, page=1):
"""
Get comments of incoming per page
:param incoming_id: the incoming id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
... | [
"def",
"get_comments_of_incoming_per_page",
"(",
"self",
",",
"incoming_id",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"INCOMING_COMMENTS",
",",
"per_page",
"=",
"per_pag... | Get comments of incoming per page
:param incoming_id: the incoming id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list | [
"Get",
"comments",
"of",
"incoming",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1739-L1753 | train | Get comments of incoming per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_comments_of_incoming | def get_all_comments_of_incoming(self, incoming_id):
"""
Get all comments of incoming
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param incoming_id: the incoming id
:retur... | python | def get_all_comments_of_incoming(self, incoming_id):
"""
Get all comments of incoming
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param incoming_id: the incoming id
:retur... | [
"def",
"get_all_comments_of_incoming",
"(",
"self",
",",
"incoming_id",
")",
":",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"get_function",
"=",
"self",
".",
"get_comments_of_incoming_per_page",
",",
"resource",
"=",
"INCOMING_COMMENTS",
",",
"*",
"*",
"... | Get all comments of incoming
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param incoming_id: the incoming id
:return: list | [
"Get",
"all",
"comments",
"of",
"incoming",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
"will",
... | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1755-L1768 | train | This will iterate over all pages and return a list of all comments of the incoming |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_payments_of_incoming_per_page | def get_payments_of_incoming_per_page(self, incoming_id, per_page=1000, page=1):
"""
Get payments of incoming per page
:param incoming_id: the incoming id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
... | python | def get_payments_of_incoming_per_page(self, incoming_id, per_page=1000, page=1):
"""
Get payments of incoming per page
:param incoming_id: the incoming id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
... | [
"def",
"get_payments_of_incoming_per_page",
"(",
"self",
",",
"incoming_id",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"INCOMING_PAYMENTS",
",",
"per_page",
"=",
"per_pag... | Get payments of incoming per page
:param incoming_id: the incoming id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list | [
"Get",
"payments",
"of",
"incoming",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1804-L1818 | train | Get payments of incoming per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_payments_of_incoming | def get_all_payments_of_incoming(self, incoming_id):
"""
Get all payments of incoming
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param incoming_id: the incoming id
:retur... | python | def get_all_payments_of_incoming(self, incoming_id):
"""
Get all payments of incoming
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param incoming_id: the incoming id
:retur... | [
"def",
"get_all_payments_of_incoming",
"(",
"self",
",",
"incoming_id",
")",
":",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"get_function",
"=",
"self",
".",
"get_payments_of_incoming_per_page",
",",
"resource",
"=",
"INCOMING_PAYMENTS",
",",
"*",
"*",
"... | Get all payments of incoming
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param incoming_id: the incoming id
:return: list | [
"Get",
"all",
"payments",
"of",
"incoming",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
"will",
... | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1820-L1833 | train | This will iterate over all pages until rate limit exceeded it will get nothing |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_incoming_properties_per_page | def get_incoming_properties_per_page(self, per_page=1000, page=1, params=None):
"""
Get incoming properties per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list
... | python | def get_incoming_properties_per_page(self, per_page=1000, page=1, params=None):
"""
Get incoming properties per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list
... | [
"def",
"get_incoming_properties_per_page",
"(",
"self",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
",",
"params",
"=",
"None",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"INCOMING_PROPERTIES",
",",
"per_page",
"=... | Get incoming properties per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list | [
"Get",
"incoming",
"properties",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1869-L1878 | train | Get incoming properties per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_incoming_properties | def get_all_incoming_properties(self, params=None):
"""
Get all incoming properties
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list
... | python | def get_all_incoming_properties(self, params=None):
"""
Get all incoming properties
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list
... | [
"def",
"get_all_incoming_properties",
"(",
"self",
",",
"params",
"=",
"None",
")",
":",
"if",
"not",
"params",
":",
"params",
"=",
"{",
"}",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"self",
".",
"get_incoming_properties_per_page",
",",
"resource",
... | Get all incoming properties
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list | [
"Get",
"all",
"incoming",
"properties",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
"will",
"get",... | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1880-L1895 | train | This will iterate over all incoming properties in a given order |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_tags_of_incoming_per_page | def get_tags_of_incoming_per_page(self, incoming_id, per_page=1000, page=1):
"""
Get tags of incoming per page
:param incoming_id: the incoming id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
"""
... | python | def get_tags_of_incoming_per_page(self, incoming_id, per_page=1000, page=1):
"""
Get tags of incoming per page
:param incoming_id: the incoming id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
"""
... | [
"def",
"get_tags_of_incoming_per_page",
"(",
"self",
",",
"incoming_id",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"INCOMING_TAGS",
",",
"per_page",
"=",
"per_page",
",... | Get tags of incoming per page
:param incoming_id: the incoming id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list | [
"Get",
"tags",
"of",
"incoming",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1921-L1935 | train | Get tags of incoming per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_tags_of_incoming | def get_all_tags_of_incoming(self, incoming_id):
"""
Get all tags of incoming
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param incoming_id: the incoming id
:return: list
... | python | def get_all_tags_of_incoming(self, incoming_id):
"""
Get all tags of incoming
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param incoming_id: the incoming id
:return: list
... | [
"def",
"get_all_tags_of_incoming",
"(",
"self",
",",
"incoming_id",
")",
":",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"get_function",
"=",
"self",
".",
"get_tags_of_incoming_per_page",
",",
"resource",
"=",
"INCOMING_TAGS",
",",
"*",
"*",
"{",
"'inco... | Get all tags of incoming
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param incoming_id: the incoming id
:return: list | [
"Get",
"all",
"tags",
"of",
"incoming",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
"will",
"get... | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1937-L1950 | train | This will iterate over all pages and get all tags of incoming. It will return a list of all tags of incoming. If rate limit exceeded it will throw an Exception. |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_inbox_documents_per_page | def get_inbox_documents_per_page(self, per_page=1000, page=1):
"""
Get inbox documents per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
"""
return self._get_resource_per_page(
resourc... | python | def get_inbox_documents_per_page(self, per_page=1000, page=1):
"""
Get inbox documents per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
"""
return self._get_resource_per_page(
resourc... | [
"def",
"get_inbox_documents_per_page",
"(",
"self",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"INBOX_DOCUMENTS",
",",
"per_page",
"=",
"per_page",
",",
"page",
"=",
"... | Get inbox documents per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list | [
"Get",
"inbox",
"documents",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L1985-L1997 | train | Get inbox documents per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_offers_per_page | def get_offers_per_page(self, per_page=1000, page=1, params=None):
"""
Get offers per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list
"""
return... | python | def get_offers_per_page(self, per_page=1000, page=1, params=None):
"""
Get offers per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list
"""
return... | [
"def",
"get_offers_per_page",
"(",
"self",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
",",
"params",
"=",
"None",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"OFFERS",
",",
"per_page",
"=",
"per_page",
",",
... | Get offers per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list | [
"Get",
"offers",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2046-L2055 | train | Get offers per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_offers | def get_all_offers(self, params=None):
"""
Get all offers
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list
"""
if not ... | python | def get_all_offers(self, params=None):
"""
Get all offers
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list
"""
if not ... | [
"def",
"get_all_offers",
"(",
"self",
",",
"params",
"=",
"None",
")",
":",
"if",
"not",
"params",
":",
"params",
"=",
"{",
"}",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"self",
".",
"get_offers_per_page",
",",
"resource",
"=",
"OFFERS",
",",
... | Get all offers
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list | [
"Get",
"all",
"offers",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
"will",
"get",
"nothing"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2057-L2068 | train | This will iterate over all offers and get all elements |
bykof/billomapy | billomapy/billomapy.py | Billomapy.update_offer | def update_offer(self, offer_id, offer_dict):
"""
Updates an offer
:param offer_id: the offer id
:param offer_dict: dict
:return: dict
"""
return self._create_put_request(resource=OFFERS, billomat_id=offer_id, send_data=offer_dict) | python | def update_offer(self, offer_id, offer_dict):
"""
Updates an offer
:param offer_id: the offer id
:param offer_dict: dict
:return: dict
"""
return self._create_put_request(resource=OFFERS, billomat_id=offer_id, send_data=offer_dict) | [
"def",
"update_offer",
"(",
"self",
",",
"offer_id",
",",
"offer_dict",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"OFFERS",
",",
"billomat_id",
"=",
"offer_id",
",",
"send_data",
"=",
"offer_dict",
")"
] | Updates an offer
:param offer_id: the offer id
:param offer_dict: dict
:return: dict | [
"Updates",
"an",
"offer"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2088-L2096 | train | Updates an offer s attributes |
bykof/billomapy | billomapy/billomapy.py | Billomapy.complete_offer | def complete_offer(self, offer_id, complete_dict):
"""
Completes an offer
:param complete_dict: the complete dict with the template id
:param offer_id: the offer id
:return: Response
"""
return self._create_put_request(
resource=OFFERS,
bi... | python | def complete_offer(self, offer_id, complete_dict):
"""
Completes an offer
:param complete_dict: the complete dict with the template id
:param offer_id: the offer id
:return: Response
"""
return self._create_put_request(
resource=OFFERS,
bi... | [
"def",
"complete_offer",
"(",
"self",
",",
"offer_id",
",",
"complete_dict",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"OFFERS",
",",
"billomat_id",
"=",
"offer_id",
",",
"command",
"=",
"COMPLETE",
",",
"send_data",
"=",
... | Completes an offer
:param complete_dict: the complete dict with the template id
:param offer_id: the offer id
:return: Response | [
"Completes",
"an",
"offer"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2107-L2120 | train | Completes an offer |
bykof/billomapy | billomapy/billomapy.py | Billomapy.offer_pdf | def offer_pdf(self, offer_id):
"""
Opens a pdf of an offer
:param offer_id: the offer id
:return: dict
"""
return self._create_get_request(resource=OFFERS, billomat_id=offer_id, command=PDF) | python | def offer_pdf(self, offer_id):
"""
Opens a pdf of an offer
:param offer_id: the offer id
:return: dict
"""
return self._create_get_request(resource=OFFERS, billomat_id=offer_id, command=PDF) | [
"def",
"offer_pdf",
"(",
"self",
",",
"offer_id",
")",
":",
"return",
"self",
".",
"_create_get_request",
"(",
"resource",
"=",
"OFFERS",
",",
"billomat_id",
"=",
"offer_id",
",",
"command",
"=",
"PDF",
")"
] | Opens a pdf of an offer
:param offer_id: the offer id
:return: dict | [
"Opens",
"a",
"pdf",
"of",
"an",
"offer"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2122-L2129 | train | Opens a pdf of an offer |
bykof/billomapy | billomapy/billomapy.py | Billomapy.send_offer_email | def send_offer_email(self, offer_id, email_dict):
"""
Sends an offer by email
If you want to send your email to more than one persons do:
'recipients': {'to': ['bykof@me.com', 'mbykovski@seibert-media.net']}}
:param offer_id: the invoice id
:param email_dict: the email d... | python | def send_offer_email(self, offer_id, email_dict):
"""
Sends an offer by email
If you want to send your email to more than one persons do:
'recipients': {'to': ['bykof@me.com', 'mbykovski@seibert-media.net']}}
:param offer_id: the invoice id
:param email_dict: the email d... | [
"def",
"send_offer_email",
"(",
"self",
",",
"offer_id",
",",
"email_dict",
")",
":",
"return",
"self",
".",
"_create_post_request",
"(",
"resource",
"=",
"OFFERS",
",",
"billomat_id",
"=",
"offer_id",
",",
"send_data",
"=",
"email_dict",
",",
"command",
"=",
... | Sends an offer by email
If you want to send your email to more than one persons do:
'recipients': {'to': ['bykof@me.com', 'mbykovski@seibert-media.net']}}
:param offer_id: the invoice id
:param email_dict: the email dict
:return dict | [
"Sends",
"an",
"offer",
"by",
"email",
"If",
"you",
"want",
"to",
"send",
"your",
"email",
"to",
"more",
"than",
"one",
"persons",
"do",
":",
"recipients",
":",
"{",
"to",
":",
"[",
"bykof@me",
".",
"com",
"mbykovski@seibert",
"-",
"media",
".",
"net",... | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2131-L2146 | train | Sends an offer by email_dict to the invoice |
bykof/billomapy | billomapy/billomapy.py | Billomapy.cancel_offer | def cancel_offer(self, offer_id):
"""
Cancelles an offer
:param offer_id: the offer id
:return Response
"""
return self._create_put_request(
resource=OFFERS,
billomat_id=offer_id,
command=CANCEL,
) | python | def cancel_offer(self, offer_id):
"""
Cancelles an offer
:param offer_id: the offer id
:return Response
"""
return self._create_put_request(
resource=OFFERS,
billomat_id=offer_id,
command=CANCEL,
) | [
"def",
"cancel_offer",
"(",
"self",
",",
"offer_id",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"OFFERS",
",",
"billomat_id",
"=",
"offer_id",
",",
"command",
"=",
"CANCEL",
",",
")"
] | Cancelles an offer
:param offer_id: the offer id
:return Response | [
"Cancelles",
"an",
"offer"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2148-L2159 | train | Cancels an offer |
bykof/billomapy | billomapy/billomapy.py | Billomapy.uncancel_offer | def uncancel_offer(self, offer_id):
"""
Uncancelles an invoice
:param offer_id: the offer id
:return Response
"""
return self._create_put_request(
resource=OFFERS,
billomat_id=offer_id,
command=UNCANCEL,
) | python | def uncancel_offer(self, offer_id):
"""
Uncancelles an invoice
:param offer_id: the offer id
:return Response
"""
return self._create_put_request(
resource=OFFERS,
billomat_id=offer_id,
command=UNCANCEL,
) | [
"def",
"uncancel_offer",
"(",
"self",
",",
"offer_id",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"OFFERS",
",",
"billomat_id",
"=",
"offer_id",
",",
"command",
"=",
"UNCANCEL",
",",
")"
] | Uncancelles an invoice
:param offer_id: the offer id
:return Response | [
"Uncancelles",
"an",
"invoice"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2161-L2172 | train | Uncancelles an invoice from the cache |
bykof/billomapy | billomapy/billomapy.py | Billomapy.mark_offer_as_win | def mark_offer_as_win(self, offer_id):
"""
Mark offer as win
:param offer_id: the offer id
:return Response
"""
return self._create_put_request(
resource=OFFERS,
billomat_id=offer_id,
command=WIN,
) | python | def mark_offer_as_win(self, offer_id):
"""
Mark offer as win
:param offer_id: the offer id
:return Response
"""
return self._create_put_request(
resource=OFFERS,
billomat_id=offer_id,
command=WIN,
) | [
"def",
"mark_offer_as_win",
"(",
"self",
",",
"offer_id",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"OFFERS",
",",
"billomat_id",
"=",
"offer_id",
",",
"command",
"=",
"WIN",
",",
")"
] | Mark offer as win
:param offer_id: the offer id
:return Response | [
"Mark",
"offer",
"as",
"win"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2174-L2185 | train | Mark the offer as win |
bykof/billomapy | billomapy/billomapy.py | Billomapy.mark_offer_as_lose | def mark_offer_as_lose(self, offer_id):
"""
Mark offer as lose
:param offer_id: the offer id
:return Response
"""
return self._create_put_request(
resource=OFFERS,
billomat_id=offer_id,
command=LOSE,
) | python | def mark_offer_as_lose(self, offer_id):
"""
Mark offer as lose
:param offer_id: the offer id
:return Response
"""
return self._create_put_request(
resource=OFFERS,
billomat_id=offer_id,
command=LOSE,
) | [
"def",
"mark_offer_as_lose",
"(",
"self",
",",
"offer_id",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"OFFERS",
",",
"billomat_id",
"=",
"offer_id",
",",
"command",
"=",
"LOSE",
",",
")"
] | Mark offer as lose
:param offer_id: the offer id
:return Response | [
"Mark",
"offer",
"as",
"lose"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2187-L2198 | train | Mark the offer as lose |
bykof/billomapy | billomapy/billomapy.py | Billomapy.mark_offer_as_clear | def mark_offer_as_clear(self, offer_id):
"""
Mark offer as clear
:param offer_id: the offer id
:return Response
"""
return self._create_put_request(
resource=OFFERS,
billomat_id=offer_id,
command=CLEAR,
) | python | def mark_offer_as_clear(self, offer_id):
"""
Mark offer as clear
:param offer_id: the offer id
:return Response
"""
return self._create_put_request(
resource=OFFERS,
billomat_id=offer_id,
command=CLEAR,
) | [
"def",
"mark_offer_as_clear",
"(",
"self",
",",
"offer_id",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"OFFERS",
",",
"billomat_id",
"=",
"offer_id",
",",
"command",
"=",
"CLEAR",
",",
")"
] | Mark offer as clear
:param offer_id: the offer id
:return Response | [
"Mark",
"offer",
"as",
"clear"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2200-L2211 | train | Mark the offer as clear |
bykof/billomapy | billomapy/billomapy.py | Billomapy.mark_offer_as_unclear | def mark_offer_as_unclear(self, offer_id):
"""
Mark offer as unclear
:param offer_id: the offer id
:return Response
"""
return self._create_put_request(
resource=OFFERS,
billomat_id=offer_id,
command=UNCLEAR,
) | python | def mark_offer_as_unclear(self, offer_id):
"""
Mark offer as unclear
:param offer_id: the offer id
:return Response
"""
return self._create_put_request(
resource=OFFERS,
billomat_id=offer_id,
command=UNCLEAR,
) | [
"def",
"mark_offer_as_unclear",
"(",
"self",
",",
"offer_id",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"OFFERS",
",",
"billomat_id",
"=",
"offer_id",
",",
"command",
"=",
"UNCLEAR",
",",
")"
] | Mark offer as unclear
:param offer_id: the offer id
:return Response | [
"Mark",
"offer",
"as",
"unclear"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2213-L2224 | train | Mark the offer as unclear |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_items_of_offer_per_page | def get_items_of_offer_per_page(self, offer_id, per_page=1000, page=1):
"""
Get items of offer per page
:param offer_id: the offer id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
"""
return se... | python | def get_items_of_offer_per_page(self, offer_id, per_page=1000, page=1):
"""
Get items of offer per page
:param offer_id: the offer id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
"""
return se... | [
"def",
"get_items_of_offer_per_page",
"(",
"self",
",",
"offer_id",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"OFFER_ITEMS",
",",
"per_page",
"=",
"per_page",
",",
"p... | Get items of offer per page
:param offer_id: the offer id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list | [
"Get",
"items",
"of",
"offer",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2233-L2247 | train | Get items of offer per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_items_of_offer | def get_all_items_of_offer(self, offer_id):
"""
Get all items of offer
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param offer_id: the offer id
:return: list
"""
... | python | def get_all_items_of_offer(self, offer_id):
"""
Get all items of offer
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param offer_id: the offer id
:return: list
"""
... | [
"def",
"get_all_items_of_offer",
"(",
"self",
",",
"offer_id",
")",
":",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"get_function",
"=",
"self",
".",
"get_items_of_offer_per_page",
",",
"resource",
"=",
"OFFER_ITEMS",
",",
"*",
"*",
"{",
"'offer_id'",
... | Get all items of offer
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param offer_id: the offer id
:return: list | [
"Get",
"all",
"items",
"of",
"offer",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
"will",
"get",... | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2249-L2262 | train | This will iterate over all pages and return a list of items of the offer |
bykof/billomapy | billomapy/billomapy.py | Billomapy.update_offer_item | def update_offer_item(self, offer_item_id, offer_item_dict):
"""
Updates an offer item
:param offer_item_id: offer item id
:param offer_item_dict: dict
:return: dict
"""
return self._create_put_request(resource=OFFER_ITEMS, billomat_id=offer_item_id, send_data=of... | python | def update_offer_item(self, offer_item_id, offer_item_dict):
"""
Updates an offer item
:param offer_item_id: offer item id
:param offer_item_dict: dict
:return: dict
"""
return self._create_put_request(resource=OFFER_ITEMS, billomat_id=offer_item_id, send_data=of... | [
"def",
"update_offer_item",
"(",
"self",
",",
"offer_item_id",
",",
"offer_item_dict",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"OFFER_ITEMS",
",",
"billomat_id",
"=",
"offer_item_id",
",",
"send_data",
"=",
"offer_item_dict",
... | Updates an offer item
:param offer_item_id: offer item id
:param offer_item_dict: dict
:return: dict | [
"Updates",
"an",
"offer",
"item"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2282-L2290 | train | Updates an offer item |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_comments_of_offer_per_page | def get_comments_of_offer_per_page(self, offer_id, per_page=1000, page=1):
"""
Get comments of offer per page
:param offer_id: the offer id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
"""
ret... | python | def get_comments_of_offer_per_page(self, offer_id, per_page=1000, page=1):
"""
Get comments of offer per page
:param offer_id: the offer id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
"""
ret... | [
"def",
"get_comments_of_offer_per_page",
"(",
"self",
",",
"offer_id",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"OFFER_COMMENTS",
",",
"per_page",
"=",
"per_page",
","... | Get comments of offer per page
:param offer_id: the offer id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list | [
"Get",
"comments",
"of",
"offer",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2308-L2322 | train | Get comments of an offer per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_comments_of_offer | def get_all_comments_of_offer(self, offer_id):
"""
Get all comments of offer
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param offer_id: the offer id
:return: list
... | python | def get_all_comments_of_offer(self, offer_id):
"""
Get all comments of offer
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param offer_id: the offer id
:return: list
... | [
"def",
"get_all_comments_of_offer",
"(",
"self",
",",
"offer_id",
")",
":",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"get_function",
"=",
"self",
".",
"get_comments_of_offer_per_page",
",",
"resource",
"=",
"OFFER_COMMENTS",
",",
"*",
"*",
"{",
"'offe... | Get all comments of offer
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param offer_id: the offer id
:return: list | [
"Get",
"all",
"comments",
"of",
"offer",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
"will",
"ge... | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2324-L2337 | train | This will iterate over all pages and get all comments of offer and all comments of offer. If rate limit exceeded it will throw an Exception. |
bykof/billomapy | billomapy/billomapy.py | Billomapy.update_offer_comment | def update_offer_comment(self, offer_comment_id, offer_comment_dict):
"""
Updates an offer comment
:param offer_comment_id: the offer comment id
:param offer_comment_dict: dict
:return: dict
"""
return self._create_put_request(
resource=OFFER_COMMENTS... | python | def update_offer_comment(self, offer_comment_id, offer_comment_dict):
"""
Updates an offer comment
:param offer_comment_id: the offer comment id
:param offer_comment_dict: dict
:return: dict
"""
return self._create_put_request(
resource=OFFER_COMMENTS... | [
"def",
"update_offer_comment",
"(",
"self",
",",
"offer_comment_id",
",",
"offer_comment_dict",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"OFFER_COMMENTS",
",",
"billomat_id",
"=",
"offer_comment_id",
",",
"send_data",
"=",
"offer... | Updates an offer comment
:param offer_comment_id: the offer comment id
:param offer_comment_dict: dict
:return: dict | [
"Updates",
"an",
"offer",
"comment"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2357-L2369 | train | Updates an offer comment |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_tags_of_offer_per_page | def get_tags_of_offer_per_page(self, offer_id, per_page=1000, page=1):
"""
Get tags of offer per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param offer_id: the offer id
:return: list
"""
return self... | python | def get_tags_of_offer_per_page(self, offer_id, per_page=1000, page=1):
"""
Get tags of offer per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param offer_id: the offer id
:return: list
"""
return self... | [
"def",
"get_tags_of_offer_per_page",
"(",
"self",
",",
"offer_id",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"OFFER_TAGS",
",",
"per_page",
"=",
"per_page",
",",
"pag... | Get tags of offer per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param offer_id: the offer id
:return: list | [
"Get",
"tags",
"of",
"offer",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2386-L2400 | train | Get tags of an offer per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_tags_of_offer | def get_all_tags_of_offer(self, offer_id):
"""
Get all tags of offer
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param offer_id: the offer id
:return: list
"""
... | python | def get_all_tags_of_offer(self, offer_id):
"""
Get all tags of offer
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param offer_id: the offer id
:return: list
"""
... | [
"def",
"get_all_tags_of_offer",
"(",
"self",
",",
"offer_id",
")",
":",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"get_function",
"=",
"self",
".",
"get_tags_of_offer_per_page",
",",
"resource",
"=",
"OFFER_TAGS",
",",
"*",
"*",
"{",
"'offer_id'",
":... | Get all tags of offer
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param offer_id: the offer id
:return: list | [
"Get",
"all",
"tags",
"of",
"offer",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
"will",
"get",
... | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2402-L2415 | train | This will iterate over all pages and get all tags of offer |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_credit_notes_per_page | def get_credit_notes_per_page(self, per_page=1000, page=1, params=None):
"""
Get credit notes per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list
"""
... | python | def get_credit_notes_per_page(self, per_page=1000, page=1, params=None):
"""
Get credit notes per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list
"""
... | [
"def",
"get_credit_notes_per_page",
"(",
"self",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
",",
"params",
"=",
"None",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"CREDIT_NOTES",
",",
"per_page",
"=",
"per_page... | Get credit notes per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list | [
"Get",
"credit",
"notes",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2451-L2460 | train | Get credit notes per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_credit_notes | def get_all_credit_notes(self, params=None):
"""
Get all credit notes
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list
"""
... | python | def get_all_credit_notes(self, params=None):
"""
Get all credit notes
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list
"""
... | [
"def",
"get_all_credit_notes",
"(",
"self",
",",
"params",
"=",
"None",
")",
":",
"if",
"not",
"params",
":",
"params",
"=",
"{",
"}",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"self",
".",
"get_credit_notes_per_page",
",",
"resource",
"=",
"CRED... | Get all credit notes
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list | [
"Get",
"all",
"credit",
"notes",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
"will",
"get",
"not... | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2462-L2473 | train | This will iterate over all credit notes and get all credit notes that are available |
bykof/billomapy | billomapy/billomapy.py | Billomapy.update_credit_note | def update_credit_note(self, credit_note_id, credit_note_dict):
"""
Updates a credit note
:param credit_note_id: the credit note id
:param credit_note_dict: dict
:return: dict
"""
return self._create_put_request(resource=CREDIT_NOTES, billomat_id=credit_note_id, ... | python | def update_credit_note(self, credit_note_id, credit_note_dict):
"""
Updates a credit note
:param credit_note_id: the credit note id
:param credit_note_dict: dict
:return: dict
"""
return self._create_put_request(resource=CREDIT_NOTES, billomat_id=credit_note_id, ... | [
"def",
"update_credit_note",
"(",
"self",
",",
"credit_note_id",
",",
"credit_note_dict",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"CREDIT_NOTES",
",",
"billomat_id",
"=",
"credit_note_id",
",",
"send_data",
"=",
"credit_note_dic... | Updates a credit note
:param credit_note_id: the credit note id
:param credit_note_dict: dict
:return: dict | [
"Updates",
"a",
"credit",
"note"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2493-L2501 | train | Updates a credit note |
bykof/billomapy | billomapy/billomapy.py | Billomapy.complete_credit_note | def complete_credit_note(self, credit_note_it, complete_dict):
"""
Completes an credit note
:param complete_dict: the complete dict with the template id
:param credit_note_it: the credit note id
:return: Response
"""
return self._create_put_request(
r... | python | def complete_credit_note(self, credit_note_it, complete_dict):
"""
Completes an credit note
:param complete_dict: the complete dict with the template id
:param credit_note_it: the credit note id
:return: Response
"""
return self._create_put_request(
r... | [
"def",
"complete_credit_note",
"(",
"self",
",",
"credit_note_it",
",",
"complete_dict",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"CREDIT_NOTES",
",",
"billomat_id",
"=",
"credit_note_it",
",",
"command",
"=",
"COMPLETE",
",",
... | Completes an credit note
:param complete_dict: the complete dict with the template id
:param credit_note_it: the credit note id
:return: Response | [
"Completes",
"an",
"credit",
"note"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2512-L2525 | train | Completes a credit note |
bykof/billomapy | billomapy/billomapy.py | Billomapy.credit_note_pdf | def credit_note_pdf(self, credit_note_it):
"""
Opens a pdf of a credit note
:param credit_note_it: the credit note id
:return: dict
"""
return self._create_get_request(resource=CREDIT_NOTES, billomat_id=credit_note_it, command=PDF) | python | def credit_note_pdf(self, credit_note_it):
"""
Opens a pdf of a credit note
:param credit_note_it: the credit note id
:return: dict
"""
return self._create_get_request(resource=CREDIT_NOTES, billomat_id=credit_note_it, command=PDF) | [
"def",
"credit_note_pdf",
"(",
"self",
",",
"credit_note_it",
")",
":",
"return",
"self",
".",
"_create_get_request",
"(",
"resource",
"=",
"CREDIT_NOTES",
",",
"billomat_id",
"=",
"credit_note_it",
",",
"command",
"=",
"PDF",
")"
] | Opens a pdf of a credit note
:param credit_note_it: the credit note id
:return: dict | [
"Opens",
"a",
"pdf",
"of",
"a",
"credit",
"note"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2527-L2534 | train | Opens a pdf of a credit note |
bykof/billomapy | billomapy/billomapy.py | Billomapy.upload_credit_note_signature | def upload_credit_note_signature(self, credit_note_it, signature_dict):
"""
Uploads a signature for the credit note
:param signature_dict: the signature
:type signature_dict: dict
:param credit_note_it: the credit note id
:return Response
"""
return self.... | python | def upload_credit_note_signature(self, credit_note_it, signature_dict):
"""
Uploads a signature for the credit note
:param signature_dict: the signature
:type signature_dict: dict
:param credit_note_it: the credit note id
:return Response
"""
return self.... | [
"def",
"upload_credit_note_signature",
"(",
"self",
",",
"credit_note_it",
",",
"signature_dict",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"CREDIT_NOTES",
",",
"billomat_id",
"=",
"credit_note_it",
",",
"send_data",
"=",
"signatu... | Uploads a signature for the credit note
:param signature_dict: the signature
:type signature_dict: dict
:param credit_note_it: the credit note id
:return Response | [
"Uploads",
"a",
"signature",
"for",
"the",
"credit",
"note"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2536-L2550 | train | Uploads a signature for the credit note |
bykof/billomapy | billomapy/billomapy.py | Billomapy.send_credit_note_email | def send_credit_note_email(self, credit_note_it, email_dict):
"""
Sends an credit note by email
If you want to send your email to more than one persons do:
'recipients': {'to': ['bykof@me.com', 'mbykovski@seibert-media.net']}}
:param credit_note_it: the credit note id
:p... | python | def send_credit_note_email(self, credit_note_it, email_dict):
"""
Sends an credit note by email
If you want to send your email to more than one persons do:
'recipients': {'to': ['bykof@me.com', 'mbykovski@seibert-media.net']}}
:param credit_note_it: the credit note id
:p... | [
"def",
"send_credit_note_email",
"(",
"self",
",",
"credit_note_it",
",",
"email_dict",
")",
":",
"return",
"self",
".",
"_create_post_request",
"(",
"resource",
"=",
"CREDIT_NOTES",
",",
"billomat_id",
"=",
"credit_note_it",
",",
"send_data",
"=",
"email_dict",
"... | Sends an credit note by email
If you want to send your email to more than one persons do:
'recipients': {'to': ['bykof@me.com', 'mbykovski@seibert-media.net']}}
:param credit_note_it: the credit note id
:param email_dict: the email dict
:return dict | [
"Sends",
"an",
"credit",
"note",
"by",
"email",
"If",
"you",
"want",
"to",
"send",
"your",
"email",
"to",
"more",
"than",
"one",
"persons",
"do",
":",
"recipients",
":",
"{",
"to",
":",
"[",
"bykof@me",
".",
"com",
"mbykovski@seibert",
"-",
"media",
".... | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2552-L2567 | train | Sends an email to a credit note by email_dict |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_items_of_credit_note_per_page | def get_items_of_credit_note_per_page(self, credit_note_id, per_page=1000, page=1):
"""
Get items of credit note per page
:param credit_note_id: the credit note id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list... | python | def get_items_of_credit_note_per_page(self, credit_note_id, per_page=1000, page=1):
"""
Get items of credit note per page
:param credit_note_id: the credit note id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list... | [
"def",
"get_items_of_credit_note_per_page",
"(",
"self",
",",
"credit_note_id",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"CREDIT_NOTE_ITEMS",
",",
"per_page",
"=",
"per_... | Get items of credit note per page
:param credit_note_id: the credit note id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list | [
"Get",
"items",
"of",
"credit",
"note",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2576-L2590 | train | Get items of credit note per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_items_of_credit_note | def get_all_items_of_credit_note(self, credit_note_id):
"""
Get all items of credit note
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param credit_note_id: the credit note id
... | python | def get_all_items_of_credit_note(self, credit_note_id):
"""
Get all items of credit note
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param credit_note_id: the credit note id
... | [
"def",
"get_all_items_of_credit_note",
"(",
"self",
",",
"credit_note_id",
")",
":",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"get_function",
"=",
"self",
".",
"get_items_of_credit_note_per_page",
",",
"resource",
"=",
"CREDIT_NOTE_ITEMS",
",",
"*",
"*",
... | Get all items of credit note
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param credit_note_id: the credit note id
:return: list | [
"Get",
"all",
"items",
"of",
"credit",
"note",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
"will... | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2592-L2605 | train | This will iterate over all pages until it gets all elements. So if the rate limit exceeded it will throw an Exception and you will get nothing |
bykof/billomapy | billomapy/billomapy.py | Billomapy.update_credit_note_item | def update_credit_note_item(self, credit_note_item_id, credit_note_item_dict):
"""
Updates a credit note item
:param credit_note_item_id: the credit note item id
:param credit_note_item_dict: dict
:return: dict
"""
return self._create_put_request(
res... | python | def update_credit_note_item(self, credit_note_item_id, credit_note_item_dict):
"""
Updates a credit note item
:param credit_note_item_id: the credit note item id
:param credit_note_item_dict: dict
:return: dict
"""
return self._create_put_request(
res... | [
"def",
"update_credit_note_item",
"(",
"self",
",",
"credit_note_item_id",
",",
"credit_note_item_dict",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"CREDIT_NOTE_ITEMS",
",",
"billomat_id",
"=",
"credit_note_item_id",
",",
"send_data",
... | Updates a credit note item
:param credit_note_item_id: the credit note item id
:param credit_note_item_dict: dict
:return: dict | [
"Updates",
"a",
"credit",
"note",
"item"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2625-L2637 | train | Updates a credit note item |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_comments_of_credit_note_per_page | def get_comments_of_credit_note_per_page(self, credit_note_id, per_page=1000, page=1):
"""
Get comments of credit note per page
:param credit_note_id: the credit note id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return... | python | def get_comments_of_credit_note_per_page(self, credit_note_id, per_page=1000, page=1):
"""
Get comments of credit note per page
:param credit_note_id: the credit note id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return... | [
"def",
"get_comments_of_credit_note_per_page",
"(",
"self",
",",
"credit_note_id",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"CREDIT_NOTE_COMMENTS",
",",
"per_page",
"=",
... | Get comments of credit note per page
:param credit_note_id: the credit note id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list | [
"Get",
"comments",
"of",
"credit",
"note",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2649-L2663 | train | Get comments of a credit note per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_comments_of_credit_note | def get_all_comments_of_credit_note(self, credit_note_id):
"""
Get all comments of credit note
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param credit_note_id: the credit note id... | python | def get_all_comments_of_credit_note(self, credit_note_id):
"""
Get all comments of credit note
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param credit_note_id: the credit note id... | [
"def",
"get_all_comments_of_credit_note",
"(",
"self",
",",
"credit_note_id",
")",
":",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"get_function",
"=",
"self",
".",
"get_comments_of_credit_note_per_page",
",",
"resource",
"=",
"CREDIT_NOTE_COMMENTS",
",",
"*"... | Get all comments of credit note
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param credit_note_id: the credit note id
:return: list | [
"Get",
"all",
"comments",
"of",
"credit",
"note",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
"w... | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2665-L2678 | train | This will iterate over all pages and return a list of all comments of credit note |
bykof/billomapy | billomapy/billomapy.py | Billomapy.update_credit_note_comment | def update_credit_note_comment(self, credit_note_comment_id, credit_note_comment_dict):
"""
Updates a credit note comment
:param credit_note_comment_id: the credit note comment id
:param credit_note_comment_dict: dict
:return: dict
"""
return self._create_put_req... | python | def update_credit_note_comment(self, credit_note_comment_id, credit_note_comment_dict):
"""
Updates a credit note comment
:param credit_note_comment_id: the credit note comment id
:param credit_note_comment_dict: dict
:return: dict
"""
return self._create_put_req... | [
"def",
"update_credit_note_comment",
"(",
"self",
",",
"credit_note_comment_id",
",",
"credit_note_comment_dict",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"CREDIT_NOTE_COMMENTS",
",",
"billomat_id",
"=",
"credit_note_comment_id",
",",
... | Updates a credit note comment
:param credit_note_comment_id: the credit note comment id
:param credit_note_comment_dict: dict
:return: dict | [
"Updates",
"a",
"credit",
"note",
"comment"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2698-L2710 | train | Updates a credit note comment |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_payments_of_credit_note_per_page | def get_payments_of_credit_note_per_page(self, credit_note_id, per_page=1000, page=1):
"""
Get payments of credit note per page
:param credit_note_id: the credit note id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return... | python | def get_payments_of_credit_note_per_page(self, credit_note_id, per_page=1000, page=1):
"""
Get payments of credit note per page
:param credit_note_id: the credit note id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return... | [
"def",
"get_payments_of_credit_note_per_page",
"(",
"self",
",",
"credit_note_id",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"CREDIT_NOTE_PAYMENTS",
",",
"per_page",
"=",
... | Get payments of credit note per page
:param credit_note_id: the credit note id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list | [
"Get",
"payments",
"of",
"credit",
"note",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2728-L2742 | train | Get payments of a credit note per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_payments_of_credit_note | def get_all_payments_of_credit_note(self, credit_note_id):
"""
Get all payments of credit note
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param credit_note_id: the credit note id... | python | def get_all_payments_of_credit_note(self, credit_note_id):
"""
Get all payments of credit note
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param credit_note_id: the credit note id... | [
"def",
"get_all_payments_of_credit_note",
"(",
"self",
",",
"credit_note_id",
")",
":",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"get_function",
"=",
"self",
".",
"get_payments_of_credit_note_per_page",
",",
"resource",
"=",
"CREDIT_NOTE_PAYMENTS",
",",
"*"... | Get all payments of credit note
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param credit_note_id: the credit note id
:return: list | [
"Get",
"all",
"payments",
"of",
"credit",
"note",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
"w... | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2744-L2757 | train | This will iterate over all pages until it gets all elements. So if the rate limit exceeded it will throw an Exception and you will get nothing |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_tags_of_credit_note_per_page | def get_tags_of_credit_note_per_page(self, credit_note_id, per_page=1000, page=1):
"""
Get tags of credit note per page
:param credit_note_id: the credit note id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
... | python | def get_tags_of_credit_note_per_page(self, credit_note_id, per_page=1000, page=1):
"""
Get tags of credit note per page
:param credit_note_id: the credit note id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list
... | [
"def",
"get_tags_of_credit_note_per_page",
"(",
"self",
",",
"credit_note_id",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"CREDIT_NOTE_TAGS",
",",
"per_page",
"=",
"per_pa... | Get tags of credit note per page
:param credit_note_id: the credit note id
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:return: list | [
"Get",
"tags",
"of",
"credit",
"note",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2792-L2806 | train | Get tags of credit note per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_confirmations_per_page | def get_confirmations_per_page(self, per_page=1000, page=1, params=None):
"""
Get confirmations per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list
"""
... | python | def get_confirmations_per_page(self, per_page=1000, page=1, params=None):
"""
Get confirmations per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list
"""
... | [
"def",
"get_confirmations_per_page",
"(",
"self",
",",
"per_page",
"=",
"1000",
",",
"page",
"=",
"1",
",",
"params",
"=",
"None",
")",
":",
"return",
"self",
".",
"_get_resource_per_page",
"(",
"resource",
"=",
"CONFIRMATIONS",
",",
"per_page",
"=",
"per_pa... | Get confirmations per page
:param per_page: How many objects per page. Default: 1000
:param page: Which page. Default: 1
:param params: Search parameters. Default: {}
:return: list | [
"Get",
"confirmations",
"per",
"page"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2849-L2858 | train | Get confirmations per page |
bykof/billomapy | billomapy/billomapy.py | Billomapy.get_all_confirmations | def get_all_confirmations(self, params=None):
"""
Get all confirmations
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list
"""
... | python | def get_all_confirmations(self, params=None):
"""
Get all confirmations
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list
"""
... | [
"def",
"get_all_confirmations",
"(",
"self",
",",
"params",
"=",
"None",
")",
":",
"if",
"not",
"params",
":",
"params",
"=",
"{",
"}",
"return",
"self",
".",
"_iterate_through_pages",
"(",
"self",
".",
"get_confirmations_per_page",
",",
"resource",
"=",
"CO... | Get all confirmations
This will iterate over all pages until it gets all elements.
So if the rate limit exceeded it will throw an Exception and you will get nothing
:param params: search params
:return: list | [
"Get",
"all",
"confirmations",
"This",
"will",
"iterate",
"over",
"all",
"pages",
"until",
"it",
"gets",
"all",
"elements",
".",
"So",
"if",
"the",
"rate",
"limit",
"exceeded",
"it",
"will",
"throw",
"an",
"Exception",
"and",
"you",
"will",
"get",
"nothing... | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2860-L2875 | train | This will iterate over all confirmations pages and return a list of all confirmations |
bykof/billomapy | billomapy/billomapy.py | Billomapy.update_confirmation | def update_confirmation(self, confirmation_id, confirmation_dict):
"""
Updates a confirmation
:param confirmation_id: the confirmation id
:param confirmation_dict: dict
:return: dict
"""
return self._create_put_request(
resource=CONFIRMATIONS,
... | python | def update_confirmation(self, confirmation_id, confirmation_dict):
"""
Updates a confirmation
:param confirmation_id: the confirmation id
:param confirmation_dict: dict
:return: dict
"""
return self._create_put_request(
resource=CONFIRMATIONS,
... | [
"def",
"update_confirmation",
"(",
"self",
",",
"confirmation_id",
",",
"confirmation_dict",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"CONFIRMATIONS",
",",
"billomat_id",
"=",
"confirmation_id",
",",
"send_data",
"=",
"confirmati... | Updates a confirmation
:param confirmation_id: the confirmation id
:param confirmation_dict: dict
:return: dict | [
"Updates",
"a",
"confirmation"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2895-L2907 | train | Updates a confirmation with the given dict |
bykof/billomapy | billomapy/billomapy.py | Billomapy.complete_confirmation | def complete_confirmation(self, confirmation_id, complete_dict):
"""
Completes an confirmation
:param complete_dict: the complete dict with the template id
:param confirmation_id: the confirmation id
:return: Response
"""
return self._create_put_request(
... | python | def complete_confirmation(self, confirmation_id, complete_dict):
"""
Completes an confirmation
:param complete_dict: the complete dict with the template id
:param confirmation_id: the confirmation id
:return: Response
"""
return self._create_put_request(
... | [
"def",
"complete_confirmation",
"(",
"self",
",",
"confirmation_id",
",",
"complete_dict",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"CONFIRMATIONS",
",",
"billomat_id",
"=",
"confirmation_id",
",",
"command",
"=",
"COMPLETE",
"... | Completes an confirmation
:param complete_dict: the complete dict with the template id
:param confirmation_id: the confirmation id
:return: Response | [
"Completes",
"an",
"confirmation"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2918-L2931 | train | Completes an confirmation with the given dict |
bykof/billomapy | billomapy/billomapy.py | Billomapy.confirmation_pdf | def confirmation_pdf(self, confirmation_id):
"""
Opens a pdf of a confirmation
:param confirmation_id: the confirmation id
:return: dict
"""
return self._create_get_request(resource=CONFIRMATIONS, billomat_id=confirmation_id, command=PDF) | python | def confirmation_pdf(self, confirmation_id):
"""
Opens a pdf of a confirmation
:param confirmation_id: the confirmation id
:return: dict
"""
return self._create_get_request(resource=CONFIRMATIONS, billomat_id=confirmation_id, command=PDF) | [
"def",
"confirmation_pdf",
"(",
"self",
",",
"confirmation_id",
")",
":",
"return",
"self",
".",
"_create_get_request",
"(",
"resource",
"=",
"CONFIRMATIONS",
",",
"billomat_id",
"=",
"confirmation_id",
",",
"command",
"=",
"PDF",
")"
] | Opens a pdf of a confirmation
:param confirmation_id: the confirmation id
:return: dict | [
"Opens",
"a",
"pdf",
"of",
"a",
"confirmation"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2933-L2940 | train | Opens a pdf of a confirmation |
bykof/billomapy | billomapy/billomapy.py | Billomapy.send_confirmation_email | def send_confirmation_email(self, confirmation_id, email_dict):
"""
Sends an confirmation by email
If you want to send your email to more than one persons do:
'recipients': {'to': ['bykof@me.com', 'mbykovski@seibert-media.net']}}
:param confirmation_id: the confirmation id
... | python | def send_confirmation_email(self, confirmation_id, email_dict):
"""
Sends an confirmation by email
If you want to send your email to more than one persons do:
'recipients': {'to': ['bykof@me.com', 'mbykovski@seibert-media.net']}}
:param confirmation_id: the confirmation id
... | [
"def",
"send_confirmation_email",
"(",
"self",
",",
"confirmation_id",
",",
"email_dict",
")",
":",
"return",
"self",
".",
"_create_post_request",
"(",
"resource",
"=",
"CONFIRMATIONS",
",",
"billomat_id",
"=",
"confirmation_id",
",",
"send_data",
"=",
"email_dict",... | Sends an confirmation by email
If you want to send your email to more than one persons do:
'recipients': {'to': ['bykof@me.com', 'mbykovski@seibert-media.net']}}
:param confirmation_id: the confirmation id
:param email_dict: the email dict
:return dict | [
"Sends",
"an",
"confirmation",
"by",
"email",
"If",
"you",
"want",
"to",
"send",
"your",
"email",
"to",
"more",
"than",
"one",
"persons",
"do",
":",
"recipients",
":",
"{",
"to",
":",
"[",
"bykof@me",
".",
"com",
"mbykovski@seibert",
"-",
"media",
".",
... | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2942-L2957 | train | Sends an email to the user who s confirmation is given by email_dict. |
bykof/billomapy | billomapy/billomapy.py | Billomapy.cancel_confirmation | def cancel_confirmation(self, confirmation_id):
"""
Cancelles an confirmation
:param confirmation_id: the confirmation id
:return Response
"""
return self._create_put_request(
resource=CONFIRMATIONS,
billomat_id=confirmation_id,
comman... | python | def cancel_confirmation(self, confirmation_id):
"""
Cancelles an confirmation
:param confirmation_id: the confirmation id
:return Response
"""
return self._create_put_request(
resource=CONFIRMATIONS,
billomat_id=confirmation_id,
comman... | [
"def",
"cancel_confirmation",
"(",
"self",
",",
"confirmation_id",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"CONFIRMATIONS",
",",
"billomat_id",
"=",
"confirmation_id",
",",
"command",
"=",
"CANCEL",
",",
")"
] | Cancelles an confirmation
:param confirmation_id: the confirmation id
:return Response | [
"Cancelles",
"an",
"confirmation"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2959-L2970 | train | Cancels an confirmation |
bykof/billomapy | billomapy/billomapy.py | Billomapy.uncancel_confirmation | def uncancel_confirmation(self, confirmation_id):
"""
Uncancelles an confirmation
:param confirmation_id: the confirmation id
"""
return self._create_put_request(
resource=CONFIRMATIONS,
billomat_id=confirmation_id,
command=UNCANCEL,
) | python | def uncancel_confirmation(self, confirmation_id):
"""
Uncancelles an confirmation
:param confirmation_id: the confirmation id
"""
return self._create_put_request(
resource=CONFIRMATIONS,
billomat_id=confirmation_id,
command=UNCANCEL,
) | [
"def",
"uncancel_confirmation",
"(",
"self",
",",
"confirmation_id",
")",
":",
"return",
"self",
".",
"_create_put_request",
"(",
"resource",
"=",
"CONFIRMATIONS",
",",
"billomat_id",
"=",
"confirmation_id",
",",
"command",
"=",
"UNCANCEL",
",",
")"
] | Uncancelles an confirmation
:param confirmation_id: the confirmation id | [
"Uncancelles",
"an",
"confirmation"
] | a28ba69fd37654fa145d0411d52c200e7f8984ab | https://github.com/bykof/billomapy/blob/a28ba69fd37654fa145d0411d52c200e7f8984ab/billomapy/billomapy.py#L2972-L2982 | train | Uncancelles an confirmation |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.