-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathTaxRateAmountEntityInterface.php
More file actions
51 lines (45 loc) · 1.09 KB
/
TaxRateAmountEntityInterface.php
File metadata and controls
51 lines (45 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
namespace CommerceGuys\Tax\Model;
interface TaxRateAmountEntityInterface extends TaxRateAmountInterface
{
/**
* Sets the tax rate.
*
* @param TaxRateEntityInterface|null $rate The tax rate.
*
* @return self
*/
public function setRate(TaxRateEntityInterface $rate = null);
/**
* Sets the tax rate amount id.
*
* @param string $id The tax rate amount id.
*
* @return self
*/
public function setId($id);
/**
* Sets the decimal tax rate amount.
*
* @param float $amount The tax rate amount expressed as a decimal.
*
* @return self
*/
public function setAmount($amount);
/**
* Sets the tax rate amount start date.
*
* @param \DateTime $startDate The tax rate amount start date.
*
* @return self
*/
public function setStartDate(\DateTime $startDate);
/**
* Sets the tax rate amount end date.
*
* @param \DateTime $endDate The tax rate amount end date.
*
* @return self
*/
public function setEndDate(\DateTime $endDate);
}