/**
  * Constructor
  */
 public function __construct($accessToken, $vatReturnId, $entryDate, $accountId)
 {
     parent::__construct($accessToken);
     $this->vatReturnId = $vatReturnId;
     $this->entryDate = $entryDate;
     $this->accountId = $accountId;
 }
Exemplo n.º 2
0
 /**
  * Constructor
  */
 public function __construct($accessToken, $type = 'company', $name, $countryId)
 {
     parent::__construct($accessToken);
     $this->type = $type;
     $this->name = $name;
     $this->countryId = $countryId;
 }
 /**
  * Constructor
  */
 public function __construct($accessToken, $daybookId, $accountId, $priority)
 {
     parent::__construct($accessToken);
     $this->daybookId = $daybookId;
     $this->accountId = $accountId;
     $this->priority = $priority;
 }
 /**
  * Constructor
  */
 public function __construct($accessToken, $invoiceId, $productId, $unitPrice)
 {
     parent::__construct($accessToken);
     $this->invoiceId = $invoiceId;
     $this->productId = $productId;
     $this->unitPrice = $unitPrice;
 }
 /**
  * Constructor
  */
 public function __construct($accessToken, $productId, $unitPrice, $currencyId)
 {
     parent::__construct($accessToken);
     $this->productId = $productId;
     $this->unitPrice = $unitPrice;
     $this->currencyId = $currencyId;
 }
 /**
  * Constructor
  */
 public function __construct($accessToken, $taxRateId, $share, $source, $accountId)
 {
     parent::__construct($accessToken);
     $this->taxRateId = $taxRateId;
     $this->share = $share;
     $this->source = $source;
     $this->accountId = $accountId;
 }
Exemplo n.º 7
0
 /**
  * Constructor
  */
 public function __construct($accessToken, $contactId, $entryDate, $paymentDate, $currencyId)
 {
     parent::__construct($accessToken);
     $this->contactId = $contactId;
     $this->entryDate = $entryDate;
     $this->paymentDate = $paymentDate;
     $this->currencyId = $currencyId;
 }
 /**
  * Constructor
  */
 public function __construct($accessToken, $daybookTransactionId, $accountId, $amount, $side)
 {
     parent::__construct($accessToken);
     $this->daybookTransactionId = $daybookTransactionId;
     $this->accountId = $accountId;
     $this->amount = $amount;
     $this->side = $side;
 }
Exemplo n.º 9
0
 /**
  * Constructor
  */
 public function __construct($accessToken, $billId, $accountId, $description, $amount)
 {
     parent::__construct($accessToken);
     $this->billId = $billId;
     $this->accountId = $accountId;
     $this->description = $description;
     $this->amount = $amount;
 }
 /**
  * Constructor
  */
 public function __construct($accessToken, $schemeId, $daysPastDue, $subject, $body)
 {
     parent::__construct($accessToken);
     $this->schemeId = $schemeId;
     $this->daysPastDue = $daysPastDue;
     $this->subject = $subject;
     $this->body = $body;
 }
 /**
  * Constructor
  */
 public function __construct($accessToken, $invoiceId, $entryDate, $flatFee, $percentageFee)
 {
     parent::__construct($accessToken);
     $this->invoiceId = $invoiceId;
     $this->entryDate = $entryDate;
     $this->flatFee = $flatFee;
     $this->percentageFee = $percentageFee;
 }
 /**
  * Constructor
  */
 public function __construct($accessToken, $contactId, $recurringInterval, $recurringUnit, $recurringValue, $nextInvoiceDate)
 {
     parent::__construct($accessToken);
     $this->contactId = $contactId;
     $this->recurringInterval = $recurringInterval;
     $this->recurringUnit = $recurringUnit;
     $this->recurringValue = $recurringValue;
     $this->nextInvoiceDate = $nextInvoiceDate;
 }
 /**
  * Constructor
  */
 public function __construct($accessToken, $contactId, $feeCurrencyId, $contactPersonId, $emailSubject, $emailBody)
 {
     parent::__construct($accessToken);
     $this->contactId = $contactId;
     $this->feeCurrencyId = $feeCurrencyId;
     $this->contactPersonId = $contactPersonId;
     $this->emailSubject = $emailSubject;
     $this->emailBody = $emailBody;
 }
Exemplo n.º 14
0
 /**
  * Constructor
  */
 public function __construct($accessToken, $name, $invoiceSubject, $invoiceBody, $invoiceReminderSubject, $invoiceReminderBody, $contactEmailTemplate)
 {
     parent::__construct($accessToken);
     $this->name = $name;
     $this->invoiceSubject = $invoiceSubject;
     $this->invoiceBody = $invoiceBody;
     $this->invoiceReminderSubject = $invoiceReminderSubject;
     $this->invoiceReminderBody = $invoiceReminderBody;
     $this->contactEmailTemplate = $contactEmailTemplate;
 }
Exemplo n.º 15
0
 /**
  * Constructor
  */
 public function __construct($accessToken, $matchId, $accountId, $entryDate, $description, $amount, $side)
 {
     parent::__construct($accessToken);
     $this->matchId = $matchId;
     $this->accountId = $accountId;
     $this->entryDate = $entryDate;
     $this->description = $description;
     $this->amount = $amount;
     $this->side = $side;
 }
 /**
  * Constructor
  */
 public function __construct($accessToken, $entryDate, $cashSide, $cashAccountId, $cashExchangeRate, $feeAccountId, array $associations)
 {
     parent::__construct($accessToken);
     $this->entryDate = $entryDate;
     $this->cashSide = $cashSide;
     $this->cashAccountId = $cashAccountId;
     $this->cashExchangeRate = $cashExchangeRate;
     $this->feeAccountId = $feeAccountId;
     $this->associations = $associations;
 }
Exemplo n.º 17
0
 /**
  * Constructor
  */
 public function __construct($accessToken, $contactId, $entryDate, $state = 'draft', $sentState = 'unsent', $currencyId, array $lines)
 {
     parent::__construct($accessToken);
     $this->contactId = $contactId;
     $this->entryDate = $entryDate;
     $this->state = $state;
     $this->sentState = $sentState;
     $this->currencyId = $currencyId;
     $this->lines = $lines;
 }
 /**
  * @param $accessToken string
  * @param $name string
  * @param $countryId string
  * @param $baseCurrencyId string
  * @param $fiscalYearEndMonth integer
  * @param \DateTime|string $firstFiscalYearStart
  * @param \DateTime|string $firstFiscalYearEnd
  * @param $subscriptionPeriod string (enum)
  * @param $localeId string The organization's default locale. Will be used for all contacts unless overridden on a contact level.
  * @param $emailAttachmentDeliveryMode string (enum) Whether to deliver attachments by link to customer portal or with email attachments.
  * @param $vatPeriod string (enum)
  */
 public function __construct($accessToken, $name, $countryId, $baseCurrencyId, $fiscalYearEndMonth, $firstFiscalYearStart, $firstFiscalYearEnd, $subscriptionPeriod, $localeId, $emailAttachmentDeliveryMode, $vatPeriod)
 {
     parent::__construct($accessToken);
     $this->name = $name;
     $this->countryId = $countryId;
     $this->baseCurrencyId = $baseCurrencyId;
     $this->fiscalYearEndMonth = $fiscalYearEndMonth;
     $this->firstFiscalYearStart = $firstFiscalYearStart instanceof \DateTime ? $firstFiscalYearStart : new \DateTime($firstFiscalYearStart);
     $this->firstFiscalYearEnd = $firstFiscalYearEnd instanceof \DateTime ? $firstFiscalYearEnd : new \DateTime($firstFiscalYearEnd);
     $this->subscriptionPeriod = $subscriptionPeriod;
     $this->localeId = $localeId;
     $this->emailAttachmentDeliveryMode = $emailAttachmentDeliveryMode;
     $this->vatPeriod = $vatPeriod;
 }
 /**
  * Constructor
  */
 public function __construct($accessToken, $contactId, $name)
 {
     parent::__construct($accessToken);
     $this->contactId = $contactId;
     $this->name = $name;
 }
Exemplo n.º 20
0
 /**
  * Constructor
  */
 public function __construct($accessToken, $isTransactionSummaryEnabled, $name)
 {
     parent::__construct($accessToken);
     $this->isTransactionSummaryEnabled = $isTransactionSummaryEnabled;
     $this->name = $name;
 }
 /**
  * Constructor
  */
 public function __construct($accessToken, $modifier, $subjectId)
 {
     parent::__construct($accessToken);
     $this->modifier = $modifier;
     $this->subjectId = $subjectId;
 }
Exemplo n.º 22
0
 /**
  * Constructor
  */
 public function __construct($accessToken, $ownerReference, $fileId)
 {
     parent::__construct($accessToken);
     $this->ownerReference = $ownerReference;
     $this->fileId = $fileId;
 }
 /**
  * Constructor
  */
 public function __construct($accessToken, $userId)
 {
     parent::__construct($accessToken);
     $this->userId = $userId;
 }
 /**
  * Constructor
  */
 public function __construct($accessToken, $entryDate)
 {
     parent::__construct($accessToken);
     $this->entryDate = $entryDate;
 }
Exemplo n.º 25
0
 /**
  * Constructor
  */
 public function __construct($accessToken, $name, $rate)
 {
     parent::__construct($accessToken);
     $this->name = $name;
     $this->rate = $rate;
 }
 /**
  * Constructor
  */
 public function __construct($accessToken, $name, $natureId)
 {
     parent::__construct($accessToken);
     $this->name = $name;
     $this->natureId = $natureId;
 }
Exemplo n.º 27
0
 /**
  * Constructor
  */
 public function __construct($accessToken, $accountId, $type)
 {
     parent::__construct($accessToken);
     $this->accountId = $accountId;
     $this->type = $type;
 }
Exemplo n.º 28
0
 /**
  * Constructor
  */
 public function __construct($accessToken, $message, array $associations)
 {
     parent::__construct($accessToken);
     $this->message = $message;
     $this->associations = $associations;
 }
 /**
  * Constructor
  */
 public function __construct($accessToken)
 {
     parent::__construct($accessToken);
 }
 /**
  * Constructor
  */
 public function __construct($accessToken, $matchId, $subject)
 {
     parent::__construct($accessToken);
     $this->matchId = $matchId;
     $this->subject = $subject;
 }