Skip to content

Commit

Permalink
Add confirmingservice
Browse files Browse the repository at this point in the history
  • Loading branch information
ameenross committed May 12, 2015
1 parent b1e19ba commit 6900fa6
Show file tree
Hide file tree
Showing 19 changed files with 2,937 additions and 0 deletions.
479 changes: 479 additions & 0 deletions src/ComplexTypes/Address.php

Large diffs are not rendered by default.

219 changes: 219 additions & 0 deletions src/ComplexTypes/Amount.php
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;
}
}
36 changes: 36 additions & 0 deletions src/ComplexTypes/ArrayOfAddress.php
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;
}
}
36 changes: 36 additions & 0 deletions src/ComplexTypes/ArrayOfAmount.php
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;
}
}
36 changes: 36 additions & 0 deletions src/ComplexTypes/ArrayOfContact.php
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;
}
}
36 changes: 36 additions & 0 deletions src/ComplexTypes/ArrayOfContent.php
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;
}
}
Loading

0 comments on commit 6900fa6

Please sign in to comment.