Skip to content

Commit

Permalink
Updated methods in Servcies/Bill.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Walls committed Sep 19, 2017
1 parent fba28ec commit f3d88f2
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions src/Builders/Bill.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,36 @@

namespace ReneDeKat\Quickbooks\Builders;

use ReneDeKat\Quickbooks\Builders\Traits\HasCustomer;
use ReneDeKat\Quickbooks\Builders\Traits\Itemizable;

class Bill extends Builder
{
use HasCustomer, Itemizable;

/**
* @param string $txnDate
*
* @return $this
*/
public function setTxnDate($txnDate)
{
$this->data['TxnDate'] = $txnDate;

return $this;
}

/**
* Set due date.
*
* @param string $dueDate YYYY-MM-DD
*
* @return $this
*/
public function setDueDate($dueDate)
{
$this->data['DueDate'] = $dueDate;

return $this;
}
}

0 comments on commit f3d88f2

Please sign in to comment.