lib/fortnox/api/models/invoice.rb in fortnox-api-0.6.3 vs lib/fortnox/api/models/invoice.rb in fortnox-api-0.7.0
- old
+ new
@@ -48,10 +48,10 @@
# InvoicePeriodEnd End date of the invoice period.
attribute :invoice_period_end, Types::Nullable::Date.is(:read_only)
# InvoiceRows Separate object
- attribute :invoice_rows, Types::Strict::Array.member(Types::InvoiceRow)
+ attribute :invoice_rows, Types::Strict::Array.of(Types::InvoiceRow)
# InvoiceType The type of invoice.
attribute :invoice_type, Types::Nullable::String
# Language Language code.