Skip to content

Commit

Permalink
Add transaction_fees_in_cents [ch3028] (#36)
Browse files Browse the repository at this point in the history
* Add transaction_fees_in_cents [ch3028]

* Build settings
  • Loading branch information
pkopac committed Mar 14, 2018
1 parent c08a9ce commit 325f9a0
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 24 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ services:

script:
- make test

branches:
only:
- master
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ FROM php:5.5.37-fpm
RUN curl -O https://getcomposer.org/composer.phar
RUN mv composer.phar /usr/local/bin/composer
RUN chmod a+x /usr/local/bin/composer
RUN pecl install xdebug && docker-php-ext-enable xdebug
RUN pecl install xdebug-2.5.5 && docker-php-ext-enable xdebug
RUN apt-get update && apt-get install -y git unzip
47 changes: 24 additions & 23 deletions src/LineItems/AbstractLineItem.php
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
<?php

namespace ChartMogul\LineItems;

/**
* @codeCoverageIgnore
* @property-read string $uuid
*/
abstract class AbstractLineItem extends \ChartMogul\Resource\AbstractModel
{

protected $uuid;

public $type;
public $amount_in_cents;
public $quantity;
public $discount_amount_in_cents;
public $discount_code;
public $tax_amount_in_cents;
public $external_id;

public $invoice_uuid;
}
<?php

namespace ChartMogul\LineItems;

/**
* @codeCoverageIgnore
* @property-read string $uuid
*/
abstract class AbstractLineItem extends \ChartMogul\Resource\AbstractModel
{

protected $uuid;

public $type;
public $amount_in_cents;
public $quantity;
public $discount_amount_in_cents;
public $discount_code;
public $tax_amount_in_cents;
public $transaction_fees_in_cents;
public $external_id;

public $invoice_uuid;
}

0 comments on commit 325f9a0

Please sign in to comment.