-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
2,937 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,219 @@ | ||
<?php namespace DivideBV\Postnl\ComplexTypes; | ||
|
||
class Amount | ||
{ | ||
|
||
/** | ||
* @var string $AccountName | ||
*/ | ||
protected $AccountName = null; | ||
|
||
/** | ||
* @var string $AmountType | ||
*/ | ||
protected $AmountType = null; | ||
|
||
/** | ||
* @var string $BIC | ||
*/ | ||
protected $BIC = null; | ||
|
||
/** | ||
* @var string $Currency | ||
*/ | ||
protected $Currency = null; | ||
|
||
/** | ||
* @var string $IBAN | ||
*/ | ||
protected $IBAN = null; | ||
|
||
/** | ||
* @var string $Reference | ||
*/ | ||
protected $Reference = null; | ||
|
||
/** | ||
* @var string $TransactionNumber | ||
*/ | ||
protected $TransactionNumber = null; | ||
|
||
/** | ||
* @var string $Value | ||
*/ | ||
protected $Value = null; | ||
|
||
/** | ||
* @param string $AccountName | ||
* @param string $AmountType | ||
* @param string $BIC | ||
* @param string $Currency | ||
* @param string $IBAN | ||
* @param string $Reference | ||
* @param string $TransactionNumber | ||
* @param string $Value | ||
*/ | ||
public function __construct( | ||
$AccountName, | ||
$AmountType, | ||
$BIC, | ||
$Currency, | ||
$IBAN, | ||
$Reference, | ||
$TransactionNumber, | ||
$Value | ||
) { | ||
$this->setAccountName($AccountName); | ||
$this->setAmountType($AmountType); | ||
$this->setBIC($BIC); | ||
$this->setCurrency($Currency); | ||
$this->setIBAN($IBAN); | ||
$this->setReference($Reference); | ||
$this->setTransactionNumber($TransactionNumber); | ||
$this->setValue($Value); | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getAccountName() | ||
{ | ||
return $this->AccountName; | ||
} | ||
|
||
/** | ||
* @param string $AccountName | ||
* @return Amount | ||
*/ | ||
public function setAccountName($AccountName) | ||
{ | ||
$this->AccountName = $AccountName; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getAmountType() | ||
{ | ||
return $this->AmountType; | ||
} | ||
|
||
/** | ||
* @param string $AmountType | ||
* @return Amount | ||
*/ | ||
public function setAmountType($AmountType) | ||
{ | ||
$this->AmountType = $AmountType; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getBIC() | ||
{ | ||
return $this->BIC; | ||
} | ||
|
||
/** | ||
* @param string $BIC | ||
* @return Amount | ||
*/ | ||
public function setBIC($BIC) | ||
{ | ||
$this->BIC = $BIC; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getCurrency() | ||
{ | ||
return $this->Currency; | ||
} | ||
|
||
/** | ||
* @param string $Currency | ||
* @return Amount | ||
*/ | ||
public function setCurrency($Currency) | ||
{ | ||
$this->Currency = $Currency; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getIBAN() | ||
{ | ||
return $this->IBAN; | ||
} | ||
|
||
/** | ||
* @param string $IBAN | ||
* @return Amount | ||
*/ | ||
public function setIBAN($IBAN) | ||
{ | ||
$this->IBAN = $IBAN; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getReference() | ||
{ | ||
return $this->Reference; | ||
} | ||
|
||
/** | ||
* @param string $Reference | ||
* @return Amount | ||
*/ | ||
public function setReference($Reference) | ||
{ | ||
$this->Reference = $Reference; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getTransactionNumber() | ||
{ | ||
return $this->TransactionNumber; | ||
} | ||
|
||
/** | ||
* @param string $TransactionNumber | ||
* @return Amount | ||
*/ | ||
public function setTransactionNumber($TransactionNumber) | ||
{ | ||
$this->TransactionNumber = $TransactionNumber; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getValue() | ||
{ | ||
return $this->Value; | ||
} | ||
|
||
/** | ||
* @param string $Value | ||
* @return Amount | ||
*/ | ||
public function setValue($Value) | ||
{ | ||
$this->Value = $Value; | ||
return $this; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?php namespace DivideBV\Postnl\ComplexTypes; | ||
|
||
class ArrayOfAddress | ||
{ | ||
|
||
/** | ||
* @var Address[] $Address | ||
*/ | ||
protected $Address = null; | ||
|
||
/** | ||
* @param Address $Address | ||
*/ | ||
public function __construct(Address $Address) | ||
{ | ||
$this->setAddress($Address); | ||
} | ||
|
||
/** | ||
* @return Address[] | ||
*/ | ||
public function getAddress() | ||
{ | ||
return $this->Address; | ||
} | ||
|
||
/** | ||
* @param Address[] $Address | ||
* @return ArrayOfAddress | ||
*/ | ||
public function setAddress(array $Address) | ||
{ | ||
$this->Address = $Address; | ||
return $this; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?php namespace DivideBV\Postnl\ComplexTypes; | ||
|
||
class ArrayOfAmount | ||
{ | ||
|
||
/** | ||
* @var Amount[] $Amount | ||
*/ | ||
protected $Amount = null; | ||
|
||
/** | ||
* @param Amount[] $Amount | ||
*/ | ||
public function __construct(array $Amount) | ||
{ | ||
$this->setAmount($Amount); | ||
} | ||
|
||
/** | ||
* @return Amount[] | ||
*/ | ||
public function getAmount() | ||
{ | ||
return $this->Amount; | ||
} | ||
|
||
/** | ||
* @param Amount[] $Amount | ||
* @return ArrayOfAmount | ||
*/ | ||
public function setAmount(array $Amount) | ||
{ | ||
$this->Amount = $Amount; | ||
return $this; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?php namespace DivideBV\Postnl\ComplexTypes; | ||
|
||
class ArrayOfContact | ||
{ | ||
|
||
/** | ||
* @var Contact[] $Contact | ||
*/ | ||
protected $Contact = null; | ||
|
||
/** | ||
* @param Contact[] $Contact | ||
*/ | ||
public function __construct(array $Contact) | ||
{ | ||
$this->setContact($Contact); | ||
} | ||
|
||
/** | ||
* @return Contact[] | ||
*/ | ||
public function getContact() | ||
{ | ||
return $this->Contact; | ||
} | ||
|
||
/** | ||
* @param Contact[] $Contact | ||
* @return ArrayOfContact | ||
*/ | ||
public function setContact(array $Contact) | ||
{ | ||
$this->Contact = $Contact; | ||
return $this; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?php namespace DivideBV\Postnl\ComplexTypes; | ||
|
||
class ArrayOfContent | ||
{ | ||
|
||
/** | ||
* @var Content[] $Content | ||
*/ | ||
protected $Content = null; | ||
|
||
/** | ||
* @param Content[] $Content | ||
*/ | ||
public function __construct(array $Content) | ||
{ | ||
$this->setContent($Content); | ||
} | ||
|
||
/** | ||
* @return Content[] | ||
*/ | ||
public function getContent() | ||
{ | ||
return $this->Content; | ||
} | ||
|
||
/** | ||
* @param Content[] $Content | ||
* @return ArrayOfContent | ||
*/ | ||
public function setContent(array $Content) | ||
{ | ||
$this->Content = $Content; | ||
return $this; | ||
} | ||
} |
Oops, something went wrong.