Skip to content

Commit

Permalink
MAGETWO-50026: [Github] SalesInvoiceRepository attributes not correct…
Browse files Browse the repository at this point in the history
…ly type cast #3605
  • Loading branch information
NadiyaS committed Jul 5, 2016
1 parent 3be18f3 commit 3467488
Show file tree
Hide file tree
Showing 13 changed files with 343 additions and 344 deletions.
8 changes: 4 additions & 4 deletions app/code/Magento/Sales/Api/Data/CreditmemoInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ public function getBaseGrandTotal();
/**
* Gets the credit memo base discount tax compensation amount.
*
* @return float Credit memo base discount tax compensation amount.
* @return float|null Credit memo base discount tax compensation amount.
*/
public function getBaseDiscountTaxCompensationAmount();

Expand All @@ -318,7 +318,7 @@ public function getBaseShippingAmount();
/**
* Gets the credit memo base shipping discount tax compensation amount.
*
* @return float Credit memo base shipping discount tax compensation amount.
* @return float|null Credit memo base shipping discount tax compensation amount.
*/
public function getBaseShippingDiscountTaxCompensationAmnt();

Expand Down Expand Up @@ -453,7 +453,7 @@ public function getGrandTotal();
/**
* Gets the credit memo discount tax compensation amount.
*
* @return float Credit memo discount tax compensation amount.
* @return float|null Credit memo discount tax compensation amount.
*/
public function getDiscountTaxCompensationAmount();

Expand Down Expand Up @@ -501,7 +501,7 @@ public function getShippingAmount();
/**
* Gets the credit memo shipping discount tax compensation amount.
*
* @return float Credit memo shipping discount tax compensation amount.
* @return float|null Credit memo shipping discount tax compensation amount.
*/
public function getShippingDiscountTaxCompensationAmount();

Expand Down
6 changes: 3 additions & 3 deletions app/code/Magento/Sales/Api/Data/CreditmemoItemInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,14 +169,14 @@ public function getBaseCost();
/**
* Gets the base discount amount for a credit memo item.
*
* @return float
* @return float|null
*/
public function getBaseDiscountAmount();

/**
* Gets the base discount tax compensation amount for a credit memo item.
*
* @return float
* @return float|null
*/
public function getBaseDiscountTaxCompensationAmount();

Expand Down Expand Up @@ -275,7 +275,7 @@ public function setEntityId($entityId);
/**
* Gets the discount tax compensation amount for a credit memo item.
*
* @return float Discount tax compensation amount.
* @return float|null Discount tax compensation amount.
*/
public function getDiscountTaxCompensationAmount();

Expand Down
8 changes: 4 additions & 4 deletions app/code/Magento/Sales/Api/Data/InvoiceInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ public function getBaseGrandTotal();
/**
* Gets the base discount tax compensation amount for the invoice.
*
* @return float Base discount tax compensation amount.
* @return float|null Base discount tax compensation amount.
*/
public function getBaseDiscountTaxCompensationAmount();

Expand All @@ -239,7 +239,7 @@ public function getBaseShippingAmount();
/**
* Gets the base shipping discount tax compensation amount for the invoice.
*
* @return float Base shipping discount tax compensation amount.
* @return float|null Base shipping discount tax compensation amount.
*/
public function getBaseShippingDiscountTaxCompensationAmnt();

Expand Down Expand Up @@ -381,7 +381,7 @@ public function getGrandTotal();
/**
* Gets the discount tax compensation amount for the invoice.
*
* @return float Discount tax compensation amount.
* @return float|null Discount tax compensation amount.
*/
public function getDiscountTaxCompensationAmount();

Expand Down Expand Up @@ -430,7 +430,7 @@ public function getShippingAmount();
/**
* Gets the shipping discount tax compensation amount for the invoice.
*
* @return float Shipping discount tax compensation amount.
* @return float|null Shipping discount tax compensation amount.
*/
public function getShippingDiscountTaxCompensationAmount();

Expand Down
4 changes: 2 additions & 2 deletions app/code/Magento/Sales/Api/Data/InvoiceItemInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public function getBaseDiscountAmount();
/**
* Gets the base discount tax compensation amount for the invoice item.
*
* @return float Base discount tax compensation amount.
* @return float|null Base discount tax compensation amount.
*/
public function getBaseDiscountTaxCompensationAmount();

Expand Down Expand Up @@ -211,7 +211,7 @@ public function setEntityId($entityId);
/**
* Gets the discount tax compensation amount for the invoice item.
*
* @return float Discount tax compensation amount.
* @return float|null Discount tax compensation amount.
*/
public function getDiscountTaxCompensationAmount();

Expand Down
16 changes: 8 additions & 8 deletions app/code/Magento/Sales/Api/Data/OrderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -643,21 +643,21 @@ public function getBaseGrandTotal();
/**
* Gets the base discount tax compensation amount for the order.
*
* @return float Base discount tax compensation amount.
* @return float|null Base discount tax compensation amount.
*/
public function getBaseDiscountTaxCompensationAmount();

/**
* Gets the base discount tax compensation invoiced amount for the order.
*
* @return float Base discount tax compensation invoiced.
* @return float|null Base discount tax compensation invoiced.
*/
public function getBaseDiscountTaxCompensationInvoiced();

/**
* Gets the base discount tax compensation refunded amount for the order.
*
* @return float Base discount tax compensation refunded.
* @return float|null Base discount tax compensation refunded.
*/
public function getBaseDiscountTaxCompensationRefunded();

Expand Down Expand Up @@ -685,7 +685,7 @@ public function getBaseShippingDiscountAmount();
/**
* Gets the base shipping discount tax compensation amount for the order.
*
* @return float Base shipping discount tax compensation amount.
* @return float|null Base shipping discount tax compensation amount.
*/
public function getBaseShippingDiscountTaxCompensationAmnt();

Expand Down Expand Up @@ -1107,21 +1107,21 @@ public function getGrandTotal();
/**
* Gets the discount tax compensation amount for the order.
*
* @return float Discount tax compensation amount.
* @return float|null Discount tax compensation amount.
*/
public function getDiscountTaxCompensationAmount();

/**
* Gets the discount tax compensation invoiced amount for the order.
*
* @return float Discount tax compensation invoiced amount.
* @return float|null Discount tax compensation invoiced amount.
*/
public function getDiscountTaxCompensationInvoiced();

/**
* Gets the discount tax compensation refunded amount for the order.
*
* @return float Discount tax compensation refunded amount.
* @return float|null Discount tax compensation refunded amount.
*/
public function getDiscountTaxCompensationRefunded();

Expand Down Expand Up @@ -1268,7 +1268,7 @@ public function getShippingDiscountAmount();
/**
* Gets the shipping discount tax compensation amount for the order.
*
* @return float Shipping discount tax compensation amount.
* @return float|null Shipping discount tax compensation amount.
*/
public function getShippingDiscountTaxCompensationAmount();

Expand Down
14 changes: 7 additions & 7 deletions app/code/Magento/Sales/Api/Data/OrderItemInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -457,21 +457,21 @@ public function getBaseDiscountRefunded();
/**
* Gets the base discount tax compensation amount for the order item.
*
* @return float Base discount tax compensation amount.
* @return float|null Base discount tax compensation amount.
*/
public function getBaseDiscountTaxCompensationAmount();

/**
* Gets the base discount tax compensation invoiced for the order item.
*
* @return float Base discount tax compensation invoiced.
* @return float|null Base discount tax compensation invoiced.
*/
public function getBaseDiscountTaxCompensationInvoiced();

/**
* Gets the base discount tax compensation refunded for the order item.
*
* @return float Base discount tax compensation refunded.
* @return float|null Base discount tax compensation refunded.
*/
public function getBaseDiscountTaxCompensationRefunded();

Expand Down Expand Up @@ -738,28 +738,28 @@ public function getGwTaxAmountRefunded();
/**
* Gets the discount tax compensation amount for the order item.
*
* @return float Discount tax compensation amount.
* @return float|null Discount tax compensation amount.
*/
public function getDiscountTaxCompensationAmount();

/**
* Gets the discount tax compensation canceled for the order item.
*
* @return float Discount tax compensation canceled.
* @return float|null Discount tax compensation canceled.
*/
public function getDiscountTaxCompensationCanceled();

/**
* Gets the discount tax compensation invoiced for the order item.
*
* @return float Discount tax compensation invoiced.
* @return float|null Discount tax compensation invoiced.
*/
public function getDiscountTaxCompensationInvoiced();

/**
* Gets the discount tax compensation refunded for the order item.
*
* @return float Discount tax compensation refunded.
* @return float|null Discount tax compensation refunded.
*/
public function getDiscountTaxCompensationRefunded();

Expand Down
4 changes: 2 additions & 2 deletions app/code/Magento/Sales/Api/Data/TotalInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public function getBaseShippingDiscountAmount();
/**
* Gets the base shipping discount tax compensation amount.
*
* @return float Base shipping discount tax compensation amount.
* @return float|null Base shipping discount tax compensation amount.
*/
public function getBaseShippingDiscountTaxCompensationAmnt();

Expand Down Expand Up @@ -177,7 +177,7 @@ public function getShippingDiscountAmount();
/**
* Gets the shipping discount tax compensation amount.
*
* @return float Shipping discount tax compensation amount.
* @return float|null Shipping discount tax compensation amount.
*/
public function getShippingDiscountTaxCompensationAmount();

Expand Down
Loading

0 comments on commit 3467488

Please sign in to comment.