Skip to content

Commit

Permalink
Merge pull request #35 from two-inc/brtknr/t-14491-webapi-error-due-t…
Browse files Browse the repository at this point in the history
…o-missing-extension-attribute-definition

T-14491/fix: Define missing extension attributes
  • Loading branch information
brtkwr authored Dec 1, 2023
2 parents 66ee2b4 + a2ed25c commit 97bbfde
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bumpver.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.bumpver]
current_version = "1.4.3"
current_version = "1.4.4"
version_pattern = "MAJOR.MINOR.PATCH[-TAGNUM]"
commit_message = "chore: Bump version {old_version} -> {new_version}"
commit = true
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "two-inc/magento2",
"description": "Two B2B BNPL payments extension",
"type": "magento2-module",
"version": "1.4.3",
"version": "1.4.4",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<payment>
<two_payment>
<active>1</active>
<version>1.4.3</version>
<version>1.4.4</version>
<title>Business invoice in 30 days</title>
<mode>sandbox</mode>
<invoice_type>FUNDED_INVOICE</invoice_type>
Expand Down
9 changes: 9 additions & 0 deletions etc/extension_attributes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,13 @@
<extension_attributes for="Magento\Quote\Api\Data\AddressInterface">
<attribute code="company_id" type="string" />
</extension_attributes>
<extension_attributes for="Magento\Quote\Api\Data\AddressInterface">
<attribute code="company_name" type="string" />
</extension_attributes>
<extension_attributes for="Magento\Quote\Api\Data\AddressInterface">
<attribute code="department" type="string" />
</extension_attributes>
<extension_attributes for="Magento\Quote\Api\Data\AddressInterface">
<attribute code="project" type="string" />
</extension_attributes>
</config>

0 comments on commit 97bbfde

Please sign in to comment.