Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

Commit

Permalink
move the pob data where they really are, crap documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominik Zogg committed Oct 24, 2013
1 parent d3058b9 commit 35962c5
Show file tree
Hide file tree
Showing 4 changed files with 185 additions and 185 deletions.
100 changes: 100 additions & 0 deletions src/Payment/Saferpay/Data/Billpay/BillpayPayCompleteResponse.php
Expand Up @@ -25,13 +25,113 @@ public function getPobDuedate()
return $this->get('POB_DUEDATE');
}

/**
* @param string $pobAccountholder
* @return $this
*/
public function setPobAccountholder($pobAccountholder)
{
$this->set('POB_ACCOUNTHOLDER', $pobAccountholder);

return $this;
}

/**
* @return string
*/
public function getPobAccountholder()
{
return $this->get('POB_ACCOUNTHOLDER');
}

/**
* @param string $pobAccountnumber
* @return $this
*/
public function setPobAccountnumber($pobAccountnumber)
{
$this->set('POB_ACCOUNTNUMBER', $pobAccountnumber);

return $this;
}

/**
* @return string
*/
public function getPobAccountnumber()
{
return $this->get('POB_ACCOUNTNUMBER');
}

/**
* @param string $pobBankcode
* @return $this
*/
public function setPobBankcode($pobBankcode)
{
$this->set('POB_BANKCODE', $pobBankcode);

return $this;
}

/**
* @return string
*/
public function getPobBankcode()
{
return $this->get('POB_BANKCODE');
}

/**
* @param string $pobBankname
* @return $this
*/
public function setPobBankname($pobBankname)
{
$this->set('POB_BANKNAME', $pobBankname);

return $this;
}

/**
* @return string
*/
public function getPobBankname()
{
return $this->get('POB_BANKNAME');
}

/**
* @param string $pobPayernote
* @return $this
*/
public function setPobPayernote($pobPayernote)
{
$this->set('POB_PAYERNOTE', $pobPayernote);

return $this;
}

/**
* @return string
*/
public function getPobPayernote()
{
return $this->get('POB_PAYERNOTE');
}

/**
* @return array
*/
public function getFieldNames()
{
return array(
'POB_DUEDATE',
'POB_ACCOUNTHOLDER',
'POB_ACCOUNTNUMBER',
'POB_BANKCODE',
'POB_BANKNAME',
'POB_PAYERNOTE',
);
}

Expand Down
Expand Up @@ -11,6 +11,36 @@ interface BillpayPayCompleteResponseInterface
*/
const POB_DUEDATE = 'n[8]';

/**
* optional, only on buy with invoice
* account holder of the claim (usually "BillPay GmbH ").
*/
const POB_ACCOUNTHOLDER = 'ans[..50]';

/**
* optional, only on buy with invoice
* BillPay account number for the claim.
*/
const POB_ACCOUNTNUMBER = 'n[..10]';

/**
* optional, only on buy with invoice
* BillPay bank code for the claim.
*/
const POB_BANKCODE = 'n[8]';

/**
* optional, only on buy with invoice
* BillPay Bank Institute for the claim.
*/
const POB_BANKNAME = 'ans[..50]';

/**
* optional, only on buy with invoice
* purpose
*/
const POB_PAYERNOTE = 'ans[..80]';

/**
* @param string $pobDuedate
* @return $this
Expand All @@ -21,4 +51,59 @@ public function setPobDuedate($pobDuedate);
* @return string
*/
public function getPobDuedate();

/**
* @param string $pobAccountholder
* @return $this
*/
public function setPobAccountholder($pobAccountholder);

/**
* @return string
*/
public function getPobAccountholder();

/**
* @param string $pobAccountnumber
* @return $this
*/
public function setPobAccountnumber($pobAccountnumber);

/**
* @return string
*/
public function getPobAccountnumber();

/**
* @param string $pobBankcode
* @return $this
*/
public function setPobBankcode($pobBankcode);

/**
* @return string
*/
public function getPobBankcode();

/**
* @param string $pobPayernote
* @return $this
*/
public function setPobPayernote($pobPayernote);

/**
* @return string
*/
public function getPobPayernote();

/**
* @param string $pobBankname
* @return $this
*/
public function setPobBankname($pobBankname);

/**
* @return string
*/
public function getPobBankname();
}
100 changes: 0 additions & 100 deletions src/Payment/Saferpay/Data/Billpay/BillpayPayConfirmParameter.php
Expand Up @@ -6,101 +6,6 @@

class BillpayPayConfirmParameter extends AbstractCollectionItem implements BillpayPayConfirmParameterInterface
{
/**
* @param string $pobAccountholder
* @return $this
*/
public function setPobAccountholder($pobAccountholder)
{
$this->set('POB_ACCOUNTHOLDER', $pobAccountholder);

return $this;
}

/**
* @return string
*/
public function getPobAccountholder()
{
return $this->get('POB_ACCOUNTHOLDER');
}

/**
* @param string $pobAccountnumber
* @return $this
*/
public function setPobAccountnumber($pobAccountnumber)
{
$this->set('POB_ACCOUNTNUMBER', $pobAccountnumber);

return $this;
}

/**
* @return string
*/
public function getPobAccountnumber()
{
return $this->get('POB_ACCOUNTNUMBER');
}

/**
* @param string $pobBankcode
* @return $this
*/
public function setPobBankcode($pobBankcode)
{
$this->set('POB_BANKCODE', $pobBankcode);

return $this;
}

/**
* @return string
*/
public function getPobBankcode()
{
return $this->get('POB_BANKCODE');
}

/**
* @param string $pobBankname
* @return $this
*/
public function setPobBankname($pobBankname)
{
$this->set('POB_BANKNAME', $pobBankname);

return $this;
}

/**
* @return string
*/
public function getPobBankname()
{
return $this->get('POB_BANKNAME');
}

/**
* @param string $pobPayernote
* @return $this
*/
public function setPobPayernote($pobPayernote)
{
$this->set('POB_PAYERNOTE', $pobPayernote);

return $this;
}

/**
* @return string
*/
public function getPobPayernote()
{
return $this->get('POB_PAYERNOTE');
}

/**
* @param string $company
* @return $this
Expand Down Expand Up @@ -525,11 +430,6 @@ public function getDeliveryPhone()
public function getFieldNames()
{
return array(
'POB_ACCOUNTHOLDER',
'POB_ACCOUNTNUMBER',
'POB_BANKCODE',
'POB_BANKNAME',
'POB_PAYERNOTE',
'COMPANY',
'LEGALFORM',
'GENDER',
Expand Down

0 comments on commit 35962c5

Please sign in to comment.