caren-api 0.5.6 → 0.5.7
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/caren-api.gemspec +1 -1
- data/lib/caren/store/invoice.rb +1 -1
- data/lib/caren/store/line_item.rb +2 -0
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.7
|
data/caren-api.gemspec
CHANGED
data/lib/caren/store/invoice.rb
CHANGED
@@ -15,7 +15,7 @@ class Caren::Store::Invoice < Caren::Base
|
|
15
15
|
:customer_email, # String
|
16
16
|
:email_status, # String (unsent,sent,reminder_sent)
|
17
17
|
:paid, # Boolean
|
18
|
-
:status, # String (
|
18
|
+
:status, # String (open paid late revoked)
|
19
19
|
:payment_method, # String
|
20
20
|
:payment_method_description, # String
|
21
21
|
:billing_address, # Store::Address(:purpose => 'billing')
|
@@ -14,6 +14,7 @@ class Caren::Store::LineItem < Caren::Base
|
|
14
14
|
:commission_in_promillage, # Integer (70 = 7%)
|
15
15
|
:price_in_cents, # Integer
|
16
16
|
:quantity, # Integer
|
17
|
+
:unit, # String
|
17
18
|
:sales_tax_in_cents, # Integer
|
18
19
|
:sales_tax_in_promillage, # Integer
|
19
20
|
] + super
|
@@ -35,6 +36,7 @@ class Caren::Store::LineItem < Caren::Base
|
|
35
36
|
:discount_in_promillage => self.discount_in_promillage,
|
36
37
|
:price_in_cents => self.price_in_cents,
|
37
38
|
:quantity => self.quantity,
|
39
|
+
:unit => self.unit,
|
38
40
|
:sales_tax_in_cents => self.sales_tax_in_cents,
|
39
41
|
:sales_tax_in_promillage => self.sales_tax_in_promillage
|
40
42
|
}
|
metadata
CHANGED