Skip to content
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.

Commit

Permalink
Added account_usage in ConnectorParameterGroup
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenobird authored and devheidelpay committed Jun 27, 2017
1 parent afe75ef commit 4ee9c5c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions lib/ParameterGroups/ConnectorParameterGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ class ConnectorParameterGroup extends AbstractParameterGroup
*/
public $account_number = null;

/**
* @var string account usage
*/
public $account_usage;

/**
* Account bank getter
*
Expand Down Expand Up @@ -148,4 +153,14 @@ public function getAccountNumber()
{
return $this->account_number;
}

/**
* Returns the Account Usage.
*
* @return string account usage
*/
public function getAccountUsage()
{
return $this->account_usage;
}
}
1 change: 1 addition & 0 deletions lib/PushMapping/Connector.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class Connector extends AbstractPushMapper
'Holder' => 'account_holder',
'Iban' => 'account_iban',
'Number' => 'account_number',
'Usage' => 'account_usage',
];

public function getXmlObjectField(\SimpleXMLElement $xmlElement, $field)
Expand Down

0 comments on commit 4ee9c5c

Please sign in to comment.