Skip to content

Commit

Permalink
Merge e06257d into 64f0604
Browse files Browse the repository at this point in the history
  • Loading branch information
Arif Kurkchi committed Jan 7, 2019
2 parents 64f0604 + e06257d commit 260614d
Showing 1 changed file with 32 additions and 10 deletions.
42 changes: 32 additions & 10 deletions src/Entities/Invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,6 @@ public function getSubscriptionId()
return $this->getAttribute('subscriptionId');
}

/**
* @param string $value
*
* @return $this
*/
public function setSubscriptionId($value)
{
return $this->setAttribute('subscriptionId', $value);
}

/**
* @return string
*/
Expand All @@ -109,6 +99,22 @@ public function setCurrency($value)
return $this->setAttribute('currency', $value);
}

/**
* @return int
*/
public function getNumber()
{
return $this->getAttribute('invoiceNumber');
}

/**
* @return string
*/
public function getPaidTime()
{
return $this->getAttribute('paidTime');
}

/**
* @return string
*/
Expand Down Expand Up @@ -197,6 +203,22 @@ public function getShippingAmount()
return $this->getAttribute('shippingAmount');
}

/**
* @return float
*/
public function getDiscountAmount()
{
return $this->getAttribute('discountAmount');
}

/**
* @return float
*/
public function getSubtotalAmount()
{
return $this->getAttribute('subtotalAmount');
}

/**
* @return array
*/
Expand Down

0 comments on commit 260614d

Please sign in to comment.